+ Reply to Thread
Page 4 of 4 FirstFirst ... 234
Results 31 to 34 of 34

Thread: Ac-130 Specture Gun Ship -=WIP=-

  1. #31
    Wirererer Mikhail's Avatar
    Join Date
    May 2009
    Posts
    121

    Default Re: Ac-130 Specture Gun Ship -=WIP=-

    NO DONT APPLYFORCE IT! Applyforce is bad, you should make it use fins for EVERYTHING.
    Last edited by turck3; 11-04-2009 at 07:52 PM.

  2. #32
    Wire Sofaking ryland's Avatar
    Join Date
    Oct 2009
    Location
    Card bord box next to wal-mart.
    Posts
    594

    Default Re: Ac-130 Specture Gun Ship -=WIP=-

    Ok, do any of you notice the little drawing thing by the cockpit of the plane.

    http://upload.wikimedia.org/wikipedi...0H_Spectre.jpg
    "I like pie"-Jat Goodwin

    <Azrael-> ryland: LOL is such a noobish thing to say.
    <ryland> LOL
    <Fox682> LOLLOL
    <Fox682> LOL
    <ryland> LOL

  3. #33
    Wire Sofaking smellslike's Avatar
    Join Date
    May 2009
    Location
    in a lonley world
    Posts
    412

    Default Re: Ac-130 Specture Gun Ship -=WIP=-

    Quote Originally Posted by Generic Default View Post
    The guns;

    @name Trajectory Coordinate Gun
    @inputs Active Position:vector
    @outputs
    @persist Bearing Elevation Distance Area:vector

    runOnTick(1)
    Area = Position
    Compensate = (atan(0.0036/8100 * Distance*cos(entity():angles()itch())))
    Bearing = entity():bearing(Area)
    Elevation = entity():elevation(Area)
    Distance = (Position-entity()os()):length()
    Speed = 100
    Torque = 35
    Rigidity = 30
    Aim = ang(-entity():angVel()itch()+clamp((-Elevation-Compensate)*Rigidity*Active,-Speed,Speed),-entity():angVel():yaw()+clamp(-Bearing*Rigidity*Active,-Speed,Speed),-entity():angVel():roll()-entity():angles():roll()*30) * shiftL(ang(entity():inertia())) * Torque
    entity():applyAngForce(Aim)


    The camera sensor;

    @name WASD Position Holding Sensor
    @inputs Active W A S D EyeX EyeY CamTog Shift Vehicle:entity
    @outputs Distance Camera Zoom Chip:entity Forward:vector Position:vector TrackEnt:entity TrackPos:vector TX TY TZ
    @persist Zoom Distance Trace:ranger

    runOnTick(1)
    HoldingTorque = 35

    #Camera Toggle
    if (~CamTog & CamTog) {Camera = !Camera}
    if (Active==0) {Camera = 0}

    #Camera Zoom
    if (~Shift & Shift) {Zoom -= (Zoom/1.2)}
    if (Zoom<1) {Zoom = 70}
    if (Active==0) {Zoom = 70}

    #Distance Ranger
    rangerDefaultZero(1)
    Trace = rangerOffset(150000,entity()os()+entity():forward()*500,entity():forward())
    Distance = Trace:distance()+500
    Forward = entity():forward()
    Position = entity()os()+entity():forward()*500
    TrackPos = Traceosition()
    TX = Traceosition():x()
    TY = Traceosition():y()
    TZ = Traceosition():z()
    TrackEnt = Trace:entity()

    #WASD Manual Aiming
    Radian = 57.28
    MotionPitch = entity():vel():dot(entity():up())*Radian/Distance*Active
    MotionYaw = entity():vel():dot(entity():right())*Radian/Distance*Active
    Anglo = ang((-EyeY+(S-W))*Zoom/3*Active+MotionPitch-entity():angVel()itch(),((-EyeX+(A-D))/2)*Zoom*Active*abs(cos(entity():angles()itch()))+MotionYaw-entity():angVel():yaw(),-entity():angles():roll()*30-entity():angVel():roll()) * shiftL(ang(entity():inertia())) * HoldingTorque
    entity():applyAngForce(Anglo)
    if (~Active & Active) {Vehicle:hintDriver("Press SPACE for camera mode Press Shift to zoom Use WASD and the mouse to aim.",7)}

    These are the updated E2's that work just like the ones on my SUAV. These use coordinates instead of angles so they work for guns that are farther apart like the ones on the AC130.
    sir, i believe you just made an awesome sauce in mah pants
    i too will probably use some of these
    cookeh for u
    Working on military pack.
    Remember
    amateurs build the ark....
    Professionals build the titanic

  4. #34
    Wirererer cakeguy's Avatar
    Join Date
    Feb 2009
    Posts
    146

    Default Re: Ac-130 Specture Gun Ship -=WIP=-

    Quote Originally Posted by ryland View Post
    Ok, do any of you notice the little drawing thing by the cockpit of the plane.

    http://upload.wikimedia.org/wikipedi...0H_Spectre.jpg
    *cough cough* why would i chose a picture with taht on it *cough cough*

+ Reply to Thread
Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. 3D Hologram Space Ship -WIP-
    By cakeguy in forum Finished contraptions
    Replies: 4
    Last Post: 08-26-2009, 04:34 AM
  2. My Space Ship
    By detsuo04 in forum Wiremod General Chat
    Replies: 19
    Last Post: 12-26-2007, 11:14 PM
  3. Vector Ship
    By dragondef in forum Finished contraptions
    Replies: 0
    Last Post: 08-24-2007, 11:14 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