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=
<pre>
   "projectiles": [
   "projectiles": [
     {
     {
Line 25: Line 26:
     }
     }
   ]
   ]
</pre>

Revision as of 15:40, 30 November 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
        }
      ]
    }
  ]