Logo Platform
logo amplifiers simplified

Adding Wonders

Reply
Copied to clipboard!
11 years ago
May 7, 2013, 6:07:47 PM
Giant Tree on gas giant makes much more sense than Giant Tree on Terran btw ;p
0Send private message
0Send private message0Send private message
11 years ago
May 9, 2013, 11:28:12 AM
LogicSequence wrote:
I don't suppose anyone has tried adding a wonder for kicks since i brought this up eh? To see if i'm massively wrong or something? :/




Since i'm checking anomalies out (to include further anomalies/anomalies reductions in my mod) i noticed wonders are not called PlanetAnomaly but PlanetNaturalWonder or PlanetEndlessWonder. Did you change that in your tests?
0Send private message
11 years ago
May 8, 2013, 9:56:22 PM
I don't suppose anyone has tried adding a wonder for kicks since i brought this up eh? To see if i'm massively wrong or something? :/
0Send private message
11 years ago
May 8, 2013, 5:28:09 PM
Though I have the ultimate fix: renaming all wonders into "giant" - something and everything is fine again smiley: yell
0Send private message
11 years ago
May 8, 2013, 11:48:29 AM
Foraven wrote:
You think? How big that giant tree need to be to be visible on a gas giant? Earth could probably hang on one of the branch...
It is a "Giant" tree after all. smiley: biggrin
0Send private message
11 years ago
May 8, 2013, 2:48:27 AM
LogicSequence wrote:
Ok, so broken"ish". smiley: stickouttongue Still, the wonder I'm adding could be on any planet type, so it's ok. Still tho, any ideas on adding them properly? Or meaning an anomaly alone time only?




Hum, it's possible the unique wonders are hardcoded in some ways. Only a devs could really answer that one.
0Send private message
11 years ago
May 7, 2013, 8:36:32 PM
Ok, so broken"ish". smiley: stickouttongue Still, the wonder I'm adding could be on any planet type, so it's ok. Still tho, any ideas on adding them properly? Or meaning an anomaly alone time only?
0Send private message
11 years ago
May 7, 2013, 6:49:32 PM
Aureon wrote:
Giant Tree on gas giant makes much more sense than Giant Tree on Terran btw ;p




You think? How big that giant tree need to be to be visible on a gas giant? Earth could probably hang on one of the branch...
0Send private message
11 years ago
May 5, 2013, 11:09:35 PM
Ok.. WUT?



So i decided to try adding a wonder to my mod, looked easy enough as they're basically anomolies; however, i'm having an issue. I can add in the wonder just fine, it applies it's bonus as intended, is "upgraded" as intendeted, etc. The problem is this, i can't make it an actual "one time only" wonder, i.e. i can't make it appear only once on a map. If i give it entries for each planet type in GalaxySettings.xml like you would for normal anomolies, it can (and does) pop up multiple times on different worlds. I thought that changing the flag Serializable="true" to Serializable="false" in PlanetDescriptor.xml would make it, you know, not serialized and thus only appear once, that was not the case. So i figured it must be that if it has entries under the planet anomaly probabilities in GalaxySettings.xml it's being treated as any ordinary anomaly would. However, when i remove those entries (unsurprisingly) the wonder doesn't appear at all on maps.



So what am i doing wrong here? How do i get an anomaly/wonder to appear only once on a map? Or, how do i get wonders to appear if i can't list them in GalaxySettings.xml somewhere? I'm thoroughly confused.
0Send private message
11 years ago
May 7, 2013, 2:38:48 PM
nToxic wrote:
That is something I would like to know too. Did not realize it up to now!




Alright, they do work, it's just that unlike normal anomalies, Wonders can spawn on any planets, including asteroids... That means you can get a giant tree on a Gas Giant or an Icecap on a Lava Planet (i'm sure there are much worst possibilities).
0Send private message
11 years ago
May 7, 2013, 8:55:54 AM
LogicSequence wrote:
Broken? How so?


That is something I would like to know too. Did not realize it up to now!
0Send private message
11 years ago
May 7, 2013, 6:30:39 AM
Foraven wrote:
Never tried. Wonders are broken IMO so i believe you should stick to anomalies until the devs get around to fix them.




Broken? How so?
0Send private message
11 years ago
May 7, 2013, 4:33:24 AM
LogicSequence wrote:
Anyone tried to add wonders before successfully? Or did i royally mess something up?




Never tried. Wonders are broken IMO so i believe you should stick to anomalies until the devs get around to fix them.
0Send private message
0Send private message
11 years ago
May 6, 2013, 3:43:55 AM
Here is an example:



PlanetDescriptor.xml:

[CODE]























[/CODE]



Anomaly.xml

[CODE]

0.5

229;180;73;128

228;229;73;128



Graph/Effects/Prefabs/Anomalies/Fx_Ancient_Ruins_01

[/CODE]



PlanetImprovement.xml

[CODE]

PlanetEndlessWonderGEM13Restoration

$(PlanetEndlessWonderGEM13) and $(PlanetStatusColonized)



%PlanetEndlessWonderGEM13RestorationTitle

%PlanetEndlessWonderGEM13RestorationDescription



%GEMAnomalyReductionTooltip



[/CODE]



TechnologyExpansion.xml:

[CODE]









TechE24;TechE26









%TechE30Title

%TechE30Description





[/CODE]



Localization_Locales.xml:

[CODE]#E5B449#ENDLESS WONDER TEST#REVERT#

Endless Wonder Test description. Industry

#E5B449#ENDLESS WONDER TEST#REVERT#

Endless Wonder Test restoration description. [/CODE]
0Send private message
11 years ago
May 6, 2013, 3:35:02 AM
Foraven wrote:
Set them as an Endless Wonder; there can be only one of each. The problem is you can't set what planets they can spawn on, they can show up on any planet type regardless if it make sense (like a giant tree on a Gas Giant or Ice on a Lava Planet).




Right, did that. As i said, they don't appear at all if they're not included with the other anomalies in GalaxySettings.xml. And if i do include them, they spawn multiple times. smiley: frown Unless i'm totally missing where to designate them as Endless Wonders (PlanetDescriptor.xml, Type="PlanetEndlessWonder")?
0Send private message
11 years ago
May 6, 2013, 2:15:42 AM
LogicSequence wrote:
Ok.. WUT?



So i decided to try adding a wonder to my mod, looked easy enough as they're basically anomolies; however, i'm having an issue. I can add in the wonder just fine, it applies it's bonus as intended, is "upgraded" as intendeted, etc. The problem is this, i can't make it an actual "one time only" wonder, i.e. i can't make it appear only once on a map. If i give it entries for each planet type in GalaxySettings.xml like you would for normal anomolies, it can (and does) pop up multiple times on different worlds. I thought that changing the flag Serializable="true" to Serializable="false" in PlanetDescriptor.xml would make it, you know, not serialized and thus only appear once, that was not the case. So i figured it must be that if it has entries under the planet anomaly probabilities in GalaxySettings.xml it's being treated as any ordinary anomaly would. However, when i remove those entries (unsurprisingly) the wonder doesn't appear at all on maps.



So what am i doing wrong here? How do i get an anomaly/wonder to appear only once on a map? Or, how do i get wonders to appear if i can't list them in GalaxySettings.xml somewhere? I'm thoroughly confused.




Set them as an Endless Wonder; there can be only one of each. The problem is you can't set what planets they can spawn on, they can show up on any planet type regardless if it make sense (like a giant tree on a Gas Giant or Ice on a Lava Planet).
0Send private message
?

Click here to login

Reply
Comment