Staredit Network > Forums > SC2 Assistance > Topic: [SOLVED] Zoom In and Out Trigger
[SOLVED] Zoom In and Out Trigger
This topic is locked. You can no longer write replies here.
Jul 26 2011, 5:55 pm
By: Septhiroth  

Jul 26 2011, 5:55 pm Septhiroth Post #1



How do you make a trigger that allows all players to Zoom in and out the map?



None.

Jul 26 2011, 6:36 pm Ahli Post #2

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

The answer to your written question is:
Create a trigger and add the trigger action that zooms the camera of a player which is called "Zoom camera".

But this alone is absolutely dumb.


I guess you want more than a trigger with 1 action in the end.

So what are you really asking for?

- How can I make buttons on the player's screen that will zoom in and out, if the player clicks them?
OR:
- How can I allow the player to zoom out more with the scroll wheel or zoom-hotkeys?




Jul 26 2011, 6:44 pm Septhiroth Post #3



Question:
How can I allow the player to zoom out more with the scroll wheel or zoom-hotkeys?



Sorry that my question a bit too general. :><:



None.

Jul 26 2011, 7:02 pm Ahli Post #4

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Quote from Septhiroth
How can I allow the player to zoom out more with the scroll wheel or zoom-hotkeys?

1. You go into the Data module and open the "cameras" category.
2. You select Default Camera (this is used by default. Some terrain sets might use another camera... if your changes won't do anything, the terrain set might use another camera object.)
3. Add Entries to Zoom Levels...

It's a list with zoom levels that you scroll through. I think the order of the zoom levels should stay correct. So if you want to zoom out, you have to add new entries (or copy existing ones with ctrl + c and ctrl + v) and push them to the top of the list (index 0).
Notice that "distance" and "angle of attack" is enabled and modified in most entries. The values are increasing by 4 with each zoom level. So you might want to stay with that pattern for your added levels.

Distance is the distance and angle of attack is the viewing angle... 90 would be directly from the top.

You can modify the default zoom level, too. You have to write the index number of the default zoom there. So if you add 5 zoom levels to zoom out on the top of the list, you should write a 5 there, too.




Jul 27 2011, 12:59 am Septhiroth Post #5



I got it working. Thank you. :)



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-6-06. : 5:20 pm]
Ultraviolet -- I was kinda thinking something along these lines
[2024-6-06. : 2:23 pm]
NudeRaider -- I'll play the shadow out of you!
[2024-6-06. : 2:20 pm]
Vrael -- ooooo darker baby darker
[2024-6-06. : 2:20 pm]
Vrael -- yeah make it dark
[2024-6-06. : 2:20 pm]
Vrael -- ohhh yeah cast ur shadow right on my light bits
[2024-6-06. : 7:56 am]
Oh_Man -- It's nvidia shadowplay come on people!! get ur minds out of the gutter and join me in utopia
[2024-6-05. : 7:04 pm]
Ultraviolet -- NudeRaider Am I the only sick fuck who heard shadow play and started thinking what weird sex stuff it might be? :P
[2024-6-05. : 7:01 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol my shadowplay seems to think starcraft is diablo 4 now; i wonder if this is coz i had diablo 4 open the toher day
terrible game
[2024-6-05. : 12:47 pm]
Oh_Man -- lol my shadowplay seems to think starcraft is diablo 4 now; i wonder if this is coz i had diablo 4 open the toher day
Please log in to shout.


Members Online: lil-Inferno, Rawflesh0615, jun3hong, Ultraviolet