Morale and score 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 changes the delay before a support unit is available again.
The engine recognizes this property. It is absent from the inventoried Fusion sheets.
helltimefactor factorParameters 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.0This property controls the chance of ammunition recovery during a unit action.
marad valueParameters 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 0lang/UNITS/aari:29
See also: reload1 · reload2
This property sets the soldier's automatic morale increase value.
moraleautoincrease valueParameters 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 0lang/UNITS/aowebel:72
This property sets the maximum morale value.
moralemax valueParameters 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 32768lang/UNITS/2589.ozu:22
This property sets the morale threshold for refusing an attack.
moralenoattack valueParameters 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 -12288lang/UNITS/sdkfz.303:15
This property sets the morale threshold for rage.
moralerage valueParameters 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 0lang/UNITS/ageneral:75
This property sets the morale resistance value.
moraleresist valueParameters 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 0lang/UNITS/sdkfz.303:17
This property sets the morale threshold for random movement.
moralerndmove valueParameters 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 -16384lang/UNITS/sdkfz.303:18
This property selects the score class.
scoretype 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, 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 NONElang/UNITS/__testportal:6
This property sets the score value of the unit.
scorevalue valueParameters 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, scorevalueEngine reader
src/game/desc/units.cpp:375 src/game/desc/units.cpp:58
Source example scorevalue -100lang/UNITS/bear:28