Simple player spawning
by James Steele · in Torque Developer Network · 01/30/2011 (1:40 pm) · 2 replies
After taking the bait with the $99 T3D, I was looking into doing something that's NOT an FPS type game. So I had my custom class derived from ShapeBase ready to spawn, and then took a look at the script code. Then, I promptly had a heart attack.
What's going on guys? It used to be that the samples provided a very straight forward example of doing something important, like spawning a player object. But now, the script code is now so dense and has so much FPS crap that anybody doing something OTHER than an FPS is immediately lost.
So is there a more straight forward example of "here's how you spawn a new player object" anywhere? Or have I maybe just missed something after looking through all of the scripts in the server folder? Maybe I can shoe-horn in something from my old TGE license perhaps?
About the author
#2
01/30/2011 (2:36 pm)
Thanks for that, Ivan. I feel rather silly that I didn't find it myself now. The spawn.cs script is exactly what I'm looking for.
Torque Owner Ivan Mandzhukov
Liman3D
The player is usually spawned in spawn.cs,located in core - scripts - server.