Questions & Answers

Another question. I've been wanting to mess around with the python for stability, but, understandably, I don't want to screw up my game. So, a few questions:

Would there be any problems with editing the python through notepad instead of dling the full editor? Because I've opened it in Notepad, but I'm not sure if I can reasonably save it.

And, in which files and where in those files would I look to find where the effects of size and of expansion are found?
 
Would there be any problems with editing the python through notepad instead of dling the full editor? Because I've opened it in Notepad, but I'm not sure if I can reasonably save it.

Python expects plaintext, rather than rich text files. You need to make sure that your editor of choice is saving to a plaintext .py file. Other editors will streamline this, while also providing very handy syntax coloring and other utilities. (Let me vouch for the splendor of Eclipse and its Pydev plugin)

You can do this in notepad as well, though. Simple save/ctrl + s suffices, and if you want to "Save As" make sure the "file type" drop down menu contains".txt" (guaranteeing plaintext) - the file name however should be .py
 
Notepad is good enough. Anything you can't change via Stability.py is coded in the DLL though, which requires a C++ compiler.
 
Alright, but which lines of the files (if any) affect the stability change caused by how many cities one has (not expansion outside of cultural borders, mind, but just how many cities exist within the empire) and the effects each time a city is founded/captured, specifically?
 
I don't think there is a number of cities penalty except those of Bureaucracy and Representation. For these, there is a specific civic section in Stability.py. Try to search for "bureau" and "rep" and you're likely to find a respective comment.

I'm not sure about founding/capturing (don't have my civ files here at the moment), but searching for a method called "onCityAcquired" might be worth a try.
 
Can I declare war against independents? I played as Babylonia and independents spawned left and right. I wanted to invade them, but do I need to wait for my cultural borders to reach their cities? I have seen AI players invade and capture independent cities on my previous games.
 
Of course you can. Simply move one of your military units into their territory (via mouse-clicking), and you'll be asked if you want to declare war on them.
 
Of course you can. Simply move one of your military units into their territory (via mouse-clicking), and you'll be asked if you want to declare war on them.

Do I need to send my troops beside the border before they could move across it?
 
No, you can even select a unit that has already moved and order it into independent territory. You will still be asked if you want to declare war and don't have to "waste" a unit's movement.
 
If I declare war on the independents will that force my vassals to be at war with them also?
 
Good question. I never tested it, but since everything that happens after you select "declare war" is equivalent to every other declaration of war, I think that it's the case.
 
Just to be sure, if I'm playing as Greece and I build the Statue of Liberty in Byzantion, will the free specialist be in Europe?
 
I just made Khmer my vassal and 1 turn later they capture Patliputra, but a message said: 'You captured Patliputra' and the city is now mine.

That was a welcome surprise, but is it always the case when your vassal captures a city it's yours?
 
I was looking forward to alter one of the civilizations' unique abilities in order to produce 50% cheaper settlers. Is there a way to do this? (Preferably modding the XML folder or something, as I have no knowledge of how the Python code works.)
 
Top Bottom