The globals tag contains settings for player control, difficulty, grenade types, rasterizer data, the HUD, materials types, and more. In other words, things that only need to be defined once and are rarely edited.
This tag and its dependencies are also included in a map when compiled, and the engine is hard-coded to reference it.
The following are related functions that you can use in your scenario scripts and/or debug globals that you can enter into the developer console for troubleshooting.
| Function/global | Type |
---|
| ( cheat_all_powerups)
Drops all powerups near player. The set of powerups is controlled by the globals tag. | Function |
Field | Type | Comments |
---|
| Block |
Field | Type | Comments |
---|
| TagDependency : sound |
|
| Block |
|
| Block |
Field | Type | Comments |
---|
| float | | float | | float | | float | | float | | float | | float | | float | | float | | uint16 | | uint16 | | float | | Block | |
|
| Block |
Field | Type | Comments |
---|
| float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float |
|
| Block |
|
| Block |
|
| Block |
|
| Block |
Field | Type | Comments |
---|
| TagDependency : item |
|
| Block |
|
| Block |
Field | Type | Comments |
---|
| TagDependency : weapon | | TagDependency : unit | | Block | Field | Type | Comments |
---|
| TagDependency : unit |
| | TagDependency : shader | | TagDependency : shader | | TagDependency : weapon | | Block ? |
|
| Block |
Field | Type | Comments |
---|
| TagDependency : unit | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | float | | Point3D | Field | Type | Comments |
---|
| float | | float | | float |
| | float | | float | | float | | float | | float | | Bounds | Field | Type | Comments |
---|
| float | | float |
| | float | | TagDependency : effect |
|
| Block |
Field | Type | Comments |
---|
| TagDependency
| | TagDependency : bitmap | | TagDependency : meter | | Point2DInt | Field | Type | Comments |
---|
| int16 | | int16 |
| | TagDependency : meter | | Point2DInt ? | | TagDependency : effect | | TagDependency : effect |
|
| Block |
|
| Block |
Field | Type | Comments |
---|
| float | | float | | float | | float | | float | | float | | TagDependency : effect | | TagDependency : sound | | Block | Field | Type | Comments |
---|
| TagDependency : particle | | bitfield | | | float | | Bounds ? | | Bounds ? | | Bounds ? | | ColorARGB | Field | Type | Comments |
---|
| float | | float | | float | | float |
| | ColorARGB ? |
| | TagDependency : sound |
|
| Block |
Field | Type | Comments |
---|
| TagString | | TagString | | uint32 | | uint32 | | uint32 | | uint32 | | uint32 |
|
Thanks to the following individuals for their research or contributions to this topic:
- gbMichelle (Active camo tint and distortion testing)
- Jakey (Active camo rasterizer settings documentation)
- Kavawuvi (Invader tag definitions)
- MosesOfEgypt (Tag structure research)