Main > Main Forum
Mame .118 Lightguns
(1/2) > >>
brock.sampson:
In mame .118 there is a change in the way lightguns work.  In .116 when you move the gun the crosshair would track/follow your motions.  In .118 it jumps to where you are shooting and no longer tracks.  When I set the controls to use my trackball instead of the guns it tracks as it did before.  Does anybody know a way to get the crosshair to track in .118?  I'm using dual lcd topguns.  I have pasted the controller sections out of my mame.ini below.  I did try setting lightgun to 0 and then it doesn't detect any movements or trigger movements in mame.  I also tried setting lightgun device to mouse but it still didn't track as it did before.  Any help or insight would be appreciated.

#
# CORE INPUT OPTIONS
#
ctrlr                     
mouse                     1
joystick                  0
lightgun                  1
multikeyboard             0
multimouse                1
steadykey                 0
offscreen_reload          1
joystick_map              auto
joystick_deadzone         0.3
joystick_saturation       0.85

#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device             mouse
adstick_device            lightgun
pedal_device              keyboard
dial_device               mouse
trackball_device          mouse
lightgun_device           lightgun
positional_device         keyboard
mouse_device              mouse

#
# INPUT DEVICE OPTIONS
#
dual_lightgun             1
Cananas:
You must set:

#
# INPUT DEVICE OPTIONS
#
dual_lightgun             0

This options is only for the very, very old ActLabs (the ones that were sold in a pack with a pad). It is enable the compatibility mode with them.
 


Other thing to clarify: Setting the lightgun device to lighgun, overcome to the lightgun setting (1 or 0), so your lightguns would work with lightgun=0 and lightgun_device lightgun. But be careful with games like Operation Thunderbolt and Terminator, games that use a joystick instead of a lightgun. In this case, lightgun must be 1.

Oh!, and now, the offscreen_reload only applies to a lightgun, not mice.
 

brock.sampson:
So leaving lightgun 1 shouldn't be a problem correct?  I do like to play an occasional game of Terminator 2.  I"ll try disabling the dual_lightgun option tonight and see what happens.

Thanks
brock.sampson:
Setting dual_lightgun 0 did the trick.  Tracks like it did in previous versions now even Terminator 2.  Thanks for the help.
u_rebelscum:

--- Quote from: Cananas on August 14, 2007, 09:16:52 am ---...
dual_lightgun             0

This options is only for the very, very old ActLabs (the ones that were sold in a pack with a pad). It is enable the compatibility mode with them.
--- End quote ---

Not quite. This option was for actlab TV lightguns that had a switch that could be set to player 1 or player 2, and any other guns that followed the same (different brands copied soon after). 
The player 1-2 switch just changed the mouse buttons from 1 & 2 for player 1, to 3 & 4 for player 2, and assumes the two guns share the pointer (like having two mice in windows desktop).  Since the two guns share the location, and which trigger is pulled determines which player gets that location, mame can't track live.



--- Quote ---Other thing to clarify: Setting the lightgun device to lighgun, overcome to the lightgun setting (1 or 0), so your lightguns would work with lightgun=0 and lightgun_device lightgun. But be careful with games like Operation Thunderbolt and Terminator, games that use a joystick instead of a lightgun. In this case, lightgun must be 1.
--- End quote ---

Or set adstick_device lightgun (probably want to do this in the game's ini file instead of mame.ini, though).


--- Quote ---Oh!, and now, the offscreen_reload only applies to a lightgun, not mice.
--- End quote ---

Good to know, thanks.
Navigation
Message Index
Next page

Go to full version