five-on-it / apps/client/src/ui/settings / Settings
Interface: Settings
Defined in: apps/client/src/ui/settings.ts:25
The player's settings.
Properties
camera
camera:
number
Defined in: apps/client/src/ui/settings.ts:51
The camera's height over the player, 0.7 to 1.5 times the game's.
consentAsked
consentAsked:
boolean
Defined in: apps/client/src/ui/settings.ts:73
The player answered the first start's question about them (the consent dialog).
crashReports
crashReports:
boolean
Defined in: apps/client/src/ui/settings.ts:69
Crash reports are sent (telemetry.ts): off until the player says yes.
effects
effects:
number
Defined in: apps/client/src/ui/settings.ts:31
The effects' volume (the engine, the tyres, the siren, the horn, the menus), 0..1.
hud
hud:
boolean
Defined in: apps/client/src/ui/settings.ts:45
The HUD block is shown.
invertWheel
invertWheel:
boolean
Defined in: apps/client/src/ui/settings.ts:43
The wheel cycles the targets on the line of fire the other way.
joinAddress
joinAddress:
string
Defined in: apps/client/src/ui/settings.ts:65
The address of the last game joined on the network (192.168.1.23:7777); empty before one.
keys
keys:
Partial<Record<Action,string[]>>
Defined in: apps/client/src/ui/settings.ts:67
The keys the player bound to actions other than their defaults (bindings.ts): only what differs.
lookAhead
lookAhead:
number
Defined in: apps/client/src/ui/settings.ts:41
How far the view leans toward the cursor on foot, 0 (not at all) to 2 (twice the game's).
master
master:
number
Defined in: apps/client/src/ui/settings.ts:27
The volume of everything, 0..1.
minimap
minimap:
number
Defined in: apps/client/src/ui/settings.ts:47
The minimap's size, 0.6 to 1.6 times the game's.
minimapZoom
minimapZoom:
200|300|500
Defined in: apps/client/src/ui/settings.ts:49
How far across the minimap shows round the player (m): 200, 300 or 500.
music
music:
number
Defined in: apps/client/src/ui/settings.ts:29
The music's volume, 0..1.
nightBrightness
nightBrightness:
number
Defined in: apps/client/src/ui/settings.ts:61
How light the night stays, a share of the day's light: 0.25 (dark) to 1 (as bright as day).
platform
platform:
string
Defined in: apps/client/src/ui/settings.ts:63
The platform API's address (https://play.example.com/api); empty for the page's own, or the build's.
radio
radio:
number
Defined in: apps/client/src/ui/settings.ts:33
The radio's volume, 0..1.
radioAutoOn
radioAutoOn:
boolean
Defined in: apps/client/src/ui/settings.ts:35
Getting into a car turns its radio on (audio/radio.ts).
radioOnFoot
radioOnFoot:
boolean
Defined in: apps/client/src/ui/settings.ts:37
The radio plays on after getting out of a car, through earbuds, and can be tuned on foot.
radioStation
radioStation:
string
Defined in: apps/client/src/ui/settings.ts:39
The id of the station last picked (riverbend-fm); empty before one.
speedZoom
speedZoom:
boolean
Defined in: apps/client/src/ui/settings.ts:53
In a car the camera zooms out at speed (renderer/camera.ts's SpeedZoom).
speedZoomResponse
speedZoomResponse:
number
Defined in: apps/client/src/ui/settings.ts:57
How quickly it follows the speed, 0.5 to 2 times the game's.
speedZoomStrength
speedZoomStrength:
number
Defined in: apps/client/src/ui/settings.ts:55
How much farther out it is at full speed: a share of its height at standstill, 0 (none) to 1 (twice as high).
textPace
textPace:
number
Defined in: apps/client/src/ui/settings.ts:59
How long notices and messages stay on screen, 0.5 to 2 times the game's.
usageStats
usageStats:
boolean
Defined in: apps/client/src/ui/settings.ts:71
Anonymous usage statistics are sent: off until the player says yes.