
Dr Jaul
Joined: Oct 29, 2006
|
Posted: May 10, 2009 08:16 PM
Msg. 1 of 7
so I am trying to make a cutscene where the camera follows a character. I am using the camera_set command but it wont work because the camera doesnt move at a constant speed. there is another command called (camera_set_relative ) that is supposed to "move the camera to the next camera point relative to the specified object" whenever I use it, it moves the camera straight down out of my level. does anyone know what this command really does? will it even help me with what I am trying to do?
|
|
|

Headhunter09
Joined: May 6, 2008
This is the truth.
|
Posted: May 10, 2009 08:19 PM
Msg. 2 of 7
did you specify the object to be followed?
anyways, if it doesn't move at a constant speed, then tweak it until it does.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: May 10, 2009 08:35 PM
Msg. 3 of 7
After looking at the command, I'm assuming what it does is that it moves the camera towards the specified camera point, while keeping it's position relative to the object. I don't really think that this will help you in what you are trying to achieve. Paste your custcene script here.
|
|
|

Dr Jaul
Joined: Oct 29, 2006
|
Posted: May 11, 2009 12:05 PM
Msg. 4 of 7
see that's the thing. I dont want to tweak it till the camera moves at constant speed because it is a pain and there has to be a better way. the people who made third person camera mod programs found a way to attach the camera to the biped. I dont know if they did it with an in game script or not but that is the kind of effect I am going for.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: May 11, 2009 06:50 PM
Msg. 5 of 7
That's an external application. The camera normally moves at a constant speed, if you set it to such. You probably missed out on a critical step. For example: (camera_set cam1 200) (sleep 200) (camera_set cam2 200) (sleep 200)
This moves at a constant speed. It's not that hard to tweak it to a constant speed. You just need to use the correct commands in the correct sequence.
|
|
|

Dr Jaul
Joined: Oct 29, 2006
|
Posted: May 11, 2009 07:22 PM
Msg. 6 of 7
yeah those are the commands I am using. when I say it doesn't move at a constant speed i mean it speeds up the further away it gets from one camera point and slows down as it approaches the next. and since the character is moving along a lengthy, non-linear path, it is going to be a pain to tweak. I was hoping there would be an easier way. the exterior programs have to synch up with the game script at some point.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: May 11, 2009 07:31 PM
Msg. 7 of 7
Put the camera points closer together. That ought to do the trick. Other than that, I can't help you.
|
|
|