• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Camera Help

Status
Not open for further replies.
Level 1
Joined
Mar 13, 2005
Messages
1
Hey all.

I need a little bit of help for a game I am making. It is a standard rpg-like thing, but I have hit a snag.

I am making the character controlable with the keyboard. You walk using the arrow keys and so on. I have it rigged so the camera stays right behind the character wherever he/she goes, and this part works fine. But I have a problem when I have the character walks up or down a hill. The camera does not go up and down with them, so they get out of the shot. I need a way to make the camera automatically rise and fall to match the height of the terain.

Any ideas?
 
Level 6
Joined
Jan 15, 2005
Messages
188
Simple, do this:
1. Make a region for each level of each hill/pit, then test cameras until it seems right for the angle of sight.
2. Do this with each hill/pit in the triggers:
-Events:
--Unit enters (Region)
-Conditions (Optional):
--Unit/Unit-Type is equal to (type of hero/unit or unit)
-Actions:
--Make the camera switch to the angle of degrees you tested for each hill. This will make your cameras even out with eachother. If you do not understand this, I'd gladly do it for you if you PMed me you're map.
 
Status
Not open for further replies.
Top