+ Reply to Thread
Results 1 to 4 of 4

Thread: E2 expression help(stargate)

  1. #1
    Wire Noob iownuall123's Avatar
    Join Date
    Nov 2008
    Posts
    15

    Default E2 expression help(stargate)

    I have made many custom stargates with wire, but I always have to make 15+ gates just to make them. The general idea is to make an E2 expression that does this for me, but I have NO idea how to do it. Okay here is what I need it to do:
    Outputs: Chevron Inbound
    Inputs: Schevron1 Schevron2 Schevron3 Schevron4 Schevron5 Schevron6 Schevron7
    Lchevron1 Lchevron2 Lchevron3 Lchevron4 Lchevron5 Lchevron6 Lchevron7 Iris

    Now what I usually do is make 7 equal or greater gates, with the 1st linked to chevron on a stargate, and CV of 1, going up to 7(one for each chevron, for sounds ect)
    and then I do 7 multiply chips, wired to the corresponding GoE gates, and *255(for custom chevron lights)

    how would I make this into an E2 gate?

    ill explain more if you need me to

  2. #2
    Wire Sofaking ZeikJT's Avatar
    Join Date
    Dec 2008
    Location
    California
    Posts
    1,391

    Default Re: E2 expression help(stargate)

    What kinds of input are all those chevrons? The stargates just put out one output for chevrons and it cycles up. Looks like your listed outputs would be the inputs, and the listed inputs would be the chip's outputs.

    Why do you have multiply gates?

    With this in mind, this is what kind of chip I think you want:
    Code:
    @name Stargate Contol
    @inputs Inbound Chevron
    @outputs Schevron1 Schevron2 Schevron3 Schevron4 Schevron5 Schevron6 Schevron7
    @outputs Lchevron1 Lchevron2 Lchevron3 Lchevron4 Lchevron5 Lchevron6 Lchevron7 Iris
    @persist
    if(Chevron==1){Schevron1=1}else{Schevron1=0}
    if(Chevron==2){Schevron2=1}else{Schevron2=0}
    if(Chevron==3){Schevron3=1}else{Schevron3=0}
    if(Chevron==4){Schevron4=1}else{Schevron4=0}
    if(Chevron==5){Schevron5=1}else{Schevron5=0}
    if(Chevron==6){Schevron6=1}else{Schevron6=0}
    if(Chevron==7){Schevron7=1}else{Schevron7=0}
    if(Chevron>0){Lchevron1=255}else{Lchevron1=0}
    if(Chevron>1){Lchevron2=255}else{Lchevron2=0}
    if(Chevron>2){Lchevron3=255}else{Lchevron3=0}
    if(Chevron>3){Lchevron4=255}else{Lchevron4=0}
    if(Chevron>4){Lchevron5=255}else{Lchevron5=0}
    if(Chevron>5){Lchevron6=255}else{Lchevron6=0}
    if(Chevron>6){Lchevron7=255}else{Lchevron7=0}
    Iris=Inbound #Useless, just wire it up the Iris Directly to the Inbound
    I think this is a good start, but I didn't get the whole "then I do 7 multiply chips, wired to the corresponding GoE gates" part. Let me know what you mean.
    Against stupidity the Gods themselves contend in vain.
    -Friedrich Schiller

    The flame puts me in the mood to "Do it!".
    -Dart, Legend of Dragoon

  3. #3
    Wire Noob iownuall123's Avatar
    Join Date
    Nov 2008
    Posts
    15

    Default Re: E2 expression help(stargate)

    the reason I have multiply gates in because I need to make the lights work, and 255 is the color
    and inbound is for sounds
    and as I said im an Expression noob
    and BTW thanks

  4. #4
    Wire Sofaking ZeikJT's Avatar
    Join Date
    Dec 2008
    Location
    California
    Posts
    1,391

    Default Re: E2 expression help(stargate)

    Quote Originally Posted by iownuall123 View Post
    the reason I have multiply gates in because I need to make the lights work, and 255 is the color
    and inbound is for sounds
    and as I said im an Expression noob
    and BTW thanks
    Ah, so it was to multiply by 255 to get the lights, gotcha.
    I hope it works for what you need! ^_^
    Against stupidity the Gods themselves contend in vain.
    -Friedrich Schiller

    The flame puts me in the mood to "Do it!".
    -Dart, Legend of Dragoon

+ Reply to Thread

Similar Threads

  1. Stargate GPU Problem
    By GalvazimGX in forum Installation and Malfunctions Support
    Replies: 3
    Last Post: 12-22-2008, 05:22 PM
  2. stargate... help me
    By baddmage in forum Installation and Malfunctions Support
    Replies: 4
    Last Post: 10-14-2008, 05:02 PM
  3. Stargate help!!!
    By anon in forum Wiremod Website Chat
    Replies: 1
    Last Post: 07-20-2008, 09:43 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