AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Entity + sequence (https://forums.alliedmods.net/showthread.php?t=62490)

hackziner 10-28-2007 08:54

Entity + sequence
 
Hi,

sum up: I want to clone a player (but it's a little more complex than super hero clone, npc or sequence recorder)

But I've a problem with the animation.

In my plugin I copy thoses params:

PHP Code:

         FrameRate=entity_get_float(j,EV_FL_framerate)
        
Sequence=entity_get_int(j,EV_INT_sequence)
        
GaitSequence=entity_get_int(j,EV_INT_gaitsequence

But if the player doesn't nothing the clone get no animation and doesn't look in the right direction ( I copy all other parameter, if i set the animation on the clone to 2 for example, he looks in the good direction ).

I saw that the Super Hero clone don't copy animation but set by testing if the player walk/crouch/...


Is there a way to copy properly a player animation ?

Wilson [29th ID] 10-28-2007 15:52

Re: Entity + sequence
 
http://forums.alliedmods.net/showthread.php?t=52879

read my post there.

then, when you're done, read this.

http://www.susanbanthonyhouse.org/biography.shtml

hackziner 10-28-2007 17:12

Re: Entity + sequence
 
Thank you for the first link...
but what's the point with the second one ?


All times are GMT -4. The time now is 01:21.

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