Results 1 to 3 of 3

Thread: Faction Specific Building (Question)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Hazbones's Avatar Senator
    Join Date
    May 2007
    Location
    Iwakuni, Japan
    Posts
    1,104

    Default Faction Specific Building (Question)

    Is it possible to create your own faction specific building by cloning an existing building and giving it a new name Building IDRef?

    I know how to add a slot to a city and adding (existing) buildings to cities but that is not what I need to know. I want to know the procedures to clone a bldg (such as the level 1 barracks) and create one specific to a faction so that no other clan can build it.

    I don't want to get in to creating new models and all that, a simple clone and changing some stats and units assigned to it is all I need.

    I have found the building_faction_variant table but it is empty so I don't know if that table is still being used or is just trash that hasn't been removed.

    I am guessing that you could (in theory) clone a bldg, give it a different Building IDRef then add it to the faction variant table but that really sounds to easy and probably is.

    Sorry if this has already been asked or if someone can point me to a thread where someone has created their own faction specific building or can share some of their own knowledge on this subject that would be great.

  2. #2
    Hazbones's Avatar Senator
    Join Date
    May 2007
    Location
    Iwakuni, Japan
    Posts
    1,104

    Default Re: Faction Specific Building (Question)

    Ok, I have figured out how to create a faction specific building (don't worry, I will make a tutorial once all my testing is done). It works in allowing me to recruit clan specific test unit but I cannot get the loc file to recognize the unit (give a blank tool tip) and the encyclopedia is blank when I right-click on my test unit. The building I created also has a blank info card and blank encyclopedia page. The unit has a blank info tooltip in custom battles too.

    Does anyone know how to get the loc file to recognize the new unit and building? Is the patch_en file supposed to be a mod/movie or just leave it as a patch file?

  3. #3

    Default Re: Faction Specific Building (Question)

    So how do you do it then? Where do you set the condition?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •