GUIDE: Adding new units

The name of the program is pakbuild. I don't have a link, but I think it might be located in the utilities section on this site.

Now this is my little problem:

I have made quite a number of new units and they all work fine in game. However, the older units are NOT getting replaced by the newer ones. I have made Bronze, Iron, and Steel versions of some of the medieval units and all of them except the knight are being replaced by the newer ones that get unlocked by later techs. All of my other new units are staying, so by the time I get to the future era my city build screen has 20 units or so in it. I have 3 different knights, 3 different armor tanks, 2 jets, 2 stealths, 2 mechs, and 3 marines/NAVY SEAL, all showing up in the city build screen.

I know this has nothing to do with the upgrades as those all work and check out so I am at a loss as to what else could be causing it. :S

Keep in mind that none of these are uniques units and can be built by any civ. The problem is that the older ones don't ever get replaced by the newer more advanced units when they get unlocked by a tech.

Any help will be much appreciated. :)
 
Agent 009 said:
Now this is my little problem:

I have made quite a number of new units and they all work fine in game. However, the older units are NOT getting replaced by the newer ones.
You have to go to your old units in CIV4UnitInfos.xml and put in the unit that it upgrades to.

<bMechanized>0</bMechanized>

<UnitClassUpgrades>
<UnitClassUpgrade>​
<UnitClassUpgradeType>UNITCLASS_#^*^#</UnitClassUpgradeType>​
<bUnitClassUpgrade>1</bUnitClassUpgrade>​
</UnitClassUpgrade>​
</UnitClassUpgrades>

<UnitAIs>
and that should replace the old units, also I think you have to put the new unit below the old one to properly replace it.
 
I'm having a problem with the civIV +7 plugin for max 30 day trial, I put the file in the max file and get an error and none of the civ 4 stuff works, so i put it in the max plugins folder and it tryies to export my file to niff but i get about 12 can't open file - CivIV/ errors, the final one saying
Don't know how to save in that file type
and all of the tools are missing.
Any help will be much appreciated.
 
dcdragon said:
You have to go to your old units in CIV4UnitInfos.xml and put in the unit that it upgrades to.


and that should replace the old units, also I think you have to put the new unit below the old one to properly replace it.


hmm... you know that thought crossed my mind. The upgrades thing was in order as I said in my first post that's why I was confused as to what else could be causing the problem. It seemed to me logically that that would be what makes old units not buildable.

I'll try rearranging the placement of the units in the file and see how that works. Thanks for the help. :D
 
when i go to art0.fpk there isnt anything in the folder what am i supposed to do?
 
Kaizer Kai said:
when i go to art0.fpk there isnt anything in the folder what am i supposed to do?

I had the same issue. I had to uninstall then reinstall to version 1.0, grab the file, then upgrade to 1.52 again.
 
Actually there is no Art0.fpk

There is Assets0.fpk, Assets1.fpk, Asset2.fpk, and Assets3.fpk. Use pakbuild and select the unpack option and unpack them all. Don't try to open the file(s) because you can't.

That's where I got stuck for a while and only figured it out by accident as I was trying to explain to my brother how annoyed I was that I couldn't get it to work. :p
 
But when i go to unpack, then to the file i am only able to open it so how do i unpak it?
 
Agent 009 said:
Actually there is no Art0.fpk

There is Assets0.fpk, Assets1.fpk, Asset2.fpk, and Assets3.fpk. Use pakbuild and select the unpack option and unpack them all. Don't try to open the file(s) because you can't.

That's where I got stuck for a while and only figured it out by accident as I was trying to explain to my brother how annoyed I was that I couldn't get it to work. :p

I tried that awhile ago, and couldn't do it. Once I reinstalled a 1.0 version, I found the art0 file. The assests file ahs never worked for me, but if someone figures out how to make it work...Let me know. :)

When I go into the pakbuild app, and locate the assets files, I get a error saying that it cannot open the file.
 
senwiz said:
I tried that awhile ago, and couldn't do it. Once I reinstalled a 1.0 version, I found the art0 file. The assests file ahs never worked for me, but if someone figures out how to make it work...Let me know. :)

When I go into the pakbuild app, and locate the assets files, I get a error saying that it cannot open the file.


Yeah that's what I am saying... you aren't supposed to open it.

Goto the Pak menu in Pakbuild, and click unpack...

Then find all the assets files with the fpk extention. Those are the files that need to be unpacked. However, if you try to open them you will get that error. ;)
 
Hi sovarn
ADD unit its ok, however im not knowing how to REPLACE NEW units in the same class, annimations ...and so on, only the new art( some only have a DDS and a NIF):confused: . Can you please extend your tutorial for that case, i presume its eazy and more fast but im not catching it. :mad:
In civ3 was so eazy.
 
I tried reinstalling it, but im not getting anything could someone send me a copy of their installed data?i think that would work
 
Hi all

I have a question, the packbuild utility where can I get it?

I'v searched this thred some to try and find the anser. I did'nt see any thing from where I looked.

I really learned allot here thanks for the tutorial. I already have added units to the game but only by taking art folders from other mods I downloaded.
I never could finde the art files in the game, well I know now thanks to this tutorial.
 
senwiz said:
I know you can't open it. What would you open it with? LMAO

That stated, I received an error when trying to unpak the assets files. It won't use them no matter what I do, at this point.

That's odd... it worked fine over here. :confused:

taltho said:
Hi all

I have a question, the packbuild utility where can I get it?

I'v searched this thred some to try and find the anser. I did'nt see any thing from where I looked.

I really learned allot here thanks for the tutorial. I already have added units to the game but only by taking art folders from other mods I downloaded.
I never could finde the art files in the game, well I know now thanks to this tutorial.

Go to the Utilities Subforum. I believe it is located there. ;)
 
hi iv got a problem (sigh not another one......) iv created a unit, put them in the game but then when i click on them there is nothing where the promotions defend ect should be....... Its prob some thing amaturish but i cant seem to fix it any one got any ideas????
2 other people have asked the question but no one seems to awnser it.....

[EDIT] fixed this prob it was an error in the xml art defines unit file. i new it was something newbish:p
 
This is a REALLY basic question: Where is the Art0.fpx file located? The instructions for unpacking the fpx say to place the unpacker in the main CIV4 directory and unpack the file in my Assets/Art folder. No such file in there. A search of my hard drive and the CIV CD also came up blank. The only .fpk files found were Assets.fpk.

Thanks,

Starbuck
 
Hello,

I just recently added Snafusmith's Akula Submarine to my Civ IV game. Everything worked fine BUT once I got in the game, I discovered that I could place the unit using the world builder tool, BUT I couldn't build the unit. In the city tab, if I clicked to build one the game would crash to the desktop. I've read this whole thread and there are others who have the same problem, however they were not addressed. I hope someone knows whats going on to cause this.

Thanks
 
OK, I got the assets unpacked and followed the tutorial here.

1- button worked fine, showed up where it's supposed to.

2- I can build the unit in a game, but the section that has promotions to be assigned and orders to give is blank.

3. The unit itself is not visible, only a red octagon.

4. The unit moves and fights, but won't show up or take promotions.

Any useful ideas?

Thanks,

Starbuck
 
I am trying to add 2 units:

Humvee - fast infantry (great person) land troop mover - stats as gunship - cannot attack - animation downloaded from here.

SBS Commando - stats as navy SEAL (attack 12 + defensive bonuses) is a great person type unit - (can go in sub/humvee) - animation standard navy SEAL.

I get 3 red spheres that orbit slowly instead of the animation. How do I fix this - also how do I set a build limit on the SBS guys?

Also my peadia artical for SBS doesn't work (does for humvee).
 
Back
Top Bottom