That.Originally Posted by Egate2 wiki
Also this:
XWL:isHiSpeed() N Returns true if the linked component is high-speed capable.
makes me think that highspeed communication is allowed.
How does one appropriately use wirelinks?
And for that matter, highspeed support with exp2.
A connection between exp2 and a cpu system would yield very great things....
That.Originally Posted by Egate2 wiki
Also this:
XWL:isHiSpeed() N Returns true if the linked component is high-speed capable.
makes me think that highspeed communication is allowed.
Ö͎̗̫̙̝̹͓̤̙́ͣͤ̈́̋̽̋͜f̺̦̠̻̜̼̮͓̖́̓̄̿̓̌̓̍̔f̵̳̻̜̹̤̱̊͒ͤ͌ ̅ͭͮ̾͟i̗͖̎͗̇ͯ̈̀̌̽c̯̮̉ͮ̾͟͡i̵̺̻̠̘̤̫͕ͯͭ̅͊ͤͦͧa̷͇̖̲ͥ͗ͪ̎ͤ ̽̾ͫl̶̈́̉̉͂̿̎ͯͥ̐҉̗͙̦̻̪ ̪̻͕̗̝͈̘͓ͬ̋̕͟B͚̲̍͢ā̸̪͔͖̟ͫͨ͜͝s͈͔͔͖͇͍̗͛ͯ̑̂͟t̮̤̬̩̅ͧ̎͑͗ ̃̕͟a̸̧̻̖̘̞̪̲͈͕̲͊ͭͪ͆̉r̯̩̮̬̥̤̗̙̃͌̑͊͢͞ď̠̦̲̥͢͡ ̵̶̢̱̲̺͈̘̳͕ͤͅo̯̞̙̦͖̪̽ͩ͊ͅf̵̦͈̣͙̰̎͋̿́ͅ ̛͕̹̫̰̱̾̓ͪ̌̽̊͘͡W̨̬̲̤̖̽̿͛ͨ͛̃̎͐̏i̛̼̳̝̺̝̭͙͋̑͑ͬ͠ṙ̼͔̪ͯͨͭ ̕e̸̗͕̰̒̃ͩͬ̾͆́ͅͅ
I Require More Minions! Join us on the IRC !
List of Reasons to idle on the IRC: Wire QDB
Basically, you find your component, for argument's sake let's say a vector thruster. You spawn it, place it, do whatever you need, then you take out the Wirelink tool and use leftclick on the thruster. It now has an output of [WIRELINK] type. Now you write an expression.
This expression now has an input of [WIRELINK] type. Take your wiring tool of choice, and wire the expression's input to the thruster's output. The thruster should now try to move itself to the directed position. You can also retrieve ([NORMAL] type) outputs with XWL:number(), but vector thrusters don't have outputs. Switching to a hydraulic you can for instance use Hydraulic:number("Length") and it will get the output Length.Code:@inputs Thruster:wirelink Targetpos:vector @persist L Curpos=Thruster:entity():pos() Dir=Targetpos-Curpos Thruster:setNumber("X",Dir:x()) Thruster:setNumber("Y",Dir:y()) Thruster:setNumber("Z",Dir:z()) L=Dir:length() Thruster:setNumber("Mul",L+5*$L) interval(20)
Haven't tested the hi-speed functions, though.
PS:Some more examples starting here.
Last edited by Magos Mechanicus; 11-23-2008 at 04:08 AM.
I can wire anything directly into anything! I'm the Professor!
-Professor Hubert Farnsworth
The wirelinks are borked. I tried them, they work expression side, just the tool doesn't work.
Ö͎̗̫̙̝̹͓̤̙́ͣͤ̈́̋̽̋͜f̺̦̠̻̜̼̮͓̖́̓̄̿̓̌̓̍̔f̵̳̻̜̹̤̱̊͒ͤ͌ ̅ͭͮ̾͟i̗͖̎͗̇ͯ̈̀̌̽c̯̮̉ͮ̾͟͡i̵̺̻̠̘̤̫͕ͯͭ̅͊ͤͦͧa̷͇̖̲ͥ͗ͪ̎ͤ ̽̾ͫl̶̈́̉̉͂̿̎ͯͥ̐҉̗͙̦̻̪ ̪̻͕̗̝͈̘͓ͬ̋̕͟B͚̲̍͢ā̸̪͔͖̟ͫͨ͜͝s͈͔͔͖͇͍̗͛ͯ̑̂͟t̮̤̬̩̅ͧ̎͑͗ ̃̕͟a̸̧̻̖̘̞̪̲͈͕̲͊ͭͪ͆̉r̯̩̮̬̥̤̗̙̃͌̑͊͢͞ď̠̦̲̥͢͡ ̵̶̢̱̲̺͈̘̳͕ͤͅo̯̞̙̦͖̪̽ͩ͊ͅf̵̦͈̣͙̰̎͋̿́ͅ ̛͕̹̫̰̱̾̓ͪ̌̽̊͘͡W̨̬̲̤̖̽̿͛ͨ͛̃̎͐̏i̛̼̳̝̺̝̭͙͋̑͑ͬ͠ṙ̼͔̪ͯͨͭ ̕e̸̗͕̰̒̃ͩͬ̾͆́ͅͅ
I Require More Minions! Join us on the IRC !
List of Reasons to idle on the IRC: Wire QDB
Thanks Magos.
Bookmarks