Alliance Francophone Sudden Strike

Fusion modding · UNITS / AVIA / LAND/DOM

Français

Morale and score

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

This property changes the delay before a support unit is available again.

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

helltimefactor factor
Parameters
One decimal factor.
Class notes
The support list multiplies its delay by this factor before it makes the unit available. Physical time units depend on the caller.
Base value
1.0
Confirmed readers
UnitDesc

Engine reader src/game/desc/units.cpp:325 DLL 0x10054270 DLL 0x100543B0

Syntax example without a Fusion source

helltimefactor 1.0

This property controls the chance of ammunition recovery during a unit action.

marad value
Parameters
One integer value. Check the class notes before you add additional values.
Class notes
The action compares random(32767) × reload rate with marad for each ammunition type. A successful comparison adds one round, up to capacity. The action trigger is not confirmed.
Observed classes
Guner, Medic, Miner
Confirmed readers
UnitDesc
Observed archives
lang

Engine reader src/game/desc/units.cpp:375 DLL 0x10021B70

Behavior not confirmed · Research results

Source example

marad 0

lang/UNITS/aari:29

This property sets the soldier's automatic morale increase value.

moraleautoincrease value
Parameters
One integer value. Check the class notes before you add additional values.
Observed classes
Guner
Confirmed readers
SoldierDesc
Observed archives
lang

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

Source example

moraleautoincrease 0

lang/UNITS/aowebel:72

This property sets the maximum morale value.

moralemax value
Parameters
One integer value. Check the class notes before you add additional values.
Class notes
The reader caps the value at 32767. Fusion contains 32768, which the reader reduces to 32767.
Observed classes
Apc, Furg, Gruz, Guner, Jeep, Katya, Mzenit, Plane, Samo, Tank, Tank2, 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:384

Source example

moralemax 32768

lang/UNITS/2589.ozu:22

This property sets the morale threshold for refusing an attack.

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

Source example

moralenoattack -12288

lang/UNITS/sdkfz.303:15

This property sets the morale threshold for rage.

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

Source example

moralerage 0

lang/UNITS/ageneral:75

This property sets the morale resistance value.

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

Source example

moraleresist 0

lang/UNITS/sdkfz.303:17

This property sets the morale threshold for random movement.

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

Source example

moralerndmove -16384

lang/UNITS/sdkfz.303:18

This property selects the score class.

scoretype 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, 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:366 Related table or registry: lang2/scoretypes

Source example

scoretype NONE

lang/UNITS/__testportal:6

This property sets the score value of the unit.

scorevalue 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, 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
Observed spellings
ScoreValue, scorevalue

Engine reader src/game/desc/units.cpp:375 src/game/desc/units.cpp:58

Source example

scorevalue -100

lang/UNITS/bear:28