Results 1 to 15 of 15

Thread: Adding new temple

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Anything that isn't 'member' Member Squid's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    596

    Default Re: Adding new temple

    The above is incorrect, you can it by faction, because if you look through the vanilla EB file you'll see plenty of references to parthia.

    -Trait/Ancillary/Building Editor

    "Two things are infinite: the universe and human stupidity;
    and I'm not sure about the universe." -----Albert Einstein

  2. #2

    Default Re: Adding new temple

    Hmm, you are right. Parthia and Carthage both have faction-specific buildings. I never noticed that before. Maybe they did those first, and then realized it was quicker to do the descriptions by culture rather than by individual faction?
    There are never enough hours in the days of a Queen, and her nights have too many...

    ATW Version 2.5 is now out!

  3. #3

    Default Re: Adding new temple

    The factional part is used to give faction-specific variations in certain buildings, it's a useful capability. As for the error: the code seems ok to me, have you added the proper UI cards yet?

    Norman Invasion - The fate of England lies in your hands...

    Viking Invasion II - Unite Britain in the best TW campaign ever!

    Gods and Fighting Men: Total War - Enter the Mists of Myth in Ancient Ireland

  4. #4
    Deranged rock ape Member Quirinus's Avatar
    Join Date
    Sep 2006
    Location
    Malaysia
    Posts
    982

    Default Re: Adding new temple

    Ah, that must be the problem. How do I add UI cards? Is there anything else I need to do to add new buildings?
    WARNING! This baseline signature should never appear on screen!

  5. #5

    Default Re: Adding new temple

    Nope, just the UI cards. There are 3 types for each level of a building: the one you see in the panel (#culture-name_level-name, 78x62), the one you see in the building browser (#culture-name_level-name, 64x51) and the large one you see when you right-click to get info about a building (#culture-name_level-name_constructed.tga, 361x163). The first and the third go into data/ui/culture-name/buildings/ folder and the second into the construction/ subfolder of the former.

    Norman Invasion - The fate of England lies in your hands...

    Viking Invasion II - Unite Britain in the best TW campaign ever!

    Gods and Fighting Men: Total War - Enter the Mists of Myth in Ancient Ireland

  6. #6
    Deranged rock ape Member Quirinus's Avatar
    Join Date
    Sep 2006
    Location
    Malaysia
    Posts
    982

    Default Re: Adding new temple

    Quote Originally Posted by Aradan View Post
    Nope, just the UI cards. There are 3 types for each level of a building: the one you see in the panel (#culture-name_level-name, 78x62), the one you see in the building browser (#culture-name_level-name, 64x51) and the large one you see when you right-click to get info about a building (#culture-name_level-name_constructed.tga, 361x163). The first and the third go into data/ui/culture-name/buildings/ folder and the second into the construction/ subfolder of the former.
    Do you mean files like #EASTERN_AWESOME_TEMPLE.TGA, #EASTERN_AWESOME_TEMPLE_CONSTRUCTED.TGA, etc.?

    I think I already have those in place.... is it possible that it's caused by my new temples not having an entry in the building equivalent of the descr_model_battle? If so, which file is it, and how do I add it?


    EDIT: I've tried doing it via instructions from this tutorial, (I copied the said tga files and renamed them according to the thread, but the thing still CTD's on me. It's actually pretty odd that this happens, as I've added highways to Greeks simply by editing the EDB and export_buildings.


    Exactly what I did:

    In data/ui/eastern/buildings, I copied
    Code:
    #eastern_shrine.tga
    #eastern_shrine_constructed.tga
    #eastern_temple.tga
    #eastern_temple_constructed.tga
    #eastern_large_temple.tga
    #eastern_large_temple_constructed.tga
    #eastern_awesome_temple.tga
    #eastern_awesome_temple_constructed.tga
    #eastern_pantheon.tga
    #eastern_pantheon_constructed.tga
    ...and changed the names to these:
    Code:
    #parthia_temple_of_horse_2_shrine.tga
    #parthia_temple_of_horse_2_shrine_constructed.tga
    #parthia_temple_of_horse_2_temple.tga
    #parthia_temple_of_horse_2_temple_constructed.tga
    #parthia_temple_of_horse_2_large_temple.tga
    #parthia_temple_of_horse_2_large_temple_constructed.tga
    #parthia_temple_of_horse_2_awesome_temple.tga
    #parthia_temple_of_horse_2_awesome_temple_constructed.tga
    #parthia_temple_of_horse_2_pantheon.tga
    #parthia_temple_of_horse_2_pantheon_constructed.tga

    While in data/ui/eastern/buildings/construction I copied
    Code:
    #eastern_shrine.tga
    #eastern_temple.tga
    #eastern_large_temple.tga
    #eastern_awesome_temple.tga
    #eastern_pantheon.tga
    ...and changed the names to these:
    Code:
    #parthia_temple_of_horse_2_shrine.tga
    #parthia_temple_of_horse_2_temple.tga
    #parthia_temple_of_horse_2_large_temple.tga
    #parthia_temple_of_horse_2_awesome_temple.tga
    #parthia_temple_of_horse_2_pantheon.tga

    I probably missed something important, I just can't for the life of me figure out what.
    Last edited by Quirinus; 12-05-2008 at 15:39.
    WARNING! This baseline signature should never appear on screen!

  7. #7

    Default Re: Adding new temple

    a) UI cards go by culture, not faction, "#parthia_temple_of_horse_2_pantheon_constructed.tga" should be "#eastern_temple_of_horse_2_pantheon_constructed.tga"

    b) I believe in descr_ui_buildings.txt all "temple_of_xyz_temple" buildings are substituted by "temple", "temple_of_xyz_large_temple" ones by "large_temple" etc when it comes to UI cards, so your cards should still be named: #eastern_shrine.tga, #eastern_temple.tga, etc.

    Norman Invasion - The fate of England lies in your hands...

    Viking Invasion II - Unite Britain in the best TW campaign ever!

    Gods and Fighting Men: Total War - Enter the Mists of Myth in Ancient Ireland

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