+ Reply to Thread
Results 1 to 7 of 7

Thread: E2 Pod Functions

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

    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,504

    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 just really nice Matte is just really nice Matte is just really nice Matte is just really nice Matte is just really nice Matte's Avatar
    Join Date
    Jan 2009
    Location
    Norway
    Posts
    3,151

    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


    Wire FPGA

  4. #4
    A Hologram
    McLovin is a jewel in the rough McLovin is a jewel in the rough McLovin is a jewel in the rough McLovin is a jewel in the rough McLovin's Avatar
    Join Date
    Sep 2008
    Location
    NY US
    Posts
    1,029
    Blog Entries
    2

    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 12:41 PM.
    Filipe - you never know what ends up in your love hole
    Poonage - It's not a disorder, it can be solved
    Drunkie - vista was on the trail of complete beauty and perfection
    Omicron - cable management is for losers, and people who know what they're doing
    Drunkie - me and solece have tickets to go see justin bieber, i'm looking forward to it
    JatGoodwin - I don't normally suck dick, but when I do they call me immibis
    Drunkie - THERE IS SIMPLY NOT ENOUGH DICKS
    JatGoodwin - stand back, im going to do science

  5. #5
    Lurker yuriman is on a distinguished road 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
    Wire Sofaking Dav1d will become famous soon enough Dav1d's Avatar
    Join Date
    May 2009
    Posts
    697

    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.
    Quote Originally Posted by initrd.gz View Post
    Don't quote me though.

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

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