Page 1 of 1

Game parameters

Posted: 28 Apr 2004 18:29
by peste1
Hi all!
Where can I find a list of the game parameters usage?

Posted: 28 Apr 2004 18:35
by Bjarni
./ttd -h

Posted: 28 Apr 2004 19:16
by peste1
The window of OTTD opens and immediatly close. :oops:

From sourcecode:

"Command line options:\n"
" -v drv = Set video driver (see below)\n"
" -s drv = Set sound driver (see below)\n"
" -m drv = Set music driver (see below)\n"
" -r res = Set resolution (for instance 800x600)\n"
" -h = Display this help text\n"
" -t date= Set starting date\n"
" -d dbg = Debug mode\n"
" -l lng = Select Language\n"
" -e = Start Editor\n"
" -g = Start new game immediately (can optionally take a game to load)\n"
" -G seed= Set random seed\n"

Posted: 28 Apr 2004 19:35
by peste1
Only a question:
it's possible to implement two new parameters:

-ng --> start a new game for multiplayer mode (only for server)

And something to directly load in multiplayer a multiplayer-savegame?

(sample names, uh ;) )

I have a special idea. :idea:

Posted: 28 Apr 2004 19:43
by SHADOW-XIII
peste1 wrote:The window of OTTD opens and immediatly close.
I guess you haven't tried running it from console ?

Posted: 28 Apr 2004 19:52
by Bjarni
-n starts the server
-g (savegame name) starts directly in the savegame

you can set video/audio to NULL if you want the server to be server only, but that makes a server with a dummy company

I hope that was what you wanted and do remember that network is unsupported because the code is not done yet

Posted: 28 Apr 2004 19:53
by peste1
SHADOW-XIII wrote:
peste1 wrote:The window of OTTD opens and immediatly close.
I guess you haven't tried running it from console ?
No no in console.
So... there aren't the parameters I'm searchin for. :cry:

But if...
it's possible to implement two new parameters:

Posted: 28 Apr 2004 19:56
by peste1
Bjarni wrote:-n starts the server
-g (savegame name) starts directly in the savegame

you can set video/audio to NULL if you want the server to be server only, but that makes a server with a dummy company

I hope that was what you wanted and do remember that network is unsupported because the code is not done yet
Thank you!
The last question: and if I want to start the server and directly create a new game?

I remember and I know the status of multiplayer developing.
But I only need those two functions.
If u "have time" I can explain my idea.

First: an emblematic screenshot :lol:

Image

Posted: 28 Apr 2004 21:11
by Vurlix
Keep in mind that all openttd multiplayer functions will be builtin in its final form, and commandline options will most likely be removed since their only purpose is debugging. You will start a multiplayer game inside ottd, you will join games from ottd, etc.

Posted: 28 Apr 2004 21:25
by peste1
Yes yes...
But I mean a server for multiplayer, like The Zone. Obviously a small server with the goal to allow all the OTTD users to play together.

I don't understand if there will be a OTTD server or the players will be exchanging the IP address to play. My idea is The Zone-like.

I don't want to interfere with the OTTD project or create a stupid copy of OTTD multiplayer. :wink:

Posted: 28 Apr 2004 21:48
by Vurlix
peste1 wrote:Yes yes...
But I mean a server for multiplayer, like The Zone. Obviously a small server with the goal to allow all the OTTD users to play together.
That's what we've planned for already.
peste1 wrote:I don't understand if there will be a OTTD server or the players will be exchanging the IP address to play. My idea is The Zone-like.
That is also our idea of OTTD multiplayer.
peste1 wrote:I don't want to interfere with the OTTD project or create a stupid copy of OTTD multiplayer. :wink:
Then I suggest you to not put any work towards such a program, as it most certainly won't work with ottd later on.

Please wait and see. Multiplayer is only experimental at this stage, so it's better that it is only used as such until it is fully supported.

Posted: 30 Apr 2004 02:00
by StarLite
Vurlix wrote:
peste1 wrote:Yes yes...
But I mean a server for multiplayer, like The Zone. Obviously a small server with the goal to allow all the OTTD users to play together.
That's what we've planned for already.
\o/
I am Very pleased to hear that :)