Main > Lightguns

GUN4IR - The Ultimate 4 Points Lightgun System

<< < (187/192) > >>

Podbod:
OK I got stuck. 2 things I couldnt figure out and 1 that I find confusing

Jaybee - I set Trigger, A and B to be Mouse Left, Mouse Right, "Keyboard B" respectively. But in mame the inputs are registered as Gun3 B0,  Gun3 B0, "keyboard B". If I change the A button to be "Keyboard A" then in mame it registers as Gun3 B2!
Any idea whats going on? (Edit - I've now noticed that after uploading the settings and hitting reload - that the A button is reverting to Middle mouse, so that looks like its just failing to upload correctly?)

Howard_Casto - I cant seem to get mamehooker to recognise MameUI.exe. Is that not supported or am I doing something wrong? If I change the exe to be mame64.exe it works fine

Anyone who can help - In Op wolf I've used the following ini settings for mamehooker to control the rumble motor
MameStart=cmo 1 baud=9600_parity=N_data=8_stop=1,cmw 1 S1
MameStop=cmc 1
[Output]
Player1_Recoil_Piston=cmw 1 F1.0.0|cmw 1 F1.1.255

That seems to work fine if I'm tapping the trigger but if I hold the button and run out of bullets the motor stops as expected while I'm auto-reloading but wont come back on for another X (can be a whole clip in rare circumstances) bullets or so. It is random tho. Sometimes it does work correctly. Releasing and pressing the trigger seems to 100% restart the motor. I can see in mamehookers debug window that the piston value is changing correctly.

Cheers for any help guys

Pod

Podbod:
Jaybee, one more thing. For Terminator 2 I use Hooker to set an on time of 35 with a 0ms pause time. This is roughly the speed of the pulse that it sends out from the game. So I use "cmw 1 f1.2.1" to send each pulse to the gun. That works but 35ms is right on the limit of getting the rumble to do a full rotation so sometimes it feels weak. Ideally I'd like to up that to a 45ms on time but then I run into the problem that all the pulses end up getting queued and the gun rumbles on after I let go of the trigger for a while.

Could we potentially get a feature to set a maximum pulse queue to prevent that? (apologies if that already exists and I missed it)

Cheers

woordmand:
Every time I shoot, I can only trigger the electromagnet once. How can I trigger it continuously and automatically.

GRA71:
Hello,

Does anyone know how to calculate resistors to install a 5V solenoid instead of 12V. In 12V, you need a resistance of 1Kohm and 100Kohms.
It is to save space.
Thank you



Loey575:

--- Quote from: GRA71 on December 06, 2021, 01:25:33 pm ---Hello,

Does anyone know how to calculate resistors to install a 5V solenoid instead of 12V. In 12V, you need a resistance of 1Kohm and 100Kohms.
It is to save space.
Thank you




--- End quote ---
You can use the same resistors, they only control the operation of the MOSFET, and not the solenoid

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version