Sleep followed by lots of coffee is good
I found v.weaponanim to be unrealiable (prehaps due to timing differences between the bot.dll and the engine?)
So I re-read botman's readme a few more times and now it makes sense
I've hooked the
pfnSetModel func and then check to see what type of model is assigned, then wait until that edict has an owner, then see if it is a bot - thus I can update its time-till-fire.
This may not be the best way to do things but it does work
Thanks again
EDIT: Now everything is working unless the previous weapon was a shotgun or super-shotgun because no model seems to be assigned
Does anyone know how bullets are dealt with by the engine - or can you point me to how/where I can find out?