TTT server, trouble adding custom weapons with weapon placer
1 replies, posted
I'm using this one -
https://steamcommunity.com/sharedfiles/filedetails/?id=119928922
I can add weapons in sandbox to a map just fine. But when I export the txt file it doesn't work for custom weapons. It works for default weapons. I'm thinking maybe it's because I have to manually add the custom weapons to the weapon placer and I have no idea what the official name for the weapons are. Like the nintendo zapper - is that just called 'zapper?' Is it ttt_weapon_zapper? Probably not because it wasn't made specifically for ttt. I look through the actual files of the addon and I don't see an official file name. So then I end up with this txt file in the maps folder on my server telling the server to place a weapon there but then the server can't find that weapon. There are no errors, they just don't appear. Like if I made a txt file with xyz coordinates for a weapon called 324j2k3jkjskdfjgs then the server would just go on about its business ignoring that.
Any help would be appreciated. I've been trying for hours. I can custom weapons to spawn in sandbox just fine with the weapon placer.
Well I figured it out. It was that the weapon lua had to be named correctly. I just kept trying different names that I found in the weapon addon folder (extracted from gma file with gmad extractor). /home/feoleb/gmod_server/garrysmod/gamemodes/terrortown/entities/weapons is where I put the new configs for the custom weapons I have on my servers. Still needed some tweaking like ironsight angle and damage/clip/fire rate etc. but they work. I placed them with the weapon placer in a map in sandbox and then exported that txt to the garrysmod/maps folder on the linux server. There they are. Blowing up bots left and right now :p
Sorry, you need to Log In to post a reply to this thread.