I have downloaded some new units for ctp and ive put the files where they are supose to go but they wont appear in the game when i start a new game. what is wrong and could u help me please.
Announcement
Collapse
No announcement yet.
Unit to appear in game??
Collapse
X
-
Well, once you have dropped the various graphics and videos in the right folder, you have to edit some text files so the game knows where to find the graphics and what properties the unit should have. To do this, edit units.txt, spriteID.txt, uniticon.txt and gl_str.txt. How to do this should be relatively obvious once you open the files: just copy an entry of an existing unit and edit what you want to change (don't forget to update the number at the top of some files, that represents the total number of entries in the file). Optionally, you could add the unit to the Great Library and AI files as well, but that's slightly more complicated. I haven't modded CtP1 in a long time and my memory of the procedures is pretty poor, so I can't help you too much with that but there is a lot of useful info in the Modification section of this site and J Bytheway has written a very good modmakers guide, those will no doubt be very helpful. If you have further questions, feel free to at least ask...
Edit: fixed linkLast edited by Locutus; April 10, 2002, 19:59.
-
The Great Library is the in-game reference thing, the file is in ctp_data/english/gamedata.
The AI files are in ctp_data/default/aidata but they take a bit of exploring to get used to. Try to locate a list of units, and add your new ones in the 'right' place.Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis
Comment
-
My memories of CtP1 modding are weak but I distinctly recall the Great Library to be a pain in the arse, IIRC it consisted of hundreds of individual text files in a seperate subfolder under english\gamedata actually...
Edit: the Activision FAQ in the Modification section of Apolyton (see link above) contains some info on how to add files to the GL.Last edited by Locutus; April 10, 2002, 19:59.
Comment
-
Ive added the info for my new unit into the units.txt, spiteiID.txt, Uniticon.txt and gl_str.txt.
But now the game wont load good job i save the orignals.
What could the problem be????Attached Files
Comment
-
I can't access the files right now but I may have a look tonight or so. What exactly is going wrong? Is the game crashing? If so, do you get an error message? What does it say? When does it crash? While loading the game itself or while starting a new game?
Comment
-
I guess its the sounds. Try swapping on all the sound lines the word SWORDSMAN for WARRIOR or something. CtP1 has a tendancy when faced with a major file error (5 lines out roughly, or when you get the number at the top of the file wrong by more than 3ish) to not give an error message, but crash flat out.
Try different sounds, or make sure any SWORDSMAN sounds you do reference to, you actually have named in sounds.txt, and have the sound files in the right game folder (ctp_data/default/sounds).Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis
Comment
-
Make sure the sprite is named Gu96.spr and referenced in SpriteID.txt to
Code:UNIT_XXX 96
Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis
Comment
Comment