Announcement

Collapse
No announcement yet.

CTP Modification FAQ

Collapse
X
Collapse
  •  

  • CTP Modification FAQ

    Hey, fellow civers ... I'm not a programmer or such, so please view this information with skepticism (I would), use caution, common sense, and don't blame me if something goes wrong! I'm just an average guy who's addicted to Civilization: Call to Power. I've been working with some great people on the improvement and modification of Civ:CTP, as well as trying to address some of the game's bugs, annoying quirks, and so forth. Most of what I've personally learned has been through trial and error--and countless crashes and errors and ... headaches.


    So, to prevent someone else from having to go through this and to share what I've discovered about CTP and how to change or customize it, I have a few answers to questions I've seen floating around for a while. I will try to be as detailed as I can, so if to you I seem patronizing, please humor me--this is intended for everyone, not only seasoned vets.

    Firstly, this is presuming you have Windows 95/98. Secondly, one must be aware of the location of certain files: in your Activision, Civ:CTP file folder, you will see a "ctp_data" file. In that are the important folders--namely, "default" and "english" (or whatever language version you have). When I refer to files, they'll be in either of these. Familiarity with your CTP files is a definite advantage--explore!

    How do I change unit stuff?

    In the "default" folder, find "gamedata." In here contains a great deal of edittable files. The "Units" file is the one you want. Generally, if you're not sure about messing with something, leave it and ask for advice and always BACK UP the files (copy and paste elsewhere) before changing! There are all sorts of bits of code, either in word form or with numbers, which define what the unit is, does, and so on--most of it is fairly easy to understand. If you see something, say, in the case of the "hoplite" (otherwise called "phalanx") unit, "MAX_HP 10" or "ATTACK 10" or "DEFENSE 20," in one unit, it can be used in another unit--if you want your phalanx to have a DEFENSE value of 10 instead or 20, change it. Look at the other units to see what qualities they possess, especially the "special flags" part. Note: to avoid chaos, try making the minimal number of changes at once if you are not that experienced; changing dozens of units and making one little mistake might make it difficult to locate the problem later...try one unit at a time, then test, to start with.

    This can be applied to governments ("govern" file), advances ("Advance" file), wonders ("wonder" file), etc., in the default/gamedata folder.

    How do I slow the game down?

    Default/gamedata folder: the text file is called "DiffDB." You will see that each difficulty level has its own settings that controls the starting year, years per turn for each period, etc. Increasing the number after "YEARS_PER_TURN" in all periods (and for all difficulty levels, which is advisable but not necassary) will accomplish this. My personal preference was to set back the starting date by 1000 years, (-5000 rather than -4000) but this may not be what you want. Again, back up the file so that you can go back to the original if you wish...and always test before.

    How do I change colors?


    Colors (of civilizations and the radar map--even text) can be changed in "Colors00" in your default/gamedata folder. There are colors for each player in the game--changing the numbers for the appropriate player (civ) in the three sets of numbers will accomplish this (for example, if you want to change your civ's color to, say, black, find the player one setting --

    Code:
    COLORSET_COLOR 190 190 190 # COLOR_PLAYER1
    -- which is silver here in my game--and change these numbers to:

    Code:
    COLORSET_COLOR 0 0 0 # COLOR_PLAYER1
    This can be done for the radar map and text on messages, etc., as well. For my radar map I changed each terrain to reflect actual terrain color (yellow for desert, tan for plains, and so on). Knowledge of color values is of course very helpful.

    How do I change the names of Civs?

    In the "english" folder, find the file called "civ_str," and take a look. You can change not only the the civ names but also their leaders, city names, and diplomat photos. If changing names, be sure the change has both opening and closing quotation marks, otherwise (as I've found) you'll have trouble.

    Well, there's a lot more, I know, but here's a few to start anyway. Being my first column, I will probably have more info next time--I hope. Any questions will likely be answered for you in the Creation or General CTP forums here.

    Until then....


    About the author: Hopeless Civ & CTP addict
      Posting comments is disabled.

    Article Tags

    Collapse

    Latest Articles

    Collapse

    • CTP MODIFICATION: MAKING UNIT GRAPHICS
      by Harlan
      Get the Full version of this guide with images and unit.txt example

      Here is what I have so far on a file to help explain how to make non-animated unit graphics. I'm going to add some more (such as an additional section on how to make shadows) but this is the basic part. When I post it, I will include a couple of files that will help the user make files easier. For now if you want to try this out, use the text I included earlier in this thread for the text file, and open up one of the cow pictures that comes with the graphics editor patch to start your graphic off from (deleting the cow, of course).
      ...
      March 5, 2012, 17:43
    • CTP MODIFICATION: AIP COMMENTS
      by Celestial_Dawn
      I think I've managed to figure out how the AIPs work. The AIPs certainly have a lot of information about the inner workings of the AI. Read and enjoy. AIP COMMENTS (based on default.aip) Default.aip is the first aip loaded at game start and contains a number of strings which are not found in the other personality aips. If repeated in the other aips, the new values take precedence over the default. // The next line was used in Dark Reign to specify a likelihood that a spy // would be seen... We can use that stuff in Civ3, too int infiltrator_period = 2; No clue. ...
      March 5, 2012, 17:33
    • CTP MODIFICATION: SET_FOOD_OR_PROD.FLI and SET_RESOURCE_DESIRE.FLI COMMENTS
      by Celestial_Dawn
      SET_FOOD_OR_PROD.FLI and SET_RESOURCE_DESIRE.FLI COMMENTS For all non-barbarians: 1. If cities = 0-1 and total population is 1, Maximise growth ratio (minimise turns to next pop) Pay as much wages as needed, minimise rations, average workday No PW Minimum workers on production tiles Maximum workers on food tiles Opening game strategy (this means explore more, and don't build roads yet - this is the same for all entries in this FLI so I won't repeat it) ...
      March 5, 2012, 17:27
    • CTP MODIFICATION: BEGINTURN.FLI&OUTPUTS.FLI COMMENTS
      by Celestial_Dawn
      BEGINTURN.FLI(S) COMMENTS beginturn.fli is a template that is unused by the game. The settings for the various personalities are: Barbarian settle_dense, science_slow, diplomacybarbarians //Barbarian Cleric settle_dense, science_fast, diplomacypeacebackstab //Religious SciFew settle_loose, science_fast, diplomacypeaceloyal //Agreeable SciMany settle_dense, science_fast, diplomacypeaceloyal //Peaceful Slaver settle_dense, science_fast, diplomacywarbackstab //Slaver WarFew settle_loose, science_slow, diplomacywarloyal //Aggressive WarMany settle_dense, science_slow, diplomacywarbackstab //Militant Note that both science_fast and science_slow are identical, Activision decided to set them all to a fast science rate, but differentiated them according to their research goals - i.e. do you research war branches rather than development brances of the tech tree. I think this approach is just fine....
      March 5, 2012, 17:23
    • CTP MODIFICATION: AIPLOADER.FLI COMMENTS
      by Celestial_Dawn
      AIPLOADER.FLI COMMENTS OUTPUT primary_loaded is only in aiploader.fli primary_loaded is to make sure that the AIPs are loaded in the correct order. This is to ensure that survival_mode.aip and citywall.aip are only loaded after the personality aips have first been loaded. Personality AIPs are always loaded on the first turn (turn 0). Otherwise, not relevant...
      February 13, 2012, 19:07
    • CTP MODIFICATION: ACTIVISION FAQ
      by Mr Ogre
      How to stagnate growth and technology

      "When you create scenarios, will you be able to stagnate growth? For example, if I wanted to create a Viking scenario would you be able to ensure the tech level remains the same for that time period as opposed to being able to develop nuclear weapons? In Civ 2 that was one of the things that bothered me most. Someone creates a WW2 scenario and it quickly turns into a Desert Storm scenario."
      You can "stagnate" technology through three routes:...
      February 11, 2012, 21:16
    Working...
    X