Tutorial and fastplay conversion

For AI and campaign script related discussions and questions
User avatar
Berserk Cyborg
Code contributor
Code contributor
Posts: 938
Joined: 26 Sep 2016, 19:56

Re: Tutorial and fastplay conversion

Post by Berserk Cyborg »

Got to the design reticule button part which is halfway through part three of the tutorial (of five). Need eventMenuDesign() (design button pressed) and eventMenuResearchSelected() (research item selected). The latter is being simulated with a queue and structureIdle() right now.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Tutorial and fastplay conversion

Post by Per »

Berserk Cyborg wrote:Got to the design reticule button part which is halfway through part three of the tutorial (of five). Need eventMenuDesign() (design button pressed) and eventMenuResearchSelected() (research item selected). The latter is being simulated with a queue and structureIdle() right now.
Added in b5f8a07af0f1cbad8379dfa11724ceacc9f50ce8
User avatar
Berserk Cyborg
Code contributor
Code contributor
Posts: 938
Joined: 26 Sep 2016, 19:56

Re: Tutorial and fastplay conversion

Post by Berserk Cyborg »

Here it is. I tried to emulate it the best I could. There are some very small differences, but it all works the same. I did change it so tutorial's design screen works like multiplayer simply so that the script's console/audio function does not remain paused during that time. I observed that the close button does not flash?

The tutorial can become more in depth later on because about half of the tutX.ogg files go unused.
0001-Convert-tutorial-.vlo-.slo-to-tutorial.js.patch
User avatar
Terminator
Regular
Regular
Posts: 1077
Joined: 05 Aug 2006, 13:46
Location: Ukraine
Contact:

Re: Tutorial and fastplay conversion

Post by Terminator »

Would be cool to see an advanced tutorial (multi-player focused). And remake "fastplay"... or dont.
Death is the only way out... sh*t Happens !

Russian-speaking Social network Group http://vk.com/warzone2100
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Tutorial and fastplay conversion

Post by NoQ »

Then, again, such multiplayer-focused tutorial should probably be made as a challenge, because multiplayer balance.
Post Reply