ModBoats: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
componentInfos / BoatLocomotorDataInfo - maximum boat speed and acceleration <br>
componentInfos / BoatLocomotorDataInfo - maximum boat speed and acceleration <br>


=3D assets=
===Icon===
[[ModsUnityAssetBundles]]
 
image file naming convention: ''boat_200.png''<br>
image file should be 128x128 pixel size with transparent background<br>
Example file: [[File:Clipper_1.png|64px|Clipper]]  
 
===3D Models===
 
[https://github.com/codebyfire/mod-content-creator Github3DModels]<br>
For boat selection. a collider should be appropriately sized and located on the prefab and placed on layer 9. To allow selection of resources on the boat, the collider should avoid overlapping the resource storage location(s).<br>

Revision as of 16:43, 18 January 2022

Mod BoatsTranslation.csv

List of fields used in translation.csv for Boats
Boats Translation

Mod boats.json

JSON
typeId - The mod ID for the boat
buildCosts - The resource requirements for building the boat
requirements - The tech requirements for building the boat
buildTime - Time to construct the boat
breadth - Width of the boat
length- Length of the boat
defaultMaximumDockedLength - Maximum time the boat will sty docked even if more resources loading
validExpeditionBuildingHash - Expedition the boat can load and build
componentInfos / EntityStorageDataInfo - storage location(s)
componentInfos / BoatLocomotorDataInfo - maximum boat speed and acceleration

Icon

image file naming convention: boat_200.png
image file should be 128x128 pixel size with transparent background
Example file: Clipper

3D Models

Github3DModels
For boat selection. a collider should be appropriately sized and located on the prefab and placed on layer 9. To allow selection of resources on the boat, the collider should avoid overlapping the resource storage location(s).