Giter Site home page Giter Site logo

pilot_fatigue's Introduction

Pilot_Fatigue

Pilot Fatigue Mod for BATTLETECH Pilot Fatigue:

SUMMARY

Now after every mission your pilots that participated are now fatigued. They will generate less Resolve and also suffer from Low Spirits if they drop while Fatigued. In addition, if they drop while fatigued, they have a chance to suffer a "Light Injury." High Guts helps to lower their fatigue and resist light injuries. Morale also helps them to lower theirfatigue. Treat your MechWarriors well and they'll keep fighting until the bitter end!

CALCULATIONS

They are out for the following time (default values used):

-Time Out = 7 - Guts/2 - Morale threshold
-Morale threshold: +-1 for +-5 morale from Starting Morale Value, +-2 for +-15 from start
-1 point piloting, tactics, and gunnery lost for every 2.5 days of fatigue, rounded up.
-Chance to resist a light injury = guts * 10%

ADJUSTABLE VALUES

Values that can be changed in the mod.json:

"FatigueTimeStart" : 7, 		(How many days to start the fatigue calculation at)
"StartingMorale" : 25, 			(enter starting morale here for MoraleTier determinations)
"FatigueMinimum" : 0, 			(minimum days that a pilot will be fatigued for after a mission)
"MoralePositiveTierOne" : 5, 		(Positive difference from StartingMorale to reduce fatigue by 1 day)
"MoralePostiveTierTwo" : 15, 		(Positive difference from StartingMorale to reduce fatigue by 2 day)
"MoraleNegativeTierOne" : -5, 		(Negative difference from StartingMorale to increase fatigue by 1 day)
"MoraleNegativeTierTwo" : -15, 		(Negative difference from StartingMorale to increase fatigue by 2 day)
"FatigueFactor" : 2.5,			(For skill degradation with fatigue, how many days is used in the calculation)
"InjuriesHurt" : false, 		(makes your skills degrade one point per pilot injury)
"FatigueReducesResolve" : true,		Does Fatigue reduce Resolve?
"FatigueReducesSkills" : false,		Does Fatigue reduce Skills?
"FatigueResolveFactor" : 2.5,		Same as with the FatigueFactor but for Resolve.
"FatigueCausesLowSpirites: true,	Does dropping while Fatigued cause Low Spirits?
"LowMoraleTime" : 14,			How long does Low Spirits last if you drop while Fatigued?
"LightInjuriesOn" : false,		Allow light injuries? 
"MaximumFatigueTime" : 14,		Maximum fatigue days allowed per pilot.
"AllowNegativeResolve" : false		Is resolve per turn allowed to go negative?

INSTALLATION NOTES

  1. This Mod Conflicts with No Time To Bleed and InjuriesHurt. It will not run if you have these installed and enabled!

  2. Unzip the folder and add it to your BATTLETECH\mods folder.

  3. Make sure you hae BMTL and ModTek installed.

pilot_fatigue's People

Contributors

donzappo avatar gnivler avatar red1812 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pilot_fatigue's Issues

mod.json settings fail to load due to json parsing error

In the mod.json pilot_athletic_FatigueDaysReduction is set to 1.25. This causes a parsing error due to a type mismatch since pilot_athletic_FatigueDaysReduction is an int not a double, which results in the settings not loading and the fallback to hardcoded defaults.

This is the source of reports on nexusmods that changing settings wasn't having any effect on the mod. It's been hidden for 14 months because, as dnSpy shows, the call to the logger in the catch statement is (presumably inadvertently) missing from the released version of the dll.

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.