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:41 pm]
Ultraviolet -- just sent you a message on Discord. I suspect you're probably trying to change unit speeds for units that don't use flingy.dat for movement (like any units that walk instead of hovering/flying). You can change their movement to flingy, but they unfortunately look more like they're gliding than walking when you do that.
[07:31 pm]
Symmetry -- EE2, I've been using setdatfile successfully for units.dat and weapons.dat but the flingy changes don't seem to happen
[05:25 pm]
Ultraviolet -- in EE2 you just open DatEdit, go to the flingy tab, and make whatever changes you want. Though if you want to do dynamic shit, you have to use the trigger editor with the setdatfile action. And of course you have to inject your changes when done. Can give more specific troubleshooting advice if you provide more details
[05:20 pm]
Ultraviolet -- Symmetry
Symmetry shouted: why can't I seem to make eud editor change flingy.dat D:
Are you using EE2 or EE3?
[04:57 pm]
Symmetry -- wdym
[02:24 pm]
Apos -- :wob:
[04:16 am]
NudeRaider -- files in c:\program files\ are protected
[2026-7-11. : 8:11 pm]
Symmetry -- why can't I seem to make eud editor change flingy.dat D:
[2026-7-11. : 4:33 pm]
Ultraviolet -- :wob:
[2026-7-10. : 11:00 pm]
Vrael -- :wob:
Please log in to shout.


Members Online: Heinermann, Ultraviolet, Symmetry, IskatuMesk