For the sake of building a map at the appropriate scale, I need to recompile the following changes:
1. Increase movement speed by 200% to 400%.
2. Move the camera height down to 1m from the floor.
I've compiled the R611 suite and have gotten the tools and game functioning. I have even made minor changes to HumanPlayer.cpp in the Deathmatch/Code folder and successfully recompiled it, but when I play the game the changes do not appear to be applied. What I changed,
Code: Select all
const double VelX =12000.0*LookupTables::Angle16ToSin[m_Heading]; // 6000 == Client.MoveSpeed
const double VelY =12000.0*LookupTables::Angle16ToCos[m_Heading]; // 6000 == Client.MoveSpeed
I figured that should double the movement speed, but no difference.
For the camera height, I was looking at the following code and I just couldn't make sense of the comment; I don't know what it's trying to tell me, so I don't understand what the values mean, so I can't change the camera height.
Code: Select all
BoundingBox3dT(Vector3dT( 400.0, 400.0, 100.0), // Roughly 32*32*72 inches, eye height at 68 inches.
Vector3dT(-400.0, -400.0, -1728.8)), // 68*25.4 == 1727.2
I am probably in over my head here, but these two changes are really the most important first step to building the game, so I need to figure them out.
For a bit of background: the game is about whooshing around really quickly, not as a person, but as a little energy being that takes on different tank-like shapes. Ultimately, I would like the camera position to be slightly third person, locked directly over the "vehicle". Having a low camera height increases the illusion of speed and everyone loves to go fast, right?!