Developer PeterA Posted July 21, 2015 Developer Share Posted July 21, 2015 Hey everyone, In the new UI branch, we're handling the way mods are treated, and server mods are no longer enabled in the front end. A consequence of this is that game mode mods don't get their modmain file run until we start the server. This results in game modes being unable to be added to the game mode spinner in the FE when creating the server. Now we have the game mode information specified in the modinfo file, like so...game_modes ={ { name = "glutton", label = "Glutton", settings = { ghost_sanity_drain = true, portal_rez = true } }}Please let me know if you have any questions! More info about the new branch is available here. http://forums.kleientertainment.com/topic/56247-new-ui-preview-branch-now-available/ Link to comment https://forums.kleientertainment.com/forums/topic/56343-addgamemode-removed-from-upcoming-modapi/ Share on other sites More sharing options...
Kzisor Posted July 21, 2015 Share Posted July 21, 2015 Cross-post: @PeterA, game modes are still missing the ability to add a description for the ? button from a mod. It looks like it should be "description" however, based on the code that is never used and it will always be blank for modded game modes. Link to comment https://forums.kleientertainment.com/forums/topic/56343-addgamemode-removed-from-upcoming-modapi/#findComment-656176 Share on other sites More sharing options...
Developer PeterA Posted July 21, 2015 Author Developer Share Posted July 21, 2015 game modes are still missing the ability to add a description for the ? button from a mod. It looks like it should be "description" however, based on the code that is never used and it will always be blank for modded game modes. Good catch. I'll get that sorted out and post back. Link to comment https://forums.kleientertainment.com/forums/topic/56343-addgamemode-removed-from-upcoming-modapi/#findComment-656231 Share on other sites More sharing options...
Developer PeterA Posted July 21, 2015 Author Developer Share Posted July 21, 2015 @Kzisor, actually the description was supported but you'd have to put it in the settings table. I made it a bit more obvious though and you can now specify it in the settings table or the parent table.game_modes ={ { name = "glutton", label = "Glutton", description = "This game mode is all about eating food as a team. Your glutton bonus multiplier is individual and increases as you eat more. Make sure you keep eating or your multiplier will drop!", settings = { ghost_sanity_drain = true, portal_rez = true } }} Link to comment https://forums.kleientertainment.com/forums/topic/56343-addgamemode-removed-from-upcoming-modapi/#findComment-656253 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now