Discussion in 'Civ4 - Modding Tutorials & Reference' started by sovarn, Nov 10, 2005.
how did you do that?
How did he do what? Be more specific.
Actually, I have the same question. I want to give the Meklars in MOO2Civ a custom MeklarScout unit. So I did what the first 3 posts said, but the MeklarScout unit doesn't show up in my testgame with the Meklars (nor is it in the Civilopedia); they just get the regular Scout. Here's what I have:
Is only the starting unit the problem, or does the scout not appear at all in the game?
They just get the regular Scout; so Scouts are in (they always were), but the MeklarScout unit model doesn't appear. (I'm sure I overlooked/omitted something...)
If you want to create a UU you do not change UnitClassInfos. Check out how UUs are set up in the regular game. Basically all you do is create a new UnitInfos entry for your new UU, and then define that as a replacement unit in CivilizationInfos. Again look at a regular BtS UU to see how it's done, it's pretty straightforward.
Ah, OK - I'll check. Thx.
And looking closer at this, it sure should be this here:
OK, now I'm confused... What should I do about it?
I have no idea what The_J is saying either.
Look JEELEN, just do this: Search In Files for _JAGUAR in the XML folder using Notepad++ (have it search in child folders as well). This will show you all the places _JAGUAR is in the XML (UnitInfos and CivilizationInfos and some text files). Then just copy what the BtS devs did to make a UU for a standard BtS UU for your unique unit for your mod.
I say, that you've misread the schema for the free units.
Look at it again closely.
If i read that right, it IS already a real UU. It has UNITCLASS_SCOUT_I as unitclass, which i guess, is the normal unitclass, and UNIT_MEKLARSCOUT as unittype.
That is correct. So what is wrong? (Looking at it closely, I don't see it; just tell me - or highlight in the section - what I'm missing or did do wrong. This is my very first try at adding a custom model and I need to add plenty more.) The unit (nor a button for it) is showing up when testplaying the Meklars; it also doesn't show in the Civilopedia and I changed all the files according to the tutorial in posts 1-3.
You don't see it in the civilopedia?
During a game, or before starting a new one?
No, no and no. (Although I don't quite see how I could see it before starting a game...)
I mean, directly after loading in the civilopedia, without starting a game.
If you mean I should (have) clear(-ed) out my cache, I didn't. (It's mentioned in an earlier post, but it's not in posts 1-3 as a necessary step. Should it be?) Would that help to fix it?
It's worth a try.
OK, will do.
i did everything but when i go to its civilopedia entry it only shows a box with a PICTURE OF THE BUTTON
at least it started and shows it in the civilopedia
Is only the button there, or is the button there instead of the unit?
In the first case: Check again the path to your art files. There's maybe a mistake in one of the folder names in your artDefines_Units.xml.
Separate names with a comma.