Example of use:
Code: Select all
skill test
{
spawnfilter = 4
name = "Massive upgrade!"
ReplaceActor = "ZombieMan", "ShotgunGuy"
ReplaceActor = "ShotgunGuy", "ChaingunGuy"
ReplaceActor = "Demon", "Spectre"
ReplaceActor = "Fatso", "BaronOfHell"
ammofactor = 2
dropammofactor = 1
}
The implementation has the skill replacements applied first, followed by any DECORATE replacement. For example, if the above MAPINFO code is combined with this DECORATE code...
Code: Select all
Actor Imp : DoomImp replaces ChaingunGuy {}
Actor FirstAid : Medikit replaces ShotgunGuy {}
This implementation only changes the FActorInfo::GetReplacement and GetReplacee functions, instead of altering many other functions. As such it is I think the cleanest it can be.