Refactoring Campaigns
The scripting code of the campaigns should be cleaned up with the following requirements:
* All campaigns should make use of the aux-formatting (http://
* No translations should be destroyed. Therefor a script is necessary that will adjust the translation files (remove "--NEW OBJECTIVES--" etc.) (https:/
* Some file-naming conventions should be followed. A suggestion is
- init.lua: initialization and global variables
- starting_
- texts.lua: all the objective and speech texts and the speech functions
- mission_thread.lua: the main mission thread
- additional files for helper functions
* The scripting directory should be translatable. That would make the quotation marks translatable as desired and an add_objective function could be added to the aux-formatting.
Blueprint information
Related branches
Related bugs
Bug #835559: Would it be possible to move out common functions used in campaign scripts? | Fix Released |
Sprints
Whiteboard
Has been dealt with.