+ Reply to Thread
Results 1 to 7 of 7

Thread: E2 Pod Functions

  1. #1
    Wire Sofaking Asphid's Avatar
    Join Date
    Oct 2008
    Location
    In a house.
    Posts
    1,023

    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 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's Avatar
    Join Date
    Mar 2007
    Location
    Sweden
    Posts
    4,573

    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
    Developer Matte's Avatar
    Join Date
    Jan 2009
    Location
    Norway
    Posts
    3,109

    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
    ◕␣◕ McLovin's Avatar
    Join Date
    Sep 2008
    Location
    Batman, Turkey
    Posts
    2,323
    Blog Entries
    3

    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 McLovin; 07-04-2009 at 01:41 PM.
    Anticept - HP you are terrible at trolling. Always have been. Leave it up to the pros like Jat.
    Black Phoenix - Actually cunt goes into bullshit. Bullshit does not fit in cunt.
    Drunkie - Logically, Jat Goodwin must be a fist pumping guido.

  5. #5
    Wire Noob yuriman's Avatar
    Join Date
    Feb 2009
    Posts
    23

    Default Re: E2 Pod Functions

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

  6. #6
    ส็็็็็็็็็็็็็็็็ส็็ ็็็็็ Dav1d's Avatar
    Join Date
    May 2009
    Posts
    1,114

    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.

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

    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 2 Discussion & Help
    Replies: 3
    Last Post: 07-03-2009, 12:43 PM
  2. functions
    By bobthe2lol in forum Expression 2 Discussion & Help
    Replies: 2
    Last Post: 06-24-2009, 09:22 AM
  3. E2 - CJ's functions
    By [FX]CJ[CrS] in forum Wiremod Addons & Coding
    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 Addons & 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
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots