Hi since I used so many tutorials about the Starcraft 2 editor I want to give something back
How to use different camera angle / view in your map. (and how to get a working sky background)
Hit button Camera (at the top close to Regions, Units, Triggers, Dodods)
Hit Control-Key once. Your Mouse cursor will change to a turn symbol. (In germany Control is Strg (Steuerung=steering=control) it is under shift(Capital-letters-key))
Hold right mouse button and than drag the mouse. with this you change the camera angle inside the editor.
to repeat this hit Control key again and than Right-Button-Mouse-drag again.
Make the camera view in the Editor the way you want to have it in your Map when you play.
Now go to the left side and hit create camera. a camera is created with the view that you just made. now you can change the view again and create another camera.
(you can also highlight a camera and click put view to camera to change a camera view again to what you see at this moment. Or click show camera view to get the view of the selected camera.)
Now go to triggers (top of the screen button with the gearwheel)
In the left window of the trigger editor right-klick and choose new trigger. right_click on the trigger choose "rename". Name it Camera. Then click on the trigger and it appears in the right window.
In the right window click on events then press Control-w. in the new window search Key pressed, click on it and then hit OK.
Now click this new command that has appeared under events.
At the bottom of the Window there is a comand line saying if Key "none" is pressed... . hit the "none" and choose S for example and hit OK.
now click on Actions somewhere deeper below Events and hit control-w again. Now choose set camera to object and hit OK. (to do so: left side "cameras" shows only camera commands. and you can also search with the text field. "All" at the top left shows all commands)
now click on the command that has appeard under Actions.
the Command line appears at the bottem saying something like: set camera to "object" over "5" and "use target".
click "object" in the sentence, the words you can click on are of different color. Choose your camera (camera1 or camera2) and Hit OK. (maybe you have to check a different one of these round-checkbox above in that window to make your camera appear.)
then click on the Number in the command sentence and type 3 in the little text field. Hit ok. This is the time in seconds to travel from the view you have to your new camera view.
then click "use target" in the command sentence and choose "don't use target". that changes the camera to your camera but does not pan to what you really saw in the editor. so it just changes to the view angle and not to the view. (if something can not be found use the round-checkboxes (after clicking the command word) one of which says "value" for example, under one of these you will find what i describe)
Thats it. Start your map and hit the s key. Your camera should change. if you use mouse wheel it will change back again.
(Hint: The horizon of the map stays a black line it can not be changed, i think, even with "Map Bounderies" so i put some hills up at the border of the map to cover the horizon.)
To get a sky: place unit ss_spacezerglarge for player 0 somewhere on the map. (might be invisible but can be grapped with space key to have nothing on your brush and then mouse dragging a box over where you put it.) Go to data editor and go to units ss_spacezerglarge. then go down to the down left window and find "Model". Hit Table view, the first of the Buttons over the right window. Then scroll down the right window until you find "Model" (a big blue square i think). hit browse next to it. then from the window that appears choose folder Mar_sara_skybox, it opens and in the folder you pick: Mar_sara_skybox itself. Then hit ok. (You could use another skybox but they seem to be bugged.)
The Spacezerg with its model changed is already a sky background.
now go to triggers. click the melee intialization trigger in the left window. in the right window under actions go to the last command, klick it and then press control-w. and choose change camera settings (something like that). Hit OK. and set the new command to change camera far clipping to something around 20000. (to do so hit the colored words in the command line at the bottom of the window, choose what I sayid and hit OK.)
to see the sky in the editor hold right Mouse button and than mouse-wheel until the camera looks far enough to see the sky.
(Learned this spaceZerg sky idea myself from a tutorial, thanks. Anyways thanks for all the great tutorials)
Hi since I used so many tutorials about the Starcraft 2 editor I want to give something back
How to use different camera angle / view in your map. (and how to get a working sky background)
Hit button Camera (at the top close to Regions, Units, Triggers, Dodods)
Hit Control-Key once. Your Mouse cursor will change to a turn symbol. (In germany Control is Strg (Steuerung=steering=control) it is under shift(Capital-letters-key))
Hold right mouse button and than drag the mouse. with this you change the camera angle inside the editor.
to repeat this hit Control key again and than Right-Button-Mouse-drag again.
Make the camera view in the Editor the way you want to have it in your Map when you play.
Now go to the left side and hit create camera. a camera is created with the view that you just made. now you can change the view again and create another camera.
(you can also highlight a camera and click put view to camera to change a camera view again to what you see at this moment. Or click show camera view to get the view of the selected camera.)
Now go to triggers (top of the screen button with the gearwheel)
In the left window of the trigger editor right-klick and choose new trigger. right_click on the trigger choose "rename". Name it Camera. Then click on the trigger and it appears in the right window.
In the right window click on events then press Control-w. in the new window search Key pressed, click on it and then hit OK.
Now click this new command that has appeared under events.
At the bottom of the Window there is a comand line saying if Key "none" is pressed... . hit the "none" and choose S for example and hit OK.
now click on Actions somewhere deeper below Events and hit control-w again. Now choose set camera to object and hit OK. (to do so: left side "cameras" shows only camera commands. and you can also search with the text field. "All" at the top left shows all commands)
now click on the command that has appeard under Actions.
the Command line appears at the bottem saying something like: set camera to "object" over "5" and "use target".
click "object" in the sentence, the words you can click on are of different color. Choose your camera (camera1 or camera2) and Hit OK. (maybe you have to check a different one of these round-checkbox above in that window to make your camera appear.)
then click on the Number in the command sentence and type 3 in the little text field. Hit ok. This is the time in seconds to travel from the view you have to your new camera view.
then click "use target" in the command sentence and choose "don't use target". that changes the camera to your camera but does not pan to what you really saw in the editor. so it just changes to the view angle and not to the view. (if something can not be found use the round-checkboxes (after clicking the command word) one of which says "value" for example, under one of these you will find what i describe)
Thats it. Start your map and hit the s key. Your camera should change. if you use mouse wheel it will change back again.
(Hint: The horizon of the map stays a black line it can not be changed, i think, even with "Map Bounderies" so i put some hills up at the border of the map to cover the horizon.)
To get a sky: place unit ss_spacezerglarge for player 0 somewhere on the map. (might be invisible but can be grapped with space key to have nothing on your brush and then mouse dragging a box over where you put it.) Go to data editor and go to units ss_spacezerglarge. then go down to the down left window and find "Model". Hit Table view, the first of the Buttons over the right window. Then scroll down the right window until you find "Model" (a big blue square i think). hit browse next to it. then from the window that appears choose folder Mar_sara_skybox, it opens and in the folder you pick: Mar_sara_skybox itself. Then hit ok. (You could use another skybox but they seem to be bugged.)
The Spacezerg with its model changed is already a sky background.
now go to triggers. click the melee intialization trigger in the left window. in the right window under actions go to the last command, klick it and then press control-w. and choose change camera settings (something like that). Hit OK. and set the new command to change camera far clipping to something around 20000. (to do so hit the colored words in the command line at the bottom of the window, choose what I sayid and hit OK.)
to see the sky in the editor hold right Mouse button and than mouse-wheel until the camera looks far enough to see the sky.
(Learned this spaceZerg sky idea myself from a tutorial, thanks. Anyways thanks for all the great tutorials)
That was my camera view tutorial.