Changes

Jump to navigation Jump to search

Documentation/Engine/Game data

2,630 bytes added, 13:22, 11 March 2016
Player truck definitions
# Subfolders: ('''chassis''', '''cabin''', '''interior''', '''engine''', '''transmission''', '''paint_job''', '''head_light''', '''sound''') - ''defining different parts and accessories of the truck. First 7 folders are needed because of mandatory fallback rules and sound folder is needed for truck mandatory sounds definitions.''
# Optional folder: '''accessory''' - ''defining all possible accessories for the truck that user can install in game Upgrade Shop. This folder holds another level of sub folders for separating different accessory types that player can install on the truck and will be listed in Upgrade Shop once player selects proper accessory type. Moreover names of subfolders directly correspond to the names of model locators truck 3D model has to have for ability of having that types of accessories enabled in the game.''
 
Still this configurations are not enough to have truck shown up in the game. For proper inclusion of truck in the game, truck initial configuration files have to be created for:
# Dealers inside folder: "'''/def/vehicle/truck_dealer/'''" (if truck has RHD variant also in UK dealers folder: "'''/def/vehicle/truck_dealer_uk/'''").
# Desktop preview inside folder: "'''/def/vehicle/truck_desktop/'''" (if truck has RHD variant also in UK dealers folder: "'''/def/vehicle/truck_desktop_uk/'''").
# Quick Jobs trucks inside folder (optionally): "'''/def/vehicle/truck_company/'''" (if truck has RHD variant also in UK dealers folder: "'''/def/vehicle/truck_company_uk/'''").
<div class="folder_structure">
├{{FileSystemTreeEntry|icon=FST-IconFolder|type=|name=vehicle|link=#Vehicle definitions}}
├{{FileSystemTreeEntry|icon=FST-IconFolder|type=|name=truck|mark_current=1}}
├{{FileSystemTreeEntry|icon=FST-IconFolder|type=|name=<brand.truck>}} ''Truck main configuration folder.'' ├{{FileSystemTreeEntry|icon=FST-IconFolder|type=|name=accessory}} ''Folder for defining all accessory types which can be installed on this truck.'' ├{{FileSystemTreeEntry|icon=FST-IconFolder|type=|name=beacon}} ''Folder for defining accessory of type "beacon".'' ├{{FileSystemTreeEntry|icon=FST-IconFileSii|type=|name=single_beacon.sii}} ''File defining one beacon model.'' └{{FileSystemTreeEntry|icon=FST-IconFileSii|type=|name=...}} ''More beacon models definition files.'' └{{FileSystemTreeEntry|icon=FST-IconFolder|type=|name=...}} ''Folders defining more accessory types and it's model definitions.'' ├{{FileSystemTreeEntry|icon=FST-IconFolder|type=|name=cabin}} ''Folder with SII files defining cabin mandatory truck part; one cabin per one SII file.'' ├{{FileSystemTreeEntry|icon=FST-IconFolder|type=|name=chassis}} ''Folder with SII files defining chassis mandatory truck part; one chassis per one SII file.'' ├{{FileSystemTreeEntry|icon=FST-IconFolder|type=|name=engine}} ''Folder with SII files defining engine mandatory truck part; one engine per one SII file.'' ├{{FileSystemTreeEntry|icon=FST-IconFolder|type=|name=head_light}} ''Folder with SII files defining head light mandatory truck part; one head light type per one SII file.'' ├{{FileSystemTreeEntry|icon=FST-IconFolder|type=|name=interior}} ''Folder with SII files defining interior mandatory truck part, it's animations, dashboard colors and glass data; one interior per one SII file.'' ├{{FileSystemTreeEntry|icon=FST-IconFolder|type=|name=paint_job}} ''Folder with SII files defining paint job mandatory truck part; one paint job per one SII file.'' ├{{FileSystemTreeEntry|icon=FST-IconFolder|type=|name=sound}} ''Folder with SII files defining sound mandatory truck part. There should be at least two SII files: one for interior and second for exterior sounds definition.'' ├{{FileSystemTreeEntry|icon=FST-IconFolder|type=|name=transmission}} ''Folder with SII files defining transmission mandatory truck part; one transmission per one SII file.'' └{{FileSystemTreeEntry|icon=FST-IconFileSii|type=|name=data.sii}} ''Defining truck global data: info, cameras and fallback rules.'' ├{{FileSystemTreeEntry|icon=FST-IconFolder|type=|name=<2nd_brand.truck>}} ''Folder defining second truck with the same structure folder structure as for first truck example.'' ├{{FileSystemTreeEntry|icon=FST-IconFolder|type=|name=...}} ''Folders for defining more trucks.'' ├{{FileSystemTreeEntry|icon=FST-IconFileSii|type=|name=common_sound_ext.sui}} ''.'' ├{{FileSystemTreeEntry|icon=FST-IconFileSii|type=|name=common_sound_ext_data.sui}} ''.'' ├{{FileSystemTreeEntry|icon=FST-IconFileSii|type=|name=common_sound_int.sui}} ''.'' ├{{FileSystemTreeEntry|icon=FST-IconFileSii|type=|name=common_sound_int_data.sui}} ''.'' ├{{FileSystemTreeEntry|icon=FST-IconFileSii|type=|name=<brand_truck>.sii}} ''.'' ├{{FileSystemTreeEntry|icon=FST-IconFileSii|type=|name=<2nd_brand_truck>.sii}} ''.'' └{{FileSystemTreeEntry|icon=FST-IconFileSii|type=|name=...}} ''.''
</div>

Navigation menu