.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > SDK Programming discussions > Half-Life 2 SDK
Half-Life 2 SDK For developments focused around the Half-Life 2 engine Half-Life 2

Reply
 
Thread Tools
Re: Yay - Bots move to given vector location...
Old
  (#41)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Yay - Bots move to given vector location... - 12-01-2005

@ 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?


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Yay - Bots move to given vector location...
Old
  (#42)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Yay - Bots move to given vector location... - 12-01-2005

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.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Yay - Bots move to given vector location...
Old
  (#43)
SteveC
Member
 
Status: Offline
Posts: 37
Join Date: Jan 2005
Location: UK
Default Re: Yay - Bots move to given vector location... - 12-01-2005

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
  
Reply With Quote
Re: Yay - Bots move to given vector location...
Old
  (#44)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Yay - Bots move to given vector location... - 12-01-2005

dang it


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com