Jump to content


Photo

Auto-win cheat


  • Please log in to reply
1 reply to this topic

#1 PezzA

PezzA

    Squaddie

  • Xenocide Programming Department
  • 5 posts

Posted 02 December 2009 - 03:16 PM

Just a quick patch that introduces a new cheat 'allowAutoWinBattlescape'.

If set to true (which it is by default in this patch) it gives you a new button on the start battle scape dialogue giving you the option to auto-win. This will let you pick up points and salvage from the mission, and a coach load of alive and surprised aliens all ready for water-boarding.

I figured this would be useful for Geoscape testing prior to the battlescape being finished.

Attached File  autowin2.zip   2.22K   16 downloads

edit: forgot a file in the patch. Autowin2 is good.

Edited by PezzA, 02 December 2009 - 04:21 PM.


#2 dteviot

dteviot

    Programming Department

  • [Xenocide Senior Members]
  • 1479 posts

Posted 03 December 2009 - 12:54 PM

Just a quick patch that introduces a new cheat 'allowAutoWinBattlescape'.

And added to trunk. (I had an hour spare last night.) I also had a quick look at the UFO mission movement patch. Very nice. There's a few minor tweaks I want to make. Specficially, the loops for plotting hidden and non-hidden UFOs on the geoscape can be merged, and GeoBitmap.GetClosestLandPosition() can check to see if starting location is ground, which would eliminate the need to test for that prior to each call to GetClosestLandPosition().
And there's some minor spelling errors e.g. GetClosetLand -> GetClosestLand(), PointOfInterst -> PointOfInterest.

Just to clarify, I'll make the fixes when I check it in. There's no need for PezzA to submit an updated patch.

Edited by dteviot, 03 December 2009 - 12:55 PM.

Saving the world from the scum of the universe is hard work. Especially when you have to create the scum to begin with.