petsklion.blogg.se

Openttd signals tutorial part 2
Openttd signals tutorial part 2







It should also be less overhead and new concepts to learn, as long as you can write code. This.AddStep(MessageStep("Thanks for taking this tutorial")) įirst method makes it easier to add more scripting. This.AddStep(MessageStep("Another message")) This.AddStep(MessageStep("Hello and welcome to the bus tutorial")) Example:Ĭode: Select all function TestGame::LoadBusChapter()

  • Each capter is a function call (possible in a separate class) that only returns when that chapter is done.
  • So far I've came up with two basic architectural ideas: In addition TrueBrain has told us that NoGo will support translations and at some point we might get the ability to highlight buttons in the GUI. However, with NoGo/GameScript we can place the signs as the company that the human player start as.

    openttd signals tutorial part 2

    As you might remember, I've already done some tutorial experiments using the NoAI framework.

    openttd signals tutorial part 2

    I've started to work a bit on a framework for a in-game tutorial for NoGo. Though, you are also welcome to in addition explain what part you changed, but for me to include the changes it helps a lot if I get the string ID to have the context.Īlways use the last tutorial release (or even better last checkout from the HG repository) as base for your suggestions. When you do so, please post a patch or a complete new string along with the entire string ID which starts with STR_ and can be found in lang/english.txt (attached in next post). If you spot issues with how the messages are worded, please post suggestions.









    Openttd signals tutorial part 2