.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Half-Life 2 SDK (http://forums.bots-united.com/forumdisplay.php?f=62)
-   -   Yay - Bots move to given vector location... (http://forums.bots-united.com/showthread.php?t=3326)

stefanhendriks 12-01-2005 20:32

Re: Yay - Bots move to given vector location...
 
@ SteveC , yes i believe the FOV function does that, and its nothing but a variable or something. So nothing usefull?

@ Dub, i think you are correct, we can't access it. But we don't have to.

I am glad that CSS derives from the base classes we can access. How do you know this btw SteveC? You got some insider @ valve? :D

Pierre-Marie Baty 12-01-2005 21:31

Re: Yay - Bots move to given vector location...
 
Quote:

Originally Posted by stefanhendriks
About the pBaseEnt->GetFOV

it does nothing but return a floating point if iw as not mistaken... does not help us much yet ;)

Well, that looks like the FOV's width, like in HL1 ? What is there else you need ? In HL1 we used pEdict->v.fov to determine the zoom level of the player ; here I guess that's the same use.

SteveC 12-01-2005 21:35

Re: Yay - Bots move to given vector location...
 
Quote:

// from edict_t

// CBasePlayer doesn't send this but CCSPlayer does.



CNetworkVarForDerived(
int, m_ArmorValue );

That is within player.h, and this is in c_particle_smokegrenade.cpp

Quote:

#if CSTRIKE_DLL
C_CSPlayer *pPlayer = C_CSPlayer::GetLocalCSPlayer();

if ( pPlayer )

{

pPlayer->m_SmokeGrenades.AddToTail(
this );

}



#endif




No inside help, unfortunately :)

stefanhendriks 12-01-2005 21:57

Re: Yay - Bots move to given vector location...
 
dang it ;)


All times are GMT +2. The time now is 19:53.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.