Quote: --- Original message by: Masters1337
With this it will actually lock onto only vehicles. It's a pretty clever, although not complicated way of doing it and I am surprised others including myself never looked at doing it like this.
Nice job OP!
Thanks. Hope this and the flying vehicle stuff can help your project.
Quote: --- Original message by: sparky
Cool, but what happens if there are both vehicles and infantry in a combat zone? Are you forced to shoot at the vehicle, or does the homing rocket lock onto whichever target is closest, including infantry? Would this be solved by using the held trigger to load the secondary projectile for homing? If so, then this script approach could be used to apply what was done with bigass (I'm not sure exactly what that is).
...But doesn't Bigass already have its rocket launcher only lock onto vehicles?
Edited by sparky on May 2, 2019 at 11:15 PM
The script lets you lock on to whatever object you specify, so you could make it target only vehicles with enemy drivers in them like H2. You have a small angle of vision to see the object.
If you have a rocket launcher, and if you can see the object, and if you press the trigger, it deletes the normal rocket and leaves the homing one. If you cant see the object and press the trigger, it deletes the homing rocket.
The problem with this is that looking away from the target and shooting again while the homing missile still exists will delete the homing missile. I was thinking of fixing this by making it a charged shot that can only be charged when the conditions above are true. This would also force you to look at the object for a small period of time before you can lock on.
You are forced to look directly at the object which means that infantry will probably not get in the way.Edited by EcoSurge on May 3, 2019 at 02:12 AM