Hi everyone,
Today, along with the new update, we're also releasing the updated module system we've talked about in this post, with the detailed guide for modders with everything they should know about it. This module system is more refined than the original Warband's and includes a number of important improvements that will make creating mods considerably easier.
Here's an excerpt from the guide's introduction:
Why we created this system? As you should know, typical Warband module consists several entities – triggers, scripts, troops, items, dialogs, presentations, etc. Because each of those entities are simply Python array consisting from several other arrays, it is very inconvenient to make or track changes in those files. In general, it leads to lot of mistakes and clutters code flow, because not only you have to find function you need in a file which contains more than 100,000 lines, but also you should write you code as an array. This significantly slows down development. Also it is almost impossible to develop module using several programmers/designers and any version control system because all the changes are made to single file it is impossible to apply changes simultaneously even if you are working with different scripts, for example.
Because we have experience developing several tools we decided to simplify existing system by splitting most important entities into their logical elements – for example, every script can be in its own file or menus can have shared triggers without need to copying code thus reducing copy/paste behavior. Also it is possible to simply add your own functions to existing module without the need to modify module itself thus giving abilities to create libraries which can be shared between different modules. And of course it makes possible to use version control systems – SVN or Git for example.
As a bonus, today we also released Steam Trading Cards. If that's not saying anything to you, keep in mind — you can sell them. Now, to the update:
Update notes 2.020:
Content:
- Added new mission “Killer Nun” (available from “Suspicious man”).
- Changed locations “Mansion” and “Brothel”.
- Added new animations for hookers.
- Improved global map’s texture.
Gameplay:
- Improved additional options for escaping from slavery: your character can be freed, if he’s imprisoned in one of his own faction’s plantations/mines, or if he’s the owner himself. Besides, the player can be set free, if the owner of a plantation/mine is a governor that belongs to the faction allied with the player.
- Balance changes for bows in multiplayer.
Fixed:
- Bugs in diplomatic options available through “Secretary”.
- Bug that caused ships taking names of characters or troops.
- Bugs related to smuggling — now you shouldn’t have trouble fighting off customs officials (in case you’re still having problems, please let us know).
Module system:
- Opened sources for the module system (located at Steam\steamapps\common\Blood & Gold Caribbean!\modules_source.zip).
- Added 40-page guide for working on mods for the game — located in main directory.
Have a nice weekend!
Today, along with the new update, we're also releasing the updated module system we've talked about in this post, with the detailed guide for modders with everything they should know about it. This module system is more refined than the original Warband's and includes a number of important improvements that will make creating mods considerably easier.
Here's an excerpt from the guide's introduction:
Why we created this system? As you should know, typical Warband module consists several entities – triggers, scripts, troops, items, dialogs, presentations, etc. Because each of those entities are simply Python array consisting from several other arrays, it is very inconvenient to make or track changes in those files. In general, it leads to lot of mistakes and clutters code flow, because not only you have to find function you need in a file which contains more than 100,000 lines, but also you should write you code as an array. This significantly slows down development. Also it is almost impossible to develop module using several programmers/designers and any version control system because all the changes are made to single file it is impossible to apply changes simultaneously even if you are working with different scripts, for example.
Because we have experience developing several tools we decided to simplify existing system by splitting most important entities into their logical elements – for example, every script can be in its own file or menus can have shared triggers without need to copying code thus reducing copy/paste behavior. Also it is possible to simply add your own functions to existing module without the need to modify module itself thus giving abilities to create libraries which can be shared between different modules. And of course it makes possible to use version control systems – SVN or Git for example.
As a bonus, today we also released Steam Trading Cards. If that's not saying anything to you, keep in mind — you can sell them. Now, to the update:
Update notes 2.020:
Content:
- Added new mission “Killer Nun” (available from “Suspicious man”).
- Changed locations “Mansion” and “Brothel”.
- Added new animations for hookers.
- Improved global map’s texture.
Gameplay:
- Improved additional options for escaping from slavery: your character can be freed, if he’s imprisoned in one of his own faction’s plantations/mines, or if he’s the owner himself. Besides, the player can be set free, if the owner of a plantation/mine is a governor that belongs to the faction allied with the player.
- Balance changes for bows in multiplayer.
Fixed:
- Bugs in diplomatic options available through “Secretary”.
- Bug that caused ships taking names of characters or troops.
- Bugs related to smuggling — now you shouldn’t have trouble fighting off customs officials (in case you’re still having problems, please let us know).
Module system:
- Opened sources for the module system (located at Steam\steamapps\common\Blood & Gold Caribbean!\modules_source.zip).
- Added 40-page guide for working on mods for the game — located in main directory.
Have a nice weekend!