Announcement

Collapse
No announcement yet.

Strategies.txt Confusion

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Strategies.txt Confusion

    1. In strategies text theres -

    Code:
        // bonus for building road tile improvements
        RoadUtilityBonus  200
          
        // bonus for building production tile improvements
        ImproveProductionBonus  10
    
        // bonus for building growth tile improvements
        ImproveGrowthBonus  100
    
        // bonus to apply to cells with goods
        ImproveGoodBonus  75
    My question is, would ImproveCommerceBonus work? Is there any other file that these refer to?


    2. Also theres this part -

    Code:
            PopAssignmentElement {
            // percent of workers after minimums have been achieved that
            // should be used as specialists
            Specialists         0.1
    
            // Percent of allocation to different specialist types (total = 1.0)
            FarmerPercent       1.0
            LaborerPercent      0.0
            MerchantPercent     0.0
            EntertainerPercent  0.0
            ScientistPercent    0.0
    
            Bottom 0.2 GrowthCities
        }
    I want to use "Top 0.2 CommerceCities". CommerceCities is used in strategies.txt but not in the context of specialist allocation, as i want to use it. Its used under the building queues part, like this -

    Code:
    	BuildListSequenceElement {
    	  Priority 10000
          BuildListSequence BUILD_LIST_SEQUENCE_SCIENCE
    	  Top 0.2 
          CommerceCities
    	  Advice BUILD_SCIENCE_ADVICE
        }
    3. Last question. When it says -

    Code:
        //
        // SCIENCE SETTINGS
        //
    
        // percent of gold to put into science
        SciencePercent      60
    ...underneath the default strategy for those governments mentioned, how would the 60% work with a government which could go to 100% science max? Wouldnt it be a waste? Or am i confused?

    Apologies if all these questions have been asked and answered before but i couldnt find them.
    Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
    CtP2 AE Wiki & Modding Reference
    One way to compile the CtP2 Source Code.

  • #2
    For the flag reference you could look it up in the flaglist, but it seems to look a little bit incomplete at this place you need to look it up.

    1. No, I didn't found it in the ctp2.exe and it isn't therefore in the flaglist. If there would be something additional in that regard I would have tried already. But there is nothing for the commerce tile improvements obviously they forgot, or controlled this by other means, e.g. by the ratio of the other flags or made it terrain depending. Fact is in the original game the AI builds commerce tile improvements on desert tiles.

    2. Of course you can try it, but I am afraid it won't work.

    -Martin
    Civ2 military advisor: "No complaints, Sir!"

    Comment


    • #3
      2. Try "GoldCities". It's listed in the strategies documentation but isn't used in strategies.txt. Whether or not it will work is anybody's guess.

      Comment


      • #4
        Well GoldCities doesnt mark an error like CommerceCities did, i havent had the chance to check if its working yet but it ran ok. Thanks.

        I figured out the science thing too, but what i dont understand is why they (Activision) decided to put some of the STRATEGY_ science settings at 60/70%, even for futuristic governments, the AI uses that setting.
        Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
        CtP2 AE Wiki & Modding Reference
        One way to compile the CtP2 Source Code.

        Comment

        Working...
        X