Page 1 of 1

Stats function structure

Posted: 19 Mar 2023, 23:19
by Warplayer
Hello Everyone!

I'm developing a mod which gives a new type of different balance of the weapons and the oficial research tree structure.
But, there are some "functions" on the .json files inside "stats" folder that I can't find out what characteristic that function will change in game.

For example:

Weapon: {
buildPoints: ###,
buildPower: ###,
damage: ###,
designable: ###,
effectSize: ###,
explosionWav: "###.ogg",
facePlayer: ###,
firePause: ###,
flightGfx: "###.PIE",
flightSpeed: ###,
hitGfx: "###.PIE",
hitpoints: ###,
id: "###",
lightWorld: ###,
longRange: ###,
longHit: ###,
maxElevation: ###,
minElevation: ###,
minRange: ###,
minimumDamage: ###,
missGfx: "###.PIE",
model: "###.PIE",
mountModel: "###.PIE",
movement: "###",
muzzleGfx: "###.PIE",
name: "###",
numAttackRuns: ###,
numExplosions: ###,
numRounds: ###,
radius: ###,
radiusDamage: ###,
radiusLife: ###,
reloadTime: ###,
rotate: ###,
shortHit: ###,
shortRange: ###,
waterGfx: "###.PIE",
weaponClass: "###",
weaponEffect: "###",
weaponSubClass: "###",
weaponWav: "###.ogg",
weight: ###
},

What those proprieties may change in the weapon? What is "RadiusLife"? What is the calculus used in "reloadTime"?
GitHub give this structure but without comment about what those things may change, it will be difficult to make new types of fun balances.

Is there a documentation that explain each of those proprieties? This includes the other files (research.json, weapons.json, structure.json etc)