Jump to content

Recommended Posts

  • Developer

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/

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. 

  • Developer
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. 

  • Developer

@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		}	}}

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...