Results 1 to 2 of 2

Thread: Unknown unit type?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Voluntary Suspension Voluntary Suspension Philippus Flavius Homovallumus's Avatar
    Join Date
    May 2005
    Location
    Isca
    Posts
    13,477

    Default Unknown unit type?

    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?
    "If it wears trousers generally I don't pay attention."

    [IMG]https://img197.imageshack.us/img197/4917/logoromans23pd.jpg[/IMG]

  2. #2
    The hair proves it... Senior Member EatYerGreens's Avatar
    Join Date
    Aug 2004
    Location
    Above the greengrocer's
    Posts
    851

    Default Re: Unknown unit type?

    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.

    EYG

    ________________________
             

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO