Logo Platform
logo amplifiers simplified

Can owning a terraformed planet be checked for as a quest trigger?

Reply
Copied to clipboard!
7 years ago
Nov 30, 2017, 10:28:20 PM

Brand new to modding in general, wanted to add a bunch of new faction specific quests beyond the faction plotlines. As the subject states, if possible I'd like to make a quest that can only trigger if you've got a world that has had terraforming performed on it. I think I see a way to check whether a terraforming "building" completes as a trigger, but unless I'm missing something, there doesn't appear to be any record left of what type of planet it used to be, or even that it had been terraformed past the completion event. Just wanted to be sure that was the case. I've got ideas either way, but I don't want to bark up trees I won't be able to climb while writing these.

0Send private message
7 years ago
Dec 4, 2017, 9:52:35 AM

Hello analogline :)

You can't check through the sim (using a path for example) if a planet has been terraformed. 

In addition, I think that the special planets (Kyros, Hekim, Auriga...) cannot be terraformed.


But if you really want to check "terraforming-situation" of a planet:

My advise is to create a "ghost" quest (you can find several occurences of ghost quests in XML - Example: SophonsQuest-Chapter0):

This quest will not be displayed to the player and will be used in order to check if a specific planet has been terraformed. 

If this planet has been terraformed, then the ghost quest launches the "real" one. 


 <Decorator_PlanetTerraformed>                          

           <Input_PlanetGUID VarName="$PlanetGUID"/>                              

 </Decorator_PlanetTerraformed>

<Action_ChooseOutcome Name="RealQuest"/>


Another solution, as you said, is to focus on buildings. But I think it will be much more complex :/ 

There is a lot of buildings made to terraform a planet. You'll need to know which is the current type of the planet and the next one.

Updated 7 years ago.
0Send private message
?

Click here to login

Reply
Comment