From 9b7f19dda491f5edd9422fe5c1e1d64041f92c6a Mon Sep 17 00:00:00 2001 From: YuRaNnNzZZ Date: Sat, 25 Feb 2023 18:43:54 +0300 Subject: [PATCH] 4.7.6.0 --- CHANGELOG.md | 8 ++++++++ lua/tfa/documentation/tfa_base_template.lua | 1 + lua/tfa/documentation/tfa_melee_template.lua | 1 + 3 files changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e59000e..fb23edd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,12 @@ # This is an archive of changelog messages from `tfa_loader.lua`. +## 4.7.6.0 +* Keybind tooltips are now less annoying (do not force display when picking up props) +* Fixed safety holster not working for bow-based weapons +* Added ability to change amount of rounds appended for shotgun/round-insert reload type +* Added override for melee weapon attack selection (old behavior/random attack is default) +* Redone stats display: slight optimization and ability to add custom stats +* Fixed tooltip panels not getting removed with inspection screen (slight memory leak) + ## 4.7.5.3 * Stencil sight reticle fixes (viewmodel redraw now skips the sight model, flat reticle now draws properly over everything) * Fixed some animations cutting off early (mostly noticeable with foregrip-like attachments which change animations) diff --git a/lua/tfa/documentation/tfa_base_template.lua b/lua/tfa/documentation/tfa_base_template.lua index 55f616b..892bfb9 100644 --- a/lua/tfa/documentation/tfa_base_template.lua +++ b/lua/tfa/documentation/tfa_base_template.lua @@ -628,6 +628,7 @@ end -- AKA Shotgun SWEP.LoopedReload = false -- Enable looped / shotgun style / one round at time reloading. +SWEP.LoopedReloadInsertAmount = 1 -- How much rounds to insert on each reload cycle SWEP.ShotgunEmptyAnim = false -- Enable emtpy reloads on shotguns? SWEP.ShotgunEmptyAnim_Shell = true -- Enable insertion of a shell directly into the chamber on empty reload? diff --git a/lua/tfa/documentation/tfa_melee_template.lua b/lua/tfa/documentation/tfa_melee_template.lua index 9ed4463..d969d84 100644 --- a/lua/tfa/documentation/tfa_melee_template.lua +++ b/lua/tfa/documentation/tfa_melee_template.lua @@ -78,6 +78,7 @@ SWEP.Primary.Directional = false -- Prefer attacks with player's movement SWEP.Secondary.Attacks = {} -- same as SWEP.Primary.Attacks SWEP.Secondary.MaxCombo = -1 SWEP.Secondary.Directional = false +SWEP.Secondary.PrimaryFallback = true -- Allow falling back to primary attacks if secondary attack is not selected -- Attacks - Alternative (melee bash) SWEP.Secondary.CanBash = true -- set to false to disable bashing