Zero anim doesn´t start in Game

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Rends
Sith
Sith
Posts: 1278
Joined: Fri Oct 15, 2004 6:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:

Zero anim doesn´t start in Game

Post by Rends »

Ok i followed Jawa_Killer tut here and i got the anim working in Zeroeditor but not in Game.
I´m pretty sure i need to add the PlayAnimation(“Animation Group Name”)
entry to the lua?
But where do i add it?
I tried it but then munge reports an LUA error.

Rends
raz1992

Post by raz1992 »

Well, I was creating a modified version of the Kashyyyk map, and while searching through the LUA from the assets I found these lines:

Code: Select all

function PlayAnimUp()
    PauseAnimation("thegatedown");
    RewindAnimation("thegateup");
    PlayAnimation("thegateup");
I'm not sure if these will help in any way, just a small guess.
Ace_Azzameen_5
Jedi
Jedi
Posts: 1119
Joined: Sat Apr 23, 2005 8:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Ace_Azzameen_5 »

maybe it's just a syntax error? Do you have a lua editing program such as "lua Edit" that can check for mistakes?

Also, if all you want the animation to do is to play at the begining of the level, couldn't you just click "play when level starts" in ZE?
User avatar
Rends
Sith
Sith
Posts: 1278
Joined: Fri Oct 15, 2004 6:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:

Post by Rends »

Ace, yes i forget to press the "play when starts" button. Now it´s working :)

Rends
Post Reply