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

    Do you have the right textures in the texture folder?
    "You're drunk again!"
    "Na Im just exhausted from staying up all night drinking!" - Family guy

  2. #2

    Default Re: Tutorial - Adding a unit to the game

    ya, i just copyed the scots texture from frances folder scolands folder

  3. #3

    Default Re: Tutorial - Adding a unit to the game

    wait scratch that, what textures i want to use the same textures for france and scotland, when i start a battle france has textures but scotland dosnt >.<

  4. #4

    Default Re: Tutorial - Adding a unit to the game

    here is all i have done http://www.box.net/public/ybrb2v4p9i if some one wouldnt mind taking a look anf figuring out whats wrong and telling me how to fix it i would be in there det.

  5. #5
    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

    Your problem seems to be here

    1 6 scotland
    the 1 represents how many factions use this model, so it should be 2 since france also uses it.

    the 6 represents the number of letters in the name of the faction, scotland has 8 letters.

    Try this:

    HTML Code:
     11 scots_guard 1 3 61 unit_models/_Units/LN_3QPlate_HalfPlate/scots_guard_lod0.mesh 121 61 unit_models/_Units/LN_3QPlate_HalfPlate/scots_guard_lod1.mesh 1225 61 unit_models/_Units/LN_3QPlate_HalfPlate/scots_guard_lod2.mesh 6400 1 6 france 92 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_scotsguard_france.texture 92 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_scotsguard_normal.texture 42 unit_sprites/france_Scots_Guard_sprite.spr 8 scotland 92 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_scotsguard_france.texture 92 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_scotsguard_normal.texture 42 unit_sprites/france_Scots_Guard_sprite.spr 2 6 france 68 unit_models/AttachmentSets/Final European Archer_france_diff.texture 68 unit_models/AttachmentSets/Final European Archer_france_norm.texture 0  8 scotland 68 unit_models/AttachmentSets/Final European Archer_france_diff.texture 68 unit_models/AttachmentSets/Final European Archer_france_norm.texture 0  1 4 None 11 MTW2_Bowman 15 MTW2_Non_Shield 1 19 MTW2_Bowman_Primary 1 18 MTW2_Sword_Primary 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    Also, you can't have 2 models named the same thing, which is why it wouldn't load with your top one.
    Last edited by the_mango55; 12-31-2006 at 21:28.
    "You're drunk again!"
    "Na Im just exhausted from staying up all night drinking!" - Family guy

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

    Default Re: Tutorial - Adding a unit to the game

    Musashi, is there any way to change weapon type of the unit, eg, give dismounted gothic knight an Axe or something?

    thanks

  7. #7
    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

    Unfortunately not that anyone has discovered yet. The weapons appear to be encoded into the unit mesh (model) and we have no way of opening, editing, or saving those models yet.

    Some of us have tried to break into them with a hex editor, but no luck whatsoever so far.
    Fear nothing except in the certainty that you are your enemy&#39;s begetter and its only hope of healing. For everything that does evil is in pain.
    -The Maestro Sartori, Imajica by Clive Barker

  8. #8

    Default Re: Tutorial - Adding a unit to the game

    thanks mango, it didnt crash anymore but the texture still dosnt show for the scotish.

  9. #9
    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 billiam_maillib
    thanks mango, it didnt crash anymore but the texture still dosnt show for the scotish.
    Ah dang it, I messed up my own advise >.<

    try THIS:

    HTML Code:
     11 scots_guard 1 3 61 unit_models/_Units/LN_3QPlate_HalfPlate/scots_guard_lod0.mesh 121 61 unit_models/_Units/LN_3QPlate_HalfPlate/scots_guard_lod1.mesh 1225 61 unit_models/_Units/LN_3QPlate_HalfPlate/scots_guard_lod2.mesh 6400 2 6 france 92 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_scotsguard_france.texture 92 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_scotsguard_normal.texture 42 unit_sprites/france_Scots_Guard_sprite.spr 8 scotland 92 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_scotsguard_france.texture 92 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_scotsguard_normal.texture 42 unit_sprites/france_Scots_Guard_sprite.spr 2 6 france 68 unit_models/AttachmentSets/Final European Archer_france_diff.texture 68 unit_models/AttachmentSets/Final European Archer_france_norm.texture 0  8 scotland 68 unit_models/AttachmentSets/Final European Archer_france_diff.texture 68 unit_models/AttachmentSets/Final European Archer_france_norm.texture 0  1 4 None 11 MTW2_Bowman 15 MTW2_Non_Shield 1 19 MTW2_Bowman_Primary 1 18 MTW2_Sword_Primary 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    I had put 1 6 france in front of the textures, which tells the game that only 1 faction will be using this texture. I needed to have 2 6 france.

    Hopefully it should work now

    See the bad thing is you can mess up without even realizing it. Usually the game will crash, I can go in, and quickly fix it, but since I'm not using this I don't have any idea.
    "You're drunk again!"
    "Na Im just exhausted from staying up all night drinking!" - Family guy

  10. #10
    Hiding in a bush near you Member Sir Robin the Brave's Avatar
    Join Date
    Dec 2006
    Location
    Ol' Blighty (England)
    Posts
    72

    Default Re: Tutorial - Adding a unit to the game

    perhaps someone here can help me:

    HTML Code:
    8 clansmen 1 4 65 unit_models/_Units/RN_Light_Lmail/sword_and_buckler_men_lod0.mesh 121 65 unit_models/_Units/RN_Light_Lmail/sword_and_buckler_men_lod1.mesh 900 65 unit_models/_Units/RN_Light_Lmail/sword_and_buckler_men_lod2.mesh 2500 65 unit_models/_Units/RN_Light_Lmail/sword_and_buckler_men_lod3.mesh 6400 2 8 scotland 70 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_scot.texture 72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture 52 unit_sprites/sicily_Sword_and_Buckler_Men_sprite.spr 1 8 scotland 59 unit_models/AttachmentSets/Final Iberian_spain_diff.texture 59 unit_models/AttachmentSets/Final Iberian_spain_norm.texture 0  1 4 None 14 MTW2_Swordsman 0  2 18 MTW2_Sword_Primary 14 fs_test_shield 0 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    This doesn't seem to work, if you could find out what and explain to me what is wrong, I would be most grateful
    Brave Sir Robin ran away.
    Bravely ran away, away!
    When danger reared its ugly head,
    He bravely turned his tail and fled.
    Yes, brave Sir Robin turned about
    And gallantly he chickened out.
    Bravely taking to his feet
    He beat a very brave retreat,
    Bravest of the brave, Sir Robin!

  11. #11

    Default Re: Tutorial - Adding a unit to the game

    Quote Originally Posted by Sir Robin the Brave
    perhaps someone here can help me:

    HTML Code:
    8 clansmen 1 4 65 unit_models/_Units/RN_Light_Lmail/sword_and_buckler_men_lod0.mesh 121 65 unit_models/_Units/RN_Light_Lmail/sword_and_buckler_men_lod1.mesh 900 65 unit_models/_Units/RN_Light_Lmail/sword_and_buckler_men_lod2.mesh 2500 65 unit_models/_Units/RN_Light_Lmail/sword_and_buckler_men_lod3.mesh 6400 2 8 scotland 70 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_scot.texture 72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture 52 unit_sprites/sicily_Sword_and_Buckler_Men_sprite.spr 1 8 scotland 59 unit_models/AttachmentSets/Final Iberian_spain_diff.texture 59 unit_models/AttachmentSets/Final Iberian_spain_norm.texture 0  1 4 None 14 MTW2_Swordsman 0  2 18 MTW2_Sword_Primary 14 fs_test_shield 0 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    This doesn't seem to work, if you could find out what and explain to me what is wrong, I would be most grateful
    notice how the numbers infront of scotland differ? 2 8 scotland 70 and 1 8 scotland 59 that might be the problem, i'am not sure so you might have to fool around with that a bit, hope that helps

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