Custom damagetypes and custom Death states....

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.
ant1991331
Posts: 598
Joined: Fri Jun 24, 2005 3:19 am
Location: Makin tracks with jetboots

Custom damagetypes and custom Death states....

Post by ant1991331 »

How do I make custom death states towards custom damage types?

I have a weapon "DamageType Volt" what would I do as a state to make a death type for this damage type?
User avatar
The NUtcracker
Posts: 843
Joined: Sun Jan 14, 2007 9:12 pm
Location: South Dakota
Contact:

Post by The NUtcracker »

I'm very sure you can't.
User avatar
GeeDougg
Posts: 3651
Joined: Fri Jul 16, 2004 2:39 pm
Location: VanCity, British Colonies, Isolated Republic Of Canuckistan
Contact:

Post by GeeDougg »

Sounds to me like it should be possible.... What makes you so sure you can't?
User avatar
The NUtcracker
Posts: 843
Joined: Sun Jan 14, 2007 9:12 pm
Location: South Dakota
Contact:

Post by The NUtcracker »

In the several hundred zdoom wads I played, not 1 had that in it. I think it's similar to how there are a couple attacks that pravus from hexen 2 uses can't be done in decorate.
User avatar
GeeDougg
Posts: 3651
Joined: Fri Jul 16, 2004 2:39 pm
Location: VanCity, British Colonies, Isolated Republic Of Canuckistan
Contact:

Post by GeeDougg »

I'm fairly sure "what you've seen" in ZDooM WADs isn't proof for what can't be done with DECORATE....
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Post by wildweasel »

It's been more or less confirmed as a ZDoom feature, but nobody seems to know (or at least, nobody's mentioned) how to use it.
User avatar
Shadelight
Posts: 5113
Joined: Fri May 20, 2005 11:16 am
Location: Labrynna

Post by Shadelight »

It's only an SVN and GZDoom feature, I think.
User avatar
The NUtcracker
Posts: 843
Joined: Sun Jan 14, 2007 9:12 pm
Location: South Dakota
Contact:

Post by The NUtcracker »

GeeDougg wrote:I'm fairly sure "what you've seen" in ZDooM WADs isn't proof for what can't be done with DECORATE....
No it isn't proof. The point is supposed to be that if the feature can be done, I've never seen it in the large amount of ZDoom wads I've played.
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

Post by Matt »

I suspect there's some kind of damageinfo lump that determines what state lable corresponds to what damage type?
User avatar
GeeDougg
Posts: 3651
Joined: Fri Jul 16, 2004 2:39 pm
Location: VanCity, British Colonies, Isolated Republic Of Canuckistan
Contact:

Post by GeeDougg »

The NUtcracker wrote:
GeeDougg wrote:I'm fairly sure "what you've seen" in ZDooM WADs isn't proof for what can't be done with DECORATE....
No it isn't proof. The point is supposed to be that if the feature can be done, I've never seen it in the large amount of ZDoom wads I've played.
I presume that there are many more features other than that, which haven't been used yet in any ZDooM/GZDooM/SkullTag/ZDaemon WAD.
User avatar
Osiris Kalev
Posts: 290
Joined: Sun Aug 20, 2006 11:06 pm
Location: Australia, Elsewhere Within
Contact:

Post by Osiris Kalev »

For the monster you want to implement this pain onto, make a new state based on the name of the damage you made, which in this case is Volt. So:
pain.Volt will make the monster jump to this state when the monster is in pain from that projectile/weapon.
death.Volt will make the monster jump to this state if the monster dies from that type of damage. Same goes with xdeath.Volt.

I'm sure this is how it worked, I'll need to test it. However, this only works with the SVN version of ZDoom or GZDoom 1.0.22.
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

Post by Matt »

Well, hot damn, it worked! :DDD

EDIT: It doesn't work for hitscan attacks. D:
User avatar
GeeDougg
Posts: 3651
Joined: Fri Jul 16, 2004 2:39 pm
Location: VanCity, British Colonies, Isolated Republic Of Canuckistan
Contact:

Post by GeeDougg »

LOL! You and hitscan attacks.... :wink: It's funny how everything you want to do with hitscans always ends up failing.... No luck eh?! I'm gonna start calling you captain hitscan from now on haha.... :D
User avatar
Osiris Kalev
Posts: 290
Joined: Sun Aug 20, 2006 11:06 pm
Location: Australia, Elsewhere Within
Contact:

Post by Osiris Kalev »

That's because you have to make a new puff type with that damagetype on it to work. Unfortunatly, the weapon doesn't set the damagetype, the bulletpuff does.

Just inherit BulletPuff and put damagetype as whatever you want.
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

Post by Matt »

Hey, just trying to think of an alternative to all those instagib sniper rifles out there D:
EDIT: Durh, right, +noextremedeath.

I'd have given up ages ago, except that projectile speed 200 (maximum before things get screwy) translates to about 387 feet per second, i.e., a really hard-hitting paintball...

EDIT: Instaposted. Didn't realize that would work, thanks!
Last edited by Matt on Sat Mar 03, 2007 2:26 am, edited 3 times in total.
Locked

Return to “Editing (Archive)”