Homing Missile

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
A Homing missile.

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.

Fig 1: Homing missile Thruster configuration.
Fig 2: The position that the gates should be in.


  1. Spawn a suitable prop, such as the phx rocket prop.
  2. Spawn four wired thrusters (Thrust Multiplication 10 000) towards the top of the missile, exactly opposite each other (see Fig. 1).
  3. 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.
  4. 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).
  5. Link the beacon sensors to the target finder with the right click.
  6. Below each thruster (see Fig: 2), spawn a "greater" gate and an "and(all)" gate.
  7. Wire the greater gates. A: the beacon sensor on it's same side and. B: the beacon sensor on the opposite side.
  8. Do this for all the "greater" gates.
  9. Spawn a button on the missile, set to toggle. This will be the on/off button.
  10. 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.
  11. Wire the thrusters to the and gate on the same side as the thruster.
  12. Spawn an "or" gate and wire It to all four "and(all)" gates. (A-D) {Button, and gate, and greater than gate - Macaco}
  13. 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....

The finished Missile labeled.
The finished Missile in action.

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

The new thruster configuration!.
What the new, timed launching system does.

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.

  1. Get yourself a flat prop to "wire" on. Henceforth this is known as our "control panel"
  2. Spawn a start button, set to toggle.
  3. Spawn a reset button, not toggle.
  4. Spawn a timer gate (under wire, time)
  5. Wire the timer. "Run". The start button. "Reset". the reset button.
  6. Spawn a greater than gate and a less than gate.
  7. Spawn a constant value of 0.1 under the greater than gate.
  8. 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!)
  9. Wire the greater than gate. A. the timer. B. the constant value of 0.1.
  10. Wire the less than gate. A the timer. B. the constant value of 3.0.
  11. Spawn an "and (all)" gate.
  12. Wire the "and (all)" gate A. the greater than gate. B. The lesser than gate.
  13. Spawn a radio set to channel 1, and wire. A. the "and (all)" gate.
  14. Spawn another greater than gate. (on the control panel)
  15. Just for neatness purposes, spawn another constant value of 3.0.
  16. Wire the new greater than gate. A. The timer. B. the constant value of 3.0.
  17. Spawn a radio set to channel 2, and wire. A. The new greater than gate.
  18. 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.

  1. Spawn another 4 wire thrusters on the bottom of the Missile, along with a channel 1 radio.
  2. Wire the New thrusters to the Channel 1 radio.
  3. Next to the original On/off button, spawn a channel 2 radio. This replaces the button.
  4. Now, Wire the And gates A. the ch2 radio. Leave the other wirings as they are.

You're Done!

Here's on I prepared earlier.
This is what yours might look like.

Using The Advanced Missile

This is actually simpler to use, but harder to explain.

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:

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

Download SAVE file

WireMod Forums Related Thread

WireMod Forums Thread

Nesc's Attack Tub: Wired Vehicles


Designed and written by Nophysicalbody- Any problems should be Posted on the Thread.(see links)

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox