Adding Units to PTW

Yes I did. I even added an actual civilopedia entry even though I never bothered when I added units in the pre-PTW days. Its particularly frustrating to me that I was able to a add a bunch of units before PTW without a hitch a now it seems like I'm missing something.
 
Ok, wow, I'm really confused now from what Isak and Dog said.

I'm a veteran at adding custom units to regular CivIII, but just now I tried doing it the same way as I used to while adding the new ANIMNAME entry to pediaicons and it doesn't work.

I get no errors making my "Modern Infantry", but for the Civilopedia entry (in the editor) I put "PRTO_Infantry" (because I don't want to make a new civilopedia entry right now), which has always worked in the past, and all I get is the animation for the regular WWI/WWII infantry. :confused:

I have everything set up in a scenario folder with the appropriate directory structure. Like I said, I get no errors, it just pulls up the wrong animation --which seems odd to me because the name of the unit is "Modern Infantry" so I would think it would look for a unit folder and .ini file called "Modern Infantry".

Any thoughts?

EDIT: SOLUTION, SOLUTION, I'VE FOUND THE SOLUTION!
Ok, pretty much everything everyone has said here is right. BUT! You must also (in addition to the ANIMNAME entry) add a separate ICON_PRTO entry in the pediaicons file that matches the name of your unit. After I did that (and changed the PRTO entry for the unit in the editor), it worked beautifully. So there you have it.

Take a look at this thread. It's pretty dead on.

Thanks all.
 
Col. Kraken: Well, you only asked about the #ANIMNAME entry. You had to add in the ICON_PRTO in regular civ3 too :D


Jbearit: Can you post the exact error message you get?
 
Originally posted by JBearIt
I can't figure out what I'm doing wrong here. I added the Incas and the unique unit of the Eagle Warrior. I can't get the Eagle Warrior to work properly. Each time I try to build it, I get a "Missing Entry" error that refers to the PediaIcons file. I have already inserted #ANIMNAME_PRTO_Eagle_Warrior and then Eagle Warrior on the next line. I have checked the spelling and spacing to make sure there are no errors. I have directed the scenario path in the editor to my specific scenario folder and added the Eagle Warrior to the art/units subfolder. I know that the scenario path is working properly because the editor gives me the choice of the additional icons from the modified units32 file and the Eagle Warrior icon shows up in the build queue. What can I be missing?

ICON_PRTO_EAGLE_WARRIOR entry??

If that's not it, believe it or not it's probably the spelling. I know...I've looked at some entries 5 or 6 times before I catch the mistake. An extra space here, an extra understrike there. Also check the spelling of the civilopedia.txt entry in the editor.

An empty space at the end of the entry?

Keep looking!
 
Yep, that's another very likely cause for the bug.

My favourite stupid mistake, was after adding in a whole bunch of improvements for Double Your Pleasure, i then turned to the units and started adding lots of new units.

Then when loading the game I got a "Missing entry in Pediaicons.txt - ANIMNAME_BLDG_Medieval_Infantry" error....

Guess what I did wrong.. :rolleyes:
 
Well I've checked numerous times for misspellings but will check again. By the way, the complete error message reads:

Error Reading File

Missing Entry in "Scenarios\Jim's Mod\text\PediaIcons.txt": ANIMNAME_PRTO_Eagle_Warrior

Update: Just checked again and can't seem to find misspelling or spacing problem
 
Ok - and is the BIX file called "Jim's Mod.bix" ? or at least that's declared in the Search Folders path, if the bix is named differently.

Also, check that the Pediaicons.txt is exactly where the path in the error specifies.

If that seems ok, try changing the BIX name and folder (or the Search Folder path and folder) to "Jims Mod" without the [']
 
I tried all of Isak's suggestions and none of them worked. I even came up with the idea that maybe it's just the Eagle Warrior that's messed up so I tried adding the Ashigaru Warrior instead. Same exact problem.

I can get new leaderheads to work. I can customize the diplomacy.txt for a new civ. All of the associated modified files are in subfolders of the same Jims Mod folder. I just can't seem to get the new units to work.
 
Originally posted by JBearIt
I tried all of Isak's suggestions and none of them worked. I even came up with the idea that maybe it's just the Eagle Warrior that's messed up so I tried adding the Ashigaru Warrior instead. Same exact problem.

I can get new leaderheads to work. I can customize the diplomacy.txt for a new civ. All of the associated modified files are in subfolders of the same Jims Mod folder. I just can't seem to get the new units to work.

Well, I think you better post that pediaicons.txt file. I won't be able to look at it until tomorrow night but maybe Isak can look at it before then.
 
It`s very easy to add units in CIV 3.
So not the case with PTW it appears.
What`s the reason for this change?
Have anyone seen an explanation from FIRAXIS?
 
If you check out the Help forum, you'll find tons of posts from people who asked for help with adding units to the original Civ3 :) It's only easy 'cause we now know how it's done, that it's thought of as easy.

PtW is simpler to add units to, and easier to keep track of for the modders, but there's always a chance of a typo creeping in somewhere.
 
Well, I've been working with it for a few months now and added/changed 125 units.

I think time has already told for me :)
 
Well here's my pediaIcons file. Thanks for taking a look. By the way, I've gone back to adding the Eagle Warrior but am using the Ashigaru Spearman as the civilopedia images because I didn't have Eagle Warrior images for that.
 
Found it, I think :)

Looks like you've accidentally hit the TAB button after writing the ANIMNAME_PRTO_Eagle_Warrior entry.

I've fixed it in the attached file, but in case you want to be sure you know what I'm on about, open your own file and place the cursor right after the last 'r' in Eagle_Warrior, and then press the right-arrow button. Now notice that there is blank space there, which the game counts as part of the name.

Hope this is it - I can't test of course, so let me know if it doesn't help.
 
Originally posted by JBearIt
Well here's my pediaIcons file. Thanks for taking a look. By the way, I've gone back to adding the Eagle Warrior but am using the Ashigaru Spearman as the civilopedia images because I didn't have Eagle Warrior images for that.


do you say Eagle Warrior? Get the .pcx files here.
not the best but they do work (:
 
Originally posted by Isak
Found it, I think :)

Looks like you've accidentally hit the TAB button after writing the ANIMNAME_PRTO_Eagle_Warrior entry.

I've fixed it in the attached file, but in case you want to be sure you know what I'm on about, open your own file and place the cursor right after the last 'r' in Eagle_Warrior, and then press the right-arrow button. Now notice that there is blank space there, which the game counts as part of the name.

Hope this is it - I can't test of course, so let me know if it doesn't help.

Thanks for the effort and it seemed like a promising solution. Unfortunately it still doesn't work:(
 
Originally posted by Colonel Kraken


Not true. I never did, and it worked perfectly, including using the correct icons in the city build screen. :p

:D

That's only because you put PRTO_Infantry in the civpedia.txt entry box. Now that you have PRTO_Modern_Infantry in the entry box, the game will require the ICON_PRTO_Modern_Infantry entry or the game will crash.
 
Originally posted by JBearIt
Well here's my pediaIcons file. Thanks for taking a look. By the way, I've gone back to adding the Eagle Warrior but am using the Ashigaru Spearman as the civilopedia images because I didn't have Eagle Warrior images for that.

Can you put that in a zip file and repost it??
 
Back
Top Bottom