Results 1 to 22 of 22

Thread: How to make a new building?

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

    Default How to make a new building?

    Hey folks.
    Having seen how highways are still in the game files but not in the game itself (theres a thread about it here), I wanted to add it as another road level.
    I have edited export_descr_buildings and the enum file, as well as the export_buildings file. I made the necessary changes.. i think. But I have a problem - the game loads up, but the changes arent there. No third level for roads is there.

    Could someone go through the steps that are needed to create a new building? This would help me a lot.

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

    Default Re: How to make a new building?

    I'm glad for your same interesting with me about Highways!
    Yes, Highways are really in the game (50% completed).

    As I posted, the way to change the road_level 1 to 2 in export_descr_buildings.txt is unrealistic.

    Maybe if we follow an "add new building" guide from Rome Total War to take an idea how to do this, is better.
    I have already created and completed the new -in game- pictures - building cards for Highways!
    For now remains the way to add the new building to the game...
    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...

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

    Default Re: How to make a new building?

    Hi guys,

    I did this mod this weekend. You just need
    the correctly named .tga graphics files in the
    right place. Go look at your unpacked files
    and find a path that looks like ...\buildings\#northern_european\...
    or better yet just search for paved_roads (for cities)
    and c_paved_roads (for castles).

    If you added in a third upgrade like highway_roads
    in your EDB file then you need a .tga file with this
    name. Actually you need three: you need a
    highway_roads.tga and a highway_roads_constructed.tga
    under buildings\#northern_european\... and there
    is also a subdirectory called \construction underneath this
    that also needs a highway_roads.tga file. Sorry I'm at
    work so I don't have the exact path names for you but I
    know I got it to work.

    Best of luck

  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?

    @ KnightErrant: Even with those files in, a new building does not appear. Thanks for the suggestion though.
    Welcome btw. :)

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

    Default Re: How to make a new building?

    Thanks for the welcome!
    Did you put your highway_road (or whatever you called it)
    in the upgrades section of the paved_roads part in the EDB?
    I know I forgot this the first time and the building didn't
    show up as an available option.

  6. #6
    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?

    Thanks mate, works now. :)

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

    Default Re: How to make a new building?

    Excellent!

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

    Default Re: How to make a new building?

    What did you use for the highway.tgas? Is there any chance that you could share them?

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

    Default Re: How to make a new building?

    I just copied the paved_roads.tga, paved_roads_constructed.tga, c_paved_roads.tga, and c_paved_roads_constructed.tga plus the
    ones in the \construction subfolder and then renamed them. I started
    to edit them and try to put something like curbs on them to make them
    more "highway like" but realized two things:
    (1) I stink at graphics stuff.
    (2) You have to do this under each culture. That's 6 times 4 .tga
    files if you leave out greek and mesoamerican.

    Now I just live with them looking like paved roads. Didn't
    SilentResident mention something about having made building
    cards for them? Maybe he could post some nice graphics.
    Hint, hint.

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

    Default Re: How to make a new building?

    Hey friends, I returned.

    But how to upload the .tga files on TWC? is anywhere a method to do this?
    Sorry if it's look odd that I say, but I have never uploaded any files in my "Internet life", only I have downloaded files. Never uploaded any file from PC.

    How to do this? I have the .tga files of Highway on my desktop, updated and for all the Muslim & European Factions (Highway for Muslim Culture in sand & for Christian Culture in grass).
    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...

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

    Default Re: How to make a new building?

    Well there's a sticky in the Mod Chat forum about how to upload stuff, that should be helpful, if it's under 2mb you can put it on the RTW uploader and it should show up instantly (according to what it says)

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

    Default Re: How to make a new building?

    Thanks! I will read it!
    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...

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

    Exclamation Excellent News!!!

    EXCELLENT NEWS!!!


    I have Uploaded my image files! My files are available for downloading here:

    http://www.totalwar.org/Downloads/Rt...ads/RTWupload/

    Look for the: Highways_by_SilentResident.zip and download it!

    Tell me if I am good Image designer! Heheheh!!!




    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...

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

    Default Re: Excellent News!!!

    These are cool, thanks for posting them up, really appreciated:D

  15. #15
    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...

  16. #16
    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

  17. #17
    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...

  18. #18
    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.

  19. #19
    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...

  20. #20
    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.

  21. #21
    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...

  22. #22
    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