Change IsSonic to properly use weapon Damage

Registered by Starkku

Normally IsSonic=yes weapons only use AmbientDamage to damage everything in path of the sonic beam. I propose that those weapons should be changed to allow use of Damage as well, without hampering the AmbientDamage functionality. Damage would be dealt when the warhead is normally detonated.

This would allow use of the IsSonic=yes beam graphical effect more flexibly without being restricted to AmbientDamage way of dealing damage to targets along the beam's path. Non-zero Damage would also allow use of Warhead's AnimList as well.

Blueprint information

Status:
Complete
Approver:
AlexB
Priority:
Medium
Drafter:
Starkku
Direction:
Approved
Assignee:
AlexB
Definition:
Approved
Series goal:
Accepted for 0.8
Implementation:
Implemented
Milestone target:
milestone icon 0.8
Started by
AlexB
Completed by
AlexB

Related branches

Sprints

Whiteboard

Implemented as:
[Weapon]ApplyDamage= (boolean, defaults to false if IsSonic=yes or UseFireParticles=yes, to true otherwise)
Whether this weapon deals damage. Can be used to enable conventional Damage to work with IsSonic=yes or UseFireParticles=yes weapons, or to disable dealing damage.
----

14.237.1181, it works both ways (preventing and allowing damage). However. i think it should be mentioned that ApplyDamage=no actually forces Damage=0 on the weapon (thus, the warhead's animation won't play). - mevitar

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.