RimWorld

RimWorld

65 ratings
Giddy-Up Faction Restrictions
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5
File Size
Posted
Updated
197.937 KB
14 May @ 3:38pm
15 May @ 3:53am
3 Change Notes ( view )

Subscribe to download
Giddy-Up Faction Restrictions

Description
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 BoneReaper 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 FactionRestrictions via XML[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 CustomMounts via XML[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, House Sanguin 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 this does NOT change the logic Giddy-Up 2 uses for deciding whether or not to spawn mounts, 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, this mod does NOT affect the spawns of caravan pack animals or animals for sale. It's only related to the spawning of Giddy-Up mounts.


Infrequently Asked Questions
  • 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.
Popular Discussions View All (1)
1
7 hours ago
need help
寻短命
13 Comments
era  [author] 7 hours ago 
Haven't fired up Rimworld in a while, so not sure. With Giddy-Up Forked updated to 1.6 it should work fine though. @DOCTOR CROW

I'll look into it at some point this week.
DOCTOR CROW 11 Jul @ 5:04pm 
1.6 stable?
Soli 17 Jun @ 6:14am 
Not entirely sure why but the mod settings are extremely laggy, like 3 fps levels
era  [author] 3 Jun @ 12:29am 
@pphhyy the koolest. But them being too common made them less kool to me :happyfish:
pphhyy 2 Jun @ 5:26pm 
some of those creatures are pretty kool
era  [author] 17 May @ 1:26pm 
@rout nope, doesn't change anything by default, gotta set it up yourself.
Head 17 May @ 1:03pm 
Thanks for the mod. Does this patch all base game factions by default? Like Tribals will ride boars, but Empire will ride elephants
Deankiller Turnupseed 16 May @ 10:30am 
yea that makes sense. i just dont want to download mods i have to set up manually i am already in the second week trying to fix errors
era  [author] 16 May @ 3:06am 
@Deankiller Turnupseed That'd be a bit counterproductive IMO. Faction modders should create their own FactionRestrictions via XML (and some do); I don't want to overwrite it with my vision of what that faction should be mounting.

But this mod should maybe display those XML FactionRestrictions if they exist. Hm...
Deankiller Turnupseed 15 May @ 4:52pm 
can you maybe patch some popular faction mods automatically?