AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Fully Controlable 'Fake' or Bot Players (https://forums.alliedmods.net/showthread.php?t=9727)

TotalNoobScripter 01-28-2005 21:54

Fully Controlable 'Fake' or Bot Players
 
In a CS map i have, I want to be able to make some 'players' that will act like drones, but i want a more advanced 'player' then a model standing still that takes damage. Is it possible / how would you make a 'player' that will do whatever is coded in a function? Like if I wanted to make a 'player' run to a spot, then make the real player use a speak cmd to hear the 'players' voice message, and have the 'player' shoot at a target. I know I can do most of this stuff with set_user_aiming, client_cmd, ent_set_velocity?, and a few otehrs... but how would I get the 'player' to automatically use the animations it should be doing? I don't want to keep setting animation values in the code, when I can just make the 'player' be a simulation of an actuall person running. In a nutshell I mean is there a way you can make bots (like podbot) but fully controllable (but hard-coded, so it is controlled by the plugin not by an external file or in-game user.)?


All times are GMT -4. The time now is 19:20.

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