Thorvald of Lym
A Little Sketchy
I don't know how many people have played the Extended Original mod as the Centaurans, but poking through the events file I discovered that there isn't a reciprocal mission to Earth. Instead, the spaceship arrival script applies to all civs, so the aliens end up colonizing their own planet. 
The goal of this mod is to translate the original script to Lua, allowing for more robust code that can differentiate between human and Centauran landings without requiring fixed civ names. I'm also eyeing some cosmetic and minor gameplay tweaks, specifically a reshuffling of Engineers: only Unit Slot 2 has access to the Transform function, regardless of the Engineer flag added in ToT, so Ultrastring Theory prevents creation of new terraform-capable units*.
Attached is the current Events.lua for review; note that you may wish to rename Events.txt, as I've had issues with the game reading both files at once. All critical functions work, but I'm seeking input on potential optimizations and help with substituting the original map change script:
WHAT WORKS

The goal of this mod is to translate the original script to Lua, allowing for more robust code that can differentiate between human and Centauran landings without requiring fixed civ names. I'm also eyeing some cosmetic and minor gameplay tweaks
Attached is the current Events.lua for review; note that you may wish to rename Events.txt, as I've had issues with the game reading both files at once. All critical functions work, but I'm seeking input on potential optimizations and help with substituting the original map change script:
WHAT WORKS
- Negotiation mask: Humans and Centaurans can't interact until discovery of Ultrastring Theory.
- Tech permissions: Centaurus arrival enables research of Ultrastring Theory by all players.
- Unit spawn: Earthlings colonize Centaurus, and Centaurans colonize Earth.
- Endgame override: Spaceship arrival doesn't prompt score tally.
- Map change: Five turns into the game, a rectangular zone at (65,35)–(80,50) is turned to Scrubland to guarantee a viable spawning zone for the colonists. TNO's original guide doesn't provide an equivalent script for the area selection used by the events macro, and I don't know a good scenario to mine for examples.
- Text popups: The messages prompted by Reality Engineering and Transcendence trigger twice, despite using the JustOnce routine, and I don't know why.
Attachments
Last edited: