Hi all,
Just wondering if there's a way to make more than one idleview?
If this is possible, are you able to make different idleviews depending on which way the character is facing?
Basically I'm trying to put a helicopter in my game, and want to have the blade constantly turning. Therefore I need 4 different idle views I'd imagine and I run each one depending on which way the helo is facing.
Thanks in advance for the help!
Cheers
Hud
I can't say I see why you'd need multiple views...that's what loops are for. A loop is a subdivision of a view that specifies which direction the character is facing.
Yeah, what monkey said.
But if you'll ever need several idle views for some reason: No, problem. Make another view and use the SetIdleView command..
Even better, use SSH's MultipleIdle plugin!
But as monkey said- for what you describe, the loops are sufficient.
As ghost said: http://ssh.me.uk/moddoc/Idle
Hey guys,
Thanks for the tips. Probably didnt explain it well enough. I cant use loops because it's a top down view. Therefore if the helicopter is facing East I need the blades to animate while it's facing east. Same for north, south and west. Therefore a loop would make it do 360's while it's idle. (I think)
I'll check out SSH's plugin. That should be just what I need.
Cheers
Hud
No.
A view is composed of 4 different, independent animations (or loops, in AGS's terms), one for each of the four directions (n, e, s, w).
You aren't using 4 views to move the heli around, are you?
The first four loops are named in the view editor (down, right, left, up).
So say you drew 7 frames of the helicopter facing south, blades turning. Put them in the down loop of the idle view. Same for the other three directions. Then set the view as IdleView using a delay of 0. Done.
Awesome thanks KhrisMUC, that works a treat!
Just wondering if there's anyway now to change the idleview animation speed? Currently it doesnt match that of the 'walking' animation speed?
Cheers in advance!
Every frame has a delay setting, change it to speed up or slow down the animation.
If your character's AnimationDelay setting is 2, try entering -3 for every frame as the idleview uses an (unchangeable) delay of 5, afaik.
Thanks Khris, got it all working now.