AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Creating Entity only 1 player can see?...possible? (https://forums.alliedmods.net/showthread.php?t=3861)

ThantiK 07-17-2004 06:26

Creating Entity only 1 player can see?...possible?
 
I know in TFC there is kind of a drugged effect, is it possible throughout the HL engine to create entities that only 1 player can see?

Also, is there a way to create and scale a player model?...no movement or anything?

QwertyAccess 07-17-2004 07:59

1. No, client sided.
2. No Scaling

PM 07-17-2004 11:01

Well you could send a tempentity message to only that client using the MSG_ONE destination (or a playerattachement or something)

Ryan 07-17-2004 11:07

temp entities do not allow you to alter them in any way, however. ie- they do not have entity ids.

ThantiK 07-17-2004 18:03

Thanks PM! -- So MSG_ONE will send to just 1 player, right?

And that works with sprites, etc right?

Johnny got his gun 07-17-2004 18:26

Yes temp ents is the way to go but as stated you can't do anything with them once the messages to create them are sent to the client. As usual, const.h in the SDK describes what different temp ents you can use.

ThantiK 07-17-2004 19:05

Hmmm, that kinda bites. It would still be good for making a harassing plugin...like say...dropping a bouncing HE grenade model in front of them.


All times are GMT -4. The time now is 14:45.

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