Hi I'm working on a mod where a wonder uses the "FreeBuilding" xml to give a lesser version of itself to all cities but this means it also gives...
Hi, I am looking for a way to remove a player owned land after the event SerialEventImprovementDestroyed(). The Improvement creates a 'comptoir'...
Is there anyway to reenable nuclear weapons if a Civ is embargoed at the World Congress? Specifically thinking rogue states like North Korea would...
Introduction to SCW v4 I first started designing and creating the Spanish Civil War scenario for Civ2 MGE back in 2002 when I was just a...
This thread is meant to serve two related purposes. The first is to provide a general Q&A thread for Lua and related topics. The second is to...
How would I go about coding Resistance in a city in lua? I have pCity defined, but can't find the proper lua method to implement city resistance...
I wrote a little Python script that helps find colliding .lua's in mods. I don't guarantee I got the logic right as my knowledge of Civ modding is...
I am trying to write a small mod that targets the issue with the combat experience of aircraft carriers. I got a mod set up, got the event hook...
I've made a map script that is based on tectonics lines, here is the algorithm: Put random tectonic lines on the map Put random volcanoes on the...
How do you split the lua script in multiple files? I have this file RealisticMap_Tectonics.lua: -- RealisticMap_Tectonics -- Author: lucas --...
Now for reference, I am NOT planning this scenario as it's WAY too ambitious even for my ambitions, but if I did a Worldwar scenario (Harry...
Before creating other mods, I would like to know the cost of the district's production when a district is added. function OnDistrictAddedToMap(...
Hi, I'm creating a mod that adds a new Great Person. I want this unit to be able to "construct a wheat farm," that is, set the resource of the...
As with Civ4 (old mod, 14 years ago :shifty: ) I wanted the option to change workers to units, and back again.... Swords to Plow shears, wartime...
I've been working on a tool to keep track of hex ownership and adjacency (borders). Suffice to say, I am in need of dire assistance. local...
Medieval Millennium is an adaptation of Civilization II: Test of Time, based on Western Europe during the one-thousand-year period from A.D. 500...
I'm currently working on a Mod that makes Units require multiple resources (for Costs and Maintenance, for example: Unit_A requires 10 Iron, 10...
I wanted to make the Deal Window to also make Deals with Units (Arms Trade, Historically starting from Early Modern Era) not just Resources,...
I want to add a new table for Buildings (and maybe also for Units) that would require multiple resources cost and maintenance, ie:...
Separate names with a comma.