Giddy-Up Faction Restrictions
Basic patch for Giddy-Up 2 Forked allowing you to select exactly which animals will be used as mounts. You can also set mounts per faction.
So you can, for instance, set [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3317177638]BoneReaper[/url] animals to spawn as mounts only to the BoneReaper faction.
There is a Base Profile and Faction Profiles. Any faction that doesn't have a Faction Profile will use the Base Profile.
Special cases
In the case a faction includes [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2FOwlchemist%2FGiddyUp2%2Fwiki%23faction-restrictions]FactionRestrictions via XML[/url][github.com], this mod's Faction Profile will still take precedence. But, if there is no Faction Profile, the XML FactionRestrictions will be prioritized for that faction over the generic Base Profile.
If a faction mod adds [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2FOwlchemist%2FGiddyUp2%2Fwiki%23custom-mounts]CustomMounts via XML[/url][github.com], this mod does NOT affect it. So for some specific pawns, mounts set by the faction mod will still spawn regardless of being in this mod's profile or not (i.e. it'll be additional to whatever animals are enabled in this mod but only for the specific pawns set by the faction).
For example, [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3292190756]House Sanguin[/url] has CustomMounts for Knights and they'll spawn mounting horses even if you disable it for the overall faction. Pawns other than Knights will be mounted as per this mod's profiles.
Note that [b]this does NOT change the logic Giddy-Up 2 uses for deciding whether or not to spawn mounts[/b], only which are possibly available. There are scenarios where Giddy-Up will not spawn any mounts. For example, if the mounts are too powerful for a given raid or for a given pawn's combat power.
Lastly, [b]this mod does NOT affect the spawns of caravan pack animals or animals for sale[/b]. It's only related to the spawning of Giddy-Up mounts.
Infrequently Asked Questions
[list]
[*] Why?
Playing a medieval modlist and everyone keeps spawning with BoneReaper mounts. REEEEE.
[*] How?
Harmony prefix patch targeting GiddyUp.MountUtility. It doesn't directly affect the method, just runs before it and updates Giddy-Up's internal allowedNonWildAnimals and allowedWildAnimals variables for the relevant faction.
[*] Why are small or unmountable animals shown as options?
Unsure. The list of animals comes from Giddy-Up. They won't spawn.
[*] I added new modded animals and they aren't spawning.
New defs start off as disabled. You'll need to either reset the settings or manually enable the new animals.
[*] Do I need to save the settings or restart the game?
Nope. The moment they change they'll work for the next time Giddy-Up tries to spawn mounts. No need to restart or do anything extra.
[*] Can I add/remove it from an ongoing save?
Sure. Probably. I think.
[*] How's compatibility?
Should be compatible with any other mod, including those adding new animals.
[*] How's performance?
Shouldn't affect anything other than pawn/caravan/raid generation, and only minor overhead at that. Tested on a ~550 mod playlist; let me know if you find any performance issues.
[*] The dragging stops working sometimes.
Yep, it does!
[*] How's performance on the mod settings menu?
Let's not talk about that part.
[/list]