Hello,
In the shadow of CargoDist, recently trunk has got another new feature - the Story Book. It is basically a window that displays pages with text and references to tiles and goals. What is nice about it is that any GS can add content to this book. Actually, without that, the book is just a boring empty book.
For more help on how to get started with the Story Book I recommend this wiki article. See also the API docs.
If you want to see the story book in action with some content, you can upgrade to NoCarGoal version 8 which I released yesterday. It is not perfect in its use of the story book and goal window as it still maintains backward compatibility, but could be a starting point and example.
And, last I have also released a new SuperLib version with some helpers to work with the Story Book as well as a method that displays a text in the story book but falls back to GSGoal.Question for users of older OpenTTD versions. If you miss something there and write your own additional helper, I wouldn't mind including that helper in SuperLib if it is something that may be useful for other script authors.
Story Book - a new GS feature
Moderator: OpenTTD Developers
Story Book - a new GS feature
Last edited by kamnet on 04 Feb 2023 00:02, edited 1 time in total.
Reason: Updated links
Reason: Updated links
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
Re: Story Book - a new GS feature
I should try it soon. Happy about Cargodist in trunk, but I never tried GameScript
PS: Is that TTDPatch graphics I see in the top toolbar? Doesn't look like my normal ones.
PS: Is that TTDPatch graphics I see in the top toolbar? Doesn't look like my normal ones.
Formerly known as UseYourIllusion.
Java Scenario Found Here - Version 2 out
[tweɪ̂ pû tɕʰì wɔ̀ mǐlɤ lû tɕʰìŋ nì pɑ́ŋmɑ̌ŋ]
Java Scenario Found Here - Version 2 out
[tweɪ̂ pû tɕʰì wɔ̀ mǐlɤ lû tɕʰìŋ nì pɑ́ŋmɑ̌ŋ]
Re: Story Book - a new GS feature
A game script is like a game leader. It can set up goals and rules of the game. There are already quite a few different types of games that you can play using the various different game scripts on bananas. (but download them using the in-game download client - that will save you from much hassle)
The graphics are the TTD graphics.
The graphics are the TTD graphics.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
Re: Story Book - a new GS feature
Could this be added to the NoGo changelog?
Re: Story Book - a new GS feature
Yes, it should be added there. I just forgot it among all other things that needed to be done. (update GSWindow etc.)Aphid wrote:Could this be added to the NoGo changelog?
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
Re: Story Book - a new GS feature
Just to say it's a real good addition, thanks zuu.
Who is online
Users browsing this forum: No registered users and 15 guests