How to create weapon who take damage to self and to enemies? If this is possible please help me!
The weapon that causes damage to itselfweapon.ini
Posted 22 September 2018 - 09:32 PM
Fanatic halts enemy cavalry but takes damage for 30 sec
It does work , but is quite annoying getting a ‘ the enemy is attacking ‘ when you are just standing around
Radiusdamageaffects = ENEMIES SELF
LINK TO MOD
Posted 24 September 2018 - 12:32 AM
I am check and for me they dont damaging himself
so in attributemodifer i found this:
and im check weapon
And i try to play with parameters, like add more than 10%, add more damage (Damage = ISENGARD_FANATIC_DEATH_DAMAGE to Damage = 3000)
But they dont damage, kill himself when they attacking enemies.
Posted 24 September 2018 - 02:11 AM
RadiusDamageAffects = ALLIES SELF SUICIDE ENEMIES NOT_SIMILAR NEUTRALS
Edited by JUS_SAURON, 24 September 2018 - 02:12 AM.
LINK TO MOD
Posted 26 September 2018 - 01:45 PM
Ok thanks for help guys!
So if change Modifier = HEALTH_MULT 75% to Modifier = HEALTH_MULT 1% you unit lost practically all hp)
i do not test this but i think 0,1% will be worked too.
But 0% do not do effect((
Edited by Slava Shadrinov, 26 September 2018 - 01:45 PM.
Posted 13 February 2019 - 07:29 AM
I don't know what exactly are you looking for, but yesterday i was precisely looking a suicide weapon and this worked fine with no colateral damage.
Behavior = WeaponFireSpecialAbilityUpdate ModuleTag_SlamWeaponFireUpdateCast123 SpecialPowerTemplate = SpecialAbilityWordOfPower SpecialWeapon = EuthanasiaWeapon_New WhichSpecialWeapon = 1 StartAbilityRange = 200 SkipContinue = Yes UnpackTime = 2000 ;;-;; 1000 PackTime = 1300 MustFinishAbility = Yes ApproachRequiresLOS = No End Weapon EuthanasiaWeapon_New RadiusDamageAffects = ENEMIES ALLIES SELF AttackRange = 0 MinimumAttackRange = 0 LeechRangeWeapon = Yes AcceptableAimDelta = 180 DamageDealtAtSelfPosition = Yes PreAttackType = PER_SHOT PreAttackDelay = 0 FiringDuration = 1 AutoReloadsClip = Yes ClipSize = INFINITE_CLIP_SIZE CanFireWhileMoving = Yes DamageNugget Damage = 1000000 Radius = 0 DelayTime = 0 DamageType = SIEGE DeathType = EXTRA_2 ;ForceKillObjectFilter = ANY +HERO SELF End End
Posted 16 February 2019 - 08:36 PM
Edited by Slava Shadrinov, 16 February 2019 - 08:41 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users