Support Fire

Ploeperpengel said:
Ok I added the tags to siegeweapons as well now. From your to do list I see you put the text into the mod, correct?

Eek. No, sorry. I just assumed no one was looking at that :P

I'll post them here in a bit, gotta' recompile my latest test and I'll try them out. Then you can just copy them into any text XML file you want.
 
Code:
	<TEXT>
		<Tag>TXT_KEY_MISC_YOU_SUFFER_SUPPORT_FIRE_DMG</Tag>
		<English>You have suffered support fire damage! (%d1_Num [NUM1:Unit:Units])</English>
		<French>You have suffered support fire damage! (%d1_Num [NUM1:Unit:Units])</French>
		<German>You have suffered support fire damage! (%d1_Num [NUM1:Unit:Units])</German>
		<Italian>You have suffered support fire damage! (%d1_Num [NUM1:Unit:Units])</Italian>
		<Spanish>You have suffered support fire damage! (%d1_Num [NUM1:Unit:Units])</Spanish>
	</TEXT>
	<TEXT>
		<Tag>TXT_KEY_MISC_YOU_INFLICT_SUPPORT_FIRE_DMG</Tag>
		<English>Your %s1_UnitName has caused support fire damage! (%d2_Num [NUM2:Unit:Units])</English>
		<French>Your %s1_UnitName has caused support fire damage! (%d2_Num [NUM2:Unit:Units])</French>
		<German>Your %s1_UnitName has caused support fire damage! (%d2_Num [NUM2:Unit:Units])</German>
		<Italian>Your %s1_UnitName has caused support fire damage! (%d2_Num [NUM2:Unit:Units])</Italian>
		<Spanish>Your %s1_UnitName has caused support fire damage! (%d2_Num [NUM2:Unit:Units])</Spanish>
	</TEXT>

Those are the txt_keys for the code that show up when dealing/receiving. I still have to work on the code for displaying that a unit has the support fire ability. I'll provide the key's when I provide the code :P
 
I like how Support Fire turned out. Just need the XML text tag added in for help, but that's no problem.

I think I'm also gonna' try to fix how when you inflict support fire damage there's no little pointer. I never tried it out, just assumed it worked, but apparently not. It's nice how I feel that I should support my axemen with a few archers, and when I'm about to attack a city I spread my troops out.
 
Oh, BTW, there's a bug in the Support Fire shots. Stupid little thing. The total number of support fire shots will increase every turn, so rather than regenerating the shots, they willl get another shot every turn. So, after a few turns they will have developed a few shots :P

I'll put out a patch soon.
 
Gerikes said:
Oh, BTW, there's a bug in the Support Fire shots. Stupid little thing. The total number of support fire shots will increase every turn, so rather than regenerating the shots, they willl get another shot every turn. So, after a few turns they will have developed a few shots :P

I'll put out a patch soon.
Ah ok better wait for that unitl I start my testgame.
 
Lord Olleus said:
whats new in it?

I put the differences in the post that the link goes to. It basically fixes the fact that units were gathering additional support fire shots every turn rather than just regenerating, so after five turns a unit would have 5 support fire shots. Now, they are correctly capped at one.

I also changed it so that when you inflict support fire there shows an icon on the plot that you inflicted, which wasn't there before.
 
woodelf said:
Ah, thanks. The other files had me confused. :)

Yeah. What happens is the programmers take those files, and compile them together. That compilization process spits out that dll file, which then works all by itself. So, the sources are just there so that the programmers can work on them, and the dll is used for everyone else. It's not even necessary for the sources to go out with every release, but it's good to have them there for reference of what is in the dll.
 
Back
Top Bottom