Cartman-2000's Sven Co-op server forum
http://sc.cartman-2000.net/forum/

How to make a LAZOR!
http://sc.cartman-2000.net/forum/viewtopic.php?f=21&t=403
Page 1 of 1

Author:  The alien [ Sun Apr 19, 2009 10:31 pm ]
Post subject:  How to make a LAZOR!

Alright, I learned it from a tut so ill pass on the knowledge :D.


First, make your LAZOR turret,make a box,tube,w/e make it what ever you like :)


now that you made your turret, create a block big enough to be placed on turret(not to big) and its important to have the block textured with the ORIGIN texture.

now make your turret into a "func_tanklaser" and tie both of the ORIGIN block and the turret to each other(group them together)


make sure to place ORGIN block in the center so it can rotate.

now that you have that part done, copy these propeties for the turret, but first create a controler for the tank(basically make a keyboard,button,etc for the tank controls) and once you did that create a block where you whant near the tank controlls and texture it with the AAAtrigger texture. Then make the AAA block a "func_tankcontrols"

name:w/e you whant
target:w/e you whant (this targets the sound it makes, PEWPEWPEW)
yaw rate:50
yaw range:180
yaw tolerance:15
put 0 for pitch rate and range
pitch tolerance:0
rate of fire:1
damge per bullet:w/e you whant
firing persistance:1
bullet accuracy:w/e you whant
env laser entity:w/e you whant

Make sure to put "Controllable" in the tanks properties.



now that you have that done, create an ambient generic entite. Copy these properties.

name:same name as what the tank targets
sound file:w/e you whant
in flags you can make it have a large radius or small or w/e.

now create another entite called "env_laser" copy these properties.


name:same as the tanks "target laser entite"
target of laser:name of tank
sprite name:name of the sprite it uses
damage/second:w/e you whant
in flags you can put end sparks and decal end for effects.


Now it should work, if it doesnt post a reply.
:look:

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/