Development Thread

Not sure what you are saying here... if you are speaking of changes to my old 30-pages CustomDomAdv.txt, I'm completely redoing it, adding in the new columns and reorganizing the whole thing. It will be available before the weekend.

As you have probably seen in the repo, I've completed and committed the Italian translation of ActualQuotes for WL and BtS, I've started the huge translation of the vanilla file (it's about 6500 lines!), but suspended it to work on CDA personalization.

@EF

Before you'll work on the moving of CustomDomAdv.txt to a different location, I want to ask you if is it possible to allow the choice (through option screen) of the customization file that the CDA uses (instead of always using CustomDomAdv.txt). As for autolog the player can choose the title of the output file, we can have a box in which the player can type the name of the file to load (or even better a box in which he can choose among the files in a particular folder (My Games\Beyond the Sword\CustomAssets\CDA?).
In this way, we can provide different versions of the CustomDomAdv.txt.

I don't want to say we have to do this now, only asking if it can be done :)
If the answer is yes, I'll work with the idea that I can release at least two versions of CustomDomAdv.txt, a "complete" one and a "quick" one.
 
Yes, that would be possible. Easiest would of course be to have them type a name, but then we may as well force them to rename a file since they'll have to go to that directory. Better would be your second option, to scan a directory under their My Games folder for *.txt files and let them choose. So yes, I'd plan that way.
 
Yes, that would be possible. Easiest would of course be to have them type a name, but then we may as well force them to rename a file since they'll have to go to that directory. Better would be your second option, to scan a directory under their My Games folder for *.txt files and let them choose. So yes, I'd plan that way.

If it is too difficult or time consuming, a simpler but still rather nice (IMHO) thing that we can do is the following:
-call our CustomDomAdv.txt files with simple names like 1.txt, 2.txt and so on
and put them in My Games\Beyond the Sword\CustomAssets\CDA
- include in the option screen a simple drop down list with numbers from 0 to 9
- add a tooltip to that list (as you did for the box in which player as to select the order for the score pannel) saying something as:
1= Cammagno's Complete CDA
2= Cammagno's Light CDA
3= EmperorFool's Standard CDA
...
...
8 = free slot
9 = free slot
0 = empty CDA

- make that the CDA uses as CustomDomAdv.txt file the #.txt file, where # is the number selected by the player in the list above.
- make that CDA saves player's changes (I'm speaking of the ones done using the on-line custamization interface) to the same #.txt file he has chosen to load.
- add a note in the ReadMe explaining that if someone want to make little changes to one of the custamization files provided by us he simply has to load it and change it, while if he want to create a completly new one he can load the empty one (number 0) and modify it in-game. If he wants to create more than one, he simply has to rename 0.txt to *.txt (where * is a free number).

I hope I've explained this idea clearly enough...

Edit: what do you think about this?
 
@EF

About building columns for CDA... I changed my mind.
Some standard building columns are too large to be used properly in the way I want to use them, so I think I'll use only your smart BLDGCLASS columns.
So, at least for me, the icon headers for all normal building columns aren't anymore needed.

About the "mint problem", now I know how I want to solve it, and so now I know what I need from you ;)

What I need are BLDGSPC (of course they can be called BLDGCLASS as the others, I only use a different name here to be clearer) columns for the civ-specific buildings. They have to be normal building columns (meaning, they have to refer not to a building class but to a specific building, so eg to mint and not to forge class), but they have to look like your BLDGCLASS columns (meaning, showing not effects but o-x... symbols, and having icons as headers).

If you give me these, I'll be ok :king: (and I belive that the work you have to do is less, I'm correct?)
I'll use in my pages the BLDGCLASS columns, plus the BLDGSPC columns for those civ-specific building whose normal version is not present in that category. Speaking of mint case, it will be replaced by BLDGCLASS_FORGE (or what it is) in the Happy, Production, Health and Specialist pages, while it will be present as BLDGSPC_MINT in the Economic page.

For now, I go on with the creation of the pages, using normal BUILDING columns instead of BLDGSPC ones.

Please tell me if my explanation has been clear :blush: and what do you think about it.
 
What I need are BLDGSPC (of course they can be called BLDGCLASS as the others, I only use a different name here to be clearer) columns for the civ-specifici buildings. They have to be normal building columns (meaning, they have to refer not to a building class but to a specifici building, so eg to mint and not to forge class), but they have to look like your BLDGCLASS columns (meaning, showing not effects but o-x... symbols, and having icons as headers).

That is totally clear and should be entirely manageable. Also, they will be invisible on pages when they don't apply to the civ. For example, the Mint column won't show when you're playing a non-Malanese civ.

I'll try my best to get that done this weekend.
 
Also, they will be invisible on pages when they don't apply to the civ. For example, the Mint column won't show when you're playing a non-Malanese civ.

This will be simply perfect :)


Edit: the columns needed for my pages are only 13:
AMERICAN_MALL
AZTEC_SACRIFICIAL_ALTAR
BABYLON_GARDEN
EGYPTIAN_OBELISK
GREEK_ODEON
INCAN_TERRACE
MALI_MINT
MAYA_BALL_COURT
NATIVE_AMERICA_TOTEM
OTTOMAN_HAMMAM
ROMAN_FORUM
VIKING_TRADING_POST
ZULU_IKHANDA
 
Did we get the up and down arrow graphics resolved? Also, what were these for again?
 
Did we get the up and down arrow graphics resolved? Also, what were these for again?

Yes, I have installed The Gimp which should allow me to rotate the existing left/right arrows. They are for scrolling the scores up/down if you limit the number of civs that show up (new feature, might hold off for other features/fixes first).
 
I haven't gotten to working with it yet, so I just forgot. When I do, I'll make sure to grab the ones you posted. Work is hectic, I simply posted too quickly. :)
 
Not a priority, but a good improvement to CDA personalization interface will be to increase the size of the box with the name of the page (150%) and to add two buttons (using the up and down red arrow icons already used for moving columns) to move up and down a page in the list.

And speaking of CDA, other 2 things:
- why in the page with specialists and culture value list the city zoom buttons aren't displayed? Some conflict?
- the Defense column seems not to work for me, it stays blank
 
I've committed the civ-specific building columns for CDA. They are hidden if the civ cannot build that building. They are after the building class columns in the customize view.

I'll work on adding some of those other ideas you had Cammagno. I'll also check out your pages now. :goodjob:
 
I've made some more improvements to the CDA.

  • Fixed Defense and Espionage Defense columns.
  • Widened pages dropdown by 50%.
  • Added buttons to switch pages (< and >). (@Cammagno - you suggested up/down buttons which make more sense visually, however ...)
  • Added buttons to move pages while customizing. No more need for leaving empty pages for future use. Just add a page and move it up where you want it. :)
Let me know of any problems.
 
I've made some more improvements to the CDA.

  • Fixed Defense and Espionage Defense columns.
  • Widened pages dropdown by 50%.
  • Added buttons to switch pages (< and >). (@Cammagno - you suggested up/down buttons which make more sense visually, however ...)
  • Added buttons to move pages while customizing. No more need for leaving empty pages for future use. Just add a page and move it up where you want it. :)
Let me know of any problems.

Me dreams are real now! :goodjob: :goodjob:
I'll test just now. :)

Edit: tested: everything is working pretty well; you increased my mark for CDA from 9 to 10!
 
@ EF

I've just committed my customized pages for CDA (I'll start a new thread about them, because for now it is not possible to install them together with BUG, so it's better to make people know that they exist). They are in the repo and here:
http://forums.civfanatics.com/uploads/74513/Cammagno_s_CDA_Pages_1.0.zip
Thanks to the new buttons added by you to CDA, I think that a double edition (Full and Light) is not anymore needed... it's so quick to move between pages, now! :)
The only thing that can be improved (ok, there is the location/installation issue, but we already spoke a lot of it) is that in the first page (the one with the specialist icons and the Civ and GP lists) the zoom city buttons doesn't appear. Is this intentional because of some conflict with the specialist icons? Or can it be solved?
In any case, thanks again for your improvement to CDA :goodjob:
 
The zoom city buttons were hidden when the specialists were showing by design, probably because of the way the button was attached to the table. Since i fixed that I tried now with the zoom buttons showing -- works fine. :)

I also added buttons to toggle whether the page should show the specialists/gp/culture. Since I couldn't think of a button to use for the specialists, the figurehead is used for both GP legend and specialists. They don't show the current state, so they are a little confusing. If someone can think of some DDS files that could be used (or make some), I'll swap them out for the highlighting buttons like the "customize mode" toggle button.

@Cammagno - Could you please commit your CDA.txt file to the repo at the same level as the INI? I think that's where we eventually want it to live, right? I'll work on fixing the location code soon (maybe tonight).

P.S. Thanks Alerum. :)
 
Top Bottom