Се вчитува...

DLC Weapons Dealer (+attachments) 1.1 fix

20.825

This mod was originally created by FelixTheBlackCat and I wouldn't have been able to do any of this without his hard work. Go and give his mod a thumbs up! (https://www.gta5-mods.com/scripts/mk2-mkii-weapon-deals-in-sp-open-source)

____________________________________________________________
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!
Show Full Description

Првпат Додадено: Ноември 24, 2017
Последно Ажурирање: Ноември 27, 2017
Последно Симнување: пред 5 саати

All Versions

 1.1 fix (current)

19.955 симнато , 18 KB
Ноември 27, 2017

 1.1

438 симнато , 18 KB
Ноември 26, 2017

 1.0

433 симнато , 17 KB
Ноември 24, 2017

89 Коментари