Announcement

Collapse
No announcement yet.

Hacking CTP: Tips From Activision

Collapse
X
Collapse
  •  

  • Hacking CTP: Tips From Activision

    Hacking CTP: Tips From Activision

    How to edit the Great Library, Sounds, and Sprites.

    Great Library

    If you want to edit or create your own text entries for anything in the Great Library, you must first decide which type of entry (Unit, Wonders, etc.) you wish to change. To find the filename used in the Great Library, open the respective *ICON.TXT file in \CTP_DATA\DEFAULT\GAMEDATA\. For example, open UNITICON.TXT to find the filenames used by the Legion (Unit) in the Great Library.


    Each item in the *ICON.TXT files has several filenames associated with it. The .TGA is used for the still image. The .AVI is used for the rotating image. The .TXT files beginning with "GAME" are displayed in the Gameplay section of the Great Library. The .TXT files beginning with "HIST" are displayed in the Historical section of the Great Library. The .TXT files beginning with "PREQ" are displayed in the upper-left section of the Great Library. The .TXT files beginning with "VARI" are displayed in the upper-right section of the Great Library. The .TXT files beginning with "STAT" are displayed to describe the gameplay features of the item in the Production Tab.

    Once you have found the proper filename, you may create your own file using the same file type and filename as the original. Create .TGA using 160x120 pixel size. Create .AVI files with 160x120 pixel size (use 15 frames per second and Indeo 5.10 compression for best results). After creating your file, place it in the proper directory to be used in the game. Place .TGA files in \CTP_DATA\DEFAULT\GRAPHICS\PICTURES. Place .AVI files in \CTP_DATA\DEFAULT\VIDEOS. Place .TXT files in \CTP_DATA\ENGLISH\GAMEPLAY\GL. The original files are stored in the .ZFS files. Do not try to change or open those files. Any file outside of a .ZFS has priority and will be used instead of the original. To revert back to the original files, simply delete your files.

    Sounds

    If you want to create your own sound files for Units, you must first decide the action and filename for which you wish to create a .WAV file. Refer to the SOUNDS.TXT in \CTP_DATA\DEFAULT\GAMEDATA\. Each Unit has several sounds, one for each of the actions that the Unit may perform. Match the Action and Unit to find the filename. For example, to learn the .WAV filename used for the Death of a Legion, open SOUNDS.TXT and search for "Legion". The filename "GUVV78.wav" is listed after the entry reading "SOUND_DEATH_LEGION."
    Some items have different names than those displayed in the game. For example, the Mounted Archer Unit appears as "Chariot" in the text files.

    To use your own .WAV file, name your file the same as the filename found in SOUNDS.TXT. Then place your .WAV in \CTP_DATA\DEFAULT\SOUND. The original .WAV files are stored in the "SOUND.ZFS" file. Do not try to change or open that file. Any file outside of the .ZFS has priority and will be used instead of the original. To revert back to the original files, simply delete your files. Use 22mHz, 16bit mono when creating .WAV files.

    Unit Sprites

    To change the sprite used for a Unit, open SPRITEID.TXT, which is located in \CTP_DATA\DEFAULT\GAMEDATA. Then you decide on two things. First, decide which Unit you wish to change. Then decide which other Unit's sprite you wish to replace with the first Unit. Simply change the number of the first Unit to the same number listed after the second Unit. You should write down the original number of the Unit you are changing so that you can change it back at a later time.

    More details, tips & tricks to come ...
    Posted by Vahn, On Behalf of CTP Map Editor Team, on Official Site
      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