Results 1 to 22 of 22

Thread: How to make a new building?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Member SilentResident's Avatar
    Join Date
    Dec 2006
    Location
    Macedonia, Greece
    Posts
    48

    Default Re: How to make a new building?

    Highways seems to doesn't work to the game as a new building.

    I tried all the essential changes on the following files: export_descr_buildings_enums.txt, export_descr_buildings.txt, and export_buildings.txt.

    And also, all the highways & c_highways TGA files are in their UI folder locations and subfolders (eastern_european, middle_eastern, northern_european, southern_european).

    The game loads but before gets to the menu, craches.

    In system.log.txt file (where all the game errors posted) says the following:

    [script.err] [error] Script Error in data/export_descr_buildings.txt, at line 2972, column 17
    Invalid upgrade specified


    (It means that the game does not recognizes the new building upgrades in the road sections of the file).

    Is something wrong? Here is my copy from export_descr_buildings.txt:

    ---------------------------------------------------------------------
    HTML Code:
    building hinterland_roads
    {
        convert_to hinterland_castle_roads
        levels roads paved_roads 
        {
            roads city requires factions { northern_european, middle_eastern, eastern_european, greek, southern_european, } 
            {
                convert_to 0
                capability
                {
                    road_level 0
                }
                material wooden
                construction  1 
                cost  400 
                settlement_min town
                upgrades
                {
                    paved_roads
                }
            }
            paved_roads city requires factions { northern_european, middle_eastern, eastern_european, greek, southern_european, } 
            {
                convert_to 1
                capability
                {
                    road_level 1
                }
                material wooden
                construction  3 
                cost  1200 
                settlement_min city
                upgrades
                {
                    highways
                }
            }
            highways city requires factions { northern_european, middle_eastern, eastern_european, greek, southern_european, } 
            {
                convert_to 2
                capability
                {
                    road_level 2
                }
                material wooden
                construction  5 
                cost  3600 
                settlement_min city
                upgrades
                {
                }
            }
        }
        plugins 
        {
        }
    }

    ----------------------------------------------------------------------
    The same and with the Castle roads entries, (c_highways)

    All works fine except the export_descr_buildings.txt. missing something?


    Please, can anyone to post his copy of road sections of this file?
    Macedon or Macedonia (from Greek Μακεδονία) was the name of the ancient Greek kingdom in the northern-most part of ancient Greece. For a brief period it became the most powerful state in the ancient Near East after Alexander the Great conquered most of the known world, inaugurating the Hellenistic period of Greek history...

  2. #2
    Member Member ezekiel6's Avatar
    Join Date
    Aug 2006
    Location
    Scotland
    Posts
    64

    Default Re: How to make a new building?

    Well I haven'tactually tried this yet, (I'm waiting to complete my current game) but at the top where you've got
    "convert_to hinterland_castle_roads
    levels roads paved_roads"
    shouldn't you have highways after that, so that there are 3 levels of road? Also I'm not sure about this and it possibly doesn't have to be done as long as all the names are right but, to be recognised as roads does the highways need a suffix at the end so it should be called highways_roads? Just my thoughts, hope they help

  3. #3
    Member Member SilentResident's Avatar
    Join Date
    Dec 2006
    Location
    Macedonia, Greece
    Posts
    48

    Default Re: How to make a new building?

    Thanks a lot, my friend! I like your accuracy! I has tired from modding all the last days.

    I will fix the problem and I will post the results.

    Thanks again!!!
    Macedon or Macedonia (from Greek Μακεδονία) was the name of the ancient Greek kingdom in the northern-most part of ancient Greece. For a brief period it became the most powerful state in the ancient Near East after Alexander the Great conquered most of the known world, inaugurating the Hellenistic period of Greek history...

  4. #4
    Cydonian Member serenius4tsd's Avatar
    Join Date
    Sep 2006
    Location
    Out there in the wild...
    Posts
    58

    Default Re: How to make a new building?

    Hey SilentResident, I like your highways icons! Is it possible I can add it to the minimod I made? http://www.twcenter.net/forums/downl...o=file&id=1125

    Ta.

  5. #5
    Member Member SilentResident's Avatar
    Join Date
    Dec 2006
    Location
    Macedonia, Greece
    Posts
    48

    Default Re: How to make a new building?

    Quote Originally Posted by serenius4tsd
    Hey SilentResident, I like your highways icons! Is it possible I can add it to the minimod I made? http://www.twcenter.net/forums/downl...o=file&id=1125

    Ta.

    Of course my friend! I am happy to include them to the mod!

    But, wait for me to upload soon the 2 missing pictures of the ui\southern_european\buildings\bacck up folder.
    They have different Picture Frame around the image and they are very important for a full-completed mod.

    Wait until I upload all the pictures of UI folder with RTW Uploader again, and then, update your mod. OK? I will upload them very soon!!
    Macedon or Macedonia (from Greek Μακεδονία) was the name of the ancient Greek kingdom in the northern-most part of ancient Greece. For a brief period it became the most powerful state in the ancient Near East after Alexander the Great conquered most of the known world, inaugurating the Hellenistic period of Greek history...

  6. #6
    Member Member KnightErrant's Avatar
    Join Date
    Jan 2007
    Location
    Huntsville, Alabama USA
    Posts
    458

    Default Re: How to make a new building?

    Very nice, SilentResident!

    I'd like to add them to my game too.
    I guess I should wait for your next upload
    to do them all together. Thanks for posting
    them.

  7. #7
    Member Member SilentResident's Avatar
    Join Date
    Dec 2006
    Location
    Macedonia, Greece
    Posts
    48

    Exclamation The new UI folder is now 100% finished!

    ******UPDATED*****

    The updated UI Folder with all .tga files is available for downloading!

    The new UI folder is now 100% finished! No anymore work is needed!

    DOWNLOAD IT:
    http://www.totalwar.org/Downloads/Rt...ads/RTWupload/
    (Look for the Highways_Completed.rar file.)


    ***NOTE***

    serenius4tsd, if its possible, I recommended you to replace all of the previous .tga files, with the new .tga from the Highways_Completed.rar file.

    The changes for the Highway pictures are:
    All the images have their correct size.
    All the resized images are categorized with their possible sizes in their UI subfolders.
    All the Images have now their correct picture frames.




    The new UI folder is 100% finished for Highways!

    Have a nice day.
    Macedon or Macedonia (from Greek Μακεδονία) was the name of the ancient Greek kingdom in the northern-most part of ancient Greece. For a brief period it became the most powerful state in the ancient Near East after Alexander the Great conquered most of the known world, inaugurating the Hellenistic period of Greek history...

  8. #8
    Cydonian Member serenius4tsd's Avatar
    Join Date
    Sep 2006
    Location
    Out there in the wild...
    Posts
    58

    Default Re: The new UI folder is now 100% finished!

    Thanks!

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