actor NewDemon : Demon 12561
{
States
{
Raise:
SARG NMLKJI 5
Goto See
Raise.Zombie:
SRGX DCBA 7 //this zombifies the demon and spawns a new one
SRGX D 0 A_SpawnItemEx("ZombieDemon",0,0,0,0,0,0,0,32)
Stop
}
}
EDIT 07.30.08: Post revised, the addition Heal state is not required.
Last edited by Jimmy on Wed Jul 30, 2008 2:16 pm, edited 3 times in total.
Interesting idea. This could allow to port the correct behavior for the Mother of Demons from Doom 64, as the demons she raised from corpses were more powerful than they were before dying.
Unless I'm mistaken, someone suggested an extension to heal which would allow you to choose which state a monster heals with (other than the normal resurrect state).
Perhaps this is a similar (or the same) suggestion.
Bump. I thought this feature suggestion had already been pitched.
So, any news on how hard it would be to get this in? It's essentially DamageTypes for Heal and Raise states instead of projectiles and Pain and Death states.
Why not the raise states being based off of what damage dealt the final blow. For instance, why not have Raise.Disintegrate be for when they are revived. IMO this is MUCH more flexible and for a simple reason: You could provide a raise state label in A_VileChase (defaulting to "Raise" if not defined), much like how A_Chase has parameters for what states to use for melee and ranged attacks, and then, for example, if said monster died of ice, you could provide a Foo.Freeze state in the raised monster, where Foo would be the parameter for 'state' in A_VileChase. If Foo.Freeze was not provided, it would just use Foo. If Foo is not provided, said monster cannot be revived by said 'raise' type. This could be used to create things such as vile bossfights, where there would be viles and a big bad vile boss that can revive normal viles, but the normal viles cannot revive eachother.
Augh that statement took some time to write and polish <_<
So basically that would allow for different vile types that can only raise certain enemies, while at the same time allowing for different raised states based on how the enemy died (so that an enemy that was burned to ashes will have an animation showing them being reconstructed from the ashes, for example)? That sounds like a very cool idea.
This is a brilliant idea. In fact, I was thinking of uses for something like this the other day, though I didn't know it had been pitched as a suggestion. This would open a multitude of possibilities, and would make an excellent addition!
Would raise states based on what monster raised it be possible, too? The Gremlins from the Quake 1 expansion pack come to mind (where they eat a corpse and spawn another monster).