Announcement

Collapse
No announcement yet.

Is this possible: setVictoryCondition(INT VictoryType, BOOL True/False)?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is this possible: setVictoryCondition(INT VictoryType, BOOL True/False)?

    I'm looking for a way to enable or disable victory conditions in game. It seemed to me that the logical place to look for such a method is within CyGame. I can test to see if Victory types are enabled, and I can trigger a victory for a given player, but I can't seem to enable or disable victory conditions within a game.

    My desire is to create a quickstart mod. I absolutely hate Space Race victories, I've grown tired of un-checking it everytime I start a new game.

    I've searched all the XML trying to find where the enabled/disabled status of the victory conditions are, but I am at a loss. I assumed it would be like the game options xml, and I could very easily substitute a 0 for a 1 and never deal with it again, but I was wrong.

    Then I decided to give Python a go, but it too seemed to allow me to do everything but actually set the victory conditions.

    Anyone have any insight into this?
Working...
X