View Single Post
Re: Joining a team in CS 1.6
Old
  (#3)
Neoptolemus
Member
 
Status: Offline
Posts: 93
Join Date: Apr 2012
Default Re: Joining a team in CS 1.6 - 07-06-2015

That's brilliant, that got it working I had completely forgotten that you could disable VGUI menus (it's been that long!).

The only other thing I had to do was implement a fix in BotClient_CS_ShowMenu for the team select menu (it looks like the menu string was changed from #Team_Select to #Team_Select_Spect), I used EPODbot's method of just using strncmp to compare the first 12 characters.

There's some more tidying up to do as bots don't detect the new round properly, then it will be a process of stripping everything out right to the bare bones.

I'm intending to abstract a lot of this stuff out and expose a simplified bot API based around events like SeePlayer(), TakeDamage(), ReceiveHUDNotification() etc. I don't know if there is still any interest in something like this, but if anyone would like an updated bare-bones template to play with then let me know and I'll upload something.
  
Reply With Quote