BattleTech

File information

Last updated

Original upload

Created by

BTN

Uploaded by

BTNomad

Virus scan

Safe to use

Tags for this mod

13 comments

  1. MenastheLock
    MenastheLock
    • member
    • 0 kudos
    I can't seem to get the simplepanic to turn off.  Settings is
    {
        "BetterLog": {
    "Level": "Log"
        },
    "CombatController" : {
    "EnableSimplePanicSystem" : false
        }
    }
    The line doesn't get added to settings.last, and there is nothing about panic in settings.defaults 
    The main problem is it seems to do the panic rolls during enemy turns, meaning no credit is given to my pilots using the moreisless xp mod. There also seems to be multiple rolls per turn. I have enemies take their turn, then eject after another enemy takes its turn.
    1. dgiovan
      dgiovan
      • member
      • 0 kudos
      Did you ever figure this out? I'm having the same problem with setting RunAndGun (or however the property is called) off. Basically just copied over the default file so no chance of bad json structure and changed that to false. But still have Charges in game. Almost like the mod just ignores settings.json and uses the default one.
    2. BTNomad
      BTNomad
      • member
      • 2 kudos
      I've been traveling for sometime. Lets connect and take a look. 
    3. BTNomad
      BTNomad
      • member
      • 2 kudos
      public static class AbstractActor_get_CanShootAfterSprinting  {
      public static bool Prepare() => CombatControllerFeature.settings.RunAndGun; <--- This is set to false then the patch will not load. 
      public static void Postfix(ref bool __result)
      {__result = CombatControllerFeature.InInterleaved;}}
    4. BTNomad
      BTNomad
      • member
      • 2 kudos
      public static bool Prepare() => settings.EnableSimplePanicSystem;

      Make sure you are editing the settings.json and not defaults or last. 

      Combat is fluid, it's calculated CheckPilotStatusFromAttack. Maybe they got some friendly fire? I'm willing to work on the Simple system as it was just a quick design because I didn't like how heavy (Processing) the other panic system was. 
  2. GryphuS89
    GryphuS89
    • member
    • 0 kudos
    someone knows if there is any way to deactivate the simple panic system that the mod includes?, it's quite annoying and doesn't work well if you use the full panic system mod as both mods work at the same time, try to modify setting file but there is no option about panic system...
    1. BTNomad
      BTNomad
      • member
      • 2 kudos
      Check the settings.defaults, and then add the override to your settings file. 
      {
           "CombatController" : {
        "EnableSimplePanicSystem" : false
           }
      }
    2. GryphuS89
      GryphuS89
      • member
      • 0 kudos
      There are two files called settings.default and settings.last, these cannot be edited but there is a third setting that can and it only has one line of code about debug so I suppose that is where I should place the lines of code that you mention..
    3. BTNomad
      BTNomad
      • member
      • 2 kudos
      Yep, 

      Settings.default is a list of all the settings. 
      settings.last is the full list of the settings from your last play. 
      settings.json is the editable file, just add in what you want to override. 
      You can check your syntax with a website called pretty json. 
    4. GryphuS89
      GryphuS89
      • member
      • 0 kudos
      ok, and it works thank you very much :)
  3. Mummelpuffin
    Mummelpuffin
    • supporter
    • 2 kudos
    FYI when I enable this I can't actually load up missions. Everything's fine until I try to deploy, the screen rapidly flashes and a message at the side just displays 150 CHARACTER LIMIT and a bunch of Xs. 

    That  was with nothing but this mod loaded. Others have been working fine.
    1. BTNomad
      BTNomad
      • member
      • 2 kudos
      I’m in the middle of a move but I’ll check on this. I had this issue once before so I’m pretty sure I know the issue. 
    2. BTNomad
      BTNomad
      • member
      • 2 kudos
      Hey so I tracked this down. it's fixed in the new version. I completely forgot about it.