Usage:
ObjectTemplate.CreateNotInGrid
boolean
Argument values:
argument 1: | 1; most commonly 1 |
Description: This command tells the game that the object is not limited to any space constraints, meaning it can go outside the boundaries of the levels, high and low. It is always set (to 1) for major projectiles (flak, tank shells, ship's shells), but not for bullets. It is also used in Terrain.con for every battle as a property of the terrain geometry itself, so that the terrain can legally "wrap" outside the bounds of the level.
Used in object types (and how often in each type): Projectile (52%), simpleobject (1%)
Used in a total of 102 .con files: Terrain.con, Weapons.con
Parent directories of these .con files: objects/Vehicles, Bf1942/Levels
Example: (from objects/Vehicles/Air/C47/Weapons.con)
rem *** C47Projectile ***
ObjectTemplate.Create Projectile C47Projectile
ObjectTemplate.CreateNotInGrid 1
rem ObjectTemplate.geometry tracklight_m1
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
ObjectTemplate.TimeToLive CRD_NONE/1.5/0/0
ObjectTemplate.GravityModifier 0
ObjectTemplate.Material 127
ObjectTemplate.Material2 -1
ObjectTemplate.StopAtEndEffect 1
ObjectTemplate.HasCollisionEffect 1
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.