Nice job! However, you might be better off by just running the X value through an absolute gate and seeing if that value is less than 20. Your way is unique though in that you can specify different sensitivities for the right and left.
Things you need:
2 constant values (these define how close does it have to be to aiming. Same number is reccomended, one negative and one positive. I use 20.)
One and gate.
One less than gate.
One greater than gate.
Numpad output button (bound to the turret key..
One constant value of 0.
First, you take place these items on the turret somewhere. (I'm using this turret as an example: Turret)
Then wire it like this:
If you have any questions, please ask. I hope I didn't forget anything.
Nice job! However, you might be better off by just running the X value through an absolute gate and seeing if that value is less than 20. Your way is unique though in that you can specify different sensitivities for the right and left.
<div class='quotetop'>QUOTE(Infinity) <{POST_SNAPBACK}></div><div class='quotetop'>QUOTE(TAD2020) <{POST_SNAPBACK}></div>Wire igniter? I think it'll turn to hell...Would only require a heavenly modified wire stool to do this.
yeah... that is how mine is set up in a way but my turret is all wobbly haha. goes up and down up and down.
Let me quote Qjetyeah... that is how mine is set up in a way but my turret is all wobbly haha. goes up and down up and down.[/b]
delta[/b]
it should solve those problems if properly done (although you might still have some minor vertical wobbling unless you tweak it)
Basically, my 3-chip turret, but possibly more accurate.
Good job!
Many aspects of Garry's Mod are hardly the pinnical of realisim.
you can create a respectably accurate tracking turret with one axis using only one chip.
you can create a respectably accurate (maybe a little glitchy) two axis turret using only two chips.
you can create a respectably accurate (maybe a little glitchy) two axis firing turret using four chips.
you can create a 100% accurate one axis tracking turret with three chips
you can create a pretty damn accurate two axis tracking turret (possible reflex glitch) using 6 chips.
you can create the same turret only firing with 7
you can create a create an automatic, smart, non reflex, accurate tracking turret, using about 11 chips.
The difference between the turret i mentioned at the start and the turret i mentioned at the end, is that one gets the job done... sorta, and the other gets the job done well.
You can accomplish tons of tasks using one chip, you can accomplish even more using three, but in order to create a contraption that you can use, you will have to use more.
edit: Also you could do the whole thing well with two expression chips. but wheers the flavor in that?!
it works better if you just find the absolute value of the becon sensor and find if its less than one constant vaue (i use 5 or 2.5 so it will fire within 10 or for 2.5, 5 degrees of the target. then you set up a greater than and an and gate so it needs to be greater than 0 and less than <value> to fire so it wont fire with no target
will someone tell me how to implement delta instead of just saying it works?
Qjet said:will someone tell me how to implement delta instead of just saying it works?[/b]
I tried it with bearing and it worked fine, just wire the thrusters to the add gate.i really should make a video of a fast turret to show it off.
X+delta(X)Y
with the constant being something like 3 (you will have to tweak it)[/b]
Please show us how to make the last one!you can create a respectably accurate tracking turret with one axis using only one chip.
you can create a respectably accurate (maybe a little glitchy) two axis turret using only two chips.
you can create a respectably accurate (maybe a little glitchy) two axis firing turret using four chips.
you can create a 100% accurate one axis tracking turret with three chips
you can create a pretty damn accurate two axis tracking turret (possible reflex glitch) using 6 chips.
you can create the same turret only firing with 7
you can create a create an automatic, smart, non reflex, accurate tracking turret, using about 11 chips.
The difference between the turret i mentioned at the start and the turret i mentioned at the end, is that one gets the job done... sorta, and the other gets the job done well.
You can accomplish tons of tasks using one chip, you can accomplish even more using three, but in order to create a contraption that you can use, you will have to use more.
edit: Also you could do the whole thing well with two expression chips. but wheers the flavor in that?![/b]![]()
.. But what if ?
The human mind is driven by curiosity that never satiates. No god or government should ever be allowed to regulate this.
98% of teens smoke, or have smoked before in their life. If you are part of the 2% that hasn't/doesn't, copy this into your sig.
Bookmarks