mthmob Posted February 24, 2010 Share Posted February 24, 2010 Hi and first of all thx for this great project it has enabled me to play bg2 on my phone. Small problem i ran into however, since im on a phone (N900), i can't right click with mouse. And since gemrb dosent have f.ex. "A" for attack shortcut in Planescape Torment, i cant even get out of the first room, when starting the game So is there any easy way to add such a shortcut? Link to comment
Avenger Posted February 24, 2010 Share Posted February 24, 2010 Isn't there an attack button on the gui? Anyway, i guess you got the source, just look at GameControl.cpp Go to near line 1000, where you see a series of switch/cases. Add the following case: case 'a': target_mode = TARGET_MODE_ATTACK; break; This will assign the 'a' key to change the cursor to attack mode. Untested, crude, probably needs more checks, but should work. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.