ADDING UNITs TO C3C: Thorough Guide for the Newbie

Im willing to write it if people need it...

Then go for it! I'm sure there'd be many that would love to have a more comprehensive (or maybe comprehendable :hmm:) tutorial. Many lurkers would no doubt be grateful as well.
 
it may seem kinda hard to understand at first as it did for me... but try not to understand it... lol. just do it. i dont think there is a better way to do it except to just follow the guide. i actually did everything according to the guide... including calling the mod "my mod." then i changed everything, of course.

but if you want a summary you basically just make a scenario. then go to scenario, and click custom rules. go to scenario properties in the same menu (scenario) and customize your stuff. then theres the unit part. by far the most annoying and confusing. find a unit you want, then download it in a folder, make sure the folder name and the ini file have the same name. make this folder structure. go to civ3/conquests/scenarios. make a folder called "whatever". save your scenario file into the scenarios folder, not the "whatever" folder. then inside the "whatever" folder, make 2 folders, text, and art. inside art, make a folder called units. download all your units into there, but make sure the .flcs and .inis are in individual folders, not just crammed into the units folder. in the text folder, copy the pediaicons.txt and civilopedia.txt from civ3/conquests/text. pediaicons.txt is where you do most of the actual adding. civilopedia.txt is where you make pedia entries, which i omitted because who cares. you do not need to edit civilopedia.txt at all to get your scenario to work. if you dont feel like doing it, dont. anyways. go into the scenario editor, and go to rules, edit. thats where you edit all the crap you want to from units to terrain bonuses and other stuff. go into units, and click add, name your unit (preferably the name of the folder you just downloaded) doing the icon is annoying so i wont talk about it. adjust all the settings of the unit, then, and this is the most important part in the middle, there is a box and on top of the box it says "Civilopedia Entry". type this into that box. PRTO_(unit name) without the parentheses, and make sure instead of spaces, you put _ underscores. look at other units that are in the game to see what flags you should have checked and stuff like that, for example for a cannon unit or for a transport. they can be quite tricky. now go into pediaicons.txt and search for "#ANIMNAME_PRTO_Mobile_SAM" which is the last conquests unit. after that entry, make all your PRTO_ entries. heres the format
#ANIMNAME_PRTO_Mobile_SAM (this is the entry)
Mobile Sam (this is the folder where the flcs and inis are located)

so, for simplicity, it is MUCH easier if everything you use has the same name. for example, if you name the unit something, then make the PRTO_unit_name different, and the folder where its found all have different names, you will get confused very quickly. maybe itd be easier to understand how the program works... the name of the unit that you specify in the editor, is the name of the unit in game. the PRTO_nonsense is what the program looks for in pediaicons.txt. the other PRTO_ crap in pediaicons.txt (#ICON_PRTO_nonsense) is to specificy what icon you see when you consult civilopedia for the new unit. i think its a waste of time and confusing so ignore it. thats basically it...
for the unit icon, if your lazy, use existing unit icons, or you can download corel paint shop pro X2, which reads and edits pcx files, which are the icons.
to do that, find the units_32.pcx file in conquests/art/units. copy that file into your scenario's directory, into the units folder. edit it with that program, and find an appropriate picture of your unit and copy it. then open the units_32.pcx and paste it as transparent into the next blank purple box. (its magenta but whatever). make sure the picture size is 32x32 (pixels). if its not, right click the picture of the unit, and resize it to 32x32(pixels). if the background is already magenta, and its sized correctly, just do regular paste and put it in an empty box somewhere. save it (as units_32.pcx, no alterations!) and then go to scenario, scenario properties and select debug mode from the bottom. then test your scenario by opening the game, going to civ content, and find your mod. play it, select whatever you want, it doesnt matter. if you did it right, you should see the entire map. this is good. its debug mode! yay cheating! anyways. hit Shift+F1 and find your unit (its probably on the very bottom) and hit enter. place the unit. if you see your unit, you win. if not, you did something wrong, or this little summary (which admittedly, is a LOT longer than i thought it would be) is too confusing. most of the problems are just with naming files. look through this thread to find if other people have the same problems. they probably have their solutions.

if you have questions, post them, ill try to get back to you to clarify or whatever, but the real guide is pretty comprehensive. if you specifically dont understand a certain part of it, just ask. i have school and shtuff but ill try to help if i can.
 
haha spacer... didnt see your post...
i guess we're taking over.
but to be honest, there is no way to make the guide comprehensive and completely understandable.... i guess you have to just read the fine print. thats how i had my issues but now that ive read the guide (at least 4 times) my mod is working perfectly. (i added 1-2 units for each civ and currently im working on adding a few more civs, which i need a good guide for...)
well, off to chem lab.
 
I plan on having pics...that always makes it easier :)...I have started writing it, and am done with the adding of text part...

now onto moving files...then the damn editor...which is by far the hardest part for most.
 
It would probably be a lot easier for newbs to have it all in one place, without unnecessary explanation of things they won't be needing specifically for adding a unit. 'Course, you're the one making the tutorial. :)
 
Zeppelin and Spacer One, thanks for your efforts sofar.

It's about a year ago that I tried to add units, and I don't remember where I exactly I lost the plot. I've let it rest, but your offers of help would justify another try for me. At the moment I just have the problem of not having internet connection at home. I'm probably not gonna give it another try until I have internet again, although, well, I might copy your instructions at work and see if they make the penny drop for me...

By the way; I'm pretty comfy with the editor, so that will not have been my problem, I imagine.

Thanks.
 
i hope that the part about the ANIMNAME is a little more clear. that's the only place i mess up...
 
alright well....
in editor, the civilopedia entry box should read
PRTO_UNIT_NAME
and then in pediaicons, the entry should read
#ANIMNAME_PRTO_UNIT_NAME
UNIT's FOLDER
thats about all you need with PRTO and ANIMNAME crap. but yes, it does suck
 
ok, a quick update...I have had literally NO time to work on this...Im trying to include pics to help explain...

so here is a quick help for the ANIMNAME part

You will need to add 3 entries to your PediaIcons.txt file...

they are:

The large and Small Pedia Icons, and the "#ANIMNAME" is to tell the game where to find the animations...

they are written like this:

#ICON_PRTO_(Unit_Name)
art\civilopedia\icons\units\(Large File Name).pcx
art\civilopedia\icons\units\(Small file name).pcx

The above entry is for Pedia files, there is also:

#ANIMNAME_PRTO_(Unit_Name)
(Unit name on file folder or INI)

the names after the "PRTO" MUST match...and the final entry under the ANIMNAME MUST be the exact name of the folder containing the INI and animations

[edit] contact m via PM and I will provide support until I get a new tutorial up
 
Hi. I'm trying a MOD for the first time and I've been following this tutorial.

I'm trying to create a scenario based off of the Sengoku one that' spart of Conquests. I was gonna start by adding units that would be specific to each clan. What is the best way to build off of an existing scenario?

Where is the japan map that the game opens up when you run the scenario, and why can't I find it to edit it in CivEdit? The same goes for editing units within teh scenario; how can I add clan specific units when I can't figure out how to open the Sengoku scenario in CivEdit?

Thanks
 
:bump: naw, just kidding.

The senario map is in the Conquests/senarios folder

there is also a bigger senario map in the conquests/conquests folder

heres a pic to show were:
 

Attachments

  • untitled.zip
    296.9 KB · Views: 95
Holy Comoly

This is amazing

Can you recommend me any books or sites that just go into the detail of creating civ mods?

What you did here is amazing

Thanks alot

:goodjob:
 
Top Bottom