Changes

Jump to navigation Jump to search

Documentation/Engine/Units/journey events road event

827 bytes added, 14:34, 18 May 2018
no edit summary
|layer_cutscenes
|array<link_ptr>
|NULL
|Array of layer cutscenes (cutscenes placed between start and end cutscenes).
|-
|mirror_cutscenes
|array<link_ptr>
|NULL
|Array of layer cutscenes for mirror event. Check '''mirror_active''' attributes for more info.
|-
|layer_min_curve
|array<float>
|NULL
|Minimal allowed curvature of the road for layer cutscenes (in degress). It has to be defined for each item of '''layer_cutscenes''' array.
|-
|layer_max_curve
|array<float>
|NULL
|Maximal allowed curvature of the road for layer cutscenes (in degress). It has to be defined for each item of '''layer_cutscenes''' array.
|-
|min_length
|float
|<nowiki>-1.0</nowiki>
|Minimal length of whole random event (in meters).
|-
|min_shoulder_space
|float
|<nowiki>-1.0</nowiki>
|Minimal shoulder space of the road (in meters). Compared with road look shoulder_space_left/shoulder_space_right attributes.
|-
|100.0
|Maximal shoulder space of the road (in meters). Compared with road look shoulder_space_left/shoulder_space_right attributes.
|-
|traffic_block
|bool
|false
|Is necessary to block the most outer lane?
|-
|weight
|float
|1.0
|Weight of the generation probability of this road event.
|-
|countries
|array<token>
|
|Array of tokens of allowed countries for this road event, empty array for no limitation. Uses full name like eg. 'france'.
|-
|excluded_countries
|array<token>
|
|Array of tokens of excluded countries for this road event.
|-
|min_time_constraint
|unsigned
|0
|Minimal allowed time for this road event generation (in game minutes in day).
|-
|max_time_constraint
|unsigned
|24 * 60
|Maximal allowed time for this road event generation (in game minutes in day).
|-
|min_duration
|unsigned
|0
|Minimal accident duration, accident will be active for this time at least, even if the road has been released (in game minutes).
|}

Navigation menu