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.
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
Please log in to shout.


Members Online: jun3hong