Coder Social home page Coder Social logo

gravitymatters's Introduction

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's People

Contributors

ajkroeg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.