Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext Thread*Show in Threaded Mode


SubjectHotRod new Reply to this message
Posted byGemini78
Posted on05/02/01 01:57 PM



TurboSnail2k just posted this for anyone who wants to use a HotRod. It's on Page 1 of the forum, so I'm posting it here also.

> Ok, Make your change for the flippers in Visual Pinball and then edit S11.VBS
> and WPC.VBS and change these lines:
>
> The original lines in S11.VBS:
> Private Const keyInsertCoin1 = 4 '(3) Specify Keycode for Inserting a Coin
> Private Const keyInsertCoin2 = 5 '(4) Specify Keycode for Inserting a Coin
>
> To the following in S11.VBS:
> Private Const keyInsertCoin1 = 46 '(C) Specify Keycode for Inserting a Coin
> Private Const keyInsertCoin2 = 47 '(V) Specify Keycode for Inserting a Coin
>
> The original lines in WPC.VBS:
> Private Const keyInsertCoin1 = 4 '(3) Inserting a Coin
> Private Const keyInsertCoin2 = 5 '(4) Inserting a Coin
>
> To the following in WPC.VBS:
> Private Const keyInsertCoin1 = 46 '(C) Inserting a Coin
> Private Const keyInsertCoin2 = 47 '(V) Inserting a Coin
>
> This will allow you to use 'C' and 'V' as you coin ups and '3' and '4' for your
> flippers.
>
> I hope this helps... I will work on a better WPC and S11 setup for the HotRodSe
> when I get home. These changes were based on the latest releases of WPC and S11.
>
>
> TurboSnail2k
> WIP '77 Gottlieb SS Cleopatra




SubjectHow do they count the keys? new Reply to this message
Posted byImhotep
Posted on05/03/01 04:56 AM



Thanx for your post. I'd like to use keys A and S for coins but can't figure out how to calculate their values for the script. Please enlighten me!
Thanx




SubjectRe: How do they count the keys? new Reply to this message
Posted byTurboSnail2k
Posted on05/03/01 09:47 AM



> Thanx for your post. I'd like to use keys A and S for coins but can't figure out
> how to calculate their values for the script. Please enlighten me!
> Thanx
>

I counted the array of "keyNames" starting with the first entry as number 1.
So "Escape" is 1, "3" is 2, "A" is 30, "S" is 31, etc..
To find the "keyNames" array look for this comment within the script:
'------------------------------------
' Convert keycode to readable string
'------------------------------------

I hope this helps!

TurboSnail2k
WIP '77 Gottlieb SS Cleopatra




SubjectTx a lot !! Reply to this message
Posted byImhotep
Posted on05/03/01 09:59 AM



That's what I was searching for !




Previous ThreadView All ThreadsNext Thread*Show in Threaded Mode