• 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.

EscagirlUK

Second Lieutenant
39 Badges
May 31, 2007
104
36
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - After Dark
  • Crusader Kings II: Conclave
  • Stellaris
  • Crusader Kings II: Reapers Due
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Mass Transit
  • Crusader Kings Complete
  • Surviving Mars
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - Parklife
  • Cities: Skylines Industries
  • Crusader Kings II: Holy Fury
  • Prison Architect
  • Cities: Skylines - Campus
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Deus Vult
  • Crusader Kings II
  • 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
  • A Game of Dwarves
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • Europa Universalis III Complete
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
so i love the alternate starts, playing as randomised religions and cultures and kingdoms, marrying my people off to humans and cats and elephants. but the alternate start bloodlines are kind of... really goddamn terrible. there's only 3. repeated several times.

so i've found where the alternate bloodlines live in the "bloodlines" file and where they exist in the "scripted events alternate start" file, and i've copied out and mostly edited the 3 "normal game" bloodlines i want to add into the alternate start bloodlines. (those being niall for tanistry, ragnarr because viking, and baldouin because why not?)

only. i don't really understand the scripted events stuff? it's not as straight-forward as when i just edited files back in the days of only base game where if i wanted equality for women all i needed to do was change a no to a yes or remove/copy&paste a line of text. i'm not great at coding, so i don't really know what i'm doing or what would affect other things or not.

so onto the questions.

1) The Scripted Events File

what the heck do the numbers before each of the random event options mean? the percentage chance of getting that specific bloodline, presumably?

if it is percentage chance, will adding new bloodlines adversely affect the event? like, if it has more than 50% total will it crash? or can i just add 3 new bloodlines with "5=create bloodline=bloodline ?" without worrying that the unused 50% is Somehow Magically Important?

random_list = {
20 = {
create_bloodline = {
type = random_world_bloodline_female_1
}
new_bloodline = {
set_description = "bloodline_description_random_world_1"
}
set_character_flag = random_world_bloodline

}
20 = {
create_bloodline = {
type = random_world_bloodline_female_2
}
new_bloodline = {
set_description = "bloodline_description_random_world_2"
}
set_character_flag = random_world_bloodline

}
5 = {
create_bloodline = {
type = random_world_bloodline_female_3
}
new_bloodline = {
set_description = "bloodline_description_random_world_3"
}
set_character_flag = random_world_bloodline
remove_trait = chaste
remove_trait = ugly
add_trait = seductress
add_trait = lustful
add_trait = fair
give_nickname = nick_the_fair
}

2) The Random Bloodlines

so the normal random bloodlines look like this
random_world_bloodline_male_1 = {
combat_rating = 5
monthly_character_prestige = 0.25
vassal_opinion = 5
bloodline_effect_great_heroes_appear = 1
inheritance = patrilineal
allow_bastards = yes
picture = GFX_bloodlines_symbol_lion
flags = { bloodline_heroes }
}
and one of the bloodlines i want to add is Ragnarr Lodbrok's. here i've removed the opinion modifiers, as a random game won't have those cultures/religions.

i am assuming the always viking effect is the bit that affects the "can always raid" thing his bloodline has. will a random game even recognise that line?

and the flags? should i leave them as-is or remove the two historical ones, leaving the bloodline_viking tag alone?
ragnarr_lodbrok = {
combat_rating = 8
pirate_opinion = 5
ravager_opinion = 5
seaking_opinion = 5
sea_queen_opinion = 5
bloodline_effect_always_viking = 1
inheritance = patrilineal
allow_bastards = yes
picture = GFX_bloodlines_symbol_norse
flags = { historical_bloodline bloodline_viking bloodline_historical_norse }

i just. have absolutely no idea what i'm doing. and would really appreciate some advice on this stuff.
 
1) The Scripted Events File

what the heck do the numbers before each of the random event options mean? the percentage chance of getting that specific bloodline, presumably?

if it is percentage chance, will adding new bloodlines adversely affect the event? like, if it has more than 50% total will it crash? or can i just add 3 new bloodlines with "5=create bloodline=bloodline ?" without worrying that the unused 50% is Somehow Magically Important?

The numbers determine the chance each option has. The likelihood any option is randomly picked is a weighted chance, meaning it's that option's weight divided by the sum of all weights.

2) The Random Bloodlines

i am assuming the always viking effect is the bit that affects the "can always raid" thing his bloodline has. will a random game even recognise that line?
and the flags? should i leave them as-is or remove the two historical ones, leaving the bloodline_viking tag alone?

To the best of my knowledge, bloodline_effect_always_viking = 1 is only there for the tooltip, but doesn't do anything mechanically. Effects of bloodlines are checked for, by means of their flags. Note that Ragnarr's bloodline doesn't allow characters to raid no matter what. Instead, it lets characters who can raid get the Viking traits, instead of the Pirate trait. You can find various checks for has_bloodline_flag = bloodline_viking in oldgods_various_events.txt and the Viking trait definitions.
 
Last edited: