Changes

Jump to navigation Jump to search

Documentation/Engine/Game data

902 bytes added, 14:15, 7 March 2016
Definitions
=== Camera definitions ===
Camera definitions directory folder ("'''/def/camera'''") is using "'''camera_storage(.infix).sii'''" files as storage files defining cameras that can be used by player while in game (UI interface is not handled by cameras, as UI is drawn directly on screen 2D plane). Note that this defines only storage for available in game cameras, but which camera is used in the game depends on currently user selected view and current used player vehicle.
Beside storage files camera definitions folder also includes "'''cutscene.sii'''" file which defines camera and it's movement in different cut-scenes.
=== Cargo definitions ===
Unique cargo is defined by Sii file and directory folder with one or more Sii files defining trailers which can carry this cargo. So for each cargo you have one Sii file inside "'''/def/cargo/'''" and one or multiple Sii files inside folder "'''/def/cargo/<cargo_name>/'''". Example definition for cargo: "'''<cargo_name>'''" is shown in the tree below.
<div class="folder_structure">
├{{FileSystemTreeEntry|icon=FST-IconFileSii|type=|name=<cargo_name>.sii}} ''Defining one cargo data.''
└{{FileSystemTreeEntry|icon=FST-IconFileSii|type=|name=...}} ''Rest of unique cargo definitions.''
</div>
 
=== Climate definitions ===
 
Each climate is defined in it's own folder "'''/def/climate/<climate_name>/'''" and usually have at least 2 profile Sii files: one for nice weather "'''nice.sii'''" and second for bad weather "'''bad.sii'''".
 
There should be at least two climates:
 
<div class="folder_structure">
 
{{FileSystemTreeEntry|icon=FST-IconRoot|type=|name=Root game folder|link=#Root game folder}}
├{{FileSystemTreeEntry|icon=FST-IconFolder|type=|name=def|link=#Definitions}}
├{{FileSystemTreeEntry|icon=FST-IconFolder|type=|name=climate}}
├{{FileSystemTreeEntry|icon=FST-IconFolder|type=|name=reference}} ''Reference climate.''
├{{FileSystemTreeEntry|icon=FST-IconFileSii|type=|name=bad.sii}}
└{{FileSystemTreeEntry|icon=FST-IconFileSii|type=|name=nice.sii}}
└{{FileSystemTreeEntry|icon=FST-IconFolder|type=|name=...}} ''Rest of climates.''
</div>

Navigation menu