Hi everyone,
I've been playing with the XML and I have a couple of questions, maybe someone can help me..
Is there any way to ask - in xml, even? - WHICH religion a civ or an opposing civ has, so that certain values can be made dependent on that? for instance, attitude change depending on one specific religion, not just on "another than mine"?
Then, I have no clue yet how Python works... but whee in paython is the diplomacy screen built and can I add units to it? how would I do that? I've alreay posted this idea in the "waht mod would you like to see" board, and Roger bacon told me that the problem would be to get the AI to value it. Alright. Then, value it by fear, that, we can get somewhere ... an determine price by how many hammers it takes to produce it (similar to how tech value is coded by how much it took to research it).
Then, what routine checks if a civ feels threatened by an enemy? which if it is at war with one? which checks the attitude?
I'd like to get to a point - from zero, I know - where I can code that the AI asks you to sell units to it IF it is at war or feels threatened and IF you are friendly with it. I'd like that to replace the "would you like to come to war with me?" routine and delay that to later, as a last desperate measure of the AI.
Is that utopian to attempt?...
anybody know what to do here? I do admit that right now, i'm just drawing lines in the sand, wishing there'd be a house there..
I've been playing with the XML and I have a couple of questions, maybe someone can help me..
Is there any way to ask - in xml, even? - WHICH religion a civ or an opposing civ has, so that certain values can be made dependent on that? for instance, attitude change depending on one specific religion, not just on "another than mine"?
Then, I have no clue yet how Python works... but whee in paython is the diplomacy screen built and can I add units to it? how would I do that? I've alreay posted this idea in the "waht mod would you like to see" board, and Roger bacon told me that the problem would be to get the AI to value it. Alright. Then, value it by fear, that, we can get somewhere ... an determine price by how many hammers it takes to produce it (similar to how tech value is coded by how much it took to research it).
Then, what routine checks if a civ feels threatened by an enemy? which if it is at war with one? which checks the attitude?
I'd like to get to a point - from zero, I know - where I can code that the AI asks you to sell units to it IF it is at war or feels threatened and IF you are friendly with it. I'd like that to replace the "would you like to come to war with me?" routine and delay that to later, as a last desperate measure of the AI.
Is that utopian to attempt?...
anybody know what to do here? I do admit that right now, i'm just drawing lines in the sand, wishing there'd be a house there..
Comment