- Joined
- Jul 19, 2010
- Messages
- 99
Okay so i have tested my Camera system that i am making and so far everything works about perfectly (Having a bit of trouble with the turning as it is a first and third person system which means it takes forever to turn regularly, i devised a somewhat assisted turning but the camera can become messed up when the unit auto acquires a target (if anyone knows how to turn off the auto targeting on a unit, you would help me so much!)). Anyways the problem lies with when the unit goes up on a hill, the camera height doesn't change, it goes through the hill and catches up with the unit on the other side. Or when the unit goes down into a river or canyon, the camera stays on top of the canyon until the unit exits the other side and catches up with the unit. Is there any way to make it so the camera height automatically adjusts to the current height of the unit? I will show my trigger below as well as the trigger for assisted turning.
(This camera system is based off of a camera system i found in the spell section, just i made it into a third person camera and chopped it up so that it actually shows the hands and weapon of the unit).
(This camera system is based off of a camera system i found in the spell section, just i made it into a third person camera and chopped it up so that it actually shows the hands and weapon of the unit).
-
Cameras
-
Events
- Time - Every 0.01 seconds of game time
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RedCamStat Equal to 1
-
Then - Actions
- Camera - Set Player 1 (Red)'s camera Distance to target to 75.00 over 0.00 seconds
- Camera - Set Player 1 (Red)'s camera Angle of attack to 350.00 over 0.00 seconds
- Camera - Set Player 1 (Red)'s camera Rotation to (Facing of (Load 1 of 5 in UnitTracker)) over 0.50 seconds
- Camera - Set Player 1 (Red)'s camera Height Offset to 80.00 over 0.00 seconds
- Camera - Pan camera for Player 1 (Red) to ((Position of (Load 1 of 5 in UnitTracker)) offset by 35.00 towards (Facing of (Load 1 of 5 in UnitTracker)) degrees) over 0.00 seconds
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RedCamStat Equal to 2
-
Then - Actions
- Camera - Set Player 1 (Red)'s camera Distance to target to 75.00 over 0.00 seconds
- Camera - Set Player 1 (Red)'s camera Angle of attack to 350.00 over 0.00 seconds
- Camera - Set Player 1 (Red)'s camera Rotation to (Facing of (Load 1 of 5 in UnitTracker)) over 0.50 seconds
- Camera - Set Player 1 (Red)'s camera Height Offset to 80.00 over 0.00 seconds
- Camera - Pan camera for Player 1 (Red) to ((Position of (Load 1 of 5 in UnitTracker)) offset by -100.00 towards (Facing of (Load 1 of 5 in UnitTracker)) degrees) over 0.00 seconds
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events