Reminder:
Red= Default Path to file/folder
Green= The Titans users only bits |
Bah! The introduction didn't scare you away. I guess I should carry on then...
Part 1 - Practice - This part will be a practice tutorial to give you an idea of 'animing'.
 |
This is what we're making. What's that? You don't see any difference between this and the normal hoplite? Well look closer dummy, he has a sword instead of a spear and a load of flies around him! :)
Heh anyway, lets begin! Step 1
Open hoplite_anim.txt (C:\Program Files\Microsoft Games\Age of Mythology\anim\aom\hoptlite_anim.txt).
| Below explains the 'define' and 'anim' meannings. (Important) |
You'll see near the top there is a "define Head" and underneath that area there is an "anim Bored". The easiest way to explain the difference between 'define' and 'anim' is that 'define' sets the attachments and 'anim' sets where the attachments go.
|
Step 2
The first thing we're going to do to the hoplite is make flies appear around him just like the mummy. Find 'mummy_anim.txt' in your 'aom' folder (C:\Program Files\Microsoft Games\Age of Mythology\anim\aom\mummy_anim.txt).
You'll see there are a few defines there but since we only want the flies find the define for flies (which is already pasted in the Tip above).
Copy the define and go back to your hoplite anim and paste it between the last line of the last 'define' and first live of the first 'anim' line. Your anim file should now look like this:

Step 3
Now for the 'anim' part. These areas defines where the attachments go. Unfortunetly we cannot control which places on the 3d model can have an attachment without having to edit the model. Ok so scroll to the 'anim bored' area, you will see a few lines where it says 'version' and below it you can clearly see the codes for attaching the attachments. Eg:
//==============================================================================
anim Bored
{
SetSelector
{
CinematicLogic
SetSelector
{
TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
set hotspot
{
version
{
Visual Infantry G Hoplite_BoredA
connect RightHand Sword hotspot
connect LeftForearm LargeGreekShield hotspot
Connect TopOfHead Head hotspot
|
Let's go back to the Mummy anim file and see how the flies are attached.
//==============================================================================
anim Bored
{
SetSelector
{
set hotspot
{
version
{
Visual Special E Mummy_BoredA
Connect ATTACHPOINT flies hotspot
Connect ATTACHPOINT smoke hotspot
connect hotspot eclipseSFX hotspot
}
|
So, we very basically add the line Connect ATTACHPOINT flies hotspot above or below any of the 'Connect' lines:
//==============================================================================
anim Bored
{
SetSelector
{
CinematicLogic
SetSelector
{
TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
set hotspot
{
version
{
Visual Infantry G Hoplite_BoredA
Connect ATTACHPOINT flies hotspot
connect RightHand Sword hotspot
connect LeftForearm LargeGreekShield hotspot
Connect TopOfHead Head hotspot
|
 |
Do this with every area whenever there are 'Connect' sections and you should have something like this: [link]
Now save it in your root anim folder (C:\Program Files\Microsoft Games\Age of Mythology\anim\) as it's original name (hoplite_anim.txt). Now, launch AOM, place a hoplite and see what you have just created!
« What you should have.
|
Now on to replacing the hoplites' spear with a sword »
pages [ 1 , 2 , 3 , 4 ]