Skip to content

Commit

Permalink
[Truck file format] Added d flare type
Browse files Browse the repository at this point in the history
  • Loading branch information
CuriousMike56 committed Feb 9, 2024
1 parent e01a280 commit 68b5202
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion source/vehicle-creation/fileformat-truck.md
Original file line number Diff line number Diff line change
Expand Up @@ -2312,11 +2312,13 @@ Optional parameters:
- `t`: Tail lights, activated together with `f` option.
- `l`: Left blinker.
- `r`: Right blinker.
- `R`: Reverse light (on when driving in R gear)
- `R`: Reverse light. (on when driving in R gear)
- `d`: Dashboard indicator. (see dashboard input source)
- `u`: User controlled light. (i.e. fog light) (see control numbers)
- **Control number**: <span style="color:#BD0058">Integer</span>; <span style="color:#0B8A00">default = -1</span>
For `u` flares, enter value 1-10: `1` would be `CTRL+1`, `2` would be `CTRL+2`, and so on. For other flare types, enter -1.
- Special value: `12` - Parking brake indicator
- **Dashboard input source**: <span style="color:#BD0058">String</span> Enter an input source from the [dashboard system](/vehicle-creation/making-custom-hud/#input-sources). This enables flares to toggle based on dashboard UI status, such as engine ignition or locked state.
- **Blink delay (ms)**: <span style="color:#BD0058">Integer</span>; <span style="color:#0B8A00">default = -2</span>;
Delay between on/off change, in milliseconds. A value of 500 means that the light is 500ms on and 500ms off. Use a value of 0 to create a non-blinking light.
- Special value: `-1` to use the default value of 500ms.
Expand Down Expand Up @@ -2348,6 +2350,10 @@ flares
;example for a user controlled Fog Light (toggled by CTRL+1)
51, 1, 79, 0.23, 0.50, u, 1, 0, 0.3 myTruck/MyFogFlare
;example for dashboard indicator
51, 1, 79, 0.23, 0.50, d, engine_ignition, -1, -1 default
```

### Flares2
Expand Down

0 comments on commit 68b5202

Please sign in to comment.