javalia, here are the crit sentry rockets. Added new cvars, etc.
I noticed some bugs with rockets moving very slowly, hopefully that doesn't happen here. Asherkin also said that he had improved tracking code that we ought to implement.
Jars, stickies, pipe bombs, and the bison shots don't seem to track at all, either.
http://pastebin.com/tkC29Gvn
New/changed cvars:
TF2CoolRocket_InduceWeaponList
Add up the numbers of what you want (Use the numbers after the //). All is 16383, I believe.
HOME_SENTRYROCKET //1#define HOME_ROCKET (1 << 1) //2
#define HOME_PIPE (1 << 2) //4
#define HOME_STICKY (1 << 3) //8
#define HOME_SYRINGE (1 << 4) //16
#define HOME_FLARE (1 << 5) //32
#define HOME_JARATE (1 << 6) //64
#define HOME_ARROW (1 << 7) //128
#define HOME_FLAMEROCKET (1 <<
//256
#define HOME_MILK (1 << 9) //512
#define HOME_HEALINGBOLT (1 << 10) //1024
#define HOME_MANGLERROCKET (1 << 11) //2048
#define HOME_BISONSHOT (1 << 12) //4096
#define HOME_STUNBALL (1 << 13) //8192
TF2CoolRocket_SentryCritChance 0 to 100, the chance that a sentry will crit
TF2CoolRocket_HomeChance 0 to 100, the chance that a projectile will home in.
I removed the stocklib dependency, javalia.
Also arrows aren't homing at all, but crossbow bolts are. I think that may be a glitch with aim for head.