Animating a model om command.

Animating a model om command.

Re: Animating a model om command. Posted by Corona on Fri Nov 26th 2004 at 4:22pm
Corona
43 posts
Posted 2004-11-26 4:22pm
Corona
member
43 posts 4 snarkmarks Registered: Aug 31st 2003 Location: Holland
Hey.

I got the model called "models/props_lab/elevatordoor.mdl". And it has one idle animation, one open animation and one closed animation.

I now put it on close with a prop_dynamic (wich I think is the best prop to use?), when I press a buton I want the door to open and stay open unless I press the button again.

The changing animation should be simple with some sort of entity, no? But what about it staying open, since there is no animation that resembles an idle open door.

GImme your thoughts!!

Corona
Re: Animating a model om command. Posted by Vash on Sat Nov 27th 2004 at 6:44am
Vash
1206 posts
Posted 2004-11-27 6:44am
Vash
member
1206 posts 181 snarkmarks Registered: Feb 4th 2003 Occupation: Afraid of Spiders
Why not try using a script_sequence? I do not know if it will work on props, but it is worth a try.
Re: Animating a model om command. Posted by Corona on Sat Nov 27th 2004 at 1:30pm
Corona
43 posts
Posted 2004-11-27 1:30pm
Corona
member
43 posts 4 snarkmarks Registered: Aug 31st 2003 Location: Holland
Uhm, there's no such entity? :sad:
Re: Animating a model om command. Posted by omegaslayer on Sat Nov 27th 2004 at 9:12pm
omegaslayer
2481 posts
Posted 2004-11-27 9:12pm
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
wait for the full sdk, its only 4 days away :biggrin: