Results 1 to 3 of 3

Thread: Factions

  1. #1
    Senior Member Senior Member Duke John's Avatar
    Join Date
    May 2003
    Location
    Netherlands
    Posts
    2,917

    Post

    Info to be added.

  2. #2
    Senior Member Senior Member Duke John's Avatar
    Join Date
    May 2003
    Location
    Netherlands
    Posts
    2,917

    Post

    3.2 Adding a faction
    Original author: starkhorn
    Original article: Adding a faction in VI (PDF)


    3.2.1 Some notes beforehand
    In this chapter it is assumed that your expansion will be called Mod. Most likely you want a different name for your mod. Files and folders will be typed in italic. Scripting code will be typed in Courier. I assume that you are looking into the MTW installation folder. So when I type \Textures I mean c:\Program Files\Medieval\Textures if you installed M:TW into c:\Program Files\Medieval.

    edit by B. - (adjusted link to starkhorns copy)




  3. #3
    Senior Member Senior Member Duke John's Avatar
    Join Date
    May 2003
    Location
    Netherlands
    Posts
    2,917

    Post

    3.3 Faction music
    Original author: eat cold steel
    Original article: Changing the Music


    3.3.1 Setting music
    // *********************************************************
    // * Declares which type of music is associated with a given faction.
    // * 0 is Arab, 1 is Western European and 2 is Viking..
    // *********************************************************

    SetFactionMusic:: FACTIONNAME # // FactionName[/list]
    Where:#Is the setnumber of the music.[/list]


    3.3.2 Adding music

    To be edited and formatted

    Find the music you want to play and put them in the Sounds\Music directory. They have to be in wav format. For example if I have 6 pieces of music I want to use called:
    My Tension.wav
    My Mobilize.wav
    My Battle1.wav
    My Battle2.wav
    My Win.wav
    My Lose.wav
    Just drop all 5 in that directory. Now open playlist with a text editor, double click and open with notepad. Go down to the first custom space and add in before the first line My Tension,0 so it look something like:
    // custom 1,2 and 3
    My Tension,0
    , 0
    , 0
    , 0

    You may want to edit the comment to make it look better
    // Shogun music
    My Tension,0
    , 0
    // custom 2 and 3
    , 0
    , 0

    Now repeat the process with the mobilize section to:
    // Shogun music
    My Mobilize,0
    , 0
    // custom 2 and 3
    , 0
    , 0

    I have 2 pieces of battle music, the game will pick one at random when the fighting start, so:
    // Shogun music
    My Battle1,0
    My Battle2,0
    , 0
    // custom 2 and 3
    , 0
    , 0

    Repeat for win and lose. You can put the same track in more times to weight the random progress, the more it appear in a section the more chance it will be selected. You can have up to 6 tracks for each slot. Finally go into startpos file and change the music for the factions:
    SetFactionMusic:: FN_ENGLISH 3
    Now you'll get different music when you do battle as the English




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