• Automatic Turret STool
    77 replies, posted
What's this? It's basically a rehash of my older (way older) lame attempt at coding into an even lamer attempt at coding. Why am I reposting it? Well, it's not like I have to share with you anyway, just ask and I'll remove it. It's also a pretty big change. Okay, fine, I just don't like having download name differ from the thread name. Now onto the main deal: [img]http://www.garrysmod.org/img/dl/54458_1.jpg[/img] It's a sentry-like turret installation that will shoot down any NPCs, players and physics objects that come near it with extreme fervour. [b][u]Features:[/u][/b] -As promised, will never threaten to stab you and, in fact, cannot speak. -Flashy SFX. Particle, view-shake, on-hit, refraction and sound effects. -Will not shoot through walls and obstacles in a lame fashion. -[u]Three separate modes:[/u] * Standard - Full damage and knockback. * Incendiary - A lot less damage and knockback. Ignites anything it hits. * Plasma - Slightly Less damage and knockback. Fires explosive rounds. -[u]Adjustable:[/u] * Damage/Distance * Force/Accuracy -[u]Can selectively attack:[/u] * Physics objects (will ignore stationary ones) * Players (you can fool it by standing still or crouching past it) * NPCs (will not shoot down friendly ones) -Contraption-friendly. Will only query constraints on activation/deactivation. -Duplicator support. Go thank tad2020 for helping with this. I mean NOW. -Backwards compatibility. This is just for kicks. [b]Video by Sgt. Napalm:[/b] [media]http://www.youtube.com/watch?v=83xwIA1kd9I&fmt=18[/media] [b]Extract to /addons[/b] [url=http://www.gmmod.com/file.php?id=280236][img]http://www.gmmod.com/preview.php?id=280236[/img][/url] [b][url=http://www.garrysmod.org/downloads/?a=view&id=54459]Mirror Download[/url][/b]
I like it! Got a video of it?
[QUOTE=Sonic Fan]Got a video of it?[/QUOTE] Sadly not. My netspeed is slower than a dead turtle.
Very kewl =3 Wish i could do stuff like this =P Got mai download.
Hey Citizen 101,I want your Steam Name
You are turning out to be my new favorite coder, good job on all your (very quick) current releases, i've got em all.
This is very nifty! Aside from the small problem of your own turret targeting yourself, it's good!
[QUOTE=Pacstorm]Aside from the small problem of your own turret targeting yourself, it's good![/QUOTE] That's intended, actually: the STool isn't admin-only, so without that, you could spawn a bunch and, well, that wouldn't be pretty. But this way you have to watch out, plus, it becomes a bit of a meta-game, which I consider a good thing to have. Not sure if that really works, I'm not much of a multiplayer person myself.
Is there a way to increase its radius of detection? I have the slider set as far as it'll go in the proper direction, but it still has a very small range. Am I doing something wrong?
[QUOTE=Waxx]Is there a way to increase its radius of detection? I have the slider set as far as it'll go in the proper direction, but it still has a very small range. Am I doing something wrong?[/QUOTE] Maximum range should be about half of construct.
[QUOTE=Waxx]Is there a way to increase its radius of detection? I have the slider set as far as it'll go in the proper direction, but it still has a very small range. Am I doing something wrong?[/QUOTE] You know, the slider doesn't HAVE to be the limit.
[QUOTE=kilala temp]You know, the slider doesn't HAVE to be the limit.[/QUOTE] Actually it does. Sorry.
[QUOTE=Citizen 101]Maximum range should be about half of construct.[/QUOTE] I've got it set all the way to the left and it still barely reaches out to anything. Am I misreading the way the sliders are supposed to be set up?
You get extra points for using a superior website to upload on.
[QUOTE=Waxx]I've got it set all the way to the left and it still barely reaches out to anything. Am I misreading the way the sliders are supposed to be set up?[/QUOTE] No, you're alright. But if you expect it to shoot all the way across Freespace or something - there's no go. The larger the radius, the more props there are, the costlier the calculations it performs. Didn't think anyone would need a larger radius, myself. [QUOTE=Sgt Napalm]You get extra points for using a superior website to upload on.[/QUOTE] Sweet.
[QUOTE=Citizen 101]Sadly not. My netspeed is slower than a dead turtle.[/QUOTE] [media]http://www.youtube.com/watch?v=83xwIA1kd9I[/media] I was about to put at the end of the video: By Citizen 101: Slower than a dead turtle. You can see the effects better on the actual page. [url]http://www.youtube.com/watch?v=83xwIA1kd9I[/url]
[QUOTE=Sgt Napalm][media]http://www.youtube.com/watch?v=83xwIA1kd9I[/media] I was about to put at the end of the video: By Citizen 101: Slower than a dead turtle. You can see the effects better on the actual page. [url]http://www.youtube.com/watch?v=83xwIA1kd9I[/url][/QUOTE] Excellent. Can I add it to the OP? [b]Edit:[/b] Fuck. "Cheater Turret"? That's a sign that it didn't duplicate properly... Which really shouldn't happen. Did you do anything to it?
[QUOTE=Citizen 101]Excellent. Can I add it to the OP? [b]Edit:[/b] Fuck. "Cheater Turret"? That's a sign that it didn't duplicate properly... Which really shouldn't happen. Did you do anything to it?[/QUOTE] It's probably a glitch with Source recorder. I didn't duplicate anything. I spawned it with the stool, like you would normally. You may add it to the OP.
[QUOTE=Sgt Napalm]It's probably a glitch with Source recorder. I didn't duplicate anything. I spawned it with the stool, like you would normally. You may add it to the OP.[/QUOTE] Weird. Doubt it's something I could fix. Also, thanks.
o.m.g wow is nice!
i have not had a chance to test this but does it work with stargate shields?
[QUOTE=sigthor]i have not had a chance to test this but does it work with stargate shields?[/QUOTE] If they can stop bullets, it should.
Amazing...This would be a perfect setup for any singleplayer wars or even maybe some multiplayer gamemodes. What would make it more better is if you could spawn it and when its in the ready mode you mount it and fire. Thanks anyway for the release
[QUOTE=jmanbag]Amazing...This would be a perfect setup for any singleplayer wars or even maybe some multiplayer gamemodes. What would make it more better is if you could spawn it and when its in the ready mode you mount it and fire.[/QUOTE] I believe TetaBonita made something like this a while ago. I wanted to make it do that too at some point, but it didn't quite work out.
I like it, and my only peeve with it is that the turret turns sideways when shooting something. Is this happening to anyone else?
[QUOTE=TastyNacho]I like it, and my only peeve with it is that the turret turns sideways when shooting something. Is this happening to anyone else?[/QUOTE] That's not right at all. Not sure what could possibly be causing it, unless you mean it does that when being welded to something else (and this something is moving). Which I'm not sure how to fix.
This was a lot better than I expected. good job What's the difference between bullets and plasma? They seem to do the exact same thing (except the blue) Also, some different fire mode ideas: Sniper: Fires one powerful and accurate shot every 2 seconds or so. Freeze: Like fire, but instead freezes props/npcs/players. Explosive: Shoots rockets/cannons/etc.
[QUOTE=Iced]What's the difference between bullets and plasma? They seem to do the exact same thing (except the blue)[/quote] Plasma shots do damage in radius (and ignite wooden props), so they're generally more effective against crowds or complicated contraptions or shields. They also impair player's hearing for a second on direct hit. [QUOTE=Iced]Also, some different fire mode ideas: Sniper: Fires one powerful and accurate shot every 2 seconds or so. Freeze: Like fire, but instead freezes props/npcs/players. Explosive: Shoots rockets/cannons/etc.[/QUOTE] That's pretty good. Coincidentally, I thought of including shotgun and sniper modes off the bat, but I'm still not sure how to balance them out. Can't promise I'll ever actually get to it, I'm relatively busy with being lazy.
Now I can finally plasmaed at zombies and tried to blew them up.
Can this be mouse-aimed? And by that I mean wired to the X, Y and Z from a Pod Controller and used from a seat. Because this could be mounted on a vehicle and then it would be decisively [B]AWESOME.[/B]
Sorry, you need to Log In to post a reply to this thread.