Usage:
KitTemplate.Create
string name
Argument values:
argument 1: | AT, AT_Alt, Assault, Assault_Alt, Engineer, Engineer_Alt, Medic, RocketPack, Scout, Scout_Alt |
argument 2: | AT, ATAlt, Assault, AssaultAlt, Engineer, EngineerAlt, Medic, RocketPack, Scout, ScoutAlt |
Description: The Create command is used to inform the scripting engine that a new kit object is going to be created. All properties and commands following a create command will be applied to that object, until another create command or the end of the file is encountered.
Used in a total of 3 .con files: Objects.con, Objectsmod.con
Parent directory of these .con files: objects/Items
Example: (from objects/Items/BaseKit/Ai/Objects.con)
rem *** KitTemplates ***
rem *** Medic ***
KitTemplate.Create Medic Medic
KitTemplate.SetStrategicStrength 0 1
KitTemplate.SetStrategicStrength 1 1
KitTemplate.SetBattleStrength Infantry 6.0
KitTemplate.SetBattleStrength LightArmour 3.0
KitTemplate.SetBattleStrength HeavyArmour 1.0
KitTemplate.SetBattleStrength NavalArmour 0.0
KitTemplate.SetBattleStrength Submarine 0.0
KitTemplate.SetBattleStrength Air 0.0
Go to the KitTemplate properties list page, KitTemplate page, All Properties list, or Main scripting page.