Create an account

Companions Mod  

Upload: 26 Feb 2023, 10:38
Created by: Khione [X]
Uploaded by: Aqxaro
Companions Mod

Hello everybody, I found a way to take companions with us by editing SQL data of our save files. Makig a mod using SQL data does not work because game saves overwrite the values we set. The mod files includes a list with useable companions and a custom mod that changes companions. Professors as well as students work as companions. Please read the steps carefully.

How to add companions: We are gonna be using Hogwarts Legacy Save Game Editor . First of all, save a copy of the save file you are gonna be using. I recommend a manuel save. your save files are located in "users\AppData\Local\Hogwarts Legacy\Saved\SaveGames". Then follow these steps:

  • Save a copy of your save file
  • Open your save file with HL save editor
  • Do not edit anything with the editor. Go to the tab "Save File" at the bottom and download database 1.
  • Now you need to edit SQL Database. I recommend using SQLiteStudio (Some may prefer DB Browser)
  • Open the database using SQLLiteStudio, find the table called miscdatadynamic on the left panel. Click on it and then click on data on the right panel
  • Find this Line "PlayerLastSetCompanion       (blank) ". Change the blank line to the name of companion you want to use. (Names are included in the list) After you made the changes close the database. (Do not misatke it with LastForcedCompanion. It's the companion you get in quests.)
  • Now go to save editor and again go to "Save File" tab. Under Custom DB Upload choose Database 1 and upload the SQL data you just edited. Click on generate save file. it should download a save file with your companion added. 
  • Now only thing you need to do rename the save file to your original save name and replace it. Congratulations, you just added a companion of your choice that can follow you everywhere. You can change the companion you are using by doing the same steps and setting a different name. Don't worry this is a really fast process once you get the hang of it.

How does the Companions work

  • They follow you anywhere in map. If you use broom and if they are stuck behind they tp to you.
  • They cast lumos when you cast lumos.
  • They use disillusionment when you use disillusionment.
  • They fight enemies with you.
  • They can come to Room of Requirements with you.
  • They can come to battle arenas
  • Check the video to see how they work.


Important Warning: Do not use companions if you are doing their quest. It might get buggy. And please do not forget to save a copy of your save files. 
Edit: It seems setting them blank again do not work. Set a different companion name as a band aid fix for now. I'm working on a proper fix. Ignore this. It works.

What does custom mod include

  • Added at least 1 spell to most of the companions. Example Professor Garlic uses chinese chomping cabbages and Sebastian uses petrificus.
  • Added them to npclevelscaling so their level scales with you. They will deal less damage when you are low level and higher damage when you are higher level.


If you want your companions to use unforgiveable spells use my other mod Companions Use Unforgiveables
Use mod merger if you have any other mod that modifies SQL data. (Only for my custom mod, not for save file editing)
I recommend using it along with Harder Mode(s) for a better challenge.
Installation of custom mod: Drop the contents of custom mod into "Steam\steamapps\common\Hogwarts Legacy\Phoenix\Content\Paks\~mods"

Thank you creator of Hogwarts Legacy Save Game Editor

For Modders, feel free to use this information and make a better implemented companion mod. If you have any questions i'll try to answer them.

More Enemies (x3) 1.7MB

More Enemies (x3)

18 Jun 2023
0
883
0

Triples the number of enemies! Once you get used to the combat system in Hogwarts Legacy it can become a little too easy to defeat your enemies. If you add in potions, deadly plants and gear perks... you become quite significantly overpowered compared to your foes.

The Elder Wand 5.5MB

The Elder Wand

03 Jun 2023
0
861
0

This mod will effect that 1 box in the intro of the game when you choose your wand i had to use a material (but i think most if not all who download this mod will be past that part) and this is cosmetic ONLY doesn't increase damage or faster cooldown just the looks

Comments
The minimum comment length is 10 characters.