-
Notifications
You must be signed in to change notification settings - Fork 224
/
neck.ini
207 lines (184 loc) · 10.8 KB
/
neck.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
[ℹ]
FULLNAME=Neck FX
PREVIEW=https://acstuff.ru/images/modules/neck.jpg
DESCRIPTION=With this extension, camera looks at apexes, can follow steering and/or moving direction, has its shaking stabilized, tilts with G-forces, gets free look with right mouse button. For VR, there is a separate set of settings.
SHORT_DESCRIPTION=Alternative head motion
URL=https://trello.com/c/4XskskdX/26-alternative-head-movement
[BASIC]
; Extension
ENABLED=0 ; Active (set to 0 to disable Neck FX); 1 or 0
ENABLED_IN_BASE_MODE=1 ; Use without VR or TrackIR in race; 1 or 0; only with ENABLED
ENABLED_IN_REPLAY=1 ; Use in replays; 1 or 0; only with ENABLED
ENABLED_IN_VR=1 ; Use with VR; 1 or 0; only with ENABLED
ENABLED_WITH_TRACKIR=1 ; Use with TrackIR devices working (including Real Head Motion); 1 or 0; only with ENABLED
[SCRIPT]
; Replace original CSP implementation with a custom script
ENABLED=1 ; Active; 1 or 0
ENABLED_IN_BASE_MODE=1 ; Use without VR or TrackIR in race; 1 or 0; only with ENABLED and BASIC/ENABLED_IN_BASE_MODE
ENABLED_IN_REPLAY=1 ; Use in replays; 1 or 0; only with ENABLED and BASIC/ENABLED_IN_REPLAY
ENABLED_IN_VR=1 ; Use with VR; 1 or 0; only with ENABLED and BASIC/ENABLED_IN_VR
ENABLED_WITH_TRACKIR=1 ; Use with TrackIR devices working (including Real Head Motion); 1 or 0; only with ENABLED and BASIC/ENABLED_WITH_TRACKIR
IMPLEMENTATION=default ; Script; look for cockpit.lua in extension/lua/cockpit-camera; only with ENABLED
[SCRIPT_SETTINGS]
; Script settings
__PLUGIN_SETTINGS=SCRIPT/IMPLEMENTATION, extension/state/lua/cockpit_camera/{0}__settings.ini ;; hidden
[LOOKAHEAD]
; Look ahead (following apexes)
; ; section tweaks; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_BASE_MODE and SCRIPT/ENABLED_IN_REPLAY
GAIN=0.5 ; Effect gain; from 0 to 2.5, perc.
TILT_MIX=0.1 ; Tilt split; from 0 to 1, perc.
TILT_INVERSE=0 ; Inverse tilt; 1 or 0
SPEED=2 ; Filtering speed; from 0.5% to 4.5
ANGLE_THRESHOLD_FROM=0.2 ; Angle threshold, from (cosine, aka dot product); from -1 to ANGLE_THRESHOLD_TO
ANGLE_THRESHOLD_TO=0.8 ; Angle threshold, to (cosine, aka dot product); from ANGLE_THRESHOLD_FROM to 1
LOOK_ANGLE_THRESHOLD_FROM=0.2 ; Look angle threshold, from (cosine, aka dot product); from -1 to LOOK_ANGLE_THRESHOLD_TO
LOOK_ANGLE_THRESHOLD_TO=0.8 ; Look angle threshold, to (cosine, aka dot product); from LOOK_ANGLE_THRESHOLD_FROM to 1
DISTANCE_THRESHOLD_FROM=3 ; Distance threshold, from (cosine, aka dot product); from DISTANCE_THRESHOLD_TO m to 10
DISTANCE_THRESHOLD_TO=1 ; Distance threshold, to (cosine, aka dot product); from 0 m to DISTANCE_THRESHOLD_TO
[ALIGNMENT_BASE]
; Direction alignment
ALIGN_WITH_VELOCITY=0.25 ; Velocity; from 0 to 2.5, perc.; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_BASE_MODE and SCRIPT/ENABLED_IN_REPLAY
ALIGN_WITH_STEERING=0.25 ; Steering; from 0 to 2.5, perc.; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_BASE_MODE and SCRIPT/ENABLED_IN_REPLAY
ALIGN_WITH_VELOCITY_FULL_SPEED=40 ; Velocity full speed; from 0 km/h to 80; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_BASE_MODE and SCRIPT/ENABLED_IN_REPLAY; only with ALIGN_WITH_VELOCITY
ALIGN_WITH_VELOCITY_FILTER_SPEED=5 ; Velocity filtering speed; from 0% to 15; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_BASE_MODE and SCRIPT/ENABLED_IN_REPLAY; only with ALIGN_WITH_VELOCITY
ALIGN_WITH_VELOCITY_TILT_MIX=0.1 ; Velocity tilt split; from 0 to 1, perc.; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_BASE_MODE and SCRIPT/ENABLED_IN_REPLAY
ALIGN_WITH_VELOCITY_TILT_INVERSE=0 ; Velocity inverse tilt; 1 or 0; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_BASE_MODE and SCRIPT/ENABLED_IN_REPLAY
ALIGN_WITH_VELOCITY_THRESHOLD_MIN=-0.99 ;; hidden
ALIGN_WITH_VELOCITY_THRESHOLD_MAX=-0.8 ;; hidden
ALIGN_WITH_STEERING_FILTER_SPEED=6 ; Steering filtering speed; from 0% to 15; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_BASE_MODE and SCRIPT/ENABLED_IN_REPLAY; only with ALIGN_WITH_STEERING
ALIGN_WITH_STEERING_TILT_MIX=0.4 ; Steering tilt split; from 0 to 1, perc.; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_BASE_MODE and SCRIPT/ENABLED_IN_REPLAY
ALIGN_WITH_STEERING_TILT_INVERSE=0 ; Steering inverse tilt; 1 or 0; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_BASE_MODE and SCRIPT/ENABLED_IN_REPLAY
VERTICAL_AXIS_SPEED=5 ; Vertical axis filtering speed; from 0 to 15, perc.; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_BASE_MODE and SCRIPT/ENABLED_IN_REPLAY
HORIZON_LOCK=0.3 ; Horizon lock; from 0 to 1, perc.; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_BASE_MODE and SCRIPT/ENABLED_IN_REPLAY
HORIZON_LOCK_TRACK=0 ; Horizon lock to track surface (without this option, horizon lock would align camera with actual horizon); 1 or 0; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_BASE_MODE and SCRIPT/ENABLED_IN_REPLAY
G_TILT_X=0.2 ; Tilt with X G-force (defined by slow influence); from 0 to 2, perc.; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_BASE_MODE and SCRIPT/ENABLED_IN_REPLAY
G_TILT_Z=1 ; Tilt with Z G-force (defined by slow influence); from 0 to 2, perc.; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_BASE_MODE and SCRIPT/ENABLED_IN_REPLAY
TILT=0.0 ; Base head tilt; from -10° to 10
YAW=0.0 ; Base head yaw; from -10° to 10
[ALIGNMENT_VR]
; Direction alignment in VR
ALIGN_WITH_VELOCITY=0 ; Velocity; from 0 to 2.5, perc.; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_VR
ALIGN_WITH_VELOCITY_FULL_SPEED=40 ; Velocity full speed; from 0 km/h to 80; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_VR; only with ALIGN_WITH_VELOCITY
ALIGN_WITH_VELOCITY_FILTER_SPEED=5 ; Velocity filtering speed; from 0% to 15; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_VR; only with ALIGN_WITH_VELOCITY
ALIGN_WITH_VELOCITY_TILT_MIX=0 ; Velocity tilt split; from 0 to 1, perc.; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_VR
ALIGN_WITH_VELOCITY_TILT_INVERSE=0 ; Velocity inverse tilt; 1 or 0; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_VR
ALIGN_WITH_VELOCITY_THRESHOLD_MIN=-0.7 ;; hidden
ALIGN_WITH_VELOCITY_THRESHOLD_MAX=0.3 ;; hidden
ALIGN_WITH_STEERING=0 ; Steering; from 0 to 2.5, perc.; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_VR
ALIGN_WITH_STEERING_FILTER_SPEED=5 ; Steering filtering speed; from 0% to 15; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_VR; only with ALIGN_WITH_STEERING
ALIGN_WITH_STEERING_TILT_MIX=0 ; Steering tilt split; from 0 to 1, perc.; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_VR
ALIGN_WITH_STEERING_TILT_INVERSE=0 ; Steering inverse tilt; 1 or 0; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_VR
VERTICAL_AXIS_SPEED=5 ; Vertical axis filtering speed; from 0 to 15, perc.; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_VR
HORIZON_LOCK=0.3 ; Horizon lock; from 0 to 1, perc.; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_VR
HORIZON_LOCK_TRACK=0 ; Horizon lock to track surface (without this option, horizon lock would align camera with actual horizon); 1 or 0; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_VR
G_TILT_X=0.2 ; Tilt with X G-force (defined by slow influence); from 0 to 2, perc.; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_VR
G_TILT_Z=1 ; Tilt with Z G-force (defined by slow influence); from 0 to 2, perc.; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_VR
TILT=0.0 ; Base head tilt; from -10° to 10
YAW=0.0 ; Base head yaw; from -10° to 10
[LOOK]
; Look around (glance buttons and right mouse button)
FILTER_SPEED=10 ; Glance filtering speed; from 1% to 30
TOP_SPEED=400 ; Top glance speed; from 100 deg/s to 800, round to 10
FILTER_MANUAL_SPEED=20 ; Free look filtering speed (hold right mouse button and move mouse); from 1% to 30
MOUSE_SENSITIVITY=400, 200 ; Mouse sensitivity (horizontal and vertical)
XBOX_STICK=1 ; Use gamepad for looking; -1 for Disabled, 0 for Left, 1 for Right
XBOX_STICK_DEADZONE=0.03 ; Gamepad deadzone; from 0.01 to 0.99, perc.
XBOX_STICK_EXPONENT=1.8 ; Gamepad exponent (for non-linear control); from 0.2 to 5, perc.
ORIGINAL_LOOK_BACK=1 ; Hide car when looking back (also makes camera turn whole 180° to look straight back); 1 or 0
LOOK_BACK_ANGLE=130 ; Angle for looking back (to edit angle for glancing left and right, to go Settings/Assetto Corsa/View); from 60° to 150; not available with ORIGINAL_LOOK_BACK
LOOK_WITH_RHM=0 ; Look and pan with Track IR connected (for RHM); 1 or 0
[PAN]
; Pan around (middle mouse button)
FILTER_SPEED=6 ; Filtering speed; from 1% to 30
TOP_SPEED=20 ; Top speed; from 100 deg/s to 800, round to 10
FILTER_MANUAL_SPEED=20 ; Free movement filtering speed (hold left mouse button and move mouse); from 1% to 30
MOUSE_SENSITIVITY=1, 1 ; Mouse sensitivity (horizontal and vertical)
[GFORCES_BASE]
; G-forces influence
; ; section tweaks; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_BASE_MODE and SCRIPT/ENABLED_IN_REPLAY
LIMIT=0.08 ; Maximum offset; from 0 m to 0.12
FAST_MULT=0, 0, 0 ; Fast response multplier
FAST_FADE=0.98 ; Fast response fading lag; from 0 to 0.99, perc
SLOW_GAIN=0.005, 0.006, 0.02 ; Slow response gain
SLOW_SPEED=0.5, 0.5, 2 ; Slow response speed
[GFORCES_VR]
; G-forces influence in VR
; ; section tweaks; hidden with SCRIPT/ENABLED and SCRIPT/ENABLED_IN_VR
LIMIT=0.08 ; Maximum offset; from 0 m to 0.12
FAST_MULT=0, 0, 0 ; Fast response multplier
FAST_FADE=0.98 ; Fast response fading lag; from 0 to 0.99, perc
SLOW_GAIN=0, 0, 0 ; Slow response gain
SLOW_SPEED=0, 0, 0 ; Slow response speed
[EFFECTS_BASE]
; Forcefully disable visual effects
CHROMATIC_ABERRATION=0 ;; hidden
LENS_FLARE=1 ;; 1 or 0
BLUR_MULTIPLIER=1 ;; hidden
[EFFECTS_VR]
; Forcefully disable visual effects in VR
CHROMATIC_ABERRATION=0 ;; hidden
LENS_FLARE=0 ;; 1 or 0
BLUR_MULTIPLIER=1 ;; hidden
[HELMET]
; Driver helmet (only for supported driver models, not available in VR for now)
SHOW=0 ; Show driver helmet; 1 or 0
BLUR=1 ; Blur helmet; 1 or 0
[HELMET_MODEL_...]
; hidden
MODEL=driver_60
OFFSET=0, -0.075, -0.06
HIDE=DRIVER:GEO_Driver_FACE, DRIVER:HELMET_69_SUB0, DRIVER:HELMET_69_SUB1
AMBIENT_MULT=0.02
ALPHA_MIN=0.1
MESH_SPLIT=MESH_SPLIT_0
[MESH_SPLIT_0]
; hidden
MESHES = DRIVER:HELMET_69_SUB1
MODE = UV_REGIONS
UV_REFERENCE_SIZE = 1024, 512
UV_REGION_... = -4, 0, 359, 513
UV_REGION_... = 353, 297, 46, 228
UV_REGION_... = 414, 316, 65, 64
UV_REGION_... = 355, 305, 78, 96
SPLIT_POSTFIX = ___helmet_split
[HELMET_MODEL_...]
; hidden
MODEL=driver_70
OFFSET=0, -0.065, -0.06
HIDE=DRIVER:HELMET_1975_SUB2
[HELMET_MODEL_...]
; hidden
MODEL=driver_80
OFFSET=0, -0.073, -0.1
HIDE=DRIVER:HELMET_1975_SUB2
[HELMET_MODEL_...]
; hidden
MODEL=driver, driver_no_HANS, driver_ocolus, driver_back, new_driver, gt
OFFSET=0, -0.08, -0.06
[HELMET_MODEL_...]
; hidden
NODE=DRIVER:RIG_Head
MODEL=asr_driver_9x
OFFSET=0, -0.065, -0.08
HIDE=material:ASR_FACE_9X
APPLY_ALPHA_FIX=1
[HELMET_MODEL_...]
; hidden
MODEL=driver_fedora
OFFSET=0, -0.08, -0.06
HIDE=DRIVER_HELMET_plastic, DRIVER_HELMET_GLASS
[HELMET_MODEL_...]
; hidden
MODEL=crf_driver99
OFFSET=0, -0.059, -0.08
APPLY_ALPHA_FIX=1
HIDE=Geo_Visor
[HELMET_MODEL_...]
; hidden
MODEL=fcr_kopecky
OFFSET=0, -0.059, -0.0
[DEV]
; hidden
DOF_FACTOR=0
DOF_RANGE=0
DOF_FOCUS=1000