Jump to content

How to build Jumpjet Vehicle on Airfield

From ModEnc²
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge


This guide requires:
  1. rule(md).ini
  2. Engine extensions: Ares (Must have), Phobos (Optional)
Credit to cxtian39 for discovering this.

First you need a dummy aircraft that kills itself on born:

 [AircraftTypes]
 +=MYDUMMYAIRCRAFT01
 [MYDUMMYAIRCRAFT01]
 ...
 TechLevel=3 ; buildable
 Armor=die ; killed by the suicide AE
 AttachEffect.Animation=KILLDUMMY ; a suicide AE
 AttachEffect.Duration=-1
 Sight=0
 DesignatorRange=1 ; yes this is a designator
 ...
  • Note: Unit auto death can be executed either by attaching an AE that instantly kills it, or via Phobos's Kill Object Automatically logic. In the latter case you need Phobos.

Then add this superweapon to your airfield:

 [GiveMeJumpjet]
 Type=UnitDelivery
 Deliver.Types=MYJUMPJET
 SW.AITargeting=self
 SW.AutoFire=yes
 SW.FireIntoShroud=yes
 IsPowered=false
 RechargeTime=.01
 SW.ShowCameo=no
 SW.Deferment=0
 SW.Designators=MYDUMMYAIRCRAFT01
 [MYJUMPJET]
 ;Your helicopter, airship, disc, whatever

Reason behind: you build the dummy designator, causing the give-me-jumpjet-sw to fire only once then the designator dies right after born and the superweapon is on hold again. This trick supports setting primary exit.

If you want AI to recruit unit-delivered unit, set [Hunt]->Recruitable=yes

-cxtian39

PPM link: [How to Build Jumpjet Vehicle from Airfield]