From aa07fab0493f1f82f9fa841eb43b6f6231b1d385 Mon Sep 17 00:00:00 2001 From: Wanne Date: Fri, 23 Oct 2009 09:42:38 +0000 Subject: [PATCH] New EXE Release (Build: 3287) Changes ------- - Updated Cover system (by CptMorre) o made display cover system performance independant of map size. * New settings * o 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. o 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 * o gGameExternalOptions.fMovementSightAdjustment = iniReader.ReadBoolean("JA2 Tactical Settings", "MOVEMENT_SIGHT_ADJUSTMENT", TRUE); o gGameExternalOptions.fStanceSightAdjustment = iniReader.ReadBoolean("JA2 Tactical Settings", "STANCE_SIGHT_ADJUSTMENT", TRUE); o gGameExternalOptions.fLBESightAdjustment = iniReader.ReadBoolean("JA2 Tactical Settings", "LBE_SIGHT_ADJUSTMENT", TRUE); git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1202 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/Ja2_Options.INI | 21 ++++++++++----------- gamedir/Data/Ja2_Options.INI | 21 ++++++++++----------- 2 files changed, 20 insertions(+), 22 deletions(-) diff --git a/gamedir/Data-1.13/Ja2_Options.INI b/gamedir/Data-1.13/Ja2_Options.INI index cf698ed1f..2f0bb6fea 100644 --- a/gamedir/Data-1.13/Ja2_Options.INI +++ b/gamedir/Data-1.13/Ja2_Options.INI @@ -343,6 +343,16 @@ STEALTH_EFFECTIVENESS = 50 ; 100% wood camoflague will reduce the enemies vision if you are on wooden terrain. CAMOUFLAGE_EFFECTIVENESS = 50 +; How much the stance influences the view range reduction. Prone will give you 10% (default) view reduction / cover. +STANCE_EFFECTIVENESS = 10 + +; 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. +LBE_EFFECTIVENESS = 50 + +; Running around crazy will give you a penalty of up to 50% (default). +MOVEMENT_EFFECTIVENESS = 50 + ; The cover system automaticly calculates how dense an object it. ; This will tell you how much percent of vision should be decreased if the object is 100% dense, ; and the object is between you and the enemy of course, and is something like a tree or a rock (walls will always block full). @@ -354,17 +364,6 @@ TREE_COVER_EFFECTIVENESS = 50 ; The cover calculation is relativly hard on the cpu, so default are only two refreshes a second. COVER_DISPLAY_UPDATE_WAIT = 500 -; Do you want movement to affect sight ranges? If you move or the enemies move, you or they can be seen from a little further. -MOVEMENT_SIGHT_ADJUSTMENT = TRUE - -; Standing, crouching and laying down will make a difference for visibility if this is enabled. -STANCE_SIGHT_ADJUSTMENT = TRUE - -; This is currently not implemented, the initial idea was to make you more visible if you have a combat pack and even more visible if you got a back pack. -; A second weapon would also make you more visible, as well as the length of your gun. I would have approximated all info based on the weight, -; high weight stuff should automaticly be bigger and thus better visible. -LBE_SIGHT_ADJUSTMENT = FALSE - ;****************************************************************************************************************************** ; ----------------------------------------------------------------------------------------------------------------------------- diff --git a/gamedir/Data/Ja2_Options.INI b/gamedir/Data/Ja2_Options.INI index 50762163f..3160dc662 100644 --- a/gamedir/Data/Ja2_Options.INI +++ b/gamedir/Data/Ja2_Options.INI @@ -343,6 +343,16 @@ STEALTH_EFFECTIVENESS = 50 ; 100% wood camoflague will reduce the enemies vision if you are on wooden terrain. CAMOUFLAGE_EFFECTIVENESS = 50 +; How much the stance influences the view range reduction. Prone will give you 10% (default) view reduction / cover. +STANCE_EFFECTIVENESS = 10 + +; 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. +LBE_EFFECTIVENESS = 50 + +; Running around crazy will give you a penalty of up to 50% (default). +MOVEMENT_EFFECTIVENESS = 50 + ; The cover system automaticly calculates how dense an object it. ; This will tell you how much percent of vision should be decreased if the object is 100% dense, ; and the object is between you and the enemy of course, and is something like a tree or a rock (walls will always block full). @@ -354,17 +364,6 @@ TREE_COVER_EFFECTIVENESS = 50 ; The cover calculation is relativly hard on the cpu, so default are only two refreshes a second. COVER_DISPLAY_UPDATE_WAIT = 500 -; Do you want movement to affect sight ranges? If you move or the enemies move, you or they can be seen from a little further. -MOVEMENT_SIGHT_ADJUSTMENT = TRUE - -; Standing, crouching and laying down will make a difference for visibility if this is enabled. -STANCE_SIGHT_ADJUSTMENT = TRUE - -; This is currently not implemented, the initial idea was to make you more visible if you have a combat pack and even more visible if you got a back pack. -; A second weapon would also make you more visible, as well as the length of your gun. I would have approximated all info based on the weight, -; high weight stuff should automaticly be bigger and thus better visible. -LBE_SIGHT_ADJUSTMENT = FALSE - ;****************************************************************************************************************************** ; -----------------------------------------------------------------------------------------------------------------------------