Hack 'n' Slash patch (with Steam Workshop integration)

Hack 'n' Slash

Hack ‘n’ Slash is a puzzle action game about hacking -- reprogram object properties, hijack global variables, hack creature behavior, and even rewrite the game’s code. The only way to win is not to play...by the rules!

Today we're ready to roll out Steam Workshop integration for testing! Details below. Please post feedback in the forums! [h1]Downloading and playing mods[/h1] You can manage your mod subscriptions via the [url=http://steamcommunity.com/sharedfiles/browse/?appid=246070]Hack 'n' Slash workshop[/url]. Subscribed mods will automatically be downloaded when you boot up the game. [b]Starting a new game with a mod[/b] Select "NEW GAME" from the save select screen. A "mods" menu will appear, and you can add mods that you've created or subscribed to by selecting the [+] option and then selecting a mod. [b]Adding and removing mods from an existing save game[/b] Navigate to the game in the save select screen and select the [ Mods ] option. From here you can add additional mods using the [+] option or remove mods using the [delete] option. You can also reorder mods via the [move] option. This controls the order in which the mods are loaded. Some mods may need to be loaded in a specific sequence in order to function correctly. [h1]Example mods[/h1] We're also releasing two example mods today. [b]Translation Kit[/b] [url=http://steamcommunity.com/sharedfiles/filedetails/?id=290833479]Translation Kit[/url] is a mod that makes it easy to create custom translation mods of Hack 'n' Slash. When you launch a game with Translation Kit active, it will scan over all of the scripts in the game using the game's disassembly tools and identify text that's displayed in dialogs and cutscenes. It will then ask you for the name of the translation mod you want to create and will build a directory tree of .translation files that contain string overrides for the code and a mod script that loads these translation files and applies them to the game. [b]ebg13[/b] [url=http://steamcommunity.com/sharedfiles/filedetails/?id=290586164]ebg13[/url] is an example mod created with Translation Kit that applies the [url=en.wikipedia.org/wiki/ROT13]ROT13[/url] transformation to all of the translated strings. [h1]What kinds of mods can I make?[/h1] Hack 'n' Slash supports very extensive modification. You can overwrite any script in the game's file system and add any kind of content that you want. You can change the base game or create your own game using the engine. You can even use the game's built-in disassembly tools to programmatically analyze existing code and make modifications to it. This is how Translation Kit works. All mods have a patch script written in Lua that is responsible for applying its modifications to the base game. This script can overwrite existing files or add new files to the game's file system. Patch files are initially generated with some documentation on the methods your mod has access to, but we've also decided to ship the main game engine scripts in plaintext so that you can dig around yourself and learn how the engine works. The content scripts for the game itself are still precompiled so that you can't spoil anything just by browsing the directory structure, but you can now browse the core engine scripts directly. [list] [*]Right click on Hack 'n' Slash in your Steam library and click "Properties." [*]Click on the "LOCAL FILES" tab. [*]Click "BROWSE LOCAL FILES" to launch an explorer window. [*]Navigate to Data/Scripts. [*]Open up any .lua file to see the code for that component. [/list] Please note that this does [b]not[/b] mean that the engine is open source. We still retain all rights to the engine code. We're simply trying to make it easier for you to make interesting mods! [h1]Creating a mod[/h1] You can create a new mod from the "MANAGE MODS" menu on the save select screen by selecting [ Create new mod ]. You then choose a name for the mod and the game will create a stub patch script for you at: [code]/Hack 'n' Slash/Mods//Patch.lua[/code] The stub file will have some documentation comments at the top describing the functions you have access to from the patch. You can also clone existing mods and look at their patch scripts to see how they work. [h1]Cloning an existing mod[/h1] You can clone a mod you subscribe to in order to figure out how it works or make your own custom modifications. From the "MANAGE MODS" menu, select the mod to open its menu and then select [ Clone mod ]. Please make sure to attribute the original work if you publish a cloned mod!