Drilbert

Drilbert

Not enough ratings
Drilbert modding guide
By wheybags
Official documentation on creating a mod for Drilbert
   
Award
Favorite
Favorited
Unfavorite
Basics
  • Drilbert mods are a pack of custom levels
  • Drilbert levels are in the tiled editor[www.mapeditor.org] .tmx format
  • You can create a template mod to edit by opening the modding menu and selecting "Create mod"
  • Your mods (that you can edit and upload) are stored in "%YOURSTEAMDIR%/steamapps/common/Drilbert/mods". Workshop mods you have downloaded are stored in a magical steam folder that you don't need to care about.
Making a level, step by step
  • Create a mod by going to the modding menu and selecting "Create mod". This will create a mod called "Example mod". If you already have an "Example mod", then it will create "Example mod 1", "Example mod 2", etc.
  • Open the mod menu for your newly created mod, and select "Open mod folder". The mod folder should open in your system file browser. You can poke around and have a look at the files here to see what they do.
  • Go back to the main modding menu, and select "Level editor". The Tiled editor should open.
  • In Tiled, go to View -> Views and Toolbars, and make sure "Project" is enabled. You should now have a view like this, with a list of all your mod files, as well as the base game levels, in the left bar.
  • Go to File -> New -> New Map. Enter the settings shown below:
  • Click on the "Stamp Brush" tool
  • Click on a tile. Don't use the tiles highlighted in red.
  • "Blue rock #2" is for when you want two pieces of blue rock beside eachother, but you want them to be separate. In this case, make one of them out of normal blue rock, and the other out of "Blue rock #2" tiles.
  • Paint some tiles in the viewport. Make sure you include a spawn and a flag.
  • Let's give the map a title. Go to Map -> Map Properties. Then right click in "Custom Properties" and "Add property"
  • Set type to "string", and property name to "title".
  • Now type your desired map title.
  • Save the map. Make sure you put it in your mod's "levels" folder.
  • Open the levels.json file in a text editor (eg notepad)
  • Add a line for your new level file, and save
  • Go back to the game, and start your mod. Your new level should be present!
  • When you make a change to your level, you don't need to quit and reload. Just save the map in Tiled, then switch back to Drilbert and press the 8 key on your keyboard to reload the level file.
Steam workshop
  • In your mod folder, edit cover.png as you see fit
  • In game, select "Upload to workshop" in the mod menu
  • Wait for the upload to complete, and then you should be looking at your workshop page in a browser inside the in-game overlay
  • Add some screenshots and a description in your browser, then make sure to set the item as visible
  • Congrats! You uploaded a mod!