Changes

Jump to navigation Jump to search

Documentation/Engine/Random Road Events

No change in size, 11:13, 23 May 2018
Curvature
=== Curvature ===
[[File:Engine random event curvature.jpg|thumbframe|600px|In the example we can see layer consisting of two barrier cutscenes and direction vector of their placements (blue arrows). Curvature is then computed as angle between these vectors.]]As roads are usually not straight it's essential that RE can be spawned on curved roads also. This is driven by '''layer_min_curve''' and '''layer_max_curve''' attributes which have to be defined for all layer cutscenes (number of elements in this arrays has to be the same). These numbers determine the minimal and maximal allowed curvature between each adjacent cutscene within one layer.
=== Signage ===
TODO

Navigation menu