• How can I make gamemodes better?
    249 replies, posted
  • Avatar of garry
  • I'm gonna be looking at gamemodes soon, to see what we can do to improve and encourage more of them.. especially singleplayer gamemodes (maybe not sandbox as much as story based). One of the ideas I had was to be changing the gamemode on the main menu, and that affecting everything else (like the skin, menu background etc). And if you have a gamemode set when you start a new game it'll start in that gamemode, and when you search for servers it'll find only that gamemode. Anyone have any input?
  • Avatar of Legend286
  • Shipping more gamemodes with the game would definitely be better, gamemodes such as Zinger (if it ever gets finished) are prime examples of the sort of thing that should be included.
  • Avatar of Dorkslayz
  • You could allow a user to download some approved gamemodes (DarkRP, Some new SP Gamemodes, whatever) through the main menu.
  • Avatar of Aide
  • [QUOTE=Dorkslayz;34738268]You could allow a user to download some approved gamemodes (DarkRP, Some new SP Gamemodes, whatever) through the main menu.[/QUOTE] I imagine if you do that you have to have some disclaimer since they use a 3rd svn site like google code.
  • Avatar of lexic
  • This may sound silly and trivial but I'd quite like a better way to include modules with a gamemode. Having to do gamemodename/gamemode/includes/modules is a bit ick. Maybe just gamemodename/modules? I quite like building potentially re-usable sections of code into actual re-usable Lua modules, but having to hide them three levels deep (including one empty folder) is a bit annoying. It would also help people who need binary modules like mysql/queryphys/sourcenet/openaura_1(ha ha ha) for their gamemode to work. On the note of MySQL, could you possibly include libmysql with gmod? It wouldn't give any benifits to end users admittedly, but it would certainly help server hosters.
  • Avatar of E X C L
  • [QUOTE=Lexic;34738351]This may sound silly and trivial but I'd quite like a better way to include modules with a gamemode. Having to do gamemodename/gamemode/includes/modules is a bit ick. Maybe just gamemodename/modules? I quite like building potentially re-usable sections of code into actual re-usable Lua modules, but having to hide them three levels deep (including one empty folder) is a bit annoying. It would also help people who need binary modules like mysql/queryphys/sourcenet/openaura_1(ha ha ha) for their gamemode to work. On the note of MySQL, could you possibly include libmysql with gmod? It wouldn't give any benifits to end users admittedly, but it would certainly help server hosters.[/QUOTE] I would love to see a better way to add modules to gamemodes, this sounds perfect.
  • Avatar of Simple_sa
  • [QUOTE=Lexic;34738351]This may sound silly and trivial but I'd quite like a better way to include modules with a gamemode. Having to do gamemodename/gamemode/includes/modules is a bit ick. Maybe just gamemodename/modules? I quite like building potentially re-usable sections of code into actual re-usable Lua modules, but having to hide them three levels deep (including one empty folder) is a bit annoying. It would also help people who need binary modules like mysql/queryphys/sourcenet/openaura_1(ha ha ha) for their gamemode to work. On the note of MySQL, could you possibly include libmysql with gmod? It wouldn't give any benifits to end users admittedly, but it would certainly help server hosters.[/QUOTE] Defiantly agree with including libmysql. It comes with SQLite so why not include MySQL modules as well.
  • Avatar of lexic
  • [QUOTE=Simple_sa;34738471]Defiantly agree with including libmysql. It comes with SQLite so why not include MySQL modules as well.[/QUOTE] I wouldn't go for him including the actual gm_ mysql modules, since there are three of them and it's nice to let people choose (+ updates), but including the libmysql.dll that all of them need would simplify both distribution and installation. [editline]17th February 2012[/editline] (yes and the .so/.dylib versions too before anyone complains about windows-centric)
  • Avatar of Dorkslayz
  • [QUOTE=Lexic;34738572]I wouldn't go for him including the actual gm_ mysql modules, since there are three of them and it's nice to let people choose (+ updates), but including the libmysql.dll that all of them need would simplify both distribution and installation. [editline]17th February 2012[/editline] (yes and the .so/.dylib versions too before anyone complains about windows-centric)[/QUOTE] and then we have the issue of modules becoming out of date and garry doesn't have the source to update them.
  • Avatar of lexic
  • [QUOTE=Dorkslayz;34738782]and then we have the issue of modules becoming out of date and garry doesn't have the source to update them.[/QUOTE] What?
  • Avatar of Clavus
  • [QUOTE=garry;34738100]I'm gonna be looking at gamemodes soon, to see what we can do to improve and encourage more of them.. especially singleplayer gamemodes (maybe not sandbox as much as story based). One of the ideas I had was to be changing the gamemode on the main menu, and that affecting everything else (like the skin, menu background etc). And if you have a gamemode set when you start a new game it'll start in that gamemode, and when you search for servers it'll find only that gamemode. Anyone have any input?[/QUOTE] Yeah it'd be cool if they could act like Source mods; changing the entire menu, maybe even have their own soundtrack.
  • Avatar of Jimbomcb
  • can't think of any technical problems, it just seems to be being able to make it easier for people to play new gamemodes stuff that comes to mind would be having a specific gamemode browser, listing all the current gamemodes and total servers playing them, allowing you to click in and list all the servers for that gamemode. some easy way to ensure the client is sent all the specific gamemode data would be pretty awesome too... something along the lines of zipping up the whole content folder and downloading it automatically (without having to mess about with both making sure every file is available to fastdownload, having it go straight into the garrysmod/ folder cluttering up that stuff) would ideally make it easier for gamemode creators making being able to ensure the client gets all the content, server owners as they'd have to set up less and clients as they would ideally have all the content separated, could even go as far as having it list the gamemode specific content in the same way you just implemented for addons in the spawn menu [editline]17th February 2012[/editline] the whole starting a new game in a different gamemode then only listing servers for that gamemode sounds like it would be awkward for users but can't really say without seeing it in action I guess
  • I for one would personally love to see Garry's Mod used more as a base for singleplayer games, the Elevator:Source mod is a perfect example of this
  • Avatar of Dorkslayz
  • [QUOTE=Lexic;34738790]What?[/QUOTE] Well, if Garry updates GMod again and some of the modules he includes get outdated - How will he fix them?
  • Avatar of lexic
  • [QUOTE=Dorkslayz;34739161]Well, if Garry updates GMod again and some of the modules he includes get outdated - How will he fix them?[/QUOTE] Somehow I don't think libmysql is going to be broken by a garrysmod update, what with it being completely unconnected in every possible way.
  • Avatar of pennerlord
  • [QUOTE=Dorkslayz;34739161]Well, if Garry updates GMod again and some of the modules he includes get outdated - How will he fix them?[/QUOTE] Every public module must have the source included (or in a separate download link).
  • Avatar of stealthpaw
  • Give game-modes the ability to control most things in gmod, like the main menu. And although it might sound absurd, the ability to launch a game-mode from desktop, like a source mod, we should be able to make g mods, coding the game using lua rather then C++. I always thought the idea of Garry's Mod becoming its own engine in sorts would be amazing.
  • Avatar of rebel1324
  • Add more hook or just let us can hook entities output. And Provide more good quality of gmod wiki
  • Avatar of fnox
  • Make it so the content folder instantly adds all the files it has to the required resource on the server. As in, it adding as a resource everything inside it, recursively, and making it download to the root garrysmod folder, so if you have a file in gamemodes/yourgamemode/content/models/whatever.mdl, it downloads to models/whatever.mdl automatically. Make it so gamemodes the client currently has installed don't override the current gamemode in multiplayer. It is particularly irksome for developers, as the only fix to that is to turn ScriptEnforce on, and even then, it doesn't quite fully work, since when you have ScriptEnforce on and the client downloads a new Lua cache file, [I]neither[/I] version gets loaded properly. Perhaps allowing gamemodes to be downloaded as a Zip file without requiring extraction would be a good idea, it'd ease distribution. A functional command for reloading the whole gamemode without having to redownload the map would be great for development, too.
  • Avatar of lexic
  • Oh yes, that's a thought. Can you make it so we can easily create entities that can take part in source's trigger system? I know you can AcceptInput() so entities can fire() on you, but last time I checked, there wasn't a way that let you fire outputs that other entities could hook into.
  • Avatar of OldFusion
  • Better way of sharing them, both for singleplayer mods and multiplayer server->client filesharing. Ofc access to some more engine internal stuff (such as shaders) would possibly attract some more people that would currently use the Source-Engine itself as the mod base.
  • Avatar of GameDev
  • Call up the Acension devs and see if they'll do some singlplayer missions or something But being honest, if you were to add a gamemodes section to steamworks it would probably all be just preexisting gamemodes.
  • Avatar of Ghork
  • If you were to change the whole menu for different gamemodes and only seeing those modes in the server lists, then favorites should still be the same, or it should be possible to see all kinds of servers, 'cause it would be kind of annoying trying to find any of your favorite servers with players on and having to change menu gamemode just to be able to see all of them.
  • Avatar of alexgrist
  • It would be nice if we could use the in-game downloading, so that you can download the contents of the next level while playing the current one and not having a long wait on the loading page.
  • Avatar of lexic
  • [QUOTE=Lexic;34739551]Oh yes, that's a thought. Can you make it so we can easily create entities that can take part in source's trigger system? I know you can AcceptInput() so entities can fire() on you, but last time I checked, there wasn't a way that let you fire outputs that other entities could hook into.[/QUOTE] Oh my bad, looks like that's [[url=http://luabin.overvprojects.nl/?path=/gamemodes/base/entities/entities/base_entity/outputs.lua]actually allready been done[/url]]. Sorry
  • Avatar of CrashLemon
  • You could implement a second server browser based on current hosted gamemodes instead of single servers. You'd either "join a gamemode" which would join a random server hosting the current gamemode or you could have a dropdown feature, in the style of your map selection in singleplayer, that would show servers by gamemode. Or both. Also, to remove the abundance of similar gamemodes (DarkRP, Dark RP, darkRP2.3, theDarkRP, etc...) a possibility of manually linking gamemodes together would clutter them under one dropdown menu. With this in mind, you could add ratings which would show next to the names of the gamemodes, "Beta" and "Wip" icons could also be added (for the hype). The whole idea of that is to give players a sense of "browsing games" through GMod instead of just joining server mods ala Counter-Strike or Team Fortress.
  • Avatar of superadamwo
  • Yeah a gamemode browser is definitely one of the things needed the most. The reason why a lot of less-known gamemodes don't get played is because the only way to find them currently is to sort the server browser by gamemode, which means you have to scroll through 300 Dark RP servers to find the (often ONE) server that is hosting each less popular gamemode. It would be a lot better if each gamemode was given equal viewing opportunity so people actually have a chance to find new ones. Another idea might be to host a bunch of official facepunch servers with many popular gamemodes on them, similar to what Valve has done to TF2, where each server hosts a different gamemode. That way you can press a "start playing" button, select a gamemode, and instead of worrying about finding a server it will join you to one that is guarenteed to be the vanilla gamemode with no stupid additions, lag, or artificial player-count bots that plague other servers. This will also help filter out the depressing number of awful, non-functional gamemodes that I and many others often find when joining random servers with interesting-sounding gametypes.