Changes

Jump to navigation Jump to search

Documentation/Engine/Random Road Events

51 bytes added, 12:24, 22 May 2018
Cutscene width
In case of RE, cutscene definition of type [[Documentation/Engine/Units/journey_events_cutscene|journey_events_cutscene]] also uses '''left_width''' and '''right_width''' attributes, which defines the length of the cutscene. This two attributes are very important as they determinate how much space is between different cutscenes, how many layer cutscenes can be places in whole RE and where traffic blocks will be placed.
To determinate left and right width rotate one has to:# Add cutscene on on the part of the road.# Rotate the cutscene in map editor so that driving direction is from right to left: <br>[[File:Engine random event cutscene widths.jpg|none|Random event cutscene left and right width]] # Once seeing cutscene as on picture, one can use the ruler tool in map editor to measure distance from cutscene origin point on each side and then use .# Use measured widths in cutscene definition.

Navigation menu