How useful to modders is TutorialUIRoot.lua?

ww2commander

Emperor
Joined
Aug 23, 2003
Messages
1,243
Location
Australia
I only stumbled across this file tonight after search through files for other things. I figured in addition to its in-game tutorial purposes, this file also serves as a learning aid for modders.

It seems to contains some interesting code which might be useful in understanding the coding mechanics of the game (especially for programming beginners).
  • Serialize data functions - I assume this might be an alternative to the SaveUtils used in Civ5?
  • function PlayFullScreenMovie - Potential to play our own custom bk2 movie files?
  • Various Events available (i.e. Events.ResearchCompleted.Add)
Apology if this may have been mentioned before in another thread.
 
Ho, no, looks interesting, just added into the ImustlookatthatASAP list.

Which start to become a big list.
 
Back
Top Bottom