News:

Simutrans Forum Archive
A complete record of the old Simutrans Forum.

Pak128 Scenario Tutorial

Started by HaydenRead, January 12, 2016, 09:31:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT

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/
Scenario: tutorial-v6.3.20.zip


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

Frank

#106
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#

Yona-TYT

#107
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#

Yona-TYT

@Frank
I have updated the file, hopefully there is no more trash there, thanks!.

Andarix

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."

Yona-TYT

I will investigate to publish a new version, I have made many improvements to the scenario. ;)

Andarix

#111
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>"
}


--

Yona-TYT

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


Yona-TYT

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 :) .

Yona-TYT

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
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."

Andarix

#115
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.

Andarix

#116
Chapter 4

Close the first ships schedule then show this error.



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()
--


Yona-TYT

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.



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.


Andarix

I think the translation texts should be revised again.

Yona-TYT

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 . :(

Andarix

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.

Andarix

@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){
...

Yona-TYT

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).

Andarix

I have slightly revised chapter_02.nut. The file chapter_02/04_3-3.txt is no longer necessary.

Andarix

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>")
}

Yona-TYT

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. ;)

Yona-TYT

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

Andarix

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

____________

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>"


Yona-TYT

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.

Yona-TYT

#130
Quote

other error

____________
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.

Andarix

#131
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.

Yona-TYT

[class_basic_chapter.nut] Leave a silly error in the previous file.


Andarix

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.

Yona-TYT

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.

Andarix

#135
error by start chapter 5



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


Andarix

Chapter 5

If the bus leaves the depot at step 2, step 1 is reset.

Yona-TYT

Quote from: Andarix on September 26, 2019, 06:10:03 AMerror by start chapter 5 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!


Yona-TYT

I attach the latest modifications.


Andarix

#139
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.