Erannorth Reborn

Erannorth Reborn

评价数不足
Hands on Modding: Creating new Perk Sets
由 [ER] Raven 制作
Whether you want to override existing perks or create entirely new perks for your own custom classes & races, it's a very easy and straightforward process. In this short guide I'll guide you on setting up a Perk Set mod.
   
奖励
收藏
已收藏
取消收藏
What makes a Perk Set Mod?
a) A plain text file with our perks
b) A ModLoaderUser.conf loading our new perk set to the game
optionally) Add these perks to Races & Classes unless we plan on using them as event rewards

Step 1

Let's pick any folder on our PC, and create there our Mod folder. I'll name it 'Rs Perk Expansion 1'.

Step 2

In Rs Perk Expansion 1/ create the following folder:

Rs Perk Expansion 1/Perks

In this folder create a file called: PerksDB.RsPerkSet1.tdb

The only important consideration is to make sure that Windows won't attach the .txt extension after, so if it does remove it. You can easily edit this file by dragging it in an empty notepad window.

So Let's say I don't like 3 vanilla perks and I want to change them. I'll put just these three perks in my PerksDB.RsPerkSet1.tdb. Nothing else. (I underline what changed from the vanilla perks)

Supernatural Strength, 75
You deal +2 Slashing Damage. You gain +2 Strength. You deal +1 Damage.
ProficiencySlashing:2, Strength:2, ModifyEffectDamage:1
Supernatural Resilience, 25
You gain +1 Slashing and Bludgeoning Resistance.
ResistanceSlashing:1, ResistanceBludgeoning:1
Ink Rune (Tenacity), 75
You gain +3 Resilience and +2 Bludgeoning Resistance.
Resilience:3, ResistanceBludgeoning:2

Step 3

In the root of your mod folder create a plain text file called: ModLoaderUser.conf

The only important consideration is to make sure that Windows won't attach the .txt extension after, so if it does remove it. You can easily edit this file by dragging it in an empty notepad window.

In this file just add these two lines:

>> Perks
PerksDB.RsPerkSet1.tdb

Making sure that the filename you declare match the filename of your card set.

Done

Your mod is ready and should have the following structure:

Rs Perk Expansion 1/
Rs Perk Expansion 1/Perks/PerksDB.RsPerkSet1.tdb
Rs Perk Expansion 1/ModLoaderUser.conf

You can copy Rs Perk Expansion 1/ folder in your ../Content/Mods/ or just send the folder to .zip and install it with the Mod Manager.

Pro Tip: You should never include in your ModLoaderUser.conf resources you don't actually modify. It will cause conflict with other mods, and perhaps even break your own mod.

Assigning Perks to New or Vanilla Races & Classes
Now let's say that we created some new Perks:

Berserker's Rage, 200
You gain +3 Strength. Your Wrath & Synergy Wrath effects increase by +4.
Strength:2, ModifyEffectWrath:4, ModifyEffectSynergyWrath:2
Berserker's Fury, 300
Your Fury effects increase by +1. You deal +3 Slashing Damage.
ModifyEffectFury:1, ProficiencySlashing:3
Summoner's Hold, 200
You gain +2 Summon Limit. Your Summons Lifespan is increased by +3.
SummonLimit:2, ModifyEffectLifespan:3

We want to give the first two to a Berserker class & the third to the vanilla Necromancer, Witch & Warlock.

You can check this guide into how you can create your own races & classes:

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1797954183

But what you should additionally have now is:

a) A .json files describing your classes both custom & modified vanilla.
b) their entries added to your ModLoaderUser.conf file.

Step 1

For the sake of simplicity let's keep working on the same mod: Rs Perk Expansion 1

Create an Archetypes folder in Rs Perk Expansion 1/. This folder can contain both Class & Race archetype each in the corresponding folder "Races" & "Classes". We'll need a Classes subfolder in this example.

Rs Perk Expansion 1/Archetypes/Classes

In there we'll put both our Berserker.json file defining our Berserker class, and copies from the Vanilla races we want to add the 'Summoner's Hold' perk.

You can grab the vanilla json files here:

..\SteamLibrary\steamapps\common\Erannorth Reborn\Erannorth Reborn_Data\StreamingAssets\Content\Archetypes\Classes\

Step 2

Your mod structure should now be:

Rs Perk Expansion 1/
Rs Perk Expansion 1/Perks/PerksDB.RsPerkSet1.tdb
Rs Perk Expansion 1/Archetypes/Classes/Berserker.json
Rs Perk Expansion 1/Archetypes/Classes/Necromancer.json
Rs Perk Expansion 1/Archetypes/Classes/Witch.json
Rs Perk Expansion 1/Archetypes/Classes/Warlock.json
Rs Perk Expansion 1/ModLoaderUser.conf

And the ModLoaderUser.conf should contain:

>> Perks
PerksDB.RsPerkSet1.tdb
>> Classes
Berserker

* Necromancer, Witch & Warlock are already declared as playable classes by the core game, so we don't need to include them in the ModLoaderUser.conf, but our modded json files will still override them.

Step 3

Open all class .json files, and in the "PerksTree":[

],

section add your perks:

"Perkname:LevelToUnlockIt",

i.e for the Witch:

"PerksTree":[
"Sensual:1",
"Energetic:1",
"Luscious:2",
"Astral Magic Training:2",
"Chanting:3",
"Intellectual:3",
"Astral Magic Expertise:4",
"Witchcraft Traditions:4",
"Effigies & Hexes:4",
"Apprentice Summoner:4",
"Bladed-Weapons Training:5",
"Binding Rituals:5",
"Harvest Rituals:6",
"Astral Magic Mastery:6",
"Summoner's Hold:6",
"Astral Affinity:6",
"Adept Summoner:6",
"Coven Rituals:7",
"Unclad:7",
"Goddess Chosen:7",
"Sex Magic:8",
"Bladed-Weapons Expertise:8",
"Dark Arts:8",
"Animism:8",
"Expert Summoner:8",
"Spelldancer of Hecate:9",
"Covenant:10",
"Master Summoner:10"
],

Make sure you don't forget adding the comma in the middle of the list, and not adding it at the end of the list.

Repeat for the rest of the vanilla classes. And finally add your Berserker perks to his json file as well. And that's it.

Each time you now create new perks, you can assign them to the class files of the classes you created or are overriding.
Merging Mods & Handling conflicts
By now you have probably realized that only one Class & Race .json file can be active.

So what can you do if you have 3 mods that all give perks to the Witch class? And still want to be able to use all these mods? Or maybe some other modifications in the class like extra skills or disciplines?

In this case you need to manually merge all the changes into a new Witch class .json file that incorporates all these changes together.

Go through each section and merge it into one, avoiding any duplicate entries.

i.e we have a mod that changes:
"Astral Magic Training:3",

another that gives the perks:

"Effigies & Hexes II:8",
"Witchcraft Traditions:8",

and finally a 3rd that grants the "Summoner's Hold:5"

i.e "PerksTree":[
"Sensual:1",
"Energetic:1",
"Luscious:2",
"Astral Magic Training:3",
"Chanting:3",
"Intellectual:3",
"Astral Magic Expertise:4",
"Witchcraft Traditions:4",
"Effigies & Hexes:4",
"Apprentice Summoner:4",
"Summoner's Hold:5"
"Bladed-Weapons Training:5",
"Binding Rituals:5",
"Harvest Rituals:6",
"Astral Magic Mastery:6",
"Astral Affinity:6",
"Adept Summoner:6",
"Coven Rituals:7",
"Unclad:7",
"Goddess Chosen:7",
"Sex Magic:8",
"Bladed-Weapons Expertise:8",
"Effigies & Hexes II:8",
"Witchcraft Traditions:8",
"Dark Arts:8",
"Animism:8",
"Expert Summoner:8",
"Spelldancer of Hecate:9",
"Covenant:10",
"Master Summoner:10"
],

I have underlined the changes in my merged mod. So I will then just override their Witch.json file by providing my own file instead, with the PerksTree section as above, and all the rest of the Witch properties unchanged.

Perhaps I can also create a merged mod that combines all 3 Perk Mods into one, instead of having to load 3 individual mods to get access to the desired perk lists. Just by adding their perk entries below mine, and then finally deactivating those mods.

And that's it folks! If you have any questions. I am always happy to help ;)
References
As you embark in your journey to modding Erannorth Reborn or to follow along with the Hands on Examples, you'll find the official Modding Guide invaluable as a reference. It is updated frequently to include all the latest modding additions & changes, and includes almost everything you need to know about modding.

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1703719938