gmod spacebuild turret

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
4,016
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 1, 2009

this is a turret system I built for spacebuild. The 2 turrets each cover a 180 bubble for 360 coverage, much like the turrets on the ships in eve. It can toggle between full autoaiming and complete manual control. I've been playing around with different ways of controlling it. Currently I think the best option would be a hybrid, being fully mouse aimed with the option of right clicking to designate a target and switch the mode to auto tracking until the target is destroyed or the turret is returned to mouse aimed.

Category:

Gaming

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (dpidcoe)

  • Dude.. how did you accomplish this? I must know, it's too awesome :D

  • it's mostly E2. The targeting part figures the vector to the target, then it decides if the vector is below or above the midline and then feeds the vector to the appropriate gun.

    The target vector is also projected onto the plane of the midline (google vector projection if you want to know how to do it) and then fed to the inactive turret.

see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • that is so cool

  • Check Wikipedia for info on vectors in math

    Check wiremod website for info on how to use E2 and a few other wired components

    Check gmod wiki for the E2 commands you need to use to work with vectors.

  • It's simple enough to build yourself, just split it into 2 projects:

    1: Make a prop point at a given vector

    2: Decide if a vector is above or below a given plane (hint: multiply by a vector perpendicular to the desired plane and check the sign), then work out the logic for how the gun should behave depending on what fireing arc the target is in.

    Then it's only a matter of feeding the correct vector to the correct prop acting as the barrel.

  • god i wish e2 wasnt so buggy during saving/loading

  • nice easy using e2 but cool makes good gunner turret i bet

  • Nice

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more