Identity and resources Search needs JavaScript. You can use the topics and alphabetical index below.
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 idParameters 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 1lang/UNITS/apilot:5
This property selects the graphic resource base or another unit's graphics.
file idParameters 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_japanlang/UNITS/150mm.japanese:9
This property selects the downleft unit resource for a Huge unit.
filedownleft unit_idParameters 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.cw6lang/UNITS/locomotive:16
This property selects the downright unit resource for a Huge unit.
filedownright unit_idParameters 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.cw3lang/UNITS/locomotive:15
This property selects the upleft unit resource for a Huge unit.
fileupleft unit_idParameters 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.cw9lang/UNITS/locomotive:14
This property selects the upright unit resource for a Huge unit.
fileupright unit_idParameters 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 locomotivelang/UNITS/locomotive:13
This property sets the icon index.
icon valueParameters 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 0lang/UNITS/rguner:7
This property sets the mechanical-unit flag.
mech 0|1Parameters 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 0lang/UNITS/aari:30
This property sets the full display name.
name "text"Parameters Put the display text between double quotes. Class notes Fusion writes the name as a key: name $N_<file>. The game finds the key in desc.lng (page Languages and names). A missing key shows as it is ($N_m4). 63 bytes at most. 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, nameEngine reader
src/game/desc/units.cpp:151
Source example name "105mm Howitzer"name/UNITS/87t:1
This property selects the unit's nation.
native idParameters 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 americanlang/UNITS/107mm-m2:8
This property sets the selection marker size.
selector valueParameters 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 0lang/UNITS/107mm-m2:34
This property selects the selection class.
seltype idParameters 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_vehiclelang/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 bytes: an accented letter counts 2. Fusion writes a key: shortname $S_<file> (page Languages and names). 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