Virtual Buttons for Admins

A place to record your ideas for the game.
Post Reply
User avatar
AnonymousNow
Joined: Tue Jul 15, 2014 1:41 pm
Byond Username: AnonymousNow
Location: Neptune

Virtual Buttons for Admins

Post by AnonymousNow » #132330

Situation - admin wants to run fun event.
Problem - event involves spawning a bunch of X with Y and Z modifiers (people or NPCs in certain equipment, items that do a certain thing etc.).
Previous Solution - spawn each of those things manually, taking sweet damn time and allowing a stubbed toe player to ruin the round for everyone.
Suggested Solution - programmable virtual buttons!

Virtual buttons would be like HUD elements that work like solid items or machines; you place them, and then assign a function to them which takes place every time they're pressed. As an admin, you can bring up a layer which shows all the virtual buttons created in a round - nobody else can see them unless they're an admin and they've brought that "layer" up. They come in either HUD or map flavours - ie, they either stick to your screen like other HUD elements (inventory etc.) when you have the VB interface up, or they stay in a specific place on the map that you can fly your admineye back to.

As an example, say an admin wants to create an army of cultists, but with wizard spells and wearing wizard armour, equipped with different staves. Instead of spawning the people and objects individually every time, you create a button, and put each individual element (random human body; random ghost; cultist faction; random stave; wizard armour) onto it. When you press that button, you create one of those. Simple.

And in a round, a quick admin can create a bank of these for various things, like events and so on, and use them far quicker than spawning things individually. These banks can be like toolbars on the HUD, or actual rooms in-game.

What do you think?
Hornygranny wrote:It's not your codebase. It's our codebase. You can imply soft power as much as you want, but you don't have it. Division between the server and project is absolute. I'm not interested in reading dezzmont platitudes for the billionth time and won't be checking back in this thread.
Image

Image
Spoiler:
~Simplified for the sake of Wyzack's delicate feelings~
Fuck anti-roleplay suggestions and fuck Bay.

Xenomorphs a shit.
LiamLime
Joined: Tue Aug 25, 2015 12:59 pm
Byond Username: LiamLime

Re: Virtual Buttons for Admins

Post by LiamLime » #132397

Additional suggestion: Make the button contents either savable or exportable+importable; This is so you only program the button once and can then use it again in subsequent rounds.

This is doable, just not trivial. One way to do it would be with a console - think cs:go console. The important admin commands can get added to the console and admins can create macros. Technically this could be done with the ingame console (the one where you write say "butts"), but I somewhat doubt it could work properly. Anyway, the console approach would be a generic solution, which would allow other stuff to be mapped to it, it's however also one that would take a long time to code, so a more specialized, narrower solution might be good enough.
The bureaucracy is expanding to meet the needs of the expanding bureaucracy.
User avatar
ChangelingRain
Joined: Thu Apr 17, 2014 3:36 pm
Byond Username: ChangelingRain
Github Username: ChangelingRain
Location: The biggest lake

Re: Virtual Buttons for Admins

Post by ChangelingRain » #132401

This is basically the sql query stuff but as buttons, isn't it?
Plays Joan Lung and various AIs and cyborgs with mythology and magical creature-themed names. Joan on IRC.
earth-clawing illuminati trans girl
LiamLime
Joined: Tue Aug 25, 2015 12:59 pm
Byond Username: LiamLime

Re: Virtual Buttons for Admins

Post by LiamLime » #132403

The way I understand it it's just being able to do multiple things with a single button press - a macro, just that you aren't typing letters, you're setting off a pre-recorded set of commands. SQL is just a language that retrieves data for you.
The bureaucracy is expanding to meet the needs of the expanding bureaucracy.
User avatar
AnonymousNow
Joined: Tue Jul 15, 2014 1:41 pm
Byond Username: AnonymousNow
Location: Neptune

Re: Virtual Buttons for Admins

Post by AnonymousNow » #132416

Yep, pretty much macros - except they're macros for spawn triggers, be they events, effects or mobs, that are easily sorted and tied to an interface which a savvy admin could even, say, allow an observer to see and interact with.

In other words, being able to see and use the otherwise invisible macro-machine "layer" of the map, which requires being in a particular state that an admin can activate for themselves or select others.

It's not just the tools - it's the environment, too.
Hornygranny wrote:It's not your codebase. It's our codebase. You can imply soft power as much as you want, but you don't have it. Division between the server and project is absolute. I'm not interested in reading dezzmont platitudes for the billionth time and won't be checking back in this thread.
Image

Image
Spoiler:
~Simplified for the sake of Wyzack's delicate feelings~
Fuck anti-roleplay suggestions and fuck Bay.

Xenomorphs a shit.
Post Reply

Who is online

Users browsing this forum: No registered users