Raised This Month: $ Target: $400
 0% 

Creating "fake" players


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
BlueRaja
Senior Member
Join Date: Nov 2004
Old 01-09-2005 , 11:14   Creating "fake" players
Reply With Quote #1

This topic regards being able to see the other team on the radar:
As I've mentioned before, you can only use the Radar message (in CS, at least) to show the origin of a player if cs_get_user_team(id)==cs_get_user_team(enemyi d), and both players are living. However...
I've seen plugins where fake spectators are created to fill in slots. I haven't had time to look at these to see how it's done, but I was wondering if it would be possible to internally "fake" that these fake players are on a team (without having them show up on the scoreboard). That is, trick the server into thinking the fake players are real players, alive and on a team, just without..uh..models/guns/an origin/anything else.
That way, I could create a bunch of fake players and set so many up on each team, and send the id of the FAKE players using the Radar message -- then, players would be able to authentically see the enemy on their radar..although both enemies and friendlies would be the same color on the radar...maybe I'd set it up as a button they could bind, or something. Also, I'd have to think of a way of "killing" all the fake players, if necessary, whenever all the real players are killed; otherwise, the server would think that there are still players alive on a team, when in reality there aren't. Finally, I believe this would only work on 16-player servers, since there can only be 32 players, real or fake, to a server, and I'd need one fake player to every real player.
Although it would have its limitations, so does my last radar plugin.
Is there any way to implement this? O_o
BlueRaja is offline
Send a message via AIM to BlueRaja Send a message via MSN to BlueRaja
 



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 19:17.


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