March 2021
Posted 3 years ago
Installing stuff sucks. Imagine if you had to install a website before you could visit it. That's my attitude with gamemodes and maps in s&box.

I got the meaty bit of gamemode downloading working this month. The game will now automatically download from GitHub. This is a fun milestone for me because it means we can start making stuff and trying to impress each other.

This is mostly invisible to the end user, to the point where you can do "gamemode dm98" in the console and then "map testmap" and it'll automatically download dm98 and you'll be playing within 5 seconds.

Don't believe me? Check this out (dm98 isn't downloaded)
attribute 'contenteditable' not allowedattribute 'blocktype' not allowed
Obviously this is ridiculously quick because the gamemode is only 500kb, but keep in mind in this small loadtime it's querying github for the latest version, downloading it, unzipping it, compiling it and then finally running it.

Workshop


The talk of GitHub might get people worried that we're not using workshop anymore. We're still going to use it, but as one of many options. 

Whether you want to upload your gamemode to workshop, GitHub, a zip on your website, it makes no difference. As long as we can download it.