hamstar
Terrarian
Since tModLoader's mod browser has grown increasingly convenient for distributing game content in modded form, why not also allow distributing world files and pre-configured player characters as well? Well now you can, with this mod-as-a-wrapper. Here's how:
In what cases would you release your custom world as a mod wrapper?
- Download and extract the included .zip file to a new folder in your tModLoader Mod Sources folder (%HOMEPATH%\Documents\My Games\Terraria\ModLoader\Mod Sources\)
- Copy and paste to your mod's source code folder the .wld and .twld files of the worlds you want to share from %HOMEPATH%\Documents\My Games\Terraria\ModLoader\Worlds\
- Copy and paste to your mod's source code folder the .plr and .tplr files of the player characters you want to share from %HOMEPATH%\Documents\My Games\Terraria\ModLoader\Players\
- Edit the included mod files with the following:
- build.txt - Change the author and displayName accordingly. Remove the lines for `modReferences` and `homepage`, unless you want to add mod dependencies, or give your mod a homepage, respectively.
- Each .cs file - Adjust all code lines marked with a 'TODO' comment accordingly. Remember your mod's name, display name, and namespace need to be unique in the mod browser.
- Open tModLoader and go to the Mod Sources menu. Build and publish your mod in the usual way.
In what cases would you release your custom world as a mod wrapper?
- To let others download and play it quickly via. the tModLoader mod browser. Makes installation easy.
- Allows packaging multiple custom worlds or players. Sequencing worlds or playthroughs together are possible with additional code.
- Custom code or mod dependencies can be added. Use your imagination.
- Updates may eventually be possible, maybe even without requiring world resets.
- Mod locking, settings, and other options may be added. Ask if you need help setting these up.
Attachments
Last edited: