• Could use some help with gamemode selection
    2 replies, posted
Well, I made a simple gamemode for garrysmod. All it does it remove the default hud and makes a new one. I wanted to test it out, the folder is in garrysmod/garrysmod/gamemodes. I named the folder "stevorp" and the txt file inside "stevorp.txt" and so forth, followed what I was suppose to do, etcetera, and when I go in gamemode and click in the bottom right hand corner to change my gamemode, it doesn't show up. Only sandbox and Trouble in Terrorist Town shows up. I tried to go on a map with sandbox and type in the console "gamemode stevorp" but that only said that no gamemode with that name existed. Any idea how I can fix this so that I can test it? Any help would be great PS: Please only reply if you can help. Do not post saying to google it or anything because I already did and I couldn't find anything about it.
Does your gamemode have init.lua, cl_init.lua and shared.lua? Read through this wiki page, too. [url]http://wiki.garrysmod.com/page/Gamemode_Creation[/url]
Sorry, I found my problem. I haven't played garry's mod in a while and I didn't know they switched it over to the commons folder or something. It use to be in the user account folder instead. I now have 2 seperate folders for gmod. I'm assuming it's safe to delete the one in my user account folder? [editline]25th July 2013[/editline] Sorry for the bump, but I have another question. I got it to work, like I said, but now that I'm trying to derive the gamemode from sandbox (so I get the spawnmenu and so forth) I get this error in the console: [code] Couldn't include file 'sandbox\gamemode\cl_init.lua' (File not found) (@gamemodes/stevorp/gamemode/cl_init.lua (line 5)) [/code] How can I fix this?
Sorry, you need to Log In to post a reply to this thread.