Main > Main Forum
EMS TopGun II Light Guns...?
<< < (3/6) > >>
Cananas:

--- Quote from: swamprat96 on April 21, 2009, 01:47:31 am ---I've got further on this. If I physically remove the mouse the guns become gun 1 and gun2 - and reload works. So why when I add a mouse does it all stop working?

AS this is a Gun cab I'm just gonna remove the mouse period- problem resolved but I'm still curious

--- End quote ---

In previous version of MAME, Aaron added a 'filter' so if you are using a mouse (a relative pointer vs and absolute pointer -lightgun-), you cannot use offscreen_reload option even if is enabled, because you can't aiming off screen with a mouse. If you are using a mouse, you must aim to the borders of the screen.

By 'using a mouse' I mean any game button mapped to any mouse button. If you have mouse enabled, be sure that there is no one game button mapped to any mouse button. If you have something like "key A or Mouse 1 Button 2 or Gun B0", mame it doesn't reload. You must remap to something like this "key A or Gun B0", and mame it will reload shooting off screen.

Or you can use this config for those lightgun games: mouse 0, lightgun 1, reload_offscreen 1.

BTW, Lethal enforces 1 reloads OK.
swamprat96:
Yes and Lethal enforcers 2 still has a bug for player 2- it wont reload. I now have all the other gun games working well
Derrick Renaud:

--- Quote from: swamprat96 on April 21, 2009, 07:10:16 am ---Yes and Lethal enforcers 2 still has a bug for player 2- it wont reload. I now have all the other gun games working well

--- End quote ---
Make sure you click on the second gun in the topgun panel to check/change it's button settings.
swamprat96:
Yes- did that. Lethal enforcers 1 works fine. Looks like lethal enforcers 2 has a bug. I'll be spending some time testing tonight to try and track down exactly what the  bugs are.

I think the first bug is a general one that appears when there are more than 2 mice in that both left and right buttons for the mouse are recognised as the same button. The second again general bug is that with just two mice each button works seperately but is listed as the same button in mame (ingame setup).  The third is lethal enforcers 2 specific in that player 2 reload does not work for lightguns.

However I want to duplicate all this on a second PC before I post them at mametesters
Derrick Renaud:
LE2, player 2 does seem to not like _offscreen_reload.

Player 2 seems to like an offscreen value of 0,0 to reload.  MAME gives 0,max.  I used to have it set to 0,0 but someone on these forums made a case for it being set to 0,max and changed it.

I don't think I'd post a bug about it.  If you did we would need proper info on all lightgun games and the reload value for all players.  This info would not include games such as Zombie Raid which is not a lightgun game.

You can try changing src\emu\input.c around line 1451:

look for:

--- Code: ---result = (INPUT_CODE_ITEMID(code) == ITEM_ID_XAXIS) ? INPUT_ABSOLUTE_MIN : INPUT_ABSOLUTE_MAX;
--- End code ---

and change to:

--- Code: ---result = INPUT_ABSOLUTE_MIN;
--- End code ---

Recompile and then see if that breaks any other game.
Navigation
Message Index
Next page
Previous page

Go to full version