Posted: Thu Nov 03, 2022 10:48 pm Post subject:
Weapon= on Animation doesn't do damage
This works for me:
Code:
[Tsarky]
Damage=1
ROF=5
Range=10
Projectile=LeechBeam
Speed=100
Report=
Warhead=TsarkyWH
Bright=yes
LaserInnerColor = 216,0,184
LaserDuration = 10
IsLaser=true ; this flag tells the game to use the special laser draw effect
FeedbackWeapon=Repairing
IsSingleColor=yes
[Repairing] ; Feedback weapon for LeechBeam, tested not actually does damage to firer
Damage=1
ROF=25
Range=5
Projectile=Invisible
Speed=50
Report=FlakTrackAttackGround ; put in new sound for this
Warhead=RepairingWH
[Tsarky]
Damage=1
ROF=5
Range=10
Projectile=LeechBeam
Speed=100
Report=
Warhead=TsarkyWH
Bright=yes
LaserInnerColor = 216,0,184
LaserDuration = 10
IsLaser=true ; this flag tells the game to use the special laser draw effect
FeedbackWeapon=Repairing
IsSingleColor=yes
[Repairing] ; Feedback weapon for LeechBeam, tested not actually does damage to firer
Damage=1
ROF=25
Range=5
Projectile=Invisible
Speed=50
Report=FlakTrackAttackGround ; put in new sound for this
Warhead=RepairingWH
Its suppose to heal the unit but if the damage is put to the Weapon= it doesn't work but if you put it in directly on the Animation it does.
This is a Feedback weapon which means the animation is on the firer QUICK_EDIT
Again you dont need to attach an extra weapon to the [REPAIRING] animation, just use the [Repairing] weapon (you really should use different names for them) to heal the unit.
Add Verses=-100% to [RepairingWH] & remove [Repair] & [RepairWH]. _________________
That would heal everything BUT the unit itself as described for the feedback.weapon=.
The animation is to heal the firer specifically and not anything else around it.
Tried what you told with Cellspread=2.5, Damage=100, and kept Verses=100%, but it affected everything but the unit.
It destroyed everything but the unit. QUICK_EDIT
Why did you change Cellspread from 0.5 to 2.5? At 0.5 it will only effect the cell the unit is on, with 2.5 it will effect all units within a 2 cells radius.
Verses with 100% will do damage, Verses with -100% will do negative damage & heal the unit.
You can use AffectsEnemies=no & AffectsOwner=yes on the warhead to make sure it only repairs the unit too.
I double checked the Ares manual & it does mention that you need to use Damage= along with Weapon= on an animation to make it work, Sorry I miss remembered the specifics. _________________
[Repairing] ; Feedback weapon for LeechBeam, tested not actually does damage to firer
Damage=10
ROF=1
Range=5
Projectile=Invisible
Speed=100
Report=FlakTrackAttackGround ; put in new sound for this
Warhead=RepairingWH
And the "Cellspread=2.5, Damage=100, and kept Verses=100%" was to show how I checked if it worked.
Don't worry, I know about what those code do already.
Also boolean means "yes/no" or "true or false"? Either way I tried both and still didn't work QUICK_EDIT
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