Battlegoatstudios (talk | contribs) (Updated to implementation with review of engine) Tag: Visual edit |
Battlegoatstudios (talk | contribs) Tag: Visual edit |
||
Line 94: | Line 94: | ||
|Only display when map view angle is pitched (not 'top down' direct view) |
|Only display when map view angle is pitched (not 'top down' direct view) |
||
|- |
|- |
||
+ | |MeshNumBase |
||
− | |PicNumBase |
||
| |
| |
||
− | |Unit .x Mesh Number for |
+ | |Unit .x Mesh File Number for first set (usually Base) of this object (Mesh[0]) |
|- |
|- |
||
+ | |MeshNumTurret |
||
− | |PicNumTurret |
||
| |
| |
||
− | |Unit .x Mesh Number for |
+ | |Unit .x Mesh File Number for second set (usually Turret) of this object (Mesh[1]) |
|- |
|- |
||
|TextureOverride |
|TextureOverride |
Revision as of 04:09, 22 February 2019
3D Model Picture Numbers
In the equipment file units are assigned a picture number. This file defines for the engine what parts of which 3D model should be used as well as the texture (default or override) to use.
The file is located in the \GRAPHICS\MESHES folder
Ordinarily the game will load DEFAULT.PICNUMS although it is possible to specify a different file in the \INI\AllLoad.ini initialization file.
This file is not saved in save-game files, it is loaded from AllLoad.ini on each game start. It is not sync-sensitive.
The numbering of PICNUMS is per this standard as of SRU version 9.0.75 (January 2017):
1 to 999 - current range 1000 to 1023 - reserved for engine use 1024 to 1279 - reserved for engine use (Terrain) 1280 to 1535 - reserved for engine use 1536 to 3071 - new range for unit meshes 3072 to 4095 - reserved for modder use (will not be used by BG)
.PICNUMS File Definition
Column | Description | |
---|---|---|
Picnum | Picnum Reference from Equipment List | |
Submeshnumber | (Mesh 0-3) | 0-14 for Submesh for object, or 15 for ‘Use all Submeshes’ |
Valid | (Mesh 0-3) | T/F if this Mesh Entry is valid / used |
Secondary | (Mesh 0-3) | 0/1 for Which Mesh[#] is Referenced for entry (usually 0:Base 1:Turret) |
Turretview | (Mesh 0-3) | T/F if this object is part of the Turret transformation (rotation) |
TeamAlpha | (Mesh 0-3) | Unused |
MeshType | (Mesh 0-3) | Mesh Type: Mesh Usage type 0-15
|
Unused | (Mesh 0-3) | |
OptionOb | (Mesh 0-3) | Not Implemented |
Fastanim | (Mesh 0-3) | Animation/lights act ‘fast’ (Not Implemented) |
PitchOnly | (Mesh 0-3) | Only display when map view angle is pitched (not 'top down' direct view) |
MeshNumBase | Unit .x Mesh File Number for first set (usually Base) of this object (Mesh[0]) | |
MeshNumTurret | Unit .x Mesh File Number for second set (usually Turret) of this object (Mesh[1]) | |
TextureOverride | (0-3) | Texture Name overrides for each Mesh – Default is to use Mesh Default Texture
[0] – Texture Override for Mesh[0] Overhead Textures (Type 0/1) [1] – Texture Override for Mesh[0] Other Textures [2] – Texture Override for Mesh[1] Overhead Textures (Type 0/1) [3] – Texture Override for Mesh[1] Other Textures |
Scale | Override Scale value for Mesh Draw (Default 1.0) | |
Notes | Designer notes or information | |
Notes:
- The number of UGBITS pages supported is increased to 16 from 4 in version 9.0.75 to match.
- Range from 1536 to 1999 may be assigned by BattleGoat to specific modders that provide their content back to the main game.
- Prior to version 9.0.75, and in prior games (SR1936, SRCW, and SR2020), the maximum PICNUMS value was 999.
- In INI/CSV/Data files, True/False can be y/n, 1/0, -1/0