Closed Thread
Page 1 of 8 123 ... LastLast
Results 1 to 10 of 74

Thread: Gunnanmon's Advanced Missile Expression (And Missile System)

  1. #1
    Wirererer Gunnanmon's Avatar
    Join Date
    Jan 2008
    Location
    Alaska
    Posts
    172

    Default Gunnanmon's Advanced Missile Expression (And Missile System)

    == Gunnanmon's Advanced Missile Expression ==

    [ame="http://www.youtube.com/watch?v=8GuJDiRmCqA"]YouTube - Gunnanmon's Advanced Missile (Gmod)[/ame]

    [ame="http://www.youtube.com/watch?v=dhlSV6un80o"]YouTube - Gunnanmon's Advanced Missile: Maneuvering Demo[/ame]



    By utilizing target velocity, I've created an
    advanced guided missile which predicts straight
    line target trajectories in real time,
    effectively cutting all corners where possible.
    By also calculating the inertia of the missile
    itself, interception accuracy, and reaction time
    have been greatly enhanced while also eliminating
    target orbit.

    Basically, instead of the missile heading for its
    target, it will fly ahead of it in a straight
    line, so as to collide with it; this is called
    'lead collision'.

    The contraption itself is a simple missile I
    threw together to demonstrate what the expression
    is capable of; the missile is fully functional
    however, and extremely hard to avoid.

    How to Install:
    If you would like to use the expression on your own missile,
    all that's needed is a vector thruster and a target finder.
    Ensure that the vector thruster is above the center point of the missile.

    You are welcome to use and modify my expression, but
    please give credit where due.

    Code:
     @name Gunnanmon's Advanced Missile Expression
     @inputs Target:entity
     @outputs Det Hold Vec:vector Mult
     #@outputs HoloTest:vector, TP:vector
     @persist GPS:vector
     @persist Dist Tvel Gvel
     @persist LM IM LV:vector GV:vector
     
     interval(75)
     
     LM = 0.00000075      #Lead Angle Modifier
     IM = 0.00005         #Inertia Correction Modifier
     
     if (Target)
       {
        Hold = 1
     
        GPS = entity():pos()
        Dist = Target:massCenter():distance(GPS)
     
        if (Dist < 100) {Det = 1}
     
        Tvel = Target:vel():length() * LM
        Gvel = entity():vel():length() * IM
        LV = (Target:vel() * Tvel) * Dist
        GV = entity():vel() * Gvel
        Vec = GPS -(Target:massCenter() + LV - GV)
     
        #TP = Target:massCenter()
        #HoloTest = vec(-((TP:x()+LV:x())-GV:x()), (TP:y()+LV:y())-GV:y(), ((TP:z()+LV:z())-GV:z())-150)
     
        Mult = 1
       }
     else {Mult = 0, Hold = 0}
    Thanks to Hitman271 for cleaning up some of my code.

    Last edited by Gunnanmon; 02-15-2009 at 07:00 PM.

  2. #2
    Wire Sofaking Officer Tibbles's Avatar
    Join Date
    Aug 2008
    Location
    Barnus Philbert Boulevard
    Posts
    867

    Default Re: Gunnanmon's Advanced Missile Expression (And Missile System)

    Wow, Absolutely amazing!

    Great job! Cookies for you!

  3. #3
    Wire Sofaking Whodunnit's Avatar
    Join Date
    Jan 2008
    Location
    New Zealand, Ackl
    Posts
    636

    Default Re: Gunnanmon's Advanced Missile Expression (And Missile System)

    cool, i was planning on making a cannon that fires ahead of you like this.

  4. #4
    Spucatum Tauri Bull's Avatar
    Join Date
    Jun 2008
    Location
    Finland
    Posts
    6,010

    Default Re: Gunnanmon's Advanced Missile Expression (And Missile System)

    Very nice Gunnanmon. You keep spitting out the cool contraptions
    My signature has a point.
    Quote Originally Posted by Squeakyneb View Post
    when l3ulletje says do it, do it.
    That

    Quote Originally Posted by Anticept View Post
    By the way, Bull is in charge.

  5. #5
    Wirererer Gunnanmon's Avatar
    Join Date
    Jan 2008
    Location
    Alaska
    Posts
    172

    Default Re: Gunnanmon's Advanced Missile Expression (And Missile System)

    Thanks guys. I'm going to add this to the E2 wiki.

  6. #6
    hurrr physics Tolyzor's Avatar
    Join Date
    Aug 2008
    Location
    England
    Posts
    1,020

    Default Re: Gunnanmon's Advanced Missile Expression (And Missile System)

    Omg, I was trying to make this exact thing, but the maths got me stumped lol. Nice one.

  7. #7
    Wirererer pl0x's Avatar
    Join Date
    Aug 2008
    Posts
    238

    Default Re: Gunnanmon's Advanced Missile Expression (And Missile System)

    why not use the e2 chip as the target finder and the thruster, although you maybe dont want the e2 as the thruster as it would have to be on the missile, but as the target finder it would be good.

    and a video would be nice.

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

    Default Re: Gunnanmon's Advanced Missile Expression (And Missile System)

    Quote Originally Posted by pl0x View Post
    why not use the e2 chip as the target finder and the thruster, although you maybe dont want the e2 as the thruster as it would have to be on the missile, but as the target finder it would be good.

    and a video would be nice.
    It doesn't actually have to be on the missile, you can apply force to other entities :lol:

  9. #9
    Wire Sofaking oenmaster's Avatar
    Join Date
    Jan 2008
    Location
    fak where is my satnav (NL)
    Posts
    717
    Blog Entries
    1

    Default Re: Gunnanmon's Advanced Missile Expression (And Missile System)

    i cant chance the setting of the target-finder... other than that NICE!!! anoing the hell out if my friends XD

    its it parantded?

  10. #10
    Wirererer pl0x's Avatar
    Join Date
    Aug 2008
    Posts
    238

    Default Re: Gunnanmon's Advanced Missile Expression (And Missile System)

    Quote Originally Posted by Syranide View Post
    It doesn't actually have to be on the missile, you can apply force to other entities :lol:
    i forgot about that :P

Closed Thread
Page 1 of 8 123 ... LastLast

Similar Threads

  1. Gunnanmon's Simple/Advanced Jet
    By Gunnanmon in forum Finished contraptions
    Replies: 77
    Last Post: 07-28-2009, 03:01 PM
  2. Guided Missile
    By StandaxXx in forum Finished contraptions
    Replies: 8
    Last Post: 02-12-2009, 12:12 AM
  3. A Homing missile!
    By Nophysicalbody in forum Gate Nostalgia (Old School Wiring) Discussion & Help
    Replies: 60
    Last Post: 01-25-2009, 12:57 PM
  4. Help with a homing missile E-gate(1) expression.
    By Dannyboy in forum Installation and Malfunctions Support
    Replies: 3
    Last Post: 11-08-2008, 11:20 AM
  5. Homing Missile
    By vladcollado in forum Finished contraptions
    Replies: 6
    Last Post: 08-24-2008, 07:24 AM

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