Are you, in fact, a pregnant lady who lives in the apartment next door to Superdeath's parents? - Commodore

Create an account  

 
New cheats or debugging shortcuts?

Is there any room to add new cheats or debugging shortcuts to MoM v1.5? The old ALT-PWR cheat I never liked. All that happens is the CPs start casting their world-shattering rare and very rare enchantments and the game goes off the rails. I'd like just ME to get the benefits. Some other cheats would be useful. A fully leveled Torin the Chosen with a group of elite Paladins on your capital, or something like that. What other useful cheats or debugging shortcuts could exist? What do other games do?

We can use the real-time tweaker, but unfortunately even opening this tool reveals information about the game I'd rather not see. The other wizards, the units in the game, the number and location of cities, etc.
Reply

Reset and re-randomize all lairs?
--I like ILSe
Reply

Ooh, that's a good one. I like it! How about "automatically win the next fight" in order to test what's inside the lairs? A cheat that makes lairs and neutral cities start constantly spawning wandering monsters and raiders? Clear the next stack clicked from the map? Teleport a stack from one place to another? Conjure a unit of your choice using the "Guises" dialog box? Your units don't take damage? Your units do max damage with every hit? Make a computer player take over your position and start moving your units (with strategic combat on, of course)?
Reply

One new debug feature I added in CoM is this :
There was an ALT-N option to show continent IDs and coordinates on the overland map (required debug mode to be enabled).
I changed this to also show, for all AI players (you can cycle through them)
-Their evaluation of each continent (own, contested, enemy, ally, empty)
-The focus point where they gather units
-The main action continent they have selected.

Eventually I'll add it to 1.51, if anyone wants it meanwhile, I attached the file.

.txt   W565FEAT.TXT (Size: 6.87 KB / Downloads: 3)

CoM also alters the PWR cheat to not include arcane spells, because everyone getting Spell of Mastery isn't very good for debugging. Having enemy wizards get spells is usually of no concern while debugging and sometimes even useful.

Quote: Make a computer player take over your position and start moving your units (with strategic combat on, of course)?
This one I actually considered, but haven't done yet, would be nice for debugging. Not sure if can work though, AI code was written with the assumption that it won't be run for player 0 so maybe it's not safe to do that.
Reply

How do you enable debug mode? How do you cycle through the players?
Reply

(August 19th, 2016, 13:11)Tiltowait Wrote: How do you enable debug mode? How do you cycle through the players?

The patch itself enables it, you don't need to, but in tweaker there is a "debug off" value, set it to 0.
Keep hitting alt+N and each adds +1 to the player displayed (ignore players 5-7 they don't exist, I had space issues so had to make it stop at 8 instead of 5 as a workaround), the explanation of what each number means is in the patch as well.
Reply



Forum Jump: