LoadoutSkillTitles
Changes some characters with extra skill slots from 'Misc.' to more fitting names
Last updated | 3 months ago |
Total downloads | 886 |
Total rating | 1 |
Categories | Mods Tweaks Client-side |
Dependency string | TheTimesweeper-LoadoutSkillTitles-1.0.0 |
Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
bbepis-BepInExPack
Unified BepInEx all-in-one modding pack - plugin framework, detour library
Preferred version: 5.4.9RiskofThunder-R2API_Language
API for modifying the language localisation of the game
Preferred version: 1.0.1README
Misc.
Fixes extra GenericSkill slots from "Misc." to more fitting names, primarily loadout passives;
Compat
For your character, set your generic skill's skillName field to begin with LOADOUT
and this mod will automatically read that as a language token.
If your character already exists and you don't want to mess with existing components (I wouldn't if I were you), you can manually add your character's bodyname and skill slot index to this mod as a soft dependency:
if (BepInEx.Bootstrap.Chainloader.PluginInfos.ContainsKey("com.TheTimeSweeper.LoadoutSkillTitles"))
{
AddLoadoutSkillTitle();
}
[MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)]
public static void AddLoadoutSkillTitle()
{
LoadoutSkillTitles.LoadoutSkillTitlesPlugin.AddTitleToken("MySurvivorBodyName", 0, "TITLE_LANGUAGE_TOKEN");
}
skill slot index being in order of where it appears on the loadout. for example if you have an extra skill in between secondary and utility, it would be 2
Config
- Default a non-primary skill in the first slot to say "Passive", otherwise just keep as "misc" (on by default)
- Fall back to internal name of the skill on the component and hope characters put something nice there, otherwise just keep as "misc" (off by default)
changelog
1.0.0
- c: