Raised This Month: $ Target: $400
 0% 

swimming animation


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 06-06-2013 , 10:29   Re: swimming animation
Reply With Quote #1

Quote:
Originally Posted by ConnorMcLeod View Post
Joropito said if should work if your ent is created with hostage classname.
PHP Code:
    ent create_entity("hostage_entity")
    
entity_set_string(entEV_SZ_classname"myent")
    
engfunc(EngFunc_SetModelent"models/player/0x001/0x001.mdl")
    
set_pev(entpev_solidSOLID_TRIGGER)
    
set_pev(entpev_movetype,     MOVETYPE_STEP)
    
set_pev(entpev_origino)
    
pevidpev_angles)
    
// engfunc( EngFunc_AnimationAutomove, ent, 1.0 ) // dont know what this is but did not change anything
    
t_ent ent
    o
[0] = 0.0
    set_pev
entpev_angles)
    
pevidpev_mins)
    
set_peventpev_minso)
    
pevidpev_maxs)
    
set_peventpev_maxso)
    
entity_set_float(entEV_FL_animtimeget_gametime())
    
entity_set_float(entEV_FL_nextthinkget_gametime() + 0.1
    
set_peventpev_sequence15 )
    
set_peventpev_gaitsequence)
    
set_peventpev_frame)
    
set_peventpev_framerate1.0 )
    
set_peventpev_animtimeget_gametime() )
    
// set_pev( ent, pev_iuser1, 0)
    
set_peventpev_velocityFloat:{ 0.00.00.0 } ) 
PHP Code:
public plugin_init() register_forward(FM_AddToFullPack"gaitsequence_fix"1)
public 
gaitsequence_fix(eseenthosthostflagsplayerpSet
{
    
// this will crash my cs 
    // if( ent == t_ent ) set_es( ent, ES_GaitSequence, 6 )
    

Im running out of ideas here, nothing seems to help...
.Dare Devil. is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 06-06-2013 , 10:34   Re: swimming animation
Reply With Quote #2

How did you go with setting waterlevel? I think you'll find that easier.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 06-06-2013 , 10:38   Re: swimming animation
Reply With Quote #3

Quote:
Originally Posted by hornet View Post
How did you go with setting waterlevel? I think you'll find that easier.
thats actually fine but now i need to play some ohter animation (like the animation when you get out of the water)
.Dare Devil. 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 16:28.


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