+ Reply to Thread
Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 37

Thread: E2 Keyboard

  1. #21
    Wirererer Snuffy's Avatar
    Join Date
    Jun 2009
    Location
    The Interwebz
    Posts
    144

    Default Re: E2 Keyboard

    Quote Originally Posted by Wizard of Ass View Post
    why not
    runOnKey(N)
    and
    keyClk(S) or kClk(S)

    And sorry for asking but where i have to put in these files again?
    u dont need a keyClk cus you have key(s) and lastKey(s), their is no point in adding in a function to check weather the key ran the e2 when you can just check if the key is down, then you would know it ran the e2. and for runOnKey(N), i really have no idea what u mean, you can already do runOnKey("1"), if thats what u mean but if not then pls tell me.

    and u put them in garrysmod\addons\wireMod\lua\entities\gmod_wire_ex pression2\core\custom
    Mind rape...Don't do it!

    ---------------Animated Dragon Servers----------------
    please come to my friends servers they are at
    AD#1 = 69.243.56.72:27016
    AD#2 = 76.122.25.25:27016

    its mostly furrys so if u are one then come down, but if u arent then please come too, it sucks being the only non furry in a almost completely furry server.

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

    Default Re: E2 Keyboard

    Quote Originally Posted by Snuffy View Post
    u dont need a keyClk cus you have key(s) and lastKey(s), their is no point in adding in a function to check weather the key ran the e2 when you can just check if the key is down, then you would know it ran the e2. and for runOnKey(N), i really have no idea what u mean, you can already do runOnKey("1"), if thats what u mean but if not then pls tell me.

    and u put them in garrysmod\addons\wireMod\lua\entities\gmod_wire_ex pression2\core\custom
    Sure there is a point with keyClk().
    This is the same for simple variables, the variable Button being doesn't mean it executed the E2, ~Button does that.
    In the same way key(S) is Button, and keyClk(S) is ~Button.

  3. #23
    Wirererer Snuffy's Avatar
    Join Date
    Jun 2009
    Location
    The Interwebz
    Posts
    144

    Default Re: E2 Keyboard

    fine i will add it
    Mind rape...Don't do it!

    ---------------Animated Dragon Servers----------------
    please come to my friends servers they are at
    AD#1 = 69.243.56.72:27016
    AD#2 = 76.122.25.25:27016

    its mostly furrys so if u are one then come down, but if u arent then please come too, it sucks being the only non furry in a almost completely furry server.

  4. #24
    Wire Sofaking Unsmart's Avatar
    Join Date
    Dec 2008
    Location
    Belgium OR BANland
    Posts
    1,965

    Default Re: E2 Keyboard

    http://www.wiremod.com/forum/advance...wasd-done.html

    read that, its what you need. simple, effective. use with runontick or interval.
    New server IP: 89.238.160.17:27018
    Hologram contraptions 1 Holo contraptions 2 EGP stuff Holo minigun Holo javelin rocket launcher
    Unsmart: I doubt the intelligence of some people.
    Drunkie: Nobody could have said that any better than Unsmart.

    Unsmart: Solece, I totally did your mom yesterday
    Solece: Who hasnt

    Divran: there are more retarded people than there are clever people in this world

  5. #25
    Wirererer Snuffy's Avatar
    Join Date
    Jun 2009
    Location
    The Interwebz
    Posts
    144

    Default Re: E2 Keyboard

    Quote Originally Posted by Unsmart View Post
    http://www.wiremod.com/forum/advance...wasd-done.html

    read that, its what you need. simple, effective. use with runontick or interval.
    that only works with the IN_ keys , mine works with the KEY_ keys, witch is a great deal more

    also i made keyClk(s) , returns weather that keys ran the e2
    Mind rape...Don't do it!

    ---------------Animated Dragon Servers----------------
    please come to my friends servers they are at
    AD#1 = 69.243.56.72:27016
    AD#2 = 76.122.25.25:27016

    its mostly furrys so if u are one then come down, but if u arent then please come too, it sucks being the only non furry in a almost completely furry server.

  6. #26
    Wire Sofaking Unsmart's Avatar
    Join Date
    Dec 2008
    Location
    Belgium OR BANland
    Posts
    1,965

    Default Re: E2 Keyboard

    Quote Originally Posted by Snuffy View Post
    that only works with the IN_ keys , mine works with the KEY_ keys, witch is a great deal more

    also i made keyClk(s) , returns weather that keys ran the e2
    I see now, could I see the lua file? I made e:getKey(n) and keyW a s d only
    New server IP: 89.238.160.17:27018
    Hologram contraptions 1 Holo contraptions 2 EGP stuff Holo minigun Holo javelin rocket launcher
    Unsmart: I doubt the intelligence of some people.
    Drunkie: Nobody could have said that any better than Unsmart.

    Unsmart: Solece, I totally did your mom yesterday
    Solece: Who hasnt

    Divran: there are more retarded people than there are clever people in this world

  7. #27
    Wirererer Snuffy's Avatar
    Join Date
    Jun 2009
    Location
    The Interwebz
    Posts
    144

    Default Re: E2 Keyboard

    Quote Originally Posted by Unsmart View Post
    I see now, could I see the lua file? I made e:getKey(n) and keyW a s d only
    teh scrips are in teh first post, but dont be stealing any of my code >: (
    your problem is you are trying to do it all server side but only a few keys can be detected server side :<
    Mind rape...Don't do it!

    ---------------Animated Dragon Servers----------------
    please come to my friends servers they are at
    AD#1 = 69.243.56.72:27016
    AD#2 = 76.122.25.25:27016

    its mostly furrys so if u are one then come down, but if u arent then please come too, it sucks being the only non furry in a almost completely furry server.

  8. #28
    Wire Sofaking Unsmart's Avatar
    Join Date
    Dec 2008
    Location
    Belgium OR BANland
    Posts
    1,965

    Default Re: E2 Keyboard

    Quote Originally Posted by Snuffy View Post
    teh scrips are in teh first post, but dont be stealing any of my code >: (
    your problem is you are trying to do it all server side but only a few keys can be detected server side :<
    E2 functions in edit can be client side too? really,as editor changes aren't just serverside?

    Also, with getKey(n) you can acces ANY key in gmod


    Also, if I knew that there is way to get ASCII key values, not using the Gmod key values, Id use it. too late

    Also, what happens if you press W and A at same time, will this work too?


    edit:

    //key map cus garry is so stupid he had to use messed up values instead of the ascii codes >
    //i wanted to keep this under 50 lines :<

    LMOA, that was my problem too.
    Last edited by Unsmart; 07-20-2009 at 12:58 PM.
    New server IP: 89.238.160.17:27018
    Hologram contraptions 1 Holo contraptions 2 EGP stuff Holo minigun Holo javelin rocket launcher
    Unsmart: I doubt the intelligence of some people.
    Drunkie: Nobody could have said that any better than Unsmart.

    Unsmart: Solece, I totally did your mom yesterday
    Solece: Who hasnt

    Divran: there are more retarded people than there are clever people in this world

  9. #29
    Wirererer Snuffy's Avatar
    Join Date
    Jun 2009
    Location
    The Interwebz
    Posts
    144

    Default Re: E2 Keyboard

    Quote Originally Posted by Unsmart View Post
    E2 functions in edit can be client side too? really,as editor changes aren't just serverside?

    Also, with getKey(n) you can acces ANY key in gmod


    Also, if I knew that there is way to get ASCII key values, not using the Gmod key values, Id use it. too late

    Also, what happens if you press W and A at same time, will this work too?
    e2 functions dont work client side, i had to make a system to communicate the key values to the server. as for w and a at the same time, if you use key("w") and key("a") then they will both show up as pushed

    and as for ascii, gmod doesn't use ascii key values witch kinda made me mad.
    Mind rape...Don't do it!

    ---------------Animated Dragon Servers----------------
    please come to my friends servers they are at
    AD#1 = 69.243.56.72:27016
    AD#2 = 76.122.25.25:27016

    its mostly furrys so if u are one then come down, but if u arent then please come too, it sucks being the only non furry in a almost completely furry server.

  10. #30
    Wire Sofaking Unsmart's Avatar
    Join Date
    Dec 2008
    Location
    Belgium OR BANland
    Posts
    1,965

    Default Re: E2 Keyboard

    Quote Originally Posted by Snuffy View Post
    e2 functions dont work client side, i had to make a system to communicate the key values to the server. as for w and a at the same time, if you use key("w") and key("a") then they will both show up as pushed

    and as for ascii, gmod doesn't use ascii key values witch kinda made me mad.
    ASCII>gmod key values
    New server IP: 89.238.160.17:27018
    Hologram contraptions 1 Holo contraptions 2 EGP stuff Holo minigun Holo javelin rocket launcher
    Unsmart: I doubt the intelligence of some people.
    Drunkie: Nobody could have said that any better than Unsmart.

    Unsmart: Solece, I totally did your mom yesterday
    Solece: Who hasnt

    Divran: there are more retarded people than there are clever people in this world

+ Reply to Thread
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Sit-In Keyboard
    By Beowulf in forum Ideas & Suggestions
    Replies: 43
    Last Post: 04-17-2009, 10:52 AM
  2. E2 keyboard??
    By oenmaster in forum Expression 2 Discussion & Help
    Replies: 10
    Last Post: 01-03-2009, 01:57 AM
  3. Keyboard Changes
    By Jaded Misanthrope in forum Ideas & Suggestions
    Replies: 0
    Last Post: 04-26-2008, 12:20 PM
  4. Keyboard
    By Jowel in forum Installation and Malfunctions Support
    Replies: 2
    Last Post: 05-04-2007, 11:06 PM
  5. Keyboard app help
    By Seraphis in forum CPU, GPU, and Hi-speed Discussion & Help
    Replies: 10
    Last Post: 04-17-2007, 03:31 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