Weapon Drop v2.6
by diamond-optic
04.23.16
————————————————–
Abstract:
I could not perceive why there is a key to drop weapons in GTA On-line however not in single participant, particularly since there was weapons that I didn’t need to carry anymore. Fortunately it’s fairly straightforward to do with a script.
————————————————–
Info:
Press F9 (identical key as GTA On-line) to drop the weapon that you simply at present have equiped. You may change the important thing within the ‘Configuration’ part close to the highest of the WeaponDrop.lua file.
I consider I received many of the weapons. Let me know of any that I missed. Additionally let me find out about any issues you discover that aren’t within the ‘identified points’ part.
Pickup distance has been descreased, permitting weapons to be dropped nearer to the participant.
Choices: Glowing pickups or non-glowing pickups
————————————————–
Set up:
Place the WeaponDrop.lua file contained in the scriptsaddins listing in your base GTAV set up location.
For the pickups.meta recordsdata, choose which model you need from the OpenIV folder after which simply observe the folder setup within the obtain to place them in the best place (it is arduous to get particular right here since all of the recordsdata have the identical title), simply totally different places. If you cannot determine it out, possibly modding gta v isn’t for you…
————————————————–
Necessities:
Script Hook V
LUA Plugin For Script Hook V
OpenIV
————————————————–
Change Log:
Model 2.6 (04.23.16)
– Added assist for the two new weapons from the April 2016 patch
– Momentary (hopefully) repair for crashing on loading.
Model 2.5 (12.20.15)
– Added assist for the two new weapons from the Executives and Different Criminals DLC
Model 2.4 (10.24.15)
– Added assist for the two new weapons from the Lowriders DLC
– Added assist for the flashlight from the Halloween DLC
– Code Enhancements
Model 2.3 (07.24.15)
– Added assist for two new weapons from Ailing-Gotten Good points Half 2
– Code Enhancements
Model 2.2 (06.12.15)
– Added assist for the Fight PDW from Ailing-Gotten Good points replace
Model 2.1 (06.06.15)
– Barely elevated non weapon pickup distances
– Minor code enchancment
Model 2.0 (05.22.15)
– Added dropping for baseball
– Provides pickups for BZ Fuel, Hearth Extinguisher, Flare, Snowball, and Baseball
– Decreases choose up vary and moved weapon drops nearer to participant
– Created optionally available pickup recordsdata with out glow (Thanks Drkz [Enhanced Wallets])
– Minor code enhancements
Model 1.1 (05.16.15)
– Added animation when dropping
– Dropped weapons now retain clip ammo
– Thrown weapons now drop separately
– Fastened ammo problem with thrown weapons
– Added dropping whereas in autos
Model 1.0 (05.13.15)
– Preliminary Launch
————————————————–
Conflicts:
Mods that change any of the pickups.meta recordsdata. However you may in all probability merge conflicting mods collectively fairly simply, particularly if you happen to use a program equivalent to ‘Past Evaluate’.
I *may* supply compatibility patches sooner or later for common mods, or simply mods that I find yourself utilizing myself. No guarantees although.
————————————————–
Identified Points:
There appears to be a restrict of 105(?) pickup entries. After the April 2016 patch that added two new weapons, I discovered that the sport would crash on loading except I eliminated one entry from any pickup.meta file. It doesnt appear to matter which entry is eliminated or from which file. So This leads me to consider that there’s a max variety of entries set someplace. As a piece round till one other resolution is discovered, I’ve eliminated the baseball pickup information that this mod had added. So the baseball could be barely bugged when attempting to drop it.
Weapon Parts are usually not saved, although they are going to present on the dropped weapons (instance: silencers)
Selecting up a weapon provides you a clip value of ammo along with what’s within the clip already
The animation isnt excellent, particularly since I may solely discover dropping animations for the left hand or each palms, oddly no proper hand
Weapons dont all the time look like dropped exterior car home windows, typically they undergo the ground as an alternative
————————————————–
Configuration:
Edit this worth within the ‘Configuration’ part close to the highest of the WeaponDrop.lua file to alter the important thing used:
native Drop_Key = Keys.F9 — Press this key to drop your weapon (default: Keys.F9)
* please don’t add my mods to different websites! *
Credit:
diamond-optic