nrofl Posted December 5, 2021 Ive ran into a problem when using decorate for an enemy. The enemy has sprites that have angular sprites (like WRAEA2A8 etc) But the enemy doesnt show these frames when looking at it in other angles. Heres the DECORATE code right now: ACTOR WrathElemental : Cacodemon 15000 { Health 1000 Radius 48 Height 112 Mass 400 Speed 10 PainChance 16 ActiveSound "WEIDLE1" DeathSound "WEDETH1" PainSound "WEPAIN1" MONSTER +NOGRAVITY +FLOAT States { Spawn: WRAE A 8 loop See: WRAE A 6 A_Chase loop Missile: WRAE CD 6 A_FaceTarget WRAE D 0 A_CustomMissile ("WrathRain", 60, 0, random(-5, -5), 0) WRAE D 3 A_CustomMissile ("WrathRain", 60, 0, random(-5, -5), 0) WRAE D 0 A_CustomMissile ("WrathRain", 60, 0, random(-5, -5), 0) WRAE D 3 A_CustomMissile ("WrathRain", 60, 0, random(-5, -5), 0) WRAE D 0 A_CustomMissile ("WrathRain", 60, 0, random(-5, -5), 0) WRAE D 3 A_CustomMissile ("WrathRain", 60, 0, random(-5, -5), 0) WRAE D 0 A_CustomMissile ("WrathRain", 60, 0, random(-5, -5), 0) WRAE D 3 A_CustomMissile ("WrathRain", 60, 0, random(-5, -5), 0) Pain: WRAE E 3 A_Pain Goto See Death: WRAE FGHIJKL 5 A_NoBlocking WRAE M 4 WRAE N -1 Stop } } ACTOR WrathRain { Radius 10 Height 10 Speed 10 Damage 8 SeeSound "imp/attack" DeathSound "imp/shotx" PROJECTILE States { Spawn: WRFI AB 5 Death: WRFI CDEF 10 Stop } } Any fixes? 0 Quote Share this post Link to post
Kan3 Posted December 5, 2021 For this issue you have to post a screenshot of your wad opened up in Slade3 (or the wad itself), not the DECORATE 0 Quote Share this post Link to post
nrofl Posted December 5, 2021 7 hours ago, Kan3 said: For this issue you have to post a screenshot of your wad opened up in Slade3 (or the wad itself), not the DECORATE https://www.dropbox.com/s/j4c11d68rjtzi5n/MAYBE.wad?dl=0 0 Quote Share this post Link to post
Kan3 Posted December 5, 2021 5 hours ago, nue said: https://www.dropbox.com/s/j4c11d68rjtzi5n/MAYBE.wad?dl=0 Ok, it looks it's a quite normal oversight. The first images of every "sprite's frame" of you monster have a number of 0 instead of 1, so you're basically telling the game that there're no other images to check for "rotation". 1 Quote Share this post Link to post
nrofl Posted December 5, 2021 1 minute ago, Kan3 said: Ok, it looks it's a quite normal oversight. The first images of every "sprite's frame" of you monster have a number of 0 instead of 1, so you're basically telling the game that there're no other images to check for "rotation". Facepalm moment. Thanks for clearing that up 1 Quote Share this post Link to post
nrofl Posted December 5, 2021 46 minutes ago, Kan3 said: Ok, it looks it's a quite normal oversight. The first images of every "sprite's frame" of you monster have a number of 0 instead of 1, so you're basically telling the game that there're no other images to check for "rotation". Oh lord. I believe I am stupid because I get an error that frame C is missing rotations: https://www.dropbox.com/s/uk856nlplckfaz5/MAYBE.wad?dl=0 Please excuse my idiocracy 0 Quote Share this post Link to post
nrofl Posted December 6, 2021 2 hours ago, nue said: Oh lord. I believe I am stupid because I get an error that frame C is missing rotations: https://www.dropbox.com/s/uk856nlplckfaz5/MAYBE.wad?dl=0 Please excuse my idiocracy I fixed it never mind. Question solved 1 Quote Share this post Link to post
Nihlith Posted December 8, 2021 (edited) Are you seeing behavior issues with the monster? Typically the attack sequence terminates with "gotosee". Also spawn states for monsters typically have a line that calls "A_Look". Edited December 8, 2021 by Nihlith 0 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.