Modding: Difference between revisions

From Hammerwatch 2 Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
[[Languages]]
[[Languages]]


=Getting Started=
#Open the game's folder (e.g. C:\Program Files (x86)\Steam\steamapps\common\Hammerwatch 2)
#Run "PACKAGER.exe"
#Select "Resources" from the list
#Click the "Extract Base Resources" button at the top (icon is a cardboard box)
#Wait for the unpacking to finish (This will take a while). It may give an error, this can be ignored.
#When finished, it will create a new folder named "unpacked_assets_[number]" containing all of the base game files
#Create a new folder named "mods"
#Create a new folder in mods with the name of your mod (cannot have spaces).
#Create a file info.xml with the following information
<blockquote>
<dict>
    <string name="name">Mod Name Here</string>
    <string name="author">Your Name Here</string>
    <string name="description">Explanation of what the mod is/does.</string>
</dict>
</blockquote>
#Copy files you want to modify with their existing folder structure to your mod folder
#Use the <loader> tag to add new files.


{{Template:BaseNav}}
{{Template:BaseNav}}

Revision as of 16:18, 21 August 2023

Hammerwatch 2 has a robust system for modding, with a few different types of mods possible.

Resource mods

Scenarios

Languages

Getting Started

  1. Open the game's folder (e.g. C:\Program Files (x86)\Steam\steamapps\common\Hammerwatch 2)
  2. Run "PACKAGER.exe"
  3. Select "Resources" from the list
  4. Click the "Extract Base Resources" button at the top (icon is a cardboard box)
  5. Wait for the unpacking to finish (This will take a while). It may give an error, this can be ignored.
  6. When finished, it will create a new folder named "unpacked_assets_[number]" containing all of the base game files
  7. Create a new folder named "mods"
  8. Create a new folder in mods with the name of your mod (cannot have spaces).
  9. Create a file info.xml with the following information

<dict>

<string name="name">Mod Name Here</string>

<string name="author">Your Name Here</string>

<string name="description">Explanation of what the mod is/does.</string>

</dict>

  1. Copy files you want to modify with their existing folder structure to your mod folder
  2. Use the <loader> tag to add new files.