HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Camera view question

04-27-2003, 03:43 PM#1
SektorGaza
Ok I have a question about camera view.

If you played dm mod you would know what i'm talking about

How do you make the camera follow your hero, always rotating so you would see the heros back all the time, like in 3rd person shooter games??
04-27-2003, 04:03 PM#2
SektorGaza
another question related.

how do you make the view of players zoom out , so that more could be seen on their screen.

like in dimoplacy games??
04-27-2003, 04:56 PM#3
DaKaN
change the distance to target of a players curent camera to make it zoom out:

Camera - Set Camera Field Timed

change the Distance to target for a player over 0 seconds, the higher the value, the more it zooms out.


locking the rotation, use the same thing

set thier field, use a fixed value of a angle of attack (i think 335 was a good view, but i cant remember)

set the rotation to the rotation of the unit over .25 seconds (or shorter, but not 0 seconds)

use a periodic timer to repeat this every .25 seconds of game time, (.5 might work pretty good also)
04-27-2003, 05:03 PM#4
Dead-Inside
"...using regular rotation" or "... using locked rotation"
04-27-2003, 05:12 PM#5
DaKaN
when setting the cameras rotation, under Unit there is Unit Facing Angle, use that as the cameras rotation
04-27-2003, 05:17 PM#6
SektorGaza
thank you