Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Full keyboard control  (Read 2485 times)

0 Members and 1 Guest are viewing this topic.

TheCountJames

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
    • View Profile
Full keyboard control
« on: June 15, 2014, 11:45:25 PM »

I was wondering if anyone here could help me achieve full keyboard control in WME. Using the 3D actor's demo as a starting point, I was able to disable (comment out) the on left/right click functions. But mouse control is still enabled in the main menu as well as in-game when you highlight your character and highlight the inventory.

To sum it up nicely here's what I want to accomplish:
- A keyboard action button (eg: walk up to a wall, press a certain key and it'll display text at the bottom or prompt you to take an item).
- Transition from scene to scene without leftclicking (eg: the player has to walk on a zone and it'll transfer the player to the next area).
- Access a custom inventory screen by pressing a certain key, use left/right/up/down arrows to maneuver around.
- Select main menu options with the keyboard arrows and use the action key to select the choice.
- Disable mouse completely from showing up in the game window.

Not sure where to start with any of these. Thanks in advance. :)
« Last Edit: June 15, 2014, 11:48:32 PM by TheCountJames »
Logged

anarchist

  • Regular poster
  • ***
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 212
    • View Profile
Re: Full keyboard control
« Reply #1 on: June 16, 2014, 09:27:42 PM »

A good example project is Spank the Hero that was released inside this forum:

http://forum.dead-code.org/index.php?topic=5021.msg28596#msg28596

there is a link in that thread to the project:

http://dead-code.org/download/SpankTheHero_v0.30.zip
Logged
 

Page created in 0.098 seconds with 24 queries.