Game Development Community

How do I list all available player models?

by Neil Marshall · in Torque Game Engine · 06/07/2003 (3:18 pm) · 8 replies

I'm trying to make a player selection screen for my game where you pick the model and skin.

To do that I need a list of all the usable player models. Does anyone have any idea how I can loop through the players?

I was hoping that I could just drop in the characters without modifying any code. The same way that quake 3 does it.

#1
06/08/2003 (2:35 pm)
Not gonna happen.
each player in this engine, uses a couple different scripts to facilitate loading.

You can however modify some code to get this trickery on your own.
by having the corresponding script files necessary generic and with your directory loading method.

then you'll be best off to have it create a script for the directory, that maybe stores enuff about each one to enable your quest.
#2
06/08/2003 (3:29 pm)
@Neil check out realmwars they do what you're trying to do.
#3
06/08/2003 (7:57 pm)
I haven't been able to figure out how to get realmwars. The version I get with the cvs of torque seems to be old and the web site currently doesn't allow for downloads due to bandwidth issues.
#4
06/08/2003 (8:11 pm)
@Neil- Realm Wars also has there own CVS now where you can get the latest build. Look at this

--Bryan
#5
06/09/2003 (8:04 am)
Wow, that was challenging to get. I hate WinCVS. worst. interface. ever.

It's compiling now, but I see how the player directory has sub directories with player_info.cs files. It still seems to have some files in the script directories of the server though.
#6
06/09/2003 (8:18 am)
like I said, your not gonna have this without some supportive code Somewhere.
#7
06/09/2003 (8:45 am)
Is there any script commands that can read the hard drive and recurse directories?

Then I could just get the program to go into \elf and \orc, find player_info.cs and exec() it and the datablock files. I don't think I've seen any directory reading script commands, but then again, I haven't really looked yet.
#8
06/09/2003 (8:54 am)
yes there is I dont have the code here,
but if you poke around you can find em.