Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Reloading by shooting off-screen with Act-Labs lightgun  (Read 1589 times)

0 Members and 1 Guest are viewing this topic.

GamingGreg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 304
  • Last login:August 05, 2018, 06:04:30 pm
Reloading by shooting off-screen with Act-Labs lightgun
« on: April 06, 2004, 06:49:19 pm »
Does anyone know of a good way to make reloading work by shooting off-screen (such as in Area51), when using an Act-Labs USB VGA lightgun?   I did a search of the board and all I could find was that it was mentioned as a problem, but no solution given.  I can shoot at just inside the edge of the screen and reload, but that takes too much time (because of the accuracy needed).  Also, using the alternate button on the gun (right mouse button) doesn't work either.   :(

If there's no way to get shooting off screen to work, is there an alternative, such as mapping the right mouse or other key somehow?

TheGatesofBill

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 581
  • Last login:August 22, 2018, 09:07:04 am
Re:Reloading by shooting off-screen with Act-Labs lightgun
« Reply #1 on: April 06, 2004, 06:53:53 pm »
Area 51 you say? Here, have a ctrlr ini. I think it originally came from AnalogMame.

Code: [Select]
# This file is for Area51 and clones
# It's for mapping PC lightguns (such as ActLab's USB & TV guns)
# offscreen shoots as reloads.
# It also adds the extra feature of letting you use any button for
# reloading that the original game didn't have, good for playing
# with a keyboard or analog joystick.
# Player Button 2 is hacked to the reload button for these games.

# Note: depending on your OS and mouse driver it is using for the lightgun,
# the reload button might be seen as mouse button #2 or #3.

# This file is the same as maxforce.ini and area51mx.ini in this folder


# Analog+ added reload buttons
# uncomment one for each player and, if needed, remap as needed

# for lightguns with reload button as mouse button2
#P1_BUTTON2              "MOUSECODE_1_BUTTON2"
#P2_BUTTON2              "MOUSECODE_2_BUTTON2"

# for lightguns with reload button as mouse button3
#P1_BUTTON2              "MOUSECODE_1_BUTTON3"
#P2_BUTTON2              "MOUSECODE_2_BUTTON3"

# for keyboard reload
#P1_BUTTON2              "KEYCODE_LALT"
#P2_BUTTON2              "KEYCODE_S"

# for analog joystick
#P1_BUTTON2              "JOYCODE_1_BUTTON2"
#P2_BUTTON2              "JOYCODE_2_BUTTON2"


########

# Official Mame Inputs: for shooting
# uncomment and remap as needed
#P1_BUTTON1              "KEYCODE_LCONTROL | JOYCODE_1_BUTTON1 | MOUSECODE_1_BUTTON1"
#P2_BUTTON1              "KEYCODE_A | JOYCODE_2_BUTTON1 | MOUSECODE_2_BUTTON1"

Popcorrin

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 858
  • Last login:March 06, 2022, 11:11:43 am
Re:Reloading by shooting off-screen with Act-Labs lightgun
« Reply #2 on: April 07, 2004, 07:27:26 am »
I am just curious, how does this ctrlr.ini file fix the shoot offscreen reload problem?  I know it works because I use noname mame but I was just wondering how?  Great derivative by the way.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19400
  • Last login:Yesterday at 10:57:06 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Reloading by shooting off-screen with Act-Labs lightgun
« Reply #3 on: April 09, 2004, 06:47:56 pm »
It doesn't.... actually the ctrlr file istelf is pretty useless as by default mouse button2 is mapped to p1 button2


But the area51 source code has been hacked in these builds to give "reload" an extra input.  (button 2)

Since the act-labs guns automatically press the second mouse button when you fire off-screen, it bypasses the emulation issue all-together and lets the gun do the work.