Monday, July 28, 2008

Sevopedia Index Page

I've ported fitchn's Civilopedia Index mod to Sevopedia and added it to BUG. It creates a sorted list of all Civilopedia entries (technologies, buildings, leaders, traits, terrain, bonuses, concepts, etc) just like a book index.

See the forum post for a legible screenshot. :)


Monday, July 21, 2008

How to Add BUG to Your Mod

Alerum's AvatarMerging together Mods can be difficult, and even more so with the BUG Mod. To add the BUG Mod to your mod, or even to combine with other mods, there are some things we will have to explain before you even attempt the merge.

The BUG Mod currently holds all of its options within a single file, "BUG Mod.ini". This file should be installed within your "...\My Documents\My Games\Beyond the Sword\BUG Mod\" folder. The reason why we have done this is to allow the user to keep their settings, regardless of which Mod containing BUG they are playing. It also allows us to store our other files in one location, reducing clutter in the root Beyond The Sword folder. For BUG Mod to work properly, this file must be in this location.

If you are just creating a Mod for the first time, I strongly suggest to use the BUG Mod as a base for your Mod, before adding any others. There is a good chance that any Interface Mods you will be adding, will already be included in BUG, and we've done a lot of the work for you already. If you have already added some changes, then you will need to use comparing software (such as Eclipse, or WinMerge) to find the differences between the files. I won't go into detail on this step, but if you have more questions about this, there are several good post at Civilization Fantics Forum.

The next piece of advice I can give: Take the latest files we have from the SVN on our SourceForge Page. Don't wait for us to make a new release, or you may miss alot of good features that are contained on the SVN. We keep the SVN in a fairly stable state, and have several users who give us good feedback on the current state of the SVN, so don't worry about bugs popping up to much. Steps for downloading from the SVN are located on the first post of the thread here.

Here are the steps you should follow to ensure BUG will work with your Mod. The directions are giving assuming a new install.:

  1. Either download the latest full release, or as recommended, download from SVN.
  2. I like to work from the desktop, so I'll use that as a reference here. Create a directory on your desktop called "Beyond the Sword".
  3. Within that directory create another named "Mods".
  4. Place a copy of your Mod within the Mods directory you just created.
  5. Copy "CustomAssets" into "Mods\Your Mod's Name".
  6. If you have no other modifications done yet, then you can just rename CustomAssets to Assets, within your Mod's directory. If you already have modified files within your Mod, then you will need to merge any conflicts you get with a program like WinMerge, then copy the contents of CustomAssets to your working Assets directory.
  7. Copy "BUG Mod" directory into the main "Beyond the Sword" directory.


That should give you a complete working copy of BUG within your mod. To make sure, copy that directory in the your "My Docs\My Games" directory. Copy the whole thing, even the Beyond the Sword directory. Once you have done this, then go ahead and fire up a game. You should see a blinking Message that says "Press Alt + Ctrl + O for BUG Mod Options..." Go ahead and do it. You should see all the options displayed there. If not, make sure you didn't forget a step.

Now to Customize the Mod. You can change the display of the Mod name withing the BUG Mod Options by editing the file within the "Python\BUG\Contrib" folder called "CvModName.py". You only want to edit two of the lines, and they are:

  1. displayName = "BUG Mod". Change "BUG Mod" to the name of your Mod.
  2. ModVersion = "X.X [Build XXXX]" The X's will be replaced by the current Mod Version of the BUG Mod. Change "X.X [Build XXXX]" to reflect your Mod version. To help with tracking of errors, please change [Build XXXX] with the current revision you got from SVN, or else keep the same if taken from a full release.
  3. Be sure to include the Quotations!

After this, you should be on your way! You may want to keep a working copy in a safe place, to make sure you can return to a clean version to prevent having to repeat these steps. And update the SVN regularly to ensure your users are getting the most update version avaliable.

One final Note: Please do not change the Credits tab within the BUG Mod Options Screen, and if you would like to call up your own help file, then include all the help files for BUG as well, to ensure the user will have all information they need for the BUG Mod, without having to go to the forum. Thank you!

Traits in Sevopedia

NikNaks's Avatar 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.

Example screenshot of the Charismatic trait here.

Great job, EF!

Score Deltas by Caesium

NikNaks's Avatar
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.


Score Deltas

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 (shown to the right of S in the screenshot above).

Sunday, July 13, 2008

Whip Assist

NikNaks's AvatarWith 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 not 30
  • +25% for the Forge, so that's 56 . 2 population, so that's 112 ? No, 113 ?
  • Oh I have stone, so that's, um, carry the 2 . . . divide by pi . . . It's Tuesday, so drop the 6 and add 8 . . . #$!&@
Us too!



Whip Population and Overflow / Purchase Cost


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 overflow by 1 lousy !

Nice one, EF!

Saturday, July 12, 2008

BUG 3.0 and BAT 1.0 Released

The BUG team is happy to announce the release of BUG 3.0 and BAT 1.0. They are compatible with Beyond the Sword 3.13 and 3.17 as well as the unofficial patches by Bhruic and Solver.

Significant additions include an easier to use Plot List Enhancements interface with hover help text and nicer buttons, Raw Yields that shows a detailed breakdown of food, production and commerce for a city and can include tiles the city isn't working yet to assist in planning, Keyboard/Mouse Shortcuts and CFC Strategy Articles in Sevopedia, the display of each rival's Worst Enemy in the Military Advisor, and plenty of bug fixes.

As always, if you find a bug or are having other problems, please post a description of the issue in the Bug Reporting thread. If you have questions about either mod, feel free to ask them in the Questions thread.

Wednesday, July 9, 2008

Unofficial Patches

NikNaks's AvatarEmperorFool has confirmed that both unofficial patches (from Bhruic for 3.13 and Solver for 3.17) are compatible with BUG, so long as you don't use the Python files. BUG includes all the changes (plus much, much more, of course), so you don't need them. If you've already installed them, don't worry. You can overwrite them with the BUG files without problem.

Sunday, July 6, 2008

Raw Yields

NikNaks's AvatarAt the start of the BUG Mod, EmperorFool extended Sevo's Raw Commerce mod with Raw Production. This has finally been fully expanded into a more comprehensive version.

We present to you Raw Yields!

Instead of a separate area that shrinks the Buildings list, the information is displayed in the Trade Routes table with buttons for changing the view and options.


Trade Routes View with Buttons

The buttons from left to right:
  • Views: (only one is active)
    • Switch to the Trade Routes view (default) *This icon will be changed for release*
    • Switch to the Food view
    • Switch to the Production view
    • Switch to the Commerce view
  • Tiles to Count: (only one is active)
    • Worked Tiles
    • City's Tiles (tiles that the city controls)
    • Owned Tiles (tiles that you culturally own)
For more details, see the thread here.

We're considering adding an "All Tiles" option to count tiles you do not culturally own in order to inspire you to conquer your neighbors. However, during certain points in the game (tech differentials) the yield values would be incorrect. Would you like this option anyway?

Friday, July 4, 2008

Sunday is Huge!!

Lots of Stuff is happening.
This Sunday, we finally decide to get professional as we launch The BUG Mod v3.0. Why professional? Well, for two reasons. Firstly, we are having a code freeze and, secondly, EmperorFool and I are on the Apolyton ModCast. I'm not sure which is the funniest ... us having a code freeze or appearing on the ModCast.

Anyway, welcome to our Blog and watch here for announcements.