Fore some reason the game refuses to accept my code, game crashes as soon as I say "hi" to a fleet of the modded faction. the log holler about:
"java.lang.RuntimeException: Spec of class [com.fs.starfarer.loading.specs.e] with id [music_nihil_encounter_hostile] not found"
and I scream back at it.
The apparent non-working code:Working code:sound.json (in the mod folder)
"music":{
"music_nihil_market_neutral":[
{"file":"nihil_2.ogg","source":"sounds/music/","volume":0.2},
],
"music_nihil_market_hostile":[
{"file":"nihil_2.ogg","source":"sounds/music/","volume":0.2},
],
"music_nihil_market_friendly":[
{"file":"nihil_2.ogg","source":"sounds/music/","volume":0.2},
],
"music_nihil_encounter_neutral":[
{"file":"nihil_1.ogg","source":"sounds/music/","volume":0.2},
],
"music_nihil_encounter_hostile":[
{"file":"nihil_1.ogg","source":"sounds/music/","volume":0.2},
],
"music_nihil_encounter_friendly":[
{"file":"nihil_1.ogg","source":"sounds/music/","volume":0.2},
],
},
.faction
"music":{
"theme":"music_nihil_market_neutral",
"market_neutral":"music_nihil_market_neutral",
"market_hostile":"music_nihil_market_hostile",
"market_friendly":"music_nihil_market_friendly",
"encounter_neutral":"music_nihil_encounter_neutral",
"encounter_hostile":"music_nihil_encounter_hostile",
"encounter_friendly":"music_nihil_encounter_friendly",
},
In the native files the music is all located in a mysterious "music.bin", could it be that dialog music must be set-up in this way? If that's the case how to .bin?