Jump to content



Photo
* * * * * 1 votes

New core.vbs with better nudging


  • Please log in to reply
103 replies to this topic

#41 baconcc

baconcc

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: United States of America

  • Favorite Pinball: Monopoly

Posted 15 March 2011 - 01:26 AM

PART 2 --- Great Work blur!

A. There is definitely going to be bounce with any plumb bob or mercury switch type device. Depending on how the table is nudged ie: force (magnitude, direction and frequency), you may get multiple strikes in the same direction or any combination of directions.

The best way to see this is to use any windows program to record keystrokes as you nudge your table experimentally. Excel (spreadsheet) works great for this because you can click on a new cell to record the results of each nudge. Like this:

Keystroke = Result
/ --- Right Nudge
{Space} ---Forward Nudge
Z --- Left Nudge

Experiments and Results (Note these experiments are to help you understand and calibrate the characteristics of your nudge sensing device. This has nothing to do with any of the pinball table software. Experimentation with that should come only after you understand and calibrate what your nudge sensing and input device is doing).

Note: Since I cannot show you a {Space} I will use this for {Space} = "_"

Ideally you should see a single "/", "Z" or "_" appear for a keystrokes

Experiment ( Right Nudge)

Ideal Result: /

Typical Results (from a single point Plumb Bob)
Trial 1: ///
Trial 2: /
Trial 3: ////
etc......

Typical Results (from a special 3 point Plumb Bob/mercury switch or from multiple plumb bobs/switches)

Trial 1: ///
Trial 2: /_/_/
Trial 3: //Z?
etc......


Experiment ( Left Nudge)

Ideal Result: Z

Typical Results (from a single point Plumb Bob)

Trial 1: ZZZ
Trial 2: ZZ
Trial 3:
etc......

Typical Results (from a special 3 point Plumb Bob/mercury switch or from multiple plumb bobs/switches)

Trial 1: ZZZ
Trial 2: Z/Z
Trial 3: Z_/Z
etc......

Experiment ( Forward Nudge)

Ideal Result: "_"

Typical Results (from a special 3 point Plumb Bob/mercury switch or from multiple plumb bobs/switches)

Trial 1: ___
Trial 2: __
Trial 3:
etc......


Typical Results (from a special 3 point Plumb Bob/mercury switch or from multiple plumb bobs/switches)

Trial 1: ZZZ
Trial 2: Z/
Trial 3: Z/_Z/
etc......


The point is that just because you nudge the table physically, this does not automatically translate into a "nudge hit" registering to the software. Experiment with this first to see what your nudge sensing device is actually registering.

On any given nudge, the software may or may not be getting the proper key register. If you are using a plumb bob or mercury switch, more than likely the software is not receiving a perfect input each time you nudge the table.

You can even register right nudges from a left nudge or forward nudge...etc....... This is not a software/physics problem.

With the multiple sensor set ups, you have adjustment capability. Use this up-front experimentation to calibrate what your nudge sensing device is actually registering thru the keyboard emulator.

Physical adjustments:

Mercury switches - Adjust orientation and slope angle
Plumb bobs - Adjust bob height, center ring, tape, etc.....

Try to get as close as possible to the "Ideal Result" by experimenting with actual physical nudges of your table. Perform calibrations of your sensors and try some more.

Do not mess with the software until after you get your nudge sensing and input devices calibrated (NSID's).



QUOTE (blur @ Feb 11 2011, 03:08 AM) <{POST_SNAPBACK}>
Actually i think only 1 config is real - and that is full counter force (100% or hardcore).

But here comes the problem - in vp9 AND fp nudging was one directional and sometimes in wrong directions from the start
(BTW in FP you can fix all nudge directions by tuning physics xml inside the exe but you can't have counter force - only with analog joystick).
So what we have now is two applications that nudge like crazy and people that got used to it and like it.

Since I don't want to take anything from people and since i don't like when someone takes anything from me (like microsoft when he took away menus from office 2007 and internet explorer - i hated that, still hate it and use firefox smile.gif) i made default without counter force - no big change and no questions from angry users and we keep peace in house AND you can keep FP and VP nudge almost the same so that you have consistent feel on your cab

But every one that likes it can set counter force to 100 or less (or more smile.gif)
Or anyone that has trigger happy bulb can increase filter time to more then 200 milisec.
or anyone that likes to nudge hard can set nudge interval to less then one second.

for competitions - i think 2 mods are just enough -
1. defaults
2. hardcore
I don't think each table should be made in 5 versions since that's just too much waste of bandwidth and space, instead you can just have few version of core.vbs and use them whenever you like.

Editing core.vbs is peace of cake - you just find section that begins with:
' set defaults for all tables here or change them from your table script
and change your values like you want them.
You don't have to install autohotkey or compile anything since this is visual basic script and not autohotkey script.


To see what people think i suggest to admins to add poll with options:

1. I would like to add this core.vbs 3.33 to mainstream scripts collection AS IS with above defaults
2. I would negotiate about some defaults and then add it to vbs files
3. I would not put this script in main scripts distribution


Oh, and BTW - please can someone with pinball wizard (exotic, noah) or any analog joystick (rawd, rascal) try if this script affects the PBW in any way (it should not - but just in case).

Best regards
blur



PART 3 Multuple Sensors on one Table CORE.VBS ver 3.33------------------------------

For the multiple sensors on one table ( I am using a 3 position plumb bob), here is what I found out with the Ver. 3.33 CORE.DBS settings:

NudgeInterval - This is the time interval in milliseconds (ms) beginning immediately after the last nudge is registered at which the table software resets the tilt counter.

Note: The tilt counter is normally set by the value named vpmNudge.sensitivity in the table script. This value represents the number of registered nudges the table will allow before tilting.

With this ver 3.33 CORE.VBS the vpmNudge.sensitivity seems to default to 5 no matter what number you put into the table script.

Example: (NudgeInterval=500) 500 ms = 500/1000 seconds = 0.5 seconds:

As soon as a new ball is loaded, a nudge counter is reset to 0. As soon as a nudge is registered by the computer, a nudge counter is set to 1. Each subsequent nudge that is registered gets added to the nudge counter, 2,3,4.... As soon as the nudge counter hits 5, the table tilts.

The ver 3.33 CORE.VBS allows you to reset this nudge counter to zero after some time internal. This interval is defined by the variable named NudgeInterval.

If the NudgeInterval = 500 then the nudge counter will reset to 0 every 1/2 second (500ms).

Higher values for NudgeInterval will simply wait longer before resetting the nudge counter, so the result is that the player is more likely to cause a tilt the longer he/she plays. The nudge counter will continue to count each nudge until either it is reset (by the NudgeInterval expiring), or it reaches a value of 5, at which time the table is tilted and the nudge counter is reset to zero.

If you do not like this feature, just set the value to 0.

The table will tilt after 5 nudges. Even if you play a ball for 25 minutes and only nudge one time each 5 minutes, you will get tilted.

My Experience - I found the NudgeInterval to work well at about 2000 (2 seconds). This assures a violent player will get tilted, but allows some false nudges and some real nudges, allowing a fair player to nudge occasionally without penalty.

TiempoFiltro - This is the time interval in milliseconds (ms) beginning immediately when the last nudge is registered that all nudge registers will be temporarily ignored or disabled.

Example: (TiempoFiltro=200) 200 ms = 200/1000 seconds = 0.2 seconds:

As soon as a nudge is registered, a timer is started. All nudges will be not register for this interval.

Once the TiempoFiltro time expires, an additional nudge will register.

So if your nudge results in your device sending two or more nudge signals to the computer, they will be ignored for a period of 200 ms after the first nudge is registered.

This is great for stopping the inevitable false and echo nudge signals from causing excessive ball motion. It also stops the any multiple sensors from triggering unwanted counter nudges. It also reduces excessive tilting and "deferred late hit" tilts from what could be a single small nudge

Undoubtedly this is causing much of the "bad physics" that many users experience with nudge.

My experience- With my multi-bob setup, I like this value set at about 3000 (3 seconds). My experiments prove that plumb bobs will bounce for at least 2 seconds even from a small nudge. Also, nudges can send multiple bobs bouncing in all directions causing all sorts of unwanted phantom keystrokes to be sent. Ideally, you only want the initial direction of the nudge to register once time. It is not realistic for an average human to expect to nudge a 300 pound table 3 or 4 times a second. Personally, I rarely nudge more than 2 times in any 3 second period, so I only give up may that second thrust. Other than that, it plays very real at 3000 for the way I play a real table.

Personally - I want to remove all of those unwanted registers that cause the ball to go wacky and make the table tilt 5 seconds after I did the nudge.... I hate that!!!

ReturnTime - This is the time interval in milliseconds (ms) beginning immediately when the last nudge is registered and when the reaction ball motion is initiated (Note: If ReturnPercent = 0, ReturnTime is ignored)

Example: (ReturnTime =100) 100 ms = 100/1000 seconds = 0.1 seconds:

As soon as a nudge is registered, the ball will be moved in the direction of the nudge. After ReturnTime interval a counter motion will be imposed on the ball in the opposite direction equal to the initial force X the value of ReturnPercent .

A right nudge will move the ball to the right, after 200 ms (ReturnTime) the ball will move back to the left some amount equal to ReturnPercent X the initial motion.

My experience - This feature is necessary simply to dampen the exaggerated movement of the ball imposed by the primary software. Without this, even a small nudge results in the ball occasionally moving way beyond reality. My experience with real pinball tables is that you cannot make the ball move that much with a nudge unless it strike something. I like to reflect this reality by setting the ReturnTime = 75 and ReturnPercent = 70.

This dampens the nudge quite a lot and makes the table and ball react as they should..........like heavy objects that have a lot of inertia. The inertia of a stationary object refers to its tendency to remain stationary. Heavy objects like real pinball tables and real pinballs tend to stay put when you bump them around.

ReturnPercent - This is the percentage of the initial nudge force that is applied as a reaction force moving the ball in the opposite direction imposed on the ball by the nudge.

Explanation and example is shown under the ReturnTime above.

Edited by baconcc, 15 March 2011 - 03:19 PM.


#42 Noah Fentz

Noah Fentz

    'Rasslin' Fan

  • VPF Administrator
  • 12,266 posts
  • Location:South Lyon, MI

  • Flag: United States of America

  • Favorite Pinball: Whitewater

  • PS3 Gamer Tag: noahfentz


Contributor

Posted 15 March 2011 - 01:37 AM

QUOTE (blur @ Jan 24 2011, 03:53 PM) <{POST_SNAPBACK}>
And now - QUESTION FOR ALL - do you agree that we put this core.vbs in next official release together with other vbs scripts and what would you suggest for default values for ALL users. Each one of us that saw this thread can fix their own settings to their own likings, but what should be default for all new users that will download vp and will never look at any scripts.
What return force percent, what tiempofiltro, shake or not (maybe to check if table is rotated and shake only if it's not rotated), and so on...?

So the question is should we make vp9 behave like vp8 (return 1) or put return force to 0 and use it as it is now, or somewhere in between (0.5)? Think about what would be best for MOST OF USERS?

PS: Did you noticed that for FP in a cab to nudge in same direction as VP you have to switch nudge keys?


I just noticed this today ... sorry, been busy.

I would have to say I vote no to that. The nudge needs to be fixed in the VP code itself, not through scripting. Implementing this in the core.vbs is merely a workaround, not a true fix. Let's keep it optional.

IdleReel.gif RumbleDMD.jpg HS2-DMD.jpg SBM.jpg ww_logo.jpg EK.jpg

 
T2.jpg Sorcerer.jpg Breakshot.jpg Firepower.jpg GorGar.jpg StarTrek.jpg


My Photobucket Resources
Whether You Believe You Can, Or You Can't, You Are Right." - Henry Ford
The future of pinball lives, it just needs to be nurtured!
If you're here to stab me in the back, you're going to have to get in line.


#43 baconcc

baconcc

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: United States of America

  • Favorite Pinball: Monopoly

Posted 15 March 2011 - 01:48 AM

Question for blur--

When I first loaded the new CORE.VBS ver 3.33 the tilt and nudge sounds were working. Later they stopped working. I suspected the problem you noted with media player. I reset my Windows 7 options to not associate MP3 files with media player and reloaded fresh the TILT.MP3 and NUDGE.MP3 files into this directory:

c:/Games/Visual Pinball/Music/

The file properties for TILT.MP3 and NUDGE.MP3 are MP3 and not media player now, but no sounds when I nudge or tilt.

I am testing with Monopoly only right now.

How can I get the sounds working again?

I prefer to do this for all tables at once with one change.

I really do not want to enter sound or change script for each table individually. I am happy with one sound for nudge and tilt for all tables.

Here is my script:

NudgeInterval = 2000 ' time in ms after which nudge count goes down
TiempoFiltro = 3000 ' nudge filtering time in ms
ReturnTime = 75 ' time after which return force bumps in
ReturnPercent = 70 ' return force strength 0-100
NudgeSound = "" ' sound has to be in table
TiltSound = "" ' sound has to be in table
NudgeMusic = "nudge.mp3" ' put this file in music dir
TiltMusic = "tilt.mp3" ' put this file in music dir
'StartShake ' uncomment to enable table shaking[/code]



What is the proper format for this command?

NudgeSound = "Plunger"
NudgeSound = Plunger
NudgeSound = "Plunger.wav"
NudgeSound = Plunger.wav

or ???

Do I need to do this?
NudgeSound = nudge.mp3

Are NudgeSound and TiltSound only used for setting up a single table?

Are NudgeMusic and TiltMusic the only way to make the sounds work in all tables?

PS: Thanks much for your work on this. I am beginning to understand this issue better. I hope eventually I can help everyone more.


#44 jpsalas

jpsalas

    Grand Schtroumpf

  • VIP
  • 7,300 posts
  • Location:I'm Spanish, but I live in Oslo (Norway)

  • Flag: Norway

  • Favorite Pinball: I like both new and old, but I guess I prefer modern tables with some rules and goals to achieve.



Posted 15 March 2011 - 07:26 PM

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

If you want to check my latest uploads then click on the image below:

 

vp.jpg

 

Next table? A tribute table to Stern's Foo Fighters


#45 Grizz

Grizz

    Art Guru

  • VIP
  • 1,105 posts
  • Location:Stony Creek

  • Flag: United States of America

  • Favorite Pinball: Fishtales, Theatre of Magic, Tales of Arabian Nights

  • PS3 Gamer Tag: Phishtales
  • 360 Gamer Tag: PrecedentEnd


Posted 15 March 2011 - 08:28 PM

Exactly JP :}
Table Artwork-Alien Poker, Baseball, Big Bang Bar, Black Pyramid, Comet, Dark Silverball, Grand Prix, Knockout, Monster Bash, Mini Cycle,
Road Race, Royal Flush, Royal Flush Deluxe, South Pacific, Space Invaders, Tales of the Arabian Nights, Whitewater

Original Table Artwork-7 Deadly Pins, Black Sabbath 70's & 80's, Cowboys&Indians, Hot Wheels, Iron Maiden, Royal Flush Supreme, Schizo, Seawitch, Theatre of Magic "Houdini's Revenge", The Munsters, Puzzlebox.

Dynamic Duo Artwork- Radical, Freddy A Nightmare on Elm Street, Mr.&Mrs.Pacman, No Fear, Star Trek 25th

Table Releases- Royal Flush Trilogy

Backglasses- Over 255 Remastered in Hires

http://www.arcadecru...ables/hyperpin/

By JR {Uncle Willys Art Guy} Ace9567 Dynamic Duo=[GrizzleGrindHackenbot]


Posted Image

#46 blur

blur

    Pinball Fan

  • VIP
  • 1,500 posts

  • Flag: Croatia

  • Favorite Pinball: Amazing Spiderman, Black Hole, Totem



Posted 15 March 2011 - 10:50 PM

great, we have some activity again on this thread

bacon tnx again for all the great explanations, and tests

for music files - i investigated a little, asked questions, and come to conclusion that vp takes only mp3 file from disk, wav has to be inside vp, it won't play wavs from disk - maybe it would be good addition for next version, maybe it works but i did not do it right

so to have one consistent nudge sound in all tables (that use doNudge function) i used nudge.mp3 and tilt.mp3.
vp is very picky and i found that i must not even try to play them in media player, only playing ruins them
you must test them only inside vp, any playing of that files out of vp will make them unusable
does this mean you can never hear your files, and if they don't work in vp you won't know wtf is going on

no, of course not

best method is to take some wav from some table export it - see if you like sound, and then convert it with something to mp3, and never play it AFTER conversion
that's how i made my files
though it would be much easier to use wavs cause playing mp3 on every nudge will probably stop your background mp3 music if you have it in the table
you have to remember to close all instances of vp when you change music files cause vp will lock them

on table basis you can set nudge sound from table script but remember that it is a property of cvpmnudge class so you have to do it like this:
CODE
    ' Nudging
    vpmNudge.TiltSwitch = 57
    vpmNudge.Sensitivity = 3
    vpmNudge.TiltObj = Array(Bumper1,Bumper2,LeftSlingshot,RightSlingShot)
    vpmNudge.NudgeSound ="sound name from vp sound list - without wav"


this is how you set all other nudge values also if you want to set them on a per table basis

jpsalas - about compatibility of core.vbs with old vp - if you add new things they don't have to be incompatible if you take special care to keep compatibility - for example you can throw in some ifs checking for version or introduce new functions and use that new functions from new vp tables and so on
i don't know much about this, never did any table, just guessing

Edited by blur, 15 March 2011 - 10:56 PM.


#47 Noah Fentz

Noah Fentz

    'Rasslin' Fan

  • VPF Administrator
  • 12,266 posts
  • Location:South Lyon, MI

  • Flag: United States of America

  • Favorite Pinball: Whitewater

  • PS3 Gamer Tag: noahfentz


Contributor

Posted 15 March 2011 - 11:26 PM

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?

IdleReel.gif RumbleDMD.jpg HS2-DMD.jpg SBM.jpg ww_logo.jpg EK.jpg

 
T2.jpg Sorcerer.jpg Breakshot.jpg Firepower.jpg GorGar.jpg StarTrek.jpg


My Photobucket Resources
Whether You Believe You Can, Or You Can't, You Are Right." - Henry Ford
The future of pinball lives, it just needs to be nurtured!
If you're here to stab me in the back, you're going to have to get in line.


#48 kruge99

kruge99

    Pinball Wizard

  • VPF Staff
  • 3,901 posts
  • Location:Markham, Ont.

  • Flag: Canada

  • Favorite Pinball: Black Knight, High Speed and Pin*Bot



Posted 15 March 2011 - 11:33 PM

QUOTE (Noah Fentz @ Mar 15 2011, 06:26 PM) <{POST_SNAPBACK}>
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. <---This is a BRILLIANT idea and I endorse it fully. (Kruge99)

Would that be alright?


I'm in agreement with Noah here, putting the nudge fix inside core.vbs will 'break' any future work done to fix the nudge in the source code.


Best Regards,
Todd.

Edited by kruge99, 15 March 2011 - 11:34 PM.

[proud owner of a Williams Solar Fire]

- It's called "The American Dream" because you have to be asleep to believe it.
George Carlin
- Truly great madness cannot be achieved without significant intelligence.
Henrik Tikkanen
- "Reality check, Michelle, Talk about composure, Total lack of. He's a man-- About-- 12 Feet Tall--"
Carrie Kelly
Posted Image

#49 blur

blur

    Pinball Fan

  • VIP
  • 1,500 posts

  • Flag: Croatia

  • Favorite Pinball: Amazing Spiderman, Black Hole, Totem



Posted 16 March 2011 - 12:24 AM

QUOTE (Noah Fentz @ Mar 16 2011, 12:26 AM) <{POST_SNAPBACK}>
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?


it's ok with me, most of the script in nudging section i found there already, just fixed it a bit, changed directions, added counter force, fixed filter so that it really filters all nudges, and so on

only problem is this way you have to change each and every table, and with core.vbs you can fix them how you like all at once

special care should be taken that all scripts work with old core or with new core.vbs, so that users that do download core 3.33 don't have compatibility issues.


however the way i look at it, yes ok customizing nudging code is up to your preferences BUT nudging code should not be up to each author to invent for him self, it should be something that is done once and for all tables, so that authors don't even have to worry about that

just like plunger - i don't think we should all change tables to work with our plunger device - it should work out of the box just like my pc works out of the box with mouse, i don't have to program every application to use mouse


#50 Noah Fentz

Noah Fentz

    'Rasslin' Fan

  • VPF Administrator
  • 12,266 posts
  • Location:South Lyon, MI

  • Flag: United States of America

  • Favorite Pinball: Whitewater

  • PS3 Gamer Tag: noahfentz


Contributor

Posted 16 March 2011 - 12:41 AM

QUOTE (blur @ Mar 15 2011, 08:24 PM) <{POST_SNAPBACK}>
QUOTE (Noah Fentz @ Mar 16 2011, 12:26 AM) <{POST_SNAPBACK}>
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?


it's ok with me, most of the script in nudging section i found there already, just fixed it a bit, changed directions, added counter force, fixed filter so that it really filters all nudges, and so on

only problem is this way you have to change each and every table, and with core.vbs you can fix them how you like all at once


Since nudging is currently a matter of scripting, it's currently in the authors' hands, so that's where it should be left, IMO. I'm working on a new nudge system for my upcoming updates/FS releases. This way, we don't have to worry about one author or another not liking the way the script works.

QUOTE (blur @ Mar 15 2011, 08:24 PM) <{POST_SNAPBACK}>
special care should be taken that all scripts work with old core or with new core.vbs, so that users that do download core 3.33 don't have compatibility issues.


No question!

QUOTE (blur @ Mar 15 2011, 08:24 PM) <{POST_SNAPBACK}>
however the way i look at it, yes ok customizing nudging code is up to your preferences BUT nudging code should not be up to each author to invent for him self, it should be something that is done once and for all tables, so that authors don't even have to worry about that


Done once and for all = VP code changes.

QUOTE (blur @ Mar 15 2011, 08:24 PM) <{POST_SNAPBACK}>
just like plunger - i don't think we should all change tables to work with our plunger device - it should work out of the box just like my pc works out of the box with mouse, i don't have to program every application to use mouse


Totally agreed and currently being worked on. Rascal remodeled the default plunger to look great! Just need to be able to map images to it or something similar. Once that's done, then we'll have it working 'out of the box'.

IdleReel.gif RumbleDMD.jpg HS2-DMD.jpg SBM.jpg ww_logo.jpg EK.jpg

 
T2.jpg Sorcerer.jpg Breakshot.jpg Firepower.jpg GorGar.jpg StarTrek.jpg


My Photobucket Resources
Whether You Believe You Can, Or You Can't, You Are Right." - Henry Ford
The future of pinball lives, it just needs to be nurtured!
If you're here to stab me in the back, you're going to have to get in line.


#51 rob046

rob046

    Often Emulated, Never Duplicated

  • Members
  • PipPipPipPipPip
  • 2,023 posts
  • Location:Central PA

  • Flag: United States of America

  • Favorite Pinball: 8 Ball Deluxe, ToM, & Funhouse



Posted 03 April 2011 - 11:39 PM

First, a quick question. If I use this 3.33 core vbs, & say I launch JP's new Funhouse... will I have to go into his script & delete all of his nudge code for this to work properly?
Also I see that blur said "Put mp3 sounds in vpinmame music dir". I don't have a pinmame music directory! Does he mean the samples folder? Can't imagine where else they would go, but maybe clear this up cuz I'm sure it will confuse people.

This nudging situation sounds really messy. I would vote to make optimzed vbs with better nudge code a default in the essential vbs files pack.
Honestly, ANYTHING is better than VP9's default nudging.

& I kinda disagree that each author should come up with their own preferences. I like continuity between tables. I hate one table having a certain nudge system then playing another that is totally different. Nudging shouldn't vary from author to author.
We need to come up with a nudging system that at least most people agree is more realistic, then force it into the vbs & hopefully eventually into VP itself.

With nudging, for the most part it is the same on all real life tables. So I don't see the problem with it being the same on all VP tables, just as it was for VP all those years before VP9 & these customized nudge codes. Even if it isn't perfect, I think the continuity is very important between tables. Right now things are too messy & I don't know what I"m getting from table to table.
JP just released a funhouse that has 2 sets of nudge keys which really screws with me. Obviously this is unlike most other tables, I wasn't even aware of a double button nudge system, & I'm sure most casual users don't either. However, JP like most of us is just looking for some better ways to implement better nudging, so I don't blame him for trying stuff.

I think most about the average end user that might not spend much time on these forums, who is wondering why the hell each table nudges differently from the next. Nudging is way too basic of a thing to have so many variances. I just found this post about the 3.33 vbs file, I"m gonna try it out now. I'm a desktop user so I'm not sure if that makes a difference, it sounded like this might be more for cab users.
Anyhow, lets please just agree on a decent enough nudge system & update the VBS. If we need a seperate VBS set for VP9 only, then so be it, I think its worth it. Most people are aware that VP8 & VP9 are different animals, even casual users, so I don't think this would be a big issue.
Obviously hard coding this into VP is the way to go, but in the meantime I see no problem updating the VBS or making a VP9 VBS set. The longer this issue goes on, the more tables out there are gonna have custom code that might need updated or not work properly should VP9 or the VBS get an update. So the sooner the better to get at least a temporary fix for the nudging.
Default VP9 nudging is just unacceptable, & its not something casual users may think much about, so I think its fine to fix this for those people whether they like it or not!

Edited by rob046, 03 April 2011 - 11:46 PM.


#52 Noah Fentz

Noah Fentz

    'Rasslin' Fan

  • VPF Administrator
  • 12,266 posts
  • Location:South Lyon, MI

  • Flag: United States of America

  • Favorite Pinball: Whitewater

  • PS3 Gamer Tag: noahfentz


Contributor

Posted 04 April 2011 - 12:32 AM

I see a HUGE problem with updating the core.vbs. I've already gone into some of it, and I don't really think I need to go over it again.

The core is just that ... the core. Since the release of VP 9.0.2, nudging has been a preference of author. By implementing any one nudge routine in the core.vbs, that preference would be gone. Not cool.

I don't like Bob's nudge, he doesn't like mine, etc, etc.

I've been working a long time on a new nudge routine, and nullifying all that work by adding a routine that breaks it in the core.vbs would be very irritating.

As it is now, we have a ton of tables using there own, individual, routines. It's just not practical to have anything in the core.

One day, the nudge will get addressed in the VP code. By default, it will be no different than it is now, so as to not break existing tables. THAT's how these things should be addressed.


IdleReel.gif RumbleDMD.jpg HS2-DMD.jpg SBM.jpg ww_logo.jpg EK.jpg

 
T2.jpg Sorcerer.jpg Breakshot.jpg Firepower.jpg GorGar.jpg StarTrek.jpg


My Photobucket Resources
Whether You Believe You Can, Or You Can't, You Are Right." - Henry Ford
The future of pinball lives, it just needs to be nurtured!
If you're here to stab me in the back, you're going to have to get in line.


#53 Bob5453

Bob5453

    I'm taking a nap

  • VIP
  • 3,896 posts
  • Location:Near Dayton, Ohio USA

  • Flag: United States of America

  • Favorite Pinball: Any table I can play while sitting in a rocking chair




  • Trophies:

Posted 04 April 2011 - 12:40 AM

Hey Noah, when I was working on Paragon, I just left the nudge alone, I didn't even want to mess with it, so it uses the default vpmNudge, so are you saying there is no default vpmNudge?

Posted Image

You have discovered an Easter egg. Pat yourself on the back.


#54 kruge99

kruge99

    Pinball Wizard

  • VPF Staff
  • 3,901 posts
  • Location:Markham, Ont.

  • Flag: Canada

  • Favorite Pinball: Black Knight, High Speed and Pin*Bot



Posted 04 April 2011 - 12:43 AM

I thought the general concensus was that core.vbs was not the appropriate place to fix the nudge?

Also, how can we fix the "nudge" if everyone can't agree on what it needs to "be"...

Can we just lock this thread and move the nudge discussion to a more appropriate topic, like a VP development one?


Best Regards,
Todd.

[proud owner of a Williams Solar Fire]

- It's called "The American Dream" because you have to be asleep to believe it.
George Carlin
- Truly great madness cannot be achieved without significant intelligence.
Henrik Tikkanen
- "Reality check, Michelle, Talk about composure, Total lack of. He's a man-- About-- 12 Feet Tall--"
Carrie Kelly
Posted Image

#55 Noah Fentz

Noah Fentz

    'Rasslin' Fan

  • VPF Administrator
  • 12,266 posts
  • Location:South Lyon, MI

  • Flag: United States of America

  • Favorite Pinball: Whitewater

  • PS3 Gamer Tag: noahfentz


Contributor

Posted 04 April 2011 - 12:43 AM

QUOTE (Bob5453 @ Apr 3 2011, 08:40 PM) <{POST_SNAPBACK}>
Hey Noah, when I was working on Paragon, I just left the nudge alone, I didn't even want to mess with it, so it uses the default vpmNudge, so are you saying there is no default vpmNudge?


There's a default VPM nudge and a default VP nudge, but you already knew the answer to that question.

The topic of discussion here is a nudge 'routine'.

IdleReel.gif RumbleDMD.jpg HS2-DMD.jpg SBM.jpg ww_logo.jpg EK.jpg

 
T2.jpg Sorcerer.jpg Breakshot.jpg Firepower.jpg GorGar.jpg StarTrek.jpg


My Photobucket Resources
Whether You Believe You Can, Or You Can't, You Are Right." - Henry Ford
The future of pinball lives, it just needs to be nurtured!
If you're here to stab me in the back, you're going to have to get in line.


#56 Bob5453

Bob5453

    I'm taking a nap

  • VIP
  • 3,896 posts
  • Location:Near Dayton, Ohio USA

  • Flag: United States of America

  • Favorite Pinball: Any table I can play while sitting in a rocking chair




  • Trophies:

Posted 04 April 2011 - 12:51 AM

I didn't look into the core, but the nudge seemed to be way too much. Never assume I know something about VPM, I don't know how to script VPM tables and I know very little about the core.vbs files. I do know that there were all kinds of VPMnudge stuff in that Paragon table, so I didn't want to mess with it.

Posted Image

You have discovered an Easter egg. Pat yourself on the back.


#57 Noah Fentz

Noah Fentz

    'Rasslin' Fan

  • VPF Administrator
  • 12,266 posts
  • Location:South Lyon, MI

  • Flag: United States of America

  • Favorite Pinball: Whitewater

  • PS3 Gamer Tag: noahfentz


Contributor

Posted 04 April 2011 - 12:58 AM

Fair enough. I thought you were just being ... you know ... FA.

smile.gif

VPM nudge defaults are for strength and direction of nudge, nothing more.

VP's default nudge uses these parameters to enact the nudge.

While, admittedly, the nudging needs work in VP itself, the core is fine just the way it is. Adding any nudge 'routines' into the core will create nothing but more problems.

In fact, I've noticed this optional core.vbs automatically adds 'StartShake' to every table, unless the user comments that line.

No one should ever have to edit the core.vbs as a casual user.

IdleReel.gif RumbleDMD.jpg HS2-DMD.jpg SBM.jpg ww_logo.jpg EK.jpg

 
T2.jpg Sorcerer.jpg Breakshot.jpg Firepower.jpg GorGar.jpg StarTrek.jpg


My Photobucket Resources
Whether You Believe You Can, Or You Can't, You Are Right." - Henry Ford
The future of pinball lives, it just needs to be nurtured!
If you're here to stab me in the back, you're going to have to get in line.


#58 Bob5453

Bob5453

    I'm taking a nap

  • VIP
  • 3,896 posts
  • Location:Near Dayton, Ohio USA

  • Flag: United States of America

  • Favorite Pinball: Any table I can play while sitting in a rocking chair




  • Trophies:

Posted 04 April 2011 - 01:10 AM

I tried the core file in this thread and where it said, "do this for vp8 similar nudge" I was expecting the ball to not move when I nudged in the center of the table, but it still moved a bunch (I guess I didn't understand,) so I switched back to the normal core.vbs.

I agree with scripting nudges and I hope they fix it in VP the way you have mentioned numerous times. At this time, I treat the nudge as a cheat key, I use it a couple of times per ball and then I refrain from using it and allow the ball to drain SDTM. smile.gif

Posted Image

You have discovered an Easter egg. Pat yourself on the back.


#59 blur

blur

    Pinball Fan

  • VIP
  • 1,500 posts

  • Flag: Croatia

  • Favorite Pinball: Amazing Spiderman, Black Hole, Totem



Posted 04 April 2011 - 08:11 AM

core.vbs has core nudge functions, it always had. It's been like that forever. I did not add any functions, i just tweaked them a little.
Even if you want to remove it you can't cause all tables depend on them. So it is a little bit to late to say - nudge functions should not go to core.vbs.

bob what is meant by vp8 like nudging is that you have 100% counter force that moves the ball back - that's why it is called vp8 nudging, since in vp9 there is no moving back

As for startshake - Noah it is not in default core 3.33 vbs, it is commented out. It was in some wip version.

Bob if you want shake effect - you have to uncomment startshake command in the core.vbs 3.33


#60 lettuce

lettuce

    Pinball Fan

  • Silver Supporter
  • 929 posts

  • Flag: England

  • Favorite Pinball: Monster Bash

Posted 04 April 2011 - 08:33 AM

So does the core.vbs file override nudge settings in table scripts, so if I commented startshake back in in the core.vbs file would it over ride what ever setting was in a table script?

QUOTE (blur @ Apr 4 2011, 09:11 AM) <{POST_SNAPBACK}>
core.vbs has core nudge functions, it always had. It's been like that forever. I did not add any functions, i just tweaked them a little.
Even if you want to remove it you can't cause all tables depend on them. So it is a little bit to late to say - nudge functions should not go to core.vbs.

bob what is meant by vp8 like nudging is that you have 100% counter force that moves the ball back - that's why it is called vp8 nudging, since in vp9 there is no moving back

As for startshake - Noah it is not in default core 3.33 vbs, it is commented out. It was in some wip version.

Bob if you want shake effect - you have to uncomment startshake command in the core.vbs 3.33