Skip to content

WeapFuncs1.5.5

Latest

Choose a tag to compare

@LotsofEds LotsofEds released this 08 Jul 14:27

Changelog (1.5)

New Features:

  • Weapon Upgrades and Attachments - Added scope upgrade and grenade launcher attachment (enabled for Assault Rifle and Carbine Rifle by default). Integration with ImprovedGunStores script to buy attachment and ammo.
  • Revamped Pickups - NPC weapon drops will only give the remaining ammo in the clip. Manual input now always required to pick up weapons.
    • Limited Loadout - Proto-inventory system, limits the amount of weapons you can carry. Increases with story progression.
    • Shared Ammo - Setting to make weapons "share ammo". If disabled, only ammo from the same weapon can be used (i.e. Assault Rifle ammo cannot be picked up if you have a Carbine Rifle & vice versa).
    • Colored Pickups - Ability to set custom weapon pickup colors for dropped weapons.
  • Flamethrower - Option to add fully functioning flamethrower.
  • Stun Grenades - Fully functioning stun grenades.
  • Drop Weapons - Drop current weapon by aiming and pressing backspace (by default). Dropped weapons can be picked up again if revamped pickups is enabled.
  • Weapons On Back - Added Equip Gun-esque holstering of weapons on the back or waist.
  • Lose Ammo in Mag - Remove remaining ammo left in the clip when reloading. Exceptions can be added in the ini.
  • Visual Recoil - Adds cam shake to simulate recoil when firing a weapon (ported from Liberty Tweaks with some improvements).
  • Tap-Fire Accuracy Fix - Increases bulletspread when rapidly tap-firing.

Project Changes:

  • Major performance fixes, rewrote a bunch of stuff.
  • Major changes to config files, new folder included for individual weapon and attachment configs.
  • Support for any addon weapon.
  • Fixed glitched reloads.
  • Global RoF now reads WeaponInfo data by default. Can be overridden for peds by enabling OverridePedROF.
  • Semi-auto shotgun blindfire fix streamlined, now uses same animation skip method for player and peds.
  • Select Fire disabled by default due to framerate dependence and difficulty of configuration. Will try to improve it next update.
  • Improved weapon zoom feature.
  • Fixed sawnoff animation glitch when SawnOffFiresSecondShellImmediately is enabled.
  • Removed old ScriptHookDotNet version in the files to reduce clutter.
  • Preset .inis for ImpossibleEchoes and Sierra112's Animated Weapons mod, as well as SnakeSwagger's TACE Lite mod included.
  • Updated installation, should be a bit easier now.

Changelog (1.5.1)

  • Fixed Semi-auto shotgun blindfire fix accidentally applying to excluded shotguns.
  • Weapons will now longer get their ammo refilled when reload is interrupted by going in and out of cover or performing a combat roll.
  • Fixed debug subtitle message sometimes appearing when select-fire is enabled.
  • Fixed all-round reload sometimes adding one extra round in the mag when animation is interrupted.
  • Improved rate of fire consistency when using blindfire fixes for heavy weapons.

Changelog (1.5.2)

  • Fixed holstered weapons not disappearing when equipped.
  • Slightly reduced default recoil configs.
  • Fixed EFLC shotguns not having 1.25x zoom by default.
  • Fixed incorrect flamethrower WeaponInfo model.

Changelog (1.5.3)

  • Heat-Seeking Rocket Launcher - Added fully functional code for homing/heat-seeking rocket launcher.
  • Minor rewrite of Select Fire feature for better functionality and easier configuration.
  • New Select Fire mode (Pump To Semi), allows switching between pump-action and semi-automatic fire mode for shotguns.
  • Fixed player dropping weapons when reloading the script or loading a save when Limited Loadout is enabled.
  • Fixed potential game crash when loading a save.
  • Fixed broken reloads when using Weapon Animations script.
  • Fixed flamethrower explosion ID not being read properly by the script.
  • Fixed stun grenade not applying white screen effect if HUD is disabled.
  • Fixed cops not being alerted to grenades fired using the grenade launcher attachment.
  • Fixed grenade launcher attachment compatibility when using the Weapon Animations script.

Changelog (1.5.4)

  • Aim Cam Shake - Adds slight camera shake when aiming, effect increases with lower health.
  • Added Fill Mag Immediately option (should fix remaining issues with Animated Weapons script).
  • Fixed grenade launcher attachment getting stuck to player when buying from a gun store.
  • Fixed saved attachment data (owned attachments, grenade launcher ammo) not being read when loading a save in-game.
  • Fixed recoil shake duration being affected by framerate.
  • Removed unnecessary recoil parameters for easier configuration.

Changelog (1.5.5)

  • Fixed visible holstered weapon slots 5-8 not working.
  • Fixed issues with Revamped Pickups loadout data not being loaded properly.
  • Fixed Animated Weapons compatibility preset.
  • Compatibility patch for ImprovedGunStores 0.4

If you encounter bugs or issues, let me know.
Credits to: Jeansowaty and donnits for the grenade launcher attachments and animations, as well as the stun grenade model.