• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

ADDING UNITs TO C3C: Thorough Guide for the Newbie

yes i did and their are no errors
 
god_43 said:
hi Colonel Kraken, i need your expert unit umm experiance, i have done everything here and i need help, can u help me with thes prob. right when i build the unit, the game crashes. heres a pic, i took it in debug mode but its the same in the game.

There are two reasons I know of that could cause this.

(1) The entry is somehow entered incorrectly in PediaIcons.txt
(2) The biq file for your scenario is not searching your scenario folder for the modified PediaIcons.

You could e-mail me your PediaIcons and I can take a look. If I find nothing wrong in there, it's probably problem number 2.
 
ok thanks, i had given up on it but maybe you could help.
ill upload it here
thats weird, it has to .txts y, is not named that.
 
i have tried that and it did not work, i capd all of the mounties and it did not work
 
in your, Add an entry "My Mod" under scenario search folders, part of the tutorial, you should put an example of what it should look like.
 
know i know what they are and where, what i think there should be is an exaple of what to put in there, because its a bit confusing how you worded it

Close the edit screen (not the Editor!) and select "Scenario Properties" under "Scenario". Add an entry "My Mod" under scenario search folders. This will ensure that C3C looks in your mod folders for information before it uses the default information. Open up some of the Conquests scenarios and look at these entries to see the structure you can use. For example, in the Pacific War scenario, there's a reference to the PtW WWII units pack for Japan. This is a really good example of what can be done here. Just remember that every "..\" is like using the "Up" folder icon in the Windows browser. Every entry/reference must be separated by a ";" semicolon.
 
ok i will email it to u
nm i just saw it
 
In the Pediaicons.txt folder thing, how do you get the correct animation? In your're tutorial it says that you take the stuff you need from the Pediaicons in the scenario. The problem is, I downloaded these units--they are in no scenario so I don't have the correct Pediaicon PRTO_..... thing. I tried it and it doesn't work and I think this is why. If anyone could tell me what I'm missing, I would really appreciate it. Thanks.
 
I think I downloaded some Portuguese Musketeer from steph's collection, so I tried that. I called it Musket Infantry like you said and below it in the Animname file part put the PRTO thing as Musket_Infantry and then below it I put AC_Musketeer_Portuguese_1_0 because that's what it said on the zip file. Instead of "Crusader" or "Rifleman" it was the above. I think I must have done something wrong here, but I'm not sure exactly. What do you think?
 
Scenario refers to the scenario you've made. If you're going to use the name Musket Infantry, then disregard the name the unit creator gave the unit. For naming the unit, unit folder, unit.ini, ANIMNAME, etc. you need to have a consistent name. In your case, then, it's Musket Infantry. You can choose whatever name you want, but you must be consistent.

Hope this helps.

--CK
 
:confused: It didn't work-- and I don't want to waste all of your time so here's what I've got. Look at it and tell me if you see anything wrong based on what I've already told you. Also maybe some info on the bottom stuff. Thanks in advance!

#ICON_PRTO_Portuguese_Infantry
art\civilopedia\icons\units\AC_Musketeer_Portuguese_1_0_large.pcx
art\civilopedia\icons\units\AC_Musketeer_Portuguese_1_0_small.pcx

#ANIMNAME_PRTO_Portuguese_Infantry
Portuguese Infantry

In the zip file for this unit are two things. (1)AC_Musketeer_Portuguese
folder and (2)AC_Musketeer_Portuguese Configuration settings.

1.Attack.flc Death.flc (etc.)

2.(Below is an example of the file, and you obviously already know what it should look like but in case mine is different)
[Speed]
Normal Speed=225
Fast Speed=225

[Animations]
BLANK=
DEFAULT=Default.flc
WALK=
RUN=Run.flc
ATTACK1=AttackA.flc
ATTACK2=AttackB.flc
ATTACK3=
DEFEND=


What do I do with this stuff? What do I need to do with these files?

Also my Civilopedia/Icons/Units folder is empty what do I need to put in this?
 
(1) Make sure the "AC_Musketeer_Portuguese" unit folder is in your scenario in the Art\Units folder.

(2) Change the name of the folder to "Portuguese Infantry"

(3) Change the name of the configuration file (.ini file) to "Portuguese Infantry.ini"

(4) Make sure the Civilopedia Entry in the editor for your unit is "PRTO_Portuguese_Infantry"



It should work.
 
GIDustin said:
In the napoleonic Europe\Text\PediaIcons.txt, you have to add the animation name. Something like:

#ANIMNAME_PRTO_Horse_Artillery
Horse Artillery


Make sure that the second line is the exact same as the folder containing the unit animations. Then, make sure that the folder containinf the unit animations is in the "Napoleonic Europe\Art\Units" folder.

- GIDustin


Question Gents,
if this quoted issue should be that I wanted not only the possibility to build this unit when the scenario has started, BUT BUT I wanted to have added some Horse Artillery in the scenario at start.
Actually I can't find how I add units, just how I could delete present units in this scenario.
Looked over the at the Map / Select Brush Type and saw that putting the brush to Unit or City is overshaded.
So no change to add a unit before start of the scenario
How do I get this done ???
 
cemo1956 said:
Question Gents,
if this quoted issue should be that I wanted not only the possibility to build this unit when the scenario has started, BUT BUT I wanted to have added some Horse Artillery in the scenario at start.

How do I get this done ???

You have to select the active player, then the ability to add units will be visible.
 
Colonel,
thanks. That's what happens when I just didn't have my head screwed on right.

Too long from scenario modding..

Cemo
 
Back
Top Bottom