im currently working on a Campaign called Hendrik's Diaries. And as soon as i started to work, Problems occured :-) So i have 2 Questions to you, i hope you can help me with getting this to work.
Problem 1: I want to make a Camera rotating around a fixed point in a specified angle, radius, distance and movement Speed.
To descibe the situation more accurate i have drawn this image:
The red dot represents the Unit / Part of the Map i want to view
The black dotted line is the Distance
and the blue circle should represent the Waypoints for the Camera
So do you have any idea to make this work?
Problem 2:
I have created a Region with a lot of Colonists / Civilians in it. I want to make the Map more living by giving them random points to move from time to time. I thought is solve this problem by the following. Select every unit in Region and do Action: Move to a Random Point in Region. Now every unit gets the order to move to the same point. How can i select only random 20 units out of 100 or something to do the move-command?
I do not know enough about camera's, but about problem #2.
There is an loop called: "For Each Unit in Unit Group" in the section Unit Group.
Then click on (default) Last created units, then search for: "Units in Region Matching Condition".
You can choose which region and other stuff. You can even set a maximum number of units.
The only thing you need to do is, make a (local) variable. To temporarily store the unit currently within the loop.
It should look like something like this: (See attachment)
Okay, but Variables are very new for me, so i guess i cant follow your instructions :-( Damn. I dont see any connection to the "random-factor" in your Trigger. Can maybe anyone else explain this for me to understand?
What you want to do is make a periodic trigger that set the camera's rotation +180 degrees.
Ex:
Events: Timer - Every X seconds of Game Time
Conditions:
(Use Apply camera object property trigger here)
Actions: Camera - Apply camera object ROTATION ((Current Camera yaw of player 1) + 180) for player 1 over X seconds with Existing Velocity and 0% deceleration.
Ah thank you! now i got it! Thank you very much! But how can i increase the Degree by +1 steps? the only value i can set is a number without a + in front of it.
Does anyone know if there are planet-animations or movies of Planets in stock in SC2? I have to play a movie in a Dialog to go further. Does anyone have Answers to this?
Thanks very much in advance :)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello my Friends!
im currently working on a Campaign called Hendrik's Diaries. And as soon as i started to work, Problems occured :-) So i have 2 Questions to you, i hope you can help me with getting this to work.
Problem 1: I want to make a Camera rotating around a fixed point in a specified angle, radius, distance and movement Speed.
To descibe the situation more accurate i have drawn this image:
http://img166.imagevenue.com/img.php?image=076463768_camera_122_567lo.jpg
So do you have any idea to make this work?
Problem 2:
I have created a Region with a lot of Colonists / Civilians in it. I want to make the Map more living by giving them random points to move from time to time. I thought is solve this problem by the following. Select every unit in Region and do Action: Move to a Random Point in Region. Now every unit gets the order to move to the same point. How can i select only random 20 units out of 100 or something to do the move-command?
Thanks in advance! I really appreciate your Help!
I do not know enough about camera's, but about problem #2. There is an loop called: "For Each Unit in Unit Group" in the section Unit Group. Then click on (default) Last created units, then search for: "Units in Region Matching Condition". You can choose which region and other stuff. You can even set a maximum number of units. The only thing you need to do is, make a (local) variable. To temporarily store the unit currently within the loop. It should look like something like this: (See attachment)
Okay, but Variables are very new for me, so i guess i cant follow your instructions :-( Damn. I dont see any connection to the "random-factor" in your Trigger. Can maybe anyone else explain this for me to understand?
Thanks in advance.
can no one else help? :-(
What you want to do is make a periodic trigger that set the camera's rotation +180 degrees.
Ex:
Events: Timer - Every X seconds of Game Time
Conditions:
(Use Apply camera object property trigger here)
Actions: Camera - Apply camera object ROTATION ((Current Camera yaw of player 1) + 180) for player 1 over X seconds with Existing Velocity and 0% deceleration.
Okay this seems to be helpful :D But my Problem now is, that i dont find the "Apply Camera Object ROTATION" anywhere. Am i blind or something?
As i said, the trigger used is in the camera category and called "Apply Camera Property"
Ah thank you! now i got it! Thank you very much! But how can i increase the Degree by +1 steps? the only value i can set is a number without a + in front of it.
Does anyone know if there are planet-animations or movies of Planets in stock in SC2? I have to play a movie in a Dialog to go further. Does anyone have Answers to this?
Thanks very much in advance :)