A_FreezeDeathChunks

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Melvinflynt
Posts: 184
Joined: Wed Aug 29, 2007 4:47 pm
Location: Texas

A_FreezeDeathChunks

Post by Melvinflynt »

I'm having an issue with modifying the FreezeDeathChunks. Originally I did this
Spoiler:
It worked whenever I shot it at frozen state but whenever I waited for it to break on it's own, the frozen sprite wold slide over and then break. So I'm assuming I am going to have to use inheritance to modify the Ice chunk actor and throw in some "A_CustomMissile("RedSplatter2", 0, 2, random(0,280))" in. Problem is I'm not sure what actor to modify for this.

My goal is to have the frozen state break just like in hexen but with blood splattering everywhere too. Is this possible?
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: A_FreezeDeathChunks

Post by NeuralStunner »

You could spawn a second actor for the frozen corpse, that can take damage and "die", using [wiki]A_IceGuyDie[/wiki] to burst immediately then spawn the blood as needed.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49226
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: A_FreezeDeathChunks

Post by Graf Zahl »

A_FreezeDeathChunks waits by looping to itself so you can't intercept its functionality by adding another state. As you guessed you have to use some kind of workaround to get the desired effects.
User avatar
Melvinflynt
Posts: 184
Joined: Wed Aug 29, 2007 4:47 pm
Location: Texas

Re: A_FreezeDeathChunks

Post by Melvinflynt »

NeuralStunner wrote:You could spawn a second actor for the frozen corpse, that can take damage and "die", using [wiki]A_IceGuyDie[/wiki] to burst immediately then spawn the blood as needed.
This will probably be my best bet.
Locked

Return to “Editing (Archive)”