View Full Version : New Features & Fixes
EmperorFool Oct 28, 2007, 07:35 PM This thread is for the BUG team to post information about new features and major fixes as they are added to the mod's SVN repository. See the Latest Version thread (http://forums.civfanatics.com/showthread.php?t=241793) for instructions on using the repository to get the latest pre-release version.
Please do not post or reply in this thread.
If you find bugs, post to the Bug Reporting (http://forums.civfanatics.com/showthread.php?t=241796) thread.
If you want to suggest a new feature, do so in the Requests for new components (and features) (http://forums.civfanatics.com/showthread.php?t=242253) thread.
If you want to discuss or ask questions about a feature from this thread, use one of the feature-related threads (like Civ4lerts (http://forums.civfanatics.com/showthread.php?t=248534)) or start a new thread.
Thank you for your cooperation :goodjob: and enjoy the new stuff! :)
EmperorFool Oct 28, 2007, 07:42 PM I've added two related alerts. Both optionally display a message the first turn that you can hurry the production in a city by either the whip or gold.
The whip message tells you how many population you will lose and how many overflow :hammers: you will gain.
The gold message tells you how much :gold: it will cost.
http://i222.photobucket.com/albums/dd275/EmperorFool/New%20Features/Alerts/CanHurryAlerts.png
Note: I have changed the messages slightly from what's in the pics. The city name now comes before the item being produced.
London can hurry Archer for 2:( with 12:hammers: overflow
Heliopolis can hurry Bank for 159:gold:
I also renamed the option "Can Hurry w. Population" since "the whip" is the colloquial term, and some players may not know what it means.
EmperorFool Oct 28, 2007, 08:42 PM I have modified the alerts for happiness and healthiness.
Pending alerts now consider the effects from whipping, drafting, espionage, defying UN/AP resolutions and random events.
Added alerts for when a city becomes happy/healthy in addition to angry/sick.
I wasn't able to capture the event as it passed by in the messages at the top of the screen, but they do show up there.
http://i222.photobucket.com/albums/dd275/EmperorFool/New%20Features/Alerts/HappyHealthyAlerts.png
EmperorFool Oct 28, 2007, 11:11 PM I added three new hurry-related columns to the CDA.
Population cost of whipping.
Overflow hammers from whipping.
Gold cost of rush-buying.
If you can't hurry using the method or just cannot afford the cost, a "-" is displayed.
http://i222.photobucket.com/albums/dd275/EmperorFool/New%20Features/Alerts/WhipBuyColumns.png
EmperorFool May 02, 2008, 12:23 AM I added new columns to the CDA for the number of trade routes and the total trade route profit. Each has three columns for domestic, foreign and all trade routes. These can be helpful when deciding whether or not Mercantilism is a good civic option.
EmperorFool May 02, 2008, 12:27 AM I added an option to display an angry person icon in the scoreboard next to each AI civ that considers you their worst enemy.
http://i222.photobucket.com/albums/dd275/EmperorFool/New%20Features/Scoreboard/WorstEnemyIcons.png
This shot shows that I am Montezuma's worst enemy. It's the angry person (bust) icon between the red angry face and the orange fist. At least Brennus still loves me! :)
If you are updating from an older version of BUG and you're using Aligned Icons, you'll need to add "H" (for Hated) to the Column Order setting (BUG Options : Scores).
alerum68 May 02, 2008, 12:37 AM Should set the installer to overwrite the existing .ini file with this?
EmperorFool Jul 02, 2008, 07:25 AM A quickie to whet your appetite for the really good stuff in the upcoming BUG 3.0 release.
http://i222.photobucket.com/albums/dd275/EmperorFool/New%20Features/Scoreboard/warandpeace.png
The "at war" icon has been changed from the orange fist used for occupation (see two posts above) to a pair of crossed swords. (Isabella and Caesar)
The same column now shows a peace sign when you have a peace treaty with another civ and cannot declare war. (Victoria)
NikNaks has been helping us put a pretty face on the various BUG features with his artistic talent. :goodjob:
Edit: These two icons along with one for Worst Enemy also appear on the Glance tab of the Exotic Foreign Advisor.
·Imhotep· Jul 02, 2008, 12:12 PM Neat work, NikNaks is a true master :) !
EmperorFool Jul 03, 2008, 08:37 AM We're striving to make the Plot List Enhancements mod sleeker and more intuitive. Here is the first installment of that work.
http://i222.photobucket.com/albums/dd275/EmperorFool/New%20Features/plebefore.png
Old and Busted
http://i222.photobucket.com/albums/dd275/EmperorFool/New%20Features/ple.png
New and Shiny
Added a BUG filtering behavior that works more like standard user interfaces.
Click "Wounded" filter (red cross) to see only wounded units. Click again to show all units.
The four "View Mode" buttons have been combined into a single toggle button to make room for new buttons.
The two "Group Mode" buttons have been combined into a single toggle button.
This combined button and the "Promo/Upgrade Mode" buttons have been moved from the far right to the far left to be next to the "View Mode" button. This will hopefully clear up which ones relate to what.
Added a "Reset Filters" button that clears out all selected filters, showing any units that were previously hidden.
Added a "Movement" filter.
Larger, colorful icons by NikNaks.
EmperorFool Jul 03, 2008, 09:41 AM We've changed the way units lead by a Great General are indicated in the plot list.
http://i222.photobucket.com/albums/dd275/EmperorFool/New%20Features/gg.png
Regular Warrior with Great General Swordsmen
EmperorFool Jul 03, 2008, 12:42 PM It just doesn't stop! We've now replaced the untranslatable tiny text mission tags below the unit icons with some spiffy new icons. I've also rounded out the missions by adding blockade, patrol, intercept and automate spread religion.
Here are a few of the icons in action.
http://i222.photobucket.com/albums/dd275/EmperorFool/New%20Features/meds.png
Left: Spread Religion, Explore, Fortify
Right: Heal, Fortify, Sentry, Sleep
ruff_hi Jul 03, 2008, 12:54 PM nice, very nice.
ricardojahns Jul 03, 2008, 02:05 PM This is very small, but given the quality of your mod, it's a must. Notice the crossed swords icon you use now as a symbol of war... Great addition! But it is inconsistent with the graphic quality of the rest of the mod. Why? It has a background, contrary to the other icons in BUG (transparency is a very nice addition of yours).
So, here is the gamefont_75 file with the transparent crossed swords... it looks a lot better, if you ask me.
ricardojahns Jul 03, 2008, 09:24 PM For those of us who like to face 10+ civs and use BUG, the Glance screen becomes a nightmare... so I did the same you did for the MA: widen the screen. It looks a lot better for 12+ civs, especially the Glance screen.
ricardojahns Jul 03, 2008, 11:17 PM well, one thingie I was missing from the excellent new MA SitRep was the rollover for the units in the Strategic Advantage columns.
Here it is.
EDIT: I added some lines to the input handler. Now you can also talk to the other leaders from the SitRep room :D :goodjob:
Enjoy!
ruff_hi Jul 04, 2008, 04:58 AM well, one thingie I was missing from the excellent new MA SitRep was the rollover for the units in the Strategic Advantage columns.
Here it is.
EDIT: I added some lines to the input handler. Now you can also talk to the other leaders from the SitRep room :D :goodjob:
Enjoy!Thanks for this. I knew that the MA screen was missing this, just hadn't dug into the other screens to see how to do it. I'll add your code to the production version. :D :goodjob:
BTW: I saw the first half of Hancock last night ... about 50% of the way thru the projector blew a bulb and they couldn't repair it. Gave us back our money (gee thanks) but not our evening or a free ticket to see the other half. The surprising thing was that everyone hung around for 10-15 minutes while they tried to fix it ... must have liked the movie.
ruff_hi Jul 04, 2008, 05:26 AM well, one thingie I was missing from the excellent new MA SitRep was the rollover for the units in the Strategic Advantage columns. EDIT: I added some lines to the input handler. Now you can also talk to the other leaders from the SitRep room :D :goodjob:
well, one thingie I was missing from the excellent new MA SitRep was the rollover for the units in the Strategic Advantage columns.Added to SVN with some MA code removed due to python crash.
EmperorFool Jul 04, 2008, 05:48 AM The surprising thing was that everyone hung around for 10-15 minutes while they tried to fix it ... must have liked the movie.
Or they felt the same about an evening already invested in half the movie, figured "risking" another 15 minutes to recover it would be worth it. :)
@ricardojahns - I'll check out your EFA changes. Thanks!
Edit: In general I try to avoid modifying existing Civ4 core files like the basic ForeignAdvisor. However, given that 3.17 is probably the last patch and the FA is unlikely to change if they do another patch, are the other BUGgers cool with including this widescreen one?
ruff_hi Jul 04, 2008, 06:04 AM Edit: In general I try to avoid modifying existing Civ4 core files like the basic ForeignAdvisor. However, given that 3.17 is probably the last patch and the FA is unlikely to change if they do another patch, are the other BUGgers cool with including this widescreen one?Oh right - putting in the wide version doesn't have option code wrapped around it ... meaning that it is there and cannot be disabled. I'm obviously ok with it. I really only noticed when I saw that the HOF FA looked much nicer than ours ... theirs is wide screen.
EmperorFool Jul 04, 2008, 06:07 AM Oh right - putting in the wide version doesn't have option code wrapped around it ... meaning that it is there and cannot be disabled.
Not that. More that if we have duplicated files with core files, we have to work quick when a patch comes out. That is the cause of the "missing text keys" thing going on with 3.17. In this case, I think it's okay. I can't imagine anyone wanting to turn off a widescreen FA. :)
NikNaks Jul 04, 2008, 10:59 AM This thread is being superceded by the new BUG Blog (http://bug-mod.blogspot.com/) on Blogger. Feel free to post comments relating to specific features there. :D
ricardojahns Jul 04, 2008, 11:01 AM well, the only thing I had to change in the vainilla FA file was the value that centers the "knights of the round table", the first screen. I did not went further with that, but as your Exotic FA imports the original FA and calls the function to draw the first screen from there, maybe there is a way to just include the adjustment for that value inside the Exotic FA.
EmperorFool Jul 04, 2008, 11:26 AM I tried this out, and it doesn't work on monitors not running 1280xYYY resolution. You cannot assume the screen is 1280 wide, otherwise the right-most leaders are drawn off-screen. :(
I'll take a look at the EFA and see about making it not require a modified FA.
ricardojahns Jul 04, 2008, 01:15 PM yes, I know. The widening works OK, but the Relations "round table" stays out of center if you don't modify the FA as of now. It is a minor annoyance, compared to the benefits of a wider Glance, but nevertheless...
I only modified the FA for my use. I just finished trying some things to get rid of the modified FA, but I couldn't (only a rookie programmer wannabe here... for now :D)
EmperorFool Jul 04, 2008, 01:44 PM I looked at that too, and the only way to fix the stuff drawn by the FA screen is to modify that screen. For now, I'll just leave it alone and have the first tab be off center.
ricardojahns Jul 04, 2008, 02:35 PM I looked at that too, and the only way to fix the stuff drawn by the FA screen is to modify that screen. For now, I'll just leave it alone and have the first tab be off center.
:D:D:D
Done.
This is the code I inserted into EFA:
# RJG Start
def drawRelations (self, bInitial):
screen = self.getScreen()
self.W_SCREEN = screen.getXResolution() - 40
self.X_SCREEN = (screen.getXResolution() - 24) / 2
self.X_LEADER_CIRCLE_TOP = self.X_SCREEN
CvForeignAdvisor.CvForeignAdvisor.drawRelations (self, bInitial)
# RJG End
The screenie shows the result.
The attached file is your latest SVN EFA including the inserted code (calling drawRelations). Works like a charm.
EmperorFool Jul 12, 2008, 04:28 PM With the successful release of BUG 3.0, it's time to once again start adding new stuff. :)
Tired of calculating the whip overflow?
Epic, shoot, it's 45 :hammers: not 30 :hammers:
+25% for the Forge, so that's 56 :hammers:. 2 population, so that's 112 :hammers:? No, 113 :hammers:?
Oh I have stone, so that's, um, carry the 2 . . . divide by pi . . . It's Tuesday, so drop the 6 and add 8 . . . #$!&@
Me too! :D
http://i222.photobucket.com/albums/dd275/EmperorFool/New%20Features/WhipAssist.png
Whip Population and Overflow :hammers: / Purchase Cost :gold:
The next feature of this mod will help you determine the optimal time to whip so you can maximize your overflow. No more missing that 89 :hammers: overflow by 1 lousy :hammers:!
EmperorFool Jul 19, 2008, 05:00 PM The Sevopedia now has a section for leader traits. Each trait lists the leaders with that trait, the effects of the trait, and strategy for maximizing the trait.
The strategy articles were written by Sisiutil of ALC fame and include useful technologies, buildings, wonders and civics.
http://i222.photobucket.com/albums/dd275/EmperorFool/New%20Features/CharismaticTrait.png
EmperorFool Jul 21, 2008, 02:04 AM The scoreboard now has an option to include the score delta for each civ: the change in score during the previous turn. There is also an option to include the current turn's delta so you can see the scores change while you make your moves. Note that this second option can get confusing.
Thanks Caesium for the idea and code. To enable, update from SVN and select "Score Deltas". If you use the Advanced Layout, you must also add "Z" to the Display Order field, to the right of "S" in the screenshot below.
http://i222.photobucket.com/albums/dd275/EmperorFool/New%20Features/Scoreboard/ScoreDeltas.png
Score Deltas
Caesium Jul 21, 2008, 04:23 AM The scoreboard now has an option to include the score delta for each civ: the change in score during the previous turn. There is also an option to include the current turn's delta so you can see the scores change while you make your moves. Note that this second option can get confusing.
Thanks Caesium for the idea and code. To enable, update from SVN and select "Score Deltas". If you use the Advanced Layout, you must also add "Z" to the Display Order field, to the right of "S" in the screenshot below.
http://i222.photobucket.com/albums/dd275/EmperorFool/New%20Features/Scoreboard/ScoreDeltas.png
Score Deltas
I'm glad to see this added to BUG :)
Cybah Jul 25, 2008, 08:49 AM well, where is the strength display on that scoreboard?
The Doc Jul 25, 2008, 10:20 AM well, where is the strength display on that scoreboard?
The scoreboard in BUG is fully customizable. With the text field at the scoreboard tab at the BUG options screen you can select which elements are displayed. On that screenshot the elements are reduced to a minimum.
Cybah Jul 25, 2008, 10:59 AM ah great. :-)
EmperorFool Jul 25, 2008, 04:09 PM The Doc is correct about the customizability of the Advanced Layout scoreboard. However in the above pic, I think it's just that it's very early in the game and I didn't have enough EPs against any of my rivals yet to see their demographics. Note also that I don't have OB or TNs with anyone.
I use the above game as a test game because it loads very quickly, being early and having probably 30 total units and 10 cities for all players combined. ;)
EmperorFool Jul 28, 2008, 08:38 PM Ask and ye shall receive! Though it took some wrangling and a serious rewriting of much of SevoPediaMain.py's drawing code, I have added in fitchn's Civilopedia Index for Sevopedia.
http://i222.photobucket.com/albums/dd275/EmperorFool/New%20Features/SevopediaIndex.pngEverything is indexed except Hints, Shortcuts, and Strategy Articles. I will do the SAs when I get a breather, but the others don't make sense.
A further enhancement I'd like to make is to have the sorting work like in a phone book, where you read down a column until the end and continue at the top of the next column. I think that will be easier to scan for entries.
ruff_hi Jul 29, 2008, 07:38 AM Ask and ye shall receive! Though it took some wrangling and a serious rewriting of much of SevoPediaMain.py's drawing code, I have added in fitchn's Civilopedia Index for Sevopedia.Too many icons.
you know I'm joking - good job.
psob2 Jul 29, 2008, 09:54 AM sevopedia index is a great idea. i just updated to 1060 and it works fine
thanks
|
|