Drunk Rocket
Created By: | CheapAlert |
eMail: | cheapalert@yahoo.com |
Difficulty Scale: | Easy |
void() RocketScrewUp = { self.velocity = ((self.velocity + ((v_right * 121.000) * crandom ())) + ((v_up * 121.000) * crandom ())); self.nextthink = time + 0.08; // screw up fast self.think = RocketScrewUp; };Obviously this puts this rocket randomly off course. Can work for other projectiles. Works great for insect guns like the HornetGun from Half-Life.
// set missile duration missile.nextthink = time + 5; missile.think = SUB_Remove;and change it to something like this
// set missile drunkation missile.nextthink = time + 0.1; // Assume it's safe to screw away.... missile.think = RocketScrewUp;And..........we are done. Compile and run. Fire the rocket. That wasn't so overwhelming was it? Now you can play fair with n00bs. Now autoaim won't serve a purpose.