NOTE: I NEED TO CLEAN UP THIS MODCOMP'S CODE AS THERE IS A LOT OF USELESS CODE CURRENTLY IN THE UPLOAD. I WILL GET TO THIS WHEN I HAVE TIME.
I was asked if I could isolate the Andromeda unit and it's ability that currently exits in my big mod Thomas' War.
This is in the form of a mod but basically all it does is add that unit to the core BTS 3.17 game.
Anything that was added to the python is labeled:
##GodsofOld / Andromeda##
Anything that was added to the XML is at the very end of the file.
In my big mod, the Andromeda Strain unit functioned as an ICBM strength biological warfare missile. Basically, it had a modified version of the Blight ability found in Gods of Old, so:
In the area of effect,
Grasslands was converted to Plains with any animal resource of a grassland tile destroyed (along with jungle).
Plains was converted to Grassland with any plant or animal resource on the Plains tile destroyed (along with any forest or jungle)
Any resource on a desert tile is destroyed.
However, I've found this code to be a lot more useful than it originally seems. Why? Well also coded is that if used on Snow or tundra, the tile actually gets upgraded. So snow turns to tundra and tundra to grassland, allowing some late game terraforming.
In fact if you change this section of the EventManager python file:
You can basically change terrain to anything you want.
For example, turning it into this:
The ability now has no negative effect. Instead, it only improves terrain so Desert becomes Plains which in turn changes to Grassland. Similarly Snow goes to Tundra to Grassland.
This functions as a great Terraforming ability to give a Great Agriculturalist unit or for Mods taking place on foreign planets.
It's also really easy to set to make it add or remove resources, mountains, forests, etc.
I figured all of this might be useful for moders.
Uhmm, the thread I'm just linking to my Thomas War v2.1 thread as that's where I had this unit originally. I've been very busy recently so if you ask something in any of my threads and I don't respond in a timely matter, just pm me. I'll get to you a lot quicker.
Andromeda Unit / Terraforming Ability (XML+Python) 2016-10-05
Andromeda Unit / Terraforming Ability (XML+Python)