View Single Post
Re: Let the revolution begin!!!
Old
  (#15)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Let the revolution begin!!! - 31-12-2004

yes, i also noticed that on the weapon part The cl_team thing is something odd for me too. I also noticed that the chooseteam(2) code does not work properly, the argument you pass is somehow overwritten by autoteambalance or something alike (i bet it is game dll specific code, so the argument you give is not used at all).

I am now investigating this piece of code, via the server interface:

Code:
	float fPitch = pBot->fIdealPitch;
	float fYaw   = pBot->fIdealYaw;

	// PROCESS AIMING
	engine->CrosshairAngle( pBot->edict, fPitch, fYaw );
i hope it works well, i just saw my bots walking backwards with a yaw of 180... and a pitch of 180... when this is the same as in HL1, i think we can copy/paste a lot of code. But i am not sure yet..


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