AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Dead clients' spectating stuff (https://forums.alliedmods.net/showthread.php?t=195983)

Liverwiz 09-13-2012 22:47

Dead clients' spectating stuff
 
This is kind of a bad title, but i don't know what else to call it.

My question: is there a way to grab (from a mod) the buttons a dead client is pressing (action, for example) and a way to find what person that dead client is spectating/view in which they are?

Is this offsets? pdata? pevs? Possible at all?
Any information on this matter is greatly appreciated.

Just trying to get info before i move to a concept.

fysiks 09-13-2012 22:59

Re: Dead clients' spectating stuff
 
You can find who they are spectating and maybe their perspective too (since that can be set by a plugin). It has to do with some of the pev values. There are several threads about it.

Liverwiz 09-13-2012 23:06

Re: Dead clients' spectating stuff
 
Quote:

Originally Posted by fysiks (Post 1798678)
You can find who they are spectating and maybe their perspective too (since that can be set by a plugin). It has to do with some of the pev values. There are several threads about it.

Thank you. I guess from there to find out if you can catch buttons it'll be as hard as grabbing pev_button in pre_think if client is dead. Which won't be hard once i actually have time to do proper coding and testing.

ConnorMcLeod 09-14-2012 00:45

Re: Dead clients' spectating stuff
 
If you want to control players or bots, forget it if you don't plain to use orpheu or rage to access pm-> stuff.

Liverwiz 09-15-2012 11:05

Re: Dead clients' spectating stuff
 
Quote:

Originally Posted by ConnorMcLeod (Post 1798735)
If you want to control players or bots, forget it if you don't plain to use orpheu or rage to access pm-> stuff.

What? Could you rephrase that?

bibu 09-15-2012 11:28

Re: Dead clients' spectating stuff
 
Forget it, if you try to this without Orpheu or Rage. That's what he meant.

Liverwiz 09-15-2012 13:20

Re: Dead clients' spectating stuff
 
oh ok. thanks.


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

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