It’s quite self-explanatory, but here’s the details:
Left click sets the layer of an entity you are looking at to the layer you selected in the panel.
Right click sets the layer of yourself to the selected layer.
Selecting a layer is as simple as clicking the rectangle of the layer you want to select. Your currently selected layer will be colored blue like this:
From the left to the right, the icons mean amount of entities, layer owner and players in the layer. Layer owner is redundant right now, because the layer name specifies the owner, but this will probably change in the future.
Every player is able to manage a single layer. When it is removed by the owner or because the owner disconnects, the entities in the layer will be removed and the players in the layer are moved to the default layer. The default layer is owned by the world and is always available to anyone. It is also the layer people will spawn in.
Since this is a beta release, there’s several known issues.
[ul]Visiblity hook fails sometimes[/ul]
[ul]Lights of the jalopy, physgun beams and particle effects are visible through all layers.[/ul]
[ul]E2 holograms are also visible through all layers, but this might be kept that way for convenience.[/ul]
[ul]Unmodified player name scripts just show player names through all layers[/ul]
These will be looked into as soon as possible.
Fun things to try out
[ul]Sneak into someone’s base[/ul]
[ul]Try spawning a camera in one layer and looking through it from another layer[/ul]
[ul]Build a huge fortress spanning over multiple layers[/ul]
[ul]Full layer management (Players allowed to join, title of layer, props that can be spawned in your layer)[/ul]
[ul]Clientside settings saving, so you can carry your layer from server to server[/ul]
You need to have [``` gm_guardian ```](http://azuisleet.gayluadad.net/gmode/gm_guardian.zip) installed on the server!
After downloading it, just put gm_guardian.dll in lua/includes/modules and you’re set.
Servers running Layers for demonstration
I’d like you to give it a try in singleplayer or on your own server and tell me about any bugs you encounter. I’m especially interested in how much lag it causes, so check that out too. Finally, feature requests are also more than welcome!