Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Civilization: Call To Power > CtP-Creation > Unit to appear in game??
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
12.Sep: `CTP CHALLENGE LADDER` - SEPTEMBER UPDATE
09.Sep: EARLY BUILD SPRITE EDITOR
02.Aug: `SUPERLEAGUE` SIGN-UP

bottom of page
  - CIVILIZATION: CALL TO POWER @ GAMESTOP $9.99 - CIVILIZATION: CALL TO POWER @ AMAZON $9.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Creator is offline Creator
Chieftain

Apr 2002
time: 05:18
Unhappy  Old Post 09-04-2002 16:26
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Unit to appear in game?? Avatar Enlargement: We've got the solution

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.

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:18
  Old Post 10-04-2002 20:30 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Full PM-box? Change here!

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 link

Last edited by Locutus on 11-04-2002 at 04:59

Creator is offline Creator
Chieftain

Apr 2002
time: 05:18
  Old Post 11-04-2002 02:30
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Inflate your Upload Space

thanks for replying to the question thought no one was going to help me. I have added new units to some othe games so i have a basic nolage but this is quite different from the others more complex ile c how i do.

Thanks again

Creator is offline Creator
Chieftain

Apr 2002
time: 05:18
  Old Post 11-04-2002 03:03
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Where and what are the greatlibary and ai files called??

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:18
  Old Post 11-04-2002 03:55 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Call to Power 2

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.

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:18
  Old Post 11-04-2002 04:46 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Lose 30 kilos (of popups)

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 on 11-04-2002 at 04:59

Creator is offline Creator
Chieftain

Apr 2002
time: 05:18
Unhappy  Old Post 12-04-2002 00:07
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Increase the size of your Attachments

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????

Attachment: txtfiles.zip
This has been downloaded 4 time(s).

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:18
  Old Post 16-04-2002 17:37 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Full PM-box? Change here!

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?

Creator is offline Creator
Chieftain

Apr 2002
time: 05:18
  Old Post 16-04-2002 21:55
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton buy from Amazon

It starts to load with the little load bar then about half way along the bar it just stops and cancels the load and goes to my desktop screen. Nothing major hapens just a shut down.

The unit is a swordsman.

Creator is offline Creator
Chieftain

Apr 2002
time: 05:18
  Old Post 16-04-2002 21:57
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Got spare money?

It happens when I try to load the actual game eg double click on the games icon.

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:18
  Old Post 16-04-2002 23:31 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Full PM-box? Change here!

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).

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:18
  Old Post 20-04-2002 05:42 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Inflate your Upload Space

Well, did IW's advise do the trick? If not, I'll see if I can have a look tomorrow (but no promises, I'll have to reinstall the game and am quite busy with real-life)...

Creator is offline Creator
Chieftain

Apr 2002
time: 05:18
Post  Old Post 20-04-2002 13:40
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Get a bigger avatar today!

I wanted a cmpletely new unit added to the game I think it is somthing t do with the spr file. I put the name here.

#Spr96 #id string of the default sprite.

If this narrows it down a bit

if it isnt this is its ok ile figure i out eventually.

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:18
  Old Post 20-04-2002 23:45 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Full PM-box? Change here!

Make sure the sprite is named Gu96.spr and referenced in SpriteID.txt to

code:
UNIT_XXX 96

Where UNIT_XXX is the name of the sprite as referenced in units.txt.

Creator is offline Creator
Chieftain

Apr 2002
time: 05:18
Question  Old Post 21-04-2002 04:40
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Dont u mean Gc096.spr for the sprite name can I rename it to Gc0100.spr because te 96 is already taken.

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:18
  Old Post 22-04-2002 17:12 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Support Apolyton buy from Amazon

well use different one then. It should have no preceding 0s. gu100 would work.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:18
Post  Old Post 29-04-2002 01:23 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Support Apolyton, buy Call to Power 2

quote:
Originally posted by Immortal Wombat
well use different one then. It should have no preceding 0s. gu100 would work.


Unfortunatly only up to gu199.spr, although it should work for much higher numbers, too.

-Martin

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:18.
Apolyton Time is 00:18.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0543 seconds (88.95% PHP - 11.05% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net