Custom Faction

Is it possible to create your own factions, including faction vendors? If so, how would one go about implementing that?

Edit: I’ve copied an existing faction controller and modified it. I also opened gameengine.dbr and added my faction there. Now it displays in the faction window in game, however, it just says “USER15”, without description and it’s saying “tag missing”. Where can I find these properties?

Noone can help with that question?:confused:

Look in Grim Dawn/resources/text_en for the tags_ui file. This contains the tags for Faction names. You’ll need to create a new tag file for your mod with the new Faction name.

Thanks a lot! It now displays the name and description, but for some reason when hovering over the three “checkpoints” you can reach, it still says tag not found, even though I copied all necessary tags (I think).

Here’s my tag file:

tagFactionUser15=The Forsaken
tagFactionUser15Info=WORDS… This is a test, bro!
tagFactionUser15Rewards1=Nemesis Spawns
tagFactionUser15Rewards2=Additional Hero Spawns
tagFactionUser15Rewards3=Extra Spawns
tagFactionUser15Rewards4=Empty
tagFactionUser15Rewards5=N/A
tagFactionUser15Rewards6=N/A
tagFactionUser15Rewards7=N/A
tagFactionUser15Rewards8=N/A

Just like the other enemy factions… Do you know why it can’t find the “reward” tags?

It just seems that the reward tags do not work properly… Perhaps a bug. Another question I have is how to display a custom texture for the faction. I have tried out to use existing ones (i.e. beast faction texture), but the game just seems to ignore it. Is this also a bug? :confused:

Thanks in advance!

It was a long time since he tried to do so, but Demasked found that making an additional faction was more or less not supported by the tools, if that’s what you’re going for. Instead, for his custom factions, he had to edit the existing ones to suit his needs.

It may be the case that that remains the only viable avenue for faction modding. :undecided:

Factions work up to USER15 (USER16 after the next update). All will be used with Forgotten Gods.

If you are getting invalid tags, then perhaps you didn’t set up the faction’s controller correctly?

I have added all the reward tags to the controller variable ‘factionRewards’, so I don’t think it’s set up incorrectly. Also the selected texture won’t display, it’s just a skull texture (from the undead faction). I have also asked another modder (WareBare) who confirmed that reward tags are not working properly.

Will there be no more additional faction slots in FG for mods?

Are your factions added to gameengine.dbr?

I verified and we’ve actually extended the faction list to 20 with the next patch, so you can safely use 17-20 without impacting Forgotten Gods factions.

That’s nice news! Yes, I added the faction to gameengine.dbr. I find the reward tags to be not so important for my mod, but a custom texture for the faction would be great.:confused: