Adding An Airstrike To TS
Basic Method
This is a relatively simple method of making an airstrike. However there are obviously good things and bad things.The only bad thing is,is that the plane can't be shot down.I will supply you with some template shps to use (bear in mind there not perfect).
First of all you need to add the following to your rules.ini
I used a chemical missile to base this off.
; Chem weapon. [ChemicalSpecial] Name=Air Strike IsPowered=true RechargeVoice= ChargingVoice= ImpatientVoice= SuspendVoice= RechargeTime= Type=AttackWaypoint SidebarImage=MltiIcon Action=AttackWaypoint ---nicer target icon WeaponType=ChemLauncher --- nothing special there just a name change and stopped it needing weeds.
This is the weapon that we will edit orignally from the chemical missile
; Chemical missile launcher [ChemLauncher] Damage=0 ROF=1 ; 0 Range=6 Projectile=Invisible Speed=35 -------depending on the speed you could make it have a delay or make it longer for the plane to reach its destination Report=none
your warhead for the airstrike
; Air Strike Warhead [STRIKE] Spread=3 Wall=no Wood=no Rocker=no Verses=1%,1%,1%,1%,1% Conventional=no InfDeath=3 AnimList=BOMBPAS ProneDamage=0%
Thats the rules done.
Now we move onto to art.ini
Simply add the following
As I said earlier I have supplied templates for this to work
[BOMBPAS] ----plane flying over dropping bombs/mines Normalized=yes Translucent=no AltPalette=yes Rate=370 Next=SEXPB
[SEXPB] --- 1st bomb going off (starts from the left on this tut) Translucent=yes UseNormalLight=yes Report=EXPNEW13 Damage=30 Crater=yes Scorch=yes Rate=900 Next=SEXPB2
[SEXPB2] --- 2nd bomb Translucent=yes UseNormalLight=yes Report=EXPNEW13 Crater=yes Damage=30 Scorch=yes Rate=900 Next=SEXPB3
[SEXPB3] --- 3rd bomb Translucent=yes UseNormalLight=yes Report=EXPNEW13 Crater=yes Damage=30 Scorch=yes Rate=900 Next=SEXPB4
[SEXPB4] --- 4th bomb Translucent=yes UseNormalLight=yes Report=EXPNEW13 Crater=yes Scorch=yes Damage=30 Rate=900 Next=SEXPB5
[SEXPB5] --- 5th bomb Translucent=yes UseNormalLight=yes Report=EXPNEW13 Crater=yes Scorch=yes Damage=30 Rate=900 Next=SEXPB6
[SEXPB6] -- 6th bomb Translucent=yes UseNormalLight=yes Report=EXPNEW13 Crater=yes Damage=30 Scorch=yes Rate=900
You can make each indivual bomb more powerful than the last,or just change all of their damages to the same.30 damage is a weak damage amount and the explosions occur in different places,you may wish to increase the damage.
Also remember the building you wish this to be triggered by or effectively come from must have NukeSilo=yes.
Enjoy this.
Extension to the above
The method of using an animation containing a passing plane can also be used via another method to create an airstrike. Here, the plane needs the flag IsMeteor=yes and a high maximum X velocity with a minimal Y velocity. The Trailer is set to another animation, which is the acctual bomb. This bomb animation is set to be a meteor as well, anc can be copied right from METLARGE or METSMALL, however, both the image and damage should be revised.