03.09.2009, 19:02
Sorry, no fancy checksum stuff. Simple bitmask. This code snippet might help.....
{ Difficulty flags in IL2 Settings.ini }
bAllOff = $1000000;
bAllOn = $1FFFFFF;
bSeparateEngineStart = $0080000;
bComplexEngineManagement = $0800000;
bEngineOverheat = $0000010;
bTorqueAndGyroEffects = $0000020;
bFlutterEffect = $0000002;
bWindAndTurbulence = $0000001;
bStallsAndSpins = $0000004;
bVulnerability = $0008000;
bBlackoutsAndRedouts = $0000008;
bRealisticGunnery = $0001000;
bLimitedAmmo = $0002000;
bLimitedFuel = $0004000;
bCockpitAlwaysOn = $0000100;
bNoExternalViews = $0000200;
bHeadShake = $0000400;
bNoIcons = $0000800;
bNoPadlock = $0010000;
bClouds = $0020000;
bNoInstantSuccess = $0100000;
bTakeOffAndLanding = $0000080;
bRealisticLandings = $0000040;
bNoMapIcons = $0040000;
bNoMinimapPath = $0200000;
bNoSpeedbar = $0400000;
bEasy = bAllOff +
bVulnerability +
bClouds;
bNormal = bAllOff +
bComplexEngineManagement +
bEngineOverheat +
bTorqueAndGyroEffects +
bFlutterEffect +
bWindAndTurbulence +
bStallsAndSpins +
bVulnerability +
bBlackoutsAndRedouts +
bRealisticGunnery +
bLimitedAmmo +
bLimitedFuel +
bHeadShake +
bNoIcons +
bClouds +
bNoInstantSuccess +
bTakeOffAndLanding +
bRealisticLandings +
bNoMapIcons;
bRealistic = bAllOn;
{ Difficulty flags in IL2 Settings.ini }
bAllOff = $1000000;
bAllOn = $1FFFFFF;
bSeparateEngineStart = $0080000;
bComplexEngineManagement = $0800000;
bEngineOverheat = $0000010;
bTorqueAndGyroEffects = $0000020;
bFlutterEffect = $0000002;
bWindAndTurbulence = $0000001;
bStallsAndSpins = $0000004;
bVulnerability = $0008000;
bBlackoutsAndRedouts = $0000008;
bRealisticGunnery = $0001000;
bLimitedAmmo = $0002000;
bLimitedFuel = $0004000;
bCockpitAlwaysOn = $0000100;
bNoExternalViews = $0000200;
bHeadShake = $0000400;
bNoIcons = $0000800;
bNoPadlock = $0010000;
bClouds = $0020000;
bNoInstantSuccess = $0100000;
bTakeOffAndLanding = $0000080;
bRealisticLandings = $0000040;
bNoMapIcons = $0040000;
bNoMinimapPath = $0200000;
bNoSpeedbar = $0400000;
bEasy = bAllOff +
bVulnerability +
bClouds;
bNormal = bAllOff +
bComplexEngineManagement +
bEngineOverheat +
bTorqueAndGyroEffects +
bFlutterEffect +
bWindAndTurbulence +
bStallsAndSpins +
bVulnerability +
bBlackoutsAndRedouts +
bRealisticGunnery +
bLimitedAmmo +
bLimitedFuel +
bHeadShake +
bNoIcons +
bClouds +
bNoInstantSuccess +
bTakeOffAndLanding +
bRealisticLandings +
bNoMapIcons;
bRealistic = bAllOn;