• GMOD E2 Anti Missile Turret Help.
    3 replies, posted
I've been working on an anti missile turret and when I test it out it follows every prop BUT the MK-82. Any help for that? Its a ballsocket turret that has the barrel center ballsocketed to a holder and the E2 on the back to act as a GPS and the vector thruster on the front along with a turret in the front. [CODE] @name AntiMissile Chip @inputs Turret:entity @outputs VectorAng:vector Fire Distance Drop @persist Target:entity E = entity() if(first()) { runOnTick(1) Drop = Distance/70 } if(findCanQuery()) { findIncludeModel("models/props_phx/amraam.mdl") findIncludeModel("models/props_phx/torpedo.mdl") findIncludeModel("models/props_phx/ww2bomb.mdl") findIncludeModel("models/props_phx/mk-82.mdl") findIncludeModel("models/props_phx/misc/flakshell_big.mdl") findInSphere(E:pos(),99999999) Target = findClosest(E:pos()) } if(Target:isValid()) { Direction= Target:pos() Distance = Turret:pos():distance(Target:pos()) VectorAng = -Target:pos() - -Turret:pos() Ranger=rangerOffset(100000, E:pos(), Target:pos()) if(Ranger:hit()!=0){ Fire=1 } } else { Fire=0 } [/CODE]
bump
[QUOTE=Chaquator;36559884]bump[/QUOTE] Bumps are retarded
[QUOTE=sonic898716;36560293]Bumps are retarded[/QUOTE] Well my post was originally buried in other posts when I made it.
Sorry, you need to Log In to post a reply to this thread.