Alliance Francophone Sudden Strike

Fusion modding · UNITS / AVIA / LAND/DOM

Français

Crew and passengers

Building occupation uses the generic House and Portal types. Buildings describes the settings and garrison limits.

The classes and archives show where a property occurs. They do not guarantee support.

This property selects a linked unit. Guns use it for crew; crates and parachutes use it for their unit resource.

art unit_id
Parameters
The filename of a referenced UNITS definition, without the directory.
Observed classes
Atg, Crate, Gaub, Gruz, Huge, Machine, Para, Szenit
Confirmed readers
CrateDesc, GruzDesc, GunDesc, HugeDesc, MachineDesc, ParaDesc
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_huge.cpp:165 src/game/desc/units_misc.cpp:51 src/game/desc/units_misc.cpp:249 src/game/desc/units_misc.cpp:371 src/game/desc/units_vehicle.cpp:383 src/game/desc/units_gun.cpp:95

Source example

art art

lang/UNITS/105-mle:12

This property sets the crew count for an attack.

attackcrew value
Parameters
One integer value. Check the class notes before you add additional values.
Observed classes
Apc, Furg, Gruz, Huge, Jeep, Katya, Mzenit, Plane, Samo, Tank, Tank2, 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:442

Source example

attackcrew 0

lang/UNITS/foxhole-2:18

This property sets the soldier's crew membership value.

canbecrew value
Parameters
One integer value. Check the class notes before you add additional values.
Observed classes
Apc, Atg, Crate, Gruz, Guner, Jeep, Katya, Machine, Medic, Miner, Mzenit, Samo, Szenit, Tank
Confirmed readers
SoldierDesc
Observed archives
lang, name

Engine reader src/game/desc/units_soldier.cpp:172

Source example

canbecrew 0

lang/UNITS/aflamer:15

This property permits a parachute drop when the value is nonzero.

canbepara 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, Samo, Szenit, Tank, Turret, machine
Confirmed readers
UnitDesc
Observed archives
lang, name

Engine reader src/game/desc/units.cpp:447

Source example

canbepara 0

lang/UNITS/ageneral:17

This property sets the number of crew seats.

crew_number value
Parameters
One integer value. Check the class notes before you add additional values.
Base value
The base UnitDesc constructor sets 0. A class constructor or included file can change it.
Observed classes
Apc, Furg, Gruz, Huge, Jeep, Katya, Mzenit, Plane, Samo, Tank, Tank2, 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:344 src/game/desc/units.cpp:58

Source example

crew_number 0

lang/UNITS/sdkfz.303:11

This property selects the crew unit type.

crew_unit unit_id
Parameters
The filename of a referenced UNITS definition, without the directory.
Observed classes
Apc, Furg, Gruz, Huge, Jeep, Katya, Mzenit, Plane, Samo, Tank, Tank2, 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:335

Source example

crew_unit aminer

sud_unit/UNITS/gmc_v:12

This property sets the stock crew-exit value. The stock reader ignores the second value.

crew_ver value1 value2
Parameters
Two decimal values, in source order. The class notes describe any special handling.
Class notes
The stock reader reads the first value two times. The stock wreck exit does not run. HS2_MOD_CREW uses its own survival chances.
Observed classes
Apc, Furg, Gruz, Huge, Jeep, Katya, Mzenit, Plane, Samo, Tank, Tank2, 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:349 src/mods/crew.h:1

Source example

crew_ver 0

lang/UNITS/foxhole-2:17

This property permits treatment of the crew when the value is nonzero.

crewcanbehealed 0|1
Parameters
The value 0 sets the flag to off. A nonzero value sets it to on.
Observed classes
Apc, Furg, Gruz, Huge, Jeep, Katya, Mzenit, Plane, Samo, Tank, Tank2, 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:405

Source example

crewcanbehealed 0

lang/UNITS/2589.ozu:17

This property sets the crew pickup direction.

crewpickupdir value
Parameters
One integer value. Check the class notes before you add additional values.
Observed classes
Furg
Confirmed readers
FurgDesc
Observed archives
lang, name

Engine reader src/game/desc/units_vehicle.cpp:176

Source example

crewpickupdir 0

lang/UNITS/german.landing:34

This property sets the maximum crew count for a gun.

maxgund value
Parameters
One integer value. Check the class notes before you add additional values.
Observed classes
Atg, Gaub, Szenit
Confirmed readers
GunDesc
Observed archives
lang, name

Engine reader src/game/desc/units_gun.cpp:97

Source example

maxgund 0

lang/UNITS/107mm-m2:24

This property sets the crew count for movement.

movecrew value
Parameters
One integer value. Check the class notes before you add additional values.
Observed classes
Apc, Furg, Gruz, Huge, Jeep, Katya, Mzenit, Plane, Samo, Tank, Tank2, 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:437

Source example

movecrew 0

lang/UNITS/sdkfz.303:13

This property permits passenger fire when the value is nonzero.

passcanfire 0|1
Parameters
The value 0 sets the flag to off. A nonzero value sets it to on.
Observed classes
Apc, Furg, Huge, Jeep, Katya, Plane, Samo, Tank, Tank2, machine
Confirmed readers
UnitDesc
Observed archives
lang, name

Engine reader src/game/desc/units.cpp:410

Source example

passcanfire 0

lang/UNITS/2592.tk:17

This property sets the passenger pickup direction.

passpickupdir value
Parameters
One integer value. Check the class notes before you add additional values.
Observed classes
Furg
Confirmed readers
FurgDesc
Observed archives
lang, name

Engine reader src/game/desc/units_vehicle.cpp:177

Source example

passpickupdir 0

lang/UNITS/german.landing:35

This property sets four crew placement angles for a gun.

soldangle value1 value2 value3 value4
Parameters
Four integers for the four crew positions. Keep their order.
Observed classes
Atg, Szenit
Confirmed readers
GunDesc
Observed archives
lang

Engine reader src/game/desc/units_gun.cpp:119

Source example

soldangle 17 9 25 9

lang/UNITS/107mm-m2:37

This property sets four crew facing values for a gun.

solddirection value1 value2 value3 value4
Parameters
Four integers for the four crew positions. Keep their order.
Observed classes
Atg, Szenit
Confirmed readers
GunDesc
Observed archives
lang

Engine reader src/game/desc/units_gun.cpp:121

Source example

solddirection 1 26 17 17

lang/UNITS/107mm-m2:38

This property selects the soldier resource used on the vehicle's armor.

soldonarmor unit_id
Parameters
The filename of a referenced UNITS definition, without the directory.
Observed classes
Apc, Samo, Tank, Tank2, machine
Confirmed readers
GunVehicleDesc
Observed archives
lang, name

Engine reader src/game/desc/units_tank.cpp:72

Source example

soldonarmor aonarmor

lang/UNITS/b_chaffee:20

This property sets four crew placement radii for a gun.

soldradius value1 value2 value3 value4
Parameters
Four integers for the four crew positions. Keep their order.
Observed classes
Atg, Szenit
Confirmed readers
GunDesc
Observed archives
lang

Engine reader src/game/desc/units_gun.cpp:120

Source example

soldradius 10 10 3 11

lang/UNITS/107mm-m2:39

This property sets the soldier count needed to move a gun.

soldtomove value
Parameters
One integer value. Check the class notes before you add additional values.
Observed classes
Atg, Gaub, Szenit
Confirmed readers
GunDesc
Observed archives
lang

Engine reader src/game/desc/units_gun.cpp:109

Source example

soldtomove 2

lang/UNITS/107mm-m2:40

This property sets the carrying capacity. Guns use a class-specific reader.

stock value
Parameters
One integer value. Check the class notes before you add additional values.
Class notes
The base reader stores the integer unchanged. The GunDesc reader limits it to 1 or 2.
Base value
The base UnitDesc constructor sets 0. A class constructor or included file can change it.
Observed classes
Apc, Atg, Furg, Gaub, Gruz, Huge, Jeep, Katya, Machine, Plane, Samo, Szenit, Tank, Tank2, machine
Confirmed readers
GunDesc, 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
Stock, stock

Engine reader src/game/desc/units.cpp:415 src/game/desc/units_gun.cpp:152 src/game/desc/units.cpp:58

Source example

stock 0

lang/UNITS/2592.tk:19

This property selects the gun bonus for two crew members.

The engine recognizes this property. It is absent from the inventoried Fusion sheets.

twosoldbonus mode
Parameters
One mode: reload, accuracy, or burstreload. An unknown name leaves the previous setting unchanged.
Class notes
reload gives a second reload countdown step with at least two crew members. accuracy halves the accuracy field with exactly two crew members. burstreload adds a countdown step in the burst phase. The game skips *twosoldbonus because of the * prefix.
Base value
reload
Confirmed readers
GunDesc

Engine reader src/game/desc/units_gun.cpp:136 DLL 0x100296F0 DLL 0x10028210

Values recognized by this reader: reload accuracy burstreload

Syntax example without a Fusion source

twosoldbonus reload