View Single Post
torridgristle
Junior Member
Join Date: Aug 2020
Old 09-30-2020 , 19:03   Re: [TF2] Custom Weapons 3 (Beta 2)
Reply With Quote #260

How do I define the slot that a weapon should use?

I tried to make a new weapon based on Sniper's secondary SMG to use as a primary for Scout, and it was defined as "scout" "0" in the classes at the top of the config, so at the very least it appeared in the custom weapons menu as a primary for Scout, but it acted as though it occupied the second slot while the first slot did nothing, and of course I either didn't have access to Scout's actual intended secondary weapon or it didn't exist at all.

I imagine using the SMG as a baseclass caused it to inherit the behavior of being in the second slot, but I don't see any methods of changing the slot a weapon uses beyond the classes defined at the start, which seems to purely exist for the custom weapons menu to arrange items.

Config


Also, when another player equipped this, their weapon was invisible. As far as I can interpret the situation this isn't a custom model since it's the SMG with an unchanged model, so what can I do about this?
torridgristle is offline