Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a visual explosion to the flame thrower #14107

Merged
merged 1 commit into from Nov 12, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions mods/ra/rules/infantry.yaml
Expand Up @@ -193,6 +193,9 @@ E4:
TakeCover:
ProneOffset: 160,0,-288
AttackFrontal:
Explodes:
Weapon: VisualExplode
Chance: 50
WithInfantryBody:
DefaultAttackSequence: shoot
ProducibleWithLevel:
Expand Down
2 changes: 2 additions & 0 deletions mods/ra/sequences/misc.yaml
Expand Up @@ -44,6 +44,8 @@ explosion:
large_explosion: frag1
Offset: -2,0
small_napalm: napalm1
offseted_napalm: napalm1 # Used for E4 Explosion
Offset: 0, -6
large_napalm: napalm3
corpse: corpse1
ZOffset: -512
Expand Down
7 changes: 7 additions & 0 deletions mods/ra/weapons/explosions.yaml
Expand Up @@ -68,6 +68,13 @@ UnitExplodeHeli:
Warhead@2Eff: CreateEffect
Explosions: napalm

VisualExplode:
Inherits: ^Explosion
-Warhead@1Dam: SpreadDamage
Warhead@2Eff: CreateEffect
Explosions: offseted_napalm
ImpactSounds: firebl3.aud

UnitExplodeShip:
Inherits: ^Explosion
-Warhead@Smu: LeaveSmudge
Expand Down