Blockland Forums > Suggestions & Requests

Event system should be reworked.

Pages: (1/6) > >>

darkhog:

WARNING: This idea would require changes to core game so no addon will do there. Also it is complicated (in implementation, not using it afterwards), so both I and you shouldn't expect it anytime soon (if at all)

That being clear, I think event system in Blockland should be overhauled.

For example On* events (OnRelay, OnPlayerTouch, etc.) should be able to take parameters. This way we could change OnRelay into OnMessage that takes string value as parameter and have SendMessage event that would take string parameter as well. Then OnMessage would react only in following cases:
- If string parameter of OnMessage is empty
- If string parameter of OnMessage matches one sent to it by SendMessage event.

This way we wouldn't need to make mods that adds things like "OnFireRelay2", "OnFireRelay3", etc., like this mod. Sure, it adds only one OnRelay-like event, but general mechanism is the same.

Also this change would make some mods, like VCE easier to use.

Which brings us to...

2. Build-in VCE-like solution. At least simple changing/adding/subtracting from variables and of course comparison. In my opinion such events should be part of core game, which would allow for better integration and easiness to use than third-party addon.

3. Change way named bricks dropdown list works. If there are lots of named brick groups, it is hard to find one you are looking for. Instead, it should do what some sites and filemanagers do - give text field and as you type show on much shorter list blocks that matches what you entered, shorter as you type. This is only item of the list that might be able to be changed by addon, although it may not be possible either without changes to core game.

Greek2me:

I've been saying this for years and I've just been ignored :/

edit: Here, I'll just paste my original OP here.



--- Quote from: Greek2me on August 10, 2011, 04:01:21 PM ---This is not a suggestion for add-ons! This is a suggestion for Badspot to include in a future version of Blockland.

Input Event Parameters - By Truce

They'd open up tons of new modding opportunities and clean up the input event list by allowing a single event with a parameter to take the place of many events.

An example showing the changed Events GUI. Note the parameters on the left.


There hasn't been an update to the event system in a long time, and I think this is extremely needed.

--- End quote ---


MARBLE MAN:


--- Quote from: Greek2me on February 28, 2013, 11:29:36 PM ---I've been saying this for years and I've just been ignored :/

--- End quote ---
lol, it is the same for alot of the requests :P
--edit on your part
woah,
This doesn't have to be part of the core game, the original events were not.
All you need is a fancy gui and some many, many, special functions and your good to go!

Greek2me:


--- Quote from: MARBLE MAN on February 28, 2013, 11:31:49 PM ---All you need is a fancy gui and some special functions and your good to go!

--- End quote ---

It's not quite that simple - look at the link to Truce's Input Event Parameters that I posted above.

MARBLE MAN:


--- Quote from: Greek2me on February 28, 2013, 11:32:55 PM ---It's not quite that simple - look at the link to Truce's Input Event Parameters that I posted above.

--- End quote ---
I was, and truces links to space guys post


Pages: (1/6) > >>

Go to full version