Results 1 to 30 of 268

Thread: Tutorial - Adding a unit to the game

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Member the_mango55's Avatar
    Join Date
    Apr 2004
    Location
    Raleigh, North Carolina
    Posts
    94

    Default Re: Tutorial - Adding a unit to the game

    Quote Originally Posted by Musashi
    Mango, I forgot to mention it. The battle_models.modeldb file will only be parsed in the BASE data/unit_models folder. To get the game to parse it you have to add --io.file_first to your command line or batch file.

    Naturally this has... disturbing... implications for our users' ability to install multiple mods at once :(

    I should point out though, that if you're just using an existing model and a different mount, there's an easier way to do it. Basically it can be done with just the EDU file. Just set the mount, soldier, and upgrade lines in your unit's entry in the EDU file to what you want them to be... No need to create a whole new model entry in the DB file unless you're trying to use a model that doesn't have textures for your faction :)
    Ah I see, thanks.

    And I am aware about the horses, I made those units a few days ago, when I had no idea how to make heads or tails of the modeldb file.

    Well, I actually still don't really knnow how to make heads or tails of the modeldb file.

    @ Whacker: Greetings, but actually I'm no longer a triangle resident. I just graduated NCSU yesterday.
    Last edited by the_mango55; 12-22-2006 at 03:22.
    "You're drunk again!"
    "Na Im just exhausted from staying up all night drinking!" - Family guy

  2. #2
    Member Member Musashi's Avatar
    Join Date
    Nov 2002
    Location
    The Mists of Legend
    Posts
    811

    Default Re: Tutorial - Adding a unit to the game

    Yeah, I tried to explain the format, but really you just have to hack away at it awhile before you get to where you can "read" the file. And even then it's SO easy to miss something somewhere...

    PS: I put a picture of my Dragoons up in the tutorial. They're just so darn pretty :D

    Also I like the idea of calling them Dragonarioi, but I hate to go in and change something again at this point hehe. I might though :)

    Actually I should probably figure out what the name would really be in Greek... Presuming they referred to the carbine rifles as dragons, which should be drakon in greek I believe... Would it come out to Drakonarioi for wielders of them? Someone around here must know :)
    Last edited by Musashi; 12-22-2006 at 06:37.
    Fear nothing except in the certainty that you are your enemy's begetter and its only hope of healing. For everything that does evil is in pain.
    -The Maestro Sartori, Imajica by Clive Barker

  3. #3

    Default Re: Tutorial - Adding a unit to the game

    WHAT???In my data folder there isn't any export_descr_unit.txt.!!!

  4. #4
    Member Member scsscsfanfan's Avatar
    Join Date
    Sep 2002
    Location
    Adelaide, Australia
    Posts
    145

    Default Re: Tutorial - Adding a unit to the game

    good information, i'm not very good on modding, could you explain a bit more in details how to add the "--io.file_first " please?

    also, currently I still keep the original data folder unchanged, ie, still packed, and use a mod folder to play the game. to allow this to work, dose it mean I have to unpack the data folder?

    many thanks

  5. #5

    Default Re: Tutorial - Adding a unit to the game

    ok, but..how to use "unique" units....bohemian hussites, bohemian wagon fort, etc..all is in data folder,bud nothing dont used in game :(

  6. #6

    Default some prob

    hello i have some questions.
    i edited that battle_models.txt file to add some units
    but it dint work. just i start play.bat file and got CTD

    what i edited is here

    10 longbowmen 1 4 57 unit_models/_Units/EN_Peasant_Padded/longbowmen_lod0.mesh
    121 57 unit_models/_Units/EN_Peasant_Padded/longbowmen_lod1.mesh
    900 57 unit_models/_Units/EN_Peasant_Padded/longbowmen_lod2.mesh
    2500 57 unit_models/_Units/EN_Peasant_Padded/longbowmen_lod3.mesh 6

    400 3 7 england 79 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_england.texture
    78 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_normal.texture
    48 unit_sprites/england_Dummy_EN_Archers_sprite.spr

    5 slave 78 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_rebels.texture
    78 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_normal.texture
    46 unit_sprites/slave_Dummy_EN_Archers_sprite.spr

    6 france unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_rebels.texture
    78 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_normal.texture
    46 unit_sprites/slave_Dummy_EN_Archers_sprite.spr

    3 7 england 69 unit_models/AttachmentSets/Final European Archer_england_diff.texture
    69 unit_models/AttachmentSets/Final European Archer_england_norm.texture

    0 5 slave 67 unit_models/AttachmentSets/Final European Archer_slave_diff.texture
    67 unit_models/AttachmentSets/Final European Archer_slave_norm.texture

    0 6 france 67 unit_models/AttachmentSets/Final European Archer_slave_diff.texture
    67 unit_models/AttachmentSets/Final European Archer_slave_norm.texture


    0 1 4 None 16 MTW2_Fast_Bowman 14 MTW2_Fast_Mace

    i hit enter key to look easy.
    i added longbowmen to france to use rebel's one. i cant find wrong constructions. what is my mistakes? sorry for pool english

  7. #7

    Default Re: some prob

    ah. sorry i've mistake. but i cant edit my reply. hmm?

    this construction

    6 france unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_rebels.texture

    to

    6 78 france unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_rebels.texture

    got CTD too.

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