+ Reply to Thread
Results 1 to 2 of 2

Thread: Thruster Only Expression

  1. #1
    Wire Noob CrasySkillz's Avatar
    Join Date
    Feb 2009
    Posts
    8

    Default Thruster Only Expression

    Here is the expression code that I am using for my current free-flying Spacebuild ship. Tell me what you guys think...

    I@SpeedometerX SpeedometerY SpeedometerZ activeX activeY activeZ Forward
    O@X Y Z

    X= (Forward == 0 & activeX == 0 & activeY == 0 & activeZ == 0 ? SpeedometerX : activeX)

    Y= (activeX == 0 & activeY == 0 & activeZ == 0 ? SpeedometerY : activeY)

    Z= (activeX == 0 & activeY == 0 & activeZ == 0 ? SpeedometerZ : activeZ)

    Speedometers(XYZ) are welded to their respective Vector Thrusters at the front centre(X), back left and back right of the ship. Forward thrust is generated by a single wired thruster at the back of the ship.

    The expression is copied 3 times and applied to each set of speedometer/vector thrusters


    Thoughts? any way to improve or effiecientsize?
    Last edited by CrasySkillz; 02-04-2009 at 12:43 PM.

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

    Default Re: Thruster Only Expression

    Don't bother with E1, skip to E2.

    Instead of your expression use multiply gates.

    Add a logic (NOT) after your forward input.

    To the multiply, wire the speedo:x and and logic chip
    then wire the VT:x to the multiply.

    Wire YZ straight from the thruster to the speedometer.

    Use the VT mul input to toggle the whole thing on and off.

    Edit:
    Try some easier expressions to start with, by the way.
    This one was very, very rough.
    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.

+ Reply to Thread

Similar Threads

  1. Outputting a vector from expression to vector thruster
    By Paper Clip in forum Installation and Malfunctions Support
    Replies: 2
    Last Post: 10-16-2008, 04:37 AM
  2. thruster expression for wizardsbane and others
    By Bernie in forum Finished contraptions
    Replies: 0
    Last Post: 03-16-2008, 05:27 PM
  3. 2 sexy things for Wire Thruster / Vector Thruster
    By andy1976uk in forum Ideas & Suggestions
    Replies: 7
    Last Post: 01-28-2008, 03:25 AM
  4. Expression Gate to Vector Thruster
    By PochoTao in forum Installation and Malfunctions Support
    Replies: 1
    Last Post: 09-03-2007, 11:38 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