Help

I never had this kind of problem nor heard about it although I also moded leaders via xml. You have to tell us more about what you wanted to do and what you really did. XML wouldn't be bad, too.
 
Okay, ehhm... To be honest I am not really familiar with that part of leader modding. As far as I can see you make a Star Wars mod... And you'd like to create unique diplo texts for the leaders, right? Okay, I've done this as well for my mod and I had no problems. So in general it is possible to do that. I will take a look at you file a little later. I have problems with one of my own mods as well and I have no time now. It is also a long file and I don't know where to begin, so it will take me a while.

Only one stupid question: these files are called *.xml inside your mod, right? You just renamed them before uploading them? I guess so, I can't imagine the game would have started without errors otherwise.
 
Hmmm... Are these all files you changed? As far as I understand this file, it only tells the game which text should be shown. If this is correct, you would get an error or a blank text. We are searching for something like an event handler that says what happens next. But maybe I am wrong. However, I need your whole mod. Then I could try out what happens and what the problem is (although I got a good impression from your explanation). Could you upload it?
 
In the game's unmodified CIV4DiplomacyInfos.xml there is a section called AI_DIPLOCOMMENT_PEACE between the AI_DIPLOCOMMENT_REFUSE_TO_TALK and AI_DIPLOCOMMENT_NO_PEACE sections. Your modified file does not seem to have this section.

Spoiler the missing bit :
Code:
		<DiplomacyInfo>
			<Type>AI_DIPLOCOMMENT_PEACE</Type>
			<Responses>
				<Response>
					<Civilizations/>
					<Leaders/>
					<Attitudes/>
					<DiplomacyPowers/>
					<DiplomacyText>
						<Text>AI_DIPLO_PEACE_1</Text>
						<Text>AI_DIPLO_PEACE_2</Text>
						<Text>AI_DIPLO_PEACE_3</Text>
						<Text>AI_DIPLO_PEACE_4</Text>
						<Text>AI_DIPLO_PEACE_5</Text>
						<Text>AI_DIPLO_PEACE_6</Text>
						<Text>AI_DIPLO_PEACE_7</Text>
						<Text>AI_DIPLO_PEACE_8</Text>
						<Text>AI_DIPLO_PEACE_9</Text>
						<Text>AI_DIPLO_PEACE_10</Text>
						<Text>AI_DIPLO_PEACE_11</Text>
						<Text>AI_DIPLO_PEACE_12</Text>
						<Text>AI_DIPLO_PEACE_13</Text>
						<Text>AI_DIPLO_PEACE_14</Text>
						<Text>AI_DIPLO_PEACE_15</Text>
						<Text>AI_DIPLO_PEACE_16</Text>
						<Text>AI_DIPLO_PEACE_17</Text>
						<Text>AI_DIPLO_PEACE_18</Text>
						<Text>AI_DIPLO_PEACE_19</Text>
						<Text>AI_DIPLO_PEACE_20</Text>
					</DiplomacyText>
				</Response>
			</Responses>
		</DiplomacyInfo>
 
Back
Top Bottom