Game parameters

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
User avatar
peste1
Engineer
Engineer
Posts: 47
Joined: 07 Aug 2003 10:13
Location: Monza (Milan), Italy
Contact:

Game parameters

Post by peste1 »

Hi all!
Where can I find a list of the game parameters usage?
Stefano
TTDX Configurator Translator
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

./ttd -h
User avatar
peste1
Engineer
Engineer
Posts: 47
Joined: 07 Aug 2003 10:13
Location: Monza (Milan), Italy
Contact:

Post 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"
Stefano
TTDX Configurator Translator
User avatar
peste1
Engineer
Engineer
Posts: 47
Joined: 07 Aug 2003 10:13
Location: Monza (Milan), Italy
Contact:

Post 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:
Stefano
TTDX Configurator Translator
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

peste1 wrote:The window of OTTD opens and immediatly close.
I guess you haven't tried running it from console ?
what are you looking at? it's a signature!
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post 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
User avatar
peste1
Engineer
Engineer
Posts: 47
Joined: 07 Aug 2003 10:13
Location: Monza (Milan), Italy
Contact:

Post 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:
Stefano
TTDX Configurator Translator
User avatar
peste1
Engineer
Engineer
Posts: 47
Joined: 07 Aug 2003 10:13
Location: Monza (Milan), Italy
Contact:

Post 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
Stefano
TTDX Configurator Translator
Vurlix
OpenTTD Developer
OpenTTD Developer
Posts: 122
Joined: 07 Mar 2004 01:54

Post 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.
http://sf.net/projects/openttd/
Post all your patches and feature requests here.
User avatar
peste1
Engineer
Engineer
Posts: 47
Joined: 07 Aug 2003 10:13
Location: Monza (Milan), Italy
Contact:

Post 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:
Stefano
TTDX Configurator Translator
Vurlix
OpenTTD Developer
OpenTTD Developer
Posts: 122
Joined: 07 Mar 2004 01:54

Post 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.
http://sf.net/projects/openttd/
Post all your patches and feature requests here.
StarLite
Engineer
Engineer
Posts: 52
Joined: 02 Apr 2004 14:27
Contact:

Post 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 :)
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 0 guests