Results 1 to 4 of 4

Thread: Help with tranfsfering units

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    eskrogh's Avatar Biarchus
    Join Date
    Aug 2008
    Location
    Denmark
    Posts
    629

    Default Help with tranfsfering units

    hi i seek some help about transfering other units to, other factions...

    i can give the units to other factions, and play the game, no error there, but they are skinless, and i need some help, i dont understand the turtural for it so i barely know where to start

    i play stainless steel, if it helps, and would like to trasfer the the koj and guild units to alot of factions...

  2. #2

    Default Re: Help with tranfsfering units

    All you can do via text editing is to change the faction(s) which can use a unit. If you want to change the appearance of the unit skin and unit card so that they match the new faction's color scheme, you will have to manually reskin them with a image editing program, probably Photoshop or the GIMP. Beyond that, I can't tell you how to go about reskinning units. Try the Skins, Models, and Animations forum. http://www.twcenter.net/forums/forumdisplay.php?f=274
    Last edited by Azim; September 12, 2008 at 02:22 PM.

    Dominion of the Sword, a Medieval II: Total War Supermod
    Under the patronage of Archaon. Proud member of the House of Siblesz
    My friend died from chain letters. If you don't post this again 100 times, he will come and kill you in your sleep!

  3. #3
    eskrogh's Avatar Biarchus
    Join Date
    Aug 2008
    Location
    Denmark
    Posts
    629

    Default Re: Help with tranfsfering units

    Azim i triyed, no answers..

  4. #4

    Default Re: Help with tranfsfering units

    You will need to make changes to the battle_modelesdb. This will be much easier to do if you download and use the formated version. Here is an example unit, unmodified.
    Spoiler Alert, click show to read: 

    22 dismounted_italian_maa
    1
    3
    67 unit_models/_Units/EN_Pplate_Plate/dismounted_italian_maa_lod0.mesh 121
    67 unit_models/_Units/EN_Pplate_Plate/dismounted_italian_maa_lod1.mesh 1225
    67 unit_models/_Units/EN_Pplate_Plate/dismounted_italian_maa_lod2.mesh 6400
    4
    5 milan
    72 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_milan.texture
    73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture
    52 unit_sprites/milan_Dismounted_Italian_MAA_sprite.spr
    6 venice
    73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_venice.texture
    73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture
    53 unit_sprites/venice_Dismounted_Italian_MAA_sprite.spr
    12 papal_states
    79 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_papal_states.texture
    73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture
    59 unit_sprites/papal_states_Dismounted_Italian_MAA_sprite.spr
    6 sicily
    73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_sicily.texture
    73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture
    53 unit_sprites/sicily_Dismounted_Italian_MAA_sprite.spr
    4
    5 milan
    58 unit_models/AttachmentSets/Final Heater_milan_diff.texture
    58 unit_models/AttachmentSets/Final Heater_milan_norm.texture
    0
    6 venice
    59 unit_models/AttachmentSets/Final Heater_venice_diff.texture
    59 unit_models/AttachmentSets/Final Heater_venice_norm.texture
    0
    12 papal_states
    65 unit_models/AttachmentSets/Final Heater_papal_states_diff.texture
    65 unit_models/AttachmentSets/Final Heater_papal_states_norm.texture
    0
    6 sicily
    59 unit_models/AttachmentSets/Final Heater_sicily_diff.texture
    59 unit_models/AttachmentSets/Final Heater_sicily_norm.texture
    0
    1
    4 None
    19 MTW2_Slow_Swordsman
    0
    2
    18 MTW2_Sword_Primary
    14 fs_test_shield
    0
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    26 dismounted_italian_maa_ug1
    1
    3
    71 unit_models/_Units/EN_Pplate_Plate/dismounted_italian_maa_ug1_lod0.mesh 121
    71 unit_models/_Units/EN_Pplate_Plate/dismounted_italian_maa_ug1_lod1.mesh 1225
    71 unit_models/_Units/EN_Pplate_Plate/dismounted_italian_maa_ug1_lod2.mesh 6400
    4
    5 milan
    72 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_milan.texture
    73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture
    56 unit_sprites/milan_Dismounted_Italian_MAA_ug1_sprite.spr
    6 venice
    73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_venice.texture
    73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture
    57 unit_sprites/venice_Dismounted_Italian_MAA_ug1_sprite.spr
    12 papal_states
    79 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_papal_states.texture
    73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture
    63 unit_sprites/papal_states_Dismounted_Italian_MAA_ug1_sprite.spr
    6 sicily
    73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_sicily.texture
    73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture
    57 unit_sprites/sicily_Dismounted_Italian_MAA_ug1_sprite.spr
    4
    5 milan
    58 unit_models/AttachmentSets/Final Heater_milan_diff.texture
    58 unit_models/AttachmentSets/Final Heater_milan_norm.texture
    0
    6 venice
    59 unit_models/AttachmentSets/Final Heater_venice_diff.texture
    59 unit_models/AttachmentSets/Final Heater_venice_norm.texture
    0
    12 papal_states
    65 unit_models/AttachmentSets/Final Heater_papal_states_diff.texture
    65 unit_models/AttachmentSets/Final Heater_papal_states_norm.texture
    0
    6 sicily
    59 unit_models/AttachmentSets/Final Heater_sicily_diff.texture
    59 unit_models/AttachmentSets/Final Heater_sicily_norm.texture
    0
    1
    4 None
    19 MTW2_Slow_Swordsman
    0
    2
    18 MTW2_Sword_Primary
    14 fs_test_shield
    0
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    26 dismounted_italian_maa_ug2
    1
    4
    74 unit_models/_Units/LN_Gothic_RN_Plate/dismounted_italian_maa_ug2_lod0.mesh 121
    74 unit_models/_Units/LN_Gothic_RN_Plate/dismounted_italian_maa_ug2_lod1.mesh 900
    74 unit_models/_Units/LN_Gothic_RN_Plate/dismounted_italian_maa_ug2_lod2.mesh 2500
    74 unit_models/_Units/LN_Gothic_RN_Plate/dismounted_italian_maa_ug2_lod3.mesh 6400
    4
    5 milan
    79 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_milan.texture
    80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_normal.texture
    56 unit_sprites/milan_Dismounted_Italian_MAA_ug2_sprite.spr
    6 venice
    80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_venice.texture
    80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_normal.texture
    57 unit_sprites/venice_Dismounted_Italian_MAA_ug2_sprite.spr
    12 papal_states
    86 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_papal_states.texture
    80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_normal.texture
    63 unit_sprites/papal_states_Dismounted_Italian_MAA_ug2_sprite.spr
    6 sicily
    80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_sicily.texture
    80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_normal.texture
    57 unit_sprites/sicily_Dismounted_Italian_MAA_ug2_sprite.spr
    4
    5 milan
    58 unit_models/AttachmentSets/Final Heater_milan_diff.texture
    58 unit_models/AttachmentSets/Final Heater_milan_norm.texture
    0
    6 venice
    59 unit_models/AttachmentSets/Final Heater_venice_diff.texture
    59 unit_models/AttachmentSets/Final Heater_venice_norm.texture
    0
    12 papal_states
    65 unit_models/AttachmentSets/Final Heater_papal_states_diff.texture
    65 unit_models/AttachmentSets/Final Heater_papal_states_norm.texture
    0
    6 sicily
    59 unit_models/AttachmentSets/Final Heater_sicily_diff.texture
    59 unit_models/AttachmentSets/Final Heater_sicily_norm.texture
    0
    1
    4 None
    19 MTW2_Slow_Swordsman
    0
    2
    18 MTW2_Sword_Primary
    14 fs_test_shield
    0
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002

    As you can see, there is a lot of information, but its actually three lots of info, 1 for the basic model (22 dismounted_italian_maa )and 2 more for the armour upgrades (26 dismounted_italian_maa_ug1 and 26 dismounted_italian_maa_ug2). Note at this point its important to understand that the number at the begining of the line states how many characters the following label is, ie. dismounted_italian_maa_ug1 contains 26 characters. The number of spaces also is very important when dealing with this file. If your unsure backup first, in fact backup first anyway it always pays to be cautious.

    Here is the 2nd armour upgrade with ownership added for Hungary and Slave (for if they go rebel.) You will need to make changes to all the different armour types if you want it to work correctly.
    Spoiler Alert, click show to read: 

    26 dismounted_italian_maa_ug2
    1
    4
    74 unit_models/_Units/LN_Gothic_RN_Plate/dismounted_italian_maa_ug2_lod0.mesh 121
    74 unit_models/_Units/LN_Gothic_RN_Plate/dismounted_italian_maa_ug2_lod1.mesh 900
    74 unit_models/_Units/LN_Gothic_RN_Plate/dismounted_italian_maa_ug2_lod2.mesh 2500
    74 unit_models/_Units/LN_Gothic_RN_Plate/dismounted_italian_maa_ug2_lod3.mesh 6400
    6
    5 milan
    79 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_milan.texture
    80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_normal.texture
    56 unit_sprites/milan_Dismounted_Italian_MAA_ug2_sprite.spr
    6 venice
    80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_venice.texture
    80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_normal.texture
    57 unit_sprites/venice_Dismounted_Italian_MAA_ug2_sprite.spr
    12 papal_states
    86 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_papal_states.texture
    80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_normal.texture
    63 unit_sprites/papal_states_Dismounted_Italian_MAA_ug2_sprite.spr
    6 sicily
    80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_sicily.texture
    80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_normal.texture
    57 unit_sprites/sicily_Dismounted_Italian_MAA_ug2_sprite.spr
    7 hungary
    81 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_hungary.texture
    80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_normal.texture
    57 unit_sprites/sicily_Dismounted_Italian_MAA_ug2_sprite.spr
    5 slave
    80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_rebels.texture
    80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_normal.texture
    45 unit_sprites/slave_Italian_MAA_ug2_sprite.spr
    6
    5 milan
    58 unit_models/AttachmentSets/Final Heater_milan_diff.texture
    58 unit_models/AttachmentSets/Final Heater_milan_norm.texture
    0
    6 venice
    59 unit_models/AttachmentSets/Final Heater_venice_diff.texture
    59 unit_models/AttachmentSets/Final Heater_venice_norm.texture
    0
    12 papal_states
    65 unit_models/AttachmentSets/Final Heater_papal_states_diff.texture
    65 unit_models/AttachmentSets/Final Heater_papal_states_norm.texture
    0
    6 sicily
    59 unit_models/AttachmentSets/Final Heater_sicily_diff.texture
    59 unit_models/AttachmentSets/Final Heater_sicily_norm.texture
    0
    7 hungary
    60 unit_models/AttachmentSets/Final Heater_hungary_diff.texture
    60 unit_models/AttachmentSets/Final Heater_hungary_norm.texture
    0
    5 slave
    58 unit_models/AttachmentSets/Final Heater_slave_diff.texture
    58 unit_models/AttachmentSets/Final Heater_slave_norm.texture
    0
    1
    4 None
    19 MTW2_Slow_Swordsman
    0
    2
    18 MTW2_Sword_Primary
    14 fs_test_shield
    0
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002


    You can see from the text that the textures are already in existence in the folder the path indicates. However the sprite is not there, so I simply used one that I know for sure exists, from Sicily.

    The blue number will also need changing as it represents the number of factions to follow.

    If you manage to get all this working you will still need to copy a few TGA files to your chosen factions to give the new owners the unit portrait and info card.
    Good luck!

    @Edit
    I did some poking around and found this formated battle_moddelsdb, it contains all the Vanilla units and a lot of the Kingdoms factions aswell, ignore the title.

    http://www.twcenter.net/forums/attac...3&d=1218228276

    Chances are, if your using stainless steel the file will be formated already...
    Last edited by Eothese; September 13, 2008 at 04:35 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •