Log in

View Full Version : Unknown unit type?



Philippus Flavius Homovallumus
10-16-2005, 20:50
Here's the thing, I'm trying to get the game accept a new unit Bif. I have all the files in the right place and I've got the right entry in the unit_prod file but when I try to load the game I get an error "Unknown unit type"

Whats going on, does the bif need to be in a list file somewhere?

EatYerGreens
10-17-2005, 15:05
To the best of my knowledge, 'Unit Type' is the column where it says various things like, INFANTRY, CAVALRY, MOUNT, ARTILLERY, SHIP, PRIEST, SPY, MULLAH and so forth. (Column 2)

The unit NAME can be virtually anything (but must match the folder name where its files reside) but, whatever you've written in column 2, the game doesn't recognise it. Make it the same as one of the generic types which already exist in UNIT_PROD.

If you think none of the existing categories fit the bill, then you are stuck. The program's internal code only knows what to do with types which already exist. You can't create units with completely new functions.

But you might be able to create interesting hybrids of existing things.

I've recently created a new religious agent using the Inquisitor gamepiece and menu graphics (I can't paint!) but defined his unit-type as MULLAH so he propogates faith and obtains alliances only, then set the faith propagation property to JEWISH(1), so he's actually a Rabbi. I set it to be available to Muslim factions only, so that the strongest effect (if the AI builds them) is in their part of the world, with small traces left in Europe, as they move around around the map.