HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

WASD as Keyboard event Keys

02-10-2007, 08:06 PM#1
Cilla
Hey Community

in many other forums i asked about how 2 use WASD like u use the arrow keys
(not as hotkeys!!!)

in the end if found a solution which is a "bit" complicated

writing ur own natives maybe is the only solution 4 that



i know many people could need this "tool" very much
it would be another way of playing wc3 with wasd and locked kamera

due 2 the fact that my borland and c skills are not that good i asked via pm
the moderator PipeDream who set up this tutorial
http://www.wc3campaigns.net/showthread.php?t=84417
wheter he got time 2 make this tool

he told me 2 ask my question in public (what i now did)


if U would need such a tool just post in this thread how thankful u would be if PipeDream could make ths tool ;)
(otherwise ill try :S)

Cilla
02-10-2007, 09:31 PM#2
Vexorian
You barely need borland or C skills there.

You seriously need very good reverse engineering.

I don't think it is worth it. But if you want to insist go ahead.
02-10-2007, 09:48 PM#3
Cilla
i think it is worth it

using a hero locked camera and wasd 2 move would be a completely new feeling
(i tried it out with the arrow keys but the are 2 far from the otehr hotkeys^^)
02-10-2007, 11:57 PM#4
xXm0rpH3usXx
its damm worth it! but add usage of other keys aswell (so one could set up the hole keyboard in a fullscreen window :P)
02-11-2007, 03:18 AM#5
Vexorian
Nobody is saying it won't be useful.

But seriously, it is so incredibly hard that it is not worth it.
02-11-2007, 12:52 PM#6
Cilla
Quote:
Nobody is saying it won't be useful.

But seriously, it is so incredibly hard that it is not worth it.

sounds like it would take ages if i would try it

(howlong do u think would u need vexorian?)
02-11-2007, 03:56 PM#7
Alevice
ages
02-11-2007, 04:14 PM#8
Cilla
Ok ill try to do it on my own^^
02-11-2007, 10:52 PM#9
Alevice
Good luck deciphering the routines.
02-11-2007, 10:58 PM#10
Hey its X
if you do do this though then everyone would worship you. I know I would because I have a Thirp Person Shooter map that would need it.
02-12-2007, 12:01 AM#11
shadow1500
What is difficult about it exactly? If you know c++ then you can write your own native "IsAsciiKeyPressed" or something like that without problem and replace grimoire's nativepack with your compiled dll. It's not an event, and it shouldn't be, creating events will require deciphering trigger structure which would be rather difficult and useless for this purpose.

Quote:
You seriously need very good reverse engineering.
No you don't, all you need to do is to follow the tutorial, the reverse engineering part was already done by PipeDream/xttocs.

EDIT: It seems like the tutorial is a bit old, modifying the nativepack source in grimoire should be easier.
02-12-2007, 01:43 AM#12
Vexorian
Was mostly talking about adding an event and make it handle all the trigger stuff, that's what this guy asked , an event. I guess that an IsKeyPressed thing would be right enough - probably with GetLocalPlayer could work in multiplayer. And should be fine enough.
02-13-2007, 07:40 PM#13
Cilla
Iskeypressed would be indeed enough

and this would be multiplayerplayable?^^
02-13-2007, 09:09 PM#14
The)TideHunter(
Am i missing something?
Custom natives are only local arn't they?
Don't people need to add them to theyre game before playing?
Or have you guys found a way to put them into a map?
02-13-2007, 09:15 PM#15
Vexorian
Quote:
Originally Posted by Cilla
Iskeypressed would be indeed enough

and this would be multiplayerplayable?^^
I guess that would be an issue... Syncing this IsKeyPressedNative would be kind of hard.