Results 1 to 7 of 7

Thread: How to add Building Descriptions by Faction

  1. #1
    Axebitten Modder Senior Member Dol Guldur's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,550

    Question How to add Building Descriptions by Faction

    UNIQUE BUILDING DESCRIPTIONS FOR ALL FACTIONS

    Introduction

    This brief tutorial simply lays out the steps to take in order to provide unique descriptions to any or all of a faction's buildings, regardless of the R:TW vanilla set-up of "one description per culture".

    The file listing the description names (see below) does so by culture. So governors_house_barbarian_desc provides the text for the description of the barbarian Governor's House (in-game as "Warrior's Hold").

    However, as with the EDB file (export_desc_buildings.txt), Parthia is listed too. So we have (for example) governors_house_parthia_desc. Likewise in EDB Parthia is listed seemingly as a culture. Indeed, in this latter file it is always found alongside the Eastern culture in required factions for buildings (the Parthia faction, together with Armenia and Pontus comprise the Eastern culture). It has been rumoured that Parthia was a culture/remnant code (as far as these files are concerned) but I wondered if that was true.

    Initial testing of some time ago - and as I'm sure many know - shows that factions can indeed be used as well as cultures as designated requirements in the EDB. So it got me thinking...what about building descriptions?

    Here's what I did:


    STEP 1. data\text\export_buildings.txt (this file contains all the long and short descriptions for buildings)

    added following new entry:

    Code:
    {governors_house_numidia_desc}
    The Numidian Governor's House is the centre for all administrative functions in a settlement. This is the power of Parthia made solid for the people who live here.\n\nThe administrator based here collects taxes, issues instructions to improve the settlement and manages the small day-to-day business of an empire.\n\nWhile not exactly luxurious, the Governor's House is usually the best building in the settlement, and locals try to build their own houses close by so that some prestige rubs off on them!
    
    {governors_house_numidia_desc_short}
    The Numidian Governor's House is the controlling hub of the settlement, and the basis of all state power. Without enlightened Parthian government, nothing else can develop.
    You'll note that's just a copy of the standard Parthian description but I've inserted the word "Numidian" to differentiate it.

    STEP 2.* data\export_descr_buildings_enums.txt

    Simply added the following 2 entries:

    Code:
    governors_house_numidia_desc
    governors_house_numidia_desc_short

    RESULT:



    ABOVE: Governor's House building scroll during play as Numidia


    OBSERVATIONS:

    Numidia is part of the Ct_carthage culture but you'll note my text is invoked rather than the ct_carthage one; this would suggest that a cultural basis can be used to provide shared descriptions to all those buildings in a culture whilst allowing any (or all) buildings to be uniquely described.

    NOTE:

    * The description still gets in-game without performing this step but it seems like it should be done just to be safe.

    I did this all just over the last 24 hours or so and it is not thoroughly tested. Much more research and testing is needed and any help is welcome! There's a thread in "General" to discuss this.
    Last edited by Dol Guldur; 06-30-2005 at 13:49.
    "One of the most sophisticated Total War mods ever developed..."

  2. #2
    It was a trap, after all. Member DukeofSerbia's Avatar
    Join Date
    Feb 2005
    Location
    Sombor, Serbia (one day again Kingdom)
    Posts
    1,001

    Default Re: How to add Building Descriptions by Faction

    export_buildings.txt is key. In EDB add faction you want and then in export_buildings.txt description.

    That's how I managed to add unique temples to Slavs in IBFD v6.05. I will explain later.
    Watching
    EURO 2008 & Mobile Suit Gundam 00

    Waiting for: Wimbledon 2008.

  3. #3
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: How to add Building Descriptions by Faction

    Thanks Dol Guldur,
    There's a thread in "General" to discuss this.
    sorry can't find it, could you provide link - then delete this message?

    I'll try and double check my findings on having / not having enums in and post in discussion thread..
    Not used mods before? Looking for something small and fun?!
    Download the:

  4. #4
    Axebitten Modder Senior Member Dol Guldur's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,550

    Default Re: How to add Building Descriptions by Faction

    Nah, me neither.

    I wrote this up at the time of the discovery and quite some time ago. It's not even updated or edited!

    I guess a new thread could be started.
    "One of the most sophisticated Total War mods ever developed..."

  5. #5
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: How to add Building Descriptions by Faction

    Aaah, , didn't look at top date, just saw it at top of pile and thought it was to do with recent discussion.
    Not used mods before? Looking for something small and fun?!
    Download the:

  6. #6
    It was a trap, after all. Member DukeofSerbia's Avatar
    Join Date
    Feb 2005
    Location
    Sombor, Serbia (one day again Kingdom)
    Posts
    1,001

    Default Re: How to add Building Descriptions by Faction

    I succesfully added new temples for Slavs in IBFD v6.05. If I don't forget I will post it tomorrow. It is very easy.
    Watching
    EURO 2008 & Mobile Suit Gundam 00

    Waiting for: Wimbledon 2008.

  7. #7
    TW Modder Since 2005 Member DaVinci's Avatar
    Join Date
    May 2005
    Location
    Hamburg, Germany/EU
    Posts
    848

    Default Re: How to add Building Descriptions by Faction

    Thanks for this thread/confimation!
    I wanted to test out to dividing some building-descriptions in Chivalry since a longer time, concerning the fact that parthia is separated, but have not as yet, due to time constraints.

    And, another question related to this theme:

    Is it possible, or better said, has anybody tested this division also for the building ui's? So for example can we have a parthia building ui folder?
    Last edited by DaVinci; 10-24-2006 at 04:55.
    TWC Wiki: List of TW Modding Contributions 2005-2011
    Release 12.2012: Third Age TW Realism+
    Release 04.2013: Rise of the Samurai Realism+


    Support: Greenpeace
    LIVING ...WITH... WAR
    What's really more disappointing than dis-information and non-education?
    A certain degree of intentional ignorance paired with obvious stupidy /DV

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