HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Camara follows unit (mmorpg style)

05-02-2007, 06:06 PM#1
SinisterX
I've been playing around with the camara triggers today and i've done some interesting stuff, some choppy some not.. but i couldnt get what i wanted.

Is it possible to make the Camara follow "a unit" at a constant lower angle. In other words have the camara follow the unit always from behind slightly above ground level..

The goal is to create a camara like in MMORPGs.
05-02-2007, 11:08 PM#2
substance
Yes.

This has been done in quite a few maps. Search around for 'thrid person view' and try to get an open source map.
05-02-2007, 11:44 PM#3
Timmay
Trigger:
Collapse Events
Time - Every 0.10 seconds of game time
Collapse Actions
Camera - Set Player's camera Rotation to Facing of Unit over 1.00 seconds
Camera - Lock camera target for Player to Unit, offset by (0.00, 0.00) using Default rotation
Camera - Set Player's camera Angle of attack to Angle (try somewhere in the 300's) over 0.10 seconds
Camera - Set Player's camera Distance to target to Distance (experiment around with different values) over 0.10 seconds
Camera - Set Player's camera Height Offset to Offset (experiment around with different values) over 0.10 seconds
05-03-2007, 04:04 AM#4
SinisterX
Thanks thats all i need to know. All now if i want to rotation towards the back of the unit to be slower (thus allowing to see the front of the unit for a few secs.. or 1) I'll either make the refresh slower.. or a separate trigger for that.

Cheers.