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 III > Civ3-Creation > HELP: Crashes with added units.
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
16.Sep: 7 NEW FILES
15.Sep: TRIAL + NO SLEEP = ONE GAME
13.Sep: PATCH THE PREVIOUSLY UNPATCHABLE

bottom of page
   - CIV3 CONQUESTS $29.99 - CIV3 from $9.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
123john321 is offline 123john321
King
Boo!
Feb 2002
time: 23:30
  Old Post 07-08-2003 06:57
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
HELP: Crashes with added units. Support Apolyton buy from Amazon

OK, when ever I start a game (with a mod) and try to change production or goto one of the adiveos(sp?) it crashes with a "Civilization3x has made a error" window come up, and I have to restart the computer when that happens, to restart the game, another (but less important) problem, when ever the unit (2 out of 4 do this, and I don't know why,) comes on the civiopeida list to read about it, it crashes (the same way as the 1st 2 problems)

So, what the problem and am I an idiot?

Spiffor is offline Spiffor
Emperor
CPA - Evil Clone brigade
Nov 2001
time: 06:30
  Old Post 07-08-2003 08:36
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Lose 30 kilos (of popups)

I can't help you about the big crash (we'd need a precise description of the error message to hope helping you methinks), but I think I can help you about the civilopedia error.
The explanation is a tad long, but I explained the whole process of adding a unit properly, since I don't know where you went wrong. There are some parts of the explanation that you may skip, because you probably know about them already (the trick is, I don't know what these are )

Adding a unit requires much precision:

- the name of a unit must be exactly the same as the name of its folder, and of its .ini file. For example, let's say you are adding a "Cataphract", then your repertory for the unit must be called "Cataphract" and its .ini file must be called "Cataphract.ini". I think it's case sensitive.



- in the editor, when you tweak the stats of your Cataphract, there is also a Civilopedia field. Spontaneously, you'd think the Civilopedia field is unimportant, and you'll be tempted to leave it empty, or to use some convenient Civilopedia link (for example, your Cataphract unit would link to the pedia entry for the knight). Well, it is wrong. The pedia entry is hugely important for your new unit to display correctly. In our example, the pedia entry must be PRTO_Cataphract



- That's why you must edit "Civilopedia.txt" and "Pediaicons.txt". Before doing this, I'll explain a bit about the folders for specific scenario (skip this phase if you already know about them).
I assume you are making a specific mod or scenario. Let's say it's called "Byzantium.bix". Every specific file it uses, that is not found in the regular Civ3 game, must be within its own "scenario folder". In the editor, you tell the name of this scenario folder in the "scenario properties" window, in the "Scenario Search folders" field.
In our example, let's say you write "Byzantium" in that field.

You must now create a "Byzantium" folder within the folder where your scenario is located. Probably, this will be \CivilizationIII\CIV3PTW\Scenarios\Byzantium
All your modded or added stuff will have to be somewhere in this new folder. New units, modified city graphics, modified Civilopedia, alternative leaderheads, you name it... All of this stuff will have to be in the right place however, so that Civ3 can find them.
You'll have to imitate the structure of the normal Civ3 to have correct folders. Your added units will have to be in \Byzantium\Art\Units. Your modified Civilopedia will have to be in \Byzantium\Text.



- What you must do in the Civilopedia.txt:
Copy the regular Civilopedia.txt and Pediaicons.txt in Byzantium\Text.
In the Civilopedia.txt, you must must add an entry for your new unit (in our example, the Cataphract). You'll see entries for normal units. Add your entry between two other unit entries. Your entry for the Cataphract may look like this:
quote:
#PRTO_Cataphract
^
^
^The Cataphract is Byzantium's heavy cavalry.
You could add more fluff (it'll display in the Civilopedia), but such a minimal entry does the job as well.



- What you must do in the Pediaicons.txt:
You must add two entries. The first one is rather unimportant, that's the picture of your unit in the Civilopedia. The second is essential, that's the animation your unit will actually use.
In this file, there are many entries like #ICON_PRTO_Yadayadayada. Between two of them, add an entry for the Cataphract. It may look like this:
quote:
#ICON_PRTO_Cataphract
art\civilopedia\icons\units\15knightlarge.pcx
art\civilopedia\icons\units\15knightsmall.pcx
. Notice I used the icons of the knight, because this si actually unimportant to gameplay. However, if your unit comes with icons for the Civilopedia, go ahead and use them

Now for the Krux of the problem (at last ! ). You must add an entry which will tell the game what animation to use for your new unit.
Near the bottom end of the Pediaicons.txt, you'll see many #ANIMNAME_PRTO_Yadayadayada. You must add an entry for your Cataphract again.
quote:
#ANIMNAME_PRTO_Cataphract
Cataphract
The name of the animation must be strictly identical with the name of your folder with the Cataphract graphics, as well as with the .ini file within it.



That's it ! your added unit should now work properly. Please notice that I have used the example of a Cataphract unit in a general Byzantium scenario as examples only. You can give any name you want to your scenario names, unit names and Pedia entries, like "123john321" or "guyhpg" if you want. The only thing is to remain consistent with the spelling.

Hope it'll help

123john321 is offline 123john321
King
Boo!
Feb 2002
time: 23:30
  Old Post 07-08-2003 20:50
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Browse Apolyton AD-FREE

Still not working, and I don't knwo why, EVERYTHING IS THE SAME! And about the avdios(sp?), I know the last 3 work, the amry one dones't, and didn't get to the others, and didn't try the civpodeia yet... and yet EVERYTHING work before the patch... I don't know, if you want, where the files (the txt, the ini, and the .bix)

Attachment: help.zip
This has been downloaded 1 time(s).

Condorswarm is offline Condorswarm
Chieftain
Condor's Peak
Feb 2002
time: 05:30
  Old Post 08-08-2003 11:15
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Increase the size of your Attachments

Which patch are you talking about? If the one you are talking about is the "PTW US v1.27f" patch, then that patch is not exactly brilliant for the UK version.

123john321 is offline 123john321
King
Boo!
Feb 2002
time: 23:30
  Old Post 08-08-2003 21:49
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by Condorswarm
Which patch are you talking about? If the one you are talking about is the "PTW US v1.27f" patch, then that patch is not exactly brilliant for the UK version.


I don't have the uk game, I have the us game

Condorswarm is offline Condorswarm
Chieftain
Condor's Peak
Feb 2002
time: 05:30
  Old Post 09-08-2003 11:25
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton buy from Amazon

That solves that problem then.

I am stuck, if I get any inspiration for solving this problem, i'll let you know.

123john321 is offline 123john321
King
Boo!
Feb 2002
time: 23:30
  Old Post 09-08-2003 21:59
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Remove this text

UPDATE: Can't build untis in normal game! (but beside that, everything works in the normal game...)

Spiffor is offline Spiffor
Emperor
CPA - Evil Clone brigade
Nov 2001
time: 06:30
  Old Post 15-08-2003 13:15
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

quote:
Originally posted by 123john321
UPDATE: Can't build untis in normal game! (but beside that, everything works in the normal game...)

Make sure your new units are available to every Civ. I'm not sure they are by default.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:30.
Apolyton Time is 00:30.
    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.0418 seconds (90.34% PHP - 9.66% 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