For a forum that prides itself on trying new things, for the love of all that is novel and interesting, please can we have a new QotM? - Krill

Create an account  

 
hotkeys and mousewheel

added the following hotkeys and mousewheel features:

global:
=======
C,debugger

mainscreen:
===========
a,armiesscreen
b,build city/road
c,citiesscreen
d,done
e,meld
g,gamescreen
m,magicscreen
o,patrol
s,spellscreen
u,purify
w,wait
space,next round
keypad,move units
keypad5,center current unit
escape,deselect current stack without selecting next one

mousewheel,scroll unitstacks
middle button in map,deselect current stack without selecting next one
middle button on unit,single select target unit
ctrl down,scroll units includes inactive units

cityscreen:
===========
mousewheel,scroll through cities
arrows,scroll through cities
ctrl down,scrolling is unlimited
keypad+,+1 farmer
keypad-,-1 farmer
b,buy
c,change production
o,exit to mainscreen
escape,exit to mainscreen
return,exit to mainscreen
u,exit to mainscreen and select units

changeproductionscreen:
=======================
mousewheel,scrolls through buildable items
o,ok
enter,ok
c,cancel
escape,cancel

armiesscreen:
=============
mousewheel,scrolls list
arrow up/down,scroll list
keypad+-,scrolls list

1-6,hero 1-6 info
enter,exit to mainscreen
o,exit to mainscreen
escape,exit to mainscreen
i,items

itemsscreen:
============
mousewheel,alchemy
a,alchemy
1-6,hero 1-6 info
o,ok
enter,ok
escape,ok

alchemy:
========
o,ok
enter,ok
escape,cancel
c,cancel
middle mouse button,toogle
arrows up/down,toogle
arrows left/right,change amount - increase maximum
mousewheel,change amount - increase maximum
ctrl down,amount changes only by 1 each click

magicscreen:
============
a,alchemy
o,ok
enter,ok
escape,ok

citiesscreen:
=============
mousewheel,scrolls list
arrow up/down,scroll list
keypad+-,scroll list
o,ok
enter,ok
escape,ok

gamescreen:
===========
o,ok
enter,ok
escape,ok
dance!
Reply

Much appreciated. Did you implement through XML so users can change it in the future to fit their personal preferences? More importantly, let the game settings allow changes of hotkeys like in Age of Empires 2. (I know that’s beyond replication of MOM goal)
Reply

we have MoM, so i don't really need a MoM clone without any additional features. to me it is important to have better usability, that's why i'm working on that. it's also the most common weak point among free games.

but i don't think hotkey moddability is needed for a turn based game. i never had the desire to change MoM hotkeys. i just wished there were some more and mousewheel support. i rather spend the time adding more hotkey and wheel features than making them moddable.
dance!
Reply

HOtkey moddability should be easy to implement after dance is done. If the community thinks it is needed, we can put it in with little hassle later.
Reply

adding them to the xml (now or later doesn't matter) means creating a separate entry for each hotkey in each screen and then linking this to the screen function. i suppose i'm less than halfway done with hotkeys (and won't be finished until we have added all game features), so that will be alot really. i'd rather add additional hotkeys, that do the same as existing ones, if there's a need and no conflicts.

but wel'll see =) there's so many things we could/should do, and we can't do all at the same time... i'd also like to start adding help functions (like right-click help texts)
dance!
Reply



Forum Jump: