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

Kretoxian

Anon, we are legion
23 Badges
Oct 12, 2005
2.743
2
  • Iron Cross
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Tyranny: Archon Edition
  • Stellaris
  • Magicka 2
  • Pillars of Eternity
  • Europa Universalis III: Collection
  • 500k Club
  • Semper Fi
  • Majesty 2 Collection
  • Cities in Motion 2
  • Heir to the Throne
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Divine Wind
  • Europa Universalis III
  • Darkest Hour
  • Crusader Kings II: The Old Gods
  • Crusader Kings II
I know that this has been asked before, but i can't find it and it does not appear in paradoxian.org, so how it can be done??
 

unmerged(71732)

Captain
Mar 14, 2007
399
0
Kretoxian said:
I know that this has been asked before, but i can't find it and it does not appear in paradoxian.org, so how it can be done??

In my new mod i will do this: I gona make an event, then when the game Start's, the player will have the option to choose to hear musics from different country's.

But to answer to you're question: Go to music and you will see some .txt files, put the music you want in the folder, and in the txt file, put the name of the song, and they will play
 

Kretoxian

Anon, we are legion
23 Badges
Oct 12, 2005
2.743
2
  • Iron Cross
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Tyranny: Archon Edition
  • Stellaris
  • Magicka 2
  • Pillars of Eternity
  • Europa Universalis III: Collection
  • 500k Club
  • Semper Fi
  • Majesty 2 Collection
  • Cities in Motion 2
  • Heir to the Throne
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Divine Wind
  • Europa Universalis III
  • Darkest Hour
  • Crusader Kings II: The Old Gods
  • Crusader Kings II
^ No that's not what i was asking about, i read some time ago that it's possible to assign some specific songs using the .txt some kind of command like:
Code:
country = SOV Warszawianka
Or something like that and if that command was in the war.txt then the Warszawianka would song when the USSR is at war BUT it would only sound if the player is playing with the Soviets.

Thanks Fernando!!
 

Kretoxian

Anon, we are legion
23 Badges
Oct 12, 2005
2.743
2
  • Iron Cross
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Tyranny: Archon Edition
  • Stellaris
  • Magicka 2
  • Pillars of Eternity
  • Europa Universalis III: Collection
  • 500k Club
  • Semper Fi
  • Majesty 2 Collection
  • Cities in Motion 2
  • Heir to the Throne
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Divine Wind
  • Europa Universalis III
  • Darkest Hour
  • Crusader Kings II: The Old Gods
  • Crusader Kings II
Fernando Torres said:
isn't this ??

I don't know the program keeps giving the error message telling the "top level object message".

I've added only these lines:
Code:
SOV = { Hunt for Red October }
USA = { The Marines Hymn }

just after globaldata.
 

Kretoxian

Anon, we are legion
23 Badges
Oct 12, 2005
2.743
2
  • Iron Cross
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Tyranny: Archon Edition
  • Stellaris
  • Magicka 2
  • Pillars of Eternity
  • Europa Universalis III: Collection
  • 500k Club
  • Semper Fi
  • Majesty 2 Collection
  • Cities in Motion 2
  • Heir to the Throne
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Divine Wind
  • Europa Universalis III
  • Darkest Hour
  • Crusader Kings II: The Old Gods
  • Crusader Kings II
Fernando Torres said:
You must add a .txt file, not a .mp3.
The .txt file must be in the music folder (same kind of file as war.txt for example).
Is it clear ?

Sorry for bumping this thread again, but i've created a new txt file named country.txt in the music folder (with the two songs inside it), and this command in the country.txt:
Code:
SOV = { Hunt for Red October }
USA = { The Marines Hymn }

But it does not seem to work, the game simply plays the normal HOI2 music.
 

Kretoxian

Anon, we are legion
23 Badges
Oct 12, 2005
2.743
2
  • Iron Cross
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Tyranny: Archon Edition
  • Stellaris
  • Magicka 2
  • Pillars of Eternity
  • Europa Universalis III: Collection
  • 500k Club
  • Semper Fi
  • Majesty 2 Collection
  • Cities in Motion 2
  • Heir to the Throne
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Divine Wind
  • Europa Universalis III
  • Darkest Hour
  • Crusader Kings II: The Old Gods
  • Crusader Kings II
Fernando Torres said:
Okay, i was not clear.
You must enter The Marines Hymn if its one of your songs in a usa.txt file and put it in music folder.
Then in the scenario .eug file, you enter USA = { usa.txt } ok ?

Ok, but doing this when the scenario starts to load the "Ilegal top level object" pops up and the game crashes.