Some anims being ignored
Moderator: Moderators
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Some anims being ignored
I munged a custom animset. In-game, some of them work, but others don't. Particularly, I made an animset for "villagers" that has vader's walk and idle as the rifle walk and idles. I know I referenced them properly and that they are, in fact, munging, as in-game the units with the invisible rifles take on Vader's idle stance. When they walk, however, it's the stock rifle walking anim.
There's nothing in the error log that looks suspicious. What is happening?
There's nothing in the error log that looks suspicious. What is happening?
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Some anims being ignored
how did you call the custom animations?
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Some anims being ignored
I munged them as "normal". I renamed them to have "normal_" in the beginning. This I can do, yes? I've seen, for example, "gunner" and "elite" animsets before, so you don't have to replace a stock one...do you?
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Some anims being ignored
and you both have run_ and walk_forward anims?
did you give the villagers the correct animset?
did you give the villagers the correct animset?
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: Some anims being ignored
So you copied the anims you wanted into a directory called normal, changed the first part to normal_ and edited the munge.bat file in that directory so the the name of the output .zaf file was also normal.
@call ..\munge_animation.bat "/keepframe0 /dest normal.zaf" Sides\ABC
Then in the units odf you indicate the skeleton name to be normal?
SkeletonName = "normal"
If not try doing that, as well you may also need to edit the ingame.req file to include the normal anim set, would get rid of everything else in the ingame.req except for that part as it will just give unnecessary errors.
ucft
{
REQN
{
"animbank"
"normal"
}
}
You will also need to have a dc:ingame line in your script, this is in addition to (not instead of) the normal one that is there, see topic in FAQ.
Hope this helps
@call ..\munge_animation.bat "/keepframe0 /dest normal.zaf" Sides\ABC
Then in the units odf you indicate the skeleton name to be normal?
SkeletonName = "normal"
If not try doing that, as well you may also need to edit the ingame.req file to include the normal anim set, would get rid of everything else in the ingame.req except for that part as it will just give unnecessary errors.
ucft
{
REQN
{
"animbank"
"normal"
}
}
You will also need to have a dc:ingame line in your script, this is in addition to (not instead of) the normal one that is there, see topic in FAQ.
Hope this helps
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Some anims being ignored
I don't have both run and walk; only walk. Run anims are necessary? I thought it would just revert to stock ones? And I have AnimationName = "normal". Is that the same as SkeletonName?
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: Some anims being ignored
I believe it has to be SkeltonName if you look at any unit that does not use human anims by default it always states the skeleton name (just figured this one out when typing earlier response) which matches name of the .anim .zaabin and .zafbin files. But the odf doesn't necessarily state the AnimationName. And no you don't need to include anything you don't mind it reverting back to human anims for like the run.
- Havoc 526
- Rebel Warrant Officer

- Posts: 317
- Joined: Sat Apr 04, 2009 6:24 pm
- Projects :: Something
- Location: Howling at the Moon
Re: Some anims being ignored
I've had this problem recently. In the name of the walking and/or running anims, you need to add "_full" to the end. Let me know if that fixes it.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Some anims being ignored
I believe they already have _full on the ends of their names. In regards to FragMe, why does it partially work when I use AnimationName? The idle stance is, after all, showing up.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Some anims being ignored
the units use runforward, not walkforward, thats your problem, rename the walkforward anim to runforward
(i dont know if the walkforward anim is used at all)
(i dont know if the walkforward anim is used at all)
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: Some anims being ignored
I think it is used if, for instance, you use a joystick instead of keyboard for movement, at less than full speed, its been a while since ive played, so theres a chance im wrong, but i doubt it....
