pilau
November 16th, 2006, 10:50
Hi everybody, I'm new here, but don't worry, I did my homework 
Thing is, you see, there's this racing game called FlatOut 2, which I would like to make a camera view mod for it. The camera view mod would change the camera direction from straight forward (te default view when you race) to the right or to the left, depends on what key you hold.
The program itself is easy to make, with a trainer kit or something similar. What I need though is to know HOW can I change the camera direction while the game is running a race. Now, I have a sketched idea as to how to do this:
The cameras for each car are specified in a car-specific cameras.ini file, which is loaded at the begining of each race. It's defined as X,Y,Z values for position of the cam, and X,Y,Z values of the camera target. What I need to change is the target. Here's an example:
So, I need to alter the first value of the TargetFrames array, which is the left-to-right spectrum. What I had in mind is that the values are stored in the memory somewhere, but how do I know where to run a trace? Maybe you have other ideas as to how to acomplish this? Please, this is very important for me. Thank you very very much for reading this ultra-long post.

Thing is, you see, there's this racing game called FlatOut 2, which I would like to make a camera view mod for it. The camera view mod would change the camera direction from straight forward (te default view when you race) to the right or to the left, depends on what key you hold.
The program itself is easy to make, with a trainer kit or something similar. What I need though is to know HOW can I change the camera direction while the game is running a race. Now, I have a sketched idea as to how to do this:
The cameras for each car are specified in a car-specific cameras.ini file, which is loaded at the begining of each race. It's defined as X,Y,Z values for position of the cam, and X,Y,Z values of the camera target. What I need to change is the target. Here's an example:
Code:
PositionFrames=
{
[1]=
{
Offset={0.000000, 1.469554, -4.052471},
},
},
TargetFrames=
{
[1]=
{
Offset={-0.000060, 0.490472, -0.011074},
},
So, I need to alter the first value of the TargetFrames array, which is the left-to-right spectrum. What I had in mind is that the values are stored in the memory somewhere, but how do I know where to run a trace? Maybe you have other ideas as to how to acomplish this? Please, this is very important for me. Thank you very very much for reading this ultra-long post.