Game Development Community

Changing Code bt not changin in game

by Luke Hopkins · in Torque Game Engine · 03/27/2008 (8:55 am) · 2 replies

Ive finally got my whole engine to complie with no errors, now when i change code an rebuild the project nothing seems to change in game

E.G

Ive changed in Player.cc

PlayerData::PlayerData()
{
renderFirstPerson = false;

changed the rend to false so third person loads up first. bt nothing changes in game. I know my builds are right because i delete the previous exe's and dll build again and i get new ones. Could some1 help Please

Thank You

#1
04/19/2008 (3:20 pm)
You need to change that in the player datablock, not in source.
#2
04/19/2008 (3:29 pm)
If im not mistaken, that specific line tells the engine if the player model will be rendered in first person not if the camera will start in first person. I believe if you look in your default.bind script and find the function that changes the camera from 1st to 3rd person you could change it.