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

Manfred Cornburg

Captain
124 Badges
Jun 23, 2011
312
64
  • Stellaris: Apocalypse
  • Magicka 2
  • Crusader Kings II: Holy Knight (pre-order)
  • Warlock: Master of the Arcane
  • Victoria 2: A House Divided
  • Victoria 2
  • Supreme Ruler: Cold War
  • Europa Universalis IV: El Dorado
  • Supreme Ruler 2020
  • The Showdown Effect
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Imperator: Rome Deluxe Edition
  • War of the Roses
  • 500k Club
  • Tyranny: Archon Edition
  • Hearts of Iron IV: Colonel
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Way of Life
  • Hearts of Iron IV: Cadet
  • Pillars of Eternity
  • Stellaris Sign-up
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Magicka 2: Ice, Death and Fury
  • Crusader Kings II: Conclave
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Europa Universalis IV
  • Cities: Skylines - Parklife
  • Steel Division: Normandy 44
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Tyranny: Gold Edition
  • Tyranny: Archon Edition
  • Europa Universalis III Complete
  • Stellaris: Distant Stars
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis III Complete
  • Cities: Skylines - Green Cities
  • Age of Wonders III
  • Tyranny - Bastards Wound
  • Tyranny - Tales from the Tiers
  • Europa Universalis IV: Golden Century
Ok
"What is this mod?" you might think.
It's me, wanting to mod some musical flavour into the game. This is done simply by finding a track, and attaching it to a title
But so far, I have only one track. That's not a lot of flavour, is it?
This is where I need your help. All I need is a link to the song and what title you want it for.

"Hey the song "linkgoeshere" fits really well for the king/duke/count of wherever" is really all I need.

After I add a couple of songs, I'll put up a download link and keep it updated whenever I get something new

The following is mainly for people who want to know my stream of thought, but it's mainly useless
_____________________________________
During the demo I looked through the files, and was pleased when I saw that in the \music folder, there was placed a nifty little songs.txt.
In this file, there is a series of codes for songs, looking like this
Code:
song = {
	name = "akingisdead.ogg"
	
	chance = {
		modifier = {
			factor = 1
		}		
	}
}
This is just an example, using one of the many tracks from the awesome OST.


What I was thinking about, was making a mod that played national anthems corresponding to the country you're playing as.
Since I'm a hat when it comes to modding, I need some help but I'm guessing the code would be similar to
Code:
song = {
	name = "swedishanthem.ogg"
	
	chance = {
		modifier = {
			factor = 0
			has_title k_sweden = 1
		}		
	}
}

Now, as mentioned, I don't know much about modding, but as far as I can make out, the code says that if you're playing the king of Denmark or the duke of Apulia, you'll probably never hear swedishanthem.ogg, but if you hold the kingdom of Sweden, you'd hear this at the same rate as the rest of the soundtrack.
This is my first issue, and I really hope to get some response on this.

My second issue is, that I know absolutely (or, almost) nothing about any national anthems but the Danish, so I'd appreciate it if someone could help me with this (i.e. tossing a youtube link and saying x's national anthem during the period).


Bonus points if you could tell me if this kind of thing would get me lynched due to copyrights
 
Last edited:
I don't think countries really had national anthems at the time. You can throw it modern ones, but they'd be awfully anachronistic.

You might be able to do some really cool stuff with this. Like add in a bunch more tracks and then do something like (if this works) at_war = yes or at_war = no, and have seperate peace and war tracks.

Or, when the play as a muslim dlc comes out you could have a religion = x and have separate christian and islamic sound tracks.
 
Because I don't want to bloat the OP with more useless text than there already is, I'll make a double post. I will try to keep it to a minimum

Since it doesn't really work, I'll post what I did, and see if someone can tell me where I went wrong:

Because of what I see as making it simpler, I made a modfolder, and the .mod file reads as following:
Code:
name = "National Anthems"
path = "mod/Anthems"

In the \mods folder, I made the folders Anthems\music. Here I have two files: kongesangen.ogg, the royal Danish anthem, and songs.txt containing the following
Code:
song = {
	name = "kongesangen.ogg"
	
	chance = {
		modifier = {
			factor = 0
			k_denmark = 999
		}
	}
}
When I launch the game using the mod, the main theme plays during load time, but upon picking Denmark and starting, all music mutes. I'm guessing no other songs plays because the songs.txt doesn't extend the original one, but replaces it. Is there any way around this.

But I can't seem to figure out how the modifiers work (probably due to my inexperience with modding).
Is it because you multiply factors with the original factors = x and everything then ends up as 0?
Is it because I've got the wrong command for the k_denmark thing?
Both?



I don't think countries really had national anthems at the time. You can throw it modern ones, but they'd be awfully anachronistic.

You might be able to do some really cool stuff with this. Like add in a bunch more tracks and then do something like (if this works) at_war = yes or at_war = no, and have seperate peace and war tracks.

Or, when the play as a muslim dlc comes out you could have a religion = x and have separate christian and islamic sound tracks.

Yes, I do know that national anthems wasn't really the big thing at this time, but I think this would add great flavour to playing the different nations, and I just thought anthems would be a good place to start
 
Sorry for multiple posts

That was simpler to figure out than I thought. It just took the removal of the factor line. Cool

Also, I haven't figured out how to extend a the songs.txt into the original, so I just moved it...
 
I like the concept! But like it has been said here before: it would be terribly anachronistic to add current national anthems to the game.
What in my opinion seems like a better idea, is to search for folk songs from the early middle ages by culture, and try adding music by culture.
This would lead to hearing Dutch songs while playing as the duke of Brabant for example.
 
I dislike the concept.
In this period no nations, only dynasty and tribes.

Better choice is to do national football teams - for Piast, Rurikovich, Plantagenet, I think... It is so nonsense like national anthems.
 
I like the concept. There were maybe no nations, but a lot of modern nationalism was projected on this period. This makes for us, honest modern gamers, a better gaming experience.

Good luck!