ModProjectiles: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
* note mapping of projectile name to 3D assets in [[Global.json|global.json]]
* note mapping of projectile name to 3D assets in [[Global.json|global.json]]
=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,  // ??
          "accelerationFactor": 1.0,  //?
          "typeId": 8
        }
      ]
    }
  ]

Revision as of 21:18, 18 January 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,  // ??
         "accelerationFactor": 1.0,  //?
         "typeId": 8
       }
     ]
   }
 ]