Results 1 to 9 of 9

Thread: missiles sync. OR how to make your unit fire in the same time

  1. #1
    feed me! Member Ashdnazg's Avatar
    Join Date
    Dec 2006
    Location
    Haifa, Israel
    Posts
    54

    Default missiles sync. OR how to make your unit fire in the same time

    (If you just want to know how to do this skip the story and go straight to the tutorial)

    The Story:

    well, tried to make gunpowder units shoot at the same time, and not a bullet here, a bullet there.

    To do this I edited the MTW2_musket_attack_hold.cas (or something like that) to be of 3 frames and not 20 with KE's tools (thanks m8!).
    and it worked :), my spanish musketeers fired noisy volleys like good boys.

    What it means is that the game loops through the hold animation a random small integer times, so you can control how concentrated volleys will be by the length of the hold animation.



    The Tutorial:

    Ready!
    Aim!
    Fire!

    Tired of lazy gunmen? Want your musketeers to listen to your orders? Ever wished to impress your girl with pretty volleys?
    There's a solution to your problems!

    What you need:
    1) CA's animation files
    2) KE's animation tools
    3) Milkshape 3d / 3ds max (if you use 3ds max, you'll need KE's ms3d importer as well)

    What you do:
    1) Find some musketeer .mesh and convert it to .ms3d.
    2) Find the M2TW_musket_attack_hold.cas or whatever its name is in the animation files.
    3) Merge the .cas file with the .ms3d using KE's animations tools.
    4) Open the ms3d with either milkshape or max, downsize the animation to 3 frames or so, and save it.
    5) Extract the animation.
    6) Generate new animation databases using CA's animations files (replace the original .cas with the new one before you generate them, of course)
    7) Start the game and verify it worked

    original medieval musketeers: https://www.youtube.com/watch?v=uRJrn5QIZWU
    musketeers firing in volleys: https://www.youtube.com/watch?v=KFH9olc0CY0
    both, so it's easier to compare: https://www.youtube.com/watch?v=ZESrdC7gARg

    cheers!
    hoko.
    Last edited by Ashdnazg; 05-03-2008 at 21:41.
    a.k.a Lord hokomoko @ the Lordz Modding Collective

  2. #2
    feed me! Member Ashdnazg's Avatar
    Join Date
    Dec 2006
    Location
    Haifa, Israel
    Posts
    54

    Default Re: missiles sync. OR how to make your unit fire in the same time

    added youtube links.
    a.k.a Lord hokomoko @ the Lordz Modding Collective

  3. #3
    Member Member Taranaich's Avatar
    Join Date
    Dec 2005
    Location
    The bleak moors of Scotland
    Posts
    491

    Default Re: missiles sync. OR how to make your unit fire in the same time

    Great work, I had been looking for something just like this!

    Would it be possible to have the units even more synchronised, like they were firing as one man, or is 3 frames the lowest limit?

    "Know, O Prince, that between the years when the oceans drank Atlantis and the gleaming cities, and the years of the rise of the Sons of Aryas, there was an age undreamed of, when shining kingdoms lay spread across the world, like blue mantles beneath the stars...
    Is fhearr fheuchainn na bhith san duil.

  4. #4
    feed me! Member Ashdnazg's Avatar
    Join Date
    Dec 2006
    Location
    Haifa, Israel
    Posts
    54

    Default Re: missiles sync. OR how to make your unit fire in the same time

    I suppose you can make it 1 frame or so, don't know how much effect it will have.
    a.k.a Lord hokomoko @ the Lordz Modding Collective

  5. #5

    Default Re: missiles sync. OR how to make your unit fire in the same time

    Amazing, how did you managed to stop the musketeers from moving behind the lines when reloading?

  6. #6
    Member Member MxTach's Avatar
    Join Date
    Jun 2008
    Location
    London, England
    Posts
    5

    Default Re: missiles sync. OR how to make your unit fire in the same time

    This is a fantastic tutorial,

    I can see this being implemented in conjunction to the Royal Academy buildings in vanilla. This could now be of particular use - not to say it isn't, but if you can differenciate between "skirmish" style musketeers, and trained marksmen on the battlefield, then your tactical advantage to fighting with gunpowder units is significantly increased.

    I smell a mod coming on!, I mod Oblivion and im only just starting out for Medieval II, so dont expect me to do it! ^_^

    But a mod that "trains" your units to fire in professional volleys would be a big hit - not so much as a stand alone modification, but plenty of modding enthusiasts may want to add this in a themed mod.

    What do you guys think?

  7. #7
    Member Member Hister's Avatar
    Join Date
    Sep 2006
    Location
    Slovenia
    Posts
    283

    Default Re: missiles sync. OR how to make your unit fire in the same time

    Excellent tutorial - can you maybe make javelin units throw their javelins at the same time to by following this guide? Needs to be implemented in Paeninsula Italica for M2TW.

  8. #8

    Default Re: missiles sync. OR how to make your unit fire in the same time

    AHA!!1!11!!

    At long last i found it... now only to get my game working again...
    Tho' I've belted you an' flayed you,
    By the livin' Gawd that made you,
    You're a better man than I am, Gunga Din!
    Quote Originally Posted by North Korea
    It is our military's traditional response to quell provocative actions with a merciless thunderbolt.

  9. #9

    Default Re: missiles sync. OR how to make your unit fire in the same time

    Wow!! This is amazing!! I don't know the first thing about modding my game, though. Does anyone have like a .exe file that will do all of these things for me?

    Is it about time that I just learn? :P

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