Game Development Community

Races, classes, player

by Xavier "eXoDuS" Amado · in Torque Game Engine · 12/23/2001 (1:24 pm) · 2 replies

I was looking at the player code, in clientconnection and i saw this 3 lines which made me thought of a good idea:
%client.gender = "Male";
%client.armor = "Light";
%client.race = "Human";
is it possible to implement this system? to change the races, etc from a gui and create the player depending on what you choose?
That would be nice...

#1
12/23/2001 (2:07 pm)
Yes, it should be possible. It is how Tribes 2 worked. You had humans and BioDerms and male and female humans of various sizes. In fact, I was counting on this fact when I purchased the package. You do select your race when you begin the game, but I think - (I haven't tested this yet,) it might be possible to change race, gender, etc in game if you carefully reloaded your player. Of course the Tribes 2 code for race, gender etc. was taken out but the game was designed to support it, so it shouldn't be difficult to put it back.
#2
12/23/2001 (7:11 pm)
Yes, it's possible. This is what we're doing in our game. It works well too. It's pretty easy to do.


Dark