Jump to content

New game mode


Recommended Posts

Hello all,

I come here to ask you if anyone know how to add a new game mode, by game mode i mean like a "career" or "sandbox". I wish to try to add one for a mod i want to make.

I hope someone know that for help me. Thanks a lot for reading this and maybe for helping me.

Link to comment
Share on other sites

I haven't tested it but you might be able to do it by creating your own class extending the Game-class and setting the HighLogic.CurrentGame to the class you just created.

The problem is that you wont be able to change the New-Game dialogue to contain your new game mode, so you will have to find another way for the player to select your mode.

The Game-class has a predefined enum called Modes which you will have to change in your extending class.

Hope this helps.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...