Panning issues on Mac
by Ryan Neighbour · in RTS Starter Kit · 06/21/2005 (1:04 pm) · 3 replies
I know there're other threads about this but I'm not a big fan of gravedigging on forums so here goes:
I recently purchased both Torque and the RTS pack and primarily develop on my PowerBook and I'm having troubles with looking up and down. I've seen in other topics that ctrl commands don't like torque on mac so I rebound them to w (pan up) and s(pan down) and it's still not working. I did this in the scripts which didn't work, then I did it in the demo and that didn't work either. I'm still new to torque so I may have missed something (for scripts you don't have to do anything other than place them in the right place in the folder structure correct?) or might just be a little blind.
here're my rebinds:
moveMap.bind(keyboard, "w", panUp);
moveMap.bind(keyboard, "s", panDown);
If anyone has encountered this and fixed it or has some ideas I could really use some help.
Thanks in advance,
Ryan
I recently purchased both Torque and the RTS pack and primarily develop on my PowerBook and I'm having troubles with looking up and down. I've seen in other topics that ctrl commands don't like torque on mac so I rebound them to w (pan up) and s(pan down) and it's still not working. I did this in the scripts which didn't work, then I did it in the demo and that didn't work either. I'm still new to torque so I may have missed something (for scripts you don't have to do anything other than place them in the right place in the folder structure correct?) or might just be a little blind.
here're my rebinds:
moveMap.bind(keyboard, "w", panUp);
moveMap.bind(keyboard, "s", panDown);
If anyone has encountered this and fixed it or has some ideas I could really use some help.
Thanks in advance,
Ryan
About the author
Just started an M.Sc. in Electrical and Computer Engineering during which I'll be investigating the use of Agent Based Models in the field of Epidemiology. Aside from that, trying to get my first indie project off the ground and having a blast doing it.
#2
Keybinds should be modified in the defaults file, but the code will first load this file, and then over-ride all the settings if a config.cs file exists. config.cs is auto-generated by the executable once the player has run the game once, and it always stores what the player has set while playing the game.
The short answer is to change it in your defaults.keybinds.cs, and then delete your config.cs and config.cs.dso on the client side. Then, your default keybinds should work.
06/27/2005 (7:33 am)
As a developer, the method for changing default keybinds is a bit frustrating...it's designed to work properly for players on a released product, not during development.Keybinds should be modified in the defaults file, but the code will first load this file, and then over-ride all the settings if a config.cs file exists. config.cs is auto-generated by the executable once the player has run the game once, and it always stores what the player has set while playing the game.
The short answer is to change it in your defaults.keybinds.cs, and then delete your config.cs and config.cs.dso on the client side. Then, your default keybinds should work.
#3
06/30/2005 (12:29 pm)
Wow, that's a lot more complicated than I thought it would be. Thanks for the info Stephen.
Torque Owner Ryan Neighbour
Default Studio Name