• new gamemode recognition
    11 replies, posted
Hey! Just a quicky' if i may. I have followed this simple lua tutorial to make a simple game-mode base. [url]http://wiki.garrysmod.com/?title=Simple_Gamemode[/url] The problem: When i start Garrysmod and go to change the game-mode, my game-mode is nowhere to be seen. Is there an addition to this code that i must add or may i have made a mistake somewhere down the line? I appreciate your time! Kyle EDIT: I have copied the code exactly, have the correct folder/file structure and have used lua files. Saves anyone asking about all that stuff.
Do you have a info.txt file in there?
[QUOTE=Persious;21470511]Do you have a info.txt file in there?[/QUOTE] yehp, got my little info.txt file in there but still nothing. Any other ideas? I'm still researching about this and i would hate to give up at the first hurdle. Thanks for your post Persious!
Can you take a screenshot of your gamemode folder? And what is the name of the gamemode? And no problem.
Here's a masterpiece i knocked up for you! :P [IMG]http://i44.tinypic.com/vghm5k.jpg[/IMG] Its literally just a clone of the tutorial i posted a link for in my first post, I havent edited anything yet as i want to get this sorted first. So its just called SimpleBuild.
Can you post what's in your info.txt file please?
And try making a entities folder and content folder.
[QUOTE=Persious;21490448]And try making a entities folder and content folder.[/QUOTE] Those folders are not needed, if there are no entities or contents. [QUOTE=Kyliie;21466603]The problem: When i start Garrysmod and go to change the game-mode, my game-mode is nowhere to be seen.[/QUOTE] -> Check the console for any errors. When gamemodes fail to load and switch to base, they usally paste out a blue text block saying it failed to load. There should also be errors around it, giving clues to what is wrong.
Sorry for the inactivity I've been trying to fix this. @_muffin: the info.txt is exactly the same as the one in the tutorial if you could look at that. @themaw: if you want to take a look at the console then here it is but i personally cant see any mention of the gamemode [code]Mounting hl2.. OK Mounting ep2.. Not Mounting ep2 (no access) No permission Mounting tf.. OK Mounting cstrike.. OK Mounting dod.. OK Mounting episodic.. OK Mounting hl2mp.. OK Mounting portal.. Not Mounting portal (no access) No permission Mounting lostcoast.. Disabled Mounting hl1.. Disabled Mounting hl1mp.. Disabled Mounting zeno_clash.. Not Mounting zeno_clash (no access) No permission Error, bad server command sv_allow_voice_from_file 0 Parent cvar in server.dll not allowed (sk_apc_missile_damage) Garry's Mod client.dll Build #075 [Feb 14 2010 12:55:20] maxplayers set to 128 Steam config directory: c:\program files\steam\steamapps\lordhardyii\garrysmod\platform\config Convar r_rootlod has conflicting FCVAR_CHEAT flags (child: FCVAR_CHEAT, parent: no FCVAR_CHEAT, parent wins) Convar r_eyeglintlodpixels has conflicting FCVAR_CHEAT flags (child: FCVAR_CHEAT, parent: no FCVAR_CHEAT, parent wins) Convar r_skin has conflicting FCVAR_CHEAT flags (child: no FCVAR_CHEAT, parent: FCVAR_CHEAT, parent wins) Convar mat_softwareskin has conflicting FCVAR_CHEAT flags (child: no FCVAR_CHEAT, parent: FCVAR_CHEAT, parent wins) Didn't find particle function Rotation Orient Relative to CP Didn't find particle function Rotation Orient Relative to CP Didn't find particle function Rotation Orient Relative to CP Didn't find particle function Rotation Orient Relative to CP Didn't find particle function Rotation Orient Relative to CP Didn't find particle function Rotation Orient Relative to CP Didn't find particle function Rotation Orient Relative to CP Didn't find particle function Rotation Orient Relative to CP Didn't find particle function Rotation Orient Relative to CP Didn't find particle function Rotation Orient Relative to CP Didn't find particle function Rotation Orient Relative to CP Didn't find particle function Rotation Orient Relative to CP Didn't find particle function Rotation Orient Relative to CP Didn't find particle function Rotation Orient Relative to CP Didn't find particle function Rotation Orient Relative to CP Didn't find particle function Rotation Orient Relative to CP Didn't find particle function fade_and_kill Didn't find particle function spin Didn't find particle function random_radius Didn't find particle function random_rotation Didn't find particle function initialize_within_sphere Garry's Mod server.dll Build #075 [Feb 14 2010 12:55:15] maxplayers set to 1 Unknown command "sv_backspeed" GetAllManifestFiles: Unable to load maplist.txt --- Missing Vgui material vgui/..\vgui\icon_con_high --- Missing Vgui material vgui/../vgui/icon_con_high.vmt [/code]
[QUOTE=themaw;21490701]Those folders are not needed, if there are no entities or contents.[/QUOTE] Thought so. But try putting the same codes from the beginning again.
Well I'm going to give this a go again from scratch maybe tonight or tomorrow and I'll see if i can make any progress on this. Thanks for your help guys.
Try running the following commands in console: [code]sv_gamemode SimpleBuild sv_defaultgamemode SimpleBuild map gm_flatgrass[/code] It should load flatgrass, hopefully with your gamemode. If the map loads and your gamemode hasn't, post console log.
Sorry, you need to Log In to post a reply to this thread.