View Single Post
Re: podbot grenade throwing bug
Old
  (#32)
@$3.1415rin
Council Member, Author of JoeBOT
 
@$3.1415rin's Avatar
 
Status: Offline
Posts: 1,381
Join Date: Nov 2003
Location: Germany
Default Re: podbot grenade throwing bug - 27-12-2004

just working on grenade code, therefore just another comment here why joebot throws grenades so nicely ... it's basically because of those lines here, if you havnt found out for yourself already :

in CBotBase:HandleGOrder
Code:
while(pent = UTIL_FindEntityByClassname(pent,"grenade")){
[....]
v_nvelocity = VecCheckToss(&pent->v,pent->v.origin,GOrder.VAim,g_fGravityAdj);
[....]
pent->v.velocity = v_nvelocity;


  
Reply With Quote