Raised This Month: $51 Target: $400
 12% 

Solved [H3LP] Entity Animations


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DarthMan
Veteran Member
Join Date: Aug 2011
Old 01-25-2019 , 07:38   [H3LP] Entity Animations
Reply With Quote #1

Hello. I'm trying to animate a prop_dynamic_override entity. That means setting the frame, framerate, sequence and stuff. Any ideas how to do that ? Thanks !

Last edited by DarthMan; 01-27-2019 at 05:02. Reason: Solved
DarthMan is offline
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 01-25-2019 , 09:59   Re: [H3LP] Entity Animations
Reply With Quote #2

Game, what model?
Indarello is offline
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 01-25-2019 , 10:16   Re: [H3LP] Entity Animations
Reply With Quote #3

https://forums.alliedmods.net/showthread.php?t=306268
If you try to set animation in cs:go with new player models you will have some problems
Indarello is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 01-25-2019 , 10:48   Re: [H3LP] Entity Animations
Reply With Quote #4

Quote:
Originally Posted by Indarello View Post
https://forums.alliedmods.net/showthread.php?t=306268
If you try to set animation in cs:go with new player models you will have some problems
Hi, nope. It's for an entity that gets attached to a player.
Game is Fortress Forever.

Last edited by DarthMan; 01-25-2019 at 10:55.
DarthMan is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 01-25-2019 , 11:41   Re: [H3LP] Entity Animations
Reply With Quote #5

Quote:
Originally Posted by Indarello View Post
https://forums.alliedmods.net/showthread.php?t=306268
If you try to set animation in cs:go with new player models you will have some problems
I think I found a way, using AcceptEntityInput(iEnt, "SetAnimation"); and AcceptEntityInput(iEnt, "Enable"); . But how can I check what frame the entity is on to then set the animation to idle?
DarthMan is offline
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 01-25-2019 , 11:45   Re: [H3LP] Entity Animations
Reply With Quote #6

Quote:
Originally Posted by DarthMan View Post
I think I found a way, using AcceptEntityInput(iEnt, "SetAnimation"); and AcceptEntityInput(iEnt, "Enable"); . But how can I check what frame the entity is on to then set the animation to idle?
SetAnimation
createtimer sec
on timer setanimation idle
Indarello is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 01-25-2019 , 12:19   Re: [H3LP] Entity Animations
Reply With Quote #7

Quote:
Originally Posted by Indarello View Post
SetAnimation
createtimer sec
on timer setanimation idle
How would I know exactly after how long to set the timer?
You mean to create a data timer and on that timer set the new animation?
How would I know the float value? In how many secs the animation ends.

Last edited by DarthMan; 01-25-2019 at 12:28.
DarthMan is offline
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 01-25-2019 , 13:07   Re: [H3LP] Entity Animations
Reply With Quote #8

Just test, use stopwatch
You even dont need data timer
Just send entityreference as 3 argument
And check for entity valid on timer end

Last edited by Indarello; 01-25-2019 at 13:08.
Indarello is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 01-25-2019 , 13:09   Re: [H3LP] Entity Animations
Reply With Quote #9

Quote:
Originally Posted by Indarello View Post
Just test, use stopwatch
You even dont need data timer
Just send entityreference as 3 argument
And check for entity valid on timer end
And how exactly would I do that in the way u said?
DarthMan is offline
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 01-25-2019 , 13:16   Re: [H3LP] Entity Animations
Reply With Quote #10

Sorry dont understand you, maybe because I dont understand what exactly do you need or I am bad in english
I think somebody another can help you

Last edited by Indarello; 01-25-2019 at 13:18.
Indarello is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:11.


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