GravityMatters

GravityMatters

This mod allows weapon range and jump jet range and heat to be affected by either the biome (lunar or martian only), or by the planet_size_xxxxx planet/starsystem tags. Fully compatible with, but does not depend on MechEngineer. Jump heat is calculated by the distance jumped. By default, this mod multiplies jump heat by 1/JumpOverride so that the additional jump distance from the biome/low gravity does not also generate more heat; nor does decreased jump distance (in the case of high gravity planets) generate less heat.

Currently, the following settings are customizable in the mod.json;

	"Settings": {
			"UsePlanetGravityTags": true,
			"BuffWeaponRange": true,
			"BuffAllRangeBrackets": true,
			"LetGravityAffectEnergyWeps": false,
			
			"LunarJumpOverride": 1.3,
			"MartianJumpOverride": 1.15,
			"lowgravJumpOverride": 1.2,
			"highgravJumpOverride": 0.8,
			
			"LunarWeaponOverride": 1.2,
			"MartianWeaponOverride": 1.2,
			"lowgravWeaponOverride": 1.2,
			"highgravWeaponOverride": 0.8,
			
			"JumpHeatOverrideFlag": false,
			"JumpHeatOverrideMultiplier": 0.8
			},

UsePlanetGravityTags - bool, switches whether changes to jumpjets and weapons look for biomes or planet tags.

BuffWeaponRange - bool, switches whether weapon range is affected by gravity/biome.

BuffAllRangeBrackets - bool, switches whether all weapon range brackets are affected by gravity/biome, rather than simply altering the max range.

LetGravityAffectEnergyWeps - bool, switches whether planet gravity affects the range of energy weapons. Unused if UsePlanetGravityTags: false.

LunarJumpOverride - float, multiplier for jump distance on lunar maps if UsePlanetGravityTags: false.

MartianJumpOverride - float, multiplier for jump distance on martian if UsePlanetGravityTags: false.

lowgravJumpOverride - float, multiplier for jump distance on planets with planet_size_small tag if UsePlanetGravityTags: true.

highgravJumpOverride - float, multiplier for jump distance on planets with planet_size_large tag if UsePlanetGravityTags: true.

LunarWeaponOverride - float, multiplier for weapon range on lunar maps if UsePlanetGravityTags: false.

MartianWeaponOverride - float, multiplier for weapon range on martian if UsePlanetGravityTags: false.

lowgravWeaponOverride - float, multiplier for weapon range on planets with planet_size_small tag if UsePlanetGravityTags: true.

highgravWeaponOverride - float, multiplier for weapon range on planets with planet_size_large tag if UsePlanetGravityTags: true.

JumpHeatOverrideFlag - bool, switch for whether jump heat generation is overriden and manually specified.

JumpHeatOverrideMultiplier - float, multiplier for jump heat generation. Set to 1 and set JumpHeatOverrideFlag for vanilla jump heat calculation (more distance=more heat).
GravityMatters.zip (4.5 KB)