• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Camera Help

Status
Not open for further replies.

Dreamkin

D

Dreamkin

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?
 
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.
Back
Top