Game Development Community

Players movement speed & Adding a new player

by Sam.E · in Torque 3D Professional · 12/15/2010 (12:18 am) · 2 replies

I have been looking around all the .cs files I have from the FPS example and haven't been able to find anything about the player's speed. I would like to change Gideon's movement speed to a faster/slower one. Is this possible with the binary version?

This also brings me to my next question how would I go about adding a new player in the binary version? Where the player is main character (controlled by the human player) instead of using Gideon?

#1
12/15/2010 (12:56 am)
Speed settings are in the player datablock, found in "art/datablocks/player.cs". These can be adjusted for forward, back and sidestep speeds.

And see the shapefile property of the stock Gideon datablock: either change that field, or duplicate/derive a new datablock for your custom character. If creating a new datablock you would also have to tell the spawn function which datablock to use.
#2
12/15/2010 (1:39 am)
Ah Thanks :D I was searching the forums before for this and something about the player datablock came up but I never new where it was. Thanks Again.