Stats function structure

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
Post Reply
Warplayer
New user
Posts: 5
Joined: 05 Jan 2020, 01:49

Stats function structure

Post 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)
Post Reply