Extending actors
Moderator: GZDoom Developers
-
- Posts: 78
- Joined: Tue Jul 20, 2004 7:56 pm
- Graphics Processor: nVidia with Vulkan support
Extending actors
I think it would be helpful if when you extend an actor and give it the same name as the original it would modify the original, this would allow me to add burning, ice, disintegration death states to original doom monsters and the player.
-
- Posts: 863
- Joined: Sun Aug 29, 2004 6:15 am
- Location: Sydney, Australia
-
- Posts: 2697
- Joined: Thu Aug 26, 2004 1:23 pm
Sir_Alien is right. All you have to do is use inheriting in Decorate, like soSir_Alien wrote:Have you actually tried to do this? I'm pretty sure it's already possible. Just inherit with the same name and number and add the appropriate states/flags.
Code: Select all
ACTOR SpecialRevenant : Revenant 23000
{
Health 2500
RenderStyle OptFuzzy
Alpha 0.4
Painchance 30
+DONTHURTSHOOTER
}
-
- Posts: 3288
- Joined: Sun Oct 03, 2004 8:57 am
- Preferred Pronouns: They/Them
- Location: South Africa
-
- Posts: 1067
- Joined: Fri Nov 28, 2003 9:39 pm
- Location: A long time ago in a galaxy far, far away...
...which you can do by editing a dehacked patch. For the revenant thing you would type in:
To replace the original revenant, the decorate monster would have to have this as the top line:
Code: Select all
Thing 6 (Revenant)
ID# = -1
Code: Select all
ACTOR SpecialRevenant : Revenant 66
-
- Posts: 78
- Joined: Tue Jul 20, 2004 7:56 pm
- Graphics Processor: nVidia with Vulkan support