Isolation Civic- Disable open borders?

Vercingetorix85

Chieftain
Joined
Jan 19, 2009
Messages
4
Location
Bibracte
I'm making a simple civics mod using xml, and one of the civics is called Isolation. It cuts off foreign trade in return for making internal trade stronger. It's not like mercantilism, I hope, but anyway, I want to know if I can use xml to make it disable open borders. I'll include my new civics xml file, in case anyone is interested.

And if the answer is obvious, take pity- I'm new at this.
 

Attachments

  • CIV4CivicInfos.txt
    98.3 KB · Views: 217
I dont think thats possible, not without python or something.

Welcome to the forums, Vercingetorix85 :beer:.
 
Anyone have an idea of what file I should be looking at? I'm hopelessly lost.
 
While i don't know personally, try asking tsentom1, he is the master of hybrid traits, buildings, promos, etc. He has made all kinds of cool stuff.
 
I'm making a simple civics mod using xml, and one of the civics is called Isolation. It cuts off foreign trade in return for making internal trade stronger. It's not like mercantilism, I hope, but anyway, I want to know if I can use xml to make it disable open borders. I'll include my new civics xml file, in case anyone is interested.

And if the answer is obvious, take pity- I'm new at this.

not offering an answer, but to clarify - you want:

On switch to Isolation-
all open borders with other Civs cancel, and are not possible.
Trade Routes within your own cities increase 10%(or some other arbitrary number)

Sarge:gp:
 
Trade Routes within your own cities increase 10%(or some other arbitrary number)

Can be done simply with the <TradeYieldModifiers/> already in the civic XMLs
 
Trade Routes within your own cities increase 10%(or some other arbitrary number)

Can be done simply with the <TradeYieldModifiers/> already in the civic XMLs
I think he's looking for a way to make Open Borders agreements impossible.

I'm afraid you can only do that from the DLL. :( So it won't be as easy as simply editing a file or two.
 
I think he's looking for a way to make Open Borders agreements impossible.

I'm afraid you can only do that from the DLL. :( So it won't be as easy as simply editing a file or two.

I know I was replying to Sarge85's suggestion "Trade Routes within your own cities increase 10%(or some other arbitrary number)" and the original aim of "making internal trade stronger"

I already pointed out in a pm how to simulate no open borders with the unitCannotMoveInto(self,argsList): into python function and no foreign trade route xml tag already in the civicinfos.
 
Top Bottom