Game Development Community

Player Selection

by Louis Dufresne · in Artist Corner · 01/09/2004 (8:23 am) · 85 replies

I have a GUI that allows you to select from 4 players. I have all the DTS's for each model and im using the Orc's animations at this time for each player model. Ive added to prefs.cs -> prefs::player::character = ""
In the selection GUI I just change this value to correspond to the player I want. Also I have a separate CS file for each player, all of which are included in the game.cs. Now im just not sure on how or where to tell the game, in script, which player model to load when the game starts. Anyone know where this is? Or how its done?
Page«First 1 2 3 4 5 Next»
#81
09/08/2006 (11:43 pm)
Hey everyone,

Well I got it working, tho at this time the script is a bit of a kludge. I've added a little movie so you can see the progress. If you're interested I will post just the code with some minor explanations. At this point, it pretty much plug and play.

Here's the player selection and previewer progress to date. Graphically, it is very rough, but it does make use of the GuiBitmapButtonCtrl so you can use your own custom art.

...sip...
#82
09/09/2006 (6:56 am)
Sure I love to see the code. Thanks. You doing outstanding with this.
#83
09/09/2006 (10:48 am)
Awesome stuff! A tremendous help. Thanks, this is a very valuable resource.
#84
09/11/2006 (12:13 am)
Hey everyone!

I posted the initial draft for player and weapon selection with a preview. It's a bit rough but I believe it gives a decent overview. I will update it during the week if I have time. My Web projects are piling up and switching over from Torque script to PHP/ASP/.NET is making my mind go numb.

Here's the link:
Torque Player and Weapons Previewer first draft...

If anyone finds any errors or if you have some suggestions, please let me know. I want to make sure it's clear before I post it as a resource.

...sip...

Ok, time to start my day job...
#85
12/26/2007 (9:30 pm)
Hi,

Recently, I used James Tadeo's simple player selection tutorial and his previewer. Unfortunately, he never finished the third tutorial that shows how to combine the two. Currently, I use his drop down menu to select the player I want to be (when the mission starts) in the 'startMission.gui' screen.

I was wondering if there was a simple way for the player you choose (in the drop down menu) to show up in a 'GuiObjectView' window (on the 'startMission.gui') so you could get a preview of what your character will look like.

If that's not possible, is there way to show a bitmap image based on the drop down choice?

Thanks.
Page«First 1 2 3 4 5 Next»