Usage:
GeometryTemplate.Create
string name
Argument values:
argument 1: | AnimatedMesh, PatchTerrain, SkeletonCollisionMesh, StandardMesh, TreeMesh, patchTerrain; most commonly StandardMesh |
argument 2: | 1PPT_ElcoLL_M1, 1P_AW52_m1, 1P_B17_Int_M1, 1P_B17_Turret_Gun_m1, 1P_B17_Turret_m1, 1P_BlackMedal_str_M1, 1P_Bofors, 1P_C47_Int_M1, 1P_Corsair, 1P_Elco80_str_M1, 1P_FlakPanzer_Gunner_M1, 1P_Hanomag_Driver_M1, ... |
Description: The Create command is used to inform the scripting engine that a new geometry template 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.
The first argument is one of the pre-defined geometry template object types that is going to be created. See the type list.
The second argument is the unique name of the object. This is used in any object references.
Used in a total of 1374 .con files: Effects.con, Geometries.con, Objects.con, Skyandsun.con, Terrain.con
Parent directories of these .con files: objects/Vehicles, objects/Vegetation, objects/Stationary_Weapons, objects/Soldiers, objects/Objectives, objects/MOVE_FILES, objects/Items, objects/HandWeapons, objects/Effects, objects/Common, objects/Buildings, Bf1942/Levels
Example: (from objects/Vehicles/Air/Stuka/Geometries.con)
GeometryTemplate.Create StandardMesh Stuka_Fuselage_M1
GeometryTemplate.File Ju87_Fuselage_M1
GeometryTemplate.HasDynamicShadow 1
GeometryTemplate.SetLodDistance 0 0
GeometryTemplate.SetLodDistance 1 10
GeometryTemplate.SetLodDistance 2 15
GeometryTemplate.SetLodDistance 3 30
GeometryTemplate.SetLodDistance 4 50
GeometryTemplate.SetLodDistance 5 100
Go to the GeometryTemplate properties list page, GeometryTemplate page, All Properties list, or Main scripting page.