View Full Version : Missing entry


lord_jack
Jul 30, 2006, 06:06 AM
Hello friends.

I've recently embarked upon changing the main civ3c game by adapting the main conquests scenario (the one the game uses to play all normal games) to hole more units.

This is my first major dig into "modding" if that is what one calls it. i created the units, and their civlopedia entires. though when i load the game with them in to test it, the game comes up with a message :

"missing entry in "text\pediaIcons.txt" : ANIMNAME_PRTO_Modern_Infantry"

Modern infantry being one of my new units i hope to merge with the main game. i also assume this message will turn up with the other 4 major units. As you may expect i entered the pediaicons document and upon finding the entries for the units i managed to understand what i must copy. That being the directories fr the .pcx files.

Though as to add more complexity my units are not using the usual icons, and are using the icons from the back of the catalogue if it were. the icons i am using are number 93 and 161 from the c3c editor.

After much description, is any one willing to help me sort this problem out :D

Thanks very much

Virote_Considon
Jul 30, 2006, 02:31 PM
Did you add the unit's animations in the Pediaicons.txt file? That looks like the problem to me.

lord_jack
Jul 31, 2006, 09:43 AM
Hmm no i didnt't. how would i go about that?

Quinzy
Jul 31, 2006, 09:46 AM
well, its near the bottom of the pediaicons txt file.

Plotinus
Jul 31, 2006, 10:16 AM
Don't alter the files for the main game! If you screw up, you'll be in big trouble.

You should copy the files that you want to change into a new folder, located in Conquests/Scenarios. Then you should change the copies. Use the Editor to create a new mod in this folder which uses the altered files. Then you can do what you like and leave the main game unaffected. The second post in this thread (http://forums.civfanatics.com/showthread.php?t=149597) describes what to do in more detail.

As for your problem, yes, you need to have an entry in the ANIMNAME section as well. Basically, there are two sections of the Pediaicons file that govern units. You've already discovered the first, which points the way to the pcx images. The second is near the end and it tells the game where to find the unit animations. Under the heading #ANIMNAME_PRTO_Whatever, you simply write the name of the folder containing the unit animations.

Good luck with it, though. It sounds like you're getting the hang of it (careful study of the Pediaicons file normally results in complete perplexity for most people).