MakeInfantryOwner does not work in Mpmodes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ares |
Fix Released
|
Wishlist
|
AlexB |
Bug Description
In a custom mpmode ini, I redirected all the infantry death anims to anim [MUTATED], and have in artmd.ini these lines:
[MUTATED]
Scorch=yes
Layer=ground
MakeInfantry=1
MakeInfantryOwn
Report=
SpawnsParticle=
NumParticles=3
For testing purpose I also changed the [Virus] warhead in rulesmd.ini so that it has InfDeathAnim=
The infantry type, the AnimToInfantry list and the [MUTATED] animation are all declared in rulesmd.ini. The main changes in the custom mode ini are these:
[General]
InfantryExplode
FlamingInfantry
InfantryHeadPop
InfantryNuked=
InfantryVirus=
InfantryBrute=
InfantryMutate=
InfantryElectro
Thanks!
Changed in ares: | |
status: | Fix Committed → Fix Released |
Hello, MUTATED works.
at the moment MakeInfantryOwner only works for specific animations, namely the ones defined as InfDeathAnim, DeathAnims and the ones used by map triggers. Thus, InfantryMutate, InfantryBrute and others do not make use of it. This is why your InfDeathAnim=
When the tag takes effect, the unit palette is used instead of anim.pal (same behavior as InfDeath=9). If it doesn't take effect, the animation will be rendered in anim.pal, ignoring house remap colors.
I'll regard this as a feature request to expand MakeInfantryOwner to work with InfantryExplode, FlamingInfantry, InfantryElectro cuted / the electro death, InfantryNuked, InfantryVirus, InfantryMutate, and InfantryBrute.
Btw, InfantryElectro cuted goes under [AudioVisual], not [General].