Page 1 of 1

Supermodel Gun Recoil function

PostPosted: Wed Jul 20, 2022 11:24 am
by zarltok
I managed to enable Output for supermodel. Then I use Mamehooker to detect the games outputs. This part actually works well. The issue is recoil function doesnt seem to be built in the games itself.

For exemple, Mamehook will detect L.A Machinegun outputs. I noticed the outputs were only Leds, no gun recoil output... Pulling the trigger will activate Led03 output. Logically adding the recoil commandline into it will trigger the recoil[solenoid]. But it will only trigger the recoil once. It wont go into automatic like it should.

This is actually normal since I am using a led output but my question is, Is there a way to trigger this game with auto recoil? Any script available out there?

Re: Supermodel Gun Recoil function

PostPosted: Wed Jul 20, 2022 1:26 pm
by Bart
zarltok wrote:I managed to enable Output for supermodel. Then I use Mamehooker to detect the games outputs. This part actually works well. The issue is recoil function doesnt seem to be built in the games itself.

For exemple, Mamehook will detect L.A Machinegun outputs. I noticed the outputs were only Leds, no gun recoil output... Pulling the trigger will activate Led03 output. Logically adding the recoil commandline into it will trigger the recoil[solenoid]. But it will only trigger the recoil once. It wont go into automatic like it should.

This is actually normal since I am using a led output but my question is, Is there a way to trigger this game with auto recoil? Any script available out there?


Supermodel's output functionality is very basic. What's there was written long ago by Nik. It sounds like you are looking for a recoil signal to use for your gun? I'm not sure how LA Machineguns (or its Model 2 predecessor, Gunblade NY, which uses an almost identical gun) works. Presumably there is some signal back to the gun that we just don't know about yet.

Re: Supermodel Gun Recoil function

PostPosted: Wed Jul 20, 2022 3:58 pm
by zarltok
I am using a Alien extermination gun. Usually I use this command line for recoil values

Player 1: nll |ghd 1 &H04B4 &H6870 2 &h02:&h01
Player 2 : nll |ghd 2 &H04B4 &H6870 2 &h02:&h01

I have seen somewhere that you can add output values on this same commandline that would make the recoil stop and run again in a loop. Also the timing between on and off

I just cant figure out that part.

Re: Supermodel Gun Recoil function

PostPosted: Fri Nov 25, 2022 9:16 am
by godmd5

Re: Supermodel Gun Recoil function

PostPosted: Mon Nov 28, 2022 9:36 am
by MrNoHolster
Hey Zaritok - could you tell me how you got Supermodel to talk to MameHooker please? I've got this all set up and working for my MAME games but would love the EVENT button to flash in Star Wars Trilogy. Any help much appreciated!