Game Development Community

Edits to the SDK not working?

by Norris Bonner · in Torque Game Engine · 02/14/2005 (7:20 pm) · 3 replies

I am new to torque and I am trying to change the angle that a character can walk up a mountain:

maxStepHeight = 80;
runSurfaceAngle = 1;


and also the max running speed:

horizMaxSpeed = 80;
horizResistSpeed = 2;
horizResistFactor = 1;


I am using VC6 and I changed these numerous amounts of time.. compiled. even changed to out rageous amounts to see if i could see a change but nothing worked. What am i doing wrong?

#1
02/14/2005 (7:42 pm)
I am still a n00b at Torque, but my guess is.

Datablock instance variable?

Maybe it has to be declared in the Datablock in TorqueSCRIPT not C++?

NOTE: I am not entirely sure, as I have only had Torque ~2 weeks now.
#2
02/14/2005 (7:52 pm)
Robert is right. To change these values you have to edit the datablock which can be found in starter.fps/server/scripts/player.cs around line 619
#3
02/14/2005 (8:05 pm)
I wasn't entirely sure, but I remember doing something similar some time ago with Tribes 2, :).