I thought I was going crazy but now that I can check which songs are playing — I swear the songs from Jewish 2 play about 10 times more often than the others. Maybe as little as 5 times more often. I didn’t mark it at first because I was playing a Semien game… but now that I’m not a Jew, it’s pretty jarring! Is there some cache I can clear, or something? Can you think of anything that could cause this cybrxkhan? I can’t help but notice your sig… you must have mixed up your mods and turned VIET Music into Jews Everywhere!
song = {
name = "shema.ogg"
chance = {
factor = 1
modifier = {
factor = 1.5
OR = {
religion_group = jewish_group
culture_group = judaic
religion_group = judaism_group
}
}
modifier = {
factor = 1.5
any_courtier = {
OR = {
religion_group = jewish_group
culture_group = judaic
religion_group = judaism_group
}
}
}
}
}
These notes are FABULOUSE!
Sorry for the late reply, I totally forgot about your post!
Anyways, d'you have Jewish courtiers? I think when I originally coded it I had it so if you had Jewish courtiers the chances of playing the Jewish songs more.
EDIT:
<...>
Hope that helps.
[eu3idler.cpp:4284]: new song music/the_blind_spot_of_evryone.ogg
[eu3idler.cpp:4284]: new song music/inthenameofgod.ogg
[eu3idler.cpp:4284]: new song music/the_truth_of_ice_cream.ogg
[eu3idler.cpp:4284]: new song music/her_helpless_partner.ogg
[eu3idler.cpp:4284]: new song music/biggest_secret_scheme.ogg
[eu3idler.cpp:4284]: new song music/shema.ogg
[eu3idler.cpp:4284]: new song music/jewish_niggun.ogg
[eu3idler.cpp:4284]: new song music/yiddish_singing.ogg
[eu3idler.cpp:4284]: new song music/jewish_fiddle.ogg
[eu3idler.cpp:4284]: new song music/shofar_blown.ogg
[eu3idler.cpp:4284]: new song music/adon_olam.ogg
[eu3idler.cpp:4284]: new song music/el_nora_alila.ogg
[eu3idler.cpp:4284]: new song music/shema.ogg
[eu3idler.cpp:4284]: new song music/the_joy_of_living.ogg
[eu3idler.cpp:4284]: new song music/yiddish_celebration.ogg
Sorry, I don't quite understand your question? I don't think the music is causing any bug, and if you don't want to reduce the frequency then what do you want to do?
Maybe I don’t understand the way the music code work. But how could it be WAD for the same 13 songs to play repeatedly, when according to the code and your explanation, they should have comparable frequencies to each of the other 300+ songs? It makes me think there might be something wrong on my install and this is just the most obvious symptom, like if certain characters were corrupted in the rar extraction, or there’s a missing bracket somewhere. Though I did redownload the packs and that didn’t fix it.
But if you can’t think what might be wrong, I can just turn the factors down, right? turn the 1.5s into 1.25s, or remove the block that applies a modifier for the courtiers?
Speaking of Judaism, I know a ton of Jewish songs that would fit super well into this. I don't have actual copies of the songs, but they are fairly easy to get. Here they are -
Kol Nidre - a super old chant made to pardon all oaths of conversion to another religion, or similar acts enforced on Jews.
Blessings before and after Torah/Haftorah - 4 blessings, used every week. In Judaism, different sections of the Torah and Haftorah are chanted every week. Before and after chanting, these blessings are chanted. Chanting the blessings before and after the Torah is one of the highest honors in Jewish society.
Torah/Haftorah cantillation - The tunes used in chanting Torah and Haftorah. These will probably be really easy to find.
Shalom Aleichem
Also, here's a ton of Jewish prayers. I have a lot more if you're interested.
Regarding Jewish music.
I am a Norman in Sicily, I took a jewish courtier also and got sympathy for Jews, this king Jewish music has played almost non stop, I get one western song in between then maybe 4 or 5 Jewish songs in a row. When my king dies ill see if the music stops.
Otherwise does seem very strange..
Something I've just noticed with the French Renaissance music, the chance for the music to play can depend upon one having "occitanian" culture- there is no such culture!
Also, as much as I love the Jewish music (and I really do!), I agree that the chance for it to play when you have a Jewish courtier should decrease.
import os
import pathlib
import shutil
import rarfile
MOD_PATH = pathlib.Path('c:/Users/Nicholas/Documents/'
'Paradox Interactive/Crusader Kings II/mod')
def extract(rar_path):
with rarfile.RarFile(str(rar_path)) as rar_file:
for entry in rar_file.infolist():
if not entry.isdir():
path = pathlib.Path(entry.filename)
dest = MOD_PATH / 'VIET Music' / path.name
if len(path.parts) == 2 and path.suffix in ['.ogg', '.txt']:
dest = dest.parent / 'music' / dest.name
with rar_file.open(entry) as fsrc, dest.open('wb') as fdst:
shutil.copyfileobj(fsrc, fdst)
def main():
with (MOD_PATH / 'VIET_Music.mod').open('w') as mod_file:
mod_file.write('name = "VIET Music"\npath = "mod/VIET Music"')
os.makedirs(str(MOD_PATH / 'VIET Music/music'), exist_ok=True)
for rar_path in MOD_PATH.glob('VIET*.rar'):
extract(rar_path)
for rar_path in MOD_PATH.glob('VIET Music/*.rar'):
extract(rar_path)
rar_path.unlink()
if __name__ == '__main__':
main()
Song packs 3 and 5 are not working now due to copyright.