Better BAT AI

I'm having this problem myself and I can confirm that it only happens on a non-english language setting.

One of the reason might be that a text file is incomplete. That lack of text in the general interface can be caused by missing entries for the other languages in a text file, like just English filled in and not the rest. One omission of the kind can cause that problem. If you play in English, you will not notice it. The solution is to add the other languages entries, even if they are filled in with the same English text.

This said, Lemon Merchant might have another answer to this problem, specific to this mod.
 
One of the reason might be that a text file is incomplete. That lack of text in the general interface can be caused by missing entries for the other languages in a text file, like just English filled in and not the rest. One omission of the kind can cause that problem.

You were right.
The file "Specialist Count.xml" in "Better BAT AI\Assets\XML\Text" was missing the other languages.
Also, "CIV4GameText_AIAutoPlay.xml" seems to have some invalid characters, at least that's what the XML parser said.

Thanks for your help!

On an unrelated note: The desktop icon for Better BAT AI (BBATAI.ico) seems to be missing.
 
You were right.
The file "Specialist Count.xml" in "Better BAT AI\Assets\XML\Text" was missing the other languages.
Also, "CIV4GameText_AIAutoPlay.xml" seems to have some invalid characters, at least that's what the XML parser said.

Thanks for your help!

On an unrelated note: The desktop icon for Better BAT AI (BBATAI.ico) seems to be missing.
Thank you for the info. I'll see about fixing this soon.

What do you mean the icon is missing? Didn't the installer put the icon on your desktop? Assuming that you told it to, of course.
 
Zodyr has been kind enough to point out a graphical bug with affects the unit display in the lower left corner of the screen:

I installed Better BAT AI but I suppose the problem comes from BUG. The unit display in the lower left corner only shows 1 of the digits for all the values. So intead of 14 strength, for example, I only see 1. And this happens for every value. Does anyone know of a fix?

The fix is simple. Locate the CvMainInterface.py file in Assets\Python\Screens, and open the file with something like Notepad, or Notepad++ (better). Use the find feature and look for this block of code:

Code:
## Platy Unit Display ##		
			screen.setTableColumnHeader( "SelectedUnitText", 0, u"", 115 )
			screen.setTableColumnHeader( "SelectedUnitText", 1, u"", 75 )
			screen.setTableColumnHeader( "SelectedUnitText", 2, u"", 10 ) 
			screen.setTableColumnRightJustify( "SelectedUnitText", 1 )
			
			if (CyInterface().mirrorsSelectionGroup()):
				pSelectedGroup = pHeadSelectedUnit.getGroup()

Make the change from the number 10 to 60 as outlined below in red:

Code:
## Platy Unit Display ##		
			screen.setTableColumnHeader( "SelectedUnitText", 0, u"", 115 )
			screen.setTableColumnHeader( "SelectedUnitText", 1, u"", 75 )
			screen.setTableColumnHeader( "SelectedUnitText", 2, u"", [COLOR="Red"]60[/COLOR] ) 
			screen.setTableColumnRightJustify( "SelectedUnitText", 1 )
			
			if (CyInterface().mirrorsSelectionGroup()):
				pSelectedGroup = pHeadSelectedUnit.getGroup()

Save the file and voila! You are fixed and good to go.

Sorry about that. :blush:
 
What do you mean the icon is missing? Didn't the installer put the icon on your desktop?
It did put the link there, but the icon/symbol file is missing so it just shows a blank icon. Apparently, it's looking for "G:\Restore\E\CIV\Modding\Graphics\BBATAI.ico". Not sure what went wrong there. I don't have a G drive, so I assumed it must come from the installer.

And thank you for the mod. I don't think many people know how much time modding takes.
 
Hello's

I've been wanting to use this mod as a base for a mod for my own use, however after copying Better BAT AI, changing the name to whatever and changing the settings in the .ini file to match that of Better BAT AI, the game crashes every time in game when I try to exit to Menu.

Edit: Ah I've just come across an earlier thread of yours: http://forums.civfanatics.com/showthread.php?t=364583&page=2 I suspect its the same problem? Im running Windows 7 64 Bit. 16GB RAM, NVIDIA GeForce GTX 680M if that's of any help. If it is the same problem than I assume there's nothing that can be done?
 
This mods works on mp. No OOS?

None that I've encountered. What's really epic for this is LAN games.

Lemon, my boys and I have taken a vote. You rate "share the cookies", a High Honor, I assure you :king:.
 
Lemon, my boys and I have taken a vote. You rate "share the cookies", a High Honor, I assure you :king:.
*blush*

Thank you. I won't eat too many. A girl could fatten up on good cookies. ;)
 
Hello's

I've been wanting to use this mod as a base for a mod for my own use, however after copying Better BAT AI, changing the name to whatever and changing the settings in the .ini file to match that of Better BAT AI, the game crashes every time in game when I try to exit to Menu.

Edit: Ah I've just come across an earlier thread of yours: http://forums.civfanatics.com/showthread.php?t=364583&page=2 I suspect its the same problem? Im running Windows 7 64 Bit. 16GB RAM, NVIDIA GeForce GTX 680M if that's of any help. If it is the same problem than I assume there's nothing that can be done?

Sorry it took me so long to answer. Yes, there is a problem when exiting to the main menu when using the in game music. I keep trying to fix it, but to no avail, I'm afraid.
 
Awesome mod, still one of my favorites. The Better AI mod still ranks as one of the best achievements for a player developed mod.

Question on this though. I cant seem to use unit stacking anymore with the modified UI. If I select a number of units so they are all activated then move, only the original one selected moves. Needless to say it makes things a bit tedious but perhaps it is some option I need to tweak in the mod settings? I also cant seem to switch to activate other units, even if i activate them, again only the original one activated will move or do anything. Anyone know how to fix? Thx.
 
Awesome mod, still one of my favorites. The Better AI mod still ranks as one of the best achievements for a player developed mod.

Question on this though. I cant seem to use unit stacking anymore with the modified UI. If I select a number of units so they are all activated then move, only the original one selected moves. Needless to say it makes things a bit tedious but perhaps it is some option I need to tweak in the mod settings? I also cant seem to switch to activate other units, even if i activate them, again only the original one activated will move or do anything. Anyone know how to fix? Thx.

I haven't noticed anything like that, and neither has my beta tester. We'll each play a game and see if it happens to us. Stay tuned. :)
 
Awesome mod, still one of my favorites. The Better AI mod still ranks as one of the best achievements for a player developed mod.

Question on this though. I cant seem to use unit stacking anymore with the modified UI. If I select a number of units so they are all activated then move, only the original one selected moves. Needless to say it makes things a bit tedious but perhaps it is some option I need to tweak in the mod settings? I also cant seem to switch to activate other units, even if i activate them, again only the original one activated will move or do anything. Anyone know how to fix? Thx.

I dunno about Lemon, but I can't duplicate this problem your having. How are you selecting the units? I doubleckick the whole stack and move em that way.
 
How did you solve it? I need to know these things so I can complain to SourceForge.

(Please)
 
What is the reason I can not change the name of the folder "Better BAT AI" but I can with every other mod. Just curious I'm not complaining.

How does AI autoplay work and how do I turn the feature on as I couldn't find it in the options.

thanks and great job btw
 
1. I'm not sure why the folder name can't be changed. I often have several versions on my hard disk, but the only one that will load is the one called Better BAT AI. It's a real nuisance having to rename everything every time I want to try something new. Unfortunately, I've never been able to figure out why.

2. Unfortunately, this is a poorly documented BUG feature, and it's been so long since I did anything with it, I've forgotten how it works. I think you hold the ALT key while pressing something, but l can't remember now. Maybe ask this question in the BUG threads where ruff_hi can see it.

Boy, I'm zero for two. I'm on a roll today. :(
 
1. I'm not sure why the folder name can't be changed. I often have several versions on my hard disk, but the only one that will load is the one called Better BAT AI. It's a real nuisance having to rename everything every time I want to try something new. Unfortunately, I've never been able to figure out why.

2. Unfortunately, this is a poorly documented BUG feature, and it's been so long since I did anything with it, I've forgotten how it works. I think you hold the ALT key while pressing something, but l can't remember now. Maybe ask this question in the BUG threads where ruff_hi can see it.

Boy, I'm zero for two. I'm on a roll today. :(

Thanks for the info. Oh and a reply is better than no reply. :)
 
I'm trying to add a new trait and I think I have everything working but the cevopedia. Trying to look at the traits in cevopedia actually leads to an empty list
 
Top Bottom