Adding a new ParaDrop SW

Minimal version: 1.04b  

Adding a new ParaDrop

You can add custom ParaDrops to the game which are able to drop vehicles, too!

"Registering" your ParaDrop

Head to the [SuperWeaponTypes] section and add your own SuperWeapon to the end of the list.

[SuperWeaponTypes]
...
XX=NewParaDropSpecial


XX would either be the number following the last entry of the list, or anything you like that is not used yet in that list (numbering is recommended).

The Code

The next step is creating the section for the new SuperWeapon. Go to the place where the other SuperWeapons are defined (you don't have to, just to keep it well ordered) and add the following section:

[NewParaDropSpecial]
;Basic Stuff
UIName=Name:NewParaDrop
Name=American ParaDrop Clone
IsPowered=false
RechargeTime=4
Type=NewParaDrop ;NewParaDrop is the type for AmericanParaDrop clones
Action=NewPara ;check out the Adding custom Actions page to find out more about this
SidebarImage=NEWPARAICON
ShowTimer=no
DisableableFromShell=no
;New Tags
ParaDropInf=E1,GGI,TANY ;this is the list of InfantryTypes that will be paradropped
ParaDropNum=3,2,1 ;this is their amounts
ParaDropPlane=PDPLANE ;the paradrop plane
;New 1.07 Tags
ParaDropUnits=MTNK,BFRT ;this is the list of UnitTypes (vehicles) that will be paradropped
ParaDropUnitsNum=2,1;this is their amounts

YES, you can even have UnitTypes and InfantryTypes in one paradrop at the same time!

Note on paradropping naval units

Ships will be dropped into water, though the plane drops them beneath the next coast. It has not been tested what happens if a map does not have any water. Therefore, dropping naval units is not recommended.