Main > Lightguns
Its Here: Ultimarc AimTrak Light Gun Module
KonkeyKong:
not trolling....
but I was checking out hobbytron.com and a ton of their airsoft pistols are on sale for like 5 bucks or less. Lots of sweet guns to gut.
AndyWarne:
--- Quote from: Cananas on September 18, 2009, 03:14:33 pm ---
Only problem I see is that you would need -offscreen_reload enabled in MAME to avoid problems in games that use the second button to launch missiles, grenades, etc. With this option enabled, mame remaps button2 to button3. But MAME would reload twice.
EDIT: Well, you could avoid this: with -offscreen_reload disabled and remapping those games manually.
One more thing. Aaron changed the behavior of offscreen_reload. If the mouse(lightgun) works in relative mode, this option will not work. The lightgun must work in absolute mode. This is why you can not reload pressing button2 (with -offscreen_reload enabled) with a tipical mouse.
--- End quote ---
It works in absolute mode.
If the reload button were set to button 8, then it would never interfere with buttons used for other functions. But it would require manual reconfiguration of the reload button in these games. Or does the reload button have to be button 2?
Epyx:
--- Quote ---Has anyone considered using one of those Wii gun things that you stick the Wiimote into? They are really cheap and already have an opening that would work for this. I don't know if they would look like crap though since I haven't looked at them in person (just interweb pictures).
--- End quote ---
Actually, I just checked this out on my lunch break and they don't look bad at all...they could easily be disassembled and re-painted with better colours etc. You might just want to build a cover for where the Wii slips in which shouldn't be hard to do with some ABS plastic etc.
The nerf gun section in the toystore had tons of options as well and most were cheap like Borscht.
Cananas:
--- Quote from: AndyWarne on September 18, 2009, 03:47:37 pm ---It works in absolute mode.
If the reload button were set to button 8, then it would never interfere with buttons used for other functions. But it would require manual reconfiguration of the reload button in these games. Or does the reload button have to be button 2?
--- End quote ---
Yep. The reload button must be the button 2 (well, exactly must be the second button of the mouse -in MAME, the trigger button is mapped like button 0, so reload is Button 1-) for lightgun PC games and MAME with -offscreen_reload option enabled. Just call it: PC Lightgun games compatibility mode. If think all future lighgun pc games will have the same conf: First button=trigger, Second one=reload.
But who knows how will be those games in the future, so as I said before, it would be great the posibility to remap the shootoffscreen option...
Andy. Any test in 64 bits OS (winxp/vista,Win7)? It's clear that the future is MAME64. It would be a great feature that makes this gun definitely better than LCDTopGun...
u_rebelscum:
--- Quote from: AndyWarne on September 18, 2009, 02:59:24 pm ---About the reload:
What is wrong with this (probably something):
If the trigger is set to button 1, it always presses button 2 in addition to button1 when clicked off-screen. (or it could be button 8).
Also, when clicked off-screen, it always sends (0,max) when the trigger is pulled.
--- End quote ---
A few problems.
- Some PC games hardcode translating a button two press to reload, so youll need to send button 2. Others don't need reload and use button two to launch grenade, etc instead.
- For these PC games, you'll also shoot. So you might reload and shot once immediately, meaning you'll need to reload sooner, and your shot will go to 0,max, which is a miss and will decrease your score if accuracy counts.
(Only mame translates button 2 to button 1 + 0,max, since that's how the arcades saw off screen shots, and only if -offscreen_reload is enabled and isn't broken.)
- In mame, you might have the opposite problem. Besides reloading, you might shoot the grenade/etc (assuming -offscreen_reload is left disabled, and you wired the gun's second button to mouse button 2, and didn't remap mame). At 0,max. And grenades are more "costly"/limited than bullets. To get around this, you'd need to wire the gun's second button to something besides mouse button 2, and remap all the games in mame to use that other button. But with it wired to not B2, you can't use it to reload in the above hardcoded PC games.
- In mame, if you enable -offscreen reload, you might reload twice, or reload & also shoot once.
This reload headache is an issue due to the differences between how arcade games and PC games were coded. (the respective games were coded for their respective guns, and the respective guns designed for their respective games.) The whole reason -offscreen_reload was added to mame was because PC lightguns did not act like arcade lightguns.
Andy, AFAI can see you have four choices:
1. have the AimTrak act like all (other,cheap) PC lightguns and hope -offscreen_reload and all its headaches are good enough for mame users (aka screw mame).
2. set the aimTrak up like an arcade gun for mame, and screw the PC games.
3. try to find a middle ground, screwing both sides in some way(s)
4. let the user decide which way the AimTrack should lean. Hopefully this can be changed easily, like the u360 mapping. One worst case, the user has to choose which firmware to use, and is advised not to chande it too much do to multiwrite limits. (The absolute worst would be having to buy a different model.)
I like ZeroPoint's option (a #4 variant): give all buttons a separate "offscreen" button output. The user can set it to be the same as onscreen (aka arcade), or different. The most used would be sending button 2 for trigger for "PC reload", but it could be anything, such as admin buttons, pause, ect.
Or are we just spoiled with your ipac, U-HID, and especially u360 to expect a remap script to handle everything for us? :cheers:
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version