Game Development Community

How to Change "Player" to a Vehicle, "airPlane

by Dustin Sims · in Torque Game Engine · 11/09/2005 (6:40 pm) · 6 replies

Im just getting started with TGE..
What I would like to do is allow the player to be an airplane.
Where could I start to looking at to change the starter.fps to an airplane game.
I have a good hold on setting up terrains, modelling items and setting up my world, im just hung
on getting the game to start with only a plane and the ability to directly control it without a "player" person per say..
Any advice or direction would help alot.. Thanks..

#1
11/09/2005 (8:01 pm)
I would start by searching the resources for Airplanes or vehicles both will probably get results. you can also check out the documentation and it tells you all the things to put in an airplane datablock. I would start with the resources though. Vehicles in general aren't torques strong point but if you search for plans by phil carlisle (think I spelled that right) he posts a lot of plans about his "air ace" a plane game and working on an AI pack to get AI players using planes and other vehicles among other things.
#2
11/09/2005 (8:56 pm)
I could be wrong since I don't own it but doesent the warsparrow pack doing something like that, or is it mounting player to plane.
#3
11/09/2005 (9:00 pm)
Actually, it does both.
#4
11/09/2005 (9:46 pm)
If you choose to use a 'player' and simply replace the dts with say...an airplane dts.
You would still need to deal with 'no' gravity..
i.e. Plane keeps moving for a a bit, after you release the 'move' keys.
www.garagegames.com/mg/forums/result.thread.php?qt=32256
#5
11/10/2005 (5:23 am)
There are two ways of doing that :

The first is modifiying the OnEnterGame function in Game.CS to create a new flyingVehicle as a control object instead of a Player.

The second is creating the Flying Vehicle in the game and mounting the player on it.

check this resource :

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=7079
#6
11/12/2005 (8:46 am)
Thanks for all the help, everyone.