Posted: Thu Dec 19, 2019 8:22 am Post subject:
A damaging weapon that also disables?
Subject description: How to properly create a weapon that has both ordinary damage and EMP effect?
I have tried to create a heroic weapon that has both ordinary damage and EMP effect:
But this does not work. Even though I was hoping for that the animation "EM_EXP42", like fire on the ground, would apply EMP effect on vehicles, it did not.
Any inputs? Thanks in advance. Last edited by Nod25 on Fri Dec 20, 2019 5:24 am; edited 1 time in total QUICK_EDIT
1. only art.ini debris allow to use a specific warhead
normal anims like you have there are hardcoded to use warhead that is set on FlameDamage2= in rules.ini
2. special warhead logics (webby, EM, etc) are not working at all from art.ini
Even with an art.ini debris, you wouldn't get the EMEffect
3. to get what you want, you have to use a 2 stage weapon like the Reaper
40mmPGL has to do damage via BlasterWH
but the projectile needs via Cluster and AirburstWeapon a second weapon (with Range=0) asigned
then you can give this weapon the emp effect warhead
So basically when the first projectile hits the target, a second weapon is fired and hits the same spot with the emp warhead
Note:
-spawned second stage weapons, need to have the weapon assigned to a unit (see weedguy hack for cluster missile), or the game crashes, since the weapon isn't loaded.
-spawned second stage weapons do by default 10 times as much Damage. So divide its Damage by 10 _________________ SHP Artist of Twisted Insurrection: Nod buildings
I have estimated the actual damage dealt in game. The tank did not seem to have received additional 8×10 = 80 damage on top of the "40mmRailGrenade," and instead have received 80/15 = 5.3 seconds of EMP effect. The game has multiplied the 8 "damage" from AvengerEMPulseWeapon by a factor of 10, and applied the entire amount as the EMP's duration.
So I can say this works really well with your tip:
Ghost Avenger.gif
Description:
Weapon with both damage and EMP effect, properly blessed by Lin Kuei Ominae
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