ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Overcoming Paratrooper Targeting Issues

From ModEnc
Revision as of 21:33, 1 July 2009 by Juances19 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

If you haven't noticed, setting AG=yes on AA only weapons allows them to target paratroopers. Unfortunately, LandTargeting will not prevent them from attacking terrain objects, like trees, rocks, and the sort. It would therefore allow them, to some degree, attack land units. The solution is to change AG=yes on the primary weapon back to AG=no, create a secondary weapon with a projectile with AA=yes and AG=yes, and a warhead which will only damage the infantry armors. Now for you lazy people, or people who have no idea what I just said, I've created the code which will allow the Allied Patriot Missile to target paratroopers, but not terrain objects.

The Weapon Code

[InfantrySeeker]
Damage=35
ROF=55
Range=12
Projectile=INHeatSeeker
Speed=100
Warhead=InfantrySeekerWH
Report=PatriotAttack
TurboBoost=yes

The Projectile Code

[INHeatSeeker]
Arm=2
Shadow=no
Proximity=yes
Ranged=yes
Burst=2
AA=yes
AG=yes
Image=DRAGON
ROT=80
SubjectToCliffs=no
SubjectToElevation=no
SubjectToWalls=no

The Warhead Code

[InfantrySeekerWH]
CellSpread=.3
PercentAtMax=1
Verses=100%,100%,100%,0%,0%,0%,0%,0%,0%,0%,0%
InfDeath=3
AnimList=XGRYSML1,XGRYSML2,EXPLOSML
ProneDamage=100%