Tutorial and fastplay conversion

For AI and campaign script related discussions and questions

Re: Tutorial and fastplay conversion

Postby Berserk Cyborg » 03 Dec 2017, 07:04

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.
User avatar
Berserk Cyborg
Code contributor
Code contributor
 
Posts: 338
Joined: 26 Sep 2016, 19:56

Re: Tutorial and fastplay conversion

Postby Per » 03 Dec 2017, 21:08

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
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
 
Posts: 3649
Joined: 03 Aug 2006, 19:39

Re: Tutorial and fastplay conversion

Postby Berserk Cyborg » 05 Dec 2017, 22:17

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.

User avatar
Berserk Cyborg
Code contributor
Code contributor
 
Posts: 338
Joined: 26 Sep 2016, 19:56

Re: Tutorial and fastplay conversion

Postby Terminator » 09 Dec 2017, 10:33

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
Terminator
Regular
Regular
 
Posts: 1053
Joined: 05 Aug 2006, 13:46
Location: Ukraine

Re: Tutorial and fastplay conversion

Postby NoQ » 09 Dec 2017, 15:21

Then, again, such multiplayer-focused tutorial should probably be made as a challenge, because multiplayer balance.
User avatar
NoQ
Special
Special
 
Posts: 6099
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Previous

Return to Scripting