Vicevirtuoso
The Modetta Man
Download:
Steam Workshop
Mediafire
Replaces the following base game files:
While Firaxis allowed for significantly more modularity with systems such as Quests and Covert Operations due to most of their logic being handled through Lua, there is a critical issue with the implementation. By default, the game only checks for scripts in the game's assets folder and does not check for mods to add scripts to these systems. This mod replaces the core files such that mods are able to add new scripts to the above systems without requiring the Lua files to be placed in the game's assets folder.
How to implement in your mods:
Steam Workshop
Mediafire
Replaces the following base game files:
- CovertOperationsSystem.lua
- MinorPowersSystem.lua
- PersonalitySystem.lua
- PlotBonusSystem.lua
- QuestSystem.lua*
* no longer necessary, and is only included for backwards compatibility with non-updated mods
While Firaxis allowed for significantly more modularity with systems such as Quests and Covert Operations due to most of their logic being handled through Lua, there is a critical issue with the implementation. By default, the game only checks for scripts in the game's assets folder and does not check for mods to add scripts to these systems. This mod replaces the core files such that mods are able to add new scripts to the above systems without requiring the Lua files to be placed in the game's assets folder.
How to implement in your mods:
- In your mod, either add a dependency to this mod, or copy all of this mod's replacement Lua files to your mod and set them to VFS = true.
- When defining a new item, such as a new Covert Operation, make sure the <ScriptName> tag is set to be your Lua filename without its extension.
- Ensure your Lua file is set to VFS = true, but you must also add the Lua file through the Content tab, and you must use a Type appropriate to the type of content you are adding. Note that you must manually enter in the Types listed below, as they are not part of the default types in ModBuddy. The Types are:
- Covert Operations: CovertOperationsAddin
- Minor Power Scripts: MinorPowersAddin
- Personality Scripts: PersonalityAddin
- Plot Bonus Scripts: PlotBonusAddin