Closed Thread
Page 101 of 353 FirstFirst ... 519199100101102103111151201 ... LastLast
Results 1,001 to 1,010 of 3521
Like Tree5Likes

Thread: Expression Gate 2

  1. #1001
    Official Bastard of Wire Jat Goodwin's Avatar
    Join Date
    Aug 2008
    Location
    Colorado Springs
    Posts
    2,771

    Default Re: Expression Gate 2

    Woot! 1000th post in topic.

    Anyways, what should we expect for the next new thing in the egate2?
    In other words:
    What are you doing to it right now to make it better?
    Ö͎̗̫̙̝̹͓̤̙́ͣͤ̈́̋̽̋͜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

  2. #1002
    Wirererer Gwahir's Avatar
    Join Date
    Sep 2008
    Posts
    132

    Default Re: Expression Gate 2

    I've dropped in the documentation

    Syranide, do you mean specifying another entity as the center of the query? If that's the case, it's unnecessary. You can already specify the location in global coordinates, it isn't tied to the chip. So you could query a sphere ahead of the chip and then ask for the closest entity to the chip if you wanted. I left it pretty open.

    One bug that I'm aware of is some odd problem with finding things in cones, not sure what's up there, if someone has a chance to figure that out, I'm all ears.

  3. #1003
    Wirererer Hunter234564's Avatar
    Join Date
    Apr 2008
    Location
    Holland
    Posts
    225

    Default Re: Expression Gate 2

    Could somebody explain what functions like E:right() return? I know vectors are a position and I already use them.
    I'd prefer a expression with comments, that's the way I learn it best.

    And any ETA on tables yet? Once I get more string functions, tables and a string screen, I can start on my biggest contraption I ever made
    [eXs] TP Hunter NL: Is there something you didn't make?
    Black Phoenix: you?

  4. #1004
    Expressionism 2.0 Syranide's Avatar
    Join Date
    Mar 2007
    Location
    Sweden
    Posts
    4,573

    Default Re: Expression Gate 2

    Quote Originally Posted by Magos Mechanicus View Post
    Interesting stuff. With my limited lua reading skills it's a little difficult to read the meaning into them, though. Basic usage for the E2 coder seems to be find() to search for entities, and you call findinBox()/findinCone()/findDisallowPlayer() and such in order to change how find() works?

    Also, any chance of committing qthree's string functions at least as a temporary fix or something? Been using them for a while now and while string.lua throws errors sometimes they seem to be in other places - length() and such. Easy character/byte conversion is just such a lifesaver.
    That link doesn't seem to be the correct one, or is it? I can't find anything about any string functions.

    Quote Originally Posted by Jat Goodwin View Post
    Woot! 1000th post in topic.

    Anyways, what should we expect for the next new thing in the egate2?
    In other words:
    What are you doing to it right now to make it better?
    "Nothing" basically, I will try to maintain whatever needs urgent fixing, but I don't really have time to develop any extensions to it. Most of it will have to come from other developers (like gwahir), I will of course provide feedback and help, but I won't be doing any developing myself.

    (It's thanks to shandolum that E2 was released a while ago)

    Quote Originally Posted by Gwahir View Post
    I've dropped in the documentation

    Syranide, do you mean specifying another entity as the center of the query? If that's the case, it's unnecessary. You can already specify the location in global coordinates, it isn't tied to the chip. So you could query a sphere ahead of the chip and then ask for the closest entity to the chip if you wanted. I left it pretty open.

    One bug that I'm aware of is some odd problem with finding things in cones, not sure what's up there, if someone has a chance to figure that out, I'm all ears.
    Sweet.
    Ah ok, I didn't look that closely at all the functions, but if that's the case then it's already there yes.
    I added a note crediting you as the developer of it on the wiki (feel free to change/add to it if you like).

    Quote Originally Posted by Hunter234564 View Post
    Could somebody explain what functions like E:right() return? I know vectors are a position and I already use them.
    I'd prefer a expression with comments, that's the way I learn it best.

    And any ETA on tables yet? Once I get more string functions, tables and a string screen, I can start on my biggest contraption I ever made
    E:right() returns the "right vector" of the entity, this is similar to the forward and up-vector. Basically, if you consider yourself the entity, point your hand to the right, that's the right vector, point your hand forward, that's the forward vector. (Note, directional vectors, these are not positions in space, but a direction in space)

    The purpose of these 3 functions is that they together define the "frame" or the matrix for the entity, which can be used for calculations, but also gives the exact rotation of the object (regardless of orientation). So its basically another way of determining the rotation of an object.

    You should check out shandolums zero-g stabilized ship, it uses this to be accurate at all orientations.

    As for the others, same here, I won't be developing anything, any new extensions will have to come from other developers.
    Last edited by Syranide; 12-12-2008 at 06:45 AM.

  5. #1005
    Master of Mars Magos Mechanicus's Avatar
    Join Date
    May 2008
    Posts
    852

    Default Re: Expression Gate 2

    Hmm. I thought that was the purpose of the permalink, but apparently not. Maybe this works better? Alternately, post 665 or search the forum for "chartobyte", that's how I found back to it.
    Last edited by Magos Mechanicus; 12-12-2008 at 07:37 AM.
    I can wire anything directly into anything! I'm the Professor!
    -Professor Hubert Farnsworth

  6. #1006
    Expressionism 2.0 Syranide's Avatar
    Join Date
    Mar 2007
    Location
    Sweden
    Posts
    4,573

    Default Re: Expression Gate 2

    Quote Originally Posted by Magos Mechanicus View Post
    Hmm. I thought that was the purpose of the permalink, but apparently not. Maybe this works better? Alternately, post 665 or search the forum for "chartobyte", that's how I found back to it.
    commited, but they are named S:toNumber()/toString(N)/toChar(N)/toByte(S)/toByte(S,N)

    (I have not documented these in the wiki)
    Last edited by Syranide; 12-12-2008 at 07:53 AM.

  7. #1007
    Wirererer Hunter234564's Avatar
    Join Date
    Apr 2008
    Location
    Holland
    Posts
    225

    Default Re: Expression Gate 2

    Quote Originally Posted by Syranide View Post
    blah blah vectors blah blah
    Thanks for explaining but I didn't get it, the example is to complicated for me, I haven't worked that much with vectors yet. :/

    And the reason I asked this: I am trying to make a bot that hovers X units to the right of somebody and looks were the player is looking. If you could post an expression with comments what everything does, many thanks.

    Man, I feel like a noob now while I haven been using wire for 1+ years and made some pretty awesome stuff.


    And thanks for committing the string functions
    [eXs] TP Hunter NL: Is there something you didn't make?
    Black Phoenix: you?

  8. #1008
    Master of Mars Magos Mechanicus's Avatar
    Join Date
    May 2008
    Posts
    852

    Default Re: Expression Gate 2

    Thanks for that. Now (well, soon) I can use all those string manipulation gates I wrote for the Fallout console thing online too.
    I can wire anything directly into anything! I'm the Professor!
    -Professor Hubert Farnsworth

  9. #1009
    Wire Sofaking Bobsymalone's Avatar
    Join Date
    Jul 2008
    Posts
    770

    Default Re: Expression Gate 2

    weapons\gmod_tool\stools/wire_wirelink.lua:58: attempt to index local 'info' (a nil value)

    Got this error when trying to dupe a contraption with two wirelinks. Looks like it's to do with the forward slash.

  10. #1010
    Wirererer Hunter234564's Avatar
    Join Date
    Apr 2008
    Location
    Holland
    Posts
    225

    Default Re: Expression Gate 2

    ToChar(N) doesn't seem to work, whatever I do it always returns " " or a square.

    I am using an interval and I am giving it a valid ASCII code.
    [eXs] TP Hunter NL: Is there something you didn't make?
    Black Phoenix: you?

Closed Thread

LinkBacks (?)


Similar Threads

  1. Expression Gate : Can't save expression
    By m0nday in forum Bug Reports
    Replies: 2
    Last Post: 08-06-2008, 12:29 PM
  2. Gate - Expression -> Gone!
    By Qvazzler in forum Installation and Malfunctions Support
    Replies: 10
    Last Post: 05-25-2007, 10:26 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