Ok since Koshling brought it up, I am a bit thinking about including an event to GEM that makes a landbridge on a certain tile vanish at a certain turn.
The mechanism I thought of to copy paste with (as I am a total code noob) was the Volcano one.
I knew That when after a volcano becomes extinct in civ, it finally erodes. My plan was to to alter the volcano event cycle so the landbridge on
specified tile X;Y would become a volcano in
specified turn X, become extinct in
specified turn Y and finally erode in
specified turn Z
and leave the eroded tile instead of
BARREN the terrain type
SEA.
Also the description of the volcano event would eventually change to something like this
Code:
<EventInfo>
<Type>EVENT_SEALEVELRISE_1</Type>
<Description>TXT_KEY_EVENT_SEALEVELRISE_1</Description>
...
<EventInfo>
Not sure about how to combine <iWeight> and (if they exist - or anything similar) <iTurn> and <iLocation>?
in the deviated event though.
Also
<EventArt>Art/Afforess/Event_Images/VolcanoEvent.dds</EventArt> would have to be exchanged with the "hurricane/Tornado event dds"?
And
when in the volcano event the "volcano" graphic (improvement or terrain?) would be triggered, in the modified file it would be exchanged with "
storm" (rain) graphic (which would also be displayed during the "eruption" turn and the following, "extinct" turn, before then "eroding" into sea).
So my plan was to open the phyton, change something here, change something there and happily present a mechanism.
Turns out it's not that easy if you are someone who is getting kinda seasick looking at a lot of code.
So I found out that there is maybe an easier way to "compose" this Sealevelrise Event as I discovered this piece of code
Code:
<ElementType name="TerrainType" content="textOnly"/>
<ElementType name="iTerrainChange" content="textOnly" dt:type="int"/>
<ElementType name="ImprovementsRequired" content="eltOnly">
<element type="ImprovementType" minOccurs="0" maxOccurs="*"/>
</ElementType>
in the C2C_Civ4EventSchema.XML
So my question is how could I tie such a terrain change to a certain turn at a certain location with 100% iWeight?
Thx for your help and sorry I am so bad at coding.
EDIT: ok I thought about something else: what also could be done would be to manipulate the "global warming" event to happen at a specific place at a specific time (turn) with the specific outcome to change terrain to sea?
Btw. The new event would have to trigger only at GEM map, is a tag like
<iMaptypeToTrigger>PRECOLUMBIAN_GEM<iMaptypeToTrigger>
possible?
As I said code is like a black box for me but I very much want the cat inside to be alive^^