Posted: Sat Apr 02, 2022 4:36 pm Post subject:
Zero damage
Subject description: Weapon with zero damage
Hello guys. Wanna make a weapon which deals no damage, but which target everything and plays WH animation from AnimList.
Problem is that when I make wapon damage zero Damage=0, no animation is played. QUICK_EDIT
A few things:
You can use the "EMEffect" tag on the warhead to invoke animations independent of Damage value. In RA2/YR/Ares, that's the only effect EMEffect has, it will not cause the warhead to actually have an EMP effect. However, using EMEffect will also cause a random animation from AnimList to be played on each hit - not an issue if there is just one animation in the list anyway, but something to keep in mind if you intend the warhead to have different animations determined by some condition (though, again, if all instances of the warhead are supposed to be used by Damage=0 weapons, then apparently that's not what you want, as Damage is the only way the game determines which specific animation to play).
Additionally, in Ares, you can have non-zero Damage weapons which do not deal damage and are still capable of targeting everything. Set the weapon's Damage to any amount, set the Verses/Versus. to 0 on the weapon's Warhead. This will prevent the warhead from firing upon those targets, but this can be fixed by adding the PassiveAcquire, Retaliate and ForceFire tags for each armor type you want. Find more information here: https://www.sidoupiar.com/docs/ra2_ares/new/additionalarmortypesandverses.html QUICK_EDIT
You can try 1 dmg and 2% on the warhead - if that doesnt work you can add a particle effect to it which is what i have done before for some projects QUICK_EDIT
Yes, EMEffect will cause zero-damage to work.
If you need to actually disable the target, just add Temporal=yes to the warhead.
That way your weapon will keep the unit stuck.
I have not tested is there is an alternate way to Temporal (just to have the option still be able to damage the target unit). _________________ Red Alert 2 Yuri's Revenge Apocalypse mod:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum