Companions Mod

Hogwarts Legacy Mods |

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 file includes a list with useable companions and a custom mod that changes companions. Professors as well as students work as companions.

Method 1:
There is a new blueprint mod to get companions in game now. Credit goes to Pez

The Blueprint mod: AnyTimeCompanion

Don’t forget to download my custom mod if you want most of them to have spells. (Also adds new spells to main companions.) If you are using this mod you don’t have to use method 2.

Method 2:
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”.

Instructions
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 click on the green tick icon(commit) then close the database. (Do not misatke it with LastForcedCompanion. It’s the companion you get in quests.) There is a photo below of the line to edit. Use filter bar at the top and type “LastSetCompanion”.

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.
Most of the companions will not have attack data and spells therefore they will not fight. You need to download my custom mod for them to have attack data and spells. You don’t have to restart the game. You can make the changes while you are ingame and load the save.

How to determine which save file to edit
Load your save file. You need to be in game playing your character.
Proceed to save your game and you will see 10 slots. These save slots will reflect the name of your save file located in “users\AppData\Local\Hogwarts Legacy\Saved\SaveGames”.
HL-00-00 is the top one and HL-00-09 is the bottom one. So HL-00-01 would be the second one from top. You can figure out the rest.

Warning: Do not confuse this with loading your save. Only when you are trying to save. Loading function is time based so it can’t be determined.

How do 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.
Some of them will comment on things. (Other characters, side quests, when fighting enemies etc.)
Check the videos to see how they work.

Important Warning: Do not use companions if you are doing their quest. Just to be safe do not edit your save file if you are on any quest. It might get buggy. And please do not forget to save a copy of your save files. Be careful when you are editing save files. They can get messy. Be sure that the save file you are editing is the right one. Check your money and everything else in the save editor and compare it with your ingame save just to be sure.
It might or it might not crash if you edit a save file in the begining of the game. I suggest start using it by the time you unlock crossed wands dueling club.
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. Just delete the name from LastSetCompanion and companion will stop following you.

What does the main file include
Most companions are missing spells in the game so they won’t fight. This mod fixes the issue.
Added at least 1 spell to all of the companions. So every companion has 7 spells in total including stupefy. 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 Hogwarts Mod Merger if you have any other mod that modifies SQL data. (Only for my custom mod, not for save file editing) Also use the mod merger to merge optional files and the custom mod.
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


Credits: Khione
This content was uploaded by website visitors. If you notice any mistake, please let us know.


Useful Information: How to install Hogwarts Legacy Mods | Hogwarts Legacy System Requirements | About Hogwarts Legacy Game

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *