How Endings Work
There are lots of different ending combinations based on who survives and who dies, but the general mission structure and endboss will always be the same. Any combination of characters can survive or die. This includes faction leaders as well as your companions.
This is determined by 3 things:
What star-rating you have with the factions. 3 stars is the best, it’s increased by doing their quests and selling valuables to their faction merchant.
If your companions have become “Heroes of the Veilguard”. This happens when you complete their questlines, all of which are started by talking to the companions in the lighthouse.
Companion assignments during the Ending. In Chapters 12 to 14 you must plan strategically which task to assign to which companion, if you assign the wrong person it can lead to faction NPCs dying or the companion dying.
вот это неплохо, прям ме2