From eb380ec60ead23d5be47d89c36e321c6a066d42c Mon Sep 17 00:00:00 2001 From: Kamay Xutax Date: Mon, 16 Sep 2024 03:52:06 +0200 Subject: [PATCH] Balanced weapons (awp & m82a1) --- .gitignore | 3 + .../game/cstrike/scripts/weapon_awp.txt | 6 +- .../game/cstrike/scripts/weapon_m82a1.txt | 21 +- .../platform/config/ingamedialogconfig.vdf | 229 ------------------ 4 files changed, 16 insertions(+), 243 deletions(-) delete mode 100755 css_enhanced/game/platform/config/ingamedialogconfig.vdf diff --git a/.gitignore b/.gitignore index 4d5dd511d..ff0e77f62 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,6 @@ css_enhanced/game/cstrike/stats.txt css_enhanced/game/cstrike/cfg/buypresets_ct.vdf css_enhanced/game/cstrike/cfg/buypresets_ter.vdf css_enhanced/game/platform/config/serverbrowser.vdf +css_enhanced/game/css_enhanced +css_enhanced/game/cstrike/voice_ban.dt +css_enhanced/game/platform/config/ingamedialogconfig.vdf diff --git a/css_enhanced/game/cstrike/scripts/weapon_awp.txt b/css_enhanced/game/cstrike/scripts/weapon_awp.txt index 805594b8e..d2079790d 100644 --- a/css_enhanced/game/cstrike/scripts/weapon_awp.txt +++ b/css_enhanced/game/cstrike/scripts/weapon_awp.txt @@ -28,7 +28,7 @@ WeaponData "IdleInterval" "60" // New accuracy model parameters - "Spread" 0.00020 + "Spread" 0.00010 "InaccuracyCrouch" 0.06060 "InaccuracyStand" 0.08080 "InaccuracyJump" 0.54600 @@ -37,7 +37,7 @@ WeaponData "InaccuracyFire" 0.14000 "InaccuracyMove" 0.27300 - "SpreadAlt" 0.00020 + "SpreadAlt" 0.00010 "InaccuracyCrouchAlt" 0.00150 "InaccuracyStandAlt" 0.00200 "InaccuracyJumpAlt" 0.54600 @@ -115,4 +115,4 @@ WeaponData Maxs "38 9 15" } } -} \ No newline at end of file +} diff --git a/css_enhanced/game/cstrike/scripts/weapon_m82a1.txt b/css_enhanced/game/cstrike/scripts/weapon_m82a1.txt index 851515baf..0ef7741be 100755 --- a/css_enhanced/game/cstrike/scripts/weapon_m82a1.txt +++ b/css_enhanced/game/cstrike/scripts/weapon_m82a1.txt @@ -2,7 +2,6 @@ WeaponData { "MaxPlayerSpeed" "190" "WeaponType" "SniperRifle" - "FullAuto" 0 "WeaponPrice" "10000" "WeaponArmorRatio" "3" "CrosshairMinDistance" "12" @@ -29,27 +28,27 @@ WeaponData "IdleInterval" "60" // New accuracy model parameters - "Spread" 0.00030 - "InaccuracyCrouch" 0.0 - "InaccuracyStand" 0.0 + "Spread" 0.00020 + "InaccuracyCrouch" 0.06060 + "InaccuracyStand" 0.08080 "InaccuracyJump" 0.54600 "InaccuracyLand" 0.05460 "InaccuracyLadder" 0.13650 "InaccuracyFire" 0.14000 "InaccuracyMove" 0.27300 - "SpreadAlt" 0.00030 - "InaccuracyCrouchAlt" 0.0 - "InaccuracyStandAlt" 0.0 + "SpreadAlt" 0.00020 + "InaccuracyCrouchAlt" 0.00150 + "InaccuracyStandAlt" 0.00200 "InaccuracyJumpAlt" 0.54600 "InaccuracyLandAlt" 0.05460 "InaccuracyLadderAlt" 0.13650 "InaccuracyFireAlt" 0.14000 "InaccuracyMoveAlt" 0.27300 - "RecoveryTimeCrouch" 0.3 - "RecoveryTimeStand" 0.4 - + "RecoveryTimeCrouch" 0.24671 + "RecoveryTimeStand" 0.34539 + // Weapon data is loaded by both the Game and Client DLLs. "printname" "#Cstrike_WPNHUD_M82A1" "viewmodel" "models/weapons/v_snip_m82a1.mdl" @@ -116,4 +115,4 @@ WeaponData Maxs "38 9 15" } } -} \ No newline at end of file +} diff --git a/css_enhanced/game/platform/config/ingamedialogconfig.vdf b/css_enhanced/game/platform/config/ingamedialogconfig.vdf deleted file mode 100755 index 088ad1ae1..000000000 --- a/css_enhanced/game/platform/config/ingamedialogconfig.vdf +++ /dev/null @@ -1,229 +0,0 @@ -"UserConfigData" -{ - "Servers" - { - "DialogServerBrowser.res" - { - "GameTabs" - { - "CustomGames" - { - "gamelist" - { - "configVersion" "2" - "lastBarWidth" "605" - "0_hidden" "0" - "0_width" "16" - "1_hidden" "0" - "1_width" "16" - "2_hidden" "0" - "2_width" "0" - "3_hidden" "0" - "3_width" "182" - "4_hidden" "1" - "4_width" "64" - "5_hidden" "0" - "5_width" "112" - "6_hidden" "0" - "6_width" "55" - "7_hidden" "0" - "7_width" "40" - "8_hidden" "0" - "8_width" "90" - "9_hidden" "0" - "9_width" "55" - "10_hidden" "0" - "10_width" "40" - } - } - "FavoriteGames" - { - "gamelist" - { - "configVersion" "2" - "lastBarWidth" "605" - "0_hidden" "0" - "0_width" "16" - "1_hidden" "0" - "1_width" "16" - "2_hidden" "0" - "2_width" "0" - "3_hidden" "0" - "3_width" "221" - "4_hidden" "1" - "4_width" "64" - "5_hidden" "0" - "5_width" "112" - "6_hidden" "0" - "6_width" "55" - "7_hidden" "0" - "7_width" "40" - "8_hidden" "0" - "8_width" "90" - "9_hidden" "0" - "9_width" "55" - } - } - "HistoryGames" - { - "gamelist" - { - "configVersion" "2" - "lastBarWidth" "605" - "0_hidden" "0" - "0_width" "16" - "1_hidden" "0" - "1_width" "16" - "2_hidden" "0" - "2_width" "0" - "3_hidden" "0" - "3_width" "105" - "4_hidden" "1" - "4_width" "64" - "5_hidden" "0" - "5_width" "112" - "6_hidden" "0" - "6_width" "55" - "7_hidden" "0" - "7_width" "40" - "8_hidden" "0" - "8_width" "90" - "9_hidden" "0" - "9_width" "55" - "10_hidden" "0" - "10_width" "117" - } - } - "SpectateGames" - { - "gamelist" - { - "configVersion" "2" - "lastBarWidth" "0" - "0_hidden" "0" - "0_width" "16" - "1_hidden" "0" - "1_width" "16" - "2_hidden" "0" - "2_width" "0" - "3_hidden" "0" - "3_width" "50" - "4_hidden" "1" - "4_width" "64" - "5_hidden" "0" - "5_width" "112" - "6_hidden" "0" - "6_width" "55" - "7_hidden" "0" - "7_width" "40" - "8_hidden" "0" - "8_width" "90" - "9_hidden" "0" - "9_width" "55" - } - } - "LanGames" - { - "gamelist" - { - "configVersion" "2" - "lastBarWidth" "0" - "0_hidden" "0" - "0_width" "16" - "1_hidden" "0" - "1_width" "16" - "2_hidden" "0" - "2_width" "0" - "3_hidden" "0" - "3_width" "50" - "4_hidden" "1" - "4_width" "64" - "5_hidden" "0" - "5_width" "112" - "6_hidden" "0" - "6_width" "55" - "7_hidden" "0" - "7_width" "40" - "8_hidden" "0" - "8_width" "90" - "9_hidden" "0" - "9_width" "55" - } - } - "FriendsGames" - { - "gamelist" - { - "configVersion" "2" - "lastBarWidth" "605" - "0_hidden" "0" - "0_width" "16" - "1_hidden" "0" - "1_width" "16" - "2_hidden" "0" - "2_width" "0" - "3_hidden" "0" - "3_width" "221" - "4_hidden" "1" - "4_width" "64" - "5_hidden" "0" - "5_width" "112" - "6_hidden" "0" - "6_width" "55" - "7_hidden" "0" - "7_width" "40" - "8_hidden" "0" - "8_width" "90" - "9_hidden" "0" - "9_width" "55" - } - } - "BlacklistedGames" - { - "gamelist" - { - "lastBarWidth" "0" - "0_hidden" "0" - "0_width" "50" - "1_hidden" "1" - "1_width" "64" - "2_hidden" "0" - "2_width" "100" - } - } - "InternetGames" - { - "gamelist" - { - "configVersion" "2" - "lastBarWidth" "605" - "0_hidden" "0" - "0_width" "16" - "1_hidden" "0" - "1_width" "16" - "2_hidden" "0" - "2_width" "0" - "3_hidden" "0" - "3_width" "96" - "4_hidden" "1" - "4_width" "64" - "5_hidden" "0" - "5_width" "112" - "6_hidden" "0" - "6_width" "80" - "7_hidden" "0" - "7_width" "60" - "8_hidden" "0" - "8_width" "90" - "9_hidden" "0" - "9_width" "136" - } - } - } - "xpos" "0" - "ypos" "0" - "wide" "640" - "tall" "384" - } - } -}