there's a map on bnet right nwo with a system exactly like what you metion you want. It's called sanctuary RPG or something like that... it's on the second page and it has three heroes, one is a zealot one's a marine and i think the other's a medic. You shoudl be able to contact him for help... but to be honest that type of camera is incredibly frustrating and it actually makes me not want to play a map like that. Camera control is a must if your game runs in a full 3d environment.
Development > Triggers
Camera - Disable Middle Mouse
- 14 posts
-
happy04 Regular Shmoe
- Battle.net
- SirNewbzAlot
- #290 NA
- Join date
- Jul 23, 2010
- Location
- United States
- Reputation
- 1
- Posts
- 219
- Last login
- May 05, 2011
-
JTG2003 Regular Shmoe
- Join date
- Aug 05, 2008
- Location
- United States
- Reputation
- 0
- Posts
- 20
- Last login
- Aug 23, 2012
-
ZeroAme Author
- Battle.net
- ZeroAme
- #686 NA
- Join date
- Apr 29, 2010
- Location
- United States
- Reputation
- 1
- Posts
- 289
- Projects
- 1
- Last login
- Apr 18, 2013
Yeah this really frustrated me when I was working on a TPS. You have to go into your data editor and change your data type to cameras and select your default camera object. On your default camera find your zoom levels and just go ahead and delete them all and your scroll wheel will now no longer affect your ingame camera.
http://i115.photobucket.com/albums/n309/Lord-Omega/camera.jpg
Last edited Aug 18, 2010 by ZeroAme -
ZeroAme Author
- Battle.net
- ZeroAme
- #686 NA
- Join date
- Apr 29, 2010
- Location
- United States
- Reputation
- 1
- Posts
- 289
- Projects
- 1
- Last login
- Apr 18, 2013
You're welcome ^-^
-
JTG2003 Regular Shmoe
- Join date
- Aug 05, 2008
- Location
- United States
- Reputation
- 0
- Posts
- 20
- Last login
- Aug 23, 2012
I got rid of all the zooms, strafes, and scrolls.
Only one small problem left. Right now I have it set so that when the player clicks the middle mouse button, it disables camera input to prevent them from moving the camera around. However if they move the mouse really fast, they can move the camera slightly over and over, just before the trigger is able to disable input. This is a small problem, but it's the last one I have and I'd really like to make this somewhat air-tight.
I don't see anything in that camera that would prevent this (thought setting strafe to 0 would fix it). Am I missing it?
-
SouLCarveRR Author
- Join date
- May 27, 2010
- Location
- United States
- Reputation
- 23
- Posts
- 2,454
- Projects
- 1
- Teams
- Last login
- Jun 17, 2013
So you can actually set the mouse wheel Zoom levels or something?
This sounds like it has some usefull functionality other then just disabling the mouse wheel changing views
Skype
KageNinpo = SNMy Libraries
DialogLeaderboard & TeamSortMy Projects
SPACEWAR Tribute
Infinite TD -
ZeroAme Author
- Battle.net
- ZeroAme
- #686 NA
- Join date
- Apr 29, 2010
- Location
- United States
- Reputation
- 1
- Posts
- 289
- Projects
- 1
- Last login
- Apr 18, 2013
Im not really sure how you could go about fixing that, sorry.
Yeah, you could technically use the data editor to set up your tps/fps camera without using triggers, only thing you would need triggers for is setting the unit for them to follow.
-
SgtFailure Regular Shmoe
- Join date
- Aug 22, 2010
- Location
- Sweden
- Reputation
- 0
- Posts
- 4
- Last login
- Oct 12, 2012
What did i miss? I am making a third person game, and whenever i scroll, it resets to normal camera :(
-
s3rius Moderator
- Battle.net
- serius
- #707 EU
- Join date
- Apr 24, 2010
- Location
- Germany
- Reputation
- 8
- Posts
- 2,317
- Projects
- 1
- Last login
- May 01, 2012
@SgtFailure: Go
Lock Camera input for the player (Camera - Lock Camera Input).
-
SgtFailure Regular Shmoe
- Join date
- Aug 22, 2010
- Location
- Sweden
- Reputation
- 0
- Posts
- 4
- Last login
- Oct 12, 2012
Quote from s3rius: Go
@SgtFailure: Go
Lock Camera input for the player (Camera - Lock Camera Input).
Ehh.... Then i can't look around anymore :P Thanks for trying
-
Vicboy Author
- Battle.net
- Vicboy
- #370 NA
- Join date
- May 04, 2010
- Location
- Philippines
- Reputation
- 7
- Posts
- 288
- Projects
- 3
- Online now!
I know I'm 2 years late, but Strafe & Forward Scale in the Data Editor of Camera fixes the middle mouse button moving problem.
- 14 posts

JTG2003 Regular ShmoeAfter many frustrating hours, I finally have a system for my camera that I like. The camera is locked to a single unit and the player can only change the yaw of the camera. However, when scrolling the mouse wheel, the player can zoom in and out, allowing them to see more than I want them to. It also mucks up the angles I set up. The player can also hold down the middle mouse button and move the camera to wherever they like.
This must be stopped!
I don't want to put on "Lock camera input" because this prevents the player from rotating around. I just want to stop them from zooming and panning.
Edit: Just tried locking input by default and unlocking it temporarily when the player tries to look around. This helps a little, but the player can still use the middle mouse functions when looking around.
Edit2: I was able to prevent the player from panning by adding a mess of actions that would lock the player input when the player pressed the middle mouse button by disabling all other triggers dealing with turning the camera. They get turned back on when the player releases the middle mouse button.
If I could just find a way to capture when a player scrolls the mouse button, I'll be all set.
Edit3: Modified the controls so that the angle of attack, distance, and height displacement are constantly reset when the player moves. The player can still zoom in and out if they scroll the mouse button while changing the camera angle. Still looking for some way to capture the mouse scroll.