Friday, March 6, 2009

Making a basic Laser-Guided missile

Hello again,

This tutorial uses Wiremod and the Laser Pointer SWEP found in the Weapons tab in your menu.

First, spawn a base prop. I prefer to use the long, blue-grey missile in the "[PHX] Useful and Explosive Props" section. Spawn 3 Wire Subtract gates anywhere on the prop. These will be your X-Y-Z chips. Make sure you remember which is which, or your prop will end up goin the wrong way. If you want, name the using the Wire Namer tool. Spawn a Laser Pointer Receiver somewhere on your prop. Get out the Vector Thruster tool. This will be the front of your missile. check bi-directional and select XYZ world in the drop-down bar. To activate the thruster, you need a Wired numpad. find one of those, and make it Toggled and the Value On 1, Value Off 0. you also need a GPS. Now, to wire it. Get out the Wire tool at the very bottom of the Wire tab.

-Wire the A of the "X","Y', and "Z" subtract chips to the "X", "Y', and "Z" inputs of the GPS, respectively.
-Wire the B of all 3 chips to the laser Pointer Receiver inputs like in the last step.
-Wire the "Mul" of the Vector Thruster to the 1 input on the Wired Numpad.
-Wire the X, Y, and Z outputs on the Vector Thruster to the X, Z and Z chips.
-Find the Laser Pointer SWEP in the Weapons section, and link it to the Laser Pointer receiver.
-Unfreeze it, (make sure you've saved it!), press 1 on your numpad, and point at whatever you want blown up!

Pictures will be added later.

1 comment: