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.
[09:53 am]
Moose -- Apos
Apos shouted: Did my :wob: below get eaten?
yes I was playing with the parser lmao
[07:53 am]
Zycorax -- :hurr: :wob:
[01:29 am]
Apos -- Did my :wob: below get eaten?
[09:52 pm]
Apos --
[01:13 pm]
Oh_Man -- NimoStar
NimoStar shouted: yes, all animations for protoss and zerg should be there, unless I missed any
daymn, impressive
[2026-8-14. : 12:03 pm]
NudeRaider -- define "completely fucked" - could also be a good thing :teach:
[2026-8-14. : 4:23 am]
NimoStar -- yes, all animations for protoss and zerg should be there, unless I missed any
[2026-8-14. : 12:43 am]
Moose -- Dem0n
Dem0n shouted: Moose, you ever go to sleep knowing that you're completely fucked for the next day? I do it every night.
tbh
[2026-8-13. : 4:20 pm]
Oh_Man -- did you give all animations for researching/recruiting buildings for protoss and zerg?
[2026-8-13. : 1:52 pm]
NimoStar -- prerelease of improves 1.16.1
Please log in to shout.


Members Online: jun3hong, lifebot