How to make "Racing" the default game ?
by Mathieu · in Torque Game Engine · 11/14/2002 (2:42 am) · 18 replies
Hi all,
How can i make "Racing" the default game without use command lines ? I just want to start Racing when i double click on TorqueDemo.exe.
Thanks :)
ML
How can i make "Racing" the default game without use command lines ? I just want to start Racing when i double click on TorqueDemo.exe.
Thanks :)
ML
About the author
Developer at frogames.com / frogames.net
#2
It takes only three second to make a shortcut in the same folder and then add -mod racing to the command line.
11/14/2002 (7:57 am)
"without use command lines"It takes only three second to make a shortcut in the same folder and then add -mod racing to the command line.
#3
11/14/2002 (8:26 am)
Or just copy the racing folder over the FPS one.
#4
11/14/2002 (9:35 am)
Tyler, that's a pretty dumb comment. Like we don't know that. The question is more like: How do I start a race game and have only the files i need (copying race over fps will result in a lot of unuseed garbage files... and if I recall right I already tried that and it didn't work)
#5
11/14/2002 (10:48 am)
true ! didn't work ! :(
#6
$userMods = "fps";
to
$userMods = "fps;racing";
in the main.cs script in the root directory (the same directory as the exe file)
Although this may not be what you were after.
11/14/2002 (10:57 am)
You can change the line:$userMods = "fps";
to
$userMods = "fps;racing";
in the main.cs script in the root directory (the same directory as the exe file)
Although this may not be what you were after.
#7
11/14/2002 (12:17 pm)
so adding a ";" so its "fps;racing" works? Ok, that's already one step forward. But the main question remains.... what files need to be put into the racing folder in order to get it to run without the fps folder. Becuase that would be a good start for a racing game.
#8
11/14/2002 (12:49 pm)
Thx Mathew, works fine :)
#9
No it was an uninformed comment. I apologize. If you had stated you were trying to consolidate the mod data into fps data it would have made things a little easier to understand. Mathieu's statement was very general and I thought he had just wanted an easier way to access it. I have no idea what you know. Which, I think, is far from being dumb.
11/14/2002 (2:16 pm)
"Tyler, that's a pretty dumb comment."No it was an uninformed comment. I apologize. If you had stated you were trying to consolidate the mod data into fps data it would have made things a little easier to understand. Mathieu's statement was very general and I thought he had just wanted an easier way to access it. I have no idea what you know. Which, I think, is far from being dumb.
#10
I am partway through it and it looks like it needs most of the scripts and the guis from the fps/client directory.
After copying any missing script files it runs, gets up to the first gui and then it won't list any missions.
I also had to add a few lines to the main.cs in the racing directory to load the defaults and the prefs script files (as in the fps main.cs)
At the moment I am changing references to fps/ to point to racing/ in a fair few places to see if it will fix the remaining problems.
I found it useful to use the console.log file to find what scripts are missing and needed to allow the racing mod to 'go it alone'.
I will try to document what is needed and post what I find here, but it is late so I shall do it after I've had some rest and relaxation :)
11/14/2002 (2:36 pm)
I am looking at making the racing mod able to run on its own without needing the fps dir.I am partway through it and it looks like it needs most of the scripts and the guis from the fps/client directory.
After copying any missing script files it runs, gets up to the first gui and then it won't list any missions.
I also had to add a few lines to the main.cs in the racing directory to load the defaults and the prefs script files (as in the fps main.cs)
At the moment I am changing references to fps/ to point to racing/ in a fair few places to see if it will fix the remaining problems.
I found it useful to use the console.log file to find what scripts are missing and needed to allow the racing mod to 'go it alone'.
I will try to document what is needed and post what I find here, but it is late so I shall do it after I've had some rest and relaxation :)
#11
Anyway... someone must have done this before.... or is everyone just building his game upon the fps demo?
Thanks Mathew B, defenetly post here if you get it working ;)
11/14/2002 (2:40 pm)
Sorry too Tyler, "dumb" was perhaps a wrong word..... I just tought you were patronizing. Obviously I got that wrong.Anyway... someone must have done this before.... or is everyone just building his game upon the fps demo?
Thanks Mathew B, defenetly post here if you get it working ;)
#12
I shall do my best to document what I did to get it going sometime tommorow.
There is a lot of script altering to be done (and some data stuff to be changed) to get it working, but hopefully I might be able to knock up something to automate the process...
Anyway, I shall get the info jotted down tommorow and post it here.
11/14/2002 (4:45 pm)
Ok, I couldn't relax until I got it working :)I shall do my best to document what I did to get it going sometime tommorow.
There is a lot of script altering to be done (and some data stuff to be changed) to get it working, but hopefully I might be able to knock up something to automate the process...
Anyway, I shall get the info jotted down tommorow and post it here.
#13
It works, but I haven't had time to check through everything so if you find something amiss then let me know.
Cheers,
Mathew
11/15/2002 (4:08 am)
Here are the instructions as promisedIt works, but I haven't had time to check through everything so if you find something amiss then let me know.
Cheers,
Mathew
#14
11/15/2002 (11:59 am)
I'd say a big thanks to Mathew. It's a really good work and time saver for anyone to isolate the racing game. Great and easy to follow tutorial too.
#17
did you have any stumbling blocks you can enlighten me on this? So far i havent achieved Mathew's instructions - thanks kevin
my very first post here - i am very excited about experimenting with this engine and learning
07/26/2003 (4:15 pm)
Hi Matt Zuhlkedid you have any stumbling blocks you can enlighten me on this? So far i havent achieved Mathew's instructions - thanks kevin
my very first post here - i am very excited about experimenting with this engine and learning
#18
Mathew - thanks for holding our hands - it was very instructional as a tutorial and really appreciate the time you spent on this - it simplifies the mod down to essentials for those that are motivated by vehicles versus FPS - motivation is everything and thanks for motivating us - thanks to the forum HKL
07/27/2003 (8:18 am)
I figured it out - i had remarked some functions with /*...*/, instead of deleting them - that didn't make the stand alone happyMathew - thanks for holding our hands - it was very instructional as a tutorial and really appreciate the time you spent on this - it simplifies the mod down to essentials for those that are motivated by vehicles versus FPS - motivation is everything and thanks for motivating us - thanks to the forum HKL
Torque Owner Very Interactive Person
If you direct it to race instead of fps, it wont work, becuase the racing mod has no client folder.
Please, someone tell us what we need to put in the race folder to make it stand alone.