Announcement

Collapse
No announcement yet.

How to make changes work?

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

  • How to make changes work?

    I have the apolypton mod patch installed and now I want to edit something on my own

    I have made some tests like this in the file cpt2_data\default\gamesdata\APOL_tileimp.txt

    This is under the road part:

    TerrainEffect {
    Terrain TERRAIN_DESERT
    Terrain TERRAIN_GRASSLAND
    Terrain TERRAIN_PLAINS
    Terrain TERRAIN_SPECIAL1
    Terrain TERRAIN_SPECIAL2

    MoveCost 33
    EnableAdvance ADVANCE_WHEEL
    BonusGold 5
    BonusFood 5
    ProductionCost 0
    ProductionTime 2
    TilesetIndex 200
    }

    I have tried it, but it doesn't give any gold or food extra (in this case). btw, does it actually change the values in the mouseoverhelp or are they set?

    I have also made other changes in the same file in hydronic farms and so, but they just don't change in the game? How can I make this work?
    This space is empty... or is it?

  • #2
    Take a look into the APOL_gamefile.txt and APOLUL_gamefile.txt search for a line tileimp.txt. If you found this line you see the reason why the game doesn't use your changes: Simply it does not use the APOL_tileimp.txt, so if you want to change values of the tileimprovements you have to edit the tileimp.txt. I wouldn't put the APOL_ prefix in front of tileimp.txt, because the APOL_tileimp.txt there is one from MedPack2 and shouldn't be used by the Apolyton Pack. You should use the according file from FixMod that can be found in the Apolyton CTP2 DataBase.

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

    Comment


    • #3
      Thanks Martin, it works now
      This space is empty... or is it?

      Comment


      • #4
        ADG:
        Download the Apolyton 1.02 update (see the top Apolyton Pack thread in this forum). This update now uses APOL_tileimp.txt so any changes you make should go into this file.

        BTW, I noticed that the enabling advance of your change is ADVANCE_WHEEL. Apolyton Pack does not use that advance. That's a Med Pack advance (hence the explanation of Martin's). Use the APOL_tileimp.txt from 1.02.

        Comment


        • #5
          I downloaded this file: apolyton_update_1.02.zip, but it does not contain a APOL_tileimp.txt and the APOL_gamefile.txt and APOLUL_gamefile.txt files contains only the tileimp.txt entry so this update does not use the APOL_tileimp.txt either. I don't know if the full 1.02 version contains the APOL_tileimp.txt, I did not download this file.

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

          Comment


          • #6
            Woops, my bad. I was thinking of something else.

            Comment

            Working...
            X