And then there was NOTHING....

redrush2k

Chieftain
Joined
Feb 26, 2004
Messages
13
And then there was BLACK. I tried adding units downloaded from this site to a scenario I created. This is what I did:

Set up my scenario folder to look like this:

mymod/art/units
mymod/text
mymod/art/civilopedia/icons/units

in mymod/art/units i created a unit folder for my downloaded unit, lets call him Warrior2. Inside this folder was the .INI file with the EXACT name, and several .flc files. Doublechecked .INI, everything points where it should.

Also under mymod/art/units is the units_32.pcx file. I cropped and pasted Warrior2's icon onto the existing unit_32 (which i copied from the original)

Under mymod/text i did not edit the civilopedia choosing instead to use the already in place PRTO_Warrior for my civ icons.

Under the PediaIcons file I added this:
#ANIMNAME_PRTO_Warrior(new unit)
Warrior(new units folder)

Remember, the civilopedia entry is no different.

This failed. I then tried:
#ANIMNAME_PRTO_Warrior(new unit)
mymod\art\units\warrior(new units folder)

Failed. The simplest of additions, yet when I go to build my first city, C3C crashes to desktop. I have no idea what I could be doing wrong, It worked in PTW?!?

I also have a question concerning adding technologies and customizing existing units to another myscenario. I got an error message saying: ERROR: could not find file TECH_atech that doesnt exist in PediaIcons.txt. C3C will now exit.

???

Can someone point me into the right direction when it comes to customizing the civilopedia and tech tree? and why my game keeps crashing? please!!! thank you. :)
 
You should use a unique PRTO_Unitname in the editor, otherwise it'll use the original (warrior in this case) gfx.
#ANIMNAME_PRTO_Warrior(new unit)
Warrior(new units folder)
This is correct.

You see, this #ANIMNAME_PRTO_Unitname points to the unit name you give in PRTO_Unitname. As you pointed this to the warrior it can't find the new stuff.

HTT
 
Sounds like to me when you were cutting and pasting (the units 32.pcx) you used a program that could only work in .bmp files (like paint), and therefore made the units32.pcx into a .bmp

But the file has to be 256 color .pcx

.bmps are usually 16 million color and not the right file type.

If this sounds right you should download a trial program of Photo Shop or Paint Shop Pro.
 
yes I did point everything in the correc t direction, I think. The "warrior" was just an example of the unit I used, but I have it pointed in correct place because It shows up in the civilopedia perfectly. Its just that when I build my city, the game crashes.

Neomega, I think your on to something. I tried running a regular new game of civ and the same thing happened, but when I deleted my extra units_32 file (which was in mymod folder) the game went without a glitch. I was using finepix viewer, but Ive just downloaded JASC painshop pro. Ill try again later.

thanks.
 
Actually, I'm having the same problem, but when I checked the units_32 it is still a .pcx file. I've fixed everything up according to ColonelKraken's guide and it dosen't give any reason for quitting it just reverts to desktop.
I have only added units and two leaderheads to my mod.
Please help.
 
Originally posted by redrush2k

Neomega, I think your on to something. I tried running a regular new game of civ and the same thing happened, but when I deleted my extra units_32 file (which was in mymod folder) the game went without a glitch. I was using finepix viewer, but Ive just downloaded JASC painshop pro. Ill try again later.
.

Finepix viewer probably only does only JPG's and maybe TIF's
 
I think Ive figured it out. Whenever you add a unit to the units_32 pcx file the new unit must be exactly in place for the game to function. When using my old system cutting and pasting was hity or miss, and sometimes you would overlap, and the game will crash to desktop. Using paintshop pro, I can paste the unit transparently, fitting it into the box provided with absolutely no overlap, and everything works out.

Now, getting everything pointed in the correct place (animations, artwork, etc..) is a whole other story, but basically the same premise. Nothing can overlap.
 
I went and checked the overlap of my units in units_32.pcx Nothing overlapped.
I can't think of anywhere else I've mucked up.
 
Furius, is the pcx in "RGB" or is it "Index"ed? It must be saved with 256 colours, and don't save it with another palette until you know what you're doing.
 
Ah I see now. It claims to be saved with 16,7 million colours. Unfortunatly I don't think My program (Irfanview will change this.
 
Back
Top Bottom