TD target validation

This mod already implements ValidTargets as intended, but grounded helicopters should count as vehicles for target validation.
This commit is contained in:
reaperrr
2015-08-09 14:22:43 +02:00
parent 468b0b4223
commit 6161b72f3e
2 changed files with 5 additions and 4 deletions

View File

@@ -117,7 +117,7 @@
UseLocation: yes
TargetableAircraft:
TargetTypes: Air
GroundedTargetTypes: Ground
GroundedTargetTypes: Ground, Vehicle
SelectionDecorations:
Selectable:
Bounds: 24,24
@@ -294,7 +294,7 @@
Selectable:
Bounds: 24,24
TargetableUnit:
TargetTypes: Ground, Infantry
TargetTypes: Ground
HiddenUnderFog:
WithInfantryBody:
AttackSequence: attack
@@ -634,7 +634,7 @@
Interval: 2
TargetableUnit:
RequiresForceFire: yes
TargetTypes: Ground
TargetTypes: Ground, Husk
Capturable:
Type: husk
AllowAllies: yes

View File

@@ -1,6 +1,7 @@
Sniper:
Report: RAMGUN2.AUD
ValidTargets: Infantry
ValidTargets: Ground, Infantry
InvalidTargets: Vehicle, Water, Structure, Wall, Husk
ReloadDelay: 40
Range: 6c0
Projectile: Bullet