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.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: Ultraviolet