• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

How to make Third Person Camera.

Level 6
Joined
Aug 13, 2006
Messages
181
How to make a Third Person Camera to follow a unit.


The unit
Set out your unit on the map like this:
ss_1.JPG



Set out the camera.
Set out your camera near the unit in
the position that you like. I placed it like this:
ss_2.JPG



The triggers.
First edit the Map initialization trigger like this:
  • Map Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • -------- Third Person Camera Settings --------
      • Camera - Apply Third Person Camera <gen> for Player 1 (Red) over 0.00 seconds
      • Camera - Lock camera target for Player 1 (Red) to Paladin 0000 <gen>, offset by (0.00, 0.00) using Default rotation
  • Third Person Camera
    • Events
      • Time - Every 0.10 seconds of game time
    • Conditions
    • Actions
      • Camera - Set Player 1 (Red)'s camera Rotation to (Facing of Paladin 0000 <gen>) over 0.10 seconds

Test the map.
Now just test the map to see if it works.
This kind of camera style is very useful for RPG's,
WoW maps and such. Good testing and modding!

Regards
//KeBAbmeat
 
Last edited:
Level 2
Joined
Jun 23, 2007
Messages
6
to make it unlock-able do
Events
time - periodic event every 0.01 seconds of game time
Conditions
Actions
Camera set (Player 1)'s camera Rotation to (Facing of "unit" ) Over 0 seconds
 
Top