I think core.vbs and the rest of vbs files need an update for VP91x
Not only to fix bugs, like the flipper subs which don't work in
VP9, they were written for older VPs.
There are so many things that could be added, like this nudge, tracking the balls, creating balls with an extra parameter: ball size, etc
The problem is that the new core.vbs won't be compatible with older
VP, this is why I think a new set of vbs files should exist, like core91x.vbs, wpc91x.vbs, bally91x.vbs, etc. A pity I don't know enough to make them myself.
JP
At first i thought this:
CODE
Thumbs up.
I think this would be the right way to not break existing tables. Just use coreV101.vbs in your scripts. I disagree that there should be only one core.vbs. But i think that tables should not bring their own core.vbs... That would be bad. Only "accepted" corexxx.vbs should be used by the authors. IMO.
That's how most game consoles run today: The Games says - Hey, I'd like to run on a Wii-System 4.2 -> so a virtual machine for the game with 4.2 is created. Another game says hey: I'd like to have 4.3 If the Wii has no files for 4.3 it throws an error: Please Update the system.
I think that we should add some versioning to the vbs files, but someone has to manage this and start a "project" (with betas, testing and releasing new versions) for this.
But after looking at the core.vbs, I think I might disagree with myself:
Since the core.vbs are just classes, they maybe could be updated (without creating completely new versions) without breaking existing tables. The ballstack for example could have a public field for ball size. But i have to admit, that i don't understand core.vbs fully and that's why I'm not able to judge about this.
So this is really only a thought. Maybe I'm totally wrong here.
I think that updated vbs files should not update features, so that they change how they are working (like "core.vbs with better nudging"), but they should be updated with new features (like "core.vbs with more optional!!! options for nudging" or "core.vbs with a new public field in ballstack for sized balls").
I do agree the core.vbs could use an upgrade, but I'm strongly opposed to adding a nudge 'fix' in the .vbs.
As I mentioned earlier, the nudge needs to be fixed in the code of
VP, not an external script, and here's why ...
Let's say the nudge does get fixed and the core.vbs includes the nudge workaround. This could create serious problems for those unaware what the core.vbs even is.
Let's try to keep things that are considered preference out of the core.vbs, and stick to just the very basics. That's what core means.
If you'd like to put together a script that can simply be called upon from within the
VP script, I'd very much like going that route, instead. So, blur, your nudge script would be a welcome addition to the scripts section, but as a separate, optional script.
Would that be alright?
After I really thought long about this: I don't think that nudging has to or should be "fixed" in
VP.
So I disagree here. If we "fix" the nudge system inside
VP, all scripts/tables that now try to "fix" this current nudge system will not work anymore. Maybe we should get more options for controlling the ball, the physics table and visual table via script.
Maybe i'm also wrong here, but i personally don't think that nudging is very bad in vp (for playing on a computer). I might agree, that the current nudges are bad for cabs, but they should be using analog nudge systems in my opinion. I know that analog nudging with a gyro is problematic at the moment (calibration, configuration), jitter, but maybe it is the right way to change this at first. (but i don't know if it is possible with current physics and Windows implementation of joysticks (I'd like to have the raw values instead of crappy calibrated values))
Cupid
Edited by cupid, 04 April 2011 - 09:49 PM.