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.
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 haveI'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.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()
Questions, comments, concerns? Feel free to post about it.
<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
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.
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
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
that would be really cool so you dont need a pod controller for some stuff
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.
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 serversthey 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.
Bookmarks