AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   forcing an animation of an entity model (https://forums.alliedmods.net/showthread.php?t=86951)

Speed! 03-04-2009 18:40

forcing an animation of an entity model
 
Ok, i have an entity, with a MODEL, i wanna use an animation for just a few seconds, how should i?

padilha007 03-04-2009 18:48

Re: forcing an animation of an entity model
 
http://forums.alliedmods.net/showthread.php?t=11756

Speed! 03-04-2009 19:16

Re: forcing an animation of an entity model
 
thanks =D
but it dont says at all how to set an idle animation, and play an specific one when i want, or im too stupid and i havent understood well that tutorial (probable LOL)

Sn!ff3r 03-04-2009 20:43

Re: forcing an animation of an entity model
 
pev_gaitsequence?

Speed! 03-04-2009 21:52

Re: forcing an animation of an entity model
 
Quote:

Originally Posted by Sn!ff3r (Post 774200)
pev_gaitsequence?

im not sure of how to use it.
On a default player, for forcing them to "swim" i should use pev_gaitsequence 8
but what should be for my custom model?

Arkshine 03-05-2009 06:11

Re: forcing an animation of an entity model
 
Using pev_sequence should be enough.

Speed! 03-05-2009 10:23

Re: forcing an animation of an entity model
 
Quote:

Originally Posted by arkshine (Post 774361)
Using pev_sequence should be enough.

so, for example, if my model has an idle and pullup animation, i should use
when creating animation, pev_sequence pullup, and set a task to change it to idle?

Dr.G 03-05-2009 10:52

Re: forcing an animation of an entity model
 
Yes! :) you can see the sequence number in jed model viewer..


All times are GMT -4. The time now is 16:52.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.