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

View File

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