AddonWeapons 2.8
15.819
204
15.819
204
Modders create a lot of cool weapons for GTA 5, but they have to replace the standard models. AddonWeapons allows you to add weapons to the game without replacement and buy them in Ammu-nation in a separate menu. There are also weapons available exclusively in GTA Online.
The box of weapons is located in the two Ammu-nations with a shooting range in Los Santos.
The script finds new weapons automatically, just install them like any addon mod (eg. cars).
IMPORTANT: This mod by itself doesn't bring any new weapons to the game.
Join my Discord server: https://discord.gg/vvxmKP5y5J
Source code: https://github.com/sruckstar/AddonWeapons
Installation
1. Install ScriptHookV
2. Install ScriptHookVDotNet
3. Install LemonUI (SHVDN3)
4. Move the scripts folder into your main GTAV folder (press Replace the files in the destination if Windows asks you to).
MP Characters Support
The script saves purchased weapons in the inventory separately for male and female MP characters. But there is an unpleasant bug: all Ammu-nations are closed if you change the skin of the main character to another one. Solution: change the skin directly in the shop before buying weapons, not on the street.
Commandline.txt
Commandline.txt allows you to add new categories to the menu, move weapons from one category to another, and set your own weapon prices. The file can be found in the AddonWeapons folder.
Available commands at this time:
CreateWeaponCategory(Name)
PutWeaponToCategory(ModelName, CategoryName)
SetWeaponCost(ModelName, IntCost)
Read more on GitHub
Trainer Mode (BETA)
You can customize AddonWeapons into trainer mode. In this case, the weapon purchase menu can be opened anywhere. Set the menu activation key in the AddonWeapons\settings.ini file
Weapon components (for mod authors)
To display weapon components in the menu, fill in the weapon shop.meta file correctly.
Weapon tints (for mod authors)
In order for the tints names to be displayed correctly in the purchase menu, you need to adhere to Rockstar standards: either use a set of 8 tints from standard weapons, or a set of 32 tints from MKII weapons. If you are not adding all the tints in your mod, or combining them from different types of weapon, you will need to create a text file in the AddonWeapons/tints folder with the name of the weapon from weapon shop.meta, and write all the tints names line by line. Otherwise, the menu will display tints without names (Tint 1, Tint 2, etc.), or the names will not correspond to the actual weapon tint.
Changelog
2.8
2.7
2.6
2.5
The box of weapons is located in the two Ammu-nations with a shooting range in Los Santos.
The script finds new weapons automatically, just install them like any addon mod (eg. cars).
IMPORTANT: This mod by itself doesn't bring any new weapons to the game.
Join my Discord server: https://discord.gg/vvxmKP5y5J
Source code: https://github.com/sruckstar/AddonWeapons
Installation
1. Install ScriptHookV
2. Install ScriptHookVDotNet
3. Install LemonUI (SHVDN3)
4. Move the scripts folder into your main GTAV folder (press Replace the files in the destination if Windows asks you to).
MP Characters Support
The script saves purchased weapons in the inventory separately for male and female MP characters. But there is an unpleasant bug: all Ammu-nations are closed if you change the skin of the main character to another one. Solution: change the skin directly in the shop before buying weapons, not on the street.
Commandline.txt
Commandline.txt allows you to add new categories to the menu, move weapons from one category to another, and set your own weapon prices. The file can be found in the AddonWeapons folder.
Available commands at this time:
CreateWeaponCategory(Name)
PutWeaponToCategory(ModelName, CategoryName)
SetWeaponCost(ModelName, IntCost)
Read more on GitHub
Trainer Mode (BETA)
You can customize AddonWeapons into trainer mode. In this case, the weapon purchase menu can be opened anywhere. Set the menu activation key in the AddonWeapons\settings.ini file
Weapon components (for mod authors)
To display weapon components in the menu, fill in the weapon shop.meta file correctly.
Weapon tints (for mod authors)
In order for the tints names to be displayed correctly in the purchase menu, you need to adhere to Rockstar standards: either use a set of 8 tints from standard weapons, or a set of 32 tints from MKII weapons. If you are not adding all the tints in your mod, or combining them from different types of weapon, you will need to create a text file in the AddonWeapons/tints folder with the name of the weapon from weapon shop.meta, and write all the tints names line by line. Otherwise, the menu will display tints without names (Tint 1, Tint 2, etc.), or the names will not correspond to the actual weapon tint.
Changelog
2.8
- Fixed a critical bug that caused the script to crash when there was a mismatch between the weapon tints and their number in the tints folder.
2.7
- Weapon crates can now be placed anywhere. Open the AddonWeapons/AmmoBoxes.txt file and add a line of X, Y, Z, HEADING format to create a new box.
- New weapon categories added for modders are DIGISCANNER, FIREEXTINGUISHER, HACKINGDEVICE, METALDETECTOR, NIGHTVISION, PARACHUTE, PETROLCAN, TRANQILIZER and RUBBERGUN. By default, these categories do not appear in the menu: to make them appear, the corresponding weapons must be added to the game.
2.6
- Fixed a bug where custom weapon tints were not displayed on add-on weapons.
- Fixed a bug where the script would crash after buying a weapon and switching to another player.
- FPS should no longer drop when protagonists get close to each other.
2.5
- Added a Commandline.txt file that can be used to add new categories, move weapons from one category to another, and set weapon prices.
- Fixed a bug where MP characters couldn't buy components for a weapon.
- Fixed a bug where the component removed from the weapon would reappear when the script was reloaded.
- Fixed bug with drawing multiple menus on the screen.
- Exiting the weapon component menu now opens the previous page instead of closing the menu completely.
- The name of the selected weapon is now displayed in the components menu.
- Weapon tint prices are now consistent with GTA Online prices.
Pertama diunggah: Sabtu, 25 Mei 2024
Terakhir diperbarui: 3 hari yang lalu
Terakhir Diunduh: 10 menit yang lalu
All Versions
247 Komentar
More mods by andre500:
Modders create a lot of cool weapons for GTA 5, but they have to replace the standard models. AddonWeapons allows you to add weapons to the game without replacement and buy them in Ammu-nation in a separate menu. There are also weapons available exclusively in GTA Online.
The box of weapons is located in the two Ammu-nations with a shooting range in Los Santos.
The script finds new weapons automatically, just install them like any addon mod (eg. cars).
IMPORTANT: This mod by itself doesn't bring any new weapons to the game.
Join my Discord server: https://discord.gg/vvxmKP5y5J
Source code: https://github.com/sruckstar/AddonWeapons
Installation
1. Install ScriptHookV
2. Install ScriptHookVDotNet
3. Install LemonUI (SHVDN3)
4. Move the scripts folder into your main GTAV folder (press Replace the files in the destination if Windows asks you to).
MP Characters Support
The script saves purchased weapons in the inventory separately for male and female MP characters. But there is an unpleasant bug: all Ammu-nations are closed if you change the skin of the main character to another one. Solution: change the skin directly in the shop before buying weapons, not on the street.
Commandline.txt
Commandline.txt allows you to add new categories to the menu, move weapons from one category to another, and set your own weapon prices. The file can be found in the AddonWeapons folder.
Available commands at this time:
CreateWeaponCategory(Name)
PutWeaponToCategory(ModelName, CategoryName)
SetWeaponCost(ModelName, IntCost)
Read more on GitHub
Trainer Mode (BETA)
You can customize AddonWeapons into trainer mode. In this case, the weapon purchase menu can be opened anywhere. Set the menu activation key in the AddonWeapons\settings.ini file
Weapon components (for mod authors)
To display weapon components in the menu, fill in the weapon shop.meta file correctly.
Weapon tints (for mod authors)
In order for the tints names to be displayed correctly in the purchase menu, you need to adhere to Rockstar standards: either use a set of 8 tints from standard weapons, or a set of 32 tints from MKII weapons. If you are not adding all the tints in your mod, or combining them from different types of weapon, you will need to create a text file in the AddonWeapons/tints folder with the name of the weapon from weapon shop.meta, and write all the tints names line by line. Otherwise, the menu will display tints without names (Tint 1, Tint 2, etc.), or the names will not correspond to the actual weapon tint.
Changelog
2.8
2.7
2.6
2.5
The box of weapons is located in the two Ammu-nations with a shooting range in Los Santos.
The script finds new weapons automatically, just install them like any addon mod (eg. cars).
IMPORTANT: This mod by itself doesn't bring any new weapons to the game.
Join my Discord server: https://discord.gg/vvxmKP5y5J
Source code: https://github.com/sruckstar/AddonWeapons
Installation
1. Install ScriptHookV
2. Install ScriptHookVDotNet
3. Install LemonUI (SHVDN3)
4. Move the scripts folder into your main GTAV folder (press Replace the files in the destination if Windows asks you to).
MP Characters Support
The script saves purchased weapons in the inventory separately for male and female MP characters. But there is an unpleasant bug: all Ammu-nations are closed if you change the skin of the main character to another one. Solution: change the skin directly in the shop before buying weapons, not on the street.
Commandline.txt
Commandline.txt allows you to add new categories to the menu, move weapons from one category to another, and set your own weapon prices. The file can be found in the AddonWeapons folder.
Available commands at this time:
CreateWeaponCategory(Name)
PutWeaponToCategory(ModelName, CategoryName)
SetWeaponCost(ModelName, IntCost)
Read more on GitHub
Trainer Mode (BETA)
You can customize AddonWeapons into trainer mode. In this case, the weapon purchase menu can be opened anywhere. Set the menu activation key in the AddonWeapons\settings.ini file
Weapon components (for mod authors)
To display weapon components in the menu, fill in the weapon shop.meta file correctly.
Weapon tints (for mod authors)
In order for the tints names to be displayed correctly in the purchase menu, you need to adhere to Rockstar standards: either use a set of 8 tints from standard weapons, or a set of 32 tints from MKII weapons. If you are not adding all the tints in your mod, or combining them from different types of weapon, you will need to create a text file in the AddonWeapons/tints folder with the name of the weapon from weapon shop.meta, and write all the tints names line by line. Otherwise, the menu will display tints without names (Tint 1, Tint 2, etc.), or the names will not correspond to the actual weapon tint.
Changelog
2.8
- Fixed a critical bug that caused the script to crash when there was a mismatch between the weapon tints and their number in the tints folder.
2.7
- Weapon crates can now be placed anywhere. Open the AddonWeapons/AmmoBoxes.txt file and add a line of X, Y, Z, HEADING format to create a new box.
- New weapon categories added for modders are DIGISCANNER, FIREEXTINGUISHER, HACKINGDEVICE, METALDETECTOR, NIGHTVISION, PARACHUTE, PETROLCAN, TRANQILIZER and RUBBERGUN. By default, these categories do not appear in the menu: to make them appear, the corresponding weapons must be added to the game.
2.6
- Fixed a bug where custom weapon tints were not displayed on add-on weapons.
- Fixed a bug where the script would crash after buying a weapon and switching to another player.
- FPS should no longer drop when protagonists get close to each other.
2.5
- Added a Commandline.txt file that can be used to add new categories, move weapons from one category to another, and set weapon prices.
- Fixed a bug where MP characters couldn't buy components for a weapon.
- Fixed a bug where the component removed from the weapon would reappear when the script was reloaded.
- Fixed bug with drawing multiple menus on the screen.
- Exiting the weapon component menu now opens the previous page instead of closing the menu completely.
- The name of the selected weapon is now displayed in the components menu.
- Weapon tint prices are now consistent with GTA Online prices.
Pertama diunggah: Sabtu, 25 Mei 2024
Terakhir diperbarui: 3 hari yang lalu
Terakhir Diunduh: 10 menit yang lalu
@andre500 Alright thanks, will do
@andre500 Can you add compatibility with ScriptHookVDotNet v3.6.0?
@horV4ts I have rebuilt the mod for SHDN 3.6.0-nightly.124 and above. Download the mod again
@andre500 Unfortunately, it's still not working. I use very outdated GTA V Build 1180.2 and SHDN 3.6.0 stable version (not nightly one) and have this error in scripthookvdotnet.log:
[17:00:28] [ERROR] Caught fatal unhandled exception:
System.MissingMethodException: Method not found: 'GTA.WeaponHash[] GTA.WeaponCollection.GetAllWeaponHashes()'.
at AddonWeapons.LoadInventory(UInt32 player)
at AddonWeapons.WaitLoadedInventory() in C:\Users\sruck\Source\Repos\AddonWeapons\AddonWeapons\AddonWeapons.cs:line 454
at AddonWeapons.OnTick(Object sender, EventArgs e) in C:\Users\sruck\Source\Repos\AddonWeapons\AddonWeapons\AddonWeapons.cs:line 992
at SHVDN.Script.DoTick()
[17:00:28] [ERROR] The exception was thrown while executing the script AddonWeapons.
[17:00:28] [WARNING] Aborted script AddonWeapons.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort()
at SHVDN.Script.Abort()
at SHVDN.Script.DoTick()
at SHVDN.Script.MainLoop()
@horV4ts The script only supports the Nightly version
@andre500 I only mention it because this is the best script for add-on attachments, but the original Carbine Rifle among a few other weapons don't show up on the menus.
@N. Man Uh, thanks. The menu only shows weapons that are not available for purchase in single player.
@andre500 I see. I guess it wasn't your intention to include the other handful of weapons into the script that are purchasable in SP such as:
https://i.imgur.com/4AZEYYO.jpeg
https://i.imgur.com/vpCWMri.jpeg
https://i.imgur.com/abZ7RKJ.jpeg
https://i.imgur.com/zz2thop.jpeg
https://i.imgur.com/Erp9wtR.jpeg
Regardless, is there a way to add the Carbine say via the commandline or any other means?
@N. Man @N. Man Hmm, interesting. The game itself determines which weapon models are MP-only. Unfortunately, there is no way to influence this in the current implementation
👍🏿
@andre500 Good day. Could we get an option to let us buy also all vanilla weapons? For those who start a new game either to play all the story or just for the random encounters (or whatever roleplay reason), and want to be able to buy any weapon without story progression.
@andre500 I suggest a option for buying the max ammunition
@andre500 Also, I just realized this mod somehow clashes with the female MP model when loading it on Menyoo.
Normally when you switch to that model (using an outfit or just basic model change), you keep your weapons.
If I have this mod installed, though, I'll lose ALL my weapons. I tested with some other peds and only the MP model seems to be affected.
@CJislit I'll look into it, thank you.
I have tried to add the key in order to open the menu but it just doesn't work!
Is there any addon weapons for this mod yet? I would like to see them
@Nobodyiss HeySlickThatsMe creates Add-On weapons with full support for the AddonWeapons mod.
https://www.gta5-mods.com/users/HeySlickThatsMe
@andre500 Still waiting for the weapons inventory to change according the what the player has.
Meaning, the changes in inventory don't change when the player loses a weapon, making this not work properly with mods that remove weapons on death, or with pickups by infamoussabre
@thalilmythos Thanks, I hadn't thought of that. It will be in one of the next versions, I'm already testing it.
qualcuno ha fatto un tutorila video?