If you ever needed a comprehensive reference on Warband Module System operations, you have found it!
Here you can find a thoroughly restructured, expanded and documented version of header_operations.py file from the Warband Module System. All operations have been grouped into sections, their calling syntax has
Permissions and credits
Credits and distribution permission
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features so long as you credit me as the original creator
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission as long as you credit me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou must get permission to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
Special thanks go to cmpxchg8b, Caba'drin, SonKidd, MadVader, dunde, Ikaguia, MadocComadrin and Cjkjvfnby for their help and support in creating this file.
Donation Points system
This mod is not opted-in to receive Donation Points
If you ever needed a comprehensive reference on Warband Module System operations, you have found it!
Here you can find a thoroughly restructured, expanded and documented version of header_operations.py file from the Warband Module System. All operations have been grouped into sections, their calling syntax has been checked, nearly every operation has been properly commented. Many mistakes or inconsistencies in operation calling syntax or supposed effects have been researched and corrected. Most unobvious conventions and assumptions are highlighted.
What's more, a lot of comments have been added to the file which should make it much easier to use by people who are still learning the ropes of Warband modding.
Extract from the file (table of contents):
################################################################################ # header_operations expanded RC1 # ################################################################################ # TABLE OF CONTENTS ################################################################################ # # [ Z00 ] Introduction and Credits. # [ Z01 ] Operation Modifiers. # [ Z02 ] Flow Control. # [ Z03 ] Mathematical Operations. # [ Z04 ] Script/Trigger Parameters and Results. # [ Z05 ] Keyboard and Mouse Input. # [ Z06 ] World Map. # [ Z07 ] Game Settings. # [ Z08 ] Factions. # [ Z09 ] Parties and Party Templates. # [ Z10 ] Troops. # [ Z11 ] Quests. # [ Z12 ] Items. # [ Z13 ] Sounds and Music Tracks. # [ Z14 ] Positions. # [ Z15 ] Game Notes. # [ Z16 ] Tableaus and Heraldics. # [ Z17 ] String Operations. # [ Z18 ] Output And Messages. # [ Z19 ] Game Control: Screens, Menus, Dialogs and Encounters. # [ Z20 ] Scenes and Missions. # [ Z21 ] Scene Props and Prop Instances. # [ Z22 ] Teams and Agents. # [ Z23 ] Presentations. # [ Z24 ] Multiplayer And Networking. # [ Z25 ] Remaining Esoteric Stuff. # [ Z26 ] Hardcoded Compiler-Related Code. # ################################################################################
The file still could be improved in some places, and not all operations have been completely researched to this moment. Multiplayer section in particular has not been expanded at all, as I do not consider myself an expert on Warband MP modding. Tableau section could use some extra love as well. Some inaccuracies in other sections are also possible, humans do make mistakes after all. Despite all that, I daresay this is the file which will be of great help to any Warband scripter.