Reminder:
Red= Default Path to file/folder
Green= The Titans users only bits

I hope you completed the last task with relative ease.

Step 1

Do you see how at the top of the hoplite anim theres:

//==============================================================================
// Hoplite_Anim.txt
//==============================================================================

import Greek_Large_Shield_anim.txt
import spear_defines_anim.txt

The part I have highlighted is what defines the hoplite's weapon (slash spear). So open spear_defines_anim.txt (C:\Program Files\Microsoft Games\Age of Mythology\anim\aom\spear_defines_anim.txt) and save it as sword_u_defines_anim.txt in the original anim folder (C:\Program Files\Microsoft Games\Age of Mythology\anim\).

Step 2

Now we have to find a unit that uses a sword suitable for our modded unit. Since it's a greek unit we will use a greek sword. For this tutorial I have chosen the standard greek sword which is at C:\Program Files\Microsoft Games\Age of Mythology\anim\aom\greek_sword_anim.txt. Now we simply copy the attachment code for each sword version- that is:

Visual Attachments G Sword Standard
Visual Attachments G Sword Copper
Visual Attachments G Sword Bronze
Visual Attachments G Sword Iron

and replace the ones in your sword_u_defines_anim.txt. Now the final thing you must do is replace the 2 instances of 'Spear' with 'Sword' and also add a U:

//==============================================================================
// Sword U defines_anim.txt
//==============================================================================

sword_u_defines_anim.txt should now look like this: [link]

Step 3

Now back to hoplite_anim.txt.

We'll be using sword_u_defines_anim.txt to define the sword now so replace import spear_defines_anim.txt with import sword_u_defines_anim.txt. We also need to replace all other instances of 'spear' with 'sword' so that the hoplite knows which weapon to hold (otherwise he won't be holding anything). This task is pretty simple- press Ctrl+H, this brings up the Find and Replace Menu (and if it doesn't well just go to Edit > Replace). in the 'Find what' box type spear and in the 'Replace with' box type sword and click Replace All.

You're final hoplite_anim.txt should now look like this: [link]

You're final hoplite_anim.txt should now look like this: [link]

Save it in C:\Program Files\Microsoft Games\Age of Mythology\anim\ and you're hoplite should now appear as so »

 

 

Congratulations! Take a break for 5 minutes and get back here for the Next Part! »

pages [ 1 , 2 , 3 , 4 ]