Main > Lightguns

Operation Thunderbolt + MAMEHooker 2 player script issue

(1/2) > >>

Afterburner1970:
Hi,

Ok, after losts of mucking around and reading many posts and help from Howard, I finally got both guns (on my Revolution X) working.

Only issue is when playing 2 player..... whoever pulls the trigger second, it stops the first players guns recoil.

It must be a script issue, so hoping someone can spot my error?

ini file

[General]
MameStart=
MameStop=kls 1
StateChange=
OnRotate=
OnPause=
[KeyStates]
RefreshTime=
[Output]
Player1_Recoil_Piston=lfs pistonthunder 20 %s%
Player2_Recoil_Piston=lfs pistonthunder-2 20 %s%


and the 2 script files


Pisonthunder.mhs

uls 1 1 0

uls 1 1 %s%



Pistonthunder-2.mhs

uls 1 2 %s%

uls 1 1 %s%

Many thanks

bandicoot:
hello i think
this mut be like this

Pistonthunder-2.mhs

uls 1 2 0

uls 1 2 %s%

Howard_Casto:
to simplify even greater, you never have to pass a zero when the state is off.   I have that option in place for outputs with multiple values.   Just pass a %s%... when the output isn't firing the value of %s% will be 0 anyway.


Afterburner1970:
i had made a typo

the script is actually

uls 1 2 0

uls 1 2 %s%

but still have this issue....any thoughts?

Thanks

Afterburner1970:
I should point out, as I didnt make this very clear..this issue is happening on operation thunderbolt. Revolution X is working perfectly.

Thanks in advance

Navigation

[0] Message Index

[#] Next page

Go to full version