Automatic Firing Upgrade For Turrets

From GMod Wiki

Revision as of 11:58, 16 November 2011 by [RV] TJjokerR (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Automatic Firing Upgrade For Turrets

To do this you first need to make a turret, use the guide located here Automatic Turret.

Okay, im assuming you have made the turret listed above and understand how it works.

You will need: 2 values, 2 less than comparison gates, 2 outputs and a distance sensor.

  1. Attach the distance sensor on the front face of the turret (the side that points towards you when it aims), Place it in the center.
  2. Wire it to the target finder that is already on your turret.
  3. Place the two less than comparison gates anywhere on the turret, I personally put them on the reverse side of the firing face because there was enough room there.
  4. Add the two output beside the comparison gates, make sure that the keypad button they are wired to is also that of your turrets.
  5. Place the two vlaues, make one of them whatever you want. (I use 2000, its a nice range). Then make the other just 1 more, (so for me 2001).
  6. wire them together like this:

Gate 1 input A -> Distance sensor

Gate 1 input B -> value 2000

Output 1 -> Gate 1

Gate 2 input A -> value 2001

Gate 2 input B -> Distance sensor

Output 2 -> Gate 2

Qwerty091 04:55, 5 February 2007 (GMT Standard Time)

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox