+ Reply to Thread
Results 1 to 7 of 7

Thread: E2 Pod Functions

  1. #1
    Long Haired Hippie Dude
    Asphid_Jackal will become famous soon enough Asphid_Jackal's Avatar
    Join Date
    Oct 2008
    Location
    In a house.
    Posts
    613

    Default E2 Pod Functions

    So, I was screwing around the other day, when I noticed that you could get the keys the player was pressing with an E2. I was a little dismayed when I discovered you could only get the Attack1, Attack2, and Use keys, so I coded these functions. On a default configuration, we have
    Code:
    W = E:keyForward()
    A = E:keyLeft()
    S = E:keyBackward()
    D = E:keyRight()
    R = E:keyReload()
    Shift = E:keySprint()
    Space = E:keyJump()
    Alt = E:keyWalk()
    
    I've only tested these in Singleplayer, as I don't have a server of my own and therefore can't test Multiplayer, though I can't see why they wouldn't work. Pod functions may not be the best name for these, but it's the first thing that popped to mind.

    Questions, comments, concerns? Feel free to post about it.
    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

  2. #2
    Expressionism 2.0

    Syranide has disabled reputation Syranide's Avatar
    Join Date
    Mar 2007
    Location
    Sweden
    Posts
    4,180

    Default Re: E2 Pod Functions

    The idea is to add a proper extension for keyboard inputs, like the one ZeikJT started some time ago but never finished. It is not sustainable to add functions for every possible key.

  3. #3
    Wirezard


    Matte is a jewel in the rough Matte is a jewel in the rough Matte is a jewel in the rough Matte is a jewel in the rough Matte's Avatar
    Join Date
    Jan 2009
    Location
    Norway
    Posts
    2,094

    Default Re: E2 Pod Functions

    You mean an addon that uses the KEY_* enums, instead of the IN_*enums?
    "If anybody says he can think about quantum physics without getting giddy, that only shows he has not understood the first thing about them."
    -- Niels Bohr


  4. #4
    Wire Sofaking
    IamMcLovin will become famous soon enough IamMcLovin's Avatar
    Join Date
    Sep 2008
    Posts
    600

    Default Re: E2 Pod Functions

    Quote Originally Posted by Syranide View Post
    The idea is to add a proper extension for keyboard inputs, like the one ZeikJT started some time ago but never finished. It is not sustainable to add functions for every possible key.
    I'll see if I can do something similar to that.
    Last edited by IamMcLovin; 07-04-2009 at 01:41 PM.
    Projects:
    - E2 Holograms
    - E2 File Loading
    - E2 HUD Rendering
    - YouTube Player

    Working On:
    - My Radio
    - Zero G
    - GMedia

    <Filipe> you never know what ends up in your love hole
    Poonage - "It's not a disorder, it can be solved"

  5. #5
    Wire Noob yuriman is on a distinguished road yuriman's Avatar
    Join Date
    Feb 2009
    Posts
    17

    Default Re: E2 Pod Functions

    that would be really cool so you dont need a pod controller for some stuff

  6. #6
    Wirererer Dav1d is on a distinguished road Dav1d's Avatar
    Join Date
    May 2009
    Posts
    285

    Default Re: E2 Pod Functions

    A function like E:keyPress(S) would be useful, where E is the player and S is the key (not case sensitive.)
    For some reason wired keyboards don't register any of my keystrokes and the only way I can exit them is by typing "wire_keyboard_releaseinput" into the console.
    Maso: Solece, you haven't made anything that is worthy of anything
    Drunkie: ;agree;

  7. #7
    Wirererer Snuffy is on a distinguished road Snuffy's Avatar
    Join Date
    Jun 2009
    Location
    The Interwebz
    Posts
    138

    Default Re: E2 Pod Functions

    I have already made something like that but it can only detect your own key strokes for security reasons.http://www.wiremod.com/forum/e2-deve...-keyboard.html
    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.

+ Reply to Thread

Similar Threads

  1. Need help with the fin functions.
    By MephistoFFF in forum Expression Help
    Replies: 3
    Last Post: 07-03-2009, 12:43 PM
  2. functions
    By bobthe2lol in forum Expression Help
    Replies: 2
    Last Post: 06-24-2009, 09:22 AM
  3. E2 - CJ's functions
    By [FX]CJ[CrS] in forum Wiremod Addons
    Replies: 5
    Last Post: 04-22-2009, 12:36 PM
  4. E-2 some functions.
    By Whodunnit in forum Ideas & Suggestions
    Replies: 12
    Last Post: 03-11-2009, 05:31 AM
  5. E2: Few new functions
    By d3cr1pt0r in forum Wiremod Lua Coding
    Replies: 24
    Last Post: 02-22-2009, 10:17 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