• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Adjusting game camera

Status
Not open for further replies.
Level 9
Joined
Apr 19, 2011
Messages
447
There's a trigger action for that kind of settings.
  • Camera - Set Camera Field (Timed)
If you want to change the in-game camera, you'll have to constantly use this action over the time, because the camera can be changed and restarted with the mouse scroll (unless you lock the camera to a unit, or something like that, in those cases the mouse scroll doesn't work).

Kind Regards
 
Level 7
Joined
Dec 5, 2013
Messages
280
Its not possible to permanently change camera settings? the default camera distance is way too close
 
Level 13
Joined
Mar 24, 2013
Messages
1,105
Look for camera "distance to target." I believe that is what you're looking for. The problem is that as stated above the mouse scroll can zoom the person back in. To counteract this the typical philosophy is to perpetually set the camera to the more zoomed out view in short intervals simulating a locked feel. However you could just let the person type a command to reset the camera distance to where it should be. Alternatively pressing esc. Band numerous other types of possibilities.

Edit: maker beat me to it. Also remember to not double post!
 
Level 7
Joined
Dec 5, 2013
Messages
280
What if player uses mouse scroll?

I cant lock camera to any unit because the map is normal melee game

Isnt the field of view the correct setting? it changes the camera distance
 
Level 9
Joined
Apr 19, 2011
Messages
447
Use a periodic event, Time - Every 0.03 seconds. Then set distance to target camera field.

Do this. The mouse scroll won't mess up your camera settings if you set them in a periodic event.
And no, the field of view is not the same as the distance to target. If you increase the field of view, you're increasing the extent of the observable world, how many things around the camera you can see. But that doesn't mean you're increasing the distance of the camera target, although sometimes changing the field of view can create a zoom-like effect.

Kind Regards
 
Status
Not open for further replies.
Top