Game Development Community

Alright this is where I am at... please direct me.

by Jon West · in Torque Game Engine · 06/26/2008 (9:15 pm) · 2 replies

I own the 3DGPAi1 book and I have completed it, made both the emaga games and the koob game with moderate success. Now I come out of it all with out the knowledge to use those tools and skills outside of that environment, aka koob/emaga.
Basically, I am starting from scratch, and so far I have a splash screen and a menu screen.
I have made a model, skinned, rigged, and animated, exported to dts, ready to go.
And I made a terrain.
That is all I really have so far... I guess I am missing scripts that bind keys to action, define player data blocks, and one that loads the mission.
I have tried to use the ones from the other "demos" but to no avail.
Anyone know any tutorials for basic spawning players in a mission and binding keys.
I just want to get it up and running, where you can walk around the environment.
Or does anyone have scripts to do such...
I am getting so stressed out trying to understand all this.
Thank you much.

EDIT: Of course when I tried to implement the other games scripts, I heavily modded them to suit mine.

#1
06/27/2008 (7:01 am)
You can look at how players are spawned in the fps.starter game example in the examples folder. Look at the function GameConnection::createPlayer in game.cs on the server. Also to move the player search around for movemap.

Here's an example of a movemap:
tdn.garagegames.com/wiki/TorqueScript/Input/Movemap/Player
#2
06/27/2008 (10:40 am)
I go over spawning basics in the thread Torque 101: Intro to Torque. My few latest posts actually. I'm not perfect, but it worked for me, and it's at least a start for you.

There are many other resources for spawning like Killer Kork, AiGuard, and AiPatrol.

Do a search for bots.

EDiT: sorry, I didn't realize you meant Player spawning. My references were for AI spawning. My bad.

tony