+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: E2 wirelink; add wirelinks to ANY entity, not just wire entities.

  1. #1
    Lurker DataSchmuck is on a distinguished road DataSchmuck's Avatar
    Join Date
    Nov 2007
    Posts
    106

    Default E2 wirelink; add wirelinks to ANY entity, not just wire entities.

    I would find it useful to be able to click a prop (or other non-wired entity) with the wirelink tool, and it would add a wirelink to that entity.

    The main function of this would be to get the ENTITY of an object without using the entity marker.

    I ask this because if I have 50 random props/entities that I want to affect, I need 50 entity markers. I'm just trying to reduce my entity count per contraption.

    Is this possible without rewriting the entire tool?

  2. #2
    E2 Optimizer
    chinoto is on a distinguished road chinoto's Avatar
    Join Date
    Apr 2008
    Location
    In the skybox, lost another contraption...
    Posts
    1,714

    Default Re: E2 wirelink; add wirelinks to ANY entity, not just wire entities.

    Have you tried entity discovery yet? I doubt wirelinks would work on props and many members will probably bitch (kinda like with code...) at you to use what is already available.

    (\__/) <- Put this bunny in your sig and help him to rule the world!
    (='.'=) PM me code and I'll send it back optimized if possible. (I find it fun dammit!)
    (")_(") Expression Gate 2 Wiki Help us update the wiki! Together we can make it more up to date than the SVN! ...

  3. #3
    Wire Sofaking emspike will become famous soon enough emspike will become famous soon enough emspike's Avatar
    Join Date
    Feb 2008
    Location
    Western Springs, IL
    Posts
    565

    Default Re: E2 wirelink; add wirelinks to ANY entity, not just wire entities.

    This wouldn't be a wirelink, but it is an excellent idea. The only problem is that the prop would be turned into a non-prop entity, and may lag more. I suggest one of 2 things:

    1) A sort of Multi-Wirelink, just like there is a multi-joystick in the Joystick Addon.

    2) Being able to link entity inputs directly to entities.

    EDIT: After chinoto's post, I would like to add that #2 would lag less than the find functions. Which are broken at the moment.
    Download Link for Night-Hawk's Wired Joystick Module
    Quote Originally Posted by d3cr1pt0r View Post
    finnished

  4. #4
    Lurker DataSchmuck is on a distinguished road DataSchmuck's Avatar
    Join Date
    Nov 2007
    Posts
    106

    Default Re: E2 wirelink; add wirelinks to ANY entity, not just wire entities.

    Quote Originally Posted by emspike View Post
    The only problem is that the prop would be turned into a non-prop entity, and may lag more.
    That's what I was afraid of.

    Quote Originally Posted by chinoto View Post
    Have you tried entity discovery yet?
    The find functions are AWESOME for finding groups of entities that share a similar class, owner, model, etc, but not for finding SPECIFIC entities. Like if I have 20 of the exact same prop, but I only wanted to target 5 specific ones. With emspike's idea #2, I could just link those 5 directly to entity inputs on my expression.

  5. #5
    E2 Optimizer
    chinoto is on a distinguished road chinoto's Avatar
    Join Date
    Apr 2008
    Location
    In the skybox, lost another contraption...
    Posts
    1,714

    Default Re: E2 wirelink; add wirelinks to ANY entity, not just wire entities.

    Alright I just thought you might somehow be unaware of entity discovery. I do like emspike's shitty idea (#2 ) though it would make entity markers redundant, and I'm not sure it would work in the first place. Just in case, could constraint functions help?

    (\__/) <- Put this bunny in your sig and help him to rule the world!
    (='.'=) PM me code and I'll send it back optimized if possible. (I find it fun dammit!)
    (")_(") Expression Gate 2 Wiki Help us update the wiki! Together we can make it more up to date than the SVN! ...

  6. #6
    Bug Buster

    TomyLobo has a spectacular aura about TomyLobo has a spectacular aura about TomyLobo's Avatar
    Join Date
    Feb 2009
    Posts
    2,786

    Default Re: E2 wirelink; add wirelinks to ANY entity, not just wire entities.

    Quote Originally Posted by emspike View Post
    This wouldn't be a wirelink, but it is an excellent idea. The only problem is that the prop would be turned into a non-prop entity, and may lag more. I suggest one of 2 things:

    1) A sort of Multi-Wirelink, just like there is a multi-joystick in the Joystick Addon.
    could you express that in other terms?
    Quote Originally Posted by emspike View Post
    2) Being able to link entity inputs directly to entities.
    that is a good idea, and probably possible as well.
    a problem might be ambiguities:
    do you want to connect to an entity output on the entity or to the entity itself?

    Quote Originally Posted by emspike View Post
    EDIT: After chinoto's post, I would like to add that #2 would lag less than the find functions. Which are broken at the moment.
    how exactly are they broken? do you use the latest SVN revision?
    they were indeed broken from 1203 to 1207, but they're fixed now.
    "It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup

    Lífið læðist lúmskt áfram

  7. #7
    Lurker DataSchmuck is on a distinguished road DataSchmuck's Avatar
    Join Date
    Nov 2007
    Posts
    106

    Default Re: E2 wirelink; add wirelinks to ANY entity, not just wire entities.

    Quote Originally Posted by TomyLobo View Post
    do you want to connect to an entity output on the entity or to the entity itself?
    I would like to connect to the entity itself, but it would be hard to do regular wiring to wire entities. So I guess adding an entity output on the entitiy would be better.

  8. #8
    Bug Buster

    TomyLobo has a spectacular aura about TomyLobo has a spectacular aura about TomyLobo's Avatar
    Join Date
    Feb 2009
    Posts
    2,786

    Default Re: E2 wirelink; add wirelinks to ANY entity, not just wire entities.

    adding entity outputs to non-wire ents = messy
    i'll just make it trigger the input with the ent. it's much simpler and much more stable, though it probably wont dupe well, so you should store the entity internally
    "It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup

    Lífið læðist lúmskt áfram

  9. #9
    Wire Illusionist


    Jimlad will become famous soon enough Jimlad's Avatar
    Join Date
    Dec 2008
    Posts
    861

    Default Re: E2 wirelink; add wirelinks to ANY entity, not just wire entities.

    You want to make 50 inputs on your E2?! This sounds like a problem where there has to be a better solution than the one you're asking for. Specifically, what are you trying to do?

  10. #10
    Lurker DataSchmuck is on a distinguished road DataSchmuck's Avatar
    Join Date
    Nov 2007
    Posts
    106

    Default Re: E2 wirelink; add wirelinks to ANY entity, not just wire entities.

    I was using 50 as an extreme example. In reality it would be more like 5 or 10.

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Similar Threads

  1. Cannot Spawn Sweps and Wire entities
    By ToNz in forum Technical Support
    Replies: 1
    Last Post: 04-10-2009, 11:27 AM
  2. Wirelink Entity Question
    By Coolflip in forum Expression 1 & 2
    Replies: 6
    Last Post: 02-02-2009, 05:53 PM
  3. Wire duplicators, able to duplicate entities
    By Stud Muffin in forum Ideas & Suggestions
    Replies: 1
    Last Post: 01-16-2009, 11:14 PM
  4. Wirelinks in exp2
    By Hitman271 in forum Technical Support
    Replies: 5
    Last Post: 11-23-2008, 10:11 AM
  5. Expression 2, wirelinks and vectors
    By Captain Maim in forum Technical Support
    Replies: 3
    Last Post: 11-05-2008, 02:33 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