What are you building? Watch this video for a demonstration.
[ame=http://www.youtube.com/watch?v=t32EdNgaUyU]YouTube - Spaceman Turret V6[/ame]
This is a pure picture tutorial of my 6th revision of my "Spaceman Turret"
The whole idea behind this is to use on any enemy.
If they duck you press 2 and if you want to head shot them standing you press 1
The number wired to 1 wire mod is a head shot standing, and 2 is a head shot while ducking, no number pressed is a normal shot (feet on human)
The main reason I made this was due to space build, I am in flat grass just for an open area to test the range of this turret, which it can head shot an enemy from across the map. It takes a second to aim but yeah..
Code:
N@Spaceman Turret V6
I@Elevation Bearing Dist Roll Num
O@ElevationThrust BearingThrust RollThrust
BearingThrust = (Bearing+$Bearing*10)
ElevationThrust =(HeightAngle+$Elevation*10)
RollThrust = (Roll+$Roll*5)
Bearing == 0 -> BearingThrust = 0;
Elevation == -90 -> ElevationThrust = 0;
HeightAngle = Elevation + atan(Num/Dist)
I know little trig so I used orbs trig function from his head shot turret on mine, the rest of everything else is made by me.
This expression is so accurate when it adjust to the targets bearing within 3-5 seconds or less, I haven't counted, it gets to .001 bearing and elevation, now if you tell it to aim for the head it will say the elevation is off

Yeah in this picture I said turret on accident lol but I mean thrusters, don't get it mixed and expect turrets to thrust the turret lol.





I added the adv dupe file
Bookmarks