RPG/RTS Tutorials
by Ilidrake · in Torque 3D Professional · 10/24/2009 (7:52 pm) · 6 replies
Is anyone else having a problem following the included tuts that come with T3D? I figured it would be a good place to start learning to script but I can't follow it. Exmaple, I open up game.cs for the first step but the script GameConnection::onClientEnterGame(%this) is empty except for an echo command. It supposed to contain %this.spawnPlayer(%playerSpawnPoint); which needs the argument false as the last arg. I add it manually and I'm supposed to be in fly mode when i start the engine but nada. Am I doing something wrong?
#2
10/24/2009 (8:26 pm)
I tried this from the empty and full templates. The problem with the empty template is once you get to spawning the player the engine can't create aiplayer or boombotdata and I have no idea how to include these. like I said, I do 3d models and levels. I would love to learn to script for T3D but it seems a bit complex for me.
#3
10/24/2009 (9:43 pm)
Are you using the latest online docs? They were revised to work with 1.0 and 1.0.1
#4
10/25/2009 (2:46 am)
The tutorial is completely correct for 1.0.1 - walked through it myself on Wednesday.
#5
10/25/2009 (2:45 pm)
Yep. I have the latest 1.0.1 update.
#6
10/25/2009 (2:49 pm)
well just for giggles I checked out the web docs and they are sooooo diffrent from the ones that come with the sdk. They are correct and are helping me understand t3d much better. Thanks guys.
Associate Steve Acaster
[YorkshireRifles.com]
However, from the sound of what you've said above this might be best done from an Empty Porject, as I do know that Full Project has spawn nad client/game functions in gamecore.cs