Coding Help Custome Music Pack, but the music for Hospital doesn't changed

Nimeld

Farmhand
Problem Solved!!!

Hey there!
I was making a content patch, for a custome music pack.
I just made 3 changes:
No.1, Zen Garden from game Plants Vs Zobmies for Greenhouse,
No.2, Route 201 BGM from Pokemon BDSP for BusStop,
No.3, Pokemon Center BGM from Pokemon BW1 for Hospital.
No.1 and No.2 worked perfictly, but, I don't know why, the BGM in hospital doesn't chanded, the code are same format, it just won't work.
Here is the code, if you knows the soluction, Please let me know,Thx!

{
"Format": "2.4.0",
"Changes": [
{
"Action": "Load",
"Target": "Maps/Farm",
"FromFile": "assets/FarmA.tmx"
},
{
"Action": "EditMap",
"Target": "Maps/BusStop",
"MapProperties": {
"Music": "{Route201}_Music"
}
},
{
"Action": "EditData",
"Target": "Data/AudioChanges",
"Entries": {
"{BusStop}_Music": {
"ID": "{Route201}_Music",
"Category": "Music",
"FilePaths": [ "{{AbsoluteFilePath: assets/Route201.wav}}" ],
"StreamedVorbis": true,
"Looped": true
}
}
},
{
"Action": "EditMap",
"Target": "Maps/Greenhouse",
"MapProperties": {
"Music": "{PvZ_Garden}_Music"
}
},
{
"Action": "EditData",
"Target": "Data/AudioChanges",
"Entries": {
"{Greenhouse}_Music": {
"ID": "{PvZ_Garden}_Music",
"Category": "Music",
"FilePaths": [ "{{AbsoluteFilePath: assets/PvZ_Garden.wav}}" ],
"StreamedVorbis": true,
"Looped": true
}
}
},
{
"Action": "EditMap",
"Target": "Maps/Hospital",
"MapProperties": {
"Music": "{PokemonCenter}_Music"
}
},
{
"Action": "EditData",
"Target": "Data/AudioChanges",
"Entries": {
"{Hospital}_Music": {
"ID": "{PokemonCenter}_Music",
"Category": "Music",
"FilePaths": [ "{{AbsoluteFilePath: assets/PokemonCenter.wav}}" ],
"StreamedVorbis": true,
"Looped": true
}
}
}
]
}
 
Last edited:
Top