fredag 11 december 2015

Brief explanation of the cutscene editor

I will do my best to write a more thorough guide for using the cutscene editor this weekend, but I figured it might be good to explain the very basics.

To start creating a cutscene go to the top menu, and select "Create Cutscene" from the "Level" submenu. You will now see the cutscene editor instead of the level editor. The "NPC" tab should be pretty self explanatory, it works a lot like placing furniture. Choose a sprite for your NPC and then click in the grid to place it. It's a good idea to name your NPCs to make it easier to keep track of them if you wish to assign any actions to them.

Once you've set up your NPCs, head over to the "Frame" tab. You need to first place a trigger before being able to assign any actions. A trigger can either be an area which activates your cutscene once the player enters it. You can also assign triggers to NPCs so that clicking them or approaching them will trigger the cutscene (right click a NPC and choose the trigger action).

To create an area trigger, press the "Add Trigger" button in the "Frame" tab, it will become highlighted. After that click and drag to create a rectangular area which you want to use for triggering your cutscene.

With your trigger added, it's time to assign actions. You can either right click a character to add character specific actions, or press the "Add Action" button in the "Frame" tab. Most actions should be fairly self explanatory.

The actions you add are placed in a frame, and all actions in a frame will be executed simultaneously, and they must all be completed before the cutscene moves over to the next frame. So, let's say you want the player to walk up to an NPC and start a dialogue. First you right click the player and add a "Walk To" action, you then specify a path to the NPC. Then you add a new frame by clicking "Add Frame". After that you add the dialogue action. Finally you need to add a "Stop Sequence" action. The "Stop Sequence" action breaks the cutscene and returns control to the player, and it also has the option of triggering the "Level Clear" state. If you want to add further content to your cutscene you must then add a new trigger.

I hope this makes it a little bit more clear how the Cutscene Editor works.

Peace & Love

PS. A big thank you to everyone who's been using the Editor and been enthusiastic about it. It's been countless hours of hard (nightmarish) work, but you guys make it worth the effort.

torsdag 10 december 2015

The Hammer is Yours!

Introducing the new character: 

SO who is he? Why is he in HLM2? Well, this dashing face and slick appearance (worthy of a true 90s action hero) belongs to our dear friend HM Hammarin! We got to know him through his music as he played a show together with Jonatan a couple years ago! He blew us away with one of the most legendary live shows we've ever seen. He is a true original performer/character in our eyes and you should all click some of the links below and check him out before you read more (if you know swedish you can also dive deeper into his mind with his video diary! Highly recommended!)

But this is where the connection between the man Hammarin and the character The Hammer ends, because the purpose of adding him into the editor is giving you a blank piece of paper. It's up to you people to create the story behind The Hammer. Why is he in Miami? Has he anything to do with 50 Blessings? Is he in it for the money or for love? Well, that is up to you to decide! Looking forward to see what you will come up with!:)

Peace // Dennis

Beta installation and Beta period information.

Hey everyone!

So we are finally here!:D At the point where you all will get a chance to play around with the editor (and hopefully doing so without to many problems or bugs!). We would like to thank everyone who waited patiently, everyone who hacked the alpha editor and came with suggestions to improve it, everyone who said kind words to boost our morale when it was low! Thanks so much!!!

With that said, here we go! Please please please read all the way down to the end of the post before doing anything else, so you are fully informed! Thanks and enjoy!:) 

Beta availability
Current availability status for the Level Editor Beta as of December 10th 2015 is: 

  • Windows: Available. Workshop TBA.
  • Mac: TBA
  • Linux: TBA
How to access the beta:
First of all, make sure to restart Steam! To access the level editor, navigate to Hotline Miami 2 in your Steam library, right click the game and select properties. From there go into the betas tab and select editor_beta from the drop-down list and press Close. Your game will now update to the beta version with the editor included [editor_beta] should appear next the title in your library. If it doesn't update straight away either wait a little while or restart your Steam client. Some also need to reinstall the game (try this if you launch the game and steam crash).

How to opt out of the beta:
Repeat the steps above but select 'default' instead of 'editor_beta' as the branch to change your installation to. Your local Hotline Miami 2 installation will revert back to the non-beta, game-only version as it was before you opted into the Beta.

Usage Instructions and tutorials.
We've made a manual post here that explains the basics. We are working on having a extended manual or video tutorials for the cut scene editor up as soon as possible (feel free to play around with it though, you will figure it out I'm sure:).

How to report bugs and feature suggestions:
Use the "Level Editor Bug Reports" thread for bug reports and the "Level Editor Feature Suggestions" thread for feature suggestions. This is quite important since we are only two people gathering all the information, so keeping all of this in one place makes it a lot easier to monitor. Things posted elsewhere will be asked to share the information on steam instead.

How to share your levels:
As of right now the Steam Workshop support for the editor is not yet available. Until it is available you can share your levels via any online file storage provider, e-mail, or other any other way you can think of to share some files with a friend or community.

Once you've finished your level or campaign you can select it in the custom level selector (the Editor menu) and press 'O' on your keyboard to show the level's files in Windows Explorer. From there you can zip the folder and send it to whoever you like!

How to play shared levels:
As mentioned above, Workshop is currently unavailable so you'll have to obtain shared levels through some other means. Once you do get your hands on some levels simply copy them into /My Documents/My Games/HotlineMiami2/Levels/single/ or /My Documents/My Games/HotlineMiami2/Levels/campaigns/ making sure to put the files in a sub-folder in either of the two locations mentioned. Single levels should go in the/single folder and campaigns into the /campaigns folder.

Once the files have been placed in the correct location the levels should show up in the level selector.


I know we have said all along that the editor wouldn't feature custom sprite mods. Well, now it does have a test version of it and all thanks to Frans at Abstraction (some of you know him as Wussie or snarfk:) and Tct2k. So please give them a digital round of applause while I leave it to Frans to explain it all.

IMPORTANT: Modding support is currently highly experimental and driven by community created tools. We are very thankful to the authors of these tools and the players that have shown such passion and dedication in creating mods so far. To show our gratitude we've included some additional functionality in the December 10th update to make their lives a little easier and allow them to reach a larger portion of the community with their creations. However, we cannot currently guarantee any official support or liability for the modding tools themselves or any issues arising due to using community created mods. 
Proceed at your own risk.

Some of you may be familiar with HLMWadExplorer[] by TcT2k. If you are not, here's the gist of it:

HLMWadExplorer has been around for a little while and has been used by the Hotline Miami community to create basic mods for the game. The tool allows you to extract, modify and replace most of the raw data used by Hotline Miami 2 and is most often used to alter the appearance of various elements (sprites and tiles) within the game. Here is a tutorial on how to change sprites.

The tool modifies the WAD files that shipped with the game, replacing (some of) the data with custom versions which will then be loaded by the game. While this works it's prone to breaking down when we update the game (Steam will re-download and overwrite the patch WAD file when it changes, causing the player having to re-apply any mods that were in use) and also doesn't really allow level creators to easily ship custom sprites and other assets along with their levels.

In the December 10th update we've added some rudimentary support to make managing community created mods a little easier and allow dedicated content creators to customize the look and feel of their levels and campaigns further by including additional mods that will be used by the game when their levels are being played. Included below is some information on how to author and use this new functionality.

Creating Mods
Use HLMWadExplorer to create a .patchwad file by exporting, editing and replacing assets present in the WADs. Save the file to /My Documents/My Games/HotlineMiami2/mods to have it load throughout the entire game. Alternatively if you want to include a mod only with your custom level or campaign, navigate to the in-game level selection menu and select the campaign or level you wish to include mods for. Press 'O' to show the directory containing the level/campaign files in Windows explorer. Create a mods directory there and save the .patchwad file in this directory. The mods included in this directory will be loaded when playing or editing the level and can be sent to other players as well.


  • Mods included with levels or campaigns currently do not support custom sounds. While they can be included in the mod files they will not be loaded by the game as it loads all the audio information once, when the game starts. Mods included in your savegame folder are able to customize sound effects.
  • Modifying the in-game music tracks is not supported due to legal reasons. 
  • As of right now we are unsure if we can include the functionality as-is for levels distributed on the Steam Workshop. More information on this will be available once the Steam Workshop support is enabled.

That is all for now! Hope you like it and let's stay in touch;)

Peace // Dennis & Jonatan

onsdag 9 december 2015

Level editor manual (the basics).

The Level Editor

When you start the editor this is the screen you will see. It will contain all of your levels and campaigns, and you will use this menu to play and edit your levels.


To create a new level press C on your keyboard. To edit your level press E. To remove a level press Delete. To sort your levels press Space. To add custom graphics press O (the letter not the number).

Pressing Escape lets you toggle between Campaigns and Levels using your arrow keys or A/D. Pressing Escape again returns you to the main menu of the game.
Pressing Shift you can choose whether to see local, uploaded or downloaded levels/campaigns, for easier browsing.

Creating a new level

Start creating a new level by pressing C, you will be asked if you want to create a new level, select "Yes". You will then be greeted by the screen above. 

First you need to choose some level settings. Here you can enter a title for your level, select which player character you want to use and the music you want to play.

After you've made your selections let's take a brief detour and look at the top menu. You access this menu by holding your mouse pointer at the top of the screen. 

The File menu handles saving, loading and playing your level, as well as creating campaigns and publish your creations (publishing not available in the beta). This is also where you go to quit the editor.


The Edit menu is for quickly removing tiles, walls, objects, characters or whole floors (if you have a multi floor level that is).


The Level menu allows you to create new floors or toggle between them, it also allows you to access the cutscene editor (more information about that later), set level borders and add graphical effects.

The Option menu allows you to change the level settings you were prompted to enter upon creating your new level. Here you can switch player, change your level title or its music. You can also choose to disable the grid and the wall guide (not recommended). The wall guide is used when creating a level with multiple floors so that you can see the layout of the floor beneath or above.

Alright, with that out of the way, let's take a look at the actual editor. The editor window is divided into five different tabs: Build, Items, Enemy, Misc and Level. The first tab you might want to take a look at is Build.

Here you can place floor tiles as well as create walls, doors and windows. There are a number of tools to make this easier.

The Capsule Tool

The capsule tool allows you to add walls and tiles at the same time creating a new room. You will need to select which walls you want to add and what tile to use for the floor of your room individually. To create your room simply click and drag your mouse pointer anywhere in the grid area.

The Fill Tool

The fill tool should be familiar to most, with it you can easily change the tiles of a room or an area. Just select the new tile you want and click on any floor to replace it.

The Sample Tool

The sample tool allows you to easily find a specific tile you have already used in your level. Simply click the tool and then click the tile you want sampled. The floor tile and the tileset it's a part of will be highlighted in the tile selection window.

The Wall Capsule Tool

The wall capsule tool works like the capsule tool, except it doesn't place any floor tiles.

You can also place walls and tiles freely by deselecting all of the tools above. Then simply click and drag to place your tiles/walls. Hold shift and press the right mouse button to switch between horizontal/vertical walls.

To erase walls or floor tiles, simply right click and drag your mouse across them. Note that you have to have the wall selection window active to delete walls and the tile selection window active to remove tiles.


There are a few additional options when placing doors, when selecting a door in the wall window you will see two checkboxes pop up beneath it. One saying "Locked" and the other "Cutscene"

Ticking one of the checkboxes means the door you then place will receive a specific property. "Locked" means that the door will not open. "Cutscene" means that the door will only open once all enemies are cleared from the floor. This feature was mainly added so that you can create a cutscene on a floor with enemies, keeping the player from triggering it before he's killed all enemies.

Once you're done creating the basic layout of your level it's time to move on to the next part.
 Adding Furniture
To make your level a bit more aesthetically pleasing you may want to add some furniture. To do so, simply click the next tab in the editor window called "Items"

This is the furniture browser. You can click the top most field to enter keywords which will make it easier to find the furniture you want. Most of the furniture and various objects from the game can be found here. Click the name of an item you want to see and it will be shown in the preview window below. Some items have a few different variations which you can toggle between with the arrow buttons underneath the preview window. Once you've made your selection simply click anywhere in the grid area to place a furniture of your choice.

You can hold shift and right click to change the orientation of the object (before placing it) or hold control and click an object you've already placed to move it (note that if two objects occupy the same space, the first placed object will be picked up). Holding shift will also snap your object to walls.

At the very top you also have two checkboxes giving you the option to either place "Furniture" or "People". We've already gone through the furniture so let's place some people. Star by clicking the "People" checkbox.

The "people" you can place in this menu are static NPCs that cannot be interacted with, ideally used for intros and outros. You can choose to either have your NPC completely static, or cycle through an animation at a specified speed. To specify the animation speed use the slider below the preview window. 

Placing and orienting your NPCs are done the same way as placing the furniture.

Placing Enemies

In the third tab called "Enemy" you get to place enemies. At first you may want to choose which faction of enemies you want to use (some player characters can only fight one specific faction). To do so, simply click the arrow buttons right beneath the "Enemy" tab.

Once you've chosen your faction you see a bunch of different enemy types. Each enemy type has a different AI behavior. The behavior should be apparent by each types label, but there is also a brief description of the selected type beneath the enemy selection window.

Most enemy types have a set of check boxes that will appear beneath the enemy selection window. Here you can choose what weapon you want the enemy to carry. Note that we have separated enemies with guns from enemies with melee weapons.

It's important to note that human enemies patrol anti-clockwise while dogs patrol clockwise. This means you have to place patrolling enemies accordingly.

Placing Weapons

To place weapons on your level, go to the "Misc" tab. The weapon selection window will show what weapons are available for the character and enemy faction you have chosen. To place a weapon simply click the one you want in the weapon selection window and then click in the grid area.

Placing the Player

To place the player character and vehicle, go to the "Level" tab. The first window you will see on your left is the character window. If this window is empty it means that you don't need to place the player character in order for your level to work. If you want to place a specific player character (let's say Corey from the Fans or give Jacket a pre-selected mask) you will see arrows in the character window if you hover your mouse over it. Click the arrows to cycle through the available masks, characters or styles.

In order to place your character the character window will need to be active (shown by a yellow border around it). To activate the character window simply click it. Once the character window is active you can click anywhere in the grid area to place your character. The same applies to the vehicle window located to the right of the character window.

In the "Level" tab you can also change the author of the level, add a date and location, enter the maximum score for your level (which will be used to calculate the grading for people playing it), as well as quickly change the title of your level.

You will also see a blank cover next to these text fields. By clicking it you can select a custom cover to be used for your level in the Custom Level Selection screen. Your covers need to be stored in the following folder to be available: /my documents/my games/hotlinemiami2/covers. It's also very important that your covers have the required size (34x57 32-bit PNG) otherwise it will not appear.

Finally, the "Level" tab has the tool you will need to use to create transitions between floors in a multi floor level.

Creating Multiple Floors

To create a level with multiple floors you first need to go to the Top Menu, go to the Level Menu and select "New Floor". This will bring up a new empty floor, and if your previous floor had any walls, these should be shown in green (if the wall guide is enabled) to easier let you design the layout of your new floor. Make sure you design a clear transition area that connects between the floors (like a staircase). In the lower left corner of the screen you will see two or more of these symbols marking how many floors your level has and which floor you are currently editing.

Once you're done designing your new floor it's time to add a transition point. This can be a little bit tricky as you have to make sure you place them correctly or you may trap the player in a loop. To start with, click the Floor Transition button found under the "Level" tab. Your mouse pointer should now be a line with two arrows pointing in opposite directions.


If your staircase is leading up or down, you want to have a horizontal transition point (horizontal line with an arrow pointing up and one pointing down). To change the orientation of the transition point, hold shift and click the right mouse button. Once you have the correct orientation, hold your mouse pointer where you want to place the transition point, then hold down your left mouse button (and don't release). While holding down the left mouse button you can move your mouse up or down, this will make the bobbing arrow point in the direction of your mouse and indicate which direction you want the player character to move while transitioning between floors.

Once you're satisfied you release your left mouse button. A menu will pop up asking what floor you want your transition point to connect to. If your level only has two floors, the correct floor will be pre-selected.

Now it's time to add a transition point from the second floor back to the first. This is where you can accidentally create a loop between floors. In order to avoid this, make sure that the transition points are pointing away from each other, and that they don't overlap. If the transition points are pointing towards each other, the player can easily become trapped in between them.

(This is a correctly placed transition between floors)

Adding Juice To Your Level

Once your level is done, you might want to add some extra flair. The level editor has a set of different graphical effects to spice things up. Head back to the Top Menu.
In the Level Menu here you can add things like rain, darkness, change background and sunshine. While most are easy to toggle on and off, a couple might need a short explanation.

Start by clicking "Add Rain". This will make rain start falling down on your entire level. If you would like to keep the rain from falling in certain areas (like in-door environments), you can now click and drag over areas you want to stay dry. Once you're done, right click to go back to editing your level.

 Adding darkness works pretty much the same way as adding rain. Simply click and drag over the areas you want to be dark, then right click to finish.

Creating A Campaign

Once you have a couple of levels you may want to turn them into a campaign. Start by naming your campaign (it's easy to forget this), and if you want you can click the box cover displayed on the right to add your own custom box cover art. Your covers need to be stored in the following folder to be available: /my documents/my games/hotlinemiami2/covers. It's also very important that your covers have the required size (41x65 32-bit PNG) otherwise it will not appear.

Each level in a campaign consists of three parts. An intro level, a main level, and an outro level. The intro and outro parts are optional, but there must always be a main level. None of the parts need to be cutscene focused or gameplay focused, you can mix it up however you want. Press the add button next to each part to select one of the levels you've made.

Once you've added the parts you want you can choose to add a new campaign level by pressing the "+" button. Your campaign now has two levels. Now you need to specify intro/main/outro for the new level as well. If you want to delete a level, press the "-" button next to the "+". Note that pressing "-" will remove the level you added last, not the level you are currently viewing. So make sure you don't screw up the order of your campaign.


Once you're satisfied with your campaign you can add credits. The credits are displayed at the end of your campaign. Enter a title and a name for each person contributing to your campaign and press add. The credits will be listed in the credit preview window. Once your credits are done press the lower add button.

To save your campaign, make sure to press "Save".

Cutscene Editor

We will try to write about how to use the Cutscene Editor early next week, and if possible post some video tutorials (haven't been able to get video capturing to work so far). Jonatan has a toothache and needs to see the dentist tomorrow, so we have to call it quits for now. This should help you get started for the moment, and the cutscene editor is still available if you would like to experiment with it on your own.

tisdag 1 december 2015

10 more days.


So everything is moving along nicely and we will have a build ready for you on the 10th:)

The main level creator is working fine now but the cut scene part of the editor still has some wonky behavior. This is mainly because of all the different combinations and scenarios that is available. We are trying to test as many of them as we have time (and imagination) to create but there will be some weird stuff still in there on the 10th for sure. Please have this is mind when you start playing around with it and please report any bugs you find!

Thanks for your time and see you on the 10th :)

Peace // Dennis

tisdag 17 november 2015

Beta releasedate!


The testing period for the Hotline Miami 2 level editor with Testronic is over and we are very happy with the results! There were tons of bugs found and fixed so the core of the editor feels very stable now. While the cut-scene creator and campaign editor still have some nasty bugs, Jonatan and Abstraction are going to take care of them soon and get those features all smoothed out as well.

So without any further delay we're excited to announce:


We've added some extra time just to make sure that the date won't be pushed anymore. Thursday the 10th of December is the day. More details soon!

Some important information:

1. The beta is on STEAM ONLY. The forum makes it easier to gather bugs and the automatic update makes sure everyone is playing the correct version.

2. The beta is WINDOWS ONLY for now. The editor will support Mac and Linux later on. No editor for PS3, PS4 or Vita.

3. WORKSHOP IS NOT AVAILABLE AT THE BEGINNING but will be added later. Levels can be shared locally by sending the level folders around.

4. EVERYONE CAN GET ACCESS TO THE BETA WITHOUT INVITE! So we don't need your Steam information or anything, you do this yourself when it's available. More info on how you do that on release date.

5. ALL CONTENT IS AVAILABLE FROM THE START (some minor features will be added later).

6. NO PROMISES THAT LEVELS MADE IN THE BETA WILL CARRY OVER TO THE FINAL VERSION. Things will change during the course of the beta as we fix and update the code, so no promises that levels will stay the same or survive the whole trip.

7.THE PLAN IS TO HAVE THE BETA OPEN DURING DECEMBER TILL EARLY JANUARY and then have final version out shortly after that.

8. NO CUSTOM MUSIC EDITOR. If we let people get free music when they download levels we are viewed as a illegal file sharing tool. There is also impossible to make sure that if people added a track that the artist of that track is cool with the fact that he/she/they are in HLM.

9. NO CUSTOM SPRITE EDITOR from us but other people have already created their own and they work great:)

10. The plan is to have VIDEO TUTORIALS up before the 10th (or quite soon after) but I think you will figure out most of it without our help ;)


Take care // Dennis

tisdag 3 november 2015

Editor Update: QA session

Hey everyone!

So here comes a small update on the editor.

For the last two weeks the editor has been in proper QA session with Testtronic. They have done a solid job which lead to us having quite a lot of bugs to fix. There were more than we had hoped for but glad we found them now so they are fixed till you get to play with it.
The bugs we found are not only small mistakes but a lot of stuff that keeps crashing the game or fucking with performance. Stuff like that is never fun for a beta, I mean it should be as stable as possible.

The testing will continue for two more weeks and we +Abstraction will keep fixing bugs and errors that are discovered.

Sadly this means you'll have to wait a bit longer... I know, I know. Making an editor was a bigger task than we could have ever imagined and it feels terrible that we have pushed the release date so many times now. We are sorry for that and we apologize that the time frame turned out to be unrealistic.  But in the end and what is most important for us is that we make sure that the tool we release is something we can stand for and be proud of.

The editor is not canceled, it's not dead, it's not too big of a project to complete.. it's just not quite were it needs to be. But it will be!:)

I hope you can understand! I will have a new update for you in two weeks when the testing is over!

Thanks for sticking with us and for being exited about the editor! It helps when it's been straight uphill for a quite a while now!

Peace // Dennis