Homing Missile
From GMod Wiki
This 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 |
The homing missile is a fully automated flying rocket that flies toward a locator. It is extremely useful contraption as it can be modified to deploy things, bomb things, destroy bases, chase things down, and has unlimited uses in spacebuild. It can also be made from a long explosive prop, like the phx amraam. Although this might be a bit of a waste as all of your work lasts just 5 seconds. You could also make it out of a dock pole or any other long prop. It is actually based on Nesc's attack tub, although it is a bit more complicated. A fun thing to do with it is to put a locator on a jeep and drive along while this huge rocket flails around inches behind you.
Contents |
The Basic Version
The basic version of the Homing missile, Which operates by an on/off button on the missile. As simple as it could possibly be.
- Spawn a suitable prop, such as the phx rocket prop.
- Spawn four wired thrusters (Thrust Multiplication 10 000) towards the top of the missile, exactly opposite each other (see Fig. 1).
- Next, spawn a target finder and make it find locators (This can be changed for other purposes), and set to a suitable range, above a few hundred thousand. Make sure It's on the very top of the missile, or the missile will be amazingly inaccurate.
- Spawn a beacon sensor on top of all four thrusters. Set to Output distance ONLY. (The closer the the very center of the thruster they are, the more accurate the missile is).
- Link the beacon sensors to the target finder with the right click.
- Below each thruster (see Fig: 2), spawn a "greater" gate and an "and(all)" gate.
- Wire the greater gates. A: the beacon sensor on it's same side and. B: the beacon sensor on the opposite side.
- Do this for all the "greater" gates.
- Spawn a button on the missile, set to toggle. This will be the on/off button.
- Wire the "and(all)" gates. A: The button. B: The target finder and. C: The greater gate on the same side as the and gate.
- Wire the thrusters to the and gate on the same side as the thruster.
- Spawn an "or" gate and wire It to all four "and(all)" gates. (A-D) {Button, and gate, and greater than gate - Macaco}
- Spawn FOUR 10,000 multiplier thrusters on the bottom of the missile and wire A: the "Or" gate.
Congratulations! You're done! Pat yourself on the back, and read on....
Using The Basic Missile
Just spawn a (wire) locator somewhere on the map, then press the button on the missile to activate the Missile! :). A fun thing to do is to build a small fort out of crates, fill it with enemies, infiltrate it, plant a locator, run back to your base, and press FIRE!
Advanced Version
This is the advanced version of the Homing missile. Now, you may have noticed that when targeting something on the ground, the Missile simply falls over, then rockets toward It's target along the ground. This is because this (surprisingly) is the shortest route to it's target. We will fix this by adding some more thrusters to the bottom, and having The Missile fly up High in the air, before engaging "The Homing Mode". All being controlled by a timer on the ground. Therefore, it should head towards It's target from the sky. Making it look more like a real missile. Also, it will be able to be controlled from a "Control panel" which stays in one place.
- Get yourself a flat prop to "wire" on. Henceforth this is known as our "control panel"
- Spawn a start button, set to toggle.
- Spawn a reset button, not toggle.
- Spawn a timer gate (under wire, time)
- Wire the timer. "Run". The start button. "Reset". the reset button.
- Spawn a greater than gate and a less than gate.
- Spawn a constant value of 0.1 under the greater than gate.
- Spawn a constant value of 3.0 under the less than gate. (This is how long the missile will go straight up for, you may have to change this so the missile doesn't hit the roof of the level!)
- Wire the greater than gate. A. the timer. B. the constant value of 0.1.
- Wire the less than gate. A the timer. B. the constant value of 3.0.
- Spawn an "and (all)" gate.
- Wire the "and (all)" gate A. the greater than gate. B. The lesser than gate.
- Spawn a radio set to channel 1, and wire. A. the "and (all)" gate.
- Spawn another greater than gate. (on the control panel)
- Just for neatness purposes, spawn another constant value of 3.0.
- Wire the new greater than gate. A. The timer. B. the constant value of 3.0.
- Spawn a radio set to channel 2, and wire. A. The new greater than gate.
- Spawn a plasma T.V screen, and wire. A. the "and (all)" gate. B. the new greater than gate.
Ok, you've built the Control Panel, now lets modify our Missile.
- Spawn another 4 wire thrusters on the bottom of the Missile, along with a channel 1 radio.
- Wire the New thrusters to the Channel 1 radio.
- Next to the original On/off button, spawn a channel 2 radio. This replaces the button.
- Now, Wire the And gates A. the ch2 radio. Leave the other wirings as they are.
You're Done!
Using The Advanced Missile
This is actually simpler to use, but harder to explain.
- Press the Start button on your control panel.
- The missile will fly straight up for 3 seconds (Depending on that value I mentioned earlier)
- Then, the first thrusters will be turned off, and the homing system will be turned on for (infinite).
- When the Bogey is destroyed, The missile will turn itself off.
- To re-set it, press the start button again.
- Press the re-set button.
- Set the missile so it's pointing up again.
- Ready to fire.
Warheads
Now, we want our Missile to do something when it gets to or near it's target. This calls for a second function, or a warhead. Here are some ideas:
- A spinning blade on the front of the missile will kill any NPC it comes in contact with.
- A really cruel idea is to Put some blastfungus on the missile, so if you wait 5 minuites, the area in question will be completly overrun.
- The nuke STOOL is a nasty surprise for any base.
- Same with wired nuke :P
Laser Pointer Missile
With the release of the laser pointer tool it is possible to wire this missile to hit where ever you aim your laser pointer SWEP. Simply replace the beacon sensors with a laser pointer receiver and right click them with the Laser Pointer SWEP to link the two. When wiring, wire the same as the beacon sensors however do not wire to the target finder (you could delete it if you want).
Links
Nesc's Attack Tub: Wired Vehicles
Designed and written by Nophysicalbody- Any problems should be Posted on the Thread.(see links)