From da99e86747aa78063a321a4127c5317f77e0df96 Mon Sep 17 00:00:00 2001 From: commy2 Date: Fri, 25 Aug 2023 16:01:32 +0200 Subject: [PATCH] Fix: Burton Knife Attack animation skip exploit (#2287) --- .../Changes/v1.0/2287_burton_insta_stab.yaml | 19 +++++++++++++++++++ .../GameFilesEdited/Data/INI/Weapon.ini | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 Patch104pZH/Design/Changes/v1.0/2287_burton_insta_stab.yaml diff --git a/Patch104pZH/Design/Changes/v1.0/2287_burton_insta_stab.yaml b/Patch104pZH/Design/Changes/v1.0/2287_burton_insta_stab.yaml new file mode 100644 index 000000000..dc6187542 --- /dev/null +++ b/Patch104pZH/Design/Changes/v1.0/2287_burton_insta_stab.yaml @@ -0,0 +1,19 @@ +--- +date: 2023-08-25 + +title: Fix USA Colonel Burton instant Knife Attack exploit + +changes: + - fix: Fixes an exploit that allows USA Colonel Burton to skip the animation before the Knife Attack. + +labels: + - bug + - minor + - usa + - v1.0 + +links: + - https://github.com/TheSuperHackers/GeneralsGamePatch/pull/2287 + +authors: + - commy2 diff --git a/Patch104pZH/GameFilesEdited/Data/INI/Weapon.ini b/Patch104pZH/GameFilesEdited/Data/INI/Weapon.ini index 90f303fa3..020a40012 100644 --- a/Patch104pZH/GameFilesEdited/Data/INI/Weapon.ini +++ b/Patch104pZH/GameFilesEdited/Data/INI/Weapon.ini @@ -996,7 +996,7 @@ Weapon ColonelBurtonKnifeWeapon ClipSize = 1 ; how many shots in a Clip (0 == infinite) ClipReloadTime = 1367 ; how long to reload a Clip, msec PreAttackDelay = 833 ; 833 is natural time of the stabbing animation. - PreAttackType = PER_ATTACK ; Do the delay each time we attack a new target + PreAttackType = PER_CLIP ; Patch104p @bugfix commy2 24/08/2023 Don't use PER_ATTACK so pre attack delay cannot be skipped by using gun first. (#2287) End ;------------------------------------------------------------------------------