phungus420
Deity
- Joined
- Mar 1, 2003
- Messages
- 6,296
I think it would look good, except for the wrap around caused by promos
Before you release 1.1, I suggest stripping out the hard-coded text strings like "Press SHIFT ..." to XML <TEXT> entries so they can be translated. I can probably get Cammagno and The Doc do the Italian and German ones.
I'll do that.Before you release 1.1, I suggest stripping out the hard-coded text strings like "Press SHIFT ..." to XML <TEXT> entries so they can be translated. I can probably get Cammagno and The Doc do the Italian and German ones.
I think it would look good, except for the wrap around caused by promos
That's an idea.It looks a little cluttered, and if the names were green and red it would be very confusing. The main issue for me is that the top part of the display often is not visible due to the bars. I would even like an option to hide the bonus calculations at the bottom to solve this.
That should be easy to do. I'm waiting on RevDCM to do any work on my mod, so I can do this. Let me know if you want to take care of this PoM, and I'll step back, but if not, I'll try to set this up by this time tommarow.
Personally I don't think it's necessary to show the details about the attacker, since these should be obvious from the unit display directly below it anyway.
What sort of option do you mean? Something like I've used already? Setting some value in xml to 0 means they won't be displayed, and setting to 1 means they will?
Or do you mean something like where you'd press control to see them?
v1.1
-Fixed typo in name of header file AdvancedCombatOdds.h
-Added unit help line, for defender, and attacker if enabled
-Re-arranged some of that combat modifiers. Attacker bonuses that are subtracted from defender are now shown in with defender bonuses, but before the defender first strikes.
-Put damaged unit hitpoints in with combat_strength line - this saves some space
-Made attacker modifiers show as negative, to more accurate show they are subtracted from the defender bonuses
-Added option to remove "Press SHIFT for more detail"
-Added option to remove defender unit help
-Added option to include attacker unit help (it is off by default)
-Added option to disable Unharmed Odds from all detail settings
-Added option to disable Unrounded XP
-Added option to disable Average HP from all details
-Added option to disable display of Survival Odds (first line of display)
-Added option to disable display of conditioned average HP for each outcome
int iView = 1;
if (shift held down)
{
iView = 2;
}
...
if (iView & GC.getDefineINT("<option>"))
{
...
}
View
Opt 01 10
00 00 00 [B]off[/B]
01 01 00 [B]1 only[/B]
10 00 10 [B]2 only[/B]
11 01 10 [B]1 and 2[/B]
This mod will be updated to be compatible with the new patch BtS 3.19 as soon as possible (probably before end of June). v1.0 will have to die with BtS 3.17 eventually. v1.1 and newer versions will be for BtS 3.19.
.......
if (!CvWString(pUnit->getUnitInfo().getHelp()).empty())