Lantern Jaw Posted July 15, 2009 Hey, I have made some frames for an imp death in which his head pops off and he keels over a bit like a marine death... yet I want the death occur randomly along with regular deaths. I would really appreciate any advice on the subject. I have looked all over and I can't find any info out there. I also wanted to add a touch of nashgore gibbage here is the code that failed, no errors, just no alt death (the frames in question are are VWXYZ): actor NashGore_DoomImp : DoomImp replaces DoomImp { states { Death: TROO I 8 TROO J 8 A_Scream TROO K 6 TROO L 6 A_NoBlocking TROO M -1 stop TROO V 0 A_SpawnDebris("NashGore_Gib9",0) TROO V 0 A_SpawnItem("NashGore_GibGenerator",0,0,0,0) TROO V 8 TROO W 8 A_Scream TROO X 6 TROO Y 6 A_NoBlocking TROO Z -1 stop 0 Share this post Link to post
newt Posted July 16, 2009 It's been a loooooong time since I've worked with DECORATE but I'm fairly certain A_Jump is what you're looking for here. Such as: actor NashGore_DoomImp : DoomImp replaces DoomImp { states { Death: TROO A 0 A_Jump (128, 6) // 50% chance of jumping down 6 states to TROO V TROO I 8 TROO J 8 A_Scream TROO K 6 TROO L 6 A_NoBlocking TROO M -1 stop TROO V 0 A_SpawnDebris("NashGore_Gib9",0) TROO V 0 A_SpawnItem("NashGore_GibGenerator",0,0,0,0) TROO V 8 TROO W 8 A_Scream TROO X 6 TROO Y 6 A_NoBlocking TROO Z -1 stop 0 Share this post Link to post
Lantern Jaw Posted July 16, 2009 Just to show you the grizzly death that I was talking about. ...my first attempt at doom or video game sprites of any kind. 0 Share this post Link to post
Mithral_Demon Posted July 16, 2009 Lantern Jaw said:http://www.paulloudon.com/avatar/imp_death.jpg Just to show you the grizzly death that I was talking about. ...my first attempt at doom or video game sprites of any kind. That is pretty awesome, "Boom Headshot"... But not the same situation as other FPS'... 0 Share this post Link to post
newt Posted July 16, 2009 Lantern Jaw said:Ahh, yesssss! thanks Newt. No problem. And of course you can change the first parameter around to increase/decrease the chances, 50% just seemed like a nice round number at the time. Cool death frames, by the way. :) 0 Share this post Link to post