Changes

Jump to navigation Jump to search

Documentation/Engine/Random Road Events

719 bytes added, 08:24, 22 May 2018
no edit summary
All RE are stored in "'''/def/world/journey_road_event.sii'''" as list of [[Documentation/Engine/Units/journey_events_road_event|'''journey_events_road_event''']] units.
Example RE '''journey_road_event.sii''' file definition:
<pre>
SiiNunit
{
# For modders: Please do not modify this file if you want to add a new entry. Create in
# this directory a new file "<base_name>.<idofyourmod>.sii" where <base_name> is name of
# base file without the extension (e.g. "city" for "/def/city.sii") and <idofyourmod> is
# some string which is unlikely to conflict with other mod.
#
# Warning: Even if the units are specified in more than one source file, they share the
# same namespace so suffixes or prefixes should be used to avoid conflicts.
 
journey_events_road_event : j_re.acc_uni_p
{
signs_distances_outer[]: 50
 
layer_min_curve[]: 0.0
layer_max_curve[]: 15.0
max_length: 55.0
min_length: 55.0
}
journey_events_road_event : j_re.acc_plane
{
name: "Accident country specific plane (1)"
}
}
</pre>

Navigation menu