+ Reply to Thread
Results 1 to 1 of 1

Thread: Vector Ship

  1. #1
    Wire Noob dragondef's Avatar
    Join Date
    Jul 2007
    Location
    Colorado
    Posts
    13

    Default

    Requirement
    1) Newest Wire / Advanced Duplicator
    2) PHX, including the triangle models
    3) Other Common things

    Controls:
    WSAD = Movement
    R = Next Memory for Jump
    Click = Jump
    Second Click = Jump set
    Shift = Reset Jump Memory to 0
    Space = Up
    Ctrl = Down

    Specials
    1) Same self adjusting thrusters, like the old one
    2) Vector thrusters
    3) Ram controlled teleporter, not new, but new for me

    Problems:
    1) Vector thruster seems to have a max, and when too many controls are pressed, or it configures it self wrong, the thrusters just stop
    2) Bounces when hovering, gets worse when $distance becomes $distance * 3
    3) Doesn't configure itself quick enough, and/or After in a range configures too much

    What you can do
    Please, can you tell me what you think, if you find any other errors, or have a solution to an answer, please tell me

    What can you use
    Anything that you want, but if use the code (Not ideas), then if you give it away tell where the source came from.

    Ship Expression Controller
    <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-spacere;overflow:auto'>N@Controller
    I@Forward Back Left Right Up Down Act Distance Pitch Roll
    O@VULX VURX VLRX VLLX VULY VURY VLRY VLLY VULZ VURZ VLRZ VLLZ MUL MUR MLR MLL Mull
    Reset = 1 - Act
    Mull < 1 -> Mull = 1;
    ###Left And Right
    LAR = (Right - Left)
    ###Up And Down
    UAD = (Up-Down)*300
    UAD == 0 & Act & Distance < 500 -> UAD += (200-Distance)+$Distance
    Mull += clamp(2-Distance/100 -$Distance,-200,200)/10000*abs(clamp((200-Distance)/$Distance,0,1000))
    Mull += abs($Distance)>20?-1:0;
    ###Back And Forth
    BAF = Back- Forward
    ###Pitch Stabilizer
    PS = Pitch + $Pitch*3
    ###Roll Stabilizer
    RS = Roll + $Roll*3
    ######Output X
    VULX = LAR*25
    VURX = LAR*25
    VLRX = -LAR*25
    VLLX = -LAR*25
    ######Output Y
    VULY= BAF*50
    VURY= BAF*50
    VLRY= BAF*50
    VLLY= BAF*50
    ######Output Z
    VULZ=UAD+(-PS+RS)*10
    VURZ=UAD+(-PS-RS)*10
    VLRZ=UAD+(PS-RS)*10
    VLLZ=UAD+(PS+RS)*10
    #######Multipliers
    MUL = Mull * (abs(VULX)+abs(VULY)+abs(VULZ))*Act
    MUR= Mull * (abs(VURX)+abs(VURY)+abs(VURZ))*Act
    MLR= Mull * (abs(VLRX)+abs(VLRY)+abs(VLRZ))*Act
    MLL= Mull * (abs(VLLX)+abs(VLLY)+abs(VLLZ))*Act
    Reset -> Mull = 1;
    </div>

    Jump Controller
    <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-spacere;overflow:auto'>
    N@JumpController
    I@Jump SetTarget ChangeTarget X Y Z Xm Ym Zm SetMemStart
    O@Xo Yo Zo Memory Write JumpO
    Write = -1,JumpO = 0,Xo = Xm, Yo=Ym,Zo=Zm
    #####
    SetTarget == 1->
    Xo = X
    Yo = Y
    Zo = Z + 50
    Memory == 64->Memory = 0;
    Write = Memory;
    #####
    ChangeTarget &~ChangeTarget-> Memory+= 1;
    #####
    Jump ->
    JumpO = 1;

    #####
    Memory == 64->Memory = 0;
    #####
    SetMemStart->Memory = 0;
    </div>

    Download A Ship
    [attachment=1060:shuttle_vectored.txt]
    Attached Files Attached Files
    Recursion: n, See Recursion

+ Reply to Thread

Similar Threads

  1. mouse aimed ship help plz
    By seiros151 in forum Installation and Malfunctions Support
    Replies: 3
    Last Post: 11-17-2008, 04:06 PM
  2. Thruster only fighter ship
    By deathrat in forum Installation and Malfunctions Support
    Replies: 5
    Last Post: 09-26-2008, 08:14 PM
  3. My Space Ship
    By detsuo04 in forum Wiremod General Chat
    Replies: 19
    Last Post: 12-26-2007, 11:14 PM
  4. Large hovering ship
    By ChainsawLove in forum Finished contraptions
    Replies: 15
    Last Post: 09-19-2007, 03:07 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