(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Modding > World Editor Help Zone

World Editor Help Zone Need help with Blizzard's World Editor? Ask general questions about its features and use in this forum. README!

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 06-03-2007, 10:12 PM   #1 (permalink)

User
 
Join Date: Oct 2004
Posts: 12

-BlackKnight- is an unknown quantity at this point (0)


Question Binding custom keys to arrow-keys?

Hi, not sure if this is the right place for this but,

is it possible, either by triggers, script or any other means to bind the keys
ASDW to the arrow-keys, up, down left and right?

if not, any solution to get the arrow-key functionality (detection of key-press and key-release) with the keys ASDF?

The point is that I want to create an arrow-key controllable unit with access to other short-cut keys near the movement keys.
Also planning on using mouse for something else, so the other hand is busy :S

Thanks for any replies.
-BlackKnight- is offline  
Old 06-03-2007, 10:53 PM   #2 (permalink)
 
operator's Avatar

User
 
Join Date: Feb 2006
Posts: 1,680

operator is on a distinguished road (78)operator is on a distinguished road (78)


The only way to do that is having four dummy abilitys, with hotkeys, ASDW. So, when a unit cast the ability, say W, you will make a trigger that will order the unit to move forward
__________________
This post is written by

~Operator
____
operator is offline  
Old 06-04-2007, 12:20 AM   #3 (permalink)
 
Gost's Avatar

Map Maker
 
Join Date: Jan 2007
Posts: 444

Gost has little to show at this moment (35)Gost has little to show at this moment (35)Gost has little to show at this moment (35)Gost has little to show at this moment (35)


I could probably make up a test map for you with what operatore said in a little bit.
__________________

Vote For the hive (www.hiveworkshop.com)!
Gost is offline  
Old 06-05-2007, 12:07 AM   #4 (permalink)

User
 
Join Date: Oct 2004
Posts: 12

-BlackKnight- is an unknown quantity at this point (0)


Hmm I think I know what you mean. That would certainly make the unit move, but is it possible to detect when the user release the key?

Because the whole idea is that the unit will start moving when the key is pressed, and stop moving when released.

If thats possible to do with the dummy-abilities, I would be very gratefull for a test map.

Edit: I have noticed the CustomKeys.txt thing in warcraft3's root folder that lets you bind custom keys to almost anything, but havent seen any option to bind it to 'camera scroll' that is the arrow-keys functionality in normal games.
-BlackKnight- is offline  
Old 06-05-2007, 08:42 AM   #5 (permalink)

Kami-sama
 
Join Date: May 2007
Posts: 133

Codexx has little to show at this moment (3)


Only the arrow keys will work properly.

But that requires only basic triggers, and you can detect when it's released.

I wanted to do the same thing, but I'll just switch it to the arrow keys. It should be find unless you absolutely need the arrow keys for something.
Codexx is offline  
Old 06-08-2007, 12:24 AM   #6 (permalink)

User
 
Join Date: Oct 2004
Posts: 12

-BlackKnight- is an unknown quantity at this point (0)


Its not that I need the arrow keys for something, its that I need a bunch of extra keys to be next to them.

Picture an example map where you move with WASD, use abilities with QERTFG etc. and aim+attack with mouse. Not a fps, but a kind of 3rd person shooter. The point is to have access to keys for movement, abilities and mouse at the same time.

I have seen scripts where they register arrow key usage, but dont really understand much of it. Just need to know that that functionality is possible to get before starting :P. Seems I have to start learning scripts to find out.
-BlackKnight- is offline  
Old 06-08-2007, 02:42 AM   #7 (permalink)

Kami-sama
 
Join Date: May 2007
Posts: 133

Codexx has little to show at this moment (3)


I don't think you can do aim and attack with the mouse anyways. If you could it'd almost definitely have been a part of Tricky's Sniper system.

I'm making a FPS game and I've just decided to move the character and aim the sniper with arrow keys while the mouse handles everything else. RTS games by default are mainly point and click, and keyboard hotkeys to speed tihngs up for the pro players.

You can always assign abilities to the number pad. It'll be a comfortable set-up if the user slides the keyboard over a bit.

If some genius figures out how to use the WASD keys for movement, that'd be great. But the world editor has a ton of limitations. You can complain all you want but some people will only tell you they'd rather have a super limited system than one with tons of bugs and glitches.
Codexx is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Arrow keys Trigger Finallegacy World Editor Help Zone 3 09-02-2007 05:12 PM
Camera and Arrow Keys. Black Mamba World Editor Help Zone 6 08-08-2007 06:24 AM
Arrow Keys Movement Healingpoison World Editor Help Zone 9 09-10-2006 01:15 PM
arrow keys movement CMEPTb Map Development 10 09-20-2004 06:52 AM
Arrow keys movement Leinad Map Development 7 08-26-2004 02:44 AM

All times are GMT. The time now is 06:24 AM.






Your link here 
Replica Watches Guide | Bankruptcy | Bankruptcy | Mortgage insurance | Internet Advertising
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle