Raised This Month: $ Target: $400
 0% 

Player Animation


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Ef_Deas
Member
Join Date: Aug 2012
Location: Rio de Janeiro
Old 08-09-2012 , 09:39   Player Animation
Reply With Quote #1

1) Is there a way to set set the view angle of the model's upper body (not player, just a model of) like EV_VEC_v_angle to the player?
I mean, without Orpheu or changing the model.
I've tried to do it with pev_blendings, but I only made it look straight and right like this:

pev_blending_0: 0 250 -250
But I can't force it to look down, or left.

2) How can I play the animation on the alive player?
Someone once told me it has to be something like this:
PHP Code:
public EVENT_StartFramePost()
{
    for(new 
idUser=1idUser <= MAXPLAYERSidUser++)
    {
        if(!
is_user_alive(idUser))
            continue;
        
        if(
p_data_b[idUser][PB_FAKE_DYING])     // If he should start dying
        
{
            
entity_set_int(idUser,EV_INT_sequencerandom_num(103,110) )// Death animation
        
}
    }    

I need to play the death animation (pretend to be dead), and also leave the opportunity to kill him, by hitting hitboxes. Is this even possible?
Ef_Deas is offline
Send a message via Skype™ to Ef_Deas
 



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 05:49.


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