Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Curious about the possible conf.ini section entries?  (Read 148 times)

0 Members and 1 Guest are viewing this topic.

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6040
Curious about the possible conf.ini section entries?
« on: March 11, 2024, 08:34:42 PM »

From a search among all my B.A.T. 4.0 classes, here are all returned coded instances of possible conf.ini entries in the [Mods] section. When a construction such as the following is present, the value contained within the bracketed part is the default value to use if the string of characters is not present:

("Mods", "NoNavLightsAI", 0)

For the above example, if the [Mods] section does not contain the exact string, NoNavLightsAI, the code uses the value of 0.

All B.A.T. 4.0 [Mods] section potential entries
Code: [Select]
Search "mods" (124 hits in 30 files)
  com\maddox\il2\ai\air\Maneuver.java (4 hits)
Line 346:         if(Config.cur.ini.get("Mods", "NoNavLightsAI", 0) == 1)
Line 348:         if(Mission.cur().sectFile().get("Mods", "NoNavLightsAI", 0) == 1)
Line 350:         if(Config.cur.ini.get("Mods", "FastLaunchAI", 0) == 1)
Line 352:         if(Mission.cur().sectFile().get("Mods", "FastLaunchAI", 0) == 1)
  com\maddox\il2\engine\hotkey\HookViewFly.java (1 hit)
Line 96:         if(Config.cur.ini.get("Mods", "bFLYBY", 1) == 0)
  com\maddox\il2\fm\AircraftState.java (2 hits)
Line 106:         iAirShowSmoke = Config.cur.ini.get("Mods", "AirShowSmoke", 0);
Line 109:         if(Config.cur.ini.get("Mods", "AirShowSmokeEnhanced", 0) > 0)
  com\maddox\il2\fm\FlightModelMain.java (3 hits)
Line 430:             if(Config.cur.ini.get("Mods", "ShowOnlineCompatibleFlightModelChanges", 0) == 1 && (CT.bHasArrestorControl != flag || CT.bHasWingControl != flag1 || CT.bHasCockpitDoorControl != flag2 || CT.bHasBayDoorControl != flag3))
Line 752:         bDebugFM = Config.cur.ini.get("Mods", "PALDebugFM", 0) == 1;
Line 1952:             logLevel = Config.cur.ini.get("Mods", "fmloglevel", 1);
  com\maddox\il2\fm\Gear.java (12 hits)
Line 173:         if(Mission.cur().sectFile().get("Mods", "CatapultAllow", 1) == 0)
Line 178:         if(Mission.cur().sectFile().get("Mods", "CatapultBoost", 1) == 1 && !Mission.isCoop())
Line 180:         if(Config.cur.ini.get("Mods", "CatapultAllowAI", 1) == 0)
Line 182:         if(Mission.cur().sectFile().get("Mods", "CatapultAllowAI", 1) == 0)
Line 184:         if(Config.cur.ini.get("Mods", "CatapultReferMissionYear", 0) == 1)
Line 186:         if(Mission.cur().sectFile().get("Mods", "CatapultReferMissionYear", 0) == 1)
Line 188:         if(Config.cur.ini.get("Mods", "StandardDeckCVL", 0) == 1)
Line 190:         if(Mission.cur().sectFile().get("Mods", "StandardDeckCVL", 0) == 1)
Line 192:         if(Config.cur.ini.get("Mods", "OldCatapultPowerCode", 1) == 0)
Line 194:         if(Config.cur.ini.get("Mods", "DebugCatapult", 0) == 1)
Line 196:         bShowChocks = Config.cur.ini.get("Mods", "PALShowChocks", 0) == 1;
Line 197:         bShowCatGear = Config.cur.ini.get("Mods", "PALShowCatGear", 0) == 1;
  com\maddox\il2\game\AircraftHotKeys.java (6 hits)
Line 166:         if(Config.cur.ini.get("Mods", "SpeedbarTAS", 0) > 0)
Line 168:         if(Config.cur.ini.get("Mods", "SeparateGearUpDown", 0) > 0)
Line 170:         if(Config.cur.ini.get("Mods", "SeparateHookUpDown", 0) > 0)
Line 172:         if(Config.cur.ini.get("Mods", "SeparateRadiatorOpenClose", 0) > 0)
Line 174:         if(Config.cur.ini.get("Mods", "ToggleMusic", 1) == 0)
Line 176:         if(Config.cur.ini.get("Mods", "Stab4all", 0) > 0)
  com\maddox\il2\game\HUD.java (24 hits)
Line 1968:         bMixedMessage = Config.cur.ini.get("Mods", "MixedSpeedbar", false);
Line 1969:         bMessageFull = Config.cur.ini.get("Mods", "FullSpeedbar", false);
Line 1970:         bShowSIToo = Config.cur.ini.get("Mods", "ShowSIToo", true);
Line 1977:         bUseColor = Config.cur.ini.get("Mods", "PALMODsColor", true);
Line 1977:         bUseColor = Config.cur.ini.get("Mods", "PALMODsColor", true);
Line 1978:         BombSightAssist = Config.cur.ini.get("Mods", "BombSightAssist", 1);
Line 1979:         BombSightAssistConf = Config.cur.ini.get("Mods", "BombSightAssistConf", 1);
Line 1980:         speedbarUnits = Config.cur.ini.get("Mods", "SpeedbarUnits", 1);
Line 1981:         speedbarSpdKMH = Config.cur.ini.get("Mods", "SpeedbarSpdKMH", 5);
Line 1982:         speedbarSpdMPH = Config.cur.ini.get("Mods", "SpeedbarSpdMPH", 5);
Line 1983:         speedbarSpdKnots = Config.cur.ini.get("Mods", "SpeedbarSpdKnots", 5);
Line 1984:         speedbarAltMeters = Config.cur.ini.get("Mods", "SpeedbarAltMeters", 5);
Line 1985:         speedbarAltFeet = Config.cur.ini.get("Mods", "SpeedbarAltFeet", 10);
Line 2008:         int i = Config.cur.ini.get("Mods", "HUDGauges", 1);
Line 2025:         sbGMode = Config.cur.ini.get("Mods", "SpeedbarGMode", 1);
Line 2026:         sbTrimSet = Config.cur.ini.get("Mods", "SpeedbarTrimSet", 0.0F);
Line 2027:         sbFlapsSet = Config.cur.ini.get("Mods", "SpeedbarFlapsSet", 0.0F);
Line 2028:         sbAoASet = Config.cur.ini.get("Mods", "SpeedbarAoASet", 0.0F);
Line 2029:         sbVSpeedSet = Config.cur.ini.get("Mods", "SpeedbarVSpeedSet", 0.0F);
Line 2030:         sbRPMSet = Config.cur.ini.get("Mods", "SpeedbarRPMSet", 0.0F);
Line 2031:         sbTempSet = Config.cur.ini.get("Mods", "SpeedbarTempSet", 0.0F);
Line 2032:         sbHPSet = Config.cur.ini.get("Mods", "SpeedbarHPSet", 0.0F);
Line 2033:         sbWeightSet = Config.cur.ini.get("Mods", "SpeedbarWeightSet", 0.0F);
Line 2034:         sbDragSet = Config.cur.ini.get("Mods", "SpeedbarDragSet", 0.0F);
  com\maddox\il2\game\Main.java (2 hits)
Line 700:                 Config.cur.ini.set("Mods", "RandomSplash", showRandomSplash ? "1" : "0");
Line 701:                 Config.cur.ini.set("Mods", "netCallsign", onlineUsernameOverride);
  com\maddox\il2\game\Main3D.java (2 hits)
Line 1600:         Main.showRandomSplash = Config.cur.ini.get("Mods", "RandomSplash", 1) == 1;
Line 1605:         Main.onlineUsernameOverride = Config.cur.ini.get("Mods", "netCallsign", "").trim();
  com\maddox\il2\gui\GUIBriefingGeneric.java (3 hits)
Line 2428:         bUseColor = Config.cur.ini.get("Mods", "PALMODsColor", true);
Line 2428:         bUseColor = Config.cur.ini.get("Mods", "PALMODsColor", true);
Line 2429:         bPALZoomInUp = Config.cur.ini.get("Mods", "PALZoomInUp", false);
  com\maddox\il2\gui\GUIQuick.java (6 hits)
Line 3209:         UseColor = Config.cur.ini.get("Mods", "PALMODsColor", true);
Line 3209:         UseColor = Config.cur.ini.get("Mods", "PALMODsColor", true);
Line 3210:         MissionsFolder = Config.cur.ini.get("Mods", "PALQMBMissions", "Missions/QuickQMBPro/");
Line 3457:         dlg[0].wPlane.listVisibleLines = Config.cur.ini.get("Mods", "PALQMBLinesPl0", ((GUIRoot)((GWindow) (gwindowroot)).root).isWide() ? 26 : 30);
Line 3459:             dlg[i].wPlane.listVisibleLines = Config.cur.ini.get("Mods", "PALQMBLinesPl" + i, 18);
Line 3461:         wMap.listVisibleLines = Config.cur.ini.get("Mods", "PALQMBLinesMap", 28);
  com\maddox\il2\objects\air\FW_190.java (1 hit)
Line 50:         if(Config.cur.ini.get("Mods", "SmokeEffect", 0) > 0)
  com\maddox\il2\objects\air\FW_190D.java (1 hit)
Line 49:         if(Config.cur.ini.get("Mods", "SmokeEffect", 0) > 0)
  com\maddox\il2\objects\air\FW_190DB603NEW.java (1 hit)
Line 49:         if(Config.cur.ini.get("Mods", "SmokeEffect", 0) > 0)
  com\maddox\il2\objects\air\FW_190DNEW.java (1 hit)
Line 50:         if(Config.cur.ini.get("Mods", "SmokeEffect", 0) > 0)
  com\maddox\il2\objects\air\FW_190Dr5.java (1 hit)
Line 49:         if(Config.cur.ini.get("Mods", "SmokeEffect", 0) > 0)
  com\maddox\il2\objects\air\FW_190F.java (1 hit)
Line 50:         if(Config.cur.ini.get("Mods", "SmokeEffect", 0) > 0)
  com\maddox\il2\objects\air\FW_190FNEW.java (1 hit)
Line 50:         if(Config.cur.ini.get("Mods", "SmokeEffect", 0) > 0)
  com\maddox\il2\objects\air\FW_190G.java (1 hit)
Line 51:         if(Config.cur.ini.get("Mods", "SmokeEffect", 0) > 0)
  com\maddox\il2\objects\air\FW_190NEW.java (1 hit)
Line 49:         if(Config.cur.ini.get("Mods", "SmokeEffect", 0) > 0)
  com\maddox\il2\objects\air\FW_190STURM.java (1 hit)
Line 49:         if(Config.cur.ini.get("Mods", "SmokeEffect", 0) > 0)
  com\maddox\il2\objects\air\FW_190V.java (1 hit)
Line 50:         if(Config.cur.ini.get("Mods", "SmokeEffect", 0) > 0)
  com\maddox\il2\objects\air\NC_900.java (1 hit)
Line 50:         if(Config.cur.ini.get("Mods", "SmokeEffect", 0) > 0)
  com\maddox\il2\objects\air\P_47ModPack.java (1 hit)
Line 183:             flightModelsConfIniValue = inifile.get("Mods", "P47PackNewFM", 0);
  com\maddox\il2\objects\air\TA_152NEW.java (1 hit)
Line 43:         if(Config.cur.ini.get("Mods", "SmokeEffect", 0) > 0)
  com\maddox\il2\objects\vehicles\stationary\CandC.java (33 hits)
Line 912:                             l = Mission.cur().sectFile().get("Mods", "WindowEffect", 0);
Line 957:                 maxrange = Mission.cur().sectFile().get("Mods", "VectorRange", 100) * 1000;
Line 965:                     if((actor instanceof Aircraft) && Mission.cur() != null && (Mission.cur().sectFile().get("Mods", "VectorVarAlt", 0) == 1 && Config.cur.ini.get("Mods", "VectorVarAlt", 0) != 1 || Mission.cur().sectFile().get("Mods", "VectorVarAlt", 0) == 1))
Line 965:                     if((actor instanceof Aircraft) && Mission.cur() != null && (Mission.cur().sectFile().get("Mods", "VectorVarAlt", 0) == 1 && Config.cur.ini.get("Mods", "VectorVarAlt", 0) != 1 || Mission.cur().sectFile().get("Mods", "VectorVarAlt", 0) == 1))
Line 965:                     if((actor instanceof Aircraft) && Mission.cur() != null && (Mission.cur().sectFile().get("Mods", "VectorVarAlt", 0) == 1 && Config.cur.ini.get("Mods", "VectorVarAlt", 0) != 1 || Mission.cur().sectFile().get("Mods", "VectorVarAlt", 0) == 1))
Line 971:                     if(Config.cur.ini.get("Mods", "VectorMode", 0) == 1 && Mission.cur().sectFile().get("Mods", "VectorMode", 0) != 1 || Mission.cur().sectFile().get("Mods", "VectorMode", 0) == 1)
Line 971:                     if(Config.cur.ini.get("Mods", "VectorMode", 0) == 1 && Mission.cur().sectFile().get("Mods", "VectorMode", 0) != 1 || Mission.cur().sectFile().get("Mods", "VectorMode", 0) == 1)
Line 971:                     if(Config.cur.ini.get("Mods", "VectorMode", 0) == 1 && Mission.cur().sectFile().get("Mods", "VectorMode", 0) != 1 || Mission.cur().sectFile().get("Mods", "VectorMode", 0) == 1)
Line 1092:             if(Time.current() < (long)(Mission.cur().sectFile().get("Mods", "StormFrontDelay", 0) * 60))
Line 1118:                 int i = Mission.cur().sectFile().get("Mods", "WorstClouds", 7);
Line 1811:             if(Time.current() < (long)(Mission.cur().sectFile().get("Mods", "SARDelay", 0) * 60))
Line 1911:             if(Time.current() < (long)(Mission.cur().sectFile().get("Mods", "RESCAPDelay", 0) * 60))
Line 2226:                 if(Mission.cur().sectFile().get("Mods", "RefuelAll", 0) != 1);
Line 2228:                 if(Config.cur.ini.get("Mods", "RefuelAlI", 0) != 1);
Line 2230:                 if(Mission.cur().sectFile().get("Mods", "RefuelPlayer", 0) != 1);
Line 2232:                 if(Config.cur.ini.get("Mods", "RefuelPlayer", 0) != 1);
Line 2349:                 maxrange = Mission.cur().sectFile().get("Mods", "RCGCIRange", 200) * 1000;
Line 3035:             int i = Mission.cur().sectFile().get("Mods", "OBOERange", 500) * 1000;
Line 3172:                     if(Mission.cur().sectFile().get("Mods", "NaxosLate", 0) != 1)
Line 3200:                 if(Mission.cur() != null && Mission.cur().sectFile().get("Mods", "NavError", 0) == 1)
Line 3417:                                     if(Mission.cur().sectFile().get("Mods", "JammerMode", 0) == 1)
Line 3715:                 maxrange = Mission.cur().sectFile().get("Mods", "GCIRange", 100);
Line 3734:             if(Mission.cur() != null && Mission.cur().sectFile().get("Mods", "GCIVarAlt", 0) == 1)
Line 4567:             int i = Mission.cur().sectFile().get("Mods", "FACDelay", 0) * 60;
Line 4680:                             if(((actor4 instanceof TypeStormovik) || (actor4 instanceof TypeFighter) || (actor4 instanceof TypeFastJet)) && !(actor4 instanceof TypeScout) && actor4.pos.getAbsPoint().distance(point3d) < 30000D && actor4.pos.getAbsPoint().distance(point3d) > 5000D && Mission.cur().sectFile().get("Mods", "FACNoGuide", 0) != 1)
Line 4855:                 bestclouds = Mission.cur().sectFile().get("Mods", "BestClouds", 0);
Line 4861:                 worstclouds = Mission.cur().sectFile().get("Mods", "WorstClouds", 7);
Line 5668:                     int i = Mission.cur().sectFile().get("Mods", "AimpointError", 300);
Line 5670:                     if(Mission.cur() != null && Mission.cur().sectFile().get("Mods", "AimpointNoMark", 0) == 1)
Line 5672:                     if(Mission.cur() != null && Mission.cur().sectFile().get("Mods", "AimpointMode", 0) != 1)
Line 6603:                 maxrange = Mission.cur().sectFile().get("Mods", "GCIRange", 100);
Line 6622:             if(Mission.cur() != null && Mission.cur().sectFile().get("Mods", "GCIVarAlt", 0) == 1)
Line 6708:             int i = Mission.cur().sectFile().get("Mods", "FACDelay", 0) * 60;

Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)
Pages: [1]   Go Up
 

Page created in 0.038 seconds with 26 queries.