Simple Search Light

From GMod Wiki

Jump to: navigation, search



Contents

Simple Search Light

Simple Search Light: Simple Search Light
Page white text.png Description:A wired search light
link=User:Joscpe Original Author:Joscpe
Calendar.png Created:30 May 2007
Page white text.png Notes:-


Brief Description

When you enter the radius of the target finder it will press your sound button, then press it again once you leave the radius. You could also add on a turret and wire it to the equal gate if you wanted to.

Props

Create a wall

Create a long prop/plank (something that extends outward), weld it onto the wall

Wall

Components

Create a Non-Wired Wheel (Torque:6000) on top of your extender that sticks out from your wall, but have the wheel sticking out a bit

Create a Non-Wired Lamp (Colour:Yellow{Optional}), weld it to the part of the wheel that sticks out, have the lamp at an angle

Wheel and Lamp

Create a Non-Wired Sound Emitter (Sound:Siren, Button:Any)

Create a Value (1:1)

Create a Target Finder (Range:80, Target:Player) place about a foot off the ground, in the center of your light circle, weld it to the light and the wheel

Create a Toggle

Create an Equal

Create a Numpad Output (Button:The chosen button for your Sound)

All of the components

Wiring

Wire the Toggle (OnValue:Value:1, CLK:Equal)

Wire the Equal (A:Targetter, B:Toggle)

Wire the NumPad Output (A:Equal)

The Wiring

Final Adjustments

You should pull out the No Collide STool and right click the Target Finder

Also, you should use the Colour STool and make the Target Finder Transparent and possibly your wire components

You should probably reweld your Wire stuff as well, wire doesn't weld that well...

The Result
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox