Animations

Started by techie775, Wed 17/12/2008 21:13:12

Previous topic - Next topic

techie775

Okay I looked on the website and forum and I can't find anything about Animations they only mention the walking animation. I'm trying to find out how to animate a character when they are standing still in a room. I've tried doing this but it gives me " Failed to save room room1.crm; details below
room1.asc(7): Error (line 7): Parse error: unexpected 'cgammie'"

the code in the room is:
cgammie.LockView(4);
cgammie.Animate(0, 1, 0, eBlock, eBackwards);
cgammie.UnlockView();

I'm not even sure how to do the animations for things in the room. If anyone knows anything or a page to direct me to I'd appreciate it. Thanks.

Dualnames


I'm trying to find out how to animate a character when they are standing still in a room. I've tried doing this but it gives me " Failed to save room room1.crm; details below
room1.asc(7): Error (line 7): Parse error: unexpected 'cgammie'"

the code in the room is:
cgammie.LockView(4);
cgammie.Animate(0, 1, 0, eBlock, eBackwards);
cgammie.UnlockView();


First of all the code above is good and works.
Second of all you've placed the code in the wrong place.

In your case however you want to have the character animating when he's idle. That's very easy to do. Delete that code(or save it to a txt file in case you want to use it somewhere else). Go and open the cgammies properties window. Find idle view. Set view to 4.

And search the manual more on idle. That will get you going in no time.

http://www.adventuregamestudio.co.uk/manual/Character.SetIdleView.htm

The link might be of use.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

techie775

Sweet, thanks for pointing me in the right direction.

Dualnames

Glad I was of any help.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

SMF spam blocked by CleanTalk