Custom Freezing Death

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.
Scuba Steve
Posts: 1060
Joined: Sat Mar 27, 2004 8:56 pm

Custom Freezing Death

Post by Scuba Steve »

I'm trying to play around with A_FreezeDeath to make a custom frozen frame for a monster instead of the generic greyscale one. I can get it to go to this frame on frozen... but I can't find any documentation in the Wiki or otherwise that says how the states need to be set up and how to get A_FreezeDeath to act like regular freezing and break apart and launch chards everywhere.
ant1991331
Posts: 598
Joined: Fri Jun 24, 2005 3:19 am
Location: Makin tracks with jetboots

Post by ant1991331 »

tried it, the enemys just dissapear
Scuba Steve
Posts: 1060
Joined: Sat Mar 27, 2004 8:56 pm

Post by Scuba Steve »

I just played around with it and was able to achieve similar results to the real ice method.

Ice:
TROO V 300 A_FreezeDeath
TROO V 1 A_FreezeDeathChunks
Stop

This manages to make a character that freezes like normal and can be broken by being hit, or after a specific length of time (300 tics). What I want to know now is, is this the best method for producing the desired results or is there a better way I should go about this?

Also it would be nice for this to be in the wiki.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Hexen is doing it this way:

Ice:
TROO V 5 A_FreezeDeath
TROO V 1 A_FreezeDeathChunks
Wait
User avatar
Ryan Cordell
Posts: 4349
Joined: Sun Feb 06, 2005 6:39 am
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)
Location: Capital of Explodistan

Post by Ryan Cordell »

Scuba Steve wrote:I just played around with it and was able to achieve similar results to the real ice method.

Ice:
TROO V 300 A_FreezeDeath
TROO V 1 A_FreezeDeathChunks
Stop

This manages to make a character that freezes like normal and can be broken by being hit, or after a specific length of time (300 tics). What I want to know now is, is this the best method for producing the desired results or is there a better way I should go about this?

Also it would be nice for this to be in the wiki.
I ain't exactly sure the enemy should just, "explode" into small pieces after being left alone frozen for a while. Maybe he should just thaw or something, similar to Duke3d.. If you ask me, just exploding if you leave the enemy too long being frozen seems kinda un-realistic.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

But that's how Hexen did it.
User avatar
Nash
 
 
Posts: 17505
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

Well, in real life, when you get frozen to that point, you pretty much are already dead right? Thawing won't magically bring you back to life... right?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

I don't think so.
User avatar
Ryan Cordell
Posts: 4349
Joined: Sun Feb 06, 2005 6:39 am
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)
Location: Capital of Explodistan

Post by Ryan Cordell »

Nash wrote:Well, in real life, when you get frozen to that point, you pretty much are already dead right? Thawing won't magically bring you back to life... right?
Basicly, yes. You do die if you get frozen. However, I wasn't exactly thinking he should become "back alive" after he thaws. You could also state a function so the enemy just dies after he thaws out. Mind you not when he "gibs."
User avatar
Nash
 
 
Posts: 17505
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

Does anyone know what EXACTLY happens when someone is frozen and you drop him from a far height?

(Or try to smash him with a hard object)

I imagine just the ICE that covers the body will be shattered... but often in games it is portrayed that the whole body disentigrates and your guts fly all over the place etc...
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Who cares? If you want to do something different when a monster gets frozen there's nothing to stop you from doing so.
Scuba Steve
Posts: 1060
Joined: Sat Mar 27, 2004 8:56 pm

Post by Scuba Steve »

Graf what do A_FreezeDeath and A_FreezeDeathChunks do exactly? Right now it doesn't make sense to me... is the ICE state a special state that knows the object can be broken into chunks if attacked and will break after so many seconds? How does it know how many seconds?

Also... it seems buggy. If the creature is pushed then it doesn't seem to break into chunks. Why is this?
User avatar
Cutmanmike
Posts: 11354
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

Graf Zahl wrote:Hexen is doing it this way:

Ice:
TROO V 5 A_FreezeDeath
TROO V 1 A_FreezeDeathChunks
Wait
Wait?
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Post by Xaser »

Blade Nightflame wrote:I ain't exactly sure the enemy should just, "explode" into small pieces after being left alone frozen for a while. Maybe he should just thaw or something, similar to Duke3d.. If you ask me, just exploding if you leave the enemy too long being frozen seems kinda un-realistic.
Well, the problem with this is that it's impossible to kill an enemy with just the freezer alone. In Duke3d, this was also true, but it was easy enough to just walk up to it and press the kick button to shatter it into pieces. In Doom, you have to physically switch weapons and such, unless you add an alt-fire with a kick.

Here's a wad I made to demonstrate how annoying it can be. Oh, and I added some other random stuff to increase the annoying factor. :P

Anyway, I personally like the way that Zdoom's doing it right now. It just works better in the Doom environment.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

cutmanmike wrote:
Graf Zahl wrote:Hexen is doing it this way:

Ice:
TROO V 5 A_FreezeDeath
TROO V 1 A_FreezeDeathChunks
Wait
Wait?

Wait: Jump to the last frame before it (i.e. infintely loop it.)
Locked

Return to “Editing (Archive)”