Results 1 to 13 of 13

Thread: Adding Javelins as Precursor

  1. #1
    4zumi's Avatar This one sparks joy
    Join Date
    Feb 2015
    Location
    HRE - Aquis Mattiacis
    Posts
    1,239

    Default Adding Javelins as Precursor

    Hello again,

    I wanted to give a special unit of Dismounted Latinkon a Javelin Precursor, but ran into a crash issue. Maybe someone could help, because I am out of ideas and tinkering around has yielded no results.

    The steps I took, using Milkshape

    -Made the Latinon_lod0 into a ms3d
    -Made the dismounted polish nobles into ms3d (i do not know if its in the base game, but mine (that was made by another kind modder) have javelins
    -Deleted everything in the nobles model except the javelins
    -merged Latinkon and Javelins into one model
    -gave the Latinkon sword a secondaryactive comment
    -exported the model
    -edited the modelsdb & the edu

    17 scholae_palatinae
    1 4
    53 unit_models/_Units/ES_Mail/scholae_palatina_lod0.mesh 121
    53 unit_models/_Units/ES_Mail/scholae_palatina_lod0.mesh 900
    53 unit_models/_Units/ES_Mail/scholae_palatina_lod0.mesh 2500
    53 unit_models/_Units/ES_Mail/scholae_palatina_lod0.mesh 6400
    1
    9 byzantium
    74 unit_models/_Units/ES_Mail/textures/mtw2_ES_Mail_byzantium_palatin.texture
    63 unit_models/_Units/ES_Mail/textures/mtw2_ES_Mail_normal.texture
    53 unit_sprites/byzantium_Dismounted_Latinkon_sprite.spr
    1
    9 byzantium
    68 unit_models/AttachmentSets/Final Kite_byzantium_palatin_diff.texture
    60 unit_models/AttachmentSets/Final Kite_byzantium_norm.texture 0
    1
    4 None
    17 MTW2_Fast_Javelin
    14 MTW2_Swordsman
    2
    20 MTW2_Javelin_primary
    14 fs_test_shield
    2
    18 MTW2_Sword_Primary
    14 fs_test_shield
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002

    type Scholae Palatinae
    dictionary Scholae_Palatinae ; Scholae Palatinae
    category infantry
    class heavy
    voice_type Heavy
    banner faction rome_infantry_special
    banner holy crusade
    soldier Scholae_Palatinae_ug1, 64, 0, 1.2
    officer andronicus
    attributes sea_faring, hide_forest, very_hardy, can_withdraw, free_upkeep_unit, unique_unit, start_not_skirmishing
    move_speed_mod 1.2
    formation 1.2, 1.2, 2.4, 2.4, 3, square, shield_wall
    stat_health 2, 0
    stat_pri 7, 1, javelin, 55, 3, thrown, missile_mechanical, piercing, spear, 25, 1
    ;stat_pri_ex 0, 0, 0
    stat_pri_attr ap, thrown
    stat_sec 12, 3, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
    ;stat_sec_ex 0, 0, 0
    stat_sec_attr no
    stat_pri_armour 5, 6, 8, metal
    ;stat_armour_ex 5, 6, 0, 0, 4, 8, 8, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 7
    stat_ground 1, -2, 3, 4
    stat_mental 16, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 2, 1040, 280, 60, 140, 1040, 4, 160
    armour_ug_levels 3, 4
    armour_ug_models Scholae_Palatinae, Scholae_Palatinae_ug1
    ownership byzantium
    era 1 byzantium
    era 2 byzantium
    ;unit_info 11, 0, 17
    recruit_priority_offset 0

    -fired up a custom battle
    -the latinkons now throw spears, albeit they are invisible in their hand at first, but they throw them
    -upon contact with the enemy, when they should be drawing swords the game crashes without a useful hint

    I tried severyl different variations. Renamed the sword in the model to secondary_sword, did the same in the modelsdb, but I seem to miss something crucial
    I think it has to do something with the model, but not quiet sure what.

    Help me Modding Workshop, you are my only hope...

    Thanks
    zumi

    Edit: Oh, and the shield textures are messed up now. No idea why.

    Edit 2:
    Here are the files
    ms3d
    the converted mesh
    the textures for body and attachmentset

    https://we.tl/t-e0sNDUv7Ti
    Last edited by 4zumi; May 13, 2019 at 01:49 PM.
    Proudly under the patronage of King Athelstan of the Imperial House of Hader

    Author of
    Total Vanilla Beyond mod for Medieval 2 - Kingdoms &
    Developer of
    Total Bananas mod for Medieval 2 - Kingdoms (beta)

    Steam Workshop Mods for Rome 2, Warhammer, Warhammer 2

    Discord: zumi's cookie corner
    Fighting for launch of "Cookie Friday" and "No Pants Saturday"

  2. #2
    bitterhowl's Avatar Campidoctor
    Join Date
    Feb 2011
    Location
    Russian Feodality
    Posts
    1,695

    Default Re: Adding Javelins as Precursor

    Show your Scholae_Palatinae_ug1 from battlemodel file (you got that skeleton for the model in EDU. Seems that it hasn't secondary wearpon prescribed). And cannot_skirmish is better for precursor infantry by the way.

    My sister, do you still recall the blue Hasan and Khalkhin-Gol?
    Russian warship is winning. Proofs needed? Go find yourself!

  3. #3
    4zumi's Avatar This one sparks joy
    Join Date
    Feb 2015
    Location
    HRE - Aquis Mattiacis
    Posts
    1,239

    Default Re: Adding Javelins as Precursor

    I have not added them yet. I only tested them with the base version, not the upgraded one in the custom battle.
    So this should not play into it, or am I wrong?
    Proudly under the patronage of King Athelstan of the Imperial House of Hader

    Author of
    Total Vanilla Beyond mod for Medieval 2 - Kingdoms &
    Developer of
    Total Bananas mod for Medieval 2 - Kingdoms (beta)

    Steam Workshop Mods for Rome 2, Warhammer, Warhammer 2

    Discord: zumi's cookie corner
    Fighting for launch of "Cookie Friday" and "No Pants Saturday"

  4. #4
    bitterhowl's Avatar Campidoctor
    Join Date
    Feb 2011
    Location
    Russian Feodality
    Posts
    1,695

    Default Re: Adding Javelins as Precursor

    Try this change to your EDU:

    soldier Scholae_Palatinae, 64, 0, 1.2

    My sister, do you still recall the blue Hasan and Khalkhin-Gol?
    Russian warship is winning. Proofs needed? Go find yourself!

  5. #5
    4zumi's Avatar This one sparks joy
    Join Date
    Feb 2015
    Location
    HRE - Aquis Mattiacis
    Posts
    1,239

    Default Re: Adding Javelins as Precursor

    Damn it, thank you very much, have a +rep
    I was to blind to see that, now it works.
    Now I only need to figure out, why the attachementsets (shield + weapons) are broken
    Proudly under the patronage of King Athelstan of the Imperial House of Hader

    Author of
    Total Vanilla Beyond mod for Medieval 2 - Kingdoms &
    Developer of
    Total Bananas mod for Medieval 2 - Kingdoms (beta)

    Steam Workshop Mods for Rome 2, Warhammer, Warhammer 2

    Discord: zumi's cookie corner
    Fighting for launch of "Cookie Friday" and "No Pants Saturday"

  6. #6
    Vladyvid's Avatar Wizard of Turmish
    Join Date
    Aug 2011
    Location
    Athkatla
    Posts
    2,132

    Default Re: Adding Javelins as Precursor

    How are they broken, can you explain whats the matter?

  7. #7
    4zumi's Avatar This one sparks joy
    Join Date
    Feb 2015
    Location
    HRE - Aquis Mattiacis
    Posts
    1,239

    Default Re: Adding Javelins as Precursor

    Sure, sorry

    here is what they look like now
    Spoiler Alert, click show to read: 



    they seem to get the shield and weapon textures from the body texture file

    i made a mistake with the model, i forgot to assign the textures correctly

    now they look fine
    Spoiler Alert, click show to read: 




    the only question is, how do i get the texture on the javelin. Assigning the correct texture via milkshape did not seem to work.
    I assume I can not use two different attachment set texture for one model and somehow have to make a new attachement texture file?
    Proudly under the patronage of King Athelstan of the Imperial House of Hader

    Author of
    Total Vanilla Beyond mod for Medieval 2 - Kingdoms &
    Developer of
    Total Bananas mod for Medieval 2 - Kingdoms (beta)

    Steam Workshop Mods for Rome 2, Warhammer, Warhammer 2

    Discord: zumi's cookie corner
    Fighting for launch of "Cookie Friday" and "No Pants Saturday"

  8. #8
    Vladyvid's Avatar Wizard of Turmish
    Join Date
    Aug 2011
    Location
    Athkatla
    Posts
    2,132

    Default Re: Adding Javelins as Precursor

    As a general rule you should keep your weapons and shields in the attatchment texture because that is how they designed this game, but i dont think its possible to have more than one assigned to a unit. But you can have a larger texture size to put more stuff there, so you wont need a second attatchment.

  9. #9
    4zumi's Avatar This one sparks joy
    Join Date
    Feb 2015
    Location
    HRE - Aquis Mattiacis
    Posts
    1,239

    Default Re: Adding Javelins as Precursor

    Thanks, and after two hours of meddling, i think i am on the right way to it.
    I got the spears to show up.
    I have not assigned them to a bone.

    For anyone else desperate this tutorial (albeit for Empire, but its the same procedure with the joints) helped me understand it
    http://www.twcenter.net/forums/showt...n-MilkShape-3D

    also I deleted the second attachement set entry in the model, and assigned the spears the normal attachment set.
    Spoiler Alert, click show to read: 




    but you can see the textures on the spears are a bit off.
    This is most likely the case, because there is no texture for this spear in the assigned texture and it just takes a random spot to texturize the spears.

    So my last and final question would be, how do I edit the model and the texture, so that the correct one shows up on the spear

    thank you very much
    Proudly under the patronage of King Athelstan of the Imperial House of Hader

    Author of
    Total Vanilla Beyond mod for Medieval 2 - Kingdoms &
    Developer of
    Total Bananas mod for Medieval 2 - Kingdoms (beta)

    Steam Workshop Mods for Rome 2, Warhammer, Warhammer 2

    Discord: zumi's cookie corner
    Fighting for launch of "Cookie Friday" and "No Pants Saturday"

  10. #10
    Vladyvid's Avatar Wizard of Turmish
    Join Date
    Aug 2011
    Location
    Athkatla
    Posts
    2,132

    Default Re: Adding Javelins as Precursor

    I dont exactly understand your question. Are you asking how to assign the proper texture for the spears in Milkshape? There is a texture map tool for that. I dont know if that is what you mean, but that would be what has to be done in order to give it the right texture (ofcourse provided that the spear texture is already in that attatchment file).

  11. #11
    4zumi's Avatar This one sparks joy
    Join Date
    Feb 2015
    Location
    HRE - Aquis Mattiacis
    Posts
    1,239

    Default Re: Adding Javelins as Precursor

    I guess, that is what i meant.

    I have milkshape since yesterday and still fiddling around.
    That pointed me in the right direction and I think i will be able to map the textures now correctly.

    Thanks, and you too have +rep
    Proudly under the patronage of King Athelstan of the Imperial House of Hader

    Author of
    Total Vanilla Beyond mod for Medieval 2 - Kingdoms &
    Developer of
    Total Bananas mod for Medieval 2 - Kingdoms (beta)

    Steam Workshop Mods for Rome 2, Warhammer, Warhammer 2

    Discord: zumi's cookie corner
    Fighting for launch of "Cookie Friday" and "No Pants Saturday"

  12. #12
    Vladyvid's Avatar Wizard of Turmish
    Join Date
    Aug 2011
    Location
    Athkatla
    Posts
    2,132

    Default Re: Adding Javelins as Precursor

    Sorry i was not aware you are so new to MS3D. A spear is a very simple object to map, and im thinking that your model probably already has it mapped you just have to move the position of your spear map on the texture file, to where you have the spear texture. If you know what i mean. >.< Thanks for the rep btw!

  13. #13
    4zumi's Avatar This one sparks joy
    Join Date
    Feb 2015
    Location
    HRE - Aquis Mattiacis
    Posts
    1,239

    Default Re: Adding Javelins as Precursor

    No problem

    I made it work with your help.

    Here is the result, I am happy now...
    Spoiler Alert, click show to read: 


    Proudly under the patronage of King Athelstan of the Imperial House of Hader

    Author of
    Total Vanilla Beyond mod for Medieval 2 - Kingdoms &
    Developer of
    Total Bananas mod for Medieval 2 - Kingdoms (beta)

    Steam Workshop Mods for Rome 2, Warhammer, Warhammer 2

    Discord: zumi's cookie corner
    Fighting for launch of "Cookie Friday" and "No Pants Saturday"

Posting Permissions

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