Skip to content

XCOM 2 Mod Config Menu: a project to build a shared settings menu for Xcom 2 mods.

Notifications You must be signed in to change notification settings

andrewgu/ModConfigMenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mod Config Menu

XCOM 2 Mod Config Menu: a shared settings menu for Xcom 2 mods.

Features

  • Optional dependency - Your mod still works when MCM isn't installed.
  • Very simple API - A basic settings page only takes a few lines. You don't have to write UI code if you don't want to.
  • Compiles with your code - One function call makes the page, another makes the button, and if you're doing it wrong ModBuddy will tell you.
  • Lots of useful features - You can preview settings, dynamically change one setting based on another, even inject a custom settings UI.
  • Built-in version control: if your mod and the MCM versions are incompatible, MCM will handle it gracefully.

XCOM Chimera Squad: Will there be a Chimera Squad version?

Yes. I will begin work to port MCM to Chimera Squad after I finish my first playthrough.

Gamers: How do I use this?

  1. Install this mod via Steam Workshop or Nexus.
  2. That's it! If you have any mods that use MCM, it'll just work.

Developers: How do I use this?

For details, see the documentation.

  1. Install the MCM mod. Recommend you do this by cloning the repo and compiling in ModBuddy.
  2. Add the API source files into your ModBuddy project, and make a few specific configuration changes.
  3. Warning: If you use MCM, make sure that your mod loads configurations properly when MCM is missing or if the player never actually opens MCM. See the tutorial for specifics.

Screenshots

Mod Settings button in the options screen:

Mod Settings button in the options screen

Example mod rendered in the MCM UI:

Example mod rendered in the MCM UI

Credits

Many thanks to everyone who has contributed code to this project! Specifically:

  • Superd22
  • BlueRaja
  • Patrick-Seymour
  • RealityMachina

And also many thanks to others who have contributed to this project's ongoing development:

  • CMDBob
  • korgano
  • robojumper

License

If it's not covered by Firaxis, then it's covered by the MIT License:

The MIT License (MIT)

Copyright (c) 2016 Andrew Gu

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

If you publish or release any work based on the code in this project, you must include attribution of credit to myself (Andrew Gu) as well as all contributors:

  • Superd22
  • BlueRaja
  • Patrick-Seymour
  • RealityMachina
  • CMDBob
  • korgano
  • robojumper

About

XCOM 2 Mod Config Menu: a project to build a shared settings menu for Xcom 2 mods.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published