CrazyDoomguy Posted October 30, 2023 I do decohack doom tools and see this error. What does this mean? I tried make barrel because my old dehaked took original barrel and replaced to cacodemon, now i want barrel back. Fix old dehacked is not easy and take many time, so better create new thing Spoiler auto thing Barrel "Barrel" { //$Category Obstacles //$EditorSprite BAR1A0 EdNum 1014 Health 20 Radius 10 Height 42 clear flags +SOLID +SHOOTABLE +NOBLOOD SeeSound "" AttackSound "" PainSound "" DeathSound "BAREXP" ActiveSound "" States { Spawn: BAR1 AB 6 Loop Death: BEXP A 5 Bright BEXP B 5 Bright A_Scream BEXP C 5 Bright BEXP D 5 Bright A_Explode BEXP E 10 Bright Stop } } 0 Quote Share this post Link to post
Doomy__Doom Posted October 30, 2023 (edited) Your code and resulting patch is missing Mass 100 of the original barrel, so it gets a 0 and crashes, presumably trying to calculate movement. Edited October 30, 2023 by Doomy__Doom 2 Quote Share this post Link to post
CrazyDoomguy Posted October 30, 2023 4 minutes ago, Doomy__Doom said: Your code and resulting patch is missing Mass 100 of the original barrel, so it gets a 0 and crashes, presumably trying to calculate movement. Thank you! indeed, it miss mass. Now it works!!! 0 Quote Share this post Link to post
Foxpup Posted October 30, 2023 I'd just like to add that this error is not specific to modern source ports: even vanilla Doom with plain DeHackEd will crash if a zero-mass object is hit by a shot or explosion. ("Signal 8" here specifically signals a math error - in this case, division by zero when calculating how much the object should be pushed back when hit.) 1 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.