Author Topic: VCE remake  (Read 1486 times)

A thing happened to vce (i forgot what) and that it has a big bug with it and it means we wont be able to use it
So anyway /title
I need vce for certain games like weapon shops for endless zombies
There needs to be another vce for blockland

What are you talking about? VCE works fine for me.

What are you talking about? VCE works fine for me.
Me too, but I think VCE could do with a remake. The eventing system seems to be just too restrictive for advanced projects, though. There are a number of solutions, both here are my favorite two:
1) In-game scripting
I know you can use eval(code); to evaluate any TorqueScript, but obviously it can't be placed on a brick and an eval event is a horrendous idea. I would love for the ability to assign scripts to bricks, and it would be far more flexible than eventing. For obvious reasons, it should be Super Admin or even Host-only. Obviously, TS would be much easier to implement than an actually decent programming language (seriously, TS is a pretty stuffty language but there's nothing Badspot can really do about it, assuming he'd want to), but Lua, Python, hell even ECMAScript/JavaScript would all be much better for users. Very flexible, but not particularly user-friendly. That said, programming is very simple if you care to spend 10 minutes learning them.
2. Block logic
If you've ever played LittleBigPlanet 2, Garry's Mod with WireMod, or even toyed with Unreal Engine 4, you know about the idea of tile/block logic. Essentially, you place down logic gates, inputs, and outputs, and wire them together to get the desired effects. Here's a thread describing it. It's much more graphical and each tile can be adjusted, so user-friendliness is great, but will probably be more time consuming than code-writing for both the user and author.
3. Just use the current system
"If it ain't broke, don't fix it." VCE seems to work pretty well as it is, and while it's not the most readable thing in the world, it certainly works. If someone put enough time in to create a more polished version, I think we could get away with the current system. Unfortunately, it will probably be less flexible than both of the other systems, and the inability to specify arguments on inputs is a MAJOR drawback.

1) I can easily create an output event that evals stuff and is SA only.
2) By logic do you mean the bricks that take after wiring circuits? Because one of those exists.
3) What exactly is there to polish?

1) Yes, and it will be failed immediately like the other two eval events. Also, writing an entire script in those itty-bitty text boxes would be a nightmare.
2) No, not physical bricks. A graphical editor per brick. As I said, just like LittleBigPlanet 2 - each brick has like an internal microchip. Visit that thread, especially the second page.
3) VCE just seems really messy to me, to be honest. The whole variable/value distinction is blurry and it takes me 3 tries to remember whether to use <var:bl:gold> or gold and setVariable or setValue. A huge, huge drawback of VCE is the inability to test variables on every player at the same time. Named bricks were weird, arrays should be implemented, maybe even dictionaries, that kind of thing. VCE isn't bad, but it isn't perfect or even optimal either. There's a reason it was removed from RTB, and that's because it was a hack. Its entire purpose was to work around the event system - using events - rather than with it.
« Last Edit: July 15, 2014, 11:23:17 PM by TristanLuigi »

Visit that thread, especially the second page.
uh
Here's a thread describing it.
did you notice that you didn't actually put a link here

Well I am having trouble with VCE on my server.
It triggers events on other bricks for some reason.
This happens with the ifVariable and OnVariableTrue/OnVariableFalse events.
Also, setting a var doesn't always work.

Maybe because I use tons of those, I don't know, but still it is a weird bug.


What I'd like to see is Badspot making his own version of it and making it default.
Like he did with the original Wrench Events and the bots.
He doesn't have to start over (although that would make more efficient), just optimize a lot of it.

There's a reason it was removed from RTB, and that's because it was a hack. Its entire purpose was to work around the event system - using events - rather than with it.
No. The creator removed it.

No. The creator removed it.
yeah, but that's kinda why. he decided he didn't think that was how the event system should be used, or something

-snip-.


Can you please put the link in? I would like to learn them.
« Last Edit: July 16, 2014, 02:14:33 PM by Ducky duck »

EDIT: forget didn't see the edit button

What are you talking about? VCE works fine for me.
I once tried to make an event add a variable but instead it just sets it
and that is a big problem
« Last Edit: July 16, 2014, 03:32:06 PM by (minecraft) »

I once tried to make an event add a variable but instead it just sets it
and that is a big problem
You were doing it wrong, that was the problem.

Well I am having trouble with VCE on my server.
It triggers events on other bricks for some reason.
This happens with the ifVariable and OnVariableTrue/OnVariableFalse events.
Also, setting a var doesn't always work.

I've got this issue on my friend's server, but not on mine, even though I gave him my VCE ZIP.  It might be a conflicting addon.

3) VCE just seems really messy to me, to be honest. The whole variable/value distinction is blurry and it takes me 3 tries to remember whether to use <var:bl:gold> or gold and setVariable or setValue. A huge, huge drawback of VCE is the inability to test variables on every player at the same time. Named bricks were weird, arrays should be implemented, maybe even dictionaries, that kind of thing. VCE isn't bad, but it isn't perfect or even optimal either. There's a reason it was removed from RTB, and that's because it was a hack. Its entire purpose was to work around the event system - using events - rather than with it.

You are only having problems because of lack of practice.  ifVariable is always associated with the word form, and ifvalue is always associated with the VCE variable form.  I do wish there was some way to easily check all players at once.  I also always wanted more VCE-implementation in other events (could easily be accomplished by increasing the text box size).  But over all, VCE is fantastic and should not be changed nor remade. 

Also, wasn't VCE removed from RTB as per requested by the creator?
« Last Edit: July 16, 2014, 05:40:53 PM by Gen. Hothauser »

What I'd like to see is Badspot making his own version of it and making it default.
Like he did with the original Wrench Events and the bots.
He doesn't have to start over (although that would make more efficient), just optimize a lot of it.
I thought the mod took the idea from badspot before he was done?