Download Games & Demos Mods & Add-Ons Patches Tools Wallpapers Trainers

She Will Punish Them - Custom Skill Framework v.0.2.0 - Game mod - Download

The file Custom Skill Framework v.0.2.0 is a modification for She Will Punish Them, a(n) rpg game. Download for free.

file typeGame mod

file size6.3 KB

downloads211

(last 7 days)0

last updateTuesday, August 31, 2021

Free download

Report problems with download to [email protected]

Custom Skill Framework is a mod for She Will Punish Them, created by aedenthorn.

Description:

This mod is a framework that allows custom skill mods to be added to the game.

It doesn't do anything by itself, but is a requirement for custom skill mods that use it.

Creating Custom Skills

Creating custom skills requires basic knowledge of C# and whatever method you use to have your custom skill modify the game code behaviour.

Modifying game behaviour because of your skill must handled by your custom skill mod. This mod does the following:

Shows your skill in the specified category in UI Character

Handles skill increasing

Saves skills and loads skills from saves

Lets you retrieve your skill's value for a given character

All you have to do to register your skill is set this mod as a dependency for your project, then in Start():

??private void Start()

{

SkillFramework.SkillAPI.AddSkill(skillId, skillName, skillDescription, skillCategory, skillIcon, maxPoints, reqLevel, isActive);

}

skillId must be unique

skillName and skillDescription must be List<string> with four entries for English, Chinese, Russian, and Japanese.

skillCategory must be the zero-indexed integer of the skill category (i.e. the four skill categories).

skillIcon is a Texture2D that you load from file with something like

Texture2D skillIcon = new Texture2D(1, 1);

if(File.Exists(Path.Combine(assetPath, "icon.png")))

skillIcon.LoadImage(File.ReadAllBytes(Path.Combine(assetPath,"icon.png")));

maxPoints is a positive integer, default skills have a max of 5.

reqLevel - I'm not sure if this even does anything yet.

isActive - for the UI to tell the user whether this is an active or passive skill (has no effect on gameplay).

When you want your skill to do something, you get a character's skill level by calling

SkillFramework.SkillAPI.GetCharacterSkillLevel(skillId, __instance.name)

For an example, you can look at the Movement Speed Skill code.

Config

A config file BepInEx/config/aedenthorn.SkillFramework.cfg is created after running the game once with this mod.

You can adjust the config values by editing this file using a text editor or using the Configuration Manager mod.

Technical

This mod requires BepInEx to be installed for SWPT and Custom Skill Framework

To install this mod, place the contents of its zip file in the BepInEx/plugins folder (create it if the folder doesn't exist).

  • Last update: Tuesday, August 31, 2021
  • Genre: RPG
  • File size: 6.3 KB
see more

Popular files for She Will Punish Them

Name

Type

Size

Date

Total

7 days

She Will Punish Them - SwptSaveEditor v.0.4.0 mod 281.4 KB 11/2/2021 1.4K 14
She Will Punish Them - War Party Size v.0.2.1 mod 3.6 KB 8/22/2021 1.9K 9
She Will Punish Them - Cheat Menu v.0.1.2 mod 3.4 KB 8/22/2021 3.4K 7
She Will Punish Them - BepInEx Mod Manager Integration v.0.3.0 mod 8.8 KB 8/22/2021 4.4K 7
She Will Punish Them - BepInEx SWPT v.5.4.19 mod 1.2 MB 5/17/2022 5.4K 6
She Will Punish Them - Auto Save v.0.1.2 mod 4.4 KB 8/22/2021 240 5