Results 1 to 29 of 29

Thread: Creating or Modding Building Models

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: Creating or Modding Building Models

    I can't help with everything, but you are missing a line from export_buildings.txt, you're missing a {orthanc_name} line (used in the building browser). Every building tree has the have a {building_tree_name_name} line.
    Last edited by Squid; 04-21-2008 at 16:25.

    -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: Creating or Modding Building Models

    Quote Originally Posted by Squid
    I can't help with everything, but you are missing a line from export_buildings.txt, you're missing a {orthanc_name} line (used in the building browser). Every building tree has the have a {building_tree_name_name} line.
    well yes, I did it on purpose, because Orthanc tower is a unique building in the game, there is just one Black Tower of Isengard and its already built at the time the game starts, so there is no need to have it in the building tree browser.

    BTW, I am deepening about overlays and underlays thing, but I see there are other buildings without any overlay-underlay floor defined in descr_settlement_plan.txt so I'm afraid its not that causing the CTD...

    I just can't see what is wrong :(

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

    Default Re: Creating or Modding Building Models

    Failure to include the _name def., as pointed out, will cause a CTD iirc.
    "One of the most sophisticated Total War mods ever developed..."

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

    Default Re: Creating or Modding Building Models

    I hate to say it but that doesn't matter to the game, the desc_short line is only needed if you can build a building (it appears when multiple buildings are completed in a single turn), but the game will crash without it.

    EDIT: Just a little too slow :)
    Last edited by Squid; 04-21-2008 at 17:25.

    -Trait/Ancillary/Building Editor

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

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

    Default Re: Creating or Modding Building Models

    hmmm, the lack of descriptions in export_descr_buildings.txt should cause a crash when you try and view the settlement at campaign map level not battlemap level so not quite sure what's happening there...

    Looking at the list of things you've done. I know you already have the .item made as you said it was working before as palace and you re-named it - I wonder though if you still might need to add it with new name in desc_items.txt and remake the items.db file again?? not sure on that but its a possible

    maybe check your renamed orthanc .item is turning up ok without the link to the EDB building by putting it in in place of an ambient type item, say in place of one of the tenements in the cities settlement plans, that will confirm if its working that far and definitely doesn't need an underlay or overlay to do that.

    If it works that far try it in slot again.....
    Not used mods before? Looking for something small and fun?!
    Download the:

  6. #6

    Default Re: Creating or Modding Building Models

    Quote Originally Posted by Makanyane
    hmmm, the lack of descriptions in export_descr_buildings.txt should cause a crash when you try and view the settlement at campaign map level not battlemap level so not quite sure what's happening there...
    That's it, you are right: no crashes either way though.

    Quote Originally Posted by Makanyane
    Looking at the list of things you've done. I know you already have the .item made as you said it was working before as palace and you re-named it - I wonder though if you still might need to add it with new name in desc_items.txt and remake the items.db file again?? not sure on that but its a possible
    yes yes YES! That was the point!
    Had to work a little but once rebuilded the items.db its all working!
    Wonderful, now I can add all the new buildings and free all the original ones for other use.

    Only thing now I have to find an original building of the game to "steal" for the BPI. As far as now I found nothing suitable. O well, at worst I'll modify a bit my model to cover a suitable area.

    Thanks a lot to anyone for your help, I'll be here soon for sure asking for some other troubles :)

  7. #7

    Default Re: Creating or Modding Building Models



    :)

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