Vision and detection
Building sight settings differ from vehicle settings. See bonus_sight in LAND/DOM.
The classes and archives show where a property occurs. They do not guarantee support.
This property sets the aircraft scan delay for an Mzenit unit.
airscandelay value
- Parameters
- One integer value. Check the class notes before you add additional values.
- Observed classes
- Mzenit
- Confirmed readers
- MzenitDesc
- Observed archives
- lang
Engine reader
src/game/desc/units_tank.cpp:276
Source example
airscandelay 20
lang/UNITS/m13:24
This property sets the minimum and maximum alert range.
alarmrange minimum maximum
- Parameters
- Two integers, in source order. The reader stores the first value and the difference to the second.
- Observed classes
- Apc, Atg, Guner, Medic, Miner, Mzenit, Samo, Szenit, Tank, Tank2, machine
- Confirmed readers
- UnitDesc
- Observed archives
- lang
Engine reader
src/game/desc/units.cpp:293
Source example
alarmrange 1 1
lang/UNITS/bear:13
This property sets the binocular range and view angle.
binocular range angle
- Parameters
- First: the view range. Second: the view angle in degrees.
- Class notes
- Soldiers support this property in stock. Vehicle use needs HS2_MOD_VEHICLE_BINOCULARS. The stock vehicle reader does not accept this key.
- Observed classes
- Guner
- Confirmed readers
- SoldierDesc
- Observed archives
- lang
Engine reader
src/game/desc/units_soldier.cpp:165 src/mods/vehicle_binoculars.cpp:131
Source example
binocular 38 8
lang/UNITS/asniper:70
See also: sight · marchenabled
This property sets the sight bonus. The reader depends on the unit class.
bonus_sight value
- Parameters
- One integer value. Check the class notes before you add additional values.
- Class notes
- Vehicles and guns read the first integer. Do not assume that a second value affects the game.
- Observed classes
- Apc, Atg, Gaub, Jeep, Katya, Samo, Szenit, Tank, Tank2, machine
- Confirmed readers
- GunDesc, VehicleDesc
- Observed archives
- lang
Engine reader
src/game/desc/units.cpp:812 src/game/desc/units_gun.cpp:104
Source example
bonus_sight -2 -2
lang/UNITS/107mm-m2:14
This property sets the captive visibility radius for a soldier.
The engine recognizes this property. It is absent from the inventoried Fusion sheets.
captivevisradius value
- Parameters
- One integer.
- Class notes
- The captive visibility code reads this value. The full capture and visibility conditions are not confirmed.
- Base value
- 0
- Confirmed readers
- GunerDesc
Engine reader
src/game/desc/units_soldier.cpp:374
DLL 0x1001EEF0 DLL 0x1001F400
Behavior not confirmed · Research results
Syntax example without a Fusion source
captivevisradius 0
This property sets the captive visibility timer for a soldier.
The engine recognizes this property. It is absent from the inventoried Fusion sheets.
captivevistime value
- Parameters
- One integer.
- Class notes
- The captive visibility code reads this value. The full capture and visibility conditions are not confirmed.
- Base value
- 0
- Confirmed readers
- GunerDesc
Engine reader
src/game/desc/units_soldier.cpp:369
DLL 0x1001EEF0 DLL 0x1001F400
Behavior not confirmed · Research results
Syntax example without a Fusion source
captivevistime 0
This property sets the minimum and maximum sight range when prone.
crouchsight minimum maximum
- Parameters
- Two integers, in source order. The reader stores the first value and the difference to the second.
- Observed classes
- Guner, Medic, Miner
- Confirmed readers
- SoldierDesc
- Observed archives
- lang
Engine reader
src/game/desc/units_soldier.cpp:128
Source example
crouchsight 1 1
lang/UNITS/bear:18
This property sets the vehicle's march-mode value.
marchenabled value
- Parameters
- One integer value. Check the class notes before you add additional values.
- Observed classes
- Apc, Samo, Tank, Tank2, machine
- Confirmed readers
- GunVehicleDesc
- Observed archives
- lang
Engine reader
src/game/desc/units_tank.cpp:62
Source example
marchenabled 0
lang/UNITS/280.2:42
This property sets the vehicle's sight bonus in march mode.
marchsightbonus value
- Parameters
- One integer value. Check the class notes before you add additional values.
- Class notes
- GunVehicleDesc keeps the first integer, even when a sheet contains two values.
- Observed classes
- Apc, Samo, Tank, Tank2, machine
- Confirmed readers
- GunVehicleDesc
- Observed archives
- lang
Engine reader
src/game/desc/units_tank.cpp:67
Source example
marchsightbonus 10 10
lang/UNITS/humber.agit:37
This property sets the minimum and maximum officer radius.
officerradius minimum maximum
- Parameters
- Two integers, in source order. The reader stores the first value and the difference to the second.
- Observed classes
- Guner
- Confirmed readers
- SoldierDesc
- Observed archives
- lang
Engine reader
src/game/desc/units_soldier.cpp:157
Source example
officerradius 200 210
lang/UNITS/commando:102
This property sets the target scan delay.
scandelay value
- Parameters
- One integer value. Check the class notes before you add additional values.
- Base value
- The base UnitDesc constructor sets -1. A class constructor or included file can change it.
- 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:234 src/game/desc/units.cpp:58
Source example
scandelay -1
lang/UNITS/ammo.box:19
This property sets the scan range of an engineer truck.
scanrange value
- Parameters
- One integer value. Check the class notes before you add additional values.
- Observed classes
- Gruz
- Confirmed readers
- GruzDesc
- 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_vehicle.cpp:409
Source example
scanrange 12 12
sud_unit/UNITS/f_sub:53
This property sets the minimum and maximum sight range.
sight minimum maximum
- Parameters
- Two integers, in source order. The reader stores the first value and the difference to the second.
- Class notes
- The reader limits each value to 1 through 31. Do not interpret every two-value property as an experience pair.
- Observed classes
- Apc, Atg, Furg, Gaub, Gruz, Guner, Huge, Jeep, Katya, Machine, Medic, Miner, Mzenit, Para, Plane, 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:209
Source example
sight 1 1
lang/UNITS/bear:31