BULL - Suggested Builds list Question

Afforess

The White Wizard
Joined
Jul 31, 2007
Messages
12,239
Location
Austin, Texas
This list of buildings here:

Spoiler :
Civ4ScreenShot0126.JPG


It can get quite long, and shove things off the screen with mods like RoM. I lived with this, until I discovered something quite by accident.

I added a new player option, which hides buildings and units that a player can not train or construct in the SDK, just by making bTestVisible always false if the player option was toggled. However, this had the unforseen and totally awesome side effect of hiding suggested buildings that a player could not actually build. For example, that list I posted looks like this with the option turned on:

Spoiler :
Civ4ScreenShot0125.JPG


Is there way I can make the suggested buildings list always like this, and not show buildings which the city can not actually construct at the moment?
 
A user option with the added ability to hold SHIFT or CONTROL to flip it would be most excellent. I'll take a peak at adding this; it shouldn't be too hard. For now if you want to force it in your mod look in CvGameTextMgr.cpp where there's a check to see if the building can be built. Pass false for the bTestVisible parameter.
 
A user option with the added ability to hold SHIFT or CONTROL to flip it would be most excellent. I'll take a peak at adding this; it shouldn't be too hard. For now if you want to force it in your mod look in CvGameTextMgr.cpp where there's a check to see if the building can be built. Pass false for the bTestVisible parameter.

I'll do that.

I don't think I've mentioned this to you, but BULL has gotten raving reviews on the RoM forums. We all love it. Myself included. ;)
 
A user option with the added ability to hold SHIFT or CONTROL to flip it would be most excellent. I'll take a peak at adding this; it shouldn't be too hard. For now if you want to force it in your mod look in CvGameTextMgr.cpp where there's a check to see if the building can be built. Pass false for the bTestVisible parameter.

Thanks EF, That worked like a charm.

I wonder if adding that player option would be BUG - worthy... Actually, I doubt it, it hides information, it doesn't reveal it...

Anyway,

Thanks a ton, everyone appreciates the BUG team's work. ;)
 
I wonder if adding that player option would be BUG - worthy... Actually, I doubt it, it hides information, it doesn't reveal it...

I think it's worth it. Not only may some BULL user want it, but that means other modders like yourself won't have to add it themselves.
 
Back
Top Bottom