Tutorial:Editing Content Params
Found at Content/ContentParams.xml, the Content Params file is used to set certain constant values in PMDO.
To begin making modifications using a mod, copy the ContentParams.xml file into the mod's Content folder. Then, that file can be edited to apply those changes to be loaded when using the mod.
Editing
ContentParams.xml (as of PMDO 0.8.11) controls the following parameters in PMDO using its tags.
Sounds
These are constant sounds that are referenced across PMDO. They can be re-directed to different sources by changing the path specified inside of them. Its root folder is at the sound folder.
The following sounds can be edited:
- Hunger
- NullDmg
- Cursed
- Pickup
- PickupFoe
- Replace
- Place
- Equip
- Money
- Leader
Title
These are the assets used to change what appears in the title. This currently includes the background title screen and the background music.
Background
In order to make a background available to be used as a new background, it must first be imported as a background inside of dev mode. Vanilla PMDO uses the Sky background, by referencing it by so:
<TitleBG>Sky</TitleBG>
To change the background, change the inside of the tag to be the name of the background. For example, to change the title screen to some added background called Cliff:
<TitleBG>Cliff</TitleBG>
Music
To change the music that plays on the title, a new track should first be added to the mod's Content/Music folder. Vanilla PMDO uses Title.ogg:
<TitleBGM>Title.ogg</TitleBGM>
To change the music to a new track, say for example MainTheme.ogg:
<TitleBGM>MainTheme.ogg</TitleBGM>
Monster House
To change the music that plays when a monster house is encountered, a new track should first be added to the mod's Content/Music folder. Vanilla PMDO uses Monster House.ogg:
<MonsterBGM>Monster House.ogg</MonsterBGM>
To change the music to a new track, say for example Danger.ogg:
<MonsterBGM>Danger.ogg</MonsterBGM>
