ENDLESS™ Space is a turn-based 4X strategy game, covering the space colonization age in the ENDLESS™ Universe. You control every aspect of your civilization as you strive for galactic dominion.
So basically, i want to deny the ability to build a specific star system improvement if a certain anomaly is present in system. What would be the correct entry for PathsPrerequisites to do this?
Something like [CODE]!$(PlanetAnomalyAGED03)[/CODE]
LogicSequence wrote: So basically, i want to deny the ability to build a specific star system improvement if a certain anomaly is present in system. What would be the correct entry for PathsPrerequisites to do this?
Something like [CODE]!$(PlanetAnomalyAGED03)[/CODE]
Note: this obviously did not work.
Well, that's what i would have tried first... Look at how planet types are declared, that may give you a hint of what is missing (like ../ or something). Unfortunately i can't test it since i don't have access to the game right now.
Well i have looked into all the instances of PathsPrerequisites, unfortunately none meantion anomalies. I can't quite seem to work out how to send the prereq (which is system wide) down to a specific planet, or more precisely, have it check all planets in a system for X (in this case, an anomaly). If anomalies were system wide ../ClassStarSystem/PlanetAnomalyAGED03might have worked, but they're not. So i assume something ../ClassStarSystem/ClassPlanet,PlanetAnomalyAGED03 might work, but then will that check every planet, or just one?
Well, I don't know if this will help you or not, but if its a PathPrerequisites that specifies an anomaly, they do exist, they are in the "PlanetImprovement.xml" file which specifies all anomaly reduction. For example:
[CODE]
PlanetAnomaly22Reduction1
$(PlanetAnomaly22) and $(PlanetStatusColonized)
%PlanetAnomaly22Reduction1Title
%AnomalyReduction1Description
%AnomalyReductionTooltipEffect
[/CODE]
Has the path prereq $(PlanetAnomaly22); presumably you can invert that to get prevent an improvement if said anomaly is present
Right, this is true, i did forget about that. However it's the bit that comes before that i'm unsure of, as in !$(?WHAT GOES HERE?/?ANYTHING HERE?,PlanetAnomaly22), and will that count for all planets in a system?
LogicSequence
Old Survivor
LogicSequence
Old Survivor
12 900g2g ptsReport comment
Why do you report LogicSequence?
Are you sure you want to block LogicSequence ?
BlockCancelAre you sure you want to unblock LogicSequence ?
UnblockCancelLogicSequence
Old Survivor
LogicSequence
Old Survivor
12 900g2g ptsReport comment
Why do you report LogicSequence?
Are you sure you want to block LogicSequence ?
BlockCancelAre you sure you want to unblock LogicSequence ?
UnblockCancelVIPForaven
Newcomer
VIPForaven
Newcomer
16 500g2g ptsReport comment
Why do you report Foraven?
Are you sure you want to block Foraven ?
BlockCancelAre you sure you want to unblock Foraven ?
UnblockCancelLogicSequence
Old Survivor
LogicSequence
Old Survivor
12 900g2g ptsReport comment
Why do you report LogicSequence?
Are you sure you want to block LogicSequence ?
BlockCancelAre you sure you want to unblock LogicSequence ?
UnblockCancelAntera
Newcomer
Antera
Newcomer
100g2g ptsReport comment
Why do you report Antera?
Are you sure you want to block Antera ?
BlockCancelAre you sure you want to unblock Antera ?
UnblockCancelLogicSequence
Old Survivor
LogicSequence
Old Survivor
12 900g2g ptsReport comment
Why do you report LogicSequence?
Are you sure you want to block LogicSequence ?
BlockCancelAre you sure you want to unblock LogicSequence ?
UnblockCancelLogicSequence
Old Survivor
LogicSequence
Old Survivor
12 900g2g ptsReport comment
Why do you report LogicSequence?
Are you sure you want to block LogicSequence ?
BlockCancelAre you sure you want to unblock LogicSequence ?
UnblockCancelAntera
Newcomer
Antera
Newcomer
100g2g ptsReport comment
Why do you report Antera?
Are you sure you want to block Antera ?
BlockCancelAre you sure you want to unblock Antera ?
UnblockCancel