Ronny Schedel wrote:
Did you tried IServerGameClients::GetPlayerState()?
There are some angles too... I dont know, maybe
it helps you.
Using IServerGameClients didn't help either.
It looks like the only way to get the 'origin' and 'angles' of players
via a plugin is to access the GetAbsOrigin()
, 2004 9:16 PM
To: [EMAIL PROTECTED]
Subject: Re: [hlcoders] Plugin supported Interface Factories...
Ronny Schedel wrote:
Did you tried IServerGameClients::GetPlayerState()?
There are some angles too... I dont know, maybe
it helps you.
Using IServerGameClients didn't help either.
It looks like
Hmm, I get valid results (non zero) for CPlayerState::v_angle.
You can get the origin from ICollideable::GetCollisionOrigin().
Greets
Ronny
Using IServerGameClients didn't help either.
It looks like the only way to get the 'origin' and 'angles' of players
via a plugin is to access the
Ronny Schedel wrote:
Hmm, I get valid results (non zero) for CPlayerState::v_angle.
You can get the origin from ICollideable::GetCollisionOrigin().
Ah! Okay, I was grepping for angles not angle. I notice that
'kills' and 'deaths' is in there too!
--
Jeffrey botman Broome
Ronny Schedel wrote:
Try to load the nonworking interfaces with gameServerFactory
instead of interfaceFactory. Especially IServerGameDLL needs
gameServerFactory.
Ah, cool. I didn't even think about that. Muchas gracias.
--
Jeffrey botman Broome
___
To
Ronny Schedel wrote:
Did you tried IServerGameClients::GetPlayerState()?
There are some angles too... I dont know, maybe
it helps you.
No, I didn't try it last night because I didn't know how to load the
IServerGameClients interface. After Ronny's reply, I'm assuming I can
load it using
Yeah, I am the same, its me, Ronny :o)
Ronny Schedel wrote:
Did you tried IServerGameClients::GetPlayerState()?
There are some angles too... I dont know, maybe
it helps you.
No, I didn't try it last night because I didn't know how to load the
IServerGameClients interface. After Ronny's reply,
I've been trying to determine which interface factories are supported by
Source Engine plugins. Here's some code I added to the empty plugin Load()
function...
// IClientEntityList *cliententitylist =
(IClientEntityList*)interfaceFactory(VCLIENTENTITYLIST_INTERFACE_VERSION,
NULL);
// if (
v- HELP -v
I STILL haven't determined a method to get each player's origin and
angles in a plugin. The best I have found so far is to use the
ICollideable::GetCollisionOrigin() and ICollideable::GetCollisionAngles()
for each client (ICollideable is available through the edict_t
Try to load the nonworking interfaces with gameServerFactory
instead of interfaceFactory. Especially IServerGameDLL needs
gameServerFactory.
Greets
Ronny
I've been trying to determine which interface factories are supported by
Source Engine plugins. Here's some code I added to the empty plugin
Thanks botman!
PS You frigging own! :-)
- Original Message -
From: Jeffrey botman Broome [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 06, 2004 12:40 AM
Subject: Re: [hlcoders] Plugin supported Interface Factories...
v- HELP -v
I STILL haven't determined
11 matches
Mail list logo