Scoreboard interfering with a Better AI feature?

Joined
Jun 27, 2007
Messages
2,248
Location
Hamilton, Ontario
Player Interface
- Holding down SHIFT+ALT and clicking on a leader in the scoreboard now sets your civ's warplan to WARPLAN_PREPARING_TOTAL, like the AI does when beginning war preparations and can be used to signal to Vassals that they should begin preparing for war (not multiplayer compatible)
- Modified CvMainInterface.py to show on scoreboard when player is set to planning a war against another player using WAR in yellow instead of red
Will this work if I'm using BUG mod? I don't think it says WAR anymore and has an icon instead.
 
The SHIFT + ALT + CLICK should work. If the yellow WAR happens when the AI is WHEOOH (We Have Enough On Our Hands), then this will show in BUG as an orange clenched fist instead. Otherwise, it just won't work.
 
I wonder about this also. I have both BUG & Better AI, & upon SHIFT + ALT + CLICK -ing, nothing happens. No yellow text, no orange fist, nothing. Given that there's no visual confirmation, is this (invisibly) working still? Is there a way to test that it's in effect?
 
I looked at the BBAI code and see that it is displaying the yellow WAR text when this passes:

Code:
gc.getTeam(gc.getGame().getActiveTeam()).AI_getWarPlan(eTeam)

The ALT + SHIFT + Click would be handled by the DLL and not Python, so that part should still be working. However, BUG's CvMainInterface.py doesn't do the above check since it's from BBAI, so you will never see the yellow WAR text.

It would be easy enough for me to add this test to BUG where it would lie dormant unless you install BBAI but cause no trouble. This will need to be a new column. What icon do you suggest I show for this new column? How about a little red target symbol (like the store)?
 
Back
Top Bottom