2
0

Compare commits

...

3 Commits

Author SHA1 Message Date
93fc0941aa
4.7.9.4 2025-04-13 14:16:45 +03:00
2bcb0e7ce8
ooprs! 2025-04-02 01:31:30 +03:00
92ab44b416
4.7.9.3 2025-04-02 01:27:47 +03:00
3 changed files with 40 additions and 0 deletions

View File

@ -1,4 +1,15 @@
# This is an archive of changelog messages from `tfa_loader.lua`. # This is an archive of changelog messages from `tfa_loader.lua`.
## 4.7.9.4
* All sub-bases should now call primary/secondary attack hooks correctly
* Fixed grenades not having proper velocity for primary throw
* Added spread and recoil override functions
* Removed in-game changelog
## 4.7.9.3
* Fixed suppressed guns emitting light when shooting
* Added toggles for FOV sprint modifier and first draw animation
* Added multiplier settings for recoil and knockback (which is no longer controlled by force multiplier)
## 4.7.9.2 ## 4.7.9.2
* Fixed slug ammunition attachment not being available * Fixed slug ammunition attachment not being available

View File

@ -282,6 +282,24 @@ GM:TFA_PostPrimaryAttack(Weapon weapon)
-- Arguments: -- Arguments:
-- 1. Weapon weapon -- 1. Weapon weapon
boolean GM:TFA_PreCanSecondaryAttack(Weapon weapon)
-- Hook name: TFA_PreCanSecondaryAttack
-- Description: Called before weapon checks the right-click attack in SWEP:CanSecondaryAttack overrides.
-- State: Shared, Predicted (not called in SP clientside)
-- Arguments:
-- 1. Weapon weapon
-- Returns:
-- 1. boolean - Return to override return value of SWEP:CanSecondaryAttack
boolean GM:TFA_CanSecondaryAttack(Weapon weapon)
-- Hook name: TFA_CanSecondaryAttack
-- Description: Checks if weapon is allowed to use right-click attack. DOES NOT PREVENT AIMING DOWN THE SIGHTS!
-- State: Shared, Predicted (not called in SP clientside)
-- Arguments:
-- 1. Weapon weapon
-- Returns:
-- 1. boolean - Return to override return value of SWEP:CanSecondaryAttack
boolean GM:TFA_SecondaryAttack(Weapon weapon) boolean GM:TFA_SecondaryAttack(Weapon weapon)
-- Hook name: TFA_SecondaryAttack -- Hook name: TFA_SecondaryAttack
-- Description: Called when weapon is attempting to attack with right click (AltAttack/melee bash) -- Description: Called when weapon is attempting to attack with right click (AltAttack/melee bash)
@ -291,6 +309,13 @@ boolean GM:TFA_SecondaryAttack(Weapon weapon)
-- Returns: -- Returns:
-- 1. boolean - Return true to prevent secondary attack -- 1. boolean - Return true to prevent secondary attack
GM:TFA_PostSecondaryAttack(Weapon weapon)
-- Hook name: TFA_PostSecondaryAttack
-- Description: Called after successful right-click attack
-- State: Shared, Predicted (not called in SP clientside)
-- Arguments:
-- 1. Weapon weapon
-------------------------- --------------------------

View File

@ -67,6 +67,10 @@ tfa.svsettings.defaultclip=Default Clip Count (-1 = default)
tfa.svsettings.rangemod=Maximum Bullet Damage Drop Multiplier tfa.svsettings.rangemod=Maximum Bullet Damage Drop Multiplier
tfa.svsettings.randomseed=Populate extra seed in RNG while shooting serverside tfa.svsettings.randomseed=Populate extra seed in RNG while shooting serverside
tfa.svsettings.randomseed_tip=This will cause shots to be out of sync with server. Enable it if you really know what you are doing! tfa.svsettings.randomseed_tip=This will cause shots to be out of sync with server. Enable it if you really know what you are doing!
tfa.svsettings.fov.sprintmod=Enable Sprint FOV Modifier
tfa.svsettings.recoilmult=Recoil Multiplier
tfa.svsettings.knockbackmult=Knockback Multiplier
tfa.svsettings.firstdrawanim=Enable First Draw Animation
tfa.sightsettings.3dscopes=Enable 3D Scopes tfa.sightsettings.3dscopes=Enable 3D Scopes
tfa.sightsettings.3dscopeshadows=Enable 3D Scope Shadows tfa.sightsettings.3dscopeshadows=Enable 3D Scope Shadows