Story Book - a new GS feature
Posted: 10 Jun 2013 21:03
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.
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.