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.
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.
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;}}
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.
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...
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..
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.
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.
13 comments
{
"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.
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;}}
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.
{
"CombatController" : {
"EnableSimplePanicSystem" : false
}
}
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.
That was with nothing but this mod loaded. Others have been working fine.