20.893
202
-
27 Tháng mười một, 2017
____________________________________________________________
Description
____________________________________________________________
This script creates a Weapons Dealer and places him in a static location in the Grand Senora Desert. You can go to this dealer and purchase any DLC weapon (guns) not originally available in Single Player.
The script also features a customization menu, allowing you to customize any MKII weapons you purchase with the corresponding attachments or to purchase a drum magazine for the weapons capable of using one. (Drum mags may require weapons.meta editing, see below).
Finally, the script adds a "Fill ammo" menu to the dealer, allowing you to purchase ammo for a certain caliber, which will in-turn fill weapons of that caliber. I originally made this feature for use with InfamouseSabre's Pickups mod, but it is Vanilla compatible as well.
____________________________________________________________
INSTALLATION
____________________________________________________________
Drag and drop "GunSmuggler.dll" into the "SCRIPTS" folder in your main GTA Directory. Install NativeUI.dll as well if you don't have it already
____________________________________________________________
INSTRUCTIONS
____________________________________________________________
Find the Assault Rifle blip on your map named "Gun smuggler". Travel to the blip, and approach the Marabunta Grande gang member. When you're infront of him, press "G" to open the Weapons Dealing menu. Use the arrow keys to navigate the menu, enter to select, backspace to go back.
If you're experiencing issues with the dealer/vehicle spawning in, press "U" to spawn them in without having to reload the script.
Weapons.meta editing for drum magazines
To allow the drum magazine to be attached to it's corresponding weapon, you may have to access it's .meta file and add in an attach point for the drum. Here's how you'd do that:
For the example, I'm going to be using the Compact Rifle.
First, navigate to the weaponcompactrifle.meta inside \mods\update\update.rpf\dlc_patch\mplowrider2\common/data/ai.
Second, open the .meta file and use the find function (Ctrl + F) to find "COMPONENT_COMPACTRIFLE_CLIP_01".
The section should look something like this: https://pastebin.com/dXUCQKvT
Now, you will want to add another line to the AttachPoints section, following the same format as the other two components. The drum clip will always be named as the other two clips, just with a "03" at the end.
This is what we will insert into the AttachPoints section: https://pastebin.com/bupaYeiP
Make sure you follow the same format as the other two components, so it should look like this: https://pastebin.com/9Bh43RaL
Follow the same method for every gun that uses a drum.
Here's the paths you'll need:
mods\update\update.rpf\common\data\ai\weapons.meta (Assault Rifle, Carbine Rifle & SMG)
mods\update\update.rpf\dlc_patch\mplowrider2\common\data\ai\weaponcompactrifle.meta
mods\update\update.rpf\dlc_patch\mpluxe\common\data\ai\weaponcombatpdw.meta
mods\update\update.rpf\dlc_patch\mpbusiness\common\data\ai\weaponspecialcarbine.meta
mods\update\update.rpf\dlc_patch\mplts\common\data\ai\weaponheavyshotgun.meta
mods\update\update.rpf\dlc_patch\mplowrider\common\data\ai\weaponmachinepistol.meta
____________________________________________________________
NOTES
____________________________________________________________
Make sure you have these installed:
https://www.gta5-mods.com/tools/script-hook-v
https://www.gta5-mods.com/tools/scripthookv-net
https://github.com/Guad/NativeUI/releases
If you have any feedback, questions, concerns, or issues, feel free to tag me in a comment and I'll do what I can to assist.
Enjoy!
Tải lên lần đầu: 24 Tháng mười một, 2017
Cập nhật lần cuối: 27 Tháng mười một, 2017
Last Downloaded: 2 hours ago
89 Bình luận
More mods by dev614 & FelixTheBlackCat:
____________________________________________________________
Description
____________________________________________________________
This script creates a Weapons Dealer and places him in a static location in the Grand Senora Desert. You can go to this dealer and purchase any DLC weapon (guns) not originally available in Single Player.
The script also features a customization menu, allowing you to customize any MKII weapons you purchase with the corresponding attachments or to purchase a drum magazine for the weapons capable of using one. (Drum mags may require weapons.meta editing, see below).
Finally, the script adds a "Fill ammo" menu to the dealer, allowing you to purchase ammo for a certain caliber, which will in-turn fill weapons of that caliber. I originally made this feature for use with InfamouseSabre's Pickups mod, but it is Vanilla compatible as well.
____________________________________________________________
INSTALLATION
____________________________________________________________
Drag and drop "GunSmuggler.dll" into the "SCRIPTS" folder in your main GTA Directory. Install NativeUI.dll as well if you don't have it already
____________________________________________________________
INSTRUCTIONS
____________________________________________________________
Find the Assault Rifle blip on your map named "Gun smuggler". Travel to the blip, and approach the Marabunta Grande gang member. When you're infront of him, press "G" to open the Weapons Dealing menu. Use the arrow keys to navigate the menu, enter to select, backspace to go back.
If you're experiencing issues with the dealer/vehicle spawning in, press "U" to spawn them in without having to reload the script.
Weapons.meta editing for drum magazines
To allow the drum magazine to be attached to it's corresponding weapon, you may have to access it's .meta file and add in an attach point for the drum. Here's how you'd do that:
For the example, I'm going to be using the Compact Rifle.
First, navigate to the weaponcompactrifle.meta inside \mods\update\update.rpf\dlc_patch\mplowrider2\common/data/ai.
Second, open the .meta file and use the find function (Ctrl + F) to find "COMPONENT_COMPACTRIFLE_CLIP_01".
The section should look something like this: https://pastebin.com/dXUCQKvT
Now, you will want to add another line to the AttachPoints section, following the same format as the other two components. The drum clip will always be named as the other two clips, just with a "03" at the end.
This is what we will insert into the AttachPoints section: https://pastebin.com/bupaYeiP
Make sure you follow the same format as the other two components, so it should look like this: https://pastebin.com/9Bh43RaL
Follow the same method for every gun that uses a drum.
Here's the paths you'll need:
mods\update\update.rpf\common\data\ai\weapons.meta (Assault Rifle, Carbine Rifle & SMG)
mods\update\update.rpf\dlc_patch\mplowrider2\common\data\ai\weaponcompactrifle.meta
mods\update\update.rpf\dlc_patch\mpluxe\common\data\ai\weaponcombatpdw.meta
mods\update\update.rpf\dlc_patch\mpbusiness\common\data\ai\weaponspecialcarbine.meta
mods\update\update.rpf\dlc_patch\mplts\common\data\ai\weaponheavyshotgun.meta
mods\update\update.rpf\dlc_patch\mplowrider\common\data\ai\weaponmachinepistol.meta
____________________________________________________________
NOTES
____________________________________________________________
Make sure you have these installed:
https://www.gta5-mods.com/tools/script-hook-v
https://www.gta5-mods.com/tools/scripthookv-net
https://github.com/Guad/NativeUI/releases
If you have any feedback, questions, concerns, or issues, feel free to tag me in a comment and I'll do what I can to assist.
Enjoy!
Tải lên lần đầu: 24 Tháng mười một, 2017
Cập nhật lần cuối: 27 Tháng mười một, 2017
Last Downloaded: 2 hours ago
-
@dev614 When I restart the game I can find guns that I bought without any other script. The mod is also uncompatible with Open All Interiors: https://www.gta5-mods.com/scripts/open-all-interiors#comments_tab
Anyway it seems a good mod.31 Tháng mười, 2018 -
hey, @dev614
so i installed this mod and it was working.. but i accidentally punched old mate in the face and apparently killed him...... not i cant access store, i tried re-adding the mod no luck tried hitting U, no luck.. tried finding him in spawn menu, no luck...
can you help?
06 Tháng năm, 2019 -
Downloaded it, but it the smuggler doesn't show up. Tried reinstalling the script multiple times, but it won't load.
Here's what my log says:
[12:57:34] [DEBUG] Created script domain 'ScriptDomain_E3275075' with v2.10.9.
[12:57:34] [DEBUG] Loading scripts from 'D:\Steam\steamapps\common\Grand Theft Auto V\scripts' into script domain 'ScriptDomain_E3275075' ...
[12:57:34] [INFO] Loading assembly 'GunSmuggler.dll' ...
[12:57:34] [DEBUG] Found 1 script(s) in 'GunSmuggler.dll'.
[12:57:34] [DEBUG] Starting 1 script(s) ...
[12:57:34] [DEBUG] Instantiating script 'RP.Mk2' in script domain 'ScriptDomain_E3275075' ...
[12:57:34] [ERROR] Failed to instantiate script 'RP.Mk2' because constructor threw an exception:
System.IO.FileNotFoundException: Could not load file or assembly 'NativeUI, Version=1.7.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Filnavn: NativeUI, Version=1.7.0.0, Culture=neutral, PublicKeyToken=null
ved RP.Mk2..ctor()WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].26 Tháng năm, 2019 -
-
-
-
-
The smuggler shows up but I cant buy from him any reason why that be?
17 Tháng tám, 2020 -
-
-
-
-
-
-
When i buy a weapon (at least the mkII ones, i did not tried with the normal ones) It spawn with 0 ammo, then i buy the ammo but the UI still showing 0/0 ammo BUT i can shoot, BUT its an infinite magazine until i spent without reload all the bullets i bought
17 Tháng sáu, 2023 -
@dev614 If I install this mod, with which key do I save the weapons that I bought? If I reinstall the mod? Pls respond
26 Tháng tám, 2023 -
-
@dev614 @FelixTheBlackCat there is the location but dealer doesn't spawn
04 Tháng hai, 2024 -
For those of you who want to have your weapons saved whenever you restart the game, try this script out! Make sure to read the description, for it is very lightweight at the moment and has some stipulations.
https://www.gta5-mods.com/scripts/weapon-persistence-v