Posted September 05, 2019 by Mouse Hat Games
Last week I talked about LICC, a common console framework for the client and server that takes care of registering and running commands defined by mods or by the game itself. This week I’ve been extending LICC by adding LSF (LICC Scripting File), a scripting language heavily inspired by Bash. It’s got functions, variables and if
, for
and while
statements, as well as most of the usual math and boolean operators (including the ternary operator). Here’s a sample file:
LSF is completely integrated into LICC, meaning that you’ll be able to use the same script file on both the client and the server!
You can run any script file at any time with the exec
command and in LSF files you can also import other script files, allowing you to reuse code. LICC will also automatically run a script called called autoexec.lsf
on startup if it exists, allowing you to modify settings or run maintenance tasks.
I spent most of this week working on a total overhaul of Logic World’s input system. The input system is what translates your controls in real life, like clicking the mouse or pressing a keyboard key, into actions in the game. I’ve focused on customizability with the new system. I want everyone to be able to configure the game’s controls to how they want them, or - in the case of people with motor disabilities - how they need them.
Here’s an overview of how the system works:
space
, and the fly up action is bound to jump.In addition to being far more personally configurable, the new input system has several advantages over the old one:
Unfortunately I didn’t have time this week to make the in-game menu for editing the controls, but you can expect to see that next week. In the meantime, you can check out the bindings file - all 79 of our configurable controls.
If you’d like to receive an email each time we post one of these blogs, you can sign up for our newsletter. Be sure also to join the official Discord.
See you next Wednesday!