Further Questions
by DavidRM · in Torque Game Engine · 02/25/2002 (12:09 pm) · 2 replies
Continuing the theme from my previous thread ("Dedicated Server Questions")...
I have my basic game design done. Now I just have to find out whether I can do what I'm thinking with this Torque-thing.
4. Do "spawn points" have to be pre-configured in the mission? Or is it possible for the server to create them at will?
5. Is it possible for players on a server to be "outside" of a mission? Like in a lobby or "holding area"? Joining the server does not immediately put the player into a mission. Instead, the players are put into a lobby, awaiting the start of the next mission. And not all players on the server will be involved in each mission.
6. In determining collisions between a "bullet" and a player, how fine-grain does it go? Is it possible to know where on the body the collision occurred? Or is it a simple yes-it-hit/no-it-didn't?
I realize that I have the source code, and so "everything is possible." However, I'm interested in using as much of the core functionality as a I can, only adding what is absolutely needed. So I'm willing to revise my design (some) to match what Torque can already do.
Thanks in advance!
-David
Samu Games
The Journal
I have my basic game design done. Now I just have to find out whether I can do what I'm thinking with this Torque-thing.
4. Do "spawn points" have to be pre-configured in the mission? Or is it possible for the server to create them at will?
5. Is it possible for players on a server to be "outside" of a mission? Like in a lobby or "holding area"? Joining the server does not immediately put the player into a mission. Instead, the players are put into a lobby, awaiting the start of the next mission. And not all players on the server will be involved in each mission.
6. In determining collisions between a "bullet" and a player, how fine-grain does it go? Is it possible to know where on the body the collision occurred? Or is it a simple yes-it-hit/no-it-didn't?
I realize that I have the source code, and so "everything is possible." However, I'm interested in using as much of the core functionality as a I can, only adding what is absolutely needed. So I'm willing to revise my design (some) to match what Torque can already do.
Thanks in advance!
-David
Samu Games
The Journal
Associate Ken Finney
Tubetti World
GameConnection::createPlayer("0 0 0 1 0 0 0");
to spawn your player in the centre of the map, at zero elevation, looking due north (I think it's north...).
5. Not sure, but probably, yes.
6. Look at Josh's excellent work in this area, and his tutorial:
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=1663