Game Development Community

Create a new player

by Mark Lafferty · in Torque Game Engine · 09/04/2001 (11:01 am) · 2 replies

I would like to be able to create my own player based upon the player provided in the example. I have inherited from the player and call it ExtPlayer. I changed the macros to expose my player to the console. I can compile it with no errors. I have taken the player.cs files and modified them to use my player, at least I think I have.

This does not work. I may not have done everything needed or am trying to do it the wrong way. If anyone has done this and has it working I would appreciate some help.

mark

#1
09/05/2001 (7:13 am)
What do you need a new player for? It seems strange to me. You could just edit the existing code to add/change whatever you need.


Sorry if I'm being ignorant :)


Dark
#2
09/05/2001 (8:59 am)
I do not want to have to have my new code tied into the V12 engine so tightly that moving to another engine is hard. Or even just upgrading to a newer version of the v12. If we continually just change what is there then we either have to merge new versions of the code or work even harder to move to another engine.

It's just a matter of making things a little more adaptable for us.

mark