Compare commits
3 Commits
4c1b637037
...
93fc0941aa
Author | SHA1 | Date | |
---|---|---|---|
93fc0941aa | |||
2bcb0e7ce8 | |||
92ab44b416 |
11
CHANGELOG.md
11
CHANGELOG.md
@ -1,4 +1,15 @@
|
||||
# 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
|
||||
* Fixed slug ammunition attachment not being available
|
||||
|
||||
|
@ -282,6 +282,24 @@ GM:TFA_PostPrimaryAttack(Weapon weapon)
|
||||
-- Arguments:
|
||||
-- 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)
|
||||
-- Hook name: TFA_SecondaryAttack
|
||||
-- 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:
|
||||
-- 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
|
||||
|
||||
|
||||
|
||||
--------------------------
|
||||
|
@ -67,6 +67,10 @@ tfa.svsettings.defaultclip=Default Clip Count (-1 = default)
|
||||
tfa.svsettings.rangemod=Maximum Bullet Damage Drop Multiplier
|
||||
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.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.3dscopeshadows=Enable 3D Scope Shadows
|
||||
|
Loading…
Reference in New Issue
Block a user