Page 1 of 1

Tutorial IV, Production Phase, can't complete

Posted: Wed Aug 03, 2022 9:47 am
by WG
The problem with the Production Phase tutorial begins when it asks the player to go to Eastern German to build an armored unit. The armor button on my screen is beneath the instruction box. (I am running it at 1920×1080. Perhaps different screen sizes work correctly.)

I've found a way to click on the armor button, but the instructions are out of sync. They don't match the Eastern Germany screen. Then it has the player click for the next screen, which is Austria, but instructions are given for Western Poland.

Re: Tutorial IV, Production Phase, can't complete

Posted: Mon Aug 29, 2022 8:10 pm
by ncc1701e
Indeed, running at 1920×1080, I have the same problem.

I was able to solve the hidden armor button. I am looking for a fix for going to the captured production. I will try to find out the correct button ID. Any modder may know this ID by chance?
Tuto pb.JPG
Tuto pb.JPG (142.06 KiB) Viewed 1163 times

Re: Tutorial IV, Production Phase, can't complete

Posted: Tue Aug 30, 2022 5:20 pm
by ncc1701e
The problem is located in the wawgoldtutorial04.txt file in the ./dat directory. In fact, there are five things not working all linked to the TutButton($varA,$varB) function.

The 105 below is not working, value not recognized by the game:
TutId(4)
TutButton(105,$PRODUCTION)


The 30113 below is not working, value not recognized by the game:
TutId(5)
TutButton(30113,$PRODUCTION)


The $ProductionforCaptured below is not working, value not recognized by the game. In the file named wawgoldtutinc.txt, this variable is defined at 2042.
TutId(10)
TutButton($ProductionforCaptured,$PRODUCTION)


The 30113 below is not working, value not recognized by the game:
TutId(29)
TutButton(30113,$PRODUCTION)


The 80113 below is not working, value not recognized by the game:
TutId(30)
TutButton(80113,$PRODUCTION)



To solve the armor icon problem, just change the text of TutId(9) in the the wawgoldtutorial04.txt file in the ./dat directory:

TutId(9)
TutButton(1008,$PRODUCTION)
TutTimes(200000,500)
TutMsg("In order to place a new Armor unit into production in Eastern Germany region, left click on its icon here.")
TutNext(10)

Re: Tutorial IV, Production Phase, can't complete

Posted: Sat Nov 19, 2022 3:21 pm
by WG
Thanks a lot for your help. Changing that file allowed me to get past that one menu.

Unfortunately, there seem to be many other bugs in that scenario. Some steps are skipped, possibly because of the unidentified codes you list, and that breaks the later tutorial. I wish that I knew enough about the scripting to try to fix it.

Re: Tutorial IV, Production Phase, can't complete

Posted: Sat Nov 19, 2022 6:10 pm
by ncc1701e
Yes, I did not figure out how to solve them unfortunately.