Dominus Galaxia: KS Edition

Dominus Galaxia: KS Edition

Wingnut Aug 16, 2020 @ 10:48am
Cheat codes?
Are there any cheat codes for this game?
< >
Showing 1-3 of 3 comments
hurleybird  [developer] Aug 16, 2020 @ 1:59pm 
There are a few, you just type them in on the main galaxy screen. Some are useful for cheating, and a lot are only really useful for debugging stuff. This is just a slice of the source code, but you can see the cheat code in quotations. Eg. the first cheat is "galaxygentest".

new CheatCode("galaxygentest", () => RegenGalaxy()), // Generates new galaxies until stopped.
new CheatCode("createbattle", () => createBattleMode = true), // Creates a test battle. Enter a number between 0-7 after typing the code.
new CheatCode("changeowner", () => changeOwnerMode = true), // Changes the owner of a colony. Enter the EmpireID after typing the code.
new CheatCode("nuke", Nuke), // Destroy selected colony.
new CheatCode("takeover", TakeOverColony), // Active player gains control over the selected colony.
new CheatCode("reveal", () => ToggleReveal(!Revealed)), // Toggles fully revealed map.
new CheatCode("forceevents", ToggleForcedEvents), // Toggles whether random event will be forced to spawn each turn.
new CheatCode("peek", ToggleBattlePeeking), // Lets player observe AI vs. AI battles.
new CheatCode("toggleaitest", () => ToggleAiTest(true, true)), // Begin battery of AI tests (auto turn, toggles AI control, continuously runs new test on game creation).
new CheatCode("autoturn", () => ToggleAutoTurn()), // Automatically end turns.
new CheatCode("togglecontrol", ToggleControl), // Toggles between AI and player control of selected empire.
new CheatCode("replaymode", ToggleReplayMode), // Toggles replay mode, so an observer can quickly cycle between contiguous save games (specifically for an AI test).
new CheatCode("moola", ToggleReserveEditing), // Enables reserve editing mode.
new CheatCode("wipereserves", () => SetReserveAmount(0d)), // Sets reserve to 0.
new CheatCode("trillioncredits", () => SetReserveAmount(1000000000000d)), // Sets reserve to 1,000,000,000,000;
new CheatCode("fleetvis", FleetVisibility), // Displays a debug.log message detailing visibility values of selected fleet.
new CheatCode("checksensors", CheckSensors), // Prints a debug.log message detailing how the strength of the player's sensors at a fleet's location.
new CheatCode("lockdestination", LockDestination), // Locks the destination of the selected fleet.
new CheatCode("makecontact", MakeContact), // Forces all empires to be in contact with one another.
new CheatCode("everyonelovesme", MaxRelations), // Maxes the relations of all empires with all human players.
new CheatCode("createspyops", () => CreateSpyOps()), // Spawn new spy ops. (NOTE: In the very early game it's possible that you won't be able to meet requirements for ops to spawn.)
new CheatCode("doublefleet", DoubleFleet), // Doubles the size of the selected fleet.
new CheatCode("freetech", ToggleFreeTech), // Automatic breakthroughs.
new CheatCode("givealltechs", GiveAllTechs), // Gives all techs (up to level 100).
new CheatCode("everyonegetstechs", EveryoneGetsTechs), // Gives each empire 5 random techs per field
new CheatCode("generatetechs", GenerateTechs), // Generates more procedural techs.
new CheatCode("placewormhole", PlaceWormhole), // Places a wormhole at the selected start system, leading to a random star system.
new CheatCode("togglestarlanes", ToggleStarLanes), // Toggles star lanes on and off.
new CheatCode("disabletransient", DisableTransient), // Disables transient wormholes.
new CheatCode("staticmaster", StaticMaster), // Sets AI mode to static, difficulty master.
new CheatCode("aiflags", AiFlags), // Enter AI flags for selected empire.
new CheatCode("buildcache", RebuildPathFinderCache) // Rebuild (and benchmark) the pathfinder cache of the player empire.

hurleybird  [developer] Aug 16, 2020 @ 2:02pm 
the "togglecontrol" cheat is handy if you want to turn a hotseat game into a regular one or vice-versa, but one thing to note is that empires will revert to their original type anytime you load a game.

"reveal" shows you the entire map, but it doesn't update your intel, so if you toggle it back off you're back to your original view of things.
Last edited by hurleybird; Aug 16, 2020 @ 2:04pm
Wingnut Aug 17, 2020 @ 3:28am 
Cool, thanks :happyrv:
< >
Showing 1-3 of 3 comments
Per page: 1530 50