Rocket Turret 
69 comments I like the standard turret--but it never misses and does constant damage, why not create a turret that can miss and let players dodge it? Rocket turret.
The concept and what it does is simply this-when there is an enemy--just the same for a normal turret, the rocket turret will fire, doing splash explosion damage. You can dodge the rockets!
CY is pretty damn pro. If you have a minute, check out these files: http://unrealsoftware.de/profile.php?userid=15103
v_price={5000,5000} --turret,rocket_turret price, how much does the rocket turret cost?
v_rocket_interval=25 --50 = 1 second, 25 = 1/2 second, how fast does the rocket turret shoot? every x frames?
v_rocket_build_time=250 --50 = 1 second, 250 = 5 seconds, how long does it take to build a rocket turret?
v_rocket_speed=8 --32 = 1 tile, 8 = 1/4 tile, how much distance does the rocket travel each frame?
v_rocket_limit=3 --max rocket turrets per player
v_rocket_splash=128 --splash range
v_rocket_damage=50 --splash damage
The concept and what it does is simply this-when there is an enemy--just the same for a normal turret, the rocket turret will fire, doing splash explosion damage. You can dodge the rockets!

v_price={5000,5000} --turret,rocket_turret price, how much does the rocket turret cost?
v_rocket_interval=25 --50 = 1 second, 25 = 1/2 second, how fast does the rocket turret shoot? every x frames?
v_rocket_build_time=250 --50 = 1 second, 250 = 5 seconds, how long does it take to build a rocket turret?
v_rocket_speed=8 --32 = 1 tile, 8 = 1/4 tile, how much distance does the rocket travel each frame?
v_rocket_limit=3 --max rocket turrets per player
v_rocket_splash=128 --splash range
v_rocket_damage=50 --splash damage
edited 7×, last 20.06.12 04:42:26 pm

Comments
69 commentsLog in!
You need to log in to be able to write comments!Log in
In the lua you can disable building, and to spawn it where ever you want you just have to type '_build(enemy id,8,x,y)'

Hey i have a suggestion can you make the turret into a enemy building in the script we can edit it to where it spawns

What kind of person call himself a f**king retarded?
Btw, you could lace a gfx with some kind of rocket launcher over it
Btw, you could lace a gfx with some kind of rocket launcher over it

@Vectar yeah srry 'bout that
should have checked if this were stolen
@Santar the rocket turret is /gfx/rocket_turret.png, the rocket itself is /weapons/rocket.bmp you can change it in the lua, there is only 1 instance of it

@Santar the rocket turret is /gfx/rocket_turret.png, the rocket itself is /weapons/rocket.bmp you can change it in the lua, there is only 1 instance of it
edited 1×, last 06.06.11 09:41:46 pm

Well, my PlVsNPC script already has a rocket turret with actual image of a gun and a rocket (except it shoots only NPCs). But, as I see, your script was NOT stolen (code differs). Anyway, that's hard work


Nice script man, but you should put a turret sprite up of the turret. If you need any help with the angle i can help you, just PM me.
06.06.11 06:59:56 pm

Quote:
Cyrille Yukimaru IS SO PRO CHECK OUT HIS FILES AT http://unrealsoftware.de/profile.php?userid=15103 NOT EVEN KIDDING HE HAS SO MANY SKINS MAPS AND FILES CHECK IT OUT!!
06.06.11 06:54:29 pm

Erhh... I dont know? :D?
Oh wait, this is not a skinner's section. Nevermind, see you and good luck~!
Oh wait, this is not a skinner's section. Nevermind, see you and good luck~!
woah pro! it influences direction~~do I attach onto a supply base? and always rotate with lua xD--and when it sees an enemy it will snap to the enemy's angle~
06.06.11 06:49:00 pm

http://www.mediafire.com/?8b6377zh2ay7usb
I'm in a rush so its not good enough.. But I'll make a better version of this stuff..
I'm in a rush so its not good enough.. But I'll make a better version of this stuff..