Identity and resources
The classes and archives show where a property occurs. They do not guarantee support.
This property selects the camouflage nation or a numeric camouflage variant.
camouflage id
- Parameters
- An identifier of the referenced resource or class. Keep its spelling in the source.
- Observed classes
- Apc, Atg, Crate, Furg, Gaub, Gruz, Guner, Huge, Jeep, Katya, Machine, Medic, Miner, Mzenit, Plane, Samo, Szenit, Tank, Tank2, Turret, machine
- Confirmed readers
- UnitDesc
- Observed archives
- franz_unit, land_unit, lang, name, russ1_unit, sommer_unit_s1, stadt_unit, sud_unit, winter_unit, wuste_unit, wuste_unit_s1
Engine reader
src/game/desc/units.cpp:183
Related table or registry: lang2/camouflage
Source example
camouflage 1
lang/UNITS/apilot:5
This property selects the graphic resource base or another unit's graphics.
file id
- Parameters
- An identifier of the referenced resource or class. Keep its spelling in the source.
- Class notes
- A value such as !tiger links to another unit. A value such as tiger selects a graphic resource base.
- Observed classes
- Apc, Art, Atg, Crate, Furg, Gaub, Gruz, Guner, House, Huge, Jeep, Katya, Machine, Medic, Miner, Mzenit, Para, Plane, Portal, Samo, Szenit, Tank, Tank2, Turret, machine
- Confirmed readers
- UnitDesc
- Observed archives
- franz_unit, land_unit, lang, name, russ1_unit, sommer_unit_s1, stadt_unit, sud_unit, winter_unit, wuste_unit, wuste_unit_s1
Engine reader
src/game/desc/units.cpp:170
Source example
file 150mm_gaub_japan
lang/UNITS/150mm.japanese:9
This property selects the downleft unit resource for a Huge unit.
filedownleft unit_id
- Parameters
- The filename of a referenced UNITS definition, without the directory.
- Observed classes
- Huge
- Confirmed readers
- HugeDesc
- Observed archives
- lang, name
Engine reader
src/game/desc/units_huge.cpp:205
Source example
filedownleft locomotive.cw6
lang/UNITS/locomotive:16
This property selects the downright unit resource for a Huge unit.
filedownright unit_id
- Parameters
- The filename of a referenced UNITS definition, without the directory.
- Observed classes
- Huge
- Confirmed readers
- HugeDesc
- Observed archives
- lang, name
Engine reader
src/game/desc/units_huge.cpp:205
Source example
filedownright locomotive.cw3
lang/UNITS/locomotive:15
This property selects the upleft unit resource for a Huge unit.
fileupleft unit_id
- Parameters
- The filename of a referenced UNITS definition, without the directory.
- Observed classes
- Huge
- Confirmed readers
- HugeDesc
- Observed archives
- lang, name
Engine reader
src/game/desc/units_huge.cpp:205
Source example
fileupleft locomotive.cw9
lang/UNITS/locomotive:14
This property selects the upright unit resource for a Huge unit.
fileupright unit_id
- Parameters
- The filename of a referenced UNITS definition, without the directory.
- Observed classes
- Huge
- Confirmed readers
- HugeDesc
- Observed archives
- lang, name
Engine reader
src/game/desc/units_huge.cpp:205
Source example
fileupright locomotive
lang/UNITS/locomotive:13
This property sets the icon index.
icon value
- Parameters
- One integer value. Check the class notes before you add additional values.
- Observed classes
- Atg, Crate, Guner, Jeep, Machine, Medic, Miner, Szenit, Tank, machine
- Confirmed readers
- UnitDesc
- Observed archives
- lang, name
Engine reader
src/game/desc/units.cpp:375
Source example
icon 0
lang/UNITS/rguner:7
This property sets the mechanical-unit flag.
mech 0|1
- Parameters
- The value 0 sets the flag to off. A nonzero value sets it to on.
- Observed classes
- Apc, Atg, Crate, Furg, Gaub, Gruz, Guner, Huge, Jeep, Katya, Machine, Medic, Miner, Mzenit, Plane, Samo, Szenit, Tank, Tank2, Turret, machine
- Confirmed readers
- UnitDesc
- Observed archives
- franz_unit, land_unit, lang, name, russ1_unit, sommer_unit_s1, stadt_unit, sud_unit, winter_unit, wuste_unit, wuste_unit_s1
Engine reader
src/game/desc/units.cpp:245
Source example
mech 0
lang/UNITS/aari:30
This property sets the full display name.
name "text"
- Parameters
- Put the display text between double quotes.
- Observed classes
- Apc, Art, Atg, Crate, Furg, Gaub, Gruz, Guner, House, Huge, Jeep, Katya, Machine, Medic, Miner, Mzenit, Para, Plane, Portal, Samo, Szenit, Tank, Tank2, Turret, machine
- Confirmed readers
- UnitDesc
- Observed archives
- franz_unit, land_unit, lang, name, russ1_unit, sommer_unit_s1, stadt_unit, sud_unit, winter_unit, wuste_unit, wuste_unit_s1
- Observed spellings
Name, name
Engine reader
src/game/desc/units.cpp:151
Source example
name "105mm Howitzer"
name/UNITS/87t:1
This property selects the unit's nation.
native id
- Parameters
- An identifier of the referenced resource or class. Keep its spelling in the source.
- Observed classes
- Apc, Atg, Crate, Furg, Gaub, Gruz, Guner, Huge, Jeep, Katya, Machine, Medic, Miner, Mzenit, Plane, Samo, Szenit, Tank, Tank2, Turret, machine
- Confirmed readers
- UnitDesc
- Observed archives
- franz_unit, land_unit, lang, name, russ1_unit, sommer_unit_s1, stadt_unit, sud_unit, winter_unit, wuste_unit, wuste_unit_s1
Engine reader
src/game/desc/units.cpp:473
Related table or registry: lang2/nations
Source example
native american
lang/UNITS/107mm-m2:8
This property sets the selection marker size.
selector value
- Parameters
- One integer value. Check the class notes before you add additional values.
- Observed classes
- Apc, Atg, Crate, Furg, Gaub, Gruz, Guner, Huge, Jeep, Katya, Machine, Medic, Miner, Mzenit, Plane, Portal, Samo, Szenit, Tank, Tank2, Turret, machine
- Confirmed readers
- UnitDesc
- Observed archives
- franz_unit, land_unit, lang, russ1_unit, sommer_unit_s1, stadt_unit, sud_unit, winter_unit, wuste_unit, wuste_unit_s1
Engine reader
src/game/desc/units.cpp:197
Source example
selector 0
lang/UNITS/107mm-m2:34
This property selects the selection class.
seltype id
- Parameters
- An identifier of the referenced resource or class. Keep its spelling in the source.
- Observed classes
- Apc, Atg, Crate, Furg, Gaub, Gruz, Guner, House, Huge, Jeep, Katya, Machine, Medic, Miner, Mzenit, Plane, Portal, Samo, Szenit, Tank, Tank2, Turret, machine
- Confirmed readers
- UnitDesc
- Observed archives
- franz_unit, land_unit, lang, russ1_unit, sommer_unit_s1, stadt_unit, sud_unit, winter_unit, wuste_unit, wuste_unit_s1
Engine reader
src/game/desc/units.cpp:330
Related table or registry: lang2/selunittypes
Source example
seltype aa_vehicle
lang/UNITS/crus_aa.mkl:54
This property sets the short display name.
shortname "text"
- Parameters
- Put the display text between double quotes.
- Class notes
- The stock reader keeps at most 12 characters.
- Observed classes
- Apc, Atg, Crate, Furg, Gaub, Gruz, Guner, Huge, Jeep, Katya, Machine, Medic, Miner, Mzenit, Plane, Portal, Samo, Szenit, Tank, Tank2, Turret, machine
- Confirmed readers
- UnitDesc
- Observed archives
- franz_unit, land_unit, lang, name, russ1_unit, sommer_unit_s1, stadt_unit, sud_unit, winter_unit, wuste_unit, wuste_unit_s1
Engine reader
src/game/desc/units.cpp:158
Source example
shortname "A6M 20mm"
lang/UNITS/a-6m:4