ModProjectiles: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
No edit summary
Line 18: Line 18:
         {
         {
           "$type": "EntityDirectLocomotorDataInfo, Game",
           "$type": "EntityDirectLocomotorDataInfo, Game",
           "speed": 0.16,  // ??
           "speed": 0.16,  // ?? affects the ending height of projectile arc.
           "accelerationFactor": 1.0,  //?
           "accelerationFactor": 1.0,  //?
           "typeId": 8
           "typeId": 8

Revision as of 17:16, 8 July 2022

Mod Projectiles Translation.csv

List of fields used in translation.csv for Projectiles

Projectiles Translation

placeholder for now - to link to translation.csv for Projectiles

Add other Projectiles specific info later

Mod Projectiles

  • note mapping of projectile name to 3D assets in global.json

JSON

 "projectiles": [
   {
     "speed": 0.01, // speed through air? effects animation?
     "damage": 10,  // damage amount dealt to enemy target
     "typeId": 201, // mod ID of projectile
     "componentInfos": [
       {
         "$type": "EntityDirectLocomotorDataInfo, Game",
         "speed": 0.16,  // ?? affects the ending height of projectile arc.
         "accelerationFactor": 1.0,  //?
         "typeId": 8
       }
     ]
   }
 ]