Automated Turret-Tricky

From GMod Wiki

Jump to: navigation, search
Deletion.pngThis page has been nominated for deletion. Deletion is due within approximately 30 days from nomination, unless the deletion has been disputed on the talk page. See more pages nominated for deletion here.
Reason for deletion: Not what Garry wants the wiki to be used for
Last Edit was made on 11/16/2011



Contents

Automated Turret

Automated Turret-Tricky: Automated Turret
Page white text.png Description:An automated turret (Created by Tricky, Added to Wiki by Joscpe)
link=User:Tricky/Joscpe Original Author:Tricky/Joscpe
Calendar.png Created:26 Jul 2007
Page white text.png Notes:-


Created By Tricky

Note that this tutorial was made by Tricky in video form. I just uploaded it to the Wiki for simplicity. View this tut and more on Tricky's Site ( View This Tutorial )

Brief Description

The turret will move in sync with what ever you set it to target with the Target Finder, be it a person, a beacon or NPC. Example Image Yet To Be Added

Props

For this tutorial we will need:

  1. 3 1x1 Pheonix Square Props.

Components

The components needed will be listed below with the settings in the brackets:

  1. Target Finder (Max Distance: 1000, Target: Player)
  2. Beacon Sensor (Output: Bearing) *Make sure this is placed at the very front of your top 1x1 PHX Prop, Facing forward!* Rightclick and set it to the Target Finder
  3. Constant Value (#:2, 1:10, 2:2)
  4. Constant Value (#:1, 1:75)
  5. Two Thrusters (Mult:7, Max:10000 or higher) Place on left side on the middle piece at the front, the other should be the opposite (right side at back on top piece)
  6. Hydraulic () First click on the bottom of the top piece near the top edge, than the top of the middle piece at the top edge
  7. 1 Negate ()
  8. 2 Multiply ()
  9. 1 Add ()
  10. 1 Delta ()
  11. 1 Accumulator ()
  12. 1 Or ()
  13. 1 Greater Than ()
  14. 1 Less Than ()

Wiring

  1. Delta (A: Beacon Sensor:Bearing)
  2. Multiply (A: Delta, B: Value:2)
  3. Multiply (A: Beacon Sensor:Bearing, B: Value:10)
  4. Add (A: Multiply, B: Multiply)
  5. Negate (A: Add)
  6. Both Thrusters (A: Negate)
  7. Accumulate (Beacon Sensor:Elevation, B: Or)
  8. Or (A: Greater Than, B: Less Than)
  9. Greater Than (A: Accumulate B: Value:75)
  10. Less Than (A: Accumulate)
  11. Hydraulic (Length: Accumulate)
All of the components & Wires
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox