Results 1 to 21 of 21

Thread: Adding battlemap buildings to BI

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Adding battlemap buildings to BI

    Ok, Verci convinced me to release that thing after I had it for a few days.
    Now, this is a compilation of three text files which contain the decompiled information from descr_items.db
    Here's a quick walkthrough to adding a new building into descr_items.db using this:

    1. Extract the file you need (BI or 1.5) to your data directory
    2. Backup descr_items.txt
    3. Rename the file you extracted to descr_items.txt
    4. Add to the beginning any Includes you want made, I recommend using this to add new buildings (you can see a readme on that in the original descr_items.txt)
    5. Add your new building entries
    6. Delete descr_items.db
    7. Start the game
    8. You get tons of error message (normally if you use show_err), either click through them or just hit ctrl+alt+del and kill the game process, but descr_items.db is generated anyways
    9. Restart the game and enjoy ;)

    If you want to use that in a mod folder, you have to extract the RTW item files you want to use there in order for the game to find them.
    If you don't want to use a building that is in that file, just delete the entry.

    Get the file here: descr_items.zip
    Last edited by alpaca; 03-19-2006 at 11:28.

  2. #2

    Default Re: Adding battlemap buildings to BI

    alpaca, I just wanted to say thanks, again, because this is a really nice thing! It's being very useful right now :)

    EDIT: Also, allow me to ask the first question :)

    type roman_tenamentA
    lod
    max_distance 200.0
    model_rigid roman_tenamentA_high.CAS roman_tenamentA_med.CAS roman_tenamentA_low.CAS roman_tenamentA_lowest.CAS
    lod
    max_distance 400.0
    model_rigid roman_tenamentA_high.CAS roman_tenamentA_med.CAS roman_tenamentA_low.CAS roman_tenamentA_lowest.CAS
    lod
    max_distance 800.0
    model_rigid roman_tenamentA_high.CAS roman_tenamentA_med.CAS roman_tenamentA_low.CAS roman_tenamentA_lowest.CAS
    lod
    max_distance 1600.0
    model_rigid roman_tenamentA_high.CAS roman_tenamentA_med.CAS roman_tenamentA_low.CAS roman_tenamentA_lowest.CAS
    What's the point of there being four model_rigid files for EVERY level of detail?
    Last edited by SigniferOne; 03-16-2006 at 21:21.

  3. #3
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Adding battlemap buildings to BI

    Yeah yeah that's why I edited in that those files are bugged ;)
    I had a bug in my exporter tool, it wrote all lods into every one lod.
    You can get the new files here: http://www.twcenter.net/forums/attac...ntid=695&stc=1
    Last edited by alpaca; 03-19-2006 at 11:29.

  4. #4

    Default Re: Adding battlemap buildings to BI

    Ah very different now, only one file for each level of detail. Are you using some kind of automation to export all these entries? If so, was the four models per LOD merely just a bug in the exporting program or some kind of nifty feature in RTW? ;)

  5. #5
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Adding battlemap buildings to BI

    Did you read my answer ;)
    I'm using a self-written tool to export this stuff from descr_items.db and it had a bug where I forgot to delete the file names of the other lods from the string that holds the path to an lod and so it had all paths for all lods...
    I fixed it and now it works like a charm.

  6. #6

    Default Re: Adding battlemap buildings to BI

    Hello,

    Sorry for reviving this thread, But I hope someone can help me with this:

    So I am Editing the descr_items.txt, everything goes fine until I try to edit the roman_colonnaded_portico.cas file, I try to change it into a building of my own.

    So I edit the cas files/item files and the descr_items.txt and save it,

    I delete the descr_items.db

    But now when I try to start the game it gets to the startup screen and it crashes back to desktop without any error message.

    Also a new descr_items.db is NOT made.
    I kept the old descr_items.db and searched if something was wrong or not found in the files by starting some games in Rtw:Bi, but nothing

    One strange thing was, that the old cas file was specified in the descr_items.txt as "roman_colonnaded_portico_high.cas"
    but I can't seem to find this cas file ANYWHERE in the Bi or RTW folder.

    Any ideas?

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