• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

twiggyt13

Sergeant
55 Badges
Oct 6, 2012
70
0
  • Crusader Kings II
  • Victoria 2: A House Divided
  • Starvoid
  • Sword of the Stars II
  • Sengoku
  • Rome Gold
  • Pirates of Black Cove
  • Majesty 2 Collection
  • Magicka
  • Lead and Gold
  • King Arthur II
  • Europa Universalis III Complete
  • Hearts of Iron III
  • Gettysburg
  • Europa Universalis IV
  • A Game of Dwarves
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • East India Company
  • Europa Universalis III
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Achtung Panzer
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Tyranny: Archon Edition
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Mass Transit
  • Age of Wonders III
  • Crusader Kings II: Jade Dragon
  • Crusader Kings III: Royal Edition
  • Cities: Skylines - Parklife Pre-Order
  • Magicka 2
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • Europa Universalis IV: Pre-order
  • Cities: Skylines Deluxe Edition
  • Cities: Skylines
  • 500k Club
  • War of the Roses
  • Victoria 2
[MOD] No Hassles Vassals v1.3

No Hassles Vassals
Version 1.3

This is my first mod! Feedback, testing, and help are welcome!

Arumba's Crusader Kings 2 Mod Spotlight - No Hassles Vassals: (A Great Video Tutorial!)
[video=youtube;N_IavHs2KrA]http://www.youtube.com/watch?v=N_IavHs2KrA[/video]​

Hello Holy War, Conquest and Invasion loving kin! If the story below sounds familiar this mod is for you.

The year is 1182 and you've been embroiled in Holy Wars for the past three decades. You are now, yet again, 15 holdings over your demesne limit and have your mouse poised to invite 15 like-minded courtiers to your realm via the "Invite to Court" decision. While this option is fast and alluring, your miserly heart cannot stomach the cost, and you sit digging through the slightly awkward, slightly frustrating search results of all the men in your realm. You shy away from the heirs, throw out the men married to titles and despair at those betrothed matrilineally outside your realm, all the while struggling against the many clicks it takes to find, view, and give out the title in question. In the end, hand sore and eyes glazed, you stagger out of management and back to the field of battle.

No more!

No Hassles Vassals will distribute all of your Cities, Bishoprics, Baronies and Counties in a single mouse click!

DOWNLOAD:
No Hassles Vassals v1.3
*Single Click Distributes all Holdings
No Hassles Vassals Split v1.3
*Decision Split into Four: Distribute Cities/Bishoprics/Baronies/Counties

Versions Removing Ambitious Trait (as per request):

How It Works/Instructions:

To start, the player will see a couple new items in the Intrigue Decisions menu, the first being "Raise Your Banner." Clicking this will flag the province your character is currently in so that the primary holding there will be excluded from the other the titles you are giving away. You must "Raise Your Banner" on at least one province before you can use "Distribute All Holdings" (It won't let you otherwise - else you might give away all your landed titles and instantly lose!). To flag provinces other than your capital, simply raise troops on that province and have your character lead the army there, then use "Raise Your Banner" again. If you select the province, you can see a province modifier (a little green shield with a crown above it) showing that you have flagged it.

Women and children have not been forgotten. As a Female ruler, or as soon as a Regent is appointed to a child, your Marshal will take over the duty of flagging and unflagging provinces. The province flagging decisions for the Marshal act exactly like they did for the player, but are based on the Marshal's location instead. If you are given a job title by your liege your Marshal will also take over the flagging duties.

Now that your own primary holdings are secure and flagged, you are ready to hand out the rest of the holdings! Click the "Distribute All Holdings" decision and BAM! You are done!

What just happened:

When used, the mod creates a character the same way it does for "Invite Noble/Holy Man to Court" (that is: random traits, male only (female only if enatic), same culture and religion as the player). However, in the mod, it doesn't cost you anything. This isn't meant as a cheat or as feature to give you a leg up - I set it this way because I almost exclusively use the Search Realm function to find prospective vassals. This could easily be changed to have the same "Invite Noble/Holy Man" cost though, if you so desired.

The "Distribute All Holdings" decision fires off an event that hands out up to 30 lower titles (baronies/cities/bishoprics) at a time. This is probably overkill but it should ensure it gets them all with one run. The same event then gives out up to 10 County titles (province primary holdings). It's a big event, but works fine.
Release Notes:
Version 1.3
  • Added a province modifier so you can view at a glance which of your provinces have their Banners Raised - thanks to zeress for the code!
  • Fixed not being able to raise your banner if you held a job title, your Marshal now takes over.
Version 1.2
  • Enatic is now supported - Special Thanks to Lockesly L`Crit for providing the code for this.
  • - If Enatic or Enatic-Cognatic succession is chosen by your character, the mod will distribute holdings to female vassals.
  • - Vassals will be ages 15-22, because that seems to be the hard code for generating random female characters. You could easily edit in a set age.
  • No Hassles Vassals now has German localisation! Thank you to Targor for the translation!
Version 1.1
  • Patricians are now working with No Hassles Vassals!
  • Women can now properly flag and unflag provinces with their Marshal.
  • BUG FIX: Having a courtier appointed as your Marshal will now work correctly with flagging and unflagging provinces
FAQ/Notes:
  • What is the "Split Decisions" version?
  • - That version has the Distribute commands split into four separate decisions. Distribute Baronies/Cities/Bishoprics/Counties.
    ------------------
  • Will this give away my Duchies and Kingdoms?
  • - No. This will only distribute your holdings and County titles, it will not touch your Duchy and Kingdom titles.
    ------------------
  • Can I use this mod inside my own project?
  • - Of course! Just give me a footnote somewhere and feel free to do as you'd like.
    ------------------
  • County titles will not be distributed if you still have lower titles (cities/bishoprics/baronies). This means if you had more lower titles than the mod could hand out in one event run, it will skip over handing out the County titles. This keeps you from having to transfer a Count's de jure vassals back to him (which would be necessary if the Count title was given out first and then his bishopric/city).
    ------------------
  • ALL non-primary holdings are given away, meaning any stray baronies you wished to keep will be distributed. (Can be avoided by using the Split Decisions version, and not mass distributing baronies.)
    ------------------
  • If Enatic or Enatic-Cognatic succession is chosen by your character, the mod will distribute holdings to female vassals.
Known Bugs:
  • Using the Distribute All Holdings decision (or Distribute Baronies for Split) will give away ALL of your non-primary-holding baronies.

    For example: If you hold Paris and one of the secondary baronies there, the decision will give away the secondary barony. You can use the Split Decisions version of this mod to avoid mass distributing your baronies as a fix. Until the commands "set_title_flag" and "has_title_flag" are fixed, I don't think there is a way to single out a barony to keep it.
Special Thanks:
  • zeress - For adding a province modifier so you can view at a glance which of your provinces have their Banners Raised.
  • Targor - For providing German localisation to No Hassles Vassals.
  • Lockesly L`Crit - For providing the basic code changes needed for Enatic succession checks and female vassals.
  • Arumba - For putting No Hassles Vassals into his Mod Spotlight series! Video above, link to his youtube channel HERE
  • Nelfe - For answering a question of mine in the Modding Quick Questions Thread that stopped me from eating my keyboard in frustration and allowed me to complete this mod.
  • Meneth - For answering a question of mine in the Modding Quick Questions Thread that let me fix the mod for Patricians.
And a big thank you to my bug reporters!
  • Arumba - For letting me know I had overlooked women flagging/unflagging provinces with the Marshal.

For Modders:
I made a small, simple mod to help me test NHV. It revokes every title in your realm, giving them back to you. Posting it in case it's useful for someone - no localisation. DOWNLOAD: Modding Tool - Revoke All

Tested and working on v2.0 (and will probably always work)
 
Last edited:
Working as intended.

Also - I don't think that decisions can slow down a game. Maybe if they are being used a lot, but if the AI doesn't use them (why would it? It can get the courtiers without hassle), then they only have a slowdown effect when the player uses them.
 
Also - I don't think that decisions can slow down a game. Maybe if they are being used a lot, but if the AI doesn't use them (why would it? It can get the courtiers without hassle), then they only have a slowdown effect when the player uses them.

Good point, thanks. I was mostly worried that a slow machine might have a bit of a lag spike when the decision was used, like you said. Thanks for verifying that the mod is working, glad to hear I didn't forget anything in my download package =)
 
The "Distribute All Holdings" decision fires off an event that hands out up to 30 lower titles (baronies/cities/bishoprics) at a time. This is probably overkill but it should ensure it gets them all with one run. The same event then gives out up to 10 County titles (province primary holdings). Yeah, it's a big event - if anyone lags when using the Distribute Decision let me know and I can package a smaller one - you'd then just have to click "Distribute All Holdings" a couple times to give everything away.

Nah. Overkill is 62 Jedi where three would do. Sounds great!
 
Came here from Arumba's mod spotlight video, and I like it save for the known bugs.

I do like tinkering with stuff, so I added a little addition to your mod, if you don't mind. The new addition allows for Enatic/Enatic-Cognatic succession, and distributes holdings accordingly. This is done by copying the decision/event and adding in the succession laws. It wont show up in the decisions list unless you have Enatic or Enatic-Cognatic enabled, in case modders want to include this mod with their own stuff that has them enabled. A good way of testing it out (with the succession enabled) is starting at 867 as West Francia, giving your two vassals that hate you titles, and then switching to Enatic. The one other title you hold will be given to a woman.

View attachment nohasslesvassals_v1.01.zip
 
Someone asked a question in the Reddit post I made and I wanted to forward it here... What do you do if your ruler is a female? You cannot move yourself around or lead troops like you can as a male, perhaps you need to establish the same criteria for female rulers as for those with regents? Or perhaps it would make more sense to just always use your marshal for all character types (for consistency?)
 
Came here from Arumba's mod spotlight video, and I like it save for the known bugs.

I do like tinkering with stuff, so I added a little addition to your mod, if you don't mind. The new addition allows for Enatic/Enatic-Cognatic succession, and distributes holdings accordingly. This is done by copying the decision/event and adding in the succession laws. It wont show up in the decisions list unless you have Enatic or Enatic-Cognatic enabled, in case modders want to include this mod with their own stuff that has them enabled. A good way of testing it out (with the succession enabled) is starting at 867 as West Francia, giving your two vassals that hate you titles, and then switching to Enatic. The one other title you hold will be given to a woman.

View attachment 84514

As soon as I wrap my head around Enatic I will incorporate this into the mod, with credits to you, if that's ok. Thanks! =)

Someone asked a question in the Reddit post I made and I wanted to forward it here... What do you do if your ruler is a female? You cannot move yourself around or lead troops like you can as a male, perhaps you need to establish the same criteria for female rulers as for those with regents? Or perhaps it would make more sense to just always use your marshal for all character types (for consistency?)

Wow, this was simply a massive oversight on my part, my apologies. I fixed the mod for Patricians, but will hold off on uploading it until I have ironed out the Female rulers. It will be very easy.

Sorry about that, epic fail on the female front all around, thanks for the feedback and fixes! Should have females rulers and patricians fixed by tomorrow!
 
Last edited:
As soon as I wrap my head around Enatic I will incorporate this into the mod, with credits to you, if that's ok. Thanks! =)

Quite simple, really. Enatic is the exact opposite of Agnatic (female only inheritance). Enatic-Cognatic is the opposite of Agnatic-Cognatic (males will inherit if no available female is available).

Both have to be modded into the game since they are there only as placeholders for modders to try out, but once they are modded in female succession works perfectly. It'll screw up Muslims and Republics since both require male inheritance, however.
 
Quite simple, really. Enatic is the exact opposite of Agnatic (female only inheritance). Enatic-Cognatic is the opposite of Agnatic-Cognatic (males will inherit if no available female is available).

Both have to be modded into the game since they are there only as placeholders for modders to try out, but once they are modded in female succession works perfectly. It'll screw up Muslims and Republics since both require male inheritance, however.

So for Enatic / Enatic-Cognatic the difference is checking for the Enatic/Enatic-Cognatic succession law, and supplying only female vassals?

Also: Update Version 1.1 is LIVE, Patricians and Female Rulers Fixed, release notes added.
 
So for Enatic / Enatic-Cognatic the difference is checking for the Enatic/Enatic-Cognatic succession law, and supplying only female vassals?

Also: Update Version 1.1 is LIVE, Patricians and Female Rulers Fixed, release notes added.

Pretty much, yep. The additions I put in simply copied the decision verbatim and added in the succession check for both decisions (NOT = blahblah for the original, OR = blahblah for the new one). I then copied the holdings event verbatim and changed the female = no to female = yes. Simple and effective, though a big of a space hog. With a little work, you could cut it down to a single event that checks for Enatic or Agnatic.

EDIT: I also did the localisation file for them too. The Enatic decision or event won't ever show up unless you actually have it, so it's more like a stealth addition.
 
Pretty much, yep. The additions I put in simply copied the decision verbatim and added in the succession check for both decisions (NOT = blahblah for the original, OR = blahblah for the new one). I then copied the holdings event verbatim and changed the female = no to female = yes. Simple and effective, though a big of a space hog. With a little work, you could cut it down to a single event that checks for Enatic or Agnatic.

EDIT: I also did the localisation file for them too. The Enatic decision or event won't ever show up unless you actually have it, so it's more like a stealth addition.

Perfect. I packaged this as an optional addon (updated to 1.1), so it will require either of the base downloads to run with it. For now it would give the Enatic decision in addition to the usual distribute commands if you were Enatic/Enatic-Cognatic. Would setting your succession law to enatic force female only vassals, or would it allow both? I can't seem to enable enatic in my save edit to test it (haven't been able to test the zip below either), and my eyes are a bit too blurry to keep searching the code, but here is the updated test package.

View attachment test enatic addon by lockeslylcrit.zip
 
Last edited:
Perfect. I packaged this as an optional addon (updated to 1.1), so it will require either of the base downloads to run with it. For now it would give the Enatic decision in addition to the usual distribute commands if you were Enatic/Enatic-Cognatic. Would setting your succession law to enatic force female only vassals, or would it allow both? I can't seem to enable enatic in my save edit to test it (haven't been able to test the zip below either), and my eyes are a bit too blurry to keep searching the code, but here is the updated test package.

It would force female only vassals, since there's really no logic behind male vassals under Enatic. Female vassals help with reducing factions due to the +20 or +10 opinion boost under Enatic/Enatic-Cognatic, respectively.
 
It would force female only vassals, since there's really no logic behind male vassals under Enatic. Female vassals help with reducing factions due to the +20 or +10 opinion boost under Enatic/Enatic-Cognatic, respectively.

Ah! Of course, I see it now. I need to stop coding at 4am, I'm pretty worthless. I'll figure out how to test it tomorrow and absorb it into the main package.
 
Ah! Of course, I see it now. I need to stop coding at 4am, I'm pretty worthless. I'll figure out how to test it tomorrow and absorb it into the main package.

1. Go into your succession_laws.txt file and change the always = no of both gender laws to always = yes.

2. Start up The Old Gods on the 867 start and choose West Francia. I chose West Francia because it's one of the few starting locations that has multiple (two, to be exact) personal holdings and has a ruler that has been in charge for over 10 years.

3. Give out minor titles to the two dukes that have negative opinion.

4. Switch over to Enatic succession.

5. Raise your banner and then hand out holdings. Your new vassal will be a woman.

Alternatively, start out as a pagan and go to town on neighboring pagans. You might have to deal with the 10 year penalty for switching laws and/or vassal opinion, however.
 
This needs more publicity, one of the best QOL changes I've seen so far! I've always wanted a right click create vassal option for county level, and this just takes that idea to a whole new and awesome level.
 
This needs more publicity, one of the best QOL changes I've seen so far! I've always wanted a right click create vassal option for county level, and this just takes that idea to a whole new and awesome level.

Amazing. Helps a lot. :wub:

Thanks! Glad you are enjoying it!