ModUnits: Difference between revisions

From The Colonists
Jump to navigation Jump to search
guide for mapping bot material sub-sections
Line 39: Line 39:
Each sub-section is further divided into 16 32x32 squares representing the colour for parts of the bots' materials.<br>
Each sub-section is further divided into 16 32x32 squares representing the colour for parts of the bots' materials.<br>
Example File: <br>
Example File: <br>
[[File:Bot_material_main.png|512px|Bot_material_main.png]]
[[File:Bot_material_main.png|512px|Bot_material_main.png]]<br>
Sub-section mapping: <br>
[[File:BotMaterial_16_sections_labels_numbered.png|128px|Bot_material_main-label-mapping]]<br>
::# -
::# -
::# -
::# -
::# -
::# -
::# - Apron (BakerBot)
::# -
::# -
::# - Cap (ForesterBot)
::# -
::# -
::# - Unused
::# - Unused
::# - Unused
::# - Main Colony Colour
 
<br>
<br>
<br>
<br>

Revision as of 21:07, 21 December 2022

Mod Units Translation.csv

List of fields used in translation.csv for Units

Units Translation


Mod Units/Bots

JSON

{
  "units": [
    {
      "pickUpTime": 0.5,
      "dropOffTime": 0.5,
      "utilityDropOff2Time": 0.7,
      "utilityDropOff1Time": 0.5,
      "utilityDropOff0Time": 0.3,
      "blockedCheckInterval": 5.0,
      "typeId": 0, // unit-bot ID
      "componentInfos": [
        {
          "$type": "EntityLocomotorDataInfo, Game",
          "maxSpeed": 0.05,
          "accelerationFactor": 1.0, //??
          "typeId": 6 // = unit-bit
        }
      ]
    },
}

Existing Unit values

Icon

None

3D Models

None (tbd)

Bot Materials

The material of bots can be changed using an image file, bot_material_main.png in a mod.
The file should be 512 x 512 pixels and consist of 16 128 x 128 subsections, 8 of which are used for each colour of the Colony Ship possibilities.
Each sub-section is further divided into 16 32x32 squares representing the colour for parts of the bots' materials.
Example File:
Bot_material_main.png
Sub-section mapping:
Bot_material_main-label-mapping

  1. -
  2. -
  3. -
  4. -
  5. -
  6. -
  7. - Apron (BakerBot)
  8. -
  9. -
  10. - Cap (ForesterBot)
  11. -
  12. -
  13. - Unused
  14. - Unused
  15. - Unused
  16. - Main Colony Colour



bot_material_ramp.png should be a 128 x 128 file representing ?? shading? TBD.
TBD - material and ramp file.
Bot_material_ramp.png