User:Qwerty091/Sandbox
From GMod Wiki
My Sandbox, where I test my pages before posting.
Automatic Fire Control 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.
- 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.
- Wire it to the target finder that is already on your turret.
- 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.
- Add the two output beside the comparison gates, make sure that the keypad button they are wired to is also that of your turrets.
- 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).
- 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
- You might want to separate the two sets of componets into two rows maybe, it makes it easier to determine what is connecting to what.
- Now that you have these working your turret should automaticly fire when anybody gets within 2000 units of it. Then they will stop firing when sombody leaves this area. Have fun with your auto tracking, auto firing turret!
- If you are having trouble with this, like the turrets turn off when you go into range and on when you go out of range, just hit the turrets numpad key so that they are flipped to the right setting.
Barrel Mine
Qwerty091/Sandbox: Barrel Mine |
Description: | An invisible mine that is a sure kill. |
Original Author: | Qwerty091 |
Created: | Febuary 1, 2007 |
Notes: | - |
Construction
- First spawn a explosive barrel from the spawn menu
- Grab it with the gravity gun, and chuck it straight up
- Before it hits the ground, switch to the phys gun and catch it
- Bring it down and freeze it a few feet in the air
- Easy weld the barrel to the ground in an area that you think is a nice chokepoint
- Paint the barrel invisible, make sure you remember where it is so you dont set it off yourself!
- Sooner or later someone will walk into the barrel and, Boom!, instant death
- After you shoot the barrel with the gravity gun its properites are changed. After being thrown, as soon as the barrel touches anything it will explode. However this doesnt seem to happen when you easy weld the barrel to the ground. This means that you can fix a barrel in this volitile state to anything to create a powerful trap.