Game Development Community

Stupid Mistake...Help Please?

by Justin West · in General Discussion · 02/05/2009 (2:54 am) · 3 replies

I started using FPS starter kit today but accidentally deleted the player spawn with out realizing it. How do I create a new Player spawn to replace my lost one

About the author

Recent Threads


#1
02/05/2009 (3:09 am)
Install Torque in a new directory. Download Windiff and find the differences between the two directories.
#2
02/05/2009 (5:47 am)
Start a mission, if a spawn point is not found then there is code that will simply drop you in at a pre-determined location and height, automatically. function pickSpawnPoint() in game.cs does that.

To place another (new) spawn point simply open up the Mission Editor (F11), go to World Editor Creator (F4 or the window menu). In the panel on the right side look for and follow these steps: Shapes -> Misc -> SpawnSphereMarker.

It will be placed where your camera is currently looking (by default). Once it's in the mission you can then position and size it as needed. Then save your mission.

In case you follow Lee's advice, and if you made no other changes, the file difference you will be looking for is YOURMISSIONNAME.mis in the data/missions directory, but that doesn't show you how to add a new spawnpoint, only how to copy and paste.
#3
02/05/2009 (5:58 am)
Oh, and these might help for any further Editor related questions that may arise.

Torque's Basic Editors Overview is decent reference material.

But The Mission Editor WorldBuilding/Getting Started page on TDN contains a lot of practical examples of how to use the Editor.