Changes

Jump to navigation Jump to search

Documentation/Engine/Random Road Events

762 bytes added, 06:17, 23 May 2018
Defining cutscenes for random events
# Finally defined road events inside with linked journey cutscenes from step 3 - [[#Defining random events]].
== Defining cutscenes Cutscenes for random events == Basic element that is used on the RE is cutscene. Cutscene is exported map that can be dynamically inserted into the game. === Export ===
TODO
 
=== Definition ===
 
All of the cutscenes are defined in "'''/def/camera/cutscene.sii'''" and are used for different purposes.
 
For RE one has to define cutscene like this:
<pre>
// ----- Cutscene token
// |
// v
cutscene_data: cutscene.acc_stop_lii
{
objects_path: "/map/scenes/accident_stop_lights_in.sbd"
}
</pre>
 
Where '''objects_path''' parameter points to exported cutscene and cutscene token is last token in unit name. Cutscene token (in example: '''''acc_stop_lii''''') is the name that is later used in defining journey event cutscenes.
== Defining journey cutscenes ==

Navigation menu