How to rotate objects when you have no middle mouse button

(previously 'DEVELOPER') Private forum for registered community members. To register, please visit www.prison-architect.com/register.

Moderator: NBJeff

HowPeculiars
level2
level2
Posts: 92
Joined: Wed Sep 26, 2012 4:34 pm

How to rotate objects when you have no middle mouse button

Postby HowPeculiars » Wed Sep 26, 2012 6:06 pm

Hey, I was having trouble rotating objects on my laptop because there is currently no keyboard binding for rotation. Obviously you can plug a mouse into the laptop but I like playing in bed :lol:

So, the little work around for now is this:

1. Download and install AutoHotKey -http://www.autohotkey.com/

2. Create an AutoHotKey script file on the desktop (right click anywhere on desktop and go to "New>AutoHotKey Script"). Call the file "Prison Architect"

3. Right click the file you just created and press "Edit Script"

4. Edit the code within to read:

Code: Select all

r::MButton

This will bind "R" to the Middle Mouse Button. You can choose another character if you want. "\" may be ideal.

5.Save, then Compile the script by right clicking the script file and pressing "Compile" a new file will appear on the desktop with the same name but a different icon

6. Execute (double click) the script before you launch the game and your button should work to rotate objects.

Don't forget to end the script process in the taskbar (bottom right) in the system tray when you are done playing or the button you chose will continue to act as a Middle mouse button
majormauser
level0
Posts: 6
Joined: Wed Sep 26, 2012 4:05 pm

Postby majormauser » Wed Sep 26, 2012 7:04 pm

jelco wrote:I concur. In my case the Logitech drivers are very picky about when it sends normal middle-click signals or just Logitech gibberish to applications, making rotation a bit like Russian roulette.

I suggest the standard option of using , and . to rotate counter-clockwise and clockwise respectively. And while you're at it, make Q en E zoom in and out. :)

Jelco



How about all the Mac Laptops without a Middle mouse button?
Kinsmir
level0
Posts: 2
Joined: Wed Sep 26, 2012 4:29 pm
Location: Netherlands

Postby Kinsmir » Wed Sep 26, 2012 7:10 pm

majormauser wrote:
jelco wrote:I concur. In my case the Logitech drivers are very picky about when it sends normal middle-click signals or just Logitech gibberish to applications, making rotation a bit like Russian roulette.

I suggest the standard option of using , and . to rotate counter-clockwise and clockwise respectively. And while you're at it, make Q en E zoom in and out. :)

Jelco



How about all the Mac Laptops without a Middle mouse button?


The button for OSX is "alt (option) + left click"
Last edited by Kinsmir on Wed Sep 26, 2012 7:19 pm, edited 1 time in total.
User avatar
catdevnull
level1
level1
Posts: 13
Joined: Wed Sep 26, 2012 3:59 pm

Postby catdevnull » Wed Sep 26, 2012 7:14 pm

Kinsmir wrote:
The button for OSX is "alt + left click"


You sir - are a genius.

Was playing on my PC, moved onto my Mac laptop and got stuck at building my first door....
Trett
level0
Posts: 3
Joined: Wed Sep 26, 2012 9:55 pm

Postby Trett » Thu Sep 27, 2012 9:26 am

Thanks for this - it's been years since I've even seen a mouse with a middle button.
User avatar
Finnboghi
level0
Posts: 5
Joined: Fri Aug 12, 2011 3:59 pm

Postby Finnboghi » Thu Sep 27, 2012 3:37 pm

The mouse wheel click is the middle mouse button.

That said, I also tried playing on a laptop at first. Had to design all of my buildings and entrances so the doors would be horizontal. Made for an interesting looking prison.
Jac
level0
Posts: 1
Joined: Thu Sep 27, 2012 8:13 pm

Postby Jac » Thu Sep 27, 2012 8:30 pm

Thanks for the tip - I'll be mainly playing on a laptop so was getting worried for a bit! Hopefully they'll stick some keyboard shortcuts in soon.
cyberis
level0
Posts: 9
Joined: Wed Jan 28, 2009 2:51 am
Location: Sneaking Up Behind You

Postby cyberis » Fri Oct 19, 2012 6:13 am

I have a Microsoft Mouse 3900 with a laptop running windows 7. Everytime I click the middle mouse button it goes to the task switcher short cut no matter what application I am in so the middle mouse button/mouse wheel is useless for rotation. I have no idea how to keep that from happening.
Cyberis running...
cyberis
level0
Posts: 9
Joined: Wed Jan 28, 2009 2:51 am
Location: Sneaking Up Behind You

I Hate Intellipoint

Postby cyberis » Fri Oct 19, 2012 8:06 am

cyberis wrote:I have a Microsoft Mouse 3900 with a laptop running windows 7. Everytime I click the middle mouse button it goes to the task switcher short cut no matter what application I am in so the middle mouse button/mouse wheel is useless for rotation. I have no idea how to keep that from happening.


It turns out that the version of Intellipoint that gets installed on Windows 7 when I plug in my nifty Microsoft Mouse 3900 sets the middle button/click wheel to some stupid default that messes any application up. So from the mouse control panel I just changed the default (Flip) back to the sensible option of "Middle-Click" and now the I can rotate objects.
Godzil
level0
Posts: 6
Joined: Sat May 15, 2010 10:59 pm

Postby Godzil » Wed Oct 24, 2012 11:54 am

What could be done, it auto rotation, if you try to place something that goes on a wall (like a window) instead of placing it in the roatation the user select, it could be auto rotated to match the wall.
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Wed Oct 24, 2012 2:13 pm

Godzil wrote:What could be done, it auto rotation, if you try to place something that goes on a wall (like a window) instead of placing it in the roatation the user select, it could be auto rotated to match the wall.

The problem with that is that most objects in the game don't go on walls, nor do they have an obvious "correct" orientation.

xander
crummett
level2
level2
Posts: 110
Joined: Wed Sep 26, 2012 7:04 pm
Location: United Kingdom
Contact:

Postby crummett » Wed Oct 24, 2012 4:58 pm

xander wrote:
Godzil wrote:What could be done, it auto rotation, if you try to place something that goes on a wall (like a window) instead of placing it in the roatation the user select, it could be auto rotated to match the wall.

The problem with that is that most objects in the game don't go on walls, nor do they have an obvious "correct" orientation.

xander


youre not wrong. its hard to tell sometimes if im going to place an oven against the wall the wrong way round (for example)
User avatar
koshensky
level3
level3
Posts: 407
Joined: Tue Dec 27, 2011 7:57 pm
Location: Cornwall

Postby koshensky » Wed Oct 24, 2012 5:19 pm

xander wrote:
Godzil wrote:What could be done, it auto rotation, if you try to place something that goes on a wall (like a window) instead of placing it in the roatation the user select, it could be auto rotated to match the wall.

The problem with that is that most objects in the game don't go on walls, nor do they have an obvious "correct" orientation.

xander


This was the most horrifically annoying thing about Theme Hospital. Try placing a large object like a bed in the ward and BAM it rotates. No, I want it that way. BAM. But... Now I can only fit 2 beds in rather than 3. Fuck it, I'll just rebuild my entire room just to fit that one bed in the way I wanted it.
User avatar
paktsardines
level5
level5
Posts: 1752
Joined: Mon Oct 01, 2012 11:10 am
Location: Australia

Postby paktsardines » Wed Oct 24, 2012 7:01 pm

Um.. hm.... maybe if we could rotate the prison instead...
User avatar
kadawg13
level1
level1
Posts: 15
Joined: Sat Sep 29, 2012 9:52 am
Location: Kalamazoo

Postby kadawg13 » Thu Oct 25, 2012 8:26 am

Finnboghi wrote:The mouse wheel click is the middle mouse button.

That said, I also tried playing on a laptop at first. Had to design all of my buildings and entrances so the doors would be horizontal. Made for an interesting looking prison.


LOL, sorry but that really got me..... I'd like to see a picture of that one :D

Return to “Community Members”

Who is online

Users browsing this forum: No registered users and 1 guest