The International Simutrans Forum

Community => Social & Contests => Scenarios and Challenges => Topic started by: HaydenRead on January 12, 2016, 09:31:27 AM

Title: Pak128 Scenario Tutorial
Post by: HaydenRead on January 12, 2016, 09:31:27 AM
Hi Everyone,
I am currently working on a Scenario Tutorial for Simutrans using Pak128.

The Scenario will require the '<img > tag patch (http://forum.simutrans.com/index.php?topic=15049.0)' applied to v 120.1.2 or above of Simutrans. (It will work without the <img > tag patch, however will not display properly as <img > tags will be interpreted as < i > tags, and images will not be displayed).

This is intended to be included with the Steam version of Simutrans (http://forum.simutrans.com/index.php?topic=14994.0) when it is released to Steam.

The Scenario will be split into a number of chapters with the currently intended chapters being:

I have currently coded 'Getting Started', and most of 'Ruling the Roads'.

My reasoning for starting with Roads, as opposed to Rails is that Roads already exist in towns, so bus stops etc can be built without needing to worry about track laying, etc. Also, most Roads can be placed on "Double Height" hills.

Once it is complete, I would appreciate assistance translating it.


I will post versions as I progress, with the first version being posted once I have finished the Road section, to try and get feed back on how to improve the Tutorial Scenario.


I have attached 2 files:
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on January 12, 2016, 08:38:31 PM
I'm okay to test your scenario, eventually include it directly in pak128 (if you are okay with that). A tutorial is precisely what Simutrans has needed for so long and using a scenario for this was discussed many times. It's great that someone has some time and motivation to make it, so you already deserve a big THANK YOU.

Oh and of course I'm okay to translate it to French once it's finished  ;)
Title: Re: Pak128 Scenario Tutorial
Post by: ny911 on January 12, 2016, 11:34:48 PM
Great!

It can also be published at the scenario page. At the german forum you can find a thread for a pak64 Scenario Tutorial
http://www.simutrans-forum.de/forum/index.php?page=Thread&threadID=7685&pageNo=1 (http://www.simutrans-forum.de/forum/index.php?page=Thread&threadID=7685&pageNo=1)
So feel free to use the scenario source.  It is still in process, but it is pak set free coded. Usable for chapters and more.

Here is the latest untested code (pak64, german):
http://www.simutrans-forum.de/forum/index.php?page=Thread&postID=104791#post104791 (http://www.simutrans-forum.de/forum/index.php?page=Thread&postID=104791#post104791)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on May 25, 2016, 07:43:54 PM
Hello such!!

It seems that something broke in the version released on Steam  I can not advance from chapter one and no images are displayed ... (at least on linux).
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 08, 2016, 02:25:12 PM

@HaydenRead
I've been changing a bit the tutorial scenario to make it much easier to follow, also I have the intention to add some chapters to make it look more beautiful.


Scenario: Tutorial-test3.zip (http://www.mediafire.com/file/czf2iy3s8iwsae6/Tutorial-test3.zip) (Test with last night.)


Regards!.
Title: Re: Pak128 Scenario Tutorial
Post by: Tjoeker on October 08, 2016, 09:04:18 PM
I've made some adjustments to the English translations.

As soon as some chapters are 100% done, I'll start translating them to Dutch (my mother-tongue) and French (second language in Belgium).
I might have a go on German as well. (unless someone wants to do them and speaks better German than I of course :p )

I had just one problem.
I couldn't understand what you (or the other translator) mean with this (chapter2, step1):
The first thing to do, is to check whether the place where the depot is placed, there is a stretch of road.



In the attachment:
-a zip-file containing all files for the scenario.
Tutorial-test3 (English Corrections).zip (https://www.dropbox.com/s/9u55gg6akkc47a0/Tutorial-test3%20%28English%20Corrections%29.zip?dl=0)
Title: Re: Pak128 Scenario Tutorial
Post by: Frank on October 09, 2016, 08:34:26 AM
for translating added to Translator

Set: Scenario Tutorial pak128
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 09, 2016, 08:40:21 AM

@Tjoker
Can you upload the files to mediafire ?, I have problems with Dropbox.
Title: Re: Pak128 Scenario Tutorial
Post by: Tjoeker on October 09, 2016, 09:18:03 AM
No problem.

Tutorial-test3 (English Corrections).zip (https://www.mediafire.com/?mvz7u5g72g84fle)

Here you are. ;)
Title: Re: Pak128 Scenario Tutorial
Post by: Frank on October 09, 2016, 09:29:50 AM
Quote from: Yona-TYT on October 09, 2016, 08:40:21 AM
@Tjoker
Can you upload the files to mediafire ?, I have problems with Dropbox.

upload to files.simutrans-germany.com (http://files.simutrans-germany.com), i think not problems for all
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 09, 2016, 05:23:46 PM

I have given the finishing touches at second chapter, it works great now, thanks to Dwachs. :thumbsup:

Scenario: Tutorial-test4.zip (http://www.mediafire.com/file/7q9m22kvajy4umn/Tutorial-test4.zip)

Please check these translations:



Form here


Por aqui


[1/6] First you must build one or more bus stops in %s city.


[1/6] Primero debes colocar una o mas paradas de autobus en Ciudad %s.


[2/6] Using the Roads Tool connect the two points between %s and %s.


[2/6] Use la Herramienta de Carreteras para conectar los puntos entre %s y %s.
[3/6] Use the Deposit Road %s to buy a new bus.
[3/6] Use el Deposito de Caretera %s para comprar un nuevo autobus.


[4/6] Click on Schedule and select one or more stops in %s city.


[4/6] Click en Enrutar y seleccione una o mas paradas en Ciudad %s city.


[5/6] Now select one or more stops in %s city.


[5/6] Ahora seleccione una o mas paradas en Ciudad %s.


[6/6] Select the last stop (%s) and place the Load (Min) at 100%%.


[6/6] Seleccione la ultima parada (%s) y coloque la Carga (Min) en 100%%.


Action not allowed


Accion no permitida


You must first build a stretch of road


Primero debe construir un tramo de carretera


You must build the depot in


Debe construir el deposito en


You must leave this free road for the second bus.


Debes dejar este camino libre para el segundo autobus.


First you must build the 4 stops.


Primero debe construir las 4 paradas.


Stops should be built on a road.


Las paradas deben construirse sobre una carretera.


It is very close to the other stop


Demasiado cerca de la otra parada


Stops should be built in Cantebury City


Las paradas deben construirse en Ciudad Cantebury


You must click on the stops


Debe hacer click sobre las paradas


Only 4 stops are necessary.


Solo son necesarias 4 paradas.


Choose a different stop.


Elija una parada diferente.


The route is complete, you must now start the vehicle from the depot


La ruta esta completa, ahora debe arrancar el vehiculo desde la cochera


You must first select the stops in Cantebury City


Primero debes seleccionar las paradas en Cantebury


First you must connect the two cities.


Primero debe conectar las dos ciudades.


Connect the road here


Conecte la carretera por aqui


The first vehicle has a minimum load of 100% at this stop, this restricts the passage of other vehicles.


El primer vehiculo tiene una carga minima de 100% en esta parada, esto restringe el paso de otros vehiculos.


You must first build a stop in Lancaster City


Primero debe construir una parada en Lancaster


Stops should be built in Lancaster City


Las paradas deben construirse en Ciudad Lancaster
Title: Re: Pak128 Scenario Tutorial
Post by: Tjoeker on October 09, 2016, 09:53:44 PM
These are only the corrected sentences.
I'm not a native speaker so somebody might have to recheck this.  :)

[1/6] First you must build one or more bus stops in %s.
I'd drop "city".

[2/6] Use the Road Tool to connect the two points between %s and %s.

[3/6] Use the Depot %s to buy a new bus.
To what does the %s refer here?

[4/6] Click on Schedule and select one or more stops in %s city.
I assume this should be:
Click on <no schedule set> and select <create new line>.
Then select one or more stops in %s.

[5/6] Now select one or more stops in %s.


You must leave this road clear for the second bus.

You must build the 4 stops first.

The route is complete, now you may start the vehicle from the depot.

You must select the stops in Cantebury first


You must connect the two cities first.

You must build a stop in Lancaster first


Stops should be built in Lancaster
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 09, 2016, 10:27:13 PM

Quote from: Tjoeker on October 09, 2016, 09:53:44 PM
These are only the corrected sentences.
I'm not a native speaker so somebody might have to recheck this.  :)


[1/6] First you must build one or more bus stops in %s. %s="City Name"
I'd drop "city".

[2/6] Use the Road Tool to connect the two points between %s and %s. %s="Coordinates point"

[3/6] Use the Depot %s to buy a new bus. %s="Coordinates of deposit."
To what does the %s refer here?

[4/6] Click on Schedule and select one or more stops in %s city. %s="City Name"
I assume this should be:
Click on <no schedule set> and select <create new line>.
Then select one or more stops in %s. %s="City Name"

[5/6] Now select one or more stops in %s. %s="City Name"
Title: Re: Pak128 Scenario Tutorial
Post by: Tjoeker on October 09, 2016, 10:34:43 PM
ok, than the %s can stay, I thought it referred to the city.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 13, 2016, 10:19:45 PM

@TjoekerThese are the texts of chapter 3 in Spanish.
Title: Re: Pak128 Scenario Tutorial
Post by: Tjoeker on October 14, 2016, 03:56:17 PM
I don't speak Spanish, could you try to translate it to English?
It doesn't matter if it's a bad translation, I'll correct it. ;)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 17, 2016, 05:38:50 AM

It was difficult, but finally achieve complete chapter 3.


Tutorial-ch3.zip (http://www.mediafire.com/file/hq0y32d1bg5ygp8/Tutorial-ch3.zip)


Still pending translations into English because I do not have internet on my computer and I depend on google translator. :-[
Title: Re: Pak128 Scenario Tutorial
Post by: Tjoeker on October 17, 2016, 05:59:23 AM
hmm, I see. I can have a look tomorrow.
Or is there anyone who speaks both Spanish and English, and is willing to help translating?
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 20, 2016, 02:07:59 AM
I solved a small error. :P http://www.mediafire.com/file/y9bs2fglxuxa6uh/Tutorial-0.2.zip (http://www.mediafire.com/file/y9bs2fglxuxa6uh/Tutorial-0.2.zip)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 22, 2016, 08:24:24 PM
@Tjoeker


I added the corrections, please check that all is well (may I make mistakes). :P


I also take the opportunity to correct some errors. ;D


http://www.mediafire.com/file/2xb9z0ey7zuik5x/Tutorial-0.2-traduc.zip
Title: Re: Pak128 Scenario Tutorial
Post by: Vladki on October 23, 2016, 11:15:43 AM
Hi, I'm trying the tutorial scenario (and intent to translate it to Czech).

I noticed that tin chapter 2, step C, I cannot build a bus stop at (98,97) - getting message: "you must leave this road clear for second bus". What is that?

I had a bit of problem to get through the CH2, step D - setting up the schedule. I got no feedback after setting the load to 100%. It did not let me continue If I set "copy backwards" - so a hint to make circular route would be nice.

CH3, paso B, step 1 - build straight slope - well there is already a straight slope - there should be some explanation about double heights and the need to have full height slope at the tunnel entrance. Flat slope is IMHO nonsense - either flat tile, or half slope. The necessary slope could be built by "classic" up/down tool.

Also the player could be allowed to make a cutting for the bus line in ch.2. Just to show him how it can speed up the travel.

CH3 paso D, step 1 - build tram rails? Should be train rails? And then the same with electric trains..

Ch3 - building the mail line - would be nice to let players build bridges over rivers, if they want. Also hints about recommended type of road/rail/catenary/tunnel/bridge would be nice.

Ch3 Paso I, step 6 - building signals - should tell the player how to make them single faced (one-way)

Ch3 paso I, even though I built quite a small train  (flying berliner) - it took ages to fill it to 100% as was required by script. (Maybe because I built the bus stop next to train station, so it took away many passengers). I was not wiling to wait and let the train depart without filling, but the scenario did not advance further. If there are no more tasks, it should say something.

I think setting 100% load for passenger service is not a good idea - it is enough to show it at freight services. Perhaps it should also lead the player to make stop at rio de abajo on the way back.


Anyway, good job ;) looking forward for further chapters.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 23, 2016, 02:05:56 PM



QuoteI noticed that tin chapter 2, step C, I cannot build a bus stop at (98,97) - getting message: "you must leave this road clear for second bus". What is that?
Simply hinders the passage of the second bus.


QuoteI had a bit of problem to get through the CH2, step D - setting up the schedule. I got no feedback after setting the load to 100%. It did not let me continue If I set "copy backwards" - so a hint to make circular route would be nice.
Do not use "copy backwards".


QuoteI think setting 100% load for passenger service is not a good idea - it is enough to show it at freight services. Perhaps it should also lead the player to make stop at rio de abajo on the way back.
This is easy to change. ;)



My idea is to use images to better explain things, but I'm still waiting for the patch: http://forum.simutrans.com/index.php?topic=15049.0


You can send the text files modified? (I'm not very good with English).

Title: Re: Pak128 Scenario Tutorial
Post by: Tjoeker on October 23, 2016, 03:50:44 PM
I'll adjust the textfiles (where possible without having to alter the code).

Players probably won't use 'copy backwards' as they are not told to do so.
But, This gave me an idea.
Why not let them make a second line, where they should use copy backwards?
Title: Re: Pak128 Scenario Tutorial
Post by: Vladki on October 23, 2016, 05:26:47 PM
Quote from: Tjoeker on October 23, 2016, 03:50:44 PM
I'll adjust the textfiles (where possible without having to alter the code).

Players probably won't use 'copy backwards' as they are not told to do so.
But, This gave me an idea.
Why not let them make a second line, where they should use copy backwards?

What about putting some curiosity (castle) half-way between the cities, and telling the player to make the first line (inside the city) circular, and the second line (inter-city) stop at the curiosity and use "copy backwards"
Title: Re: Pak128 Scenario Tutorial
Post by: Tjoeker on October 23, 2016, 08:06:31 PM
Good idea, Yona-TYT, what do you think?


I need a little help from a native English speaker.
How would you say this?:

"In this tutorial, the first steps in setting up your transportation empire in Simutrans are explained. The focus is on the necessary actions around transportation chains in Simutrans."



I am currently playing the scenario to see if I made any weird mistakes in its context.
But I still have this error at the end of chapter 1, step 3.
As soon as I click on the city hall, I get this error: (a hundred of them)
(http://i599.photobucket.com/albums/tt76/tjoeker/Error_1.png) (http://s599.photobucket.com/user/tjoeker/media/Error_1.png.html)
Title: Re: Pak128 Scenario Tutorial
Post by: jameskuyper on October 23, 2016, 08:21:35 PM
Quote from: Tjoeker on October 23, 2016, 08:06:31 PM
...
I need a little help from a native English speaker.
How would you say this?:

"In this tutorial, the first steps in setting up your transportation empire in Simutrans are explained. The focus is on the necessary actions around transportation chains in Simutrans."

Only the second sentence needs changing. Depending upon what you meant, this might be right:

The focus is on the actions necessary to build transportation chains in Simutrans.
Title: Re: Pak128 Scenario Tutorial
Post by: Tjoeker on October 23, 2016, 08:23:37 PM
I feel like the first sentence needs some changing as well.
It might grammatically be correct, it uses to many "in"s, which makes it difficult to read.

thanks for your help ;)


I found another bug in the scenario.
Chapter 1, step 1.
Sometimes I don't even get to see this step?
But besides that, the text asks me to rotate the map to continue to the next step.
But as soon as I move around and zoom in and out, the scenario proceeds to the next step...
Might not be a big deal, but can I change the text then? Or can you change the code? :)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 23, 2016, 09:37:19 PM
Quote from: Tjoeker on October 23, 2016, 08:06:31 PM
Good idea, Yona-TYT, what do you think?


I need a little help from a native English speaker.
How would you say this?:

"In this tutorial, the first steps in setting up your transportation empire in Simutrans are explained. The focus is on the necessary actions around transportation chains in Simutrans."



I am currently playing the scenario to see if I made any weird mistakes in its context.
But I still have this error at the end of chapter 1, step 3.
As soon as I click on the city hall, I get this error: (a hundred of them)
(http://i599.photobucket.com/albums/tt76/tjoeker/Error_1.png) (http://s599.photobucket.com/user/tjoeker/media/Error_1.png.html)

You can send a saved game ?.


Edit.

Create a new installation of simutrans using r7919 or r7920.
Title: Re: Pak128 Scenario Tutorial
Post by: Tjoeker on October 24, 2016, 08:32:13 AM
I already have nightly r7920
I can't save the game if the error already occured.
But here is the save game just the step before the error:
http://www.mediafire.com/file/u1o74x1eyu62o6t/Tutorial_Error.sve


hmm, obviously you can't save a scenario, as you can open the map, but not the scenario...
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 24, 2016, 01:40:48 PM
I can not replicate the error. :o


Report: http://forum.simutrans.com/index.php?topic=15840.msg155440;topicseen#msg155440
Title: Re: Pak128 Scenario Tutorial
Post by: Dwachs on October 24, 2016, 06:27:52 PM
@Tjoeker: Please update the game files (not only the executable) to a recent nightly.
Title: Re: Pak128 Scenario Tutorial
Post by: HarrierST on October 25, 2016, 02:18:33 AM
Quote from: Tjoeker on October 23, 2016, 08:06:31 PM

I need a little help from a native English speaker.
How would you say this?:

"In this tutorial, the first steps in setting up your transportation empire in Simutrans are explained. "

Try:

"In this tutorial, the first steps when setting up your transportation empire in Simutrans are explained. "
Title: Re: Pak128 Scenario Tutorial
Post by: Tjoeker on October 25, 2016, 06:15:12 PM
Quote from: Vladki on October 23, 2016, 11:15:43 AM
...

I think setting 100% load for passenger service is not a good idea - it is enough to show it at freight services. Perhaps it should also lead the player to make stop at rio de abajo on the way back.

...

Maybe we can spawn some people at the first stop after a small amount of time?



Yona-TYT,

Do you mind if I sometimes add some text to make some things clearer?
Like a little explanation here and there.
It's up to you to translate these back to Spanish ;)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 25, 2016, 07:04:35 PM
Quote from: Tjoeker on October 25, 2016, 06:15:12 PM
Yona-TYT,

Do you mind if I sometimes add some text to make some things clearer?
Like a little explanation here and there.
It's up to you to translate these back to Spanish ;)
There is no problem. ;) The truth is I'm not very good at explaining things. :P
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on January 02, 2017, 03:28:03 AM
I've fixed some bugs and applied this http://forum.simutrans.com/index.php?topic=16523.msg157450#msg157450 (http://forum.simutrans.com/index.php?topic=16523.msg157450#msg157450) to make things a bit more straightforward.

Scenario: Tutorial-stable.zip (http://www.mediafire.com/file/p6qnv8f6gssf4gy/Tutorial-stable.zip)
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on January 04, 2017, 08:09:03 PM
I get an error when loading your scenario ("new handler", "OUT OF MEMORY" sort of thing). Sound familiar or do I report a bug ?
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on January 05, 2017, 07:10:07 PM
Quote from: gauthier on January 04, 2017, 08:09:03 PM
I get an error when loading your scenario ("new handler", "OUT OF MEMORY" sort of thing). Sound familiar or do I report a bug ?

Hi, how are you? Thank you for trying the scenario. ;)

It seems that savegame is not compatible with your version of simutrans, you should use one night.




A small update.
Scenario:
Tutorial-v2.0.5.zip (http://www.mediafire.com/file/aj9glchy96jpjm3/Tutorial-v2.0.5.zip)[/color]
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on January 10, 2017, 06:10:35 PM
I'm fine, thanks ;) got very busy last year, no time or energy to make pak128 progress unfortunately. I Hope this year will be better.

Now I get a message "Loading scenario script failed" :/ (using Tutorial-v2.0.5, pak128 2.6, Simutrans 120.1.4 nightly rr8016 for linux)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on January 12, 2017, 09:28:37 PM
Quote from: gauthier on January 10, 2017, 06:10:35 PM
I'm fine, thanks ;) got very busy last year, no time or energy to make pak128 progress unfortunately. I Hope this year will be better.

Now I get a message "Loading scenario script failed" :/ (using Tutorial-v2.0.5, pak128 2.6, Simutrans 120.1.4 nightly rr8016 for linux)
You should do a complete update, (all files) ... it's the only thing I can think of because here the script works well.
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on January 14, 2017, 09:55:02 PM
That's what I did when I tried the nightly build :( I will retry later with a completely fresh install.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on March 31, 2017, 04:13:18 AM
After much work, here is a new version (only for testing).

Note: Use r8160 or higher

Scenario:
Tutorial-v3.0.0-beta.zip (http://www.mediafire.com/file/d2m4laz3h5g0ss0/Tutorial-v3.0.0-beta.zip) (Some translations are still missing.)
Changes:
- Stops/stations can now be deleted.
- The roads are now marked.
- The roads are no longer straight, it is free to choose where to build the road / rails.
- I've rewritten most of Chapter 3 (now it's more fun).
- The limits for the use of tools are marked (text labels are used).
- I have removed the part of electrified trains (soon will return).

(https://www.mediafire.com/convkey/3ac9/v8kou7u4wc7d8fc6g.jpg)




@Gauthier, I hope this works for you.... greetings!!.  ;)
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on April 02, 2017, 06:52:28 AM
Quote@Gauthier, I hope this works for you.... greetings!!.  (http://forum.simutrans.space/Smileys/default/wink.gif)
Looks like it works \o/ I'm going to give this a try  ;)

EDIT:

Here are all my comments. Sorry, it's long and mostly bothering you with text interpretation or typos :p



Typo in Scenario Info: "Chapterseach"

Took me some minutes to figure out that being in pause mode prevents scenario from going to the next step -_-" That should not happen with beginners of course, until one of them incidentally hit "p" :/

When you write things like "pressing the "A" key", this can be mistaken with shift + A, especially after explaining that map rotating needs shift + R.

That should be a bug unexpected feature report: coordinates change when rotating the map (that's already a major consistency problem in itself ! coordinates should be absolute, GPS coordinates of a point on Earth does not depend of the angle under which you are looking at the map.), and are not updated in the scenario description as long as the game is in pause (yes, I'm almost always in pause :p ).

"Cantebury has requested you to" can mistake some players into thinking that there is some kind of requests to fullfil in the game, that is not.

"First, you need to check whether there is a dead-end road underneath the depot." implies that a depot already exists and that one has to check if everything is ok under the depot. Not very clear ... I suggest "First, you need a depot to buy buses, [construction instructions]."

Why not giving coordinates to build the four bus stops in Chaper 2.C ? Showing players that these stops need to be built at reasonable distance from each other.

Images in scenario would be great to show what bus the player is expected to buy :p

Chapter 2.D: after having clicked the left arrow, the player has no instruction of closing the schedule window and starting the bus. Such instructions obviously sounds useless to us as people playing for long years, however there are still necessary for beginners who are afraid of doing anything wrong.

Chapter 2.E: "1You ..." -> "1. You ..."

Chapter 2.E: In the description of the first way of building a bridge, placing roads at extremities is no longer necessary for a few Simutrans releases now.

Chapter 2.F [2/6]: asks me to connect the two points between ... (97,7) and (97,7) even if the red marks are good. Finer instructions about building roads should be given here ("click here", "click there")

Chapter 3.A: "Grnaja de trigo" is named "Grain Farm" for me, idem for the mill.

Chapter 3.B [1/5]: "Connect the two points ..." Yes, but how ? Finest instructions should be given "select the ** km/h rail tool", the tutorial should show the player that the choice of the rail is not random, "click here", "click there".

Chapter 3.B [2/5]: I'm a beginner, never used terraforming tools, have no idea of what is a "straight slope". Finest instructions like "select the raise land tool", "click here", "click there" would be more appropriate ... oh it looks like I'm wrong, artificial slopes are expected here :p well, that does not matter, fine instructions are needed here.

Chapter 3.B. [4/5]: Fine instructions needed, I'm a beginner and I never built a tunnel.

Chapter 3.C [1/2]: idem, even if the moving mark is great !

Chapter 3.D [1/3]: "TRAM" rails ??? what the ... ?

Chapter 3.E [3]: I have a missing word "Select  and select the station ..." ... oh and the player has not been asked to open the convoy's schedule ;)

Chapter 3.G: typo in the mark at (38,2)

Chapter 3.G [1]: I'm asked to build TRAM (!) rails, at only one point instead of between two points as the marks on the map suggest.

Chapter 3.G: Looks like the game wants me to create the convoy, but I could not build rails and stations where it was necessary. Major bug here.

Could not go further :(




I learned some keyboard shortcuts thanks to your tutorial :p

This tutorial has great potential, I think more care should be given to details when explaining things to beginners. If you need help on the texts, I can help ;)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on April 02, 2017, 12:15:03 PM
Quote from: gauthier on April 02, 2017, 06:52:28 AM

This tutorial has great potential, I think more care should be given to details when explaining things to beginners. If you need help on the texts, I can help ;)


Yes, I need help with the texts.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on April 02, 2017, 05:41:02 PM
Here again, this time there are few changes.

Tutorial-v3.0.01.zip   (http://www.mediafire.com/file/tcezj95nn5c8887/Tutorial-v3.0.01.zip)(test only)

Changes:
Rewriting the part for the placement of passing signals.
F [1/5] The use of tools is now blocked to avoid interfering with the route of the first train.
Changes in some texts.



Edit.
@Gauthier.
QuoteWhy not giving coordinates to build the four bus stops in Chaper 2.C? Showing players that these stops need to be built at reasonable distance from each other.
I like to let the player decide where to build, maybe I should put this to a vote.
Quote
Chapter 2.D: after having clicked the left arrow, the player has no instruction of closing the schedule window and starting the bus. Such instructions obviously sounds useless to us people for long years, however they are still necessary for beginners who are afraid of doing anything wrong.
The bus starts, there is no need to close the schedule window.

QuoteChapter 3.G: typo in the mark at (38,2)
The mark is correct, just pass me through a tile with the limits (very easy to solve).

QuoteChapter 3.G: Looks like the game wants to create the convoy, but I could not build rails and stations where it was necessary. Major bug here.
Can you send me a savegame?

The rest are text errors (I do not know much English). :-[
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on April 04, 2017, 06:51:00 PM
Could you send me a private message with an email adress ? The savegame is a little bigger than the forum's attachement size limit.

How can I help with the texts ?

By the way ... Chapter 2.D: I have two useless "x" marks at 97,31 and 98,31. (in the previous version of the tutorial, not the one you just uploaded).
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on April 07, 2017, 03:08:43 AM
Quote from: gauthier on April 02, 2017, 06:52:28 AM

Chapter 3.G: Looks like the game wants me to create the convoy, but I could not build rails and stations where it was necessary. Major bug here.

Could not go further :(
I do not understand how to advance level without first building the rails that connect the two factories (something very strange is happening).

I suspect that pausing the game is causing problems (I think Prissi mentioned something about this).

Quote from: gauthier on April 04, 2017, 06:51:00 PM
By the way ... Chapter 2.D: I have two useless "x" marks at 97,31 and 98,31. (in the previous version of the tutorial, not the one you just uploaded).
It is to avoid obstructing the passage to the second bus.

Quote from: gauthier on April 04, 2017, 06:51:00 PM
How can I help with the texts ?
These are the text files for the scenario information window:
en-text.zip (http://forum.simutrans.com/www.mediafire.com/file/3a4d932962abovm/en-text.zip)




In good time! Here another version

Scenario: Tutorial-v3.2.0.0-beta.zip
(http://www.mediafire.com/file/az66pudn95j4f5h/Tutorial-v3.2.0.0-beta.zip)
Changes:
Re-written the part of chapter 2, now are indicated  the points where to place the stops.

Chapter 3, now advances level after the factories receive goods.

Added the following texts:
Quote
__Step 3__
It is necessary to build bus stops at each of the points marked in the city
Note: The stops have a coverage of 4x4, therefore it is advisable to place the stops at a distance of 4 tiles (squares).

__Step 4__
To configure the route of the vehicle, you must first click on the "Schedule" button.
With the "Schedule" window open, you should now select all stops in the city to add them to the list.
After adding the 7 stops, select the first one from the list and place the Minimum load at 100%.

------------------------------------
__Pop-up window__
You can only build stops on roads
You can only build stops on flat ground
You can only build on a straight road
It is not possible to build stops at intersections
The "station name" stop must be for passengers
There is already a stop here.
Place the stops at the marked points.
You can only delete the stops.
Indicates the limits for using construction tools
The stop "station name" was not selected

(https://www.mediafire.com/convkey/976a/prwcxwdc3c0tgyg6g.jpg)

@gauthier, Please try to replicate the error with the new version, greetings !.
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on April 08, 2017, 07:50:56 AM
Hi !

Trying your latest release (3.2.0.0-beta):

Script crashed after placing two stops (A at 95,6 and B at 90,4) in Lancaster, buying a bus in the depot, setting the schedule to serve
_ one stop in Canteburry
_ stop A in Lancaster
_ stop B in Lancaster
_ stop A in Lancaster
-> boom

I started working on the texts and will progress as far as the crashes allow me to do :p

EDIT: Oh and I did not use pause at any moment from the loading of the scenario ;)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on April 08, 2017, 12:06:05 PM
Quote from: gauthier on April 08, 2017, 07:50:56 AM
Hi !

Trying your latest release (3.2.0.0-beta):

Script crashed after placing two stops (A at 95,6 and B at 90,4) in Lancaster, buying a bus in the depot, setting the schedule to serve
_ one stop in Canteburry
_ stop A in Lancaster
_ stop B in Lancaster
_ stop A in Lancaster
-> boom

I started working on the texts and will progress as far as the crashes allow me to do :p

EDIT: Oh and I did not use pause at any moment from the loading of the scenario ;)

I have already fixed those errors, but I have not finished the next version.
I attached the file for chapter 2. (Needs the r8198 or higher).
Replace the one in "/ Tutorial / class"
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on April 09, 2017, 07:12:07 AM
Now stuck at 3.A.2, clicked on Grnaja de Trigo but the scenario does not proceed.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on April 09, 2017, 12:19:03 PM
Forget about that  lol.   :o

Solved here: class_chapter_03.nut (http://www.mediafire.com/file/v79b27k2xv1d70b/class_chapter_03.nut)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on April 10, 2017, 12:01:11 PM
The v3.5 is already ready! ;D

Edit.
Change to v3.5.01
Scenario: Tutorial-v3.5.01.zip (http://forum.simutrans.com/www.mediafire.com/file/stmfkutx006fcln/Tutorial-v3.5.01.zip) (Needs the r8198 or higher).

Changes:
- [Chapter 2] Some errors are fixed.
- [Chapter 3 step 1] You can now advance level by clicking on the fields around the farm.
- [Chapter 3 step 10] Electrified train again.
- [Chapter 3] Some bug fixes.

Added the following texts:

QuoteChapter 2
________________________________________________Step 4_______________________________________________________________ __________
>[1] First click on the  Garage{pos} and I bought a bus {busname}.


[2] To configure the route of the vehicle, you must first click on the Schedule button.


[3] With the Schedule window open, you should now select all stops in the city to add them to the list:

{posb}


[4] After adding the 7 stops, select the first one from the list and place the Minimum load at 100%.


[5] Now click the Start button so that the vehicle starts from the deposit.



It advances to the next step when the bus arrives at the first way stops on the list.



__Pop-up window__
The schedule needs to have 2 or more ways tops.

------------------------------------
Chapter 3
________________________________________________Step 1_______________________________________________________________ __________
Wheat farm
Wheat mill

________________________________________________Step 5 and 7_______________________________________________________________ __________
It advances to the next step when the {cmi} receive 162t of grains.

 

Received amount: <st>{reached}t</st>
________________________________________________Step 10______________________________________________________________ ___________
Use the Catenary tool to electrify all rails

__Pop-up window__
You must use the inspection tool
It is not allowed to build here
Station No.%d here
You can only delete the stations.
This rails is reserved for the first train
You must build the bridge here
You can only remove the bridge
Only delete signals
The signal does not point in the correct direction
Place a block signal here
It must be a block signal!
The signal is ready!

(https://www.mediafire.com/convkey/42b0/i8cafb4ua92vir76g.jpg)
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on April 10, 2017, 06:05:38 PM
Before I test it, have you made sure that the scenario is able to finish ? :p
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on April 10, 2017, 06:25:53 PM
Quote from: gauthier on April 10, 2017, 06:05:38 PM
Before I test it, have you made sure that the scenario is able to finish ? :p
You should be able to get to Chapter 3 - Step J.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on April 11, 2017, 04:29:55 PM
I release this version to correct an error with the texts.

I also removed the pause button to avoid problems and others that were not needed.

Tutorial-v3.5.01.zip (http://www.mediafire.com/file/stmfkutx006fcln/Tutorial-v3.5.01.zip)

Quote from: gauthier on April 10, 2017, 06:05:38 PM
Before I test it, have you made sure that the scenario is able to finish ? :p
I apologize for so many problems, but they are a lot of things and it is difficult to try them all.
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on April 11, 2017, 06:30:36 PM
QuoteI apologize for so many problems, but they are a lot of things and it is difficult to try them all.
I did not say that seriously, sorry if I was misunderstood  :-[
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on April 13, 2017, 05:03:23 PM
Using v3.5.01

Warning: at loading the scenario, view is not on the main town, that can be unconfortable for new players.

3.F : Got a "Not allowed" message when building the third tile of the wheat mill's station, although a second attempt worked well.

3.G : "It advances to the next step when the Whear mill receive 154t of grains" -> it's about the bakery receiving flour now, no longer about the wheat mill receiving grains.

3.H.1 : The instruction lacks coordinates so the player doesn't know where to build the tunnel entrance.

After completing 3.J, I only have a "{tx10}". Is that the current end of the tutorial ?

I'm now working on fixing English texts and creating French ones :)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on April 13, 2017, 05:15:36 PM
Quote
3.F: Got a "Not allowed" message when building the third tile of the wheat mill's station, although a second attempt worked well.
That happens when the tool gets stuck by accident, (I tried to improve this but no luck).

Quote3.G: "It advances to the next step when the Whear mill receives grains" -> it's about the bakery receiving flour now, no longer about the wheat mill receiving grains.
It is already fixed.

Quote3.H.1: The instruction lacks coordinates so the player does not know where to build the tunnel entrance.
It is already fixed.

QuoteAfter completing 3.J, I only have a "{tx10}". Is that the end of the tutorial?
For the moment yes.
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on April 15, 2017, 12:47:17 PM
I reworked the texts in English (attached file), especially to give more precise instructions when the player has to build something (going in the toolbar, etc ...).

The distribution of text pieces between .tab files and language folders is not really clear to me, especially when it comes to building the tunnel between the grain farm and the mill (there's no mention of this in the files in the language folders, only in the en.tab).

In the en.tab file, in some couples, I modified the lower text as the upper one is used for matching with some hardcoded text (I suppose). Is it okay to have the hard coded text also modified so the en.tab becomes homogenous again ?

I will make a French translation as soon as all theses points are clear.

Here is a non-exhaustive changelog, only really relevant changes are here:
Quote
1.B : Added a warning about map coordinates changing with rotation.

2 : Changed the formulation "has requested you ..." by something more neutral that does not imply that there are precise objectives in the game.

2.A : Added a paragraph to tell the player to open the road toolbar, select the 50 km/h road, and how to build a road.

2.B : Modified the text as a consequence of the previous change.

2.C : Fixed the coverage area size (5x5 and not 4x4). Added a tip to see covered tiles with the "v" key. Mentioned that stops too are in the road tools toolbar. Added a note that streets don't need to be covered as they do not generate passengers.

2.D : Added instructions to eventually close the schedule window and to click on the start button.

2.E : Removed the instruction to place a road on the two opposing slopes, which is not necessary. Added instruction to pick up the 50 km/h bridge in the road tools toolbar.

3.A.2 : Added an example for the parts Production and Consumption. Mentioned that transporting workers to the factory is not mandatory though it increases production.

3.B : In the last paragraph, replaced the word "road" by "railroad".

3.B.1 : Added instructions to open the railroad tools toolbar and select a track.

3.B.2 : Added instructions to open the landscaping tools toolbar and select the appropriate slopes. Replaced "straight slope" with "steep slope".

3.B.4 : Added instructions to select a tunnel tool in the railroad tools toolbar and click on the steep slope.

3.C : Added the piece of information that station tools are also in the railroad tools toolbar.

3.D.1 : Replaced "tram rails" with "rails".

3.E.A : Added the piece of information that locomotives are in the "locomotives" tab, and wagons in the cars "tab". Fixed a missing word in [3]: when you want to actually print "<" or ">" in a XML-like code, you have to use "&lt" and "&gt". Tip: added that the filter is in the depot's window.

3.G : Replaced all mentions like "tram..." with "rail...". Added instructions to buy some wagons.

3.G : Fixed "It advances to the next step when the Whear mill receive 154t of grains" -> it's about the bakery receiving flour now, no longer about the wheat mill receiving grains.

3.H : Remplaced "modus" with "mode".

3.H.2 : Added instructions to use the lowering tool from landscaping tools toolbar.

3.H.3 : Added instructions to build a stretch of tunnel using the tunnel tool (and not to look for the regular tracks tool).

3.I : Added instruction to quit sliced underground mode.

3.I.5 : Added instruction to click several times to change direction of signals.

3.J.1 : Added instruction on how to use catenary tools (click at two connected points on the tracks to electrify the path from the first to the second, warned that it respects signals'direction).

3.J.3 : Added a note that only electrified depots show electric vehicles. Added a piece of information that the passenger train should be in the "electrics" tab, otherwise having electrified the tracks would not make sense.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on April 15, 2017, 05:39:10 PM
QuoteIn the en.tab file, in some couples, I modified the lower text as the upper one is used for matching with some hardcoded text (I suppose). Is it okay to have the hard coded text also modified so the en.tab becomes homogenous again?

Yes, it is a codified text, it is easier for me to handle the text strings in this way ... you must always modify the lower one to be assumed as a translation.



Check this out, I may have missed some text.

Modify only the lower text.

Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on April 15, 2017, 07:32:35 PM
What do you want me to  check ? If the English is good enough, if these lines are understandable by newbies, if everything in what I shared earlier has been taken into account ?

Anyway, there are some lines in Spanish in this text (line 225 to 234).
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on April 16, 2017, 01:55:47 AM
Quote from: gauthier on April 15, 2017, 07:32:35 PM
Anyway, there are some lines in Spanish in this text (line 225 to 234).
It's for the next version. ;)




This needs corrections:
Quote
The roads:
This tool can be used by dragging the mouse or clicking from one point to another, you can also press the [Ctrl] key to build straight paths. There are several types of roads, these can vary their maximum speed from 30km / h to 200km / h. The maintenance of the roads is charged and costs vary depending on the type of road. It is also possible to electrify the roads to allow the passage of electric vehicles.

Deposits:
You can only build a deposit on an existing road and the edges of this (blind alley). From the depots it is possible to buy, sell, route and start the vehicles. There is also an option that allows electric vehicles to be used, but this is only shown if the road under the tank is electrified.

Bus Stops:
In order for the bus to be able to load passengers it is necessary that the stops are close to some building, tourist attraction or factory. The stops have a storage capacity of 32, 64 or more, in case of saturation you will be charged a penalty. It is also possible to combine them to increase their load capacity along with their coverage. You can also extend the load type using extension buildings or stations that accept different types of load..
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on April 16, 2017, 02:41:53 PM
It would be very nice to be able to display images for the next version. :-[
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on April 22, 2017, 06:35:13 PM
New version, although a little incomplete I'm afraid.  :-[

Scenario: Tutorial-v3.8 (http://files.simutrans.com/index.php/s/anoNZYNEoL91JyO) (New storage service courtesy of Isaac) ;)

Some of the changes are:
Implemented function to check vehicles in the depot (it's a pity that this does not work correctly, this is necessary (http://forum.simutrans.com/index.php?topic=16563.msg161925#msg161925)).
You can start chapter 4 (work in progress)
[Chapter 3] Re-written step 8
I have moved the texts to a separate file (thinking about the future patch for images).
Tunnels and cruses are now marked
Some bug fixes

Added the following texts:
QuoteChapter 2
________________________________________________Step 1_______________________________________________________________ __________
The roads:
This tool can be used by dragging the mouse or clicking from one point to another, you can also press the [Ctrl] key to build straight paths. There are several types of roads, these can vary their maximum speed from 30km / h to 200km / h. The maintenance of the roads is charged and costs vary depending on the type of road. It is also possible to electrify the roads to allow the passage of electric vehicles.

________________________________________________Step 2_______________________________________________________________ __________
Deposits:
You can only build a deposit on an existing road and the edges of this (blind alley). From the depots it is possible to buy, sell, route and start the vehicles. There is also an option that allows electric vehicles to be used, but this is only shown if the road under the tank is electrified.

________________________________________________Step 3_______________________________________________________________ __________
Bus Stops:
In order for the bus to be able to load passengers it is necessary that the stops are close to some building, tourist attraction or factory. The stops have a storage capacity of 32, 64 or more, in case of saturation you will be charged a penalty. It is also possible to combine them to increase their load capacity along with their coverage. You can also extend the load type using extension buildings or stations that accept different types of load..

Chapter 3
________________________________________________Step 8_______________________________________________________________ __________
__Pop-up window__
The slope is ready.
Lower the land here
First you must build a tunnel section.
First you must lower the layer level.
Modify the terrain here
________________________________________________Step 10______________________________________________________________ ___________
<h1>Electrified Trains:</h1>
The first step to use these trains is to electrify all the tracks, then in the deposit window select the tab Electrics.

Select Now:

>[a] A train {vna2}

Six wagons{vna3}

[c] A cabin {vna3}


Capture:
(http://files.simutrans.com/index.php/apps/files_sharing/ajax/publicpreview.php?x=1440&y=372&a=true&file=tutorial-v3.8.png&t=X7g0KUBMr1E8lD8&scalingup=0)




@gauthier
It is possible that I have lost some of your translations,  verify sure they are all in place.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on May 01, 2017, 05:19:27 PM
Better late than never, here is v4. I think it can already be included in pak128 (if everything works well clear). ;D

Scenario: tutorial-v4.0.zip (http://files.simutrans.com/index.php/s/S2rD4i4i1jNhckd) (You need to use r8223)

Note: Chapter 4 is incomplete (a lot of work is missing)

Changes:
Some problems are fixed with the lines
Complete implementation of "is_convoy_allowed"
Improvements in is_schedule_allowed "
Some bug fixes.

Added the following texts:
QuoteChapter 2

__Pop-up window__
You must first buy a bus [%s].
You must first buy a bus [%s].
Only one Bus is allowed, press the [Sell] button.
Only one Bus is allowed, press the [Sell] button.
Select the Bus [%s].
Select the Bus [%s].
Must not use trailers [%d].
Must not use trailers [%d].
The bus must be [Passengers].
The bus must be [Passengers].
The schedule is not correct.
The schedule is not correct.
It is not allowed to start vehicles.
It is not allowed to start vehicles.

Chapter 3
__Pop-up window__
Crates Deliverables
Crates Deliverables
You must first buy a locomotive [%s].
You must first buy a locomotive [%s].
Only one train is allowed, press the [Sell] button.
Only one train is allowed, press the [Sell] button.
Must choose a locomotive [%s].
Must choose a locomotive [%s].
The number of wagons must be [%d].
The number of wagons must be [%d].
All wagons must be for [%s].
All wagons must be for [%s].

Capture:
(http://files.simutrans.com/index.php/apps/files_sharing/ajax/publicpreview.php?x=1440&y=372&a=true&file=Tutorial-v4.0.png&t=OAFgGVbukOU0RzS&scalingup=0)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on May 04, 2017, 10:03:40 PM
Here the first stable version ;D .

Scenario: tutorial-v4.3.zip (http://files.simutrans.com/index.php/s/aWbnIfWaQDVS8eL/download)

Changes:
Chapter 4 is ready.
Translations for chapter 4.
Now only the necessary amount of vehicles in circulation is perimited.
Now it is only allowed to use the deposit indicated.
More improvements in line management.
More bug fixes.

Capture:
(http://files.simutrans.com/index.php/apps/files_sharing/ajax/publicpreview.php?x=1440&y=372&a=true&file=Scenario-v4.3.png&t=oajHup6xWgvbEQk&scalingup=0)
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on May 08, 2017, 07:42:21 AM
Tested with r8233 (linux)

2.F.6/7: "Select the last stop ()" the name of the stop is missing.

3.B.1/5: The instruction should specify that tracks should be used.

3.C.1/2: I was able to build one piece of platform that does not accept goods (passengers instead), I was warned only at the second piece of platform. I don't have checked that with other stations.

3.H.2/5: Sliced underground "MODE" and not "MODUS", I let you replace all occurences of this in your files ;)

3.H.2/5: The instruction should specify that the down flat slope tool in the landscaping tools should be used here, otherwise the beginner has no idea of what he should do.

3.J.5/5: Stuck here, I tried to put one postal wagon in the convoy to see what happens, as expected the game did not allow me to dispatch a such convoy. The problem is that then, after replacing this postal wagon with a passenger car, having six cars as requested by the tutorial, it would not dispatch with an error message telling me that the convoy must have six cars (problem 1). I tried disassembling the convoy and recomposing it and then I could not use the schedule button (problem 2).
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on May 08, 2017, 03:30:39 PM
Quote2.F.6/7: "Select the last stop ()" the name of the stop is missing.
is resolved.

Quote3.B.1/5: The instruction should specify that tracks should be used.
How about this:
Quote
Using the track tool, connect the two points between {w1} and {w2}.

Quote3.C.1/2: I was able to build one piece of platform that does not accept goods (passengers instead), I was warned only at the second piece of platform. I don't have checked that with other stations.
It is because there is no direct way to differentiate between a passenger and good station, it can only be checked after building it, in that case it is necessary to use the tool to remove and build the station again.

Quote
3.H.2/5: Sliced underground "MODE" and not "MODUS", I let you replace all occurences of this in your files ;)
Only on one occasion.  :P

Quote
3.H.2/5: The instruction should specify that the down flat slope tool in the landscaping tools should be used here, otherwise the beginner has no idea of what he should do.
Can you modify this?

Quote
3.J.5/5: Stuck here, I tried to put one postal wagon in the convoy to see what happens, as expected the game did not allow me to dispatch a such convoy. The problem is that then, after replacing this postal wagon with a passenger car, having six cars as requested by the tutorial, it would not dispatch with an error message telling me that the convoy must have six cars (problem 1). I tried disassembling the convoy and recomposing it and then I could not use the schedule button (problem 2).
I do not know if I understand correctly, does the "Action not allowed" message appear when clicking on the stations?...  Can you send a savegame? (You can use the service: http://files.simutrans.com)

Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on May 12, 2017, 04:28:20 AM
I release this version so that they have fun doing tests.  :P

Edit. (I have fixed a small error that allowed a jump from [5/10 to 7/10]).
Scenario: tutorial-v4.4.01.zip (http://files.simutrans.com/index.php/s/o08lZVZ8Mqe1cDZ)

The most important change:
[Chapter 3, step 10] Added 1 train for each of the stations (it was a bit difficult to achieve  :o ).


Capture:
(http://files.simutrans.com/index.php/apps/files_sharing/ajax/publicpreview.php?x=1440&y=372&a=true&file=Tutorial-v4.4.png&t=UXXExUeqSRygxyQ&scalingup=0)

Greetings. ;)
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on May 13, 2017, 08:23:33 AM
2.B: "if the road under the tank is electrified", tank != depot !

2.D: Editing the schedule, if I remove a stop from the list, it stays "OK" in the tutorial window.

2.F.6/7: Set the last stop at 100% but the tutorial does not take to the next step although it took to the next step after closing the schedule window and dispatching the bus. I don't know how to reproduce this.

3.B: Still needs to specify that track tools are in railroad toolbar.

3.D: A small paragraph to tell the player how to know if a station accepts goods or anything else would be nice, something like "To know if a station accepts goods, let your cursor on the button and a tooltip pops up. A whole station accepts goods if at least one of its buildings does."

3.F: Would it be possible to hide elevated tracks buttons in this step ? Confusion with bridges is likely to happen.

3.H: The piece of track prebuilt on the steep slope is, in itself, a glitch but is not necessary to start the tunnel, everything would work great without it.

3.H.2/5: Should mention that "lowering the terrain" here means using the down flat artificial slope tool in the landscaping tools. A paragraph explaining how to use these tools to lower or raise underground tracks would be helpful.

3.J: After trying to make a postal train, selling it, and assembling the expected train, clicking on shedule, the tutorial window tells me to click on Cantebury Monumento -Estacion but clicking on it (on any platform) is an "action not allowed". Reloading the savegame before this step doesn't help. Once again I'm stuck.


During the whole tutorial, player can do stuff unrelated to the tutorial and is likely to break the tutorial at any point (nobody knows how a beginner thinks :p ). Would it be possible to implement things so that a player can only do the expected action ? I mean, instead of forbiding any other actions we can think of, forbid anything that is not a precise action ? That would make coding the scenario much easier and the scenario itself will be much more resistant to bugs.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on May 13, 2017, 02:04:29 PM
Quote from: gauthier on May 13, 2017, 08:23:33 AM
3.J: After trying to make a postal train, selling it, and assembling the expected train, clicking on shedule, the tutorial window tells me to click on Cantebury Monumento -Estacion but clicking on it (on any platform) is an "action not allowed". Reloading the savegame before this step doesn't help. Once again I'm stuck.

The problem is that you must copy the train three times for a total of 4 trains, (I have fixed a small error that allowed a jump from [5/10 to 7/10]).


tutorial-4.4.01.zip (http://files.simutrans.com/index.php/s/o08lZVZ8Mqe1cDZ)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on May 17, 2017, 01:07:57 AM
Quote2.B: "if the road under the tank is electrified", tank != depot !
It is fixed.

Quote
2.D: Editing the schedule, if I remove a stop from the list, it stays "OK" in the tutorial window.
I've improved a bit, but it's not possible to be perfect.
Quote
2.F.6/7: Set the last stop at 100% but the tutorial does not take to the next step although it took to the next step after closing the schedule window and dispatching the bus. I don't know how to reproduce this.
If you advance after pressing the start button, I have added more information here. ;)
Quote
3.B: Still needs to specify that track tools are in railroad toolbar.
What do you think of this ?: "Select" Railroad Tools "from the toolbar and choose the track tool to connect the two points between {w1} and {w2}.
 
"
Quote
3.D: A small paragraph to tell the player how to know if a station accepts goods or anything else would be nice, something like "To know if a station accepts goods, let your cursor on the button and a tooltip pops up. A whole station accepts goods if at least one of its buildings does."
Ok.

Quote3.F: Would it be possible to hide elevated tracks buttons in this step ? Confusion with bridges is likely to happen.
The id of the tracks and the elevated tracks are the same, not with us another way of differentiating them I am afraid.

Quote3.H: The piece of track prebuilt on the steep slope is, in itself, a glitch but is not necessary to start the tunnel, everything would work great without it.
The problem is that the track and the entrance of the tunnel are not automatically logged when the track belongs to the public service.

Quote3.H.2/5: Should mention that "lowering the terrain" here means using the down flat artificial slope tool in the landscaping tools. A paragraph explaining how to use these tools to lower or raise underground tracks would be helpful.
That can be explained very well using images (I still hope that the patch is incorporated).

QuoteDuring the whole tutorial, player can do stuff unrelated to the tutorial and is likely to break the tutorial at any point (nobody knows how a beginner thinks :p ). Would it be possible to implement things so that a player can only do the expected action ? I mean, instead of forbiding any other actions we can think of, forbid anything that is not a precise action ? That would make coding the scenario much easier and the scenario itself will be much more resistant to bugs.
Without doubts that yes, but this is not implemented in the script, nor do I believe that some developer willing to implement it I fear. :-[
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on May 17, 2017, 02:43:14 AM
Here is another version to continue extending the list. :P

Scenario: tutorial-v4.5.zip (http://files.simutrans.com/index.php/s/XKa2bnWUTFfbg2d)

Most changes are for Chapter 2.

Changes:
[Chapter 2] New step that allows to start three vehicles.
[Chapter 2] "LIAZ 677" buses are now being used.
Some corrections in the texts.

Capture:
(http://files.simutrans.com/index.php/apps/files_sharing/ajax/publicpreview.php?x=1440&y=372&a=true&file=tutorial-v4.5.png&t=qndd5jjNM63Inpn&scalingup=0)

Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on May 22, 2017, 07:24:40 AM
I noticed that you made player unable to pause the game, nice :p

Chapter 2 [1/3][4,5,6,7,8,9,10] : are all the same instruction.
Chapter 2 [1/3][11] : At the end, there are only two stops in the line, no point of using "copy backward".
Chapter 2 [1/3][12] : At closing the schedule window, I get an error popup about a waypoint not in place. The line remains empty after that.
Chapter 2 [1/3] : "when all vehicles are in circulation." what "all" vehicles ? There's no instruction about buying several ones or copying the one I bought.

Stuck there.

I'm confused as I often run into problems like this, and please forgive me if I get a little offensive ... do you actually test your scenario before uploading it ?
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on May 22, 2017, 08:26:47 PM
QuoteChapter 2 [1/3][4,5,6,7,8,9,10] : are all the same instruction.
It is fixed.

QuoteChapter 2 [1/3][11] : At the end, there are only two stops in the line, no point of using "copy backward".
I do not understand, why not use this button? ... It seems useful to me that the vehicle travels all the stops to the return. ???

QuoteChapter 2 [1/3][12] : At closing the schedule window, I get an error popup about a waypoint not in place. The line remains empty after that.
I can not replicate its error, in fact I have tried many times and nothing.
Try updating your version of simutrans, and try again.
I would also like to check out a savegame.

QuoteChapter 2 [1/3] : "when all vehicles are in circulation." what "all" vehicles ? There's no instruction about buying several ones or copying the one I bought.
Stuck there.
In this step try to teach to use the lines, it is not allowed to copy the vehicles so that the player is forced to use the lines. What you should do is buy a vehicle, assign the line you just created and start it.
I thought this was a good idea, but if you do not think so then I change it.

QuoteI'm confused as I often run into problems like this, and please forgive me if I get a little offensive ... do you actually test your scenario before uploading it ?

Offended? No, not at all, but I'm happy that somebody help me to test this, since this scenario is extremely complicated.

The truth is I have to do a lot of testing before releasing a new version, but for some reason some errors always escape.  :o
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on May 31, 2017, 03:21:53 AM
Tutorial-v5.0

Scenario  -->  tutorial-v5.0.zip (http://files.simutrans.com/index.php/s/zuwwVADjzLYdki6)  (Needs the r8242 or higher).


Very happy to announce two major changes in this version:  ;D ;D ;D
1-Now can be recovered vehicles deleted:
If for some reason you delete a vehicle in circulation or send it to the deposit, the scenario will return the chapter / step so that you can recover it.

2-A link to advance in passing (chapters 1 and 2 only):
It works like the links towards coordinates, but in this one execute functions that allow to complete and to advance of step ...  thanks to dwachs http://forum.simutrans.com/index.php?topic=17135.msg163121#msg163121 (http://forum.simutrans.com/index.php?topic=17135.msg163121#msg163121).

(http://files.simutrans.com/index.php/apps/files_sharing/ajax/publicpreview.php?x=1440&y=372&a=true&file=tutorial-v5.0.png&t=1xwPqhWmTPsWfUp&scalingup=0)




Quote
Chapter 2 [1/3][12] : At closing the schedule window, I get an error popup about a waypoint not in place. The line remains empty after that.
@gauthier
I can not replicate the problem, but I suspect it may be caused by this: http://forum.simutrans.com/index.php?topic=17140.0
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on June 06, 2017, 08:43:38 PM
QuoteI do not understand, why not use this button? ... It seems useful to me that the vehicle travels all the stops to the return. (http://forum.simutrans.space/Smileys/default/huh.gif)
I had only two stops in the line. I suspect there should be more.
As soon as I test your v5.0 I tell you if I run again into this.

QuoteDuring the whole tutorial, player can do stuff unrelated to the tutorial and is likely to break the tutorial at any point (nobody knows how a beginner thinks :p ). Would it be possible to implement things so that a player can only do the expected action ? I mean, instead of forbiding any other actions we can think of, forbid anything that is not a precise action ? That would make coding the scenario much easier and the scenario itself will be much more resistant to bugs.
This solution should really be considered. It's obvious that achieving a bug-proof tutorial will be a long and painful way. If implementing an "only-one-permitted-action" logic is not possible in the tutorials as they are coded currently, that is probably not so difficult to implement. You could ask developers about that.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on June 07, 2017, 05:24:47 AM
Yes, I have seen this in tutorials of other games, and I really would like this.
Unfortunately I do not think this is implemented, because of the following:
1- Complication of the code: We all know how complicated is the simutrans code.  :o 
2- Availability of the developers: I think we only have a single developer in the script part and its availability is very limited (in fact a few days ago I expect answers to some problems).  :-[ 
3- Do developers like the idea ?: If they do not like it just will not happen, even in some cases I have provided codes for implementation, but nothing ... you can see here that most of the themes are mine. --> http://forum.simutrans.com/index.php?board=143.0 (http://forum.simutrans.com/index.php?board=143.0)
Either way, I think it's always worthwhile to post an idea.  ;)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on July 13, 2017, 02:46:26 PM
Version 6.0 is ready !.  ;D ;D ;D ;D

The most important thing is that you can now skip steps in Chapter 3.

I have also solved some problems with the convoys in the process.

Scenario --> tutorial-v6.0.zip (http://files.simutrans.com/index.php/s/nrfRybhzs9GJsv1)

(http://files.simutrans.com/index.php/apps/files_sharing/ajax/publicpreview.php?x=1440&y=372&a=true&file=tutorial-v6.0.png&t=iUhekLro5fbR7Vk&scalingup=0)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on August 25, 2017, 03:38:11 AM
I leave here the final version of Tutorial, hopefully it will be included in the next release of pak128. :P

Scenario -> tutorial-v6.2.01 (http://files.simutrans.com/index.php/s/uvtcoFRJ1tPKT9j)

The only major change is the support for the  button: "Promote to line -> http://forum.simutrans.com/index.php?topic=17140.0 (http://forum.simutrans.com/index.php?topic=17140.0)".

I hope you like it, greetings!!. ;D


Edit.

v6.2.01 A small error is fixed.
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on August 28, 2017, 07:14:38 PM
Hey ! Don't worry, I have not forgotten your tutorial. I will test this as soon as possible and if it's newbie-proof enough, it will surely be included in pak128's next release ... wait ... what next release ? :p
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on August 29, 2017, 10:33:48 PM
Quote from: gauthier on August 28, 2017, 07:14:38 PM
it will surely be included in pak128's next release ... wait ... what next release ? :p




Well I hope to be alive to see the next version of pak128.  :P
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on August 31, 2017, 07:31:22 PM
Yes, I know. It's been a long time. I did some things which are commited to the SVN since the next release but now I feel bad releasing a new version, ages after the previous one, with only little fixes and .dat improvements  :-[
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on October 04, 2017, 07:12:42 PM
Everything is in the screenshot. Juste after buying the bus, I get the error window poping several times a second. (Simutrans 120.2.3 rr8233 with Linux x64).
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 05, 2017, 02:16:12 AM
Quote from: gauthier on October 04, 2017, 07:12:42 PM
Everything is in the screenshot. Juste after buying the bus, I get the error window poping several times a second. (Simutrans 120.2.3 rr8233 with Linux x64).

Hello friend, how are you? ... thanks for test the script.

The error is because the function "convoy_x :: is_in_depot" is available from r8235 onwards ;).
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on October 05, 2017, 05:05:22 PM
Oh indeed, I forgot that your tutorial uses some not-released-yet features, my bad ! I will test again soon.
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on October 14, 2017, 02:33:15 PM
I still get stuck :/

These comments are only my opinion and I won't mind if you disagree with some of them and choose not to apply them. Some of them might repeat older comments as I don't remember all that has been said.

The debug tab of the scenario information window should be removed for an actual release.

2.A: typo "once the beginning" instead of "once on the beginning"

2.B: I suggest "You can only build a depot on dead ends." instead of "You can only build a depot on an existing road and the edges of this (blind alley)." (overcomplicated and so unclear formulation)

2.C: "In case of saturation you will be charged a penalty.", as far as I know it's not the way it works. A saturated stop just stops generating new passengers or goods.

2.D: I don't know if this is fixable: stop lines in the scenario information are red again after closing the schedule window.

2.F.1: No big deal but still: I would replace "necessary" with "useful". I would also add that the line management window can be accessed through the key "w".

Problem here but same at many places "when all vehicles are in circulation" seems to apply to 2.F.1 alone whereas it applies to the whole 2.F part. Maybe a horizontal line or something to visually separate these ?

2.F.2: The instructions [3] and [4] might be confusing as one can modify a line only through the line management window which is, at this point of the tutorial, not necessarily opened (I chose to create my line through the depot's window). In my opinion these two instructions can be removed.

2.F: I have a total of two buses serving the line, the toturial does not proceed to the next step. It proceeds only if I buy a third bus.
By the way, this section would be a great place to talk about the copy convoy button.

2.G: "when the bus arrives at a stop in Lancaster" this is false, the tutorial proceeded to the next step as soon as the bus left the depot.

3.B: "Whoose the track tool", incorrect formulation as they are several track tools. A paragraph explaining that faster ways are more expensive and that one should think about it before building would be great. Then the player would be advised to built 60 or 80 kmph tracks.

3.F: why the hell is there an army or star labels invading my tracks ? :p

So this step is bugged and I'm stuck (again). The tutorial scenario says to connect the points (38, 2, 1) and (68, 18, 2), directly connecting them is not allowed. I follow the labels "Build rails form here!.", I cannot build tracks on (44, 2, 1), in fact I was only able to build a section between (38, 2, 1) and (41, 2, 1). Then the piece of tracks in (41, 2, 1) is highlited in red but I cannot build farther.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 15, 2017, 02:51:51 PM
It's ready, just a silly mistake on my part.   ;)


Scenario -> http://files.simutrans.com/index.php/s/uvtcoFRJ1tPKT9j (http://files.simutrans.com/index.php/s/uvtcoFRJ1tPKT9j)




I'm afraid I do not have time to correct the translations.  :-[
If you send me the modified files, I gladly add them. regards !.
Title: Re: Pak128 Scenario Tutorial
Post by: Frank on October 15, 2017, 07:48:16 PM
Quote from: Yona-TYT on October 15, 2017, 02:51:51 PM
...
I'm afraid I do not have time to correct the translations.  :-[
If you send me the modified files, I gladly add them. regards !.

The texts are partly imported into the Translator.

Set: Scenario Tutorial pak128
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on October 18, 2017, 05:54:13 AM
Quote from: Yona-TYT on October 15, 2017, 02:51:51 PM
It's ready, just a silly mistake on my part.   ;)


Scenario -> http://files.simutrans.com/index.php/s/uvtcoFRJ1tPKT9j (http://files.simutrans.com/index.php/s/uvtcoFRJ1tPKT9j)
Hence the importance of always running a complete and rigorous test before every release, and this principle applies to all kinds of computer development ;) I'm testing this as soon as possible !
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on October 20, 2017, 09:46:18 AM
In addition of the comments I already made:

In the first steps (click on Isaac and on the town hall) when I click where expected, an empty message window appears.

2.H: problems with English translation: "Paso H", and "Public Stoppages" instead of "public stops".

3.G: Stars invasion again at the end of the step.

3.H.1: The piece of tracks on the slope where the player is supposed to start a tunnel is actually the result of a glitch/bug/unexpected-feature and might be confusing for beginners. As this piece is not necessary to start the tunnel and have it immediately connected to the tracks in front of it, it could be removed.

3.H.2: Since the player is instructed to set the layer level to 0, a note to tell him that this level is displayed in the toolbar, on the sliced underground mode button, would be great.

3.H.2: I think I already reported this one: "lower the terrain at the end of the tunnel" stays unclear to the player about what tool he should do this with (landscaping toolbar, lower flat slope tool).

3.I.5: Even if there is a note on how to set a signal's direction, player has no clue on how he has to set it to be OK. You could add a note telling that here the signals are in the good direction if there is only one signal outside the pair of tracks at each location.

3.I.5: Typos in the labels "Place Singnal here !."

3.J: The way you set train service here is quite ... unusual. Rio des Abajo is always served in only one direction by trains passing through it, and why having four different schedules when there is an obvious solution of having one line serving Cantebury - Rio de abajo - Westminster and backwards, and another line serving Cantebury and Lancaster ?

4.A: "oil" would be just enough instead of "hydrocarbons (petroleum)".

4.B: Please precise that docks have to be for goods (not passengers or mail).

4.E.1: The labels say "Build Track here!" instead of "Build canal here!".

4.E.2: There should be a not precising that canal need specific canal stops and not docks like on shores.

4.E.4: "You need 5 ships are needed" ;)

4.F: "Paso F" in English. No text is displayed in the scenario goal, I had to guess what to do, look for labels on the map, ...

4.G: "Paso G" in English. Same as before, no text displayed. I figured out with the error messages that I should have five ships, that the line should instruct to wait for 100% load at max 1/1 of month at Centebury, but I was unable to figure out what ship to use. Finally, when trying to start a Gripsholm on that line, an error message told me that I had to use a tanker. -> stuck again.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on December 15, 2017, 02:09:00 PM
Hi, what's up ?? have spent a good time!

Well here some corrections that you mentioned;).Hi, what's up ?? have spent a good time!

@gauthier
Well here some corrections that you mentioned;).

2.B: I suggest "You can only build a depot on dead ends." instead of "You can only build a depot on an existing road and the edges of this (blind alley)." (overcomplicated and so unclear formulation) ok!!

2.C: "In case of saturation you will be charged a penalty.", as far as I know it's not the way it works. A saturated stop just stops generating new passengers or goods. OK!

Problem here but same at many places "when all vehicles are in circulation" seems to apply to 2.F.1 alone whereas it applies to the whole 2.F part. Maybe a horizontal line or something to visually separate these ?this seems fine ¿?

2.F.2: The instructions [3] and [4] might be confusing as one can modify a line only through the line management window which is, at this point of the tutorial, not necessarily opened (I chose to create my line through the depot's window). In my opinion these two instructions can be removed. oK!!

2.F: I have a total of two buses serving the line, the toturial does not proceed to the next step. It proceeds only if I buy a third bus.
By the way, this section would be a great place to talk about the copy convoy button.They are 3 buses!

2.H: problems with English translation: "Paso H", and "Public Stoppages" instead of "public stops".  OK!!

3.F: why the hell is there an army or star labels invading my tracks ? :p fix !

[/b]3.G: Stars invasion again at the end of the step. fix!!

4.A: "oil" would be just enough instead of "hydrocarbons (petroleum)".  I do not see any problem here ;)

4.B: Please precise that docks have to be for goods (not passengers or mail). Ok!!

4.E.1: The labels say "Build Track here!" instead of "Build canal here!". OK!!

4.E.2: There should be a not precising that canal need specific canal stops and not docks like on shores. OK !!

4.E.4: "You need 5 ships are needed" ;) ok!!

4.F: "Paso F" in English. No text is displayed in the scenario goal, I had to guess what to do, look for labels on the map, ... OK!!

4.G: "Paso G" in English. Same as before, no text displayed. I figured out with the error messages that I should have five ships, that the line should instruct to wait for 100% load at max 1/1 of month at Centebury, but I was unable to figure out what ship to use. Finally, when trying to start a Gripsholm on that line, an error message told me that I had to use a tanker. -> stuck again. OK
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on December 16, 2017, 06:00:10 PM
Nice ;) Where's the download ? :p
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on December 16, 2017, 10:33:17 PM
I have completed most of the list, the rest is subject to discussion, because I'm not sure how to solve it.

2.D: I don't know if this is fixable: stop lines in the scenario information are red again after closing the schedule window. OK!!

2.F.1: No big deal but still: I would replace "necessary" with "useful". I would also add that the line management window can be accessed through the key "w". ok!!

2.G: "when the bus arrives at a stop in Lancaster" this is false, the tutorial proceeded to the next step as soon as the bus left the depot. OK!!

3.B: "Whoose the track tool", incorrect formulation as they are several track tools. A paragraph explaining that faster ways are more expensive and that one should think about it before building would be great. Then the player would be advised to built 60 or 80 kmph tracks. OK!!

3.H.1: The piece of tracks on the slope where the player is supposed to start a tunnel is actually the result of a glitch/bug/unexpected-feature and might be confusing for beginners. As this piece is not necessary to start the tunnel and have it immediately connected to the tracks in front of it, it could be removed. OK!!

3.H.2: Since the player is instructed to set the layer level to 0, a note to tell him that this level is displayed in the toolbar, on the sliced underground mode button, would be great. oK!!

3.H.2: I think I already reported this one: "lower the terrain at the end of the tunnel" stays unclear to the player about what tool he should do this with (landscaping toolbar, lower flat slope tool). OK!!




Quote from: gauthier on December 16, 2017, 06:00:10 PM
Nice ;) Where's the download ? :p
Here I leave a version of tests.  ;)
Scenario: tutorial-v6.2.10.zip (http://files.simutrans.com/index.php/s/06QQIqwSCIdFwns)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on December 16, 2017, 10:41:00 PM

To discuss:

2.A: typo "once the beginning" instead of "once on the beginning" I do not understand ?

3.I.5: Even if there is a note on how to set a signal's direction, player has no clue on how he has to set it to be OK. You could add a note telling that here the signals are in the good direction if there is only one signal outside the pair of tracks at each location. I do not understand, because just look at the list of signals, if it is "OK" is that the signal is fine.

3.I.5: Typos in the labels "Place Singnal here !." I do not understand ?

3.J: The way you set train service here is quite ... unusual. Rio des Abajo is always served in only one direction by trains passing through it, and why having four different schedules when there is an obvious solution of having one line serving Cantebury - Rio de abajo - Westminster and backwards, and another line serving Cantebury and Lancaster ?A single route for trains ??
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on December 17, 2017, 12:27:53 PM
A typo is an error in words' spelling or even a missing or misplaced word. Read closely:
"once on the beginning" ("on" is missing in the tutorial)
"Place Singnal here !." (you mistyped "signal")

Quote3.I.5: Even if there is a note on how to set a signal's direction, player has no clue on how he has to set it to be OK. You could add a note telling that here the signals are in the good direction if there is only one signal outside the pair of tracks at each location. I do not understand, because just look at the list of signals, if it is "OK" is that the signal is fine.
I did not notice such a list, I will test it again.

Quote3.J: The way you set train service here is quite ... unusual. Rio des Abajo is always served in only one direction by trains passing through it, and why having four different schedules when there is an obvious solution of having one line serving Cantebury - Rio de abajo - Westminster and backwards, and another line serving Cantebury and Lancaster ?A single route for trains ??
What single route ? My remark is that it would be more understandable to make a line like this:
_ canteburry
_ Rio de abajo (western platform)
_ Westminster
_ Rio de abajo (eastern platform)
with three trains on it. Currently, players are instructed to make three trains each with a very different schedule to serve these three stations.

Thanks for your effort, I'm testing this version as soon as possible !
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 07, 2018, 06:07:10 PM
Here is a new version of the tutorial, I have solved a lot of problems.

Scenario:  tutorial-v6.3.00.zip (http://www.mediafire.com/file/ialfd7cckydi5mp/Tutorial-v6.3.00.zip/file)

@gauthier, hopefully this time if I can get to the end.

I have not had much time to work on this, so this is a provicional version.

Regards!!.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 07, 2018, 06:12:41 PM
Quote from: gauthier on December 17, 2017, 12:27:53 PMWhat single route ? My remark is that it would be more understandable to make a line like this:
_ canteburry
_ Rio de abajo (western platform)
_ Westminster
_ Rio de abajo (eastern platform)
with three trains on it. Currently, players are instructed to make three trains each with a very different schedule to serve these three stations.

I have improved this a little.
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on October 07, 2018, 06:28:22 PM
Nice, I'm testing this as soon as possible  ;)
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on October 10, 2018, 07:41:46 PM
Sorry in advance, as usual I'm in --verbose mode :p feel free to accept of refuse my remarks.

1.A: I could not reproduce it but the first time I tried the tutorial, I passed to 1.C without rotating the map and clicking out beloved Isaac. A quick idea: could it be caused by reloading the scenario ?

1.B: Maybe a warning is needed about pressing backspace so that the player does not unpurposedly close the scenario window ?

1.B: After clicking on the townhall I barely had time to read the first word of the text displayed in Scenario Goal, than Chapter 2 camed. This unreadable text could be displayed from the beginning of chapter one, juste before the instruction to click on the townhall which makes the player end the chapter 1.

2.A: press the [ctrl] key when dragging or clicking to build straight paths.

2.C: In order for the bus to be able to load passengers it is necessary that the stops are close to some building, can be misleading, what about For passengers to wait at the stop it is necessary that ? I also simplified the phrasing for not-very-English-speaking people until they get a translation in their language.

2.D: Warning, what is named "Inspection tool" (the typo is present at several places) here was formerly named "query tool".

2.F: The fact that three buses are needed is not explicit (unless I missed it ?).

2.G.2: Connect the track here: talking about roads ?

2.H: I don't speak a word of Spanish but I learnt "Paso H" thank to you ;) ... well I also know "Estacion" cause it's repeated every day on line 4 of the metro in Paris lol

2.G: What the "make stop public" does could be explained here. I did not even know before using it :p

3.B: We could add, after building the tunnel itself, that pressing "t" selects the last selected track tool.

3.C: To see if a station accepts goods, there's also the small lump of ... something at top left of the icon.

3.C: A note precising that each tile must be built contiguously to the already built ones would be perfect ;)

3.E.4: I'm stuck here, when I attempt to start the convoy, a popup yells at me that all wagons must be for [grain] even if it's actually the case.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 21, 2018, 12:11:34 PM
Sorry I had not seen your answer, so I have not corrected the texts, I just focused on bug fixes and make things easier to understand.   :-[

I have a new version, I have corrected several errors and I have invented some new things.
Scenario :  tutorial-v6.3.10.zip (https://www.mediafire.com/file/6aogmb6xlvxgtym/Tutorial-v6.3.10.zip/file)


(https://www.mediafire.com/convkey/33c7/9qcpdxfq2oq88qg6g.jpg)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 21, 2018, 12:20:05 PM
Quote3.E.4: I'm stuck here, when I attempt to start the convoy, a popup yells at me that all wagons must be for [grain] even if it's actually the case.
I can not replicate this, can you send me a savegame to try?.
edit.
My train is running very happy.
(https://www.mediafire.com/convkey/9b5e/zboeqkn7k46som96g.jpg)
Title: Re: Pak128 Scenario Tutorial
Post by: gauthier on October 21, 2018, 01:24:00 PM
QuoteI have invented some new things.
Changelog please, it must be the tenth time I'm starting the tutorial from the beginning so I don't want to discover the new things by myself lol
Here is my savegame: http://simutrans.fr/lib/exe/fetch.php?media=tmp:tutorial_chp3_stuck.sve
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 21, 2018, 06:53:06 PM
I forgot to mention that you need the last night, this was recently included: https://forum.simutrans.com/index.php/topic,18264.msg176213.html#msg176213 (https://forum.simutrans.com/index.php/topic,18264.msg176213.html#msg176213)
general ------------------------------------------------- ---------
New function that allows to mark the tracks while they are built intermittently.- Restrictions in the construction of tracks / roads: now you can not create intercections, this to avoid closed loops since these make script enter an infinite loop, you will notice that it will only be possible to join the tracks / tracks only at the marked end of Red.Chapter 1 ------------------------------------------------ ---------
The statue of the good Issac and the town hall are now intermittent (they are marked and unmarked)
Episode 2  ------------------------------------------------ --------
step 1 ---------
Now the deposit road can be joined from two points.
Chapter 3 ------------------------------------------------ ---------
step 8 ---------------
I have corrected an error that occurred due to a regression in the simutrans code, now an additional tunnel section must be built.
step 10 ---------------
Changes in the route of passenger trains, now all trains share the same route.
Chapter 4 ------------------------------------------------ ---------
Chapter 5 is added experimentally.
-------------------------------------------------- -------

You can get the last night here !! -> http://www.simutrans-forum.de/nightly/ (http://www.simutrans-forum.de/nightly/)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 21, 2018, 11:08:07 PM
Quote1.A: I could not reproduce it but the first time I tried the tutorial, I passed to 1.C without rotating the map and clicking out beloved Isaac. A quick idea: could it be caused by reloading the scenario ?
I do not know what may be happening, I have to investigate.
1.B: Maybe a warning is needed about pressing backspace so that the player does not unpurposedly close the scenario window ?
ok:
<st>Note:</st> By pressing the "[Backspace]"</ em> key, all windows are closed, including the current scenario window.


>
Quote
1.B: After clicking on the townhall I barely had time to read the first word of the text displayed in Scenario Goal, than Chapter 2 camed. This unreadable text could be displayed from the beginning of chapter one, juste before the instruction to click on the townhall which makes the player end the chapter 1.
I can not see the text you say (this looks like a mystery XD).
Quote2.A: press the [ctrl] key when dragging or clicking to build straight paths.
ok.

Quote2.C: In order for the bus to be able to load passengers it is necessary that the stops are close to some building, can be misleading, what about For passengers to wait at the stop it is necessary that ? I also simplified the phrasing for not-very-English-speaking people until they get a translation in their language.
<h1> Bus Stops: </ h1>
In order for the bus to be able to load passengers it is necessary that the stops are close to some building, tourist attraction or factory. The stops have a storage capacity of 32, 64 or more. It is also possible to combine them to increase their load capacity along with their coverage. You can also extend the load type using extension buildings or stations that accept different types of load.
 

Can you help me with this?.
Quote2.D: Warning, what is named "Inspection tool" (the typo is present at several places) here was formerly named "query tool".
ok.
Quote
2.F: The fact that three buses are needed is not explicit (unless I missed it ?).
The reason why I added 3 buses, is because I wanted to explain how the lines can be associated with several vehicles, but I do not have a good explanation for that.

What do you think about this: "You need to create a bus line to transport tourists from the dock in construction." ??
Quote2.G.2: Connect the track here: talking about roads ?
ok.
<st> Connect the road here: </ st> {cbor}.
 

Generally, all types of way are called a track.
Quote
2.H: I don't speak a word of Spanish but I learnt "Paso H" thank to you (https://forum.simutrans.com/Smileys/default/wink.gif) ... well I also know "Estacion" cause it's repeated every day on line 4 of the metro in Paris lol
ok.

Quote2.G: What the "make stop public" does could be explained here. I did not even know before using it :p
What does this look like?:
<h1> Make Stop Public: </ h1>
This tool allows a stop or station to be public, this means that the player will no longer be the owner of it. This allows other players to associate with your transport network.
 


<st> Note: </ st> When publishing a stop / station, the player can no longer eliminate it (only the public service).

Quote3.B: We could add, after building the tunnel itself, that pressing "t" selects the last selected track tool.
Leave me the text and I agg.  ;)
Quote3.C: To see if a station accepts goods, there's also the small lump of ... something at top left of the icon.
This could be perfectly explained with an image, unfortunately the patch was never completed.  :-[ :-[ :-[ :-[
Quote3.C: A note precising that each tile must be built contiguously to the already built ones would be perfect (https://forum.simutrans.com/Smileys/default/wink.gif)
What does this look like?
<st> Note: </ st> The new slope should look in the same direction as the existing slope.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 23, 2018, 05:24:50 PM
Quote from: gauthier on October 10, 2018, 07:41:46 PM3.E.4: I'm stuck here, when I attempt to start the convoy, a popup yells at me that all wagons must be for [grain] even if it's actually the case.




As much as I try, I can not replicate the error, we have to investigate this more deeply.


I need more information:


What version of simutrans do you use ?, its revision, architecture ...


What version of pak128 do you use?




And I need the script that produces the error, send me a zip file.




To be honest, this part of the code has never failed in that way, in fact I have not touched any of that code in a long time.




The only thing that occurs to me is that the "grain" parameter has changed its numerical value, and therefore does not recognize it.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on November 04, 2018, 09:39:24 PM
Hello, how are you? ... Again, I'm here ... hehehehe.  :P
New version dedicated to correct errors and improve some things,  I can almost say that this project is complete.
The next step is to port this scenario to pak64.  8) 8) 8) 8)

Note: You need to use a night compilation >= r8613.... 
Get here -> http://www.simutrans-forum.de/nightly/ (http://www.simutrans-forum.de/nightly/)
Scenario: tutorial-v6.3.20.zip (https://www.mediafire.com/file/qts6kg4j474pak2/Tutorial-v6.3.20.zip/file)

(https://www.mediafire.com/convkey/c25e/u113unn9ny3k8dh6g.jpg)
List of changes:
general ------------------------------------------------- --------
- I have tried to repair an error reported by @gauthier, I have updated the index for the load types in the vehicles, however I do not know if that solves the problem and I could never replicate that error.
- It improves the car advanced step, now allows advance even if there is a vehicle in the deposit.
- Some translations are arranged.

Episode 2  ------------------------------------------------ --------
- You will notice more intermittent objects (they are marked and unmarked).
- Fixed a "minor problem" when enrrutar buses.
step 6 ---------
- Changed the text, hopefully now it will be a little more clear and understandable.
- New indicator for vehicles in circulation.

Chapter 3 ------------------------------------------------ ---------
- Only minor bug fixes

Chapter 4 ------------------------------------------------ ---------
- Only minor bug fixes
Title: Re: Pak128 Scenario Tutorial
Post by: Frank on November 05, 2018, 12:06:35 AM
It's a bit confusing that so many translation files are included.

Tutorial\en
Tutorial\en\en

Tutorial\es
Tutorial\Translate\es



The different file names should also not be so optimal.

Tutorial\en\chapter_04\01_1-2.txt
Tutorial\en\chapter_04\01_2-2.txt
Tutorial\en\chapter_04\04_1-2.txt
Tutorial\en\chapter_04\04_2-2.txt
Tutorial\en\chapter_04\05_1-4.txt
Tutorial\en\chapter_04\05_2-4.txt
Tutorial\en\chapter_04\05_3-4.txt
Tutorial\en\chapter_04\05_4-4.txt
Tutorial\en\chapter_04\goal.txt
Tutorial\en\chapter_04\goal_step_01.txt
Tutorial\en\chapter_04\goal_step_02.txt
Tutorial\en\chapter_04\goal_step_03.txt
Tutorial\en\chapter_04\goal_step_06.txt
Tutorial\en\chapter_04\goal_step_07.txt
Tutorial\en\chapter_04\goal_step_09.txt
Tutorial\en\chapter_04\rule.txt


And such files are included as well.
.~lock.06_1-3.txt#
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on November 05, 2018, 12:32:27 AM
Quote from: Frank on November 05, 2018, 12:06:35 AMIt's a bit confusing that so many translation files are included.

This is because this scenario is too big and complex, that is why there are so many text files, since things must be explained step by step, it is very tedious I know.  ;)


And such files are included as well.

That must be junk from some text editor, the truth I never noticed.  :o


edi.
Now I see that some files are there by mistake, Thank you very much.
deleted:
Tutorial\en\en 

Tutorial\Translate\es

.~lock.06_1-3.txt#
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on November 05, 2018, 12:52:09 AM
@Frank
I have updated the file, hopefully there is no more trash there, thanks!.
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on September 13, 2019, 10:23:24 AM
this corrects the display error of the gas station in the Scenario Goal
---
class/class_chapter_04.nut | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/class/class_chapter_04.nut b/class/class_chapter_04.nut
index 660132b..ab74fda 100644
--- a/class/class_chapter_04.nut
+++ b/class/class_chapter_04.nut
@@ -1,5 +1,5 @@
/*
- *  class chapter_01
+ *  class chapter_04
  *
  *
  *  Can NOT be used in network game !
@@ -210,7 +210,7 @@ class tutorial.chapter_04 extends basic_chapter
text.f1 = cpoz1.href(""+f1name+" ("+cpoz1.tostring()+")")+""
text.f2 = cpoz2.href(""+f1name+" ("+cpoz2.tostring()+")")+""
text.f3 = cref.href(""+f2name+" ("+cref.tostring()+")")+""
- text.f4 = cgas.href(""+f3name+" ("+cref.tostring()+")")+""
+ text.f4 = cgas.href(""+f3name+" ("+cgas.tostring()+")")+""
text.tur = tur.href(" ("+tur.tostring()+")")+""
return text
}
--


The test at the start of the ships also seems to have a mistake. It will display this error message although I can not find an error.
"The schedule is not correct."
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on September 13, 2019, 03:05:09 PM
I will investigate to publish a new version, I have made many improvements to the scenario. ;)
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on September 13, 2019, 09:47:14 PM
In the electrification of the rails, I am stuck in position 86,3,0 (tunnel at Lancaster) and it can not go on.

Chapter 3 - Step J




Line break inserted at the beginning of the text. Improves readability in the window.

---
class/class_basic_chapter.nut | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/class/class_basic_chapter.nut b/class/class_basic_chapter.nut
index 9b83a23..338dd26 100644
--- a/class/class_basic_chapter.nut
+++ b/class/class_basic_chapter.nut
@@ -459,7 +459,7 @@ class basic_chapter

function give_title()
{
- return "<em>"+translate("Chapter")+" "+persistent.chapter+"</em> - "+translate(this.chapter_name)+"<br><br>"
+ return "<br><em>"+translate("Chapter")+" "+persistent.chapter+"</em> - "+translate(this.chapter_name)+"<br><br>"
}


--
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on September 14, 2019, 12:12:36 AM
Quote from: Andarix on September 13, 2019, 10:23:24 AM

The test at the start of the ships also seems to have a mistake. It will display this error message although I can not find an error.
"The schedule is not correct."
I have already fixed it



Quote from: Andarix on September 13, 2019, 09:47:14 PM
In the electrification of the rails, I am stuck in position 86,3,0 (tunnel at Lancaster) and it can not go on.

Chapter 3 - Step J


I have already fixed it

Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on September 14, 2019, 02:59:13 AM
Quote from: Andarix on September 13, 2019, 09:47:14 PM
Line break inserted at the beginning of the text. Improves readability in the window.

---
class/class_basic_chapter.nut | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/class/class_basic_chapter.nut b/class/class_basic_chapter.nut
index 9b83a23..338dd26 100644
--- a/class/class_basic_chapter.nut
+++ b/class/class_basic_chapter.nut
@@ -459,7 +459,7 @@ class basic_chapter

function give_title()
{
- return "<em>"+translate("Chapter")+" "+persistent.chapter+"</em> - "+translate(this.chapter_name)+"<br><br>"
+ return "<br><em>"+translate("Chapter")+" "+persistent.chapter+"</em> - "+translate(this.chapter_name)+"<br><br>"
}


--


Add, Thanks :) .
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on September 14, 2019, 03:39:18 AM
After a long time I finally release a new version, with many bug fixes, improvements in some texts and more visual indications. hope you like  ;) .

Scenario --> Tutorial-v6.4.0.zip (http://www.mediafire.com/file/lxtv3k89mzcuybo/Tutorial-v6.4.0.zip/file)
Note: You need to use a night compilation >= r8613....
@Andarix
Thank you very much for the code review, I had not noticed that error when starting the ship  hehehe. regards ! .  ;)

@gauthier
Hopefully this version will be considered in the next pak128, greetings my friend! .  8)

Release Notes:

Chapter 2 ==================================

Step D, F and G: -------------------------------
-A message is updated:
The schedule needs to have% d waystops -> The schedule needs to have% d waystops, but there are% d.
-The stops are now marked
Step E: --------------------------------------
Bridge tag is now intermittent

Step F: --------------------------------------


Deleting the following obsolete translations:

- The stop% s was not selected
- The schedule needs to have 2 or more way stops


Chapter 3 ==================================

step B --------------------------------------
- Now more details are shown on the slopes during the construction of the tunnel.
The text was changed as follows:
"{tx} Use the slope tools in the Landscaping Tools toolbar, then you must build an artificial slope that I pointed northeast in the position: {c1}
 


State of the ground:
 {slope_t}
 "

Step K: --------------------------------------
- the following text is translated: Incorrect vehicle configuration, check vehicle status
- The step number has been reduced when dragging trains because trains now have the same route, now there are only 3 in total.

- Several bug fixes

Chapter 4 ==================================
- Several bug fixes

General:
- Add a new function that shows the scenario window when the player clicks several times in a wrong place, the following text will be displayed: "Are you lost?, See the instructions shown below."
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on September 14, 2019, 08:04:49 AM
Quote from: Yona-TYT on September 14, 2019, 03:39:18 AM
.....
Chapter 3 ==================================

....
Step K: --------------------------------------
- the following text is translated: Incorrect vehicle configuration, check vehicle status
- The step number has been reduced when dragging trains because trains now have the same route, now there are only 3 in total.

- Several bug fixes

....

Sorry, Step K ist not exists. There are two times Step J.

chapter_03/goal.txt
Quote...

{txtst_10}Step J
- Electrified Tracks</a>

{step_10}

{txtst_11}Step J - The Electric Trains</a>

{step_11}

...




There is a problem with schedule creation.

If a stop is deleted again, then it does not continue.
The same stop can not be set again. And the next stop will not set.

Also, deleting all stops on errors is not nice. Example if minimum load was forgotten.
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on September 14, 2019, 11:50:54 PM
Chapter 4

Close the first ships schedule then show this error.
(https://forum.simutrans.com/index.php?action=dlattach;topic=15152.0;attach=28161)


Chapter 5

There are 500 passengers in the text and 100 in the counter. The following changes set a parameter for the number.

---
class/class_chapter_05.nut | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/class/class_chapter_05.nut b/class/class_chapter_05.nut
index fea69af..97ad052 100644
--- a/class/class_chapter_05.nut
+++ b/class/class_chapter_05.nut
@@ -10,7 +10,8 @@ class tutorial.chapter_05 extends basic_chapter
{
chapter_name  = "Bus networks"
startcash     = 500000     // pl=0 startcash; 0=no reset
- load = 0
+ load = 0
+  goal_lod = 100

// Step 1
c_city1 = coord(20,112)
@@ -41,6 +42,7 @@ class tutorial.chapter_05 extends basic_chapter
text.st1_nam = "<a href=\"("+st1_c.x+","+st1_c.y+")\">"+st1_halt.get_name()+" ("+st1_c.tostring()+") </a>"
text.city1 = c_city1.href(""+name_city1 +" ("+c_city1.tostring()+")")+""
text.stop = stop1.href("("+stop1.tostring()+")")+""
+        text.goal_lod = goal_lod
break

case 2:
@@ -48,6 +50,7 @@ class tutorial.chapter_05 extends basic_chapter
text.st2_nam = "<a href=\"("+st2_c.x+","+st2_c.y+")\">"+st2_halt.get_name()+" ("+st2_c.tostring()+") </a>"
text.city2 = c_city2.href(""+name_city2 +" ("+c_city2.tostring()+")")+""
text.stop = stop2.href("("+stop2.tostring()+")")+""
+        text.goal_lod = goal_lod
break

case 3:
@@ -95,7 +98,7 @@ class tutorial.chapter_05 extends basic_chapter
local good = 0 //Passengers
local pass = cov_pax(st1_c, wt, good)
load = pass
- if(pass>100){
+ if(pass>goal_lod){
load = 0
reset_pot()
this.next_step()
--

Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on September 16, 2019, 12:14:36 AM
Quote from: Andarix on September 14, 2019, 08:04:49 AMSorry, Step K ist not exists. There are two times Step J. chapter_03/goal.txt



 

Thanks, fix that hehehehhe.  :P
Quote from: Andarix on September 14, 2019, 08:04:49 AM



There is a problem with schedule creation. If a stop is deleted again, then it does not continue. The same stop can not be set again. And the next stop will not set. Also, deleting all stops on errors is not nice. Example if minimum load was forgotten.

I have improved this a bit, the solution is a bit improvised since I have many code limitations I fear. Now when the player does not complete the "schedule" list, a line with the previously selected stops is generated, this line will be different for each vehicle, (you must not change the name of this line, saving and loading a game may not work very well Well), it's not perfect but it's the best I can do.
Note: you need to try this very well, it is likely that there are errors there
Quote from: Andarix on September 14, 2019, 11:50:54 PMChapter 4 Close the first ships schedule then show this error. (https://forum.simutrans.com/index.php?action=dlattach;topic=15152.0;attach=28161)



Chapter 5 There are 500 passengers in the text and 100 in the counter. The following changes set a parameter for the number. --- class/class_chapter_05.nut | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/class/class_chapter_05.nut b/class/class_chapter_05.nut index fea69af..97ad052 100644 --- a/class/class_chapter_05.nut +++ b/class/class_chapter_05.nut @@ -10,7 +10,8 @@ class tutorial.chapter_05 extends basic_chapter { chapter_name  = "Bus networks" startcash     = 500000                  // pl=0 startcash; 0=no reset -   load = 0 +   load = 0 +  goal_lod = 100 // Step 1 c_city1 = coord(20,112) @@ -41,6 +42,7 @@ class tutorial.chapter_05 extends basic_chapter text.st1_nam = ""+st1_halt.get_name()+" ("+st1_c.tostring()+") " text.city1 = c_city1.href(""+name_city1 +" ("+c_city1.tostring()+")")+"" text.stop = stop1.href("("+stop1.tostring()+")")+"" +        text.goal_lod = goal_lod break case 2: @@ -48,6 +50,7 @@ class tutorial.chapter_05 extends basic_chapter text.st2_nam = ""+st2_halt.get_name()+" ("+st2_c.tostring()+") " text.city2 = c_city2.href(""+name_city2 +" ("+c_city2.tostring()+")")+"" text.stop = stop2.href("("+stop2.tostring()+")")+"" +        text.goal_lod = goal_lod break case 3: @@ -95,7 +98,7 @@ class tutorial.chapter_05 extends basic_chapter local good = 0 //Passengers local pass = cov_pax(st1_c, wt, good) load = pass -               if(pass>100){ +               if(pass>goal_lod){ load = 0 reset_pot() this.next_step() --

1- I simply forgot to define the variable nr lol.  ;D
2 - I have corrected this, in fact there were inconsistencies in this chapter, now the values are automatic.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on September 16, 2019, 01:57:29 AM
Here I leave a trial version -> https://drive.google.com/file/d/0Bwuj7MSDKC-ZUFhEOTR0UGhwZDRoVWF2VmE4M3d6dGdheGZv/view?usp=drivesdk (https://drive.google.com/file/d/0Bwuj7MSDKC-ZUFhEOTR0UGhwZDRoVWF2VmE4M3d6dGdheGZv/view?usp=drivesdk)
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on September 16, 2019, 10:23:47 PM
I think the translation texts should be revised again.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on September 16, 2019, 11:48:38 PM
Quote from: Andarix on September 16, 2019, 10:23:47 PM
I think the translation texts should be revised again.

The problem is that my English is very bad, I only know how to use the Google translator I'm afraid . :(
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on September 17, 2019, 07:52:19 AM
Quote from: Yona-TYT on September 16, 2019, 11:48:38 PM
The problem is that my English is very bad, I only know how to use the Google translator I'm afraid . :(

Less the text itself than much more the structure of the texts.

Another problem is 99% identical texts.

example

chapter_03/09_1-5.txt
Quote

The Public service wants you to complete the rail network running through the following cities:

{cy2} {co2}

{cy1} {co1}

{cy3} {co3}

{cy4} {co4}.



{tx} Connect the two points between {w1} and {w2}.



Tip: You can connect by simply clicking on {w1} and {w2}.



<st>Connect the track here:</st> {cbor}.



chapter_03/09_2-5.txt
Quote

The Public service wants you to complete the rail network running through the following cities:

{cy2} {co2}

{cy1} {co1}

{cy3} {co3}

{cy4} {co4}.



{tx} Connect the two points between {w3} and {w4}.



Tip: You can connect by simply clicking on {w3} and {w4}.



<st>Connect the track here:</st> {cbor}.



I can do this revision if you want.
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on September 17, 2019, 11:00:13 PM
@Yona-TYT
chapter_02.nut

the define file chapter_02/07_4-5.txt is not exists

Quote...
         case 7:
        local st_halt = ""
            if ((pot1==1 && st_nr[2]!=null)){
               local coor = coord(c1_sch[st_nr[2]-1].x, c1_sch[st_nr[2]-1].y)
               st_halt = tile_x(coor.x, coor.y, 0).get_halt()
            }
            
            if (!cov_sw){
               local st0_name = tile_x(c_st0.x, c_st0.y, 0).get_halt().get_name()
               local stxt = array(10)
               for (local j=0;j<st_nr[2];j++){
                  local coor = coord(c1_sch[j].x, c1_sch[j].y)
                  st_halt = tile_x(coor.x, coor.y, 0).get_halt()
                  local build = tile_x(coor.x, coor.y, 0).find_object(mo_building)
                  if (st_halt) {
                    stxt[j] = coor.href(st_halt.get_name()+" ("+coor.tostring()+")")
            }
               }
               local a = 4
               local b = 5
               text = ttextfile("chapter_02/07_"+set_step_ext(a,b)+".txt")
               text.tx = ttext("["+a+"/"+b+"]")
               text.st1 = c_st0.href(st0_name+" ("+c_st0.tostring()+")")
               text.st2 = stxt[0]
               text.st3 = stxt[1]
               text.st4 = stxt[2]
               text.st5 = stxt[3]         
            }
            else if (pot1==0){
...
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on September 17, 2019, 11:32:11 PM
Quote from: Andarix on September 17, 2019, 11:00:13 PM@Yona-TYT chapter_02.nut the define file chapter_02/07_4-5.txt is not exists

Thank you very much, this is difficult to notice since this is only shown if the player removes the vehicle at that step (by the way. There is an algorithm in charge of detecting if the player eliminates vehicles during the tutorial, and if that happens, the player will be forced to repeat that step, and is not allowed to advance until the vehicle removed is replaced).
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on September 17, 2019, 11:41:34 PM
I have slightly revised chapter_02.nut. The file chapter_02/04_3-3.txt is no longer necessary.
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on September 17, 2019, 11:56:09 PM
Quote from: Yona-TYT on September 17, 2019, 11:32:11 PM
Thank you very much, this is difficult to notice since this is only shown if the player removes the vehicle at that step (by the way. There is an algorithm in charge of detecting if the player eliminates vehicles during the tutorial, and if that happens, the player will be forced to repeat that step, and is not allowed to advance until the vehicle removed is replaced).

I think the direct indication is better than the specification of parameters.

if (current_cov==1){
text = ttextfile("chapter_02/06_1-3.txt")
text.tx = ttext("<em>[1/3]</em>")
}
else if (current_cov==2){
text = ttextfile("chapter_02/06_2-3.txt")
text.tx = ttext("<em>[2/3]</em>")
}
else if (current_cov==3){
text = ttextfile("chapter_02/06_2-3.txt")
text.tx = ttext("<em>[3/3]</em>")
}


if (current_cov==1){
local a = 1
local b = 3
text = ttextfile("chapter_02/06_"+set_step_ext(a,b)+".txt")
text.tx=ttext("<em>["+a+"/"+b+"]</em>")
}
else if (current_cov==2){
local a = 2
local b = 3
text = ttextfile("chapter_02/06_"+set_step_ext(a,b)+".txt")
text.tx=ttext("<em>["+a+"/"+b+"]</em>")
}
else if (current_cov==3){
local a = 3
local b = 3
text = ttextfile("chapter_02/06_"+set_step_ext(a,b)+".txt")
text.tx=ttext("<em>["+a+"/"+b+"]</em>")
}
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on September 19, 2019, 10:41:36 AM
Quote from: Andarix on September 17, 2019, 11:56:09 PM
I think the direct indication is better than the specification of parameters.

if (current_cov==1){
text = ttextfile("chapter_02/06_1-3.txt")
text.tx = ttext("<em>[1/3]</em>")
}
else if (current_cov==2){
text = ttextfile("chapter_02/06_2-3.txt")
text.tx = ttext("<em>[2/3]</em>")
}
else if (current_cov==3){
text = ttextfile("chapter_02/06_2-3.txt")
text.tx = ttext("<em>[3/3]</em>")
}


if (current_cov==1){
local a = 1
local b = 3
text = ttextfile("chapter_02/06_"+set_step_ext(a,b)+".txt")
text.tx=ttext("<em>["+a+"/"+b+"]</em>")
}
else if (current_cov==2){
local a = 2
local b = 3
text = ttextfile("chapter_02/06_"+set_step_ext(a,b)+".txt")
text.tx=ttext("<em>["+a+"/"+b+"]</em>")
}
else if (current_cov==3){
local a = 3
local b = 3
text = ttextfile("chapter_02/06_"+set_step_ext(a,b)+".txt")
text.tx=ttext("<em>["+a+"/"+b+"]</em>")
}

I have added it, although I would like to keep "c1_dep", since it is more understood as depot coordinates. ;)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on September 22, 2019, 03:39:17 AM
After several days of work, I have finally finished Chapter 6, "Industrial Efficiency".

However, I have problems with electrical production "there is still no exact way to know if a factory is connected to an electrical network" hopefully this will improve soon.

Translations are missing for chapters 5 and 6.
You still have to do many tests before launching a final version.

script: http://www.mediafire.com/file/vqum0hzyqoz3eam/Tutorial-v6.8.0-beta.zip/file
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on September 22, 2019, 01:32:09 PM
I think this line is wrong. 2 parameters ( f_name[j],pownr_tx ) are transferred although only 1 parameter ( translate("...%s...") ) is defined.

class_chapter_06.nut
(line 83):          tran_tx +=format(translate("<em>%s</em>"),f_name[j],pownr_tx)+" ("+f_list[j].tostring()+") <em>OK</em><br>"

____________

other error
(https://forum.simutrans.com/index.php?action=dlattach;topic=15152.0;attach=28197)
____________

Generally I find it bad that pure formatting is defined as a translation.

examples
translate("<a><st>%s %d</st>")
translate("<em>%s</em>")
translate("<em>%s %d</em>")



other problem, close tag missing
example for a
(80):          tran_tx +=format(translate("<a><st>%s</st>"),f_name[j]) + transf_list[j].href(" ("+f_list[j].tostring()+") ")+"<br>"

Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on September 22, 2019, 02:15:42 PM
QuoteI think this line is wrong. 2 parameters ( f_name[j],pownr_tx ) are transferred although only 1 parameter ( translate("...%s...") ) is defined.

class_chapter_06.nut
Código: (line 83):          tran_tx +=format(translate("%s"),f_name[j],pownr_tx)+" ("+f_list[j].tostring()+") OK
"
______
Is fix .
Quote
Generally I find it bad that pure formatting is defined as a translation.

examples
Código: translate("<a><st>%s %d</st>")
translate("%s")
translate("%s %d")
I have removed those meaningless translations and add this to the post office: "local offi_name = translate (" ModernPostOffice ")"

Quote
other problem, close tag missing
example for a
Código: (80):          tran_tx +=format(translate("<a><st>%s</st>"),f_name[j]) + transf_list[j].href(" ("+f_list[j].tostring()+") ")+"
"

By mistake leave "transf_list", is fix.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on September 22, 2019, 02:24:27 PM
Quote

other error
(https://forum.simutrans.com/index.php?action=dlattach;topic=15152.0;attach=28197)
____________
With regard to the error in chapter 1,I am not sure how to correct since I cannot replicate that error.

However I have made some adjustments in that part of the code that will probably solve the problem, I hope it works.
I attach the latest modifications.
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on September 22, 2019, 03:16:13 PM
I have the feeling that while reloading still old code is active.

I'm not sure, but when I tested 6.8.0 the first time was after Chapter 5 conclusion.

The error did not occur on the second test. And the text looks different now.

This assumption is also based on the observations with the spaces in links.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on September 22, 2019, 03:24:45 PM
[class_basic_chapter.nut] Leave a silly error in the previous file.

Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on September 22, 2019, 03:34:40 PM
Quote from: Andarix on September 22, 2019, 03:16:13 PM
I have the feeling that while reloading still old code is active.
...

Reload_and_save_on_quit = 1 may be a problem when reloading a scenario.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on September 22, 2019, 03:45:03 PM
Quote from: Andarix on September 22, 2019, 03:34:40 PMReload_and_save_on_quit = 1 may be a problem when reloading a scenario.


It is possible, however I tried very hard to try not to break the scenario, but unfortunately to prove that everything works well takes a long time.

It is the same as with the "vehicles removed", it is very difficult to prove that everything works well, it takes a long time.
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on September 26, 2019, 06:10:03 AM
error by start chapter 5

(https://forum.simutrans.com/index.php?action=dlattach;topic=15152.0;attach=28204)

EDIT

Step 2 also has an error

the following changes correct the errors
class/class_chapter_05.nut | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/class/class_chapter_05.nut b/class/class_chapter_05.nut
index 03f1474..1d174fa 100644
--- a/class/class_chapter_05.nut
+++ b/class/class_chapter_05.nut
@@ -19,7 +19,7 @@ class tutorial.chapter_05 extends basic_chapter
name_city1 = "Westminster"
c1_lima = coord(10,101)
c1_limb = coord(32,123)
- st1_c = coord3d(26,107,0)
+ st1_c = coord3d(26,106,0)
stop1 = coord(26,107)
     vh1_nr = 5

@@ -28,7 +28,7 @@ class tutorial.chapter_05 extends basic_chapter
name_city2 = "Rio de Abajo"
c2_lima = coord(31,26)
c2_limb = coord(45,37)
- st2_c = coord3d(32,31,0)
+ st2_c = coord3d(30,30,0)
stop2 = coord(32,31)
     vh2_nr = 2

Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on September 26, 2019, 07:35:16 AM
Chapter 5

If the bus leaves the depot at step 2, step 1 is reset.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on September 26, 2019, 05:13:29 PM
Quote from: Andarix on September 26, 2019, 06:10:03 AMerror by start chapter 5 (https://forum.simutrans.com/index.php?action=dlattach;topic=15152.0;attach=28204) EDIT Step 2 also has an error the following changes correct the errors class/class_chapter_05.nut | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/class/class_chapter_05.nut b/class/class_chapter_05.nut index 03f1474..1d174fa 100644 --- a/class/class_chapter_05.nut +++ b/class/class_chapter_05.nut @@ -19,7 +19,7 @@ class tutorial.chapter_05 extends basic_chapter name_city1 = "Westminster" c1_lima = coord(10,101) c1_limb = coord(32,123) - st1_c = coord3d(26,107,0) + st1_c = coord3d(26,106,0) stop1 = coord(26,107) vh1_nr = 5 @@ -28,7 +28,7 @@ class tutorial.chapter_05 extends basic_chapter name_city2 = "Rio de Abajo" c2_lima = coord(31,26) c2_limb = coord(45,37) - st2_c = coord3d(32,31,0) + st2_c = coord3d(30,30,0) stop2 = coord(32,31) vh2_nr = 2
I fixed this, thanks! . :)
Quote from: Andarix on September 26, 2019, 07:35:16 AMChapter 5 If the bus leaves the depot at step 2, step 1 is reset.

Well that must be a problem with the number of vehicles in circulation, they must be "5" for step 1 and "3" for step 2. However, it should not allow progress if the vehicles are incomplete, I have already fixed that!

Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on September 26, 2019, 06:34:23 PM
I attach the latest modifications.

Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on September 27, 2019, 05:54:02 AM
Quote from: Yona-TYT on September 26, 2019, 05:13:29 PM
....
Well that must be a problem with the number of vehicles in circulation, they must be "5" for step 1 and "3" for step 2. However, it should not allow progress if the vehicles are incomplete, I have already fixed that!

But that was not changed in the mission text. There is a display of 431/90 transported passengers.

This number of buses is unsuitable as a condition. You speak of network. A network consists of several lines. But they only count the buses of a line.

EDIT

Quote... and "3" for step 2 ...

That's wrong. There is no 2nd bus to start.
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on September 27, 2019, 06:58:23 AM
chapter 6

Building 4 transformers but only connecting 2 is confusing.

Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on September 27, 2019, 02:28:52 PM
Quote
But that was not changed in the mission text. There is a display of 431/90 transported passengers.

This number of buses is unsuitable as a condition. You speak of network. A network consists of several lines. But they only count the buses of a line.
Do you mean that it is better not to limit the number of vehicles? , although automating that is going to take time since I have to do a lot of tests.


Quote
That's wrong. There is no 2nd bus to start.

It's my mistake, there are actually 2 vehicles for step 2.


Quote
chapter 6

Building 4 transformers but only connecting 2 is confusing.
This part is still in development, I cannot solve this since there is no function that allows me to know if a transformer is electrified.

Another problem is that the "get_power ()" energy values do not accumulate correctly, I mean they return to zero "0" before the month ends.

You can see the discussion here: https://forum.simutrans.com/index.php/topic,19254.0.html
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on September 27, 2019, 11:26:10 PM
I have slightly revised chapter_03.nut.

unused text files removed

Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on September 28, 2019, 10:29:51 AM
Quote from: Andarix on September 27, 2019, 11:26:10 PMI have slightly revised chapter_03.nut. unused text files removed
Wow I'm surprised, thank you very much for your help friend.  ;D
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on September 28, 2019, 12:21:15 PM
chapter 05 step 1

(https://forum.simutrans.com/index.php?action=dlattach;topic=15152.0;attach=28211)

EDIT

chapter 5 step 2

can not public the stop

reload then works
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on September 28, 2019, 06:11:12 PM
this should solve the problem.
function cov_pax(c, wt, good){
        local halt = tile_x(c.x, c.y, c.z).get_halt()
        local cov_nr = 0
        if(halt) {
            local cov_list = halt.get_convoy_list()
            foreach(cov in cov_list) {
                if (cov.get_waytype()!=wt)
                    continue
                local cov_good = cov.get_goods_catg_index()
                for(local j=0;j<cov_good.len();j++){
                    if(cov_good[j]==good)
                        cov_nr += cov.get_transported_goods()[0]
                }
            }
            local lin_list = halt.get_line_list()
            foreach(line in lin_list) {
                local cov_lin = line.get_convoy_list()
                foreach(cov in cov_lin) {
                    if (cov.get_waytype()!=wt)
                        continue

                    local cov_good = cov.get_goods_catg_index()       
                    for(local j=0;j<cov_good.len();j++){
                        if(cov_good[j]==good){
                            cov_nr += cov.get_transported_goods()[0]                   
                        }
                    }
                }
            }
        }
        return cov_nr
    }


Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on September 30, 2019, 02:16:07 PM
class_basic_chapter.nut

The following change should be made in the function get_goal_text (pl, path).

@@ -489,10 +491,12 @@ class basic_chapter
for (local i = 1; i <= 15; i++){
text[this.my_step(i)] = ""
text[this.ttxst(i)] = "<em>"
+ text[this.ttxst(i)+"e"] = "</em>"
}
text_step = this.set_goal_text(text_step)
text[my_step(this.step)] = text_step.tostring()
- text[ttxst(this.step)] = "<a><st>"
+ text[ttxst(this.step)] = "<st>"
+ text[ttxst(this.step)+"e"] = "</st>"
if (correct_cov)
text["scr"] = "<em>--></em> <a href='script:script_text()'>"+ translate("Go to next step")+"</a> <em>>>></em>"
else


Accordingly, then the step marks must be changed in the files goal.txt.

old
{txtst_01}Step A</em> - A Look at the Factories</a><br>
{step_01}


new - remove /a end of line
{txtst_01}Step A{txtst_01e} - A Look at the Factories<br/>
{step_01}


This ensures clean tags.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 03, 2019, 04:40:33 PM
Quote from: Andarix on September 30, 2019, 02:16:07 PM
class_basic_chapter.nut

The following change should be made in the function get_goal_text (pl, path).

@@ -489,10 +491,12 @@ class basic_chapter
for (local i = 1; i <= 15; i++){
text[this.my_step(i)] = ""
text[this.ttxst(i)] = "<em>"
+ text[this.ttxst(i)+"e"] = "</em>"
}
text_step = this.set_goal_text(text_step)
text[my_step(this.step)] = text_step.tostring()
- text[ttxst(this.step)] = "<a><st>"
+ text[ttxst(this.step)] = "<st>"
+ text[ttxst(this.step)+"e"] = "</st>"
if (correct_cov)
text["scr"] = "<em>--></em> <a href='script:script_text()'>"+ translate("Go to next step")+"</a> <em>>>></em>"
else


Accordingly, then the step marks must be changed in the files goal.txt.

old
{txtst_01}Step A</em> - A Look at the Factories</a><br>
{step_01}


new - remove /a end of line
{txtst_01}Step A{txtst_01e} - A Look at the Factories<br/>
{step_01}


This ensures clean tags.

Place the underline intentionally, it is more attractive to the eye do not you think? .
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on October 03, 2019, 06:26:14 PM
Quote from: Yona-TYT on October 03, 2019, 04:40:33 PM
Place the underline intentionally, it is more attractive to the eye do not you think? .

a use only because of the underline is misleading. Two-color underlining does not look very nice to me.

Furthermore, it is questionable to have tags in the formatting that have no start tag.

For better readability, format with p instead of just br.

If underlining is considered necessary, it is better to add a u-tag in the code.

(https://simutrans-germany.com/files/upload/textformat.png)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 05, 2019, 08:37:14 PM

Quote from: Andarix on October 03, 2019, 06:26:14 PMa use only because of the underline is misleading. Two-color underlining does not look very nice to me. Furthermore, it is questionable to have tags in the formatting that have no start tag. For better readability, format with p instead of just br. If underlining is considered necessary, it is better to add a u-tag in the code. (https://simutrans-germany.com/files/upload/textformat.png)
Maybe it would be a good idea to make a small vote?




I have moved chapter 5 to 6 and vice versa, because the old chapter 5 is a kind of challenge, maybe add more in the future, just wait for more ideas .  8)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 22, 2019, 01:51:42 PM
Hello how are you ?. I have taken a small break.

Here I leave a new version, I hope there are no more code errors lol.

To highlight this is the addition of a new chapter.

Scenario: tutorial-v6.9.00.zip (https://www.mediafire.com/file/6dnzke225oncpy1/Tutorial-V6.9.00.zip/file)


(https://www.mediafire.com/convkey/a577/y830vl7w2ym2eu26g.jpg)

changes:Chapter 2 ==================================

- [add] Full review by @Andarix

Step G:
- Fixed a small error, the text with instructions is now displayed when the vehicle is removed.
- Fixed a bug that prevents setting up the vehicle, after being eliminated by the player.

Chapter 3 ==================================
- [add] Full review by @Andarix
- Deleted obsolete file "schedule.txt"
- Deleted obsolete file "details.txt"

Chapter 5 ==================================


Chapter 6 ==================================
- Resolved some inconsistencies by showing the number of passengers
- New rules for tools, now only the necessary tools are moved.
- Vehicle limitation, now the number of vehicles to be used is limited.
- Some translations (still missing)

General: =====================================
- New function that allows you to recover the selected stops in the "schedule" list when the window is closed and is not complete or the "minimum load / timeout" values ​​are incorrect.

- Translation of names of industries and vehicles directly from the pakset.

- A new chapter (Industrial Efficiency) is added.

- Chapter 5 now becomes chapter 6.
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on October 26, 2019, 10:02:23 AM
Quote from: Yona-TYT on October 22, 2019, 01:51:42 PM
...
Here I leave a new version, I hope there are no more code errors lol.
...

mmh

chapter 5 - goal.txt

...
{txtst_04}End of the Scenario</em></a><br>
{step_04}

...
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 27, 2019, 08:52:59 AM
Quote from: Andarix on October 26, 2019, 10:02:23 AMmmh chapter 5 - goal.txt ... {txtst_04}End of the Scenario
{step_04} ...
I realized very late, I had already uploaded the file.
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on October 27, 2019, 01:24:34 PM
https://simutrans-germany.com/files/upload/Tutorial-v6.9.1.zip (https://simutrans-germany.com/files/upload/Tutorial-v6.9.1.zip)

Several bugs in chapter 5 corrected.

Translation completed chapter 5. Object names ( factory, vehicle, goods, player buildings ... ) should be made via the set translation.
Review of translations not yet completed.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 27, 2019, 04:35:50 PM
Wow, I am very grateful to you! It was necessary to review and organize the translations.  :D :D :D :D

Now I will review and organize the Spanish translations, greetings!.

Edit.
I have reviewed the translations and organized and removed obsolete texts, please check that everything is fine.

https://www.mediafire.com/file/bk8vp5e51drfk1c/Tutorial-v6.9.2.zip/file (https://www.mediafire.com/file/bk8vp5e51drfk1c/Tutorial-v6.9.2.zip/file)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on March 31, 2020, 12:22:03 AM
New test version, hopefully the next one will be the final version.

Scenario: tutorial_pak128-v6.9.3-beta.zip (https://www.mediafire.com/file/m8jq67e323eo4p0/tutorial_pak128-v6.9.3-beta.zip/file)
Changes;
Chapter 2 ==================================
Step G: -------------------------------
Connecting the road will now be easier.
Intermittent stops are eliminated.

Chapter 3 ==================================
step K: --------------------------------------
Some useless texts have been removed
Improvements when showing (popup window) the number of vehicles needed in the warehouse.


Chapter 4 ==================================
Correction of an error that prevented the springs from being selected.

Chapter 5 ==================================
- A new function is implemented that allows knowing if one transformer is connected to another. thank you very much @Daws
- Mail extension building now asks that the name be correct.


General: =====================================
Revised all texts and text files, some useless files were removed.
I rename the directory to "tutorial_pak128"
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on May 25, 2020, 08:32:21 PM
Hello how are you ?.

I have been improving this for a few days, a new step is included that explains how to use the Scenario interface and the chapter on planes is almost ready (for now inaccessible because it is only in Spanish).

The scenario is still in testing, although I haven't had any more failures lately.

Hopefully someday I will be able to include it in pak128 (I've been close hehehe).


Edit. (I have updated the file due to a silly bug in caiputo 3.  :-[ )
Scenario ->    tutorial_pak128-v6.9.05-Test-2.zip (https://www.mediafire.com/file/7x2d0me5vp4vg51/tutorial_pak128-v6.9.05-Test-2.zip/file) [Update] (Must use a Simutrans night)

(https://www.mediafire.com/convkey/48e0/ssr6tot5auao5eu6g.jpg)

Changes;
Chapter 1 ==================================
Added a new step at startup on the tutorial stage.

Chapter 4 and 5 ==================================
Script text is added to advance / skip steps.

General: =====================================

A message is displayed every time the chapter is advanced, if it is enabled in the message center options.

Advance / Skip steps should now wait for the text in the scenario window to update as well as a warning.

Something cleans and structures the code of some chapters.

Some menus get translations of system tab files (work in progress).

Fixed several bugs with the scripe to Advance / Skip steps.

Work in progress:
The Planes are the last chapter of this tutorial, I have already advanced in this chapter and I include it now, for the moment it will only be accessible for the Spanish language.





I am going to need some help with these English translations: "goal_step_01.txt"
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on June 03, 2020, 02:47:08 AM
Here is a new installment of this scenario.

Scenario: tutorial_pak128-v7.0.10.zip (https://www.mediafire.com/file/8iotm2n72zco6sa/tutorial_pak128-v7.0.10.zip/file)

"[Chapter 1 ] To highlight, the statue is now mentioned as a "Monument" and is dedicated to the "legendary isaac"."  8)
The chapter on airports is ready, (very simple compared to the previous ones).

Lots of tweaks to make future porting to pak64 easier.
(https://www.mediafire.com/convkey/c5e9/gjr40vyor65wnqr6g.jpg)

Chapter 1 ==================================
Step C ------------------------
The inspection tool is highlighted.
To highlight, the statue is now mentioned as a "Monument" and is dedicated to the "legendary isaac".
Now you must click on an church and it is mentioned that it is a "tourist attraction".

Chapter 4 ==================================
Improvements in the construction of docks
Fixed a bug that worked in script

Chapter 6 ===================================
Moved to chapter 7 to make room for a new chapter.

General: =====================================
Object marks corrected in the first chapters.
Fixed a bug when starting multiple vehicles (under test).
The "plane" chapter is now clickable.
Lots of tweaks to the code structure, thinking of porting to pak64 in the future.


Pending: ===================================
A function is needed to update the lines using script.
Link to the "Options" window in the message center.
More system translations for tools.
Correct the new translations "Chapter 5 and 6" and some steps in Chapter 1.

Possibly: ================================
Improvements in the detection system of eliminated vehicles (there is a lot of duplicate code).
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on June 17, 2020, 11:20:17 PM
New version of tests, I hope it is the last one.
Scenario ->
https://www.mediafire.com/file/1jp0hsj4wm4fauj/tutorial_pak128-test-4.zip/file (https://www.mediafire.com/file/1jp0hsj4wm4fauj/tutorial_pak128-test-4.zip/file)
I've organized Chapter 3 more, mostly just improvements to the code structure.

In general, I've made improvements to make it easier to port other paksets.

There are 3 details that I hope can be solved one day:
1 - Problem when copying convoys with empty "load" and "timeout" values. https://forum.simutrans.com/index.php/topic,19953.0.html (https://forum.simutrans.com/index.php/topic,19953.0.html)
2 - Tools that are no longer available (can be very misleading). https://forum.simutrans.com/index.php/topic,20048.0.html  (https://forum.simutrans.com/index.php/topic,20048.0.html) is done!.
3 - Link to the "Settings" window of "message center". https://forum.simutrans.com/index.php/topic,19930.0.html (https://forum.simutrans.com/index.php/topic,19930.0.html)

Now I am working on the tutorial for pak64, which means that I end this scenario, just need to try and check the translations.
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on June 28, 2020, 07:52:28 AM
en/chapter_02
Quote
06_1-3.txt
06_2-3.txt
06_3-3.txt
07_1-3.txt
07_1-4.txt
07_2-3.txt
07_2-4.txt
07_3-3.txt
07_3-4.txt
07_4-4.txt
goal.txt
goal_step_01.txt
goal_step_02.txt
goal_step_03.txt
goal_step_04.txt
goal_step_05.txt
goal_step_08.txt
rule.txt

It would be nice if you could decide what the file names are.

The constant renaming is extremely annoying.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on June 28, 2020, 02:41:09 PM
I apologize, that was to remove the part that asked to click on the road depot (it was unnecessary), this change I did at the time of porting to pak64 and I forgot to mention it :(
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 24, 2020, 05:17:25 PM
Announced the first test version based on tutorial-pak64 code.  ;D

The vast majority of changes are inherited from pak64, that's why the version number change.

I should mention that I have practically not modified any text, therefore without being the same pak64 files, so you will notice a lot of inconsistency with the reality of the scenario.

Scenario: http://www.mediafire.com/file/sa9n3jt6vum2gr8/tutorial_pak128-beta-v1.5.00.zip/file (http://www.mediafire.com/file/sa9n3jt6vum2gr8/tutorial_pak128-beta-v1.5.00.zip/file)

Changes:
General ====================================
The code has been ported from the pak64 tutorial, now everything is more ordered at the code level.
Warning message when game is paused (In progress)
In Chapter 5, a solar plant has been changed to a coal one and consequently trucks have been added to move the coal and an oil platform has also been added for the ship to transport passengers there (to maintain consistency with pak64).


Tab texts ==================================
The message is added: "Advance is not allowed with the game paused."


Chapter 3 ==================================
Step H ------------------------------------------------ -----------------------------
A clogging that occurred if the tunnel was built in the reverse direction is corrected.

Chapter 4 ==================================
Step E, F and G -------------------------------------------- ---------------------------------
An error has been corrected when eliminating springs that do not accept the load, unnecessary tools have also been removed to avoid confusion.

Chapter 3 ==================================
Step I ------------------------------------------------ -----------------------------
The logic of the schedule is changed so that the trains make return trips and the unnecessary interceptions are removed (mentioned by @prisi)

Known Issues =========================
Most of the texts are not consistent, this is because nothing has changed there yet.
Chapter 7 has not been portrayed yet.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 27, 2020, 05:51:55 PM
New test update The highlights of this version are the fixed texts and routable ships with station cover. Only the "En" texts are revised. The rest of the translations still need to be repaired.

Scenario: http://www.mediafire.com/file/zr4u1vu1qew4jie/tutorial_pak128-beta-v1.5.20.zip/file

Changes:

New test update


The highlights of this version are the fixed texts and routable ships with station cover.

Only the "En" texts are revised. The rest of the translations still need to be repaired.

Changes:

// ------------------------------------------------ ------------------------------------------
General ====================================
The variables {load} and {wait} are added to the texts.
Ships are now routed by clicking within the station coverage (dock).

Tab and txt texts ==================================
The text "The slope points to the Northeast." has changed to "The slope points to the [% s]."

The following files have been modified (maybe missing): ==================================== ===================================
ch2: ----------------------
"goal_step_03.txt"
"goal_step_04.txt"
"06_1-3.txt"
"06_2-3.txt"
"06_3-3.txt"
"07_1-3.txt"
"07_2-3.txt"
"07_3-3.txt"

ch3: ----------------------
01_1-2.txt
01_2-2.txt
02_1-5.txt
02_2-5.txt
02_3-5.txt
02_4-5.txt
02_5-5.txt
03_1-2.txt
03_2-2.txt
04_1-3.txt
04_2-3.txt
04_3-3.txt
goal_step_05.txt
06_1-5.txt
06_2-5.txt
06_3-5.txt
06_4-5.txt
06_5-5.txt
goal_step_07.txt
08_2-3.txt
11_1-2.txt
11_2-2.txt

ch4: ----------------------
Basically all files

ch5: ----------------------
Basically all files

ch6: ----------------------
goal_step_02.txt
goal_step_03.txt
goal_step_04.txt

Chapter 2 ==================================
Step C and D ---------------------------------------------- -------------------------------
New explanatory text:
Tip:  Press the  [Ctrl] + ["]  keys to hide the urban buildings.

Step F ------------------------------------------------ -----------------------------
New explanatory text:
<h1> Assignment of lines: <h1>
Existing lines can be assigned to new vehicles, as long as they are vehicles of the same category. In this example we are going to assign the line  "{line}"  to our new vehicles.
</p>

Step G ------------------------------------------------ -----------------------------
Stop list is added.
New explanatory text:
Tip:  Hold down the  [Ctrl]  key to build straight sections of roads / rails.

Chapter 3 ==================================
Step H ------------------------------------------------ -----------------------------


Chapter 4 ==================================
Step E, F and G -------------------------------------------- ---------------------------------


Chapter 3 ==================================
Step I ------------------------------------------------ -----------------------------


Known Issues =========================



// Pak64 Tutorial

// ------------------------------------------------ ------------------------------------------
General ====================================


Tab and txt texts ==================================


Chapter 3 ==================================
Step H ------------------------------------------------ -----------------------------
one.

Step I ------------------------------------------------ -----------------------------


Chapter 4 ==================================
Step E ------------------------------------------------ -----------------------------

Step F and G ---------------------------------------------- -------------------------------

Errors / Regrelations in texts: =========================================== ======================
/en/chapter_04/goal_step_02.txt text changed: It is required to transport hydrocarbons  ({good1})  from {f1} to {f3} for the production of  {good2} </ em >.

/en/chapter_04/goal_step_03.txt text changed: It is required to transport hydrocarbons  ({good1})  from {f1} to {f3} for the production of  {good2} </ em >.

/en/chapter_04/goal_step_07.txt added text: <st> It advances to the next chapter </st> when the ship starts from the  Shipyard .

/en/chapter_05/goal_step_02.txt variables were not ordered correctly
/en/chapter_05/04_1-3.txt added text: <st> It advances to the next chapter </st> when the ship starts from the  Shipyard .
/en/chapter_05/04_2-3.txt added text: <st> It advances to the next chapter </st> when the ship starts from the  Shipyard .
/en/chapter_05/04_3-3.txt added text: <st> It advances to the next chapter </st> when the ship starts from the  Shipyard .
Title: Re: Pak128 Scenario Tutorial
Post by: 0cra_tr0per on November 09, 2020, 07:06:08 PM
Is the part where you're building sloped rail tunnels meant to softlock if you attempt to follow the steps? No matter how many different times I attempt to do it, it's refusing to let me build any more after the first sloped tunnel tile has been placed, despite having the cash to do so.

In addition, it won't let me configure waiting amounts and times at specific starts with lines until I finish the other stops. I'm assuming this is unintentional.

Sidenote: The intercity bus line that the tutorial has you set up? It's not actually profitable.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on November 13, 2020, 10:22:47 PM

Quote from: 0cra_tr0per on November 09, 2020, 07:06:08 PMIs the part where you're building sloped rail tunnels meant to softlock if you attempt to follow the steps? No matter how many different times I attempt to do it, it's refusing to let me build any more after the first sloped tunnel tile has been placed, despite having the cash to do so.

I have not been able to replicate that binding, can you send me a screenshot and savegame of the binding ?.



Quote from: 0cra_tr0per on November 09, 2020, 07:06:08 PMIn addition, it won't let me configure waiting amounts and times at specific starts with lines until I finish the other stops. I'm assuming this is unintentional.


I don't think I understand you very well. The time and load values must be consistent with those indicated in the tutorial, this is planned.



Regarding profitability, I will only say that my main concern is to teach the basics regarding the gameplay and give useful advice about the game.
Title: Re: Pak128 Scenario Tutorial
Post by: 0cra_tr0per on November 15, 2020, 02:23:26 AM
What I'm saying is that if I follow the instructions in the written order (add stop, configure time + load values, add other stops), it won't let me add another stop for some reason, but if I do it in the non-written order (add stop, add other stops, configure first stop time + load values), it lets me do so.

I didn't bother taking screenshots or saves of those things, however.
Title: Re: Pak128 Scenario Tutorial
Post by: 0cra_tr0per on December 04, 2020, 06:24:08 PM
(https://pic8.co/sh/ojjNbj.jpg)

Is this intentional?
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on December 05, 2020, 11:38:12 AM
shouldn't ... this happens when pressing the start button?.
Title: Re: Pak128 Scenario Tutorial
Post by: 0cra_tr0per on December 05, 2020, 05:04:40 PM
I have no actual clue. The route is correct but the scenario won't let me start those buses.

Also, if you look at the bottom of the screen - I'm in debt, thanks to the toasted ducks I'm meant to setup not being profitable. You might want to change that part of the scenario.
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on December 05, 2020, 05:39:56 PM
Can it be that one stop is in the schedule twice?

Do you also use Simutrans 122.0?
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on December 05, 2020, 06:50:04 PM
Quote from: 0cra_tr0per on December 05, 2020, 05:04:40 PMI have no actual clue. The route is correct but the scenario won't let me start those buses.
There must be some problem over there, I will check.

Quote from: 0cra_tr0per on December 05, 2020, 05:04:40 PMAlso, if you look at the bottom of the screen - I'm in debt, thanks to the toasted ducks I'm meant to setup not being profitable. You might want to change that part of the scenario.
The purpose of these "ducks" is to teach the player to assemble electric trains.
If there is something more efficient out there, then we can change that.
Title: Possibility to get stuck in 3.H
Post by: Lupus the Canine on January 20, 2021, 04:00:25 PM
I managed to get stuck in the tutorial chapter 3 part H, when building the tunnel completing second part of Cantebury Lancaster track. I managed to place two tracks on one tile at different levels and due to tutorial tool restrictions I am unable to remove one of the tracks to remove conflict.
The situation looks like this
E is tunel enterance

E
\____
______

And to complete the step I need

E
\
  \_____

When trying to remove the missplaced tracks or do anything other than unsuccesfully try to use slope tool I get "Action not allowed4113".
I would propose adding some form of tool lock override that can be enabled if stuck at one step for too long or trying to do something n times.

Here is a link to a save (https://simutrans-germany.com/files/upload/tutorial_pak128_2.sve).

EDIT: Replaced Google Drive link with official file repo one.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on January 20, 2021, 04:36:48 PM
@Lupus the Canine
Thank you very much for your tests. ;D 
You're using an old version, before the code was ported from the pak64 tutorial scenario. I think that jam was resolved long ago.
Try again with this version:
http://www.mediafire.com/file/zr4u1vu1qew4jie/tutorial_pak128-beta-v1.5.20.zip/file (http://www.mediafire.com/file/zr4u1vu1qew4jie/tutorial_pak128-beta-v1.5.20.zip/file)
Title: Re: Pak128 Scenario Tutorial
Post by: Lupus the Canine on January 20, 2021, 08:15:21 PM
Thank you, this version is more resilient to breaking, except using any "undo" feature like reversing track placement removing way-point cause script failure error related to invalid references.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on January 20, 2021, 10:19:26 PM
Quote from: Lupus the Canine on January 20, 2021, 08:15:21 PM
Thank you, this version is more resilient to breaking, except using any "undo" feature like reversing track placement removing way-point cause script failure error related to invalid references.
You can better explain the related to invalid references error?.
Do you use the keyboard option to undo the deleted tracks? unfortunately we don't have a function to control the keys with script, maybe a request needs to be made for this.
Title: Re: Pak128 Scenario Tutorial
Post by: Lupus the Canine on January 22, 2021, 11:20:14 AM
I got another error, it happened just before I was to start placing electrical lines.
(https://simutrans-germany.com/files/upload/20210122120930_1.jpg)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on January 22, 2021, 11:52:17 PM
Quote from: Lupus the Canine on January 22, 2021, 11:20:14 AM
I got another error, it happened just before I was to start placing electrical lines.
(https://simutrans-germany.com/files/upload/20210122120930_1.jpg)
Hi, how are you? I really appreciate your help with this!
I was reviewing this but ran into other non-script issues maybe, and until they are fixed I can't move on. :(
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on January 31, 2021, 04:28:04 PM
Quote from: Lupus the Canine on January 22, 2021, 11:20:14 AM
I got another error, it happened just before I was to start placing electrical lines.
(https://simutrans-germany.com/files/upload/20210122120930_1.jpg)
I have not been able to replicate the error, you have any savegame. ?
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on February 03, 2021, 03:27:53 PM

@Lupus the Canine
I have already solved it, there was a transformer that was not being checked for construction.

I will post a new version later.

Thank you very much for reporting.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on February 04, 2021, 02:12:53 AM
A new maintenance release!.

The most remarkable thing is that the mail now extends to the oil rig in chapter 5. I have made some changes not visible to the player, I hope everything continues to work well.
Scenario: https://www.mediafire.com/file/no5zvmw4xvs26kr/tutorial_pak128-beta-v1.5.50.zip/file (https://www.mediafire.com/file/no5zvmw4xvs26kr/tutorial_pak128-beta-v1.5.50.zip/file)


Changes:
Pak128
// ------------------------------------------------ ------------------------------------------
General ====================================

New change of simutrans in the logic of the crosses affects some tracks (ok).
The way in which vehicles were controlled by type of load was changed, now more than one type of load per vehicle should work.


Chapter 5 ==================================
Step C ------------------------------------------------ -----------------------------
Fixed a bug when advancing without placing a transformer.
Step D ------------------------------------------------ -----------------------------
The chain of mail now extends to the oil rig.


Known Issues =========================
It is necessary to adapt to the new waiting system in the schedule (pending)

Notes to translator: ============================================ ================================================= ===========================================



Chapter 2 =============================================== ================================================= ==================
"/es/chapter_02/goal_step_03.txt" ---------------------------------------- -------------------------------------------------- ---------------------
The variable {name} should not be placed here, change "<p> We are going to start a Bus Service in the city of {name} [br /] [br /]" to "<p> We are going to start a Service Bus for cities [br /] [br /] "
-------------------------------------------------- -------------------------------------------------- -----------

"/es/chapter_02/goal_step_04.txt" ---------------------------------------- -------------------------------------------------- ---------------------
A variable is wrong:
" [3]  With the  Itinerary  window open, you must now select all the stops in the city in order to add them to the list: [br /] {posb}", { posb} must be changed to {list}.

" [4]  After adding the 7 stops" is changed to " [4]  After adding the {nr} stops"
-------------------------------------------------- -------------------------------------------------- -----------


"/en/chapter_02/goal_step_04.txt" ---------------------------------------- -------------------------------------------------- ---------------------
Change " [4]  After adding the seven stops" to " [4]  After adding the {nr} stops"

-------------------------------------------------- -------------------------------------------------- -----------


Chapter 4 =============================================== ================================================= ==================
-------------------------------------------------- -------------------------------------------------- -----------
In the files "/es/chapter_04/01_1-2.txt, /es/chapter_04/01_2-2.txt, /es/chapter_04/goal_step_02.txt, / es / chapter_04 / goal_step_03.txt" The variable {f2 } which is no longer used
old: "<p> [br /] It is necessary to transport hydrocarbons  ({good1})  from {f1} / {f2} to {f3} to produce  {good2}  < br> [br /] "

new: "<p> [br /] It is necessary to transport hydrocarbons  ({good1})  from {f1} to {f3} to produce  {good2}  [br /] <br > "

-------------------------------------------------- -------------------------------------------------- -----------

"/es/chapter_04/goal_step_02.txt"---------------------------------------- -------------------------------------------------- ---------------------
Change "Place 3  Docks of goods  in the indicated positions: [br /] {dock} [br /] [br /]" by "Place the {nr}  Docks of goods  in the indicated positions: [br /] {dock} [br /] [br /] "
-------------------------------------------------- -------------------------------------------------- --------

"/en/chapter_04/goal_step_02.txt"---------------------------------------- -------------------------------------------------- ---------------------
Change "Place 3  Docks  of  goods  in the indicated positions: [br /]" to "Place {nr}  Docks  of  goods  in the indicated positions: [br /] "
-------------------------------------------------- -------------------------------------------------- -----------

"/es/chapter_04/goal_step_04.txt"---------------------------------------- -------------------------------------------------- ---------------------
Change "{tx} Connecting to provider {f1} [br /] [br /]" to "Connecting to provider {f1} [br /] [br /]"
-------------------------------------------------- -------------------------------------------------- -----------

"/es/chapter_04/05_2-4.txt and /es/chapter_04/05_3-4.txt"--------------------------- -------------------------------------------------- ---------
An error in the variable "{tx}" is corrected:
Change "tx}" to "{tx}"
-------------------------------------------------- -------------------------------------------------- -----------

Chapter 5 =============================================== ============
================================================= ======
"/ en / chapter_05 /" ?? -------------------------------------------------- -------------------------------------------------- -----------
Delete a junk directory "/ en / chapter_05 /" (there is a space at the beginning of the name). -------------------------------------------------- -------------------------------------------------- -----------
Delete the following obsolete files: "/es/chapter_05/02_1-2.txt" and "/es/chapter_05/02_2-2.txt"
-------------------------------------------------- -------------------------------------------------- -----------
The file is missing: "/es/chapter_05/goal_step_02.txt"

Edit. My apologies to our dear dictator for posting 3 messages in a row.  :P  
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on August 10, 2021, 01:45:30 AM
I am happy to announce a new version of the tutorial, v1.6.10

Thank you very much @roboron for the enormous work with the texts.  8)
Scenario release: https://github.com/Yona-TYT/tutorial_pak128/releases/download/v1.6.10/tutorial_pak128-v1.6.10.zip (https://github.com/Yona-TYT/tutorial_pak128/releases/download/v1.6.10/tutorial_pak128-v1.6.10.zip)

(https://github.com/Yona-TYT/tutorial_pak128/releases/download/v1.6.10/Pak128-Tutorial-v1-6.png)
The highlight of this version:
This is the first time that I use github to manage this project, look here: https://github.com/Yona-TYT/tutorial_pak128 (https://github.com/Yona-TYT/tutorial_pak128)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on August 13, 2021, 03:46:24 AM
I have updated the above message to v1.6.10.  :P
https://github.com/Yona-TYT/tutorial_pak128/releases/download/v1.6.10/tutorial_pak128-v1.6.10.zip
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on August 20, 2021, 06:14:05 PM
https://github.com/Yona-TYT/tutorial_pak128/commit/f1a13d555241426f3cf38780f005990fdb8b86f9 (https://github.com/Yona-TYT/tutorial_pak128/commit/f1a13d555241426f3cf38780f005990fdb8b86f9)

This change amazes me a little. I changed that a long time ago.

Quote from: Andarix on September 30, 2019, 02:16:07 PM
class_basic_chapter.nut

The following change should be made in the function get_goal_text (pl, path).

@@ -489,10 +491,12 @@ class basic_chapter
for (local i = 1; i <= 15; i++){
text[this.my_step(i)] = ""
text[this.ttxst(i)] = "<em>"
+ text[this.ttxst(i)+"e"] = "</em>"
}
text_step = this.set_goal_text(text_step)
text[my_step(this.step)] = text_step.tostring()
- text[ttxst(this.step)] = "<a><st>"
+ text[ttxst(this.step)] = "<st>"
+ text[ttxst(this.step)+"e"] = "</st>"
if (correct_cov)
text["scr"] = "<em>--></em> <a href='script:script_text()'>"+ translate("Go to next step")+"</a> <em>>>></em>"
else


Accordingly, then the step marks must be changed in the files goal.txt.

old
{txtst_01}Step A</em> - A Look at the Factories</a><br>
{step_01}


new - remove /a end of line
{txtst_01}Step A{txtst_01e} - A Look at the Factories<br/>
{step_01}


This ensures clean tags.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on August 20, 2021, 06:20:52 PM
Quote from: Andarix on August 20, 2021, 06:14:05 PMhttps://github.com/Yona-TYT/tutorial_pak128/commit/f1a13d555241426f3cf38780f005990fdb8b86f9

This change amazes me a little. I changed that a long time ago.
At some point came back, before using github this was very chaotic ... luckily now the work is more coordinated.
Title: Re: Pak128 Scenario Tutorial
Post by: Andarix on August 20, 2021, 06:41:12 PM
Git can also be used locally without having an online repo.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on August 20, 2021, 06:49:19 PM
Quote from: Andarix on August 20, 2021, 06:41:12 PMGit can also be used locally without having an online repo.
Certainly, just this year I learned (halfway) how to use git.  ;)
Title: Scenario Tutorial Pak128 v1.6.20 Release
Post by: Roboron on September 10, 2021, 09:27:05 AM
Scenario Tutorial Pak128 v1.6.20
=> https://github.com/Yona-TYT/tutorial_pak128/releases/tag/v1.6.20
Title: Re: Pak128 Scenario Tutorial
Post by: M_Arcus on October 24, 2021, 12:18:22 AM
Hello, Can You please help me?
I'm stuck at Chapter 2 Step D: Although the bus is rotating, I'm still getting "Advance not allowed"
Many Thanks in Advance.

M_Arcus
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 24, 2021, 12:26:05 AM
Hello, thank you very much for your tests.

I see that you have eliminated one of the vehicles needed to advance the tutorial ... when this happens you are returned to that point in the tutorial so you can re-route and start a new vehicle.
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 24, 2021, 12:28:27 AM
Please send me a savegame to further analyze the problem.
Title: Re: Pak128 Scenario Tutorial
Post by: M_Arcus on October 24, 2021, 12:39:07 AM
Thank you VERY MUCH for this instant Reply  :)

I have not eliminated any bus or vehicle? Should I try adding more busses?
I have saved the game but I dont know where to find the file (btw. I am playing on Steam).

Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 24, 2021, 12:42:38 AM
Can you tell me what version of the scenario are you using? , I don't have how to use steam to verify.
Title: Re: Pak128 Scenario Tutorial
Post by: M_Arcus on October 24, 2021, 12:54:58 AM
I have taken a new Screenshot:
Simtrans 122.0 r9274M
Pak 128 2.8.1
tutorial_pak128-beta
Version 1.5.50 beta

Is this the right Information?  :question:
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 24, 2021, 01:05:54 AM


This version is very old, it is most likely that this problem has already been solved in the recent versions.

But simutrans is not updated on Steam, you will have to wait for the next update
Quote from: M_Arcus on October 24, 2021, 12:54:58 AMtutorial_pak128-beta
Version 1.5.50 beta
Title: Re: Pak128 Scenario Tutorial
Post by: M_Arcus on October 24, 2021, 01:37:57 AM
Thank You again!
Now I have installed simtrans on my PC without Steam.
But this great Tutorial is not included. Can you please give me a hint where find instructions, how to get the downloaded zip-file "tutorial_pak128.zip" inside Simutrans?

::-\
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 24, 2021, 01:39:18 AM
Link https://github.com/Yona-TYT/tutorial_pak128/releases/tag/v1.6.20
Title: Re: Pak128 Scenario Tutorial
Post by: M_Arcus on October 24, 2021, 01:41:12 AM
Sorry, my fault :-[ I have already dowloaded this Files.
But how do I install this  :question:
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 24, 2021, 01:46:55 AM
You must extract the file, find the tutorial-pak128 directory and copy / move to the "simutrans / pak128 / scenario" directory
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 24, 2021, 01:52:23 AM
By the way, this version uses functions that are not yet included in the latest stable version of simutrans, please replace your executable "simutrans.exe" with a night version.

https://nightly.simutrans.com/es/
Title: Re: Pak128 Scenario Tutorial
Post by: M_Arcus on October 24, 2021, 01:59:50 AM
Hallelujah!  ;D
Finally it works.
Thank you VERY much. :heart: :heart: :heart:
:done:
Now I can finally go to bed (and dream of Simutrans and this Tutorial)  ;D
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 24, 2021, 02:05:29 AM
I'm glad you like it, I've been working on this since 2017.

Any help with testing welcome, especially these days that there is a new stable version of simutrans on the way. ;)
Title: Re: Pak128 Scenario Tutorial
Post by: M_Arcus on October 24, 2021, 08:50:31 PM
Hello, Yona! It 's me again  ;)

Just wanted to report a / some little bugs (as much as I can say):

chapter 7, step A:
- the variables st1_nam, vhe1, goal_lod1 and lod are not set.
- (therefore?) I am not able to place any bus-stops (Errormessage: "You can only use this tool in the city of Westminster (112,107)."

Thank You for your great work!  :-* I really have enjoyed running through the tutorial!
:star: :star: :star: :star: :star:

(I wanted to give you a Like, but I did not find the button to do so...)
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 25, 2021, 12:09:14 AM
Quote from: M_Arcus on October 24, 2021, 08:50:31 PMHello, Yona! It 's me again  ;) Just wanted to report a / some little bugs (as much as I can say): chapter 7, step A: - the variables st1_nam, vhe1, goal_lod1 and lod are not set. - (therefore?) I am not able to place any bus-stops (Errormessage: "You can only use this tool in the city of Westminster (112,107)." Thank You for your great work!  :-* I really have enjoyed running through the tutorial! :star: :star: :star: :star: :star: (I wanted to give you a Like, but I did not find the button to do so...)
Good! I think you are the first to get to chapter 7 (Or at least the first to mention it aui :P ), my colleagues in the forum always find a way to break it before chapter 5 hahaha  ;D .

Regarding the variables you mention, since I had already fixed them, I suppose there was a mistake in the files from the translation  :P . 

Edit.
city
st1_nam, Should be: stop
lod, Should be: load
goal_lod1, Should be: get_load
vhe1, This variable should no longer exist. :o


I have attached the correct files  8) .
Title: Re: Pak128 Scenario Tutorial
Post by: M_Arcus on October 28, 2021, 08:18:21 PM
Thank You, again!

Now I am stuck in chpter 7 Step B:
I can not place a Bus stop at 30,31 for at this position is no street but the train-station.
I've tried to build the bus sutp at 32,31 but I am not allowed to make the bus stop public "Aktion not allowed".
I think this the reason why the bus stop can not be connect to the train-station?

Can I try somthing else?
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 28, 2021, 08:23:53 PM
Please send me the savegame, I'll see what I can do .... maybe I made a mistake writing down those strings.
Title: Re: Pak128 Scenario Tutorial
Post by: M_Arcus on October 28, 2021, 08:33:34 PM
Sorry, but the savegame is 375 kb.
I'm only allowed to Upload files maximum Size 64 kb.

Is there an other way?
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 28, 2021, 08:36:17 PM
Yes, you can send me an email with the savegame attached.

yonatyt@mail.com
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 29, 2021, 10:23:33 PM
Thank you very much for your report, the coordinates were wrong, now it should work.

Replace your file "/simutrans/pak128/scenario/tutorial_pak128/class/class_chapter_07.nut"
Title: Re: Pak128 Scenario Tutorial
Post by: M_Arcus on October 30, 2021, 07:51:08 PM
Hello, Yona!
Thank you very much: now I've made throuch your Tutorial.
I have learned a lot and it was great fun.

Greatings
Marcus
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on October 30, 2021, 07:55:45 PM
I'm glad you liked it, it was really fun for me to create the scripts. 😎
Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on November 25, 2022, 12:11:23 AM
New version for testing!

Scenario:  tutorialpak128-v1.6.42.zip

It's basically the same as in pak64, since I keep the convergence between the two projects.


Earring:
- Failed click counter is broken, waiting for: https://forum.simutrans.com/index.php/topic,21981.msg202264/topicseen.html#msg202264
- Some new and obsolete translations are not yet reviewed.

List of changes:

- Add Link to skip steps on CH6
- Reworked underground buildings (should be easier to build now).
- Underground constructions now warn if the underground view is active or the correct level of the layer.
- Fixed many bugs with auto build code.
- Improvements in the logic of checking rails/roads when they are built (the flashing marks that appear and disappear).
- Add coord list to differentiate between the track under construction and the existing ones.
- Improvements in the simutrans/paksets versions analyzer
- Improvements in the failed click counter (But it's still broken).
- Various bug fixes between chapters 2, 3, 4, 5 and 6.
- Fix error when using an old version of simutrans
- Disable debug tab

Title: Re: Pak128 Scenario Tutorial
Post by: Yona-TYT on December 20, 2022, 07:20:00 PM
New version released!

These new versions are mainly to improve the efficiency and structure of the scripts.

Scenario: tutorialpak128-v1.6.50.zip

Note: This version includes very recent script functions, so you must use a development version of at least r10832

Captura desde 2022-12-20 11-59-00.png

Changelog:
- Improvements in the logic to detect eliminated convoys
- Factories have a tile list of their fields
- Stop with multiple types of cargo/load [passengers, mail or good] (only used in pak192.comic)
- Improvements to be able to use underground stations (only used in pak192.comic)
- Improvements in public text labels (used to give directions on the ground)
- All public text labels are marked when starting the game (in case of loading a savegame)
- If someone builds elevated tracks (bad idea), they can now be removed (in most cases)
- Many improvements in automated commands
- Many bug fixes and code efficiency improvements
- Many improvements in text labels (Used to give indications on the ground)
- Automated commands now use the human player (as it should)