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
___
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 GetAbsOrigin(
, December 07, 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'
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() and
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'm
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 gameServer
Did you tried IServerGameClients::GetPlayerState()?
There are some angles too... I dont know, maybe
it helps you.
Greets
Ronny
>
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
ICollideab
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
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--
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
Loa
>
> 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 t
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 ( !client
12 matches
Mail list logo