Well here it goes. I've always wanted to share this but didn't really think it was necessary, for some reasons. I've known about this for quite some time now.
Besides having a unit pick up a relic in the editor, or attacking invisible targets, the closest way I know of to set a standard animation for a unit (i.e. pick-up, attack, bored) is to simply include it in the animation file. If you're a scenario designer and you want to be able to use standard animations at command, you would simply have to have the user/player copy and paste a file/mod into their animation folder. Here is an example. I won't include the entire animation:
//==============================================================================
anim Cinematic
{
SetSelector
{
set hotspot
{
name Ark_Scen0301ponder
version
{
VisualGranny Ark_aomsp03ponder
}
}
set hotspot
{
name Ark_Scen0302point
version
{
VisualGranny Ark_aomsp03point
}
}
set hotspot { name ark_test1 version {
Visual Scenario A Arkantos_boredA } } set hotspot
{
name Ark_Talk1Sec
version
{
VisualGranny Ark_Talk1Sec
}
}
set hotspot
{
name Ark_Talk2Sec
version
{
VisualGranny Ark_Talk2Sec
}
}
set hotspot
{
name Ark_Talk3Sec
version
{
VisualGranny Ark_Talk3Sec
}
}
set hotspot
{
name Ark_aomsp042what
version
{
VisualGranny Ark_aomsp042what
}
}
set hotspot
{
name Ark_scen0403sad
version
{
VisualGranny Ark_aomsp042sad
}
}
set hotspot
{
name Arka_cine052spearwalk
version
{
VisualGranny Ark_cine052spearwalk
}
}
set hotspot
{
name Ark_cine052points
version
{
VisualGranny Ark_cine052points
}
}
set hotspot
{
name Ark_aomsp06mocking
version
{
VisualGranny Ark_aomsp06mocking
}
}
set hotspot
{
name Ark_aomsp06question
version
{
VisualGranny Ark_aomsp06question
}
}
set hotspot
{
EDIT: OK wow. I just lost the second half of this due to the fact that I pressed enter prematurely and stopped the page. Anyyyywaayyyyyy... I'm not gonna rewrite the whole thing:
//==============================================================================
anim Bored
{
SetSelector
{
CinematicLogic
SetSelector
{
ContainLogic
set hotspot
{
version
{
Visual Scenario A Arkantos_boredA
Connect FRONTABDOMEN heroglow hotspot
}
}
set hotspot
{
version
{
Visual Scenario A Arkantos_carryboredA
Connect FRONTABDOMEN heroglow hotspot
}
}
}
SetSelector
{
set hotspot
{
version
{
VisualGranny Ark_idleA
}
}
}
}
}
//==============================================================================
All I'm doing is taking the animation name from the bored thing and putting it in the cinematic thing. Im not sure if you can add effects like heroglow and stuff but whatever. feel free to ask questions. And im telling you... I ALWAYS copy and paste my text after i'm done in case something like this happens, But for some reason, whenever i dont, or i feel like i dont have to, Something Screws Up! It's weird! anyway... get my point^^?
Besides having a unit pick up a relic in the editor, or attacking invisible targets, the closest way I know of to set a standard animation for a unit (i.e. pick-up, attack, bored) is to simply include it in the animation file. If you're a scenario designer and you want to be able to use standard animations at command, you would simply have to have the user/player copy and paste a file/mod into their animation folder. Here is an example. I won't include the entire animation:
//===========================================================================
anim Cinematic
{
SetSelector
{
set hotspot
{
name Ark_Scen0301ponder
version
{
VisualGranny Ark_aomsp03ponder
}
}
set hotspot
{
name Ark_Scen0302point
version
{
VisualGranny Ark_aomsp03point
}
}
{
name Ark_Talk1Sec
version
{
VisualGranny Ark_Talk1Sec
}
}
set hotspot
{
name Ark_Talk2Sec
version
{
VisualGranny Ark_Talk2Sec
}
}
set hotspot
{
name Ark_Talk3Sec
version
{
VisualGranny Ark_Talk3Sec
}
}
set hotspot
{
name Ark_aomsp042what
version
{
VisualGranny Ark_aomsp042what
}
}
set hotspot
{
name Ark_scen0403sad
version
{
VisualGranny Ark_aomsp042sad
}
}
set hotspot
{
name Arka_cine052spearwalk
version
{
VisualGranny Ark_cine052spearwalk
}
}
set hotspot
{
name Ark_cine052points
version
{
VisualGranny Ark_cine052points
}
}
set hotspot
{
name Ark_aomsp06mocking
version
{
VisualGranny Ark_aomsp06mocking
}
}
set hotspot
{
name Ark_aomsp06question
version
{
VisualGranny Ark_aomsp06question
}
}
set hotspot
{
EDIT: OK wow. I just lost the second half of this due to the fact that I pressed enter prematurely and stopped the page. Anyyyywaayyyyyy... I'm not gonna rewrite the whole thing:
//===========================================================================
anim Bored
{
SetSelector
{
CinematicLogic
SetSelector
{
ContainLogic
set hotspot
{
version
{
Visual Scenario A Arkantos_boredA
Connect FRONTABDOMEN heroglow hotspot
}
}
set hotspot
{
version
{
Visual Scenario A Arkantos_carryboredA
Connect FRONTABDOMEN heroglow hotspot
}
}
}
SetSelector
{
set hotspot
{
version
{
VisualGranny Ark_idleA
}
}
}
}
}
//===========================================================================
All I'm doing is taking the animation name from the bored thing and putting it in the cinematic thing. Im not sure if you can add effects like heroglow and stuff but whatever. feel free to ask questions. And im telling you... I ALWAYS copy and paste my text after i'm done in case something like this happens, But for some reason, whenever i dont, or i feel like i dont have to, Something Screws Up! It's weird! anyway... get my point^^?
[This message has been edited by AoM Expert (edited 06-11-2011 @ 09:30 AM).]