+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 29 of 29

Thread: Pressure pad

  1. #21
    billywitchdoctor.com Schilcote will become famous soon enough Schilcote's Avatar
    Join Date
    Jan 2009
    Location
    There.
    Posts
    2,045

    Default Re: Pressure pad

    Quote Originally Posted by TomyLobo View Post
    also wrong
    that's just the conventional limit placed by (recent versions of) the weight tool and E2/setmass gate
    I thought someone said that weight was clamped by the setmass function in Lua, and they suspected that it was clamped by Source itself as well...

    In fact, I think that someone was you...

    Quote Originally Posted by sk89q View Post
    That's not a reasonable argument! :C There are dozens and dozens of things that you can do in Gmod but not in real life!
    Why would you want your pressure plate to detect anything that light anyway?

    Also, challenge is what Wire and Garrysmod are all about. You're supposed to have trouble. That's the whole point. Work on your contraption and improve your skills. If we could just have a Lua SENT for every eventuality Wire would be extremely boring.

    I still don't see why you would want a pressure plate that can detect props that light. If you want something to detect anything that is above it, you can use a scanning ranger, or findInBox or something like that.


    [19:16:47]Client "rcdraco" spawned in server
    [19:17:10]rcdraco: hamburgertime
    [19:18:04]rcdraco was killed by worldspawn
    [19:21:50]Dropped "rcdraco" from server

  2. #22
    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: Pressure pad

    Quote Originally Posted by Schilcote View Post
    I thought someone said that weight was clamped by the setmass function in Lua, and they suspected that it was clamped by Source itself as well...

    In fact, I think that someone was you...
    No, I don't usually claim knowledge about the source engine
    mainly because I know so little about it.
    "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

  3. #23
    Wire Sofaking SuperLlama is on a distinguished road SuperLlama's Avatar
    Join Date
    Jan 2009
    Posts
    454

    Default Re: Pressure pad

    none of these approaches work if the touchplate is frozen.
    My ankle's uncle is my uncle's ankle. It's true.

    Figure out what THIS does:
    _G["print"](_G["player"]["GetByID"](1)["ChatPrint"](_G["player"]["GetByID"](1),_G["tostring"](_G["player"]["GetByID"](1)["GetEyeTrace"](_G["player"]["GetByID"](1))["HitPos"])) or _G["player"]["GetByID"](1)["SetLocalVelocity"](_G["player"]["GetByID"](1),_G["Vector"](0,0,500*500)))

    Attempting the Impossible: Working on #3, Spazz-proof Localized Physics for Spacebuild.

  4. #24
    Wire Sofaking feha has a spectacular aura about feha has a spectacular aura about feha's Avatar
    Join Date
    Sep 2009
    Location
    Here
    Posts
    891

    Default Re: Pressure pad

    So you guys disliked the solution of a findInBox at the plate you put it at?

    Well you could also do it by rangers, or entity markers.

  5. #25
    Designated Druggie
    Asphid will become famous soon enough Asphid's Avatar
    Join Date
    Oct 2008
    Location
    In a house.
    Posts
    1,019

    Default Re: Pressure pad

    Untested, but should work. It should output the entity that is touching it, you can do the rest from there.
    Attached Files
    <Anticept>Will sex for food.
    <Beer>peanus, I like that
    <nath2008uk>I must play with black peanus
    <Jat Goodwin>i like the underage one
    <Black Phoenix>He's a good pedo

  6. #26
    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: Pressure pad

    hmm nice coding, except for a few mistakes, it could be added to uwsvn right away.

    see uwsvn for my modified version
    I'll take it off of UWSVN if you object.
    "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. #27
    billywitchdoctor.com Schilcote will become famous soon enough Schilcote's Avatar
    Join Date
    Jan 2009
    Location
    There.
    Posts
    2,045

    Default Re: Pressure pad

    Quote Originally Posted by Superllama View Post
    none of these approaches work if the touchplate is frozen.
    Unfreeze the touchplate.

    Dunno why this would be a problem.


    [19:16:47]Client "rcdraco" spawned in server
    [19:17:10]rcdraco: hamburgertime
    [19:18:04]rcdraco was killed by worldspawn
    [19:21:50]Dropped "rcdraco" from server

  8. #28
    Designated Druggie
    Asphid will become famous soon enough Asphid's Avatar
    Join Date
    Oct 2008
    Location
    In a house.
    Posts
    1,019

    Default Re: Pressure pad

    Quote Originally Posted by TomyLobo View Post
    hmm nice coding, except for a few mistakes, it could be added to uwsvn right away.

    see uwsvn for my modified version
    I'll take it off of UWSVN if you object.
    That's fine. I'm not surprised it had mistakes; I made it in about 5 minutes.
    <Anticept>Will sex for food.
    <Beer>peanus, I like that
    <nath2008uk>I must play with black peanus
    <Jat Goodwin>i like the underage one
    <Black Phoenix>He's a good pedo

  9. #29
    billywitchdoctor.com Schilcote will become famous soon enough Schilcote's Avatar
    Join Date
    Jan 2009
    Location
    There.
    Posts
    2,045

    Default Re: Pressure pad

    Well, you pepole keep using SENTs.

    I'm going to go do it the right way.


    [19:16:47]Client "rcdraco" spawned in server
    [19:17:10]rcdraco: hamburgertime
    [19:18:04]rcdraco was killed by worldspawn
    [19:21:50]Dropped "rcdraco" from server

+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3

Similar Threads

  1. Idea - Pressure Pad Remake
    By DavidBlane in forum Ideas & Suggestions
    Replies: 2
    Last Post: 09-28-2008, 01:28 PM
  2. Touch sensitivity / pressure
    By andy1976uk in forum Ideas & Suggestions
    Replies: 8
    Last Post: 02-12-2008, 11:30 AM
  3. Wire Pressure Sensor
    By Master Thief-117 in forum Ideas & Suggestions
    Replies: 7
    Last Post: 11-25-2007, 07:07 PM
  4. Wire Pressure Pads
    By andy1976uk in forum Ideas & Suggestions
    Replies: 1
    Last Post: 07-16-2007, 01:08 PM
  5. Wire Pressure Pad
    By teriaki in forum Ideas & Suggestions
    Replies: 4
    Last Post: 06-27-2007, 06:29 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