Customizable Domestic Advisor - BUG Edition

Does the normal DA work this way? I ask because looking at the code they both do exactly the same thing.

Not at all, it's a request, not a bug fixing ;)
But still I'll find it very useful, it will the best way to move between specific cities, in particular cities which are close from the point of view of a specific feature (you only have to order the CDA list according to a specific column and click on the cities); cicling arrows are ok for moving between all cities, but not so useful for moving between specific ones. :)

I think it's not so hard to code, due to the fact that the city cicling arrows allow you to go to a city... :blush:

Edit: Of course I know almost nothing about py, so maybe I'm wrong and it is difficult to be coded. :blush:
 
Unfortunately, it isn't that easy. The city cycle arrows are widgets whose functions are executed by the game's core C++ code.

However, I bet there's a Python function in CyInterface to do this -- something like centerOnSelectedCity(). I'll take a peek as I need a break from the "can hurry" alert code right now.
 
That dir is created when you install BUG, and the file is put inside it...
I didn't read the other post carefully enough ... I was looking for the txt file at the same level as customassets, not the folder. And I have never actually run the install program, just got my stuff straight from the SVN.

Anyway, got it working now.
 
I don't understand... was not our purpose to make it difficult or impossible for players to get them back in?

I'm with Cammagno on this one. Either remove them from Cammagno's pages and force them to customize CDA to see them or completely remove them from CDA.
We could remove the global ranks all together but I'm a bit with EF on this in that I hate remove features. With regards to getting the mod approved at RB, a simple check box that suppresses the information should do. That way, we don't need to Cammagno CDA text files for the RBers and the non RBers.

Re getting the system swap CDA.txt files - I'm thinking a text box on the option screen asking for the name - if it isn't found, it uses the built in version. Won't that work or are you thinking of something more complete (ie drop down that is populated with text files in the CDA folder?).

I'm going to commit the check box and related code.

Done: version 509
 
We could remove the global ranks all together but I'm a bit with EF on this in that I hate remove features. With regards to getting the mod approved at RB, a simple check box that suppresses the information should do. That way, we don't need to Cammagno CDA text files for the RBers and the non RBers.

There won't be 2 versions of my pages, because I don't want spoilering stuff on my pages, so I already removed them (I didn't it befoure because I never realized that they were spoilering).

Re getting the system swap CDA.txt files - I'm thinking a text box on the option screen asking for the name - if it isn't found, it uses the built in version. Won't that work or are you thinking of something more complete (ie drop down that is populated with text files in the CDA folder?).

I had a more ambitious idea about allwing to choose between different customization files, but till now it's not useful because we don't have them :)

I'm going to commit the check box and related code.

Uhm... the hover text is not completely correct, because if they use my pages, whic are there for default, those columns simply are not there, if the box is checked or not...
 
Sorry Ruff, but I'd recommend removing the option and going with "not visible on Cammagno's pages." This forces them to customize the page to see the spoiler information, which 99% won't even know they can do cuz they didn't read the docs. ;)
 
Well - guess I am backing them out. I had a brief look at cammogno's pages and 95% of them I really like. I might re-arrange some for the columns if I can just work out those silly customization buttons (and I know that the info is in the write up - I just have to line up the text with the buttons).
 
Well - guess I am backing them out. I had a brief look at cammogno's pages and 95% of them I really like. I might re-arrange some for the columns if I can just work out those silly customization buttons (and I know that the info is in the write up - I just have to line up the text with the buttons).

Ok, here they are :) :

Columns buttons: (upper row)
white left arrow: decrease the size of the selected column (in the left panel)
white right arrow: increase the size of the selected column (in the left panel)
white +: add the selected column (the selected column in the right pane is added to the left one)
white -: remove the selected column (the selected column in the left pane is removed from it)
red up arrow : move the selected column up (so it will be displayed before in the CDA page)
red down arrow: move the column down (so it will be displayed after in the CDA page)

Pages buttons: (lower row)
list: sgows the current page and allow you to go to another one
white left arrow: go to the previous page
white right arrow: go to the next page
parchment: toggle normal interface and customization interface
pinned paper: rename selected page
specialist: add/remove to/from the page the bottom bar with specialists, culture list and GP list
white +: add a new page
white -: remove the selected page
red up arrow: move the selected page up in the list
red down arrow: move the selected page down in the list
monitor icon: save the last customizations
ban sign: delete last customizations
 
and here is a pic ...
 
In the original BTS domestic advisor, the last column will show the liberation/revolt red fist icon for cities that want to be liberated/become colonies. In CDA i've looked through the list of items that can be added and i'm not seeing an entry for this. Am I just not looking close enough. If it's not in the list, is this an entry that could be added?
 
The "can liberate" column probably isn't there. I updated CDA to BtS and added the "Liberate Colonies" button on the screen, and I don't remember adding this new column.

If that's all correct, I'll definitely add it. Would you mind creating a Feature Request in our SVN Tracker?
 
The "can liberate" column probably isn't there. I updated CDA to BtS and added the "Liberate Colonies" button on the screen, and I don't remember adding this new column.

If that's all correct, I'll definitely add it. Would you mind creating a Feature Request in our SVN Tracker?

Yes, the column is not there.
Feature request added (I put it together with your Colony column request)
 
I've finally worked out how to get your CDA.txt columns displayed. I actually had to go look in the python code.

It needs to go here ... my games\Beyond the Sword\CustomDomAdv\CustomDomAdv.txt

If that directory doesn't exist (as was the case for me), then nothing happens.

i love you!!!!!!!!!!!!!!! even more than i did before. in a "you're my hero" way, not a "be scared, i'm going to leave hubby and stalk you" way.

CDA showed up for me and i adore it. i spent a while customizing it last night. but today i loaded my game, and all my customizations were gone :eek:! i re-read the documentation, saw the "The advisor's configuration is saved in a file called CustomDomAdv.txt in the main Civ4 directory (usually C:\Program Files\Firaxis Games\Sid Meier's Civilization 4)" line and tried 7 different places, even Vanilla because of the word main. do you remember discussing my freaky install when i couldn't get your cobbled pack to work :lol:? i tried My Games directly, and underneath \CDA\ in CustomAssets where my mods are, but it didn't occur to me to try including the \CDA\ folder within My Games. i found your post and now i can save the changes! :)

http://forums.civfanatics.com/showpost.php?p=6091412&postcount=19
:rolleyes: :lol:

That dir is created when you install BUG, and the file is put inside it...

well see, i didn't use the .exe since my installation of civ4 is quite bizarre. i have the game on one directory and /altroot'd so that it looks for custom assets, mods, etc to another drive where it saves games etc. it actually doesn't look at My Games at all :crazyeye:. i was afraid my setup would scare the installer, so i used the zip. i put the CDA directory where my custom assets are, since that's what the structure document shows (of course it doesn't expect a freaky civ4 setup). at first i had the "can't close the BUG options screen" problem, but i figured out that the important part of the instructions isn't the "BUG mod.ini and CustomAssets need to be siblings so make sure you don't put the .ini within that directory" part, it's the "put BUG Mod.ini into My Games" part regardless of whether Civ4 even acknowledges that it's there. but i hadn't yet figured out that i needed to add the \CustomDomAdv\ part to that directory on top of the .txt file. :p

but your mod is completely awesome, and i love you even tho i was dumb and it drove me crazy(er) for a bit there. in a "you're my hero" way of course, not a "be scared, i'm going to forget all about ruff and start stalking you now" way. :mischief:

other than that issue, which is completely on my end since my install is so weird, nothing about the mod confused me. 2 minutes playing with it and reading your .rtf and it's easy as sin, more intuitive than i'd have guessed. which must have been hard work for something with so much info and flexibility. wow!
 
Don't worry KMadCandy, I used to have a weird directory structure too. The installer does a good job of finding the right location though, so give it a shot next time.;) Anyway, if you liked the .rtf's wait til 2.21.;)
 
used to have? i don't think i'll ever get over how much i hate having clutter on my windows drive :lol:!

and i know Cammagno isn't my only hero for CDA but he's the only one i know where to find to thank *giggle*. there are so many parts of BUG that are way cool, but atm that one gets my vote for most spiffy. knowing how many overflow hammers i'll get if i whip this turn, OMG! reading a post in an SG saying that BUG had added that is what got me to finally try it. i'd been avoiding y'all's because when the HoF BtS mod becomes final i'll be using it for a lot of games, and was skeered i'd get addicted to yours. i was probably right...
 
actually Cam did a great job creating the different pages within the CDA, but the one who brought it up to par for BTS was EmperorFool... that man can code like no one's business. Maybe one day, after we get over the let down of the RBC denial, we may talk to the HoF people about just using BUG.;)
 
well see, i didn't use the .exe since my installation of civ4 is quite bizarre. i have the game on one directory and /altroot'd so that it looks for custom assets, mods, etc to another drive where it saves games etc. it actually doesn't look at My Games at all :crazyeye:. i was afraid my setup would scare the installer, so i used the zip. i put the CDA directory where my custom assets are, since that's what the structure document shows (of course it doesn't expect a freaky civ4 setup). at first i had the "can't close the BUG options screen" problem, but i figured out that the important part of the instructions isn't the "BUG mod.ini and CustomAssets need to be siblings so make sure you don't put the .ini within that directory" part, it's the "put BUG Mod.ini into My Games" part regardless of whether Civ4 even acknowledges that it's there. but i hadn't yet figured out that i needed to add the \CustomDomAdv\ part to that directory on top of the .txt file. :p

The important thing is that you managed to find a good solution. :)

Anyway, just to remember (or to tell) it to everybody, inside BUG Mod Documentation folder, there is a file called BUG Structure.rtf with the complete structure of the BUG Mod. It is intended to be a list of the content of the zip, but is also useful because looking at it, everybody can know where all the files need to be placed.
 
the one who brought it up to par for BTS was EmperorFool... that man can code like no one's business.

I agree, EF is incredible.:crazyeye:

If it was not for his recent hardware/software problems, probably by now we'll have half of the features request fullfilled and the other in working state.

Maybe one day, after we get over the let down of the RBC denial, we may talk to the HoF people about just using BUG.;)

I don't care for the RBC denial (it was almost impossible from the beginning), but I support this one :)

Oh, and when EF will be able (and find some time) to externalize the option screen text to xml so that I can translate it completing the translation of BUG, I know a couple of Italian game magazines that will be happy to include BUG inside their free DVDs.
 
Top Bottom