Pre-flight checklist
Environment
- Operating system:
- Linux Mint 21.2 Victoria
- SourceMod version:
- 1.11.0.6962
- CWX version:
- X.0.10-2c22df4
Description
Upon using the Shortstop as a base and increasing the maxammo with the attribute: "maxammo primary increased", the shortstop spawns with 25 reserve ammo instead of the intended 200. This is not an issue with the attribute not working- the reserve can still be filled up to max, it's just emptied beforehand.
Steps to replicate
Make a primary weapon that inherits the shortstop, then add the attrib "maxammo primary increased", any value above 1 is fine. the weapon, upon recieving, will have 25 reserve ammo, not the specified amount.
Other information
sample: minimalrecreate.txt
sm exts list; sm plugins list;
[SM] Displaying 10 extensions:
[01] Automatic Updater (1.11.0.6962): Updates SourceMod gamedata files
[02] Webternet (1.11.0.6962): Extension for interacting with URLs
[03] TF2 Tools (1.11.0.6962): TF2 extended functionality
[04] BinTools (1.11.0.6962): Low-level C/C++ Calling API
[05] SDK Hooks (1.11.0.6962): Source SDK Hooks
[06] SDK Tools (1.11.0.6962): Source SDK Tools
[07] Top Menus (1.11.0.6962): Creates sorted nested menus
[08] Client Preferences (1.11.0.6962): Saves client preference settings
[09] SQLite (1.11.0.6962): SQLite Driver
[10] DHooks (2.2.0-detours17): Dynamic Hooks
[SM] Listing 27 plugins:
01 "[TF2] Econ Data" (0.19.1) by nosoop
02 "[TF2] Custom Attribute Debugger" (1.0.0) by nosoop
03 "Player Commands" (1.11.0.6962) by AlliedModders LLC
04 "Admin Menu" (1.11.0.6962) by AlliedModders LLC
05 "[TF2] Custom Attribute Team Subsection Handler" (1.1.0) by nosoop
06 "Basic Votes" (1.11.0.6962) by AlliedModders LLC
07 "[TF2] TF2Attributes" (1.7.3) by FlaminSarge
08 "[TF2] Custom Attributes" (0.4.1) by nosoop
09 "Basic Ban Commands" (1.11.0.6962) by AlliedModders LLC
10 "Nextmap" (1.11.0.6962) by AlliedModders LLC
11 "Basic Commands" (1.11.0.6962) by AlliedModders LLC
12 "Basic Comm Control" (1.11.0.6962) by AlliedModders LLC
13 "Admin Help" (1.11.0.6962) by AlliedModders LLC
14 "Admin File Reader" (1.11.0.6962) by AlliedModders LLC
15 "Fun Votes" (1.11.0.6962) by AlliedModders LLC
16 "Fun Commands" (1.11.0.6962) by AlliedModders LLC
17 "[TF2] Custom Weapons X - Equip Commands" (1.1.0) by nosoop
18 "[TF2] Custom Attribute Manager" (1.0.0) by nosoop
19 "[TF2] Custom Weapons X" (X.0.10-2c22df4) by nosoop
20 "Basic Chat" (1.11.0.6962) by AlliedModders LLC
21 "Client Preferences" (1.11.0.6962) by AlliedModders LLC
22 "Sound Commands" (1.11.0.6962) by AlliedModders LLC
23 "Anti-Flood" (1.11.0.6962) by AlliedModders LLC
24 "TF2 Utils" (1.3.2) by nosoop
25 "[TF2CA] Custom Weapons Config Adapter for Custom Attributes" (1.2.2) by nosoop
26 "Reserved Slots" (1.11.0.6962) by AlliedModders LLC
27 "Basic Info Triggers" (1.11.0.6962) by AlliedModders LLC
Pre-flight checklist
Environment
Description
Upon using the Shortstop as a base and increasing the maxammo with the attribute: "maxammo primary increased", the shortstop spawns with 25 reserve ammo instead of the intended 200. This is not an issue with the attribute not working- the reserve can still be filled up to max, it's just emptied beforehand.
Steps to replicate
Make a primary weapon that inherits the shortstop, then add the attrib "maxammo primary increased", any value above 1 is fine. the weapon, upon recieving, will have 25 reserve ammo, not the specified amount.
Other information
sample: minimalrecreate.txt