Optional mega events?

Is there a way we could make certain mega events optional, or at least disable individual ones on large map sizes? 

 

I just had a game where a race on the other side of the map got the "Precursor artifact" event, by the time I was able to find them, I had 7 turns before they won. There was nothing I could do..

8,824 views 4 replies
Reply #1 Top

I think both events and the Precursor artifact can be removed/altered by modding,  I haven't checked for the right xml file

Other than that no there is no way (except to disable the respective DLC),   so disable, mod, or wait for SD to do more balancing

Reply #2 Top

....  I wasn't aware that the Precurser artifact one had a "win" scenario built right in to it.   How exactly did they win?

 

I out right hate the Ascension victory so I flat out turn it off all the time  so this might be why I've never seen this event create a victory situation. 

Reply #3 Top

It's pretty hard to get rid of individual Mega Events short of removing them entirely.  But it should be possible to make it REALLY hard to get by modding the file TheArtifact_MegaEventDefs.xml (which is in the Mega Events folder in the DLC folder).

In that file there is a turn prerequisite.  Change it from 120 to something obscene and never reachable like 10000 or something like that and then save that file with the EXACT same file name in the Game directory of the ExampleMod folder in the Mod folder and then enable mods.

Alternatively, one can alter what The Artifact Mega Event does by mucking about with the file TheArtifact_ScenarioTriggerSetDefs.xml and then saving that (again with the exact same name) in the mod directory.  But that requires a bit more work as you have to figure out what to replace it with.

Mind, I don't know if there is some upper bound for the amount of turns one can put in:

<Prerequ>
     <Turns>XXXXXXX</Turns>
</Prerequ>

but that's probably your best bet.

 

Reply #4 Top

Quoting BuckGodot, reply 3

Mind, I don't know if there is some upper bound for the amount of turns one can put in:
End of BuckGodot's quote

Last I checked, the upper bound on the value of numeric variables in the XML files was something like (2^31 - 1) / 1000, though I've not checked with any of the variables that could reasonably expect to see only integer values. If they decided to handle the variables that can reasonably be expected to only have integer values in them differently, then my expectation would be that those variables would have an upper bound of 2^31 - 1. The error dialogue will tell you what the maximum valid variable value is if you happen to use a value that exceeds the maximum allowed value.