vsTASKER 7 Tutorial
×
Menu
Index

Definition Files

 
CIGI messages is using ID to select terrains, models or articulated parts.
In order to have a handy way to setup a CIGI environment, definition files will be used.
 
By default, some files have been located in /Runtime/Settings
 
 
This file is used in CIGI property window to specify which terrain must be loaded at start.
The content is as follow:
 
1=pendleton:/img/pendleton.jpg
2=my_terrain
3=...
 
grammar:
id=name{:image}
 
//: any comment, line not processed
id: number the IG does associate with the terrain
name: what to display for the user to represent the terrain
image: optional, small image (500x500) located at the same level as the def file. If inside a folder, mention it (ie: /img/whatever.jpg)
 
 
Used by component CigiEntity
 
The content is as follow:
 
// entities
#afg
#civilian
13443=afg_civ_gaz_24_black_x:img/preview_gaz_24_black_ca.jpg
13444=afg_civ_gaz_24_blue_x:img/preview_gaz_24_blue_ca.jpg
#-- // civilian
#-- // afg
 
grammar:
id=name{:image}
 
//: any comment, line not processed
id: number the IG does associate with the 3D model
name: what to display for the user to represent the model
image: optional, small image (500x500) located at the same level as the def file. If inside a folder, mention it (ie: /img/whatever.jpg)
# name: create a branch with this name. All successive entries will belong to this branch
#--: close the current branch
 
 
Used by component CigiLifeform (which inherits from CigiEntity)
 
 
 
Used by component CigiLWeapon (which inherits from CigiEntity)
 
 
 
Used by component CigiMunition (which inherits from CigiEntity)