- Updated cover system (by CptMoore)

o New settings:

* New settings *

gGameExternalOptions.ubStanceEffectiveness = iniReader.ReadInteger("JA2 Tactical Settings", "STANCE_EFFECTIVENESS", 10, 0, 100);
How much the stance influences the view range reduction. Prone will give you 10% (default) view reduction / cover.

gGameExternalOptions.ubLBEEffectiveness = iniReader.ReadInteger("JA2 Tactical Settings", "LBE_EFFECTIVENESS", 50, 0, 100);
Dual welding the longest sniper rifles with full attachements, having a third backup sniper rifle, one combat pack and one backpack will give a 50% (default) sight penalty with the default settings.

* Removed settings *

gGameExternalOptions.fMovementSightAdjustment = iniReader.ReadBoolean("JA2 Tactical Settings", "MOVEMENT_SIGHT_ADJUSTMENT", TRUE);
gGameExternalOptions.fStanceSightAdjustment = iniReader.ReadBoolean("JA2 Tactical Settings", "STANCE_SIGHT_ADJUSTMENT", TRUE);
gGameExternalOptions.fLBESightAdjustment = iniReader.ReadBoolean("JA2 Tactical Settings", "LBE_SIGHT_ADJUSTMENT", TRUE); 



git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@3284 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2009-10-23 07:42:17 +00:00
parent 1e036ea548
commit a94cfc2492
3 changed files with 51 additions and 37 deletions
+3 -4
View File
@@ -512,12 +512,11 @@ BOOLEAN gbBulletTracer;
UINT8 ubStealthEffectiveness;
UINT8 ubTreeCoverEffectiveness;
UINT8 ubCamouflageEffectiveness;
UINT8 ubStanceEffectiveness;
UINT8 ubLBEEffectiveness;
UINT8 ubMovementEffectiveness;
UINT8 ubCoverDisplayUpdateWait;
BOOLEAN fMovementSightAdjustment;
BOOLEAN fStanceSightAdjustment;
BOOLEAN fLBESightAdjustment;
// HEADROCK HAM B1: Global modifier for mine income (0 is automatically turned to 1 to avoid divide-by-zero.)
INT16 iMineIncomePercentage;