Page 1 of 2 12 LastLast
Results 1 to 30 of 33

Thread: DB files created + request to CA

  1. #1
    aka AggonyAdherbal Member Lord Adherbal's Avatar
    Join Date
    Oct 2004
    Location
    Belgium
    Posts
    1,014

    Default DB files created + request to CA

    I just found out that if you delete the descr_vegetation.db files, and then run the game it'll create a new db file based on descr_vegetation.txt.
    The same goes for descr_items.db and descr_items.txt.

    The problem with the latter is that it imports a lot of files that do not exist (di_spot_items.txt, di_slot_fillers.txt, di_wooden_walls.txt, ...). So my request to CA is: can we please have those files ?

    This would make it VERY easy to add new building and battlemap models to the game, without the need to replace existing RTW models and using a Hex editor to edit descr_items.db (which is very chaotic).

    we need the following files:
    Code:
    include di_spot_items.txt
    
    include di_slot_fillers.txt
    
    include di_wooden_walls.txt
    include di_walls_roman.txt
    include di_walls_greek.txt
    include di_walls_eastern.txt
    include di_walls_egyptian.txt
    include di_walls_barbarian.txt
    
    include di_nicks_roman_buildings.txt
    include di_nicks_egyptian_buildings.txt
    include di_nicks_greek_buildings.txt
    include di_nicks_eastern_buildings.txt
    
    include di_barbarian_buildings.txt
    
    include di_wonders.txt
    include di_foliage.txt
    
    include di_kevins_buildings.txt
    include di_bens_buildings.txt
    include di_andrews_buildings.txt
    include di_pauls_buildings.txt
    include di_johns_buildings.txt
    include di_joss_buildings.txt
    
    include di_roads.txt
    
    include di_animals.txt
    
    include di_gates.txt
    
    include di_ambient.txt
    Member of The Lordz Games Studio:
    A new game development studio focusing on historical RTS games of the sword & musket era
    http://www.thelordzgamesstudio.com

    Member of The Lordz Modding Collective:
    Creators of Napoleonic Total War I & II
    http://www.thelordz.co.uk

  2. #2
    Senior Member Senior Member Duke John's Avatar
    Join Date
    May 2003
    Location
    Netherlands
    Posts
    2,917

    Default Re: DB files created + request to CA

    When it generates the vegetation DB it also makes new .vege files and sprites.

    Did anyone have any luck with the geography DB?

  3. #3
    Grand Dude Member Dead Moroz's Avatar
    Join Date
    Oct 2003
    Location
    Moscow
    Posts
    997

    Default Re: DB files created + request to CA

    Aren't these files stored in data/building_descr_battle folder?

  4. #4
    aka AggonyAdherbal Member Lord Adherbal's Avatar
    Join Date
    Oct 2004
    Location
    Belgium
    Posts
    1,014

    Default Re: DB files created + request to CA

    no, those define something different.
    Member of The Lordz Games Studio:
    A new game development studio focusing on historical RTS games of the sword & musket era
    http://www.thelordzgamesstudio.com

    Member of The Lordz Modding Collective:
    Creators of Napoleonic Total War I & II
    http://www.thelordz.co.uk

  5. #5

    Default Re: DB files created + request to CA

    You really expect that the CA devs will read this request and actually contribute something worthwhile to the mod community? I doubt it.. The devs havent taken any initiatives to help us out, and in fact there wouldnt even be a mod community for this game if it wasnt for Vercingetorix.

  6. #6
    aka AggonyAdherbal Member Lord Adherbal's Avatar
    Join Date
    Oct 2004
    Location
    Belgium
    Posts
    1,014

    Default Re: DB files created + request to CA

    actualy they provided us with the evt files, so I'm hoping they notice this thread and give us these files too.
    Member of The Lordz Games Studio:
    A new game development studio focusing on historical RTS games of the sword & musket era
    http://www.thelordzgamesstudio.com

    Member of The Lordz Modding Collective:
    Creators of Napoleonic Total War I & II
    http://www.thelordz.co.uk

  7. #7

    Default Re: DB files created + request to CA

    I agree that Jerome Grasdyke has been particularily helpful towards the community, but he is the only exception I've noticed.

  8. #8

    Default Re: DB files created + request to CA

    Check out the credits, Jerome was the lead programmer on RTW and therefore the best placed person to help modders like ourselves. That's why he in the past has co-ordinated CA's communication with the modding community.

    BTW Adherbal that's a great signature but it's way, way bigger than the forum rules allow. Can you change it please - and perhaps use it in the body of your Chivalry promotional posts?

    EDIT: Many thanks, Adherbal
    Last edited by Epistolary Richard; 06-10-2005 at 13:10.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

  9. #9
    aka AggonyAdherbal Member Lord Adherbal's Avatar
    Join Date
    Oct 2004
    Location
    Belgium
    Posts
    1,014

    Default Re: DB files created + request to CA

    hm if Jerome is lead programmer then I fear he'll be too busy with BI right now :/

    the only other way would be to complete the items.txt file based on the content of items.db but that's near impossible...
    Member of The Lordz Games Studio:
    A new game development studio focusing on historical RTS games of the sword & musket era
    http://www.thelordzgamesstudio.com

    Member of The Lordz Modding Collective:
    Creators of Napoleonic Total War I & II
    http://www.thelordz.co.uk

  10. #10

    Default Re: DB files created + request to CA

    Yes, unfortunately we've not seen much of him or anyone else around for a while now. I'm sure they'll be back when BI is wrapped.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

  11. #11
    Modding Godfather Member Vercingetorix's Avatar
    Join Date
    Oct 2004
    Location
    I am but a figment of your imagination
    Posts
    453

    Default Re: DB files created + request to CA

    The descr_items.db is really easy to add new entires with in a hex editor (you have to do this to add new buildings). If people want a really basic program to edit this file I could write one, it should take not more then half an hour.

    Thanks Oromë for the recognition but many other modders have made modding possible and Jerome has been very helpful.
    I have found God.

  12. #12
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: DB files created + request to CA

    I noticed this too when attempting to add a new climate, desc_geography.db does not get regenerated. Odd....

  13. #13
    Modding Godfather Member Vercingetorix's Avatar
    Join Date
    Oct 2004
    Location
    I am but a figment of your imagination
    Posts
    453

    Default Re: DB files created + request to CA

    It actually took me a few hours and I'm pretty sure it works... but here it is due to popular demand

    http://www.totalwar.org/Downloads/Rt.../dbedit_v2.zip
    Last edited by Vercingetorix; 06-19-2005 at 07:18.
    I have found God.

  14. #14
    aka AggonyAdherbal Member Lord Adherbal's Avatar
    Join Date
    Oct 2004
    Location
    Belgium
    Posts
    1,014

    Default Re: DB files created + request to CA

    looks very Verc, will give it a try asap - and thanks !
    Member of The Lordz Games Studio:
    A new game development studio focusing on historical RTS games of the sword & musket era
    http://www.thelordzgamesstudio.com

    Member of The Lordz Modding Collective:
    Creators of Napoleonic Total War I & II
    http://www.thelordz.co.uk

  15. #15

    Default Re: DB files created + request to CA

    Any luck?

  16. #16
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: DB files created + request to CA

    Hope it works......

  17. #17
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: DB files created + request to CA

    hm, you don't think you could do the same for descr_geography.db Verc

  18. #18

    Default Re: DB files created + request to CA

    So did you try it out, Myrddraal?

  19. #19
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: DB files created + request to CA

    I had a quick look at it, long enough to see that it is for editing items. I never tested it though.

  20. #20
    aka AggonyAdherbal Member Lord Adherbal's Avatar
    Join Date
    Oct 2004
    Location
    Belgium
    Posts
    1,014

    Default Re: DB files created + request to CA

    I added a model, which seemed to work fine (altho the interface of adding and removing entries seems a bit confusing so far) but when I loaded the battle it crashed. I'm almost sure it's a problem with the model tho, not the editor. Will do more testing asap (today if I can be arsed :))
    Member of The Lordz Games Studio:
    A new game development studio focusing on historical RTS games of the sword & musket era
    http://www.thelordzgamesstudio.com

    Member of The Lordz Modding Collective:
    Creators of Napoleonic Total War I & II
    http://www.thelordz.co.uk

  21. #21
    CA CA JeromeGrasdyke's Avatar
    Join Date
    Dec 2002
    Location
    At a new top-secret (non-CA) location, surrounded by lots of steel and glass, high atriums, hordes of lovely marketing ladies, and with a new and spacious desk with plenty of room for body-moving.
    Posts
    257

    Default Re: DB files created + request to CA

    Hi folks, you're right in supposing that we're a little busy at the moment with Barbarian Invasion (and other things in the long term), but i'll look into sorting out a package for you at some point, providing of course that "the powers that be" are ok with it. It'll probably end up being quite substantial, because those files reference other files which are finally built into the .db file.
    "All our words are but crumbs that fall down from the feast of the mind."
    -- from 'The Prophet' by Kahlil Gibran

  22. #22

    Default Re: DB files created + request to CA

    Thanks, Jerome. As always, we appreciate it.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

  23. #23
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: DB files created + request to CA

    Thanks again Jerome, we owe you yet another one

  24. #24
    aka AggonyAdherbal Member Lord Adherbal's Avatar
    Join Date
    Oct 2004
    Location
    Belgium
    Posts
    1,014

    Default Re: DB files created + request to CA

    update on this: Adding items with Verc's tool seems to work fine - and it generates .item files, but currently my new models are invisible ingame (it doesn crash tho). This probably has nothing to do with Verc's tool tho. I'll report back when I found out why this happens.
    Member of The Lordz Games Studio:
    A new game development studio focusing on historical RTS games of the sword & musket era
    http://www.thelordzgamesstudio.com

    Member of The Lordz Modding Collective:
    Creators of Napoleonic Total War I & II
    http://www.thelordz.co.uk

  25. #25
    Modding Godfather Member Vercingetorix's Avatar
    Join Date
    Oct 2004
    Location
    I am but a figment of your imagination
    Posts
    453

    Default Re: DB files created + request to CA

    Import a comparable building and see where it is located in 3ds max. The scale and positioning is different then the units. I know I had problem with my teapot not being visible until I realized it was underground in the game.
    I have found God.

  26. #26
    aka AggonyAdherbal Member Lord Adherbal's Avatar
    Join Date
    Oct 2004
    Location
    Belgium
    Posts
    1,014

    Default Re: DB files created + request to CA

    scale or location shouldn't be the problem, I made them "on top" of an RTW building model. I imported the item files in 3DSmax and they showed up perfectly, so I don't have a clue why they're invisible ingame.

    my search continues...
    Member of The Lordz Games Studio:
    A new game development studio focusing on historical RTS games of the sword & musket era
    http://www.thelordzgamesstudio.com

    Member of The Lordz Modding Collective:
    Creators of Napoleonic Total War I & II
    http://www.thelordz.co.uk

  27. #27
    Modding Godfather Member Vercingetorix's Avatar
    Join Date
    Oct 2004
    Location
    I am but a figment of your imagination
    Posts
    453

    Default Re: DB files created + request to CA

    You can edit the values that tell the game at what distance does the game load that LOD (actually this is only a guess at what the values are, they may be for something else). http://www.totalwar.org/Downloads/Rt.../dbedit_v2.zip
    I have found God.

  28. #28
    aka AggonyAdherbal Member Lord Adherbal's Avatar
    Join Date
    Oct 2004
    Location
    Belgium
    Posts
    1,014

    Default Re: DB files created + request to CA

    excellent Verci ! That fixed the invisible models problem - happy to see my guess was right :)

    BTW your editor shows 3 values in each LOD box. I noticed the last values are in fact the LOD distances. So if a model has 2 LODs, then the editor shows a total of 6 values: 0.00 10.96 0.00 for the first LOD, 10.96 A B for the second, were A and B are the LOD distances, A for LOD1, B for LOD2.
    I think it will without problem the way it is now, but you might wanna change it so it only shows the LOD distances in a later release, and not the obsolete values.
    Last edited by Lord Adherbal; 06-19-2005 at 10:51.
    Member of The Lordz Games Studio:
    A new game development studio focusing on historical RTS games of the sword & musket era
    http://www.thelordzgamesstudio.com

    Member of The Lordz Modding Collective:
    Creators of Napoleonic Total War I & II
    http://www.thelordz.co.uk

  29. #29

    Default Re: DB files created + request to CA

    Could someone please upload a functional link to the editor?
    Btw, does this editor work with the geography file too?

    - Tittils -


    The Fourth Age: Total War - Map Manager, Editor and Coder

  30. #30
    Bored Member Tux's Avatar
    Join Date
    Dec 2004
    Location
    Romania, Klausenburg
    Posts
    9,267

    Default Re: DB files created + request to CA

    Here's the link: link

Page 1 of 2 12 LastLast

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