Allows you to switch your vocations, skills, and equipment with presets for each vocation. Each vocation gets presets and each preset can hold a set of skills and equipment to utilize.
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
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 are not allowed 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
Credit to YaeSakura2333 for the original mod
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 2.7.2
Add Support for Custom Archer skill: Downpour Volley
Fixed issue where Ruinous Segil was not showing up in name for saved presets
Version 2.7.1
Added support for Dullahan's Mystic Spearhand: Perilous/Ruinous Segil skill
Version 2.7.0
Other weapons now inherit the weapon job of a sorc or mage skill. This was the only way to make the ult skills work on other weapons. The weapon will go back to it's original weapon job after the spell animation ends.
Very Minor support for Dullahan: They will 100% work on the weapons theyre meant for, but using them on other weapons will give pose a problem because the dullahan mod checks for the weapon job, this mean you'd have to press the skill twice for it to function so it currently only works for sorc/mage custom skills.
Version 2.6.19
Fixed issue where you couldnt use skills with any weapon other than the one the vocation is meant for
fixed issue where UI would not appear.
Version 2.6.17
Fixed Hotkey input down check
Version 2.6.16
Revert Equip Method change. They do the same thing, but the old method calls the new method, and the new method required more manual input.
Added more checks for warfarer and vocations when swapping weapons in regards to the Remove Job requirements checkbox.
Version 2.6.15
Change equip method
Version 2.6.14
Fixed return values of a couple of hooks weren't returned when options were disabled.
Version 2.6.13
Quickspell skill will no longer activate outside of casting a mage/sorc spell
Version 2.6.12
Removed restriction on Vocation Action Key preventing quickspell from functioning, now quickspell from the action key fill force concentrate.
Version 2.6.11
Fixed issue where using a controller would cause using certain skills to override the button mapping of the skill you wanted to press.
Version 2.6.10
Forced Sorcerer weapon vocation when Spell Hold Skill is used because Sorcerer can hold/use all mage skills.
Version 2.6.9
Added check for player instance when skill instance ends.
Version 2.6.8
Fixed issue where minimizing the SPS window would give REF an error.
"Attempted" to rectify issue where casting boon skills from mage's arsenal would only target yourself. This is experimental, I know it's already janky so don't report anything about it unless you're getting an error.
Version 2.6.7
Fixed issue where changing Presets/Vocations would call the their respective function for removal/equip twice per equipment instead of the expected once per equipment.
Version 2.6.6
Added Magick Archer to the list of magic jobs so that when using their skill the window for their special action is still available for a few more seconds after a cast. (Archer will be able to switch into Margick Archer aim mode when they do this).
Version 2.6.5
Added more checks to skill usage. The UI when pressing the button was greyed out (but still accessible) so now it's no longer greyed out for skills that were affected by weapon jobs.
Fixed issue where keeping the weapon job was still being ignored after loading back in game - This should definitely fix it this time.
Version 2.6.4
Switching off "Remove Job Requirements (Weapons)" will now also toggle off "Keep Original Weapon Jobs?" in the off chance that a messed up weapons'json is created (which shouldn't happen, but might when going upgrading from 2.6.0-2.6.4), just delete the weapons.json generated in "data/sps-vocations" and restart the game an a new one will be generated.
Version 2.6.3
Fixed issue where weapon forcing weapon job back to it's original wasn't prioritized upon game load or scene change
The the old cap capcom fashion, MISC Fixes.
Version 2.6.2
Fixed issue where pressing the same skill twice would reset the skill
Added checkbox to keep original weapon jobs after "Remove Job Requirements (Weapons)" is enabled, this is mainly for transmogify as they both use the same field. Do note that enabling this option removes your ability to switch to any weapon other than what your vocation can use. You can still however use any skill with that weapon.
Version 2.6.1
Now ALL vocations have access to all skills in the skill menu
Added Checkbox to toggle enabling all skills for all vocations. By default it is off, it requires a game restart if you toggle it back off again.
"Enable Preset Toggle On Press/Hold" reversed method is now default when enabled.
Added more checks for auto saving skill when setting them
Reworded some names to make it clearer what they are.
Version 2.6.0
Added feature where all weapons can use any skill regardless of vocation. This main benefits Warfarer as I currently cannot get the vocation listing correctly for other vocations. "Enable All Weapons To Be Used By All Vocations?" needs to be enabled for this to function.
Added hotkey setter (mainly for mage and sorcerer). Set this to the key you use for special actions (quickspell) when you use this key, specifically for sorcerer in this regard, it will enable Concentrate to be used for their master skills. Please do not ask about this working for levitate, it doesn't work. This is part of the above feature so it's not available unless you enable "Enable All Weapons To Be Used By All Vocations?"
Fixed issue where auto saved skills would reset upon switching presets.
Version 2.5.9
Added checkbox to enable saving skills when set in the skill menu (Under General Settings). This will not function if your current preset or presets in general have 'Preset Key Held' (because that seems highly impractical when setting). So for how this works is that it will automatically save your skills when you set them for the current preset, then you can switch your preset while in the skill menu with the hotkeys and then set new skills and it will save to that preset.
Added checkbox to enable saving weapons automatically when equipping them from the inventory/equipment menu. (This option is per vocation) This one should be self explanatory. Please do not ask about adding this for equipment, I don't have equipment separated in this regard for me to add that kind of feature.
Added checkbox to enable saving weapons to ALL presets when equipping them from the inventory/equipment menu. (This option wont appear without the first checkbox being ticked). Also Self explanatory.
Version 2.5.8
Added toggle for armor and weapons being available for all vocations (you don't need to restart your game for the toggle to apply)
Master Skills can now be added to Warfarer when in the skill selection - the master skills will be where Rearmament is (Maelstrom for some reason cannot be fetched so it's above in the list)
Version 2.5.7
Added General settings node so you can disable the weapon effects and body effect of warfarer for other vocations.
Fixed error that would occur upon game load in.
Warfarer weapon effect no longer activates if you have no weapons equipped.
Version 2.5.6
By default weapon save/swap only option is enabled so hat armor will apply across presets/vocations.
All armor will be for all vocations upon game load now.
Warfarer weapon effect added to weapons (though because the draw animation is not applied the disappear/appear effect animation is shortened)
Version 2.5.5
Equipment with non-compatible jobs were only being equipped visually (or rather the data was there but it wasn't fully). Added method to change equipment job to all vocations so that it equipment will equip properly. This is the equivalent of the "No Job Requirements" Armor Only mod.
I recommend you use "No Job Requirements" it wont conflict with this mod. But only use the Armor Only variants. The method i have is barebones and will only affect armor that you have currently equipped.
Version 2.5.4
Layout change in how equipment checkboxes will appear. (Inline)
Altered method in which weapons are removed before switch.
Version 2.5.3
A new option to reverse the way hold key toggling has been added. If you have 'Enable Preset Toggle On Press/Hold?' enabled the option will show up.
Fixed (maybe) the issue where if you want gear not to be equipped on a preset it wont be equipped. I'm generally confused on this bit. So if it's not working as intended do tell me. I can't accommodate everything in this regard, so if it comes down to it I will revert if it ends up a problem.
Version 2.5.2
When holding down toggle preset, the methods to switch equipment and skills will only be called once.
Version 2.5.1
Give a better description of skill toggling (hovering over it will tell you what it does). If you are using the toggle on release option, you need to reapply the settings, I changed the variables so it'd make sense to me.
Fix issue where holding down skill toggle would error out because the method is being accessed too quickly
Added save/switch weapons only to presets, so now it can be toggled per preset. The option as a whole cannot be used if save equipment is not enabled.
Moved hotkey listeners to a hook.
Version 2.5.0
Fixed issue where saving preset equipment would save it to previous presets unless reset scripts were pressed.
Fixed issue where clearing current preset would glitch out because it retained the same data
Fixed issue where data would be retained when clearing all and current vocations to default
Changed how equipment is handled internally. (I was doing some unnecessary iterating when the game has a better method available).
Fixed vocation cycling where when you set a custom order, If the order was different than what the original vocation order was, it would be ignored.
Moved some utils and tools to a secondary folder for organization.
Changed how hotkeys are handled by utilizing some of _scriptcore's newer methods.
Presets will now always default to 1 when switching vocation, it was getting increasingly difficult to keep track on scenarios on the availability of a preset
Added check to ensure vocation keys/modifiers doesn't interfere with skill presets and vice versa
Version 2.4.7
Delegated handling of weapons switching to the game rather than the ini file. The ini file will just hold your equipment, but the game will determine if the weapon is compatible.
Your armor will still be retained when you switch vocations/skills. If there happens to be bugs regarding crashing and it's from armor meshes being incompatible with jobs I will disable this entirely and you will need to save armor per preset.
Weapons will not be retained on vocation switch (unless you are a Warfarer). So when you switch vocations and your new vocation doesnt have a preset your hand will be empty.
Known issue: Warfarer glow will error out if vocation switch is used in rapid succession (the mod will still function but the error will be there because the instance is regenerated), don't ask about it I know it exists, just reset scripts when it happens.
Version 2.4.6
Moved Warfarer effect for other vocations to only be used when switching vocations instead of vocations and weapons.
Fixed issue where fighter shield would be present in other vocations.
Version 2.4.5
Reduced calls to the equip function - Was being called per piece of equipment , but only needs to be called once.
Added Warfarer's glowing scar effect to other vocations when switching equipment.
Version 2.4.4
Rather than outright not supporting it, I've made it so that weapons will not switch "IF" rearmament is in your skill table (This applies even if it's not saved to the preset yet). So you can continue using it like other vocations but weapons will be ignored if the skill is equipped, so you will have to use rearmement for switching weapons if that's the case.
Added Indicator saying if weapons are disabled if rearmement is equipped.
Version 2.4.3
Minor code cleanup
Reverted auto equip change from 2.4.2
Warfarer: It's setup is complex and would require a rewrite for support with other vocations in this mod. What this means is that I'd essentially have to do the same thing the mod is doing already for other vocations, but have separate individual presets for warfarer per vocation. I'm not keen on doing that unless there's a major need for it.
Version 2.4.2
Per Vocation: Setting if the first preset will be used when switching
You can now exclude vocations from cycling and reorder them in the cycle
Fixed issue where saving weapons would still apply previous vocation/preset. It will act like you are changing vocations and apply an auto equip. Unsure of what else to do with it as I'm not sure why people would only want to save weapons so I can't come up with a scenario for me to work with as a fix/solution.
Version 2.4.1
Skills will now default to what you had set before saving your skill preset if you didn't save your preset. (So if the json skill slot for that vocation was 0, then the game handles whatever was set for that vocation on that slot)
Semantic Versioning
Version 2.4
The mod uses it's own window now. Check screenshots for visuals, no underlying structure was changed, but there's a new json file.
updated UI, buttons are now bigger, organized and centered categories.
Dictionary removed to opt for tooltips instead.
Version 2.3c
Fixed Vocation Switch Modifier being ignored when set.
Version 2.3b
Fixed issue with vocation modifier key all sharing the same key for their checkbox.
Version 2.3a
Fixed typo in naming of Theif to Thief (Rename your json file to Thief.json).
Equipment saving now has the option to only save weapons. (All equipment will still be saved but only the weapons will be applied when switching if the option is enabled).
Version 2.3
The lua file has been renamed to: skill-preset-switcher.lua
All vocation json files need to be under a folder called: sps-vocations
Vocation switching has been separated from skill presets. Vocation switching can be turned off in it's own settings.
Version 2.2
Fixed issue where vocation switching to fighter wouldn't work due to selection box not reacting.
Removed legacy code that would detect weapons and switch vocations based on it conflicting with the current implementation.
Version 2.1
Fixed infinite loop when switching vocations that would sometimes happen because the last used preset would be the vocation switch, so it will now choose the first item that isn't a vocation switch
Equipment names added to equipment when saving
Version 2.0
Changed code and added a little bit of a design change to make it a little bit easier to read
Added a Dictionary to help tell what certain function mean and do
Separate items into categories
Added text to declare if equipment has been set
Added a Delete Preset button
Added a button to reset all vocations to default
Version 1.7a
Support for Magic Archer bow, because I forgot
Version 1.7
Fixed issue where offhand/shields models weren't rendered correctly.
Fixed issue where bow models were not rendered correctly.
Fixed issue where key instance initialized too early, leading to an error on game load.
Added additional checks for weapon for left/right wielding. Bows and shields share the same hand so it lead to render issues.
Version 1.6b
Fixed issue where offhand/shields models weren't being rendered after vocation/equipment change.
Version 1.6a
Now includes a means to switch to a different vocation via presets.
Warfarer is subjected to bugs if used.
Version 1.6
Added ability to save weapon/armor to presets.
Version 1.5b
Fixed issue where adding a preset caused an error.
Version 1.5a
Fixed modifier key being ignored for preset cycling
Version 1.5
Added Preset Cycling
Version 1.4
Fixed issue where skills weren't switchable after death/camp
Importable to fluffy mod
Version 1.3
Fixed issue where error would occur when adding a new preset
_ScriptCore now required
Version 1.2
Added skill names to be shown in the presets and changed when you save
Fixed last used preset for vocation not being loaded on in-game load/vocation switch.
Version 1.1
Fixed issue where "Toggle on release" would sometimes not work. There is an initial delay when switching presets using it.
Skills presets now automatically switch per vocation when you're a vocation guild.
Version 1.0
Release
Skill Preset Switcher
This started out as a simple modification to Switch Skills, but has since been modified to accommodate more features. This mod allows you to have multiple presets per vocation, cycle between presets, set different keys/button per preset, and saving your equipment per preset.
Comments: Read the tooltips when hovering over checkboxes to know what they do, if you can't even do that and find context on what the titles mean then I can't help you.
Installation: Please for the love of god download the required mods for this mod, it literally tells you what you need before you download. READ.
Download REFramework - Make sure to stay up to date with it. Preferably use the nightly version.
Place REFramework, _ScriptCore, and this mod's zip/rar files in the Mods folder for Dragon's Dogma 2 in Fluffy Mod Manager.
Follow whatever instructions the mods have for how they function and how installation works. Any error posts I see that I know requires an update I will ignore.
Not giving enough information for me to go on when you have an issue, I will ignore.
General Settings:
Enable Rearmament Body Effect: This will enable the rearmament body effect for all vocations.
Enable Rearmament Weapon Effect: This will enable the rearmament weapon effect for all vocations.
Remove Job Requirements (Armor): This will toggle all armor to be usable by all vocations.
Remove Job Requirements (Weapons): This will toggle all weapon jobs to be usable by all vocations.
Keep Original Weapon Jobs?: This will override "Remove Job Requirements (Weapons)" and keep the original weapon job. Will be toggled off when "Remove Job Requirements (Weapons)" is toggled off.
Enable All Skills For All Vocations?: This will enable all skills for all vocations. If you toggle this back off a restart is required.
Save Skills When Setting Them In Skills Page?: When you are in the skills menu/page in the game, your skills will automatically be saved as you set them.
Special Action Key: The key that is associated with your vocation (Sorcerer/Mage's Quickspell). This is only for Sorc and Mage and enables the usage of Concentrate (Quickspell) for the master skills or any other skill, for them.
Vocation Switcher Settings:
Enable Vocation Switching: Self Explanatory
Enable Vocation Switch Cycling: Allows you to cycle between vocations by providing a forward and/or backward hotkey/button.
Per Vocation Preset Settings:
Reset Current Vocation to Defaults: Resets the current vocation to default (This means that all presets will be deleted and one preset will be present)
Reset All Vocations to Defaults: Resets all vocations to default (Same as above)
Save Equipment (Globally): This allows you to save your equipment for all presets. Global option makes it so that you do not have to do this per preset.
Save/Switch Weapons Only (Globally)?: This allows you swap only weapons when switching presets. Global option makes it so that you do not have to do this per preset.
Save Weapons When Equipping: Automatically saves your weapons when equipping them in the inventory/equipment menu. (Wont be visible unless Save Equipment is enabled)
Save Weapons To All Presets: Automatically saves the weapon you equip to all presets. (Won't be visible unless Save Weapons When Equipping is enabled)
Enable Preset Cycling: Allows you to cycle between presets by providing a forward and/or backward hotkey/button.
Enable Preset Toggle On Press/Hold?: Toggles to the selected preset when the hotkey is pressed/held. Then goes back to this preset when released.
Reverse Preset Selection Method?: If enabled, It makes the selected preset active when the hotkey is released, and makes the current preset active when the hotkey is pressed.
Transmogrify Users: If you would like to use this mod with transmogrify, you need to enable "Keep Original Weapon Jobs?" both of these mods target the same field, this will force the weapon jobs back to their original jobs so Transmogrify can function. Do note however, that you are unable to equip any weapon other than the one for your vocation, but are still able to access all skills regardless of vocation.
Other Mods: If you're having issues with other mods, please don't make a bug report. I'm not looking to go through each mod and find out what's compatible and what isn't