+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Auto Firing Turret (only Fires When Pointing At A Target)

  1. #1
    Wire Noob EcoBlue's Avatar
    Join Date
    Apr 2007
    Posts
    1

    Default

    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.

  2. #2
    Wire Amateur Yerocrg's Avatar
    Join Date
    Mar 2007
    Location
    New Jersey, U.S.A.
    Posts
    89

    Default

    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>
    Wire igniter? I think it&#39;ll turn to hell...
    <div class='quotetop'>QUOTE(TAD2020) <{POST_SNAPBACK}></div>
    Would only require a heavenly modified wire stool to do this.

  3. #3
    Wirererer CBBP's Avatar
    Join Date
    Apr 2007
    Posts
    201

    Default

    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.

  4. #4
    Expressionism 2.0 Syranide's Avatar
    Join Date
    Mar 2007
    Location
    Sweden
    Posts
    4,573

    Default

    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.[/b]
    Let me quote Qjet

    delta[/b]


    it should solve those problems if properly done (although you might still have some minor vertical wobbling unless you tweak it)

  5. #5
    Wirererer Infinity's Avatar
    Join Date
    Mar 2007
    Posts
    274

    Default

    Basically, my 3-chip turret, but possibly more accurate.

    Good job!
    Many aspects of Garry's Mod are hardly the pinnical of realisim.

  6. #6
    Wirererer Qjet's Avatar
    Join Date
    Mar 2007
    Location
    Canada
    Posts
    319

    Default

    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?!

  7. #7
    Wire Sofaking quadrapod's Avatar
    Join Date
    Apr 2007
    Location
    PA
    Posts
    428

    Default

    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

  8. #8
    Wirererer CBBP's Avatar
    Join Date
    Apr 2007
    Posts
    201

    Default

    will someone tell me how to implement delta instead of just saying it works?

  9. #9
    Wire Noob Hornage's Avatar
    Join Date
    Apr 2007
    Posts
    1

    Default

    will someone tell me how to implement delta instead of just saying it works?[/b]
    Qjet said:
    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]
    I tried it with bearing and it worked fine, just wire the thrusters to the add gate.

  10. #10
    Wire Noob Karlfrans's Avatar
    Join Date
    Apr 2007
    Posts
    17

    Default

    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]
    Please show us how to make the last one!
    .. 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.

+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Firing turret positioning
    By Aspras in forum Installation and Malfunctions Support
    Replies: 12
    Last Post: 05-12-2008, 03:13 AM
  2. Stop automated turret firing when no target is found
    By Gore-wrath in forum Installation and Malfunctions Support
    Replies: 4
    Last Post: 04-14-2008, 09:24 PM
  3. Auto-Targeting, Auto-Firing Cruise missile launcher Tutorial.
    By Irish_Cereal in forum Gate Nostalgia (Old School Wiring) Discussion & Help
    Replies: 18
    Last Post: 07-12-2007, 01:51 PM
  4. Auto-targeting, Auto-firing Cruise Missile Launcher Video
    By Irish_Cereal in forum Finished contraptions
    Replies: 12
    Last Post: 05-14-2007, 07:09 AM
  5. Auto-targeting, Auto-firing Cruise Missile Launcher. :p
    By Irish_Cereal in forum Wiremod General Chat
    Replies: 5
    Last Post: 05-10-2007, 04:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots