[GS] Limitations

Discuss the new AI features ("NoAI") introduced into OpenTTD 0.7, allowing you to implement custom AIs, and the new Game Scripts available in OpenTTD 1.2 and higher.

Moderator: OpenTTD Developers

Post Reply
idioty
Engineer
Engineer
Posts: 59
Joined: 21 Jun 2010 11:54

[GS] Limitations

Post by idioty »

Today I created a new extension to OpenTTD.
WITH!!!!! this script you can limit the purchase or build of many things. Example: The players (and of course the AIs) can buy only one railway depot under the game.

Of course you van download the script within the game.
Special thanks for Adam Suller, Kondor Zoltán, Ákos Nagy for translations!

(the script settings available only Hungarian Language, this is also under translation)
hungarian forum: http://openttdfansite.info/forum/viewth ... ead_id=137

Version 1:
- Preferences in Hungary
- User messages available in Hungary and English

Version 2:
- Preferences in English
- User messages available in German
- Minor bug fix...

Version 3:
- Minor bug fix...

Version 4:
- Bankrupt bug fixed
Last edited by idioty on 26 Dec 2014 12:12, edited 5 times in total.
Sorry my bad english, I don't speak english!
Twyster
Engineer
Engineer
Posts: 92
Joined: 22 Feb 2013 00:46

Re: [GS] Limitations

Post by Twyster »

Let's see... Since he can't speak English well (probably used a translator), would it be a good idea to try to run my reply through Google Translate?

Auto-Translated into Hungarian

Van-e rá mód, hogy tudom használni a magyar nyelvű várva az angol fordítás? Próbáltam de a képernyő így néz ki:
Garbled Text.png
Garbled Text.png (23.57 KiB) Viewed 6777 times
El tudod felsorolni, mi minden lehetőséget kellene? Lehet erre a magyar, és nem tudtam használni a Google fordító megérteni, de látható a képen a szöveg nem is jelenik meg helyesen nekem.


Plain English

Is there any way that I can use the hungarian version while waiting for the english translation? I tried but my screen looks like this: (Image)

Can you list what each option should be? You could do so in hungarian and I could use the Google translator to understand it, but as can be seen in the screenshot the text is not even displayed correctly for me.
idioty
Engineer
Engineer
Posts: 59
Joined: 21 Jun 2010 11:54

Re: [GS] Limitations

Post by idioty »

edit:

I just got the finished translation.
Now you can download the second version of gamescript.

In the version 2:
- Preferences in english
- User messages available in German
- Minor bug fix...
Sorry my bad english, I don't speak english!
Twyster
Engineer
Engineer
Posts: 92
Joined: 22 Feb 2013 00:46

Re: [GS] Limitations

Post by Twyster »

Azt hiszem, a fájl glitched. Azt mondja, 0 bájt, és a letöltés után még mindig bejelölve:
Empty File.png
Empty File.png (15.25 KiB) Viewed 6748 times
Plain English Post

I think the file is glitched. It says 0 bytes and after downloading it is still unchecked: (Image)
idioty
Engineer
Engineer
Posts: 59
Joined: 21 Jun 2010 11:54

Re: [GS] Limitations

Post by idioty »

Thanks for the feedback.
Yesterday I tried a code before I updated, and I forgot delete this line.
The download is succesfull, but with bug the OpenTTD can't load my script.
So I updated to version 3.
Thanks again!
Sorry my bad english, I don't speak english!
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: [GS] Limitations

Post by Zuu »

It may be worth to mention that AIs are not aware about this script and will break when used with this GS. Currently there exist a method/library for GS to tell AIs about what they do: use the SCP library (script communication protocol). NoCarGoal does this for example and CluelessPlus (default) and AIAI (via setting) support focusing on goal cargos set by NoCarGoal game script.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
idioty
Engineer
Engineer
Posts: 59
Joined: 21 Jun 2010 11:54

Re: [GS] Limitations

Post by idioty »

I updated to version 4.
I fixed one error: after company bankrupted.
Sorry my bad english, I don't speak english!
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: piratescooby and 7 guests