载入中...

AddonWeapons 2.5

下载
7345c9 0
7345c9 1
7345c9 4
7345c9 2
7345c9 3

11,948

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.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.


2.4
  • Added inventory saving for MP characters
  • Fixed KeyNotFoundException error
Show Full Description

首次上传时间: 2024年5月25日
最后更新时间: 4小时前
最后下载: 1分钟前

All Versions

 2.5 (current)

81次下载 , 31.0 KB
4小时前

 2.4

3,374次下载 , 26.0 KB
2024年11月17日

 2.3

2,946次下载 , 24.0 KB
2024年7月24日

 2.2

170次下载 , 24.0 KB
2024年7月24日

 2.1

402次下载 , 23.0 KB
2024年7月22日

 2.0

187次下载 , 22.0 KB
2024年7月21日

 1.2

550次下载 , 17.0 KB
2024年7月17日

 1.1

2,948次下载 , 23.0 KB
2024年5月30日

 1.0 (BETA)

1,290次下载 , 18.0 KB
2024年5月25日

198个评论