How do i set a goal on a multiplayer game?

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

Moderator: OpenTTD Developers

Post Reply
SummerBulb
Engineer
Engineer
Posts: 24
Joined: 06 Feb 2010 22:12

How do i set a goal on a multiplayer game?

Post by SummerBulb »

I want to set up a server to play with some of my friends.
I'm still not sure if it will be a dedicated server or not.

I would like to set goals for the game, to make it more competitive.

How do i set a goal on a multiplayer game?
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: How do i set a goal on a multiplayer game?

Post by FooBar »

Get a recent beta/nightly and add a NoGo script. Depending on the actual goal you want to set, such script may readily exist or you may need to write it yourself.

Note that your friends will need to get the same beta/nightly and NoGo script.
SummerBulb
Engineer
Engineer
Posts: 24
Joined: 06 Feb 2010 22:12

Re: How do i set a goal on a multiplayer game?

Post by SummerBulb »

FooBar wrote:Get a recent beta/nightly and add a NoGo script.
How do i add a NoGo script?
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: How do i set a goal on a multiplayer game?

Post by FooBar »

Via the AI/Game configuration window (main menu, before starting a new game).
Make sure you actually have a script downloaded and put in the correct directory; you can also get scripts from the online content.
SummerBulb
Engineer
Engineer
Posts: 24
Joined: 06 Feb 2010 22:12

Re: How do i set a goal on a multiplayer game?

Post by SummerBulb »

FooBar wrote:Make sure you actually have a script downloaded and put in the correct directory; you can also get scripts from the online content.
For some reason i'm not getting the full online content list. So can you point me to a location from which i can dowload the scripts and tell me where to place these scripts?
SummerBulb
Engineer
Engineer
Posts: 24
Joined: 06 Feb 2010 22:12

Re: How do i set a goal on a multiplayer game?

Post by SummerBulb »

I found the online content (you have to click "online content" in the AI settings window), but none of the listed scripts do what i need.

I would like to write my own script. How do i do that?
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: How do i set a goal on a multiplayer game?

Post by FooBar »

Since game scripts are a very new development, the documentation is far from complete. The basics are pretty much the same as for AIs, which is well-documented here: http://wiki.openttd.org/Ai

Furthermore you're probably going to need the NoGo technical documentation: http://nogo.openttd.org/docs/trunk/

Looking at other scripts should get you started. Maybe you can modify an existing one to suit your needs (provided the license allows that).

Lastly, the AI and Game Script subforum is the place to find more information and ask questions if you get stuck writing your script: http://www.tt-forums.net/viewforum.php?f=65
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 3 guests