AddonWeapons 2.4
11.592
173
-
29 mei 2024
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.
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.4
- Added inventory saving for MP characters
- Fixed KeyNotFoundException error
2.3
- Fixed crash due to missing weapon components dictionary key
2.2
- Fixed a bug where some weapons were not saved in the inventory after purchase
- Fixed a bug where inactive protagonists were missing weapon components
2.1
- Fixed incorrect display of purchased components in the menu for MKII weapons.
- Fixed a bug where weapon ammo was not saved when exiting the game and switching between characters.
- Fixed bug where MKII weapon ammo was missing when installing new components
- Fixed a crash when installing stun gun tint
2.0
- Weapons, components, ammo, and tints are now saved in the inventory when switching characters and exiting the game
- Added the ability to remove purchased components from weapons by reselecting the component in the purchase menu
- Fixed a bug where a component was replaced by another and had to be purchased again
- Fixed a bug where duplicate icons of installed components would disappear after exiting the menu
- Weapons can now be purchased in all Ammunation Shops
- Removed an unnecessary empty paint item for MKII weapons
1.2
- Added the Bottom Dollar Bounty livery for the Stun Gun (PS5 and Xbox Series exclusive)
- The mod no longer needs to be translated into other languages: it now uses the text strings from the game itself
- Minor bug fixes for automatic detection of DLC weapons: removed duplicate railgun, fixed Snowball Launcher name display
1.1
- Added tints support for MP and Addon weapons
- The menu can now be opened anywhere. Set menu activation key in AddonWeapons\settings.ini file
- Added Portuguese translation (thanks to niziul)
1.0 (BETA):
- Initial release
Eerste Upload: 25 mei 2024
Laatst bijgewerkt: 17 november 2024
Laatst Gedownload: 41 minuten geleden
All Versions
186 Reacties
More mods by andre500:
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.
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.4
- Added inventory saving for MP characters
- Fixed KeyNotFoundException error
2.3
- Fixed crash due to missing weapon components dictionary key
2.2
- Fixed a bug where some weapons were not saved in the inventory after purchase
- Fixed a bug where inactive protagonists were missing weapon components
2.1
- Fixed incorrect display of purchased components in the menu for MKII weapons.
- Fixed a bug where weapon ammo was not saved when exiting the game and switching between characters.
- Fixed bug where MKII weapon ammo was missing when installing new components
- Fixed a crash when installing stun gun tint
2.0
- Weapons, components, ammo, and tints are now saved in the inventory when switching characters and exiting the game
- Added the ability to remove purchased components from weapons by reselecting the component in the purchase menu
- Fixed a bug where a component was replaced by another and had to be purchased again
- Fixed a bug where duplicate icons of installed components would disappear after exiting the menu
- Weapons can now be purchased in all Ammunation Shops
- Removed an unnecessary empty paint item for MKII weapons
1.2
- Added the Bottom Dollar Bounty livery for the Stun Gun (PS5 and Xbox Series exclusive)
- The mod no longer needs to be translated into other languages: it now uses the text strings from the game itself
- Minor bug fixes for automatic detection of DLC weapons: removed duplicate railgun, fixed Snowball Launcher name display
1.1
- Added tints support for MP and Addon weapons
- The menu can now be opened anywhere. Set menu activation key in AddonWeapons\settings.ini file
- Added Portuguese translation (thanks to niziul)
1.0 (BETA):
- Initial release
Eerste Upload: 25 mei 2024
Laatst bijgewerkt: 17 november 2024
Laatst Gedownload: 41 minuten geleden
-
-
@andre500 hey, so i notice for mp character that i was able to buy the gun, but not the attachment. any changes you can fix that?
18 januari 2025 -
@crunchycat Which weapons have attachments that are not available for MP characters? Can they be bought by main characters?
18 januari 2025 -
@Coolmaker935115 Open the ScriptHookDotNet.log file, what errors are there?
18 januari 2025 -
-
-
-
-
@Coolmaker935115 Update ScriptHookDotNet to the latest version https://github.com/scripthookvdotnet/scripthookvdotnet-nightly/releases/tag/v3.7.0-nightly.13
19 januari 2025 -
-
For me, this mod only randomly works. I got the keybind to work with the P button, but it stopped working after I closed it. The crate sometimes appears in stores, and it sometimes appears in gun stores it is not supposed to be in. If I do manage to access the menu in a store, it will stop working when I use the actual Ammunation store. This thing is just full of bugs.
3 dagen geleden -
@HeySlickThatsMe I've released a pre-release of AddonWeapons 2.5 on GitHub with the ability to add new categories to the menu, move weapons from one category to another, and change prices. Have a look and give me your feedback. If no critical bugs are found, I will release a new version here.
I've also tried adding tint to the MK2 weapon components, but I'm not sure if it's working correctly. The script tells me that the components are being recoloured, but I can't see it visually. Please have a look.
1 dag geleden -
@YaBoiBlasty I would really appreciate it if you manage to record a video of the bugs you are having. Because for some reason I am not able to replicate these bugs myself. I also want to know if there were any bugs in ScriptHookDotNet.log?
1 dag geleden -
-
@andre500 Lemme try the github version. I'm using the MP male character. It could also be that I found some sort of conflict, but I don't have many scripts added. It seems to work while playing as the SP characters so I changed my rating.
1 dag geleden -
@andre500 New update no longer has these issues, weird. Anyways, this works really well now.
1 dag geleden -
-
This script only spawns addon weapons, but does not create them.
So far there is no ready tool to convert replaceable weapons to addon, but you can use these tools:
https://www.gta5-mods.com/tools/vweaponstoolki-addon-weapon-generator
https://www.gta5-mods.com/misc/modding-dlc-pack-v
For weapon creators:
Add all components to the shop_weapon.meta file so that AddonWeapons can detect them.