AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   NPCS (https://forums.alliedmods.net/showthread.php?t=11652)

DiscoBBQ 03-25-2005 13:43

NPCS
 
Is there anyway to set a model and make them like breath. Instead of just stand there? or make them non-walk through able. or killable?

TotalNoobScripter 03-25-2005 16:30

read the engine.inc's they are some where in there.

Twilight Suzuka 03-25-2005 16:38

First, you need to know the animation sequence you want to activate.Then you have to activate it using sequence.

XxAvalanchexX 03-26-2005 01:43

Code:
entity_set_int(npc_ent,EV_INT_sequence,1); entity_set_byte(npc_ent,EV_BYTE_controller1,125); entity_set_byte(npc_ent,EV_BYTE_controller2,125); entity_set_byte(npc_ent,EV_BYTE_controller3,125); entity_set_byte(npc_ent,EV_BYTE_controller4,125); entity_set_float(npc_ent,EV_FL_framerate,1.5);

TotalNoobScripter 03-26-2005 14:45

does that let you change the position of bones in a model?

Twilight Suzuka 03-26-2005 20:17

No.

TotalNoobScripter 03-26-2005 20:33

then y u need all those controllers?

XxAvalanchexX 03-26-2005 23:32

Open up a player model in HLMV. Slide all of the controller bars to the left. That's how it looks by default.

Ugly, eh? That's why you change the controllers.


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

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