Mac users: how to look up / down?
by Heath Rezabek · in RTS Starter Kit · 12/01/2004 (2:34 pm) · 11 replies
It seems that pressing ctrl-mousewheel does not [for me] look upwards and downwards. are others on a Mac having any luck? [it cld be a 'ctrl-key' difference.] [shift/option/cmnd-wheel don't do it either.]
i'd also like to allow for orbiting the camera as well as panning left and right, but we'll go one step at a time...
- aqaraza
i'd also like to allow for orbiting the camera as well as panning left and right, but we'll go one step at a time...
- aqaraza
#2
- aq
12/01/2004 (3:26 pm)
No dice. is it working for any Mac folks? if nothing else, my poking around may help debugging efforts...- aq
#3
Post again if you need help figuring out how to do this and I'll post a corrected config file. (Sorry just trying to save time, if you can re-bind on your own, great. If not, I'll take the time to post the new configs.)
12/06/2004 (3:57 pm)
Heath, I thought changing the pitch (looking up / down) was set to W / S on the Mac, and changing the yaw to A / D (w/ default value parameters). But maybe we missed that pref file in the Mac update. Either way, you should be able to pull up the binds and do them yourself, it will definitely work if you re-bind it.Post again if you need help figuring out how to do this and I'll post a corrected config file. (Sorry just trying to save time, if you can re-bind on your own, great. If not, I'll take the time to post the new configs.)
#4
if there's a particular config file, i'd love to take a look and give it a try as a replacement. more than this, i'd love it if someone else on a Mac cld confirm/deny this looking up & down issue. or, it cld be that i am the only Mac RTS owner as yet... :)
12/09/2004 (4:48 pm)
I went ahead and took another look, and w/s do not move the camera; i had already re-bound them [through the Options tab] to pan forwards * back. i changed them to w/s for look up/dn, and changed the arrow keys to panning l/r and for/back, and the panning works fine but the looking up & down still don't. i do know how to rebind tthe keys using the Options panel, but don't know of any other method.if there's a particular config file, i'd love to take a look and give it a try as a replacement. more than this, i'd love it if someone else on a Mac cld confirm/deny this looking up & down issue. or, it cld be that i am the only Mac RTS owner as yet... :)
#5
12/12/2004 (1:38 pm)
Heath, you are correct, I didn't commit the Mac bindings. There isn't an options dialog to re-bind the camera pitch or yaw stuff either. You can re-bind them yourself in the config.cs files. :) Search for "ctrl zaxis" or "updateViewPitch", etc.
#6
i wasn't sure what changes i shld make to the ctrl zaxis or updateViewPitch items, as they seem already keyed to the mouse movement? i did, in game, try pressing the ctrl key while moving the mouse up and down in order to pitch, on a hunch, but this did nothing. it'd be cool if it did, though!
are these problems *not* replicated on your Mac setup when you experiment?
12/12/2004 (5:28 pm)
Alright; i did go ahead and edit this file, although it looked as though it reflected changes i had made in-game in the Options panel. either way, the rebindings i made, alas, still did not work. at the least, setting w & s for panUp and panDown had no effect.i wasn't sure what changes i shld make to the ctrl zaxis or updateViewPitch items, as they seem already keyed to the mouse movement? i did, in game, try pressing the ctrl key while moving the mouse up and down in order to pitch, on a hunch, but this did nothing. it'd be cool if it did, though!
are these problems *not* replicated on your Mac setup when you experiment?
#7
Capturing alt and ctrl keys on the Mac is a general problem in Torque, which is why I re-bound the pan and rotate controls (or, at least why I meant to ;). I'll post the re-bind when I get a chance, you can smack / remind me via email if I don't do so in the next couple days (sorry, just extremely busy and my Mac is being used atm).
12/13/2004 (2:23 pm)
Heath, I'll post the re-bindings when I get a chance.Capturing alt and ctrl keys on the Mac is a general problem in Torque, which is why I re-bound the pan and rotate controls (or, at least why I meant to ;). I'll post the re-bind when I get a chance, you can smack / remind me via email if I don't do so in the next couple days (sorry, just extremely busy and my Mac is being used atm).
#8
heath_rezabek@yahoo.com
12/14/2004 (6:51 pm)
What about the Shift key or some other instead? i don't know the ins and outs of course. it just seems odd. but, i'm used to oddities working between platform worlds, and i'm only glad that you guys are aware of them and even interested in clearing them up eventually. :) if you have this file sitting around you cld email it to me as an attachment, but i'm sure any other Mac RTS users wld like it too. no worries. no mission-critical RTS game under deadline development here. :)heath_rezabek@yahoo.com
#9
Binding it to the z axis seems to work:
My question is, where should I start looking to create the smoother movement?
05/04/2005 (6:55 am)
I am having this problem too.Binding it to the z axis seems to work:
//moveMap.bind(mouse0, "zaxis", updateOrbitDistance); moveMap.bind(mouse0, "zaxis", updateViewPitch);Binding it to other keys (for example w and s) doesnt seem to give 'smooth' movement like you get with moveforward. This is probably why the mouse axis was used, since it fakes the smooth movement.
My question is, where should I start looking to create the smoother movement?
#10
@ John - did that. Now how do I update orbitDistance?
Any help will be greatly appreciated.
12/07/2005 (4:52 am)
@Josh - was this resolved as I have just purchased the RTS kit and am unable to re-map the keys satisfactorily.@ John - did that. Now how do I update orbitDistance?
Any help will be greatly appreciated.
#11
In the course of trying to remap the mouse/keys to allow the updateViewPitch to work, I stumbled across the key bind using Home and End that do just that. Seeing that, I mapped my own keys using the same code. It's not perfect but it works and has a good level of control (even if it includes some key smashing). I'm going to look at setting up an interval so if you hold the key down, it will send a fresh update to the function.
For now though, I'm working on getting the Yaw and Pitch.
The mouse calls totally confuse me (mouse vs mouse0) and I can't seem to find a good syntax reference anywhere.
If anyone has tackled and mastered this one it would be good to hear from you. I assume there are SOME Mac developers out there using RTS and I'm thinking they've fixed this problem in some way.
Cheers.
12/08/2005 (4:42 am)
Okay, no response.In the course of trying to remap the mouse/keys to allow the updateViewPitch to work, I stumbled across the key bind using Home and End that do just that. Seeing that, I mapped my own keys using the same code. It's not perfect but it works and has a good level of control (even if it includes some key smashing). I'm going to look at setting up an interval so if you hold the key down, it will send a fresh update to the function.
For now though, I'm working on getting the Yaw and Pitch.
The mouse calls totally confuse me (mouse vs mouse0) and I can't seem to find a good syntax reference anywhere.
If anyone has tackled and mastered this one it would be good to hear from you. I assume there are SOME Mac developers out there using RTS and I'm thinking they've fixed this problem in some way.
Cheers.
Associate Anthony Rosenbaum