Re: The ultimate aiming algorithm ? -
15-01-2004
That's exactly what I was saying: instead of FIRING a TraceLine in order to try to evaluate where the bullet went, just USE the results of the last TraceLine that the engine fired for THIS BOT. In my bot code each player structure has a slot where I record what was the TraceResult of the last TraceLine that was fired from them (i.e, when pentIgnore was the player's edict), by hooking pfnTraceLine I catch both the tracelines that my OWN bot code sends, AND the tracelines that the game itself sends. That's how stats plugins do too, at least I can't conceive a better way.
RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
|