Main > Main Forum

Build Your Own Pinball Possibilities...?

Pages: << < (10/12) > >>

allroy1975:

he and I have both repaired pins.  I'm not under the impression that this will be done in weeks.  I understand that it will take a VERY long time and will most likely cost a good deal of money.  yes, the reasons to do it in Windows is because that's what he's good with, it's where vpinmame is, and it's easy to interface video...from what I understand.  He's the programmer.

I understand it will be difficult.  I understand it hasn't really been done before.  I understand it will be expensive. 

I want to do it.  It can be done.  It may turn out like ---steaming pile of meadow muffin--- the first time, but it SHOULD be attempted.  if not by me, then by someone else, but it should be tried.

Allroy

yugffuts:

I'm the one that dragged VP into this originally, so let me explain why:

By creating the table in VP originally, you can play the game, test the game modes/rules, and look for dead spots on the PF to a degree.  This can help finalize your design before you attempt your first cuts.  It is also a very straightforward scripting environment; if the script exists, why not use it?

Another reason to use VP is that there is already a community using it that is familiar with the scripting engine, which means a source for toubleshooting help.  If you are programming on your own, you can't turn to anyone for assistance.


--- Quote ---couldn't you figure out how visual pinball feeds input to vpinmame and tap the same inputs?
--- End quote ---

I agree 100%.  VP has you set "Bumper1" as an object, registers a hit and searches the code for any instance of "Bumper1" and operates those commands.  What you would need to utilize VP is a plugin that allows you to map each item on the VP game to a keypress, to allow for wiring.  Logically it seems straightforward, but I don't know how hard it would be to implement.

yugffuts:

Since VP is based on Visual Basic, what would happen if you put something like this in the script, to check for keypresses?

    If (GetKeyState(vbKeyA) And KEY_DOWN) Then
        Score = 5
    End if

I'll try that when I get home, unless someone knows the answer (or can try it before I can).  Obviously, the keypresses will conflict with what VP is looking at for input, I'm just curious if the script will register the input.


SithMaster:

didnt knex make a pinball set we could use?

funny i checked ebay and theres a xeon machine that has 10 dollar shipping to me when i used the calculator.  good for me.

yugffuts:

I don't know who or what Knex is...Any pointers?

I tried to put the code in VP, but it did not work.  It did compile, however nothing happened when I pressed the "A" button in game.  I'm not sure if it was a syntax issue.  I had hoped to try it in a VB script outside of VP, but didn't have time this weekend to try it.

Pages: << < (10/12) > >>

Go to full version