Hey, I've searched for quite a bit (in the forums and within the game files itself) on how to achieve this...
I am trying to make a civilization whose trait prevents Barbarians from entering their borders. Pouring through the XML, I found the difficulty settings (but this is global and would prevent them from entering everyone's borders). I searched for anything Barbarian specific, but to no avail. I also tried to see if I could dig up anything related to Open Borders and whatnot, since Barbarians are sorta-kinda a civilization of their own. However, the longer I go over this, the more I'm seeing how limited XML and working with the existing tables in the database is.
I imagine this is a job for Lua scripting. However, the largest problem I have with that is, I don't know what variables there exist that I can modify. I'm confident I could try to slowly figure out how to mess with the code, but I don't actually know how to find out what specific commands I can tweak.
Can anyone point me in the right direction of what I'm looking for? (And if there is something I'm missing that shows me what the different Lua-tuneable variables there are, that would be great as well.)
I am trying to make a civilization whose trait prevents Barbarians from entering their borders. Pouring through the XML, I found the difficulty settings (but this is global and would prevent them from entering everyone's borders). I searched for anything Barbarian specific, but to no avail. I also tried to see if I could dig up anything related to Open Borders and whatnot, since Barbarians are sorta-kinda a civilization of their own. However, the longer I go over this, the more I'm seeing how limited XML and working with the existing tables in the database is.
I imagine this is a job for Lua scripting. However, the largest problem I have with that is, I don't know what variables there exist that I can modify. I'm confident I could try to slowly figure out how to mess with the code, but I don't actually know how to find out what specific commands I can tweak.
Can anyone point me in the right direction of what I'm looking for? (And if there is something I'm missing that shows me what the different Lua-tuneable variables there are, that would be great as well.)