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: Position Gun Mounting Method  (Read 5123 times)

0 Members and 1 Guest are viewing this topic.

Johnny the MAMEr

  • Guest
  • Trade Count: (0)
Position Gun Mounting Method
« on: June 02, 2002, 08:05:10 am »
OK my positional guns are now working thanks to 1up's hack method. Next goal is to mount them on the cabinet (then make the recoil work). Most of the gun games have that mirror with the monitor mounted below inside the cabinet. My cabinet was a Mortal Kombat so I need to mount the guns further back from the monitor. I guess I'll need to build something like whats on Lucky & Wild
http://www.klov.com/L/Lucky_&_Wild.html

Question for 1UP and Dave: How did you mount your guns to your cabinet? Any photos? Any final design for that recoil interface and how did you supply power for the 24volt solenoid ?  


« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

Dav

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 220
  • Last login:March 29, 2016, 05:39:35 am
Re: Position Gun Mounting Method
« Reply #1 on: June 02, 2002, 01:54:24 pm »
Quote
OK my positional guns are now working thanks to 1up's hack method. Next goal is to mount them on the cabinet (then make the recoil work). Most of the gun games have that mirror with the monitor mounted below inside the cabinet. My cabinet was a Mortal Kombat so I need to mount the guns further back from the monitor. I guess I'll need to build something like whats on Lucky & Wild
http://www.klov.com/L/Lucky_&_Wild.html

Question for 1UP and Dave: How did you mount your guns to your cabinet? Any photos? Any final design for that recoil interface and how did you supply power for the 24volt solenoid ?
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

Johnny the MAMEr

  • Guest
  • Trade Count: (0)
Re: Position Gun Mounting Method
« Reply #2 on: June 02, 2002, 06:01:55 pm »
Thanks Dave!  Because the monitor is lower, I guess it will be a "shoot from the hip" game unlike T2 where it's about shoulder height.  I think I'll just put a detachable panel extension and bolt the guns to that.  I did notice one of the bugs today while playing T2. When you accidentally shoot a human they don't yell at you.  I'm kinda slow on getting MAME cab stuff done but I will attempt to get the recoil working someday. I'll bug ya for your recoil code then.  
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

Dav

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 220
  • Last login:March 29, 2016, 05:39:35 am
Re: Position Gun Mounting Method
« Reply #3 on: June 02, 2002, 07:19:22 pm »
I think I sent the source to 1up, if I'm not around.  I need to post it somewhere before I lose it.

Good luck,
Dave
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

1UP

  • Token Junkie
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2081
  • Last login:November 11, 2014, 01:37:18 am
  • Yes, that is a joystick in my pocket.
    • 1UPArcade
Re: Position Gun Mounting Method
« Reply #4 on: June 03, 2002, 01:46:47 am »
I've got the T2 driver from Dave, you can download it at http://www.1uparcade.com/misc/wmsyunit.c (right click the link and "save target as..", unless you just want to read the code!

Free resource for building your own rotating control panels!

My other job...


Dav

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 220
  • Last login:March 29, 2016, 05:39:35 am
Re: Position Gun Mounting Method
« Reply #5 on: June 03, 2002, 06:50:51 am »
I'm glad you got it to work.  It looks like they just added beast busters and mechanized attack, I may have to go ahead and do the conversion even if T2 is a little wacked.  I've been pretty busy lately though.
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

Johnny the MAMEr

  • Guest
  • Trade Count: (0)
Re: Positional Gun Mounting Method
« Reply #6 on: June 03, 2002, 06:52:22 pm »
It will probably be easier for me to just build some type of full width panel extension rather than the "Lucky & Wild" mutiple gun mounts. Plus I'll only need to bolt 1 panel on the cabinet.  I'm thinking if you just get the guns close to the correct distance the calibration (T2) will take care of the rest.  Looks like the tip of the barrel will be 2ft from the top of the screen but the Mortal Kombat screen sits angled back so the bottom of the screen will be just over 1 ft from the tip of the gun.

 1UP: Can you share your final design for the LED to solenoid circuit? I wish I had time to do some of that 3D modeling like you've done. Very nice! I'm no code writer or electrical circuit designer but I can certainly buy parts and solder them together.  Did you get the 24volts from a wall wart transformer?

« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

1UP

  • Token Junkie
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2081
  • Last login:November 11, 2014, 01:37:18 am
  • Yes, that is a joystick in my pocket.
    • 1UPArcade
Re: Position Gun Mounting Method
« Reply #7 on: June 06, 2002, 04:10:26 am »
At some point, all the tidbits of info I've collected will go onto my website, but probably not until I get my cabinet somewhat put together.  That way, I know what worked and what didn't.  I'm planning to cut out the sides and start putting things together this weekend, but I've been saying that for the past 10 weekends or so...  ;)

But, yes, I'll be happy to share the schematic in good time.  If Dave ends up putting in all the support, you might not need it though.  J-works has a nifty little $60 usb relay board that can be controlled by c programming.  I'm hoping a minor rewrite of Dave's code will send the outputs to the relay board instead of the LEDs!  Stay tuned.
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

Free resource for building your own rotating control panels!

My other job...


1UP

  • Token Junkie
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2081
  • Last login:November 11, 2014, 01:37:18 am
  • Yes, that is a joystick in my pocket.
    • 1UPArcade
Re: Position Gun Mounting Method
« Reply #8 on: June 06, 2002, 04:26:51 pm »
BTW, expect that box to be pretty darn HEAVY with 2 guns mounted, especially if you're using thick wood!  The guns are made almost entirely of metal, and almost any kind of strong box you can make to support them will add greatly to the weight.  I have mine temporarily mounted on an old CD storage box, made out of 1/4" pressboard, and I still manage to strain my back lifting it up on my CP.  You'll need to build it without a bottom so it fits over whatever else is on your panel.
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

Free resource for building your own rotating control panels!

My other job...


Johnny the MAMEr

  • Guest
  • Trade Count: (0)
Re: Position Gun Mounting Method
« Reply #9 on: June 06, 2002, 06:37:04 pm »
I think I'll work on the guns control panel design tonight.  There won't be anything under it though.  It might be a little while before I work on the recoil function.  I'll take a photo when it's done.
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

1UP

  • Token Junkie
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2081
  • Last login:November 11, 2014, 01:37:18 am
  • Yes, that is a joystick in my pocket.
    • 1UPArcade
Re: Position Gun Mounting Method
« Reply #10 on: June 17, 2002, 01:43:01 am »
So...did you get that panel built?

Free resource for building your own rotating control panels!

My other job...


enemyace

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:February 23, 2003, 01:23:43 pm
  • You repo men, you're all out to @!$#in' lunch!
Re: Position Gun Mounting Method
« Reply #11 on: June 17, 2002, 01:40:30 pm »
Dang, your cab design is looking awesome! I'm going to feel like such a hoser when I copy all your ideas. =)

Actually, I'll try not to, but some of them are just too good to pass up! Keep up the good work.

-EA
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

Johnny_the_MAMEr

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
  • Last login:Never
  • Visit 3-D MAME by using the link below.
    • 3-D MAME
Re: Position Gun Mounting Method
« Reply #12 on: June 17, 2002, 02:02:49 pm »
Yes I got the thing built and mounted to the control panel. Haven't painted or t-molded it yet. Very simple box with 2 rectangular holes that point toward the screen.  I need to reverse some pot wires (because like you said, the DS pads should be in joystick mode) and then go for some type of calibration after I add a USB extension cord.  After that it's recoil activation time! I certainly hope the solenoids aren't shot on the guns. Odds are they don't work. In almost every arcade I've been to the solenoids are dead. I did recently play a T2 that had a very healthy solenoid (one the 1 gun that worked) and that sucker kicked so good it just about made my hands numb.  I'll post a photo soon.  
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »
Johnny the MAME'r

1UP

  • Token Junkie
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2081
  • Last login:November 11, 2014, 01:37:18 am
  • Yes, that is a joystick in my pocket.
    • 1UPArcade
Re: Position Gun Mounting Method
« Reply #13 on: June 17, 2002, 04:18:48 pm »
Quote
Dang, your cab design is looking awesome! I'm going to feel like such a hoser when I copy all your ideas. =)

Actually, I'll try not to, but some of them are just too good to pass up! Keep up the good work.

-EA


Don't mind if you copy stuff, but make sure you credit me with the idea!

Free resource for building your own rotating control panels!

My other job...


Dav

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 220
  • Last login:March 29, 2016, 05:39:35 am
Re: Position Gun Mounting Method
« Reply #14 on: June 19, 2002, 06:48:24 am »
Quote


Happs has all kinds of pinball coils, even Midway ones, but I can't find one that matches the original part number.
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

Elkor

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 102
  • Last login:February 12, 2007, 12:42:50 pm
  • What did I just say?
    • Full Circuit
Re: Position Gun Mounting Method
« Reply #15 on: June 20, 2002, 06:01:45 am »
the wico catalog has a lot of pinball parts.  I could take a look for you, what is the part #

(or the catalog is available online at wico's site and google catalogs)

-C
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »
The sudden sight of me causes panic in the streets. They have yet to learn
-- only the savage fears what he does not understand.
                -- The Silver Surfer

1UP

  • Token Junkie
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2081
  • Last login:November 11, 2014, 01:37:18 am
  • Yes, that is a joystick in my pocket.
    • 1UPArcade
Re: Position Gun Mounting Method
« Reply #16 on: June 21, 2002, 12:06:00 am »
Thanks, I'll check myself.  I'd like my cab to start life with fresh parts!  (Already replaced all the switches in my SW yoke...)
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

Free resource for building your own rotating control panels!

My other job...


Thorn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 69
  • Last login:November 22, 2014, 09:52:09 am
  • Here's Johnny!!!
    • 3-D MAME
Re:Position Gun Mounting Method
« Reply #17 on: September 07, 2002, 04:43:03 pm »
For 1UP: I've been working on the T2 style guns again recently and I came across a problem with using them in Terminator.  At first I was having a calibration problem. I couldn't get the gun to point at the far left side of the screen. I figured out that if I removed the "rack" gear from the bottom of the gun and then rotated the "pinion" gear about 1 tooth I could get there. Crossbow works very good, however when I play Terminator the gun works fine on the left side of the screen but it moves too fast (horizontally) on the right side of the screen. I tried calibrating the gun in the T2 calibration and I tried using the Dual Strike software as well. No luck. I replaced the pot on the bottom (they're so cheap) but that didn't help either. Tried doing your trick with calculating the numbers during gun calibration in T2 also.  Do you have this type of problem with your positional guns/T2?          

1UP

  • Token Junkie
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2081
  • Last login:November 11, 2014, 01:37:18 am
  • Yes, that is a joystick in my pocket.
    • 1UPArcade
Re:Position Gun Mounting Method
« Reply #18 on: September 07, 2002, 05:54:16 pm »

For 1UP: I've been working on the T2 style guns again recently and I came across a problem with using them in Terminator.  At first I was having a calibration problem. I couldn't get the gun to point at the far left side of the screen. I figured out that if I removed the "rack" gear from the bottom of the gun and then rotated the "pinion" gear about 1 tooth I could get there. Crossbow works very good, however when I play Terminator the gun works fine on the left side of the screen but it moves too fast (horizontally) on the right side of the screen. I tried calibrating the gun in the T2 calibration and I tried using the Dual Strike software as well. No luck. I replaced the pot on the bottom (they're so cheap) but that didn't help either. Tried doing your trick with calculating the numbers during gun calibration in T2 also.  Do you have this type of problem with your positional guns/T2?          


T2 has a unique problem which I don't fully understand.  The software seems to only see the 1/2 of the x and y positional data that the pots put out.  This seems to be independent of what controller you use.  For example, If I use my Hammerhead gamepad's analog stick to do the aiming, the crosshairs only move when I move the stick in the upper-left quadrant:  0,0 is the top left corner, and 255,255 is the center.  The workaround is to tweak the rack postioning like you said (you need to do this anyway even on the original machines) and then calibrate the guns numerically in T2's setup screen.

It sounds like your center calibration might be off.  I think I decribed this before, but this is what you do:  In the calibration menu, when it shows the top-left crosshair, move your gun toward the top-left, until it reads 0,0.  The pots have an error near the ends of their ranges, so you need to make sure you get clean numbers.  Slowly move the gun down and to the right until the numbers don't jump too much (the numbers should change about 1-2 units at a time).  Don't pull the trigger yet, just write down the numbers.

Now aim the gun toward the bottom-right, until it reads 255,255.  Now do the same as before, moving the gun slowly up and left until the numbers change more uniformly (1-2 units again) and write down that number.

Now take your top-left X number, and subtract it from your bottom-right X number.  Divide the result by 2, and you've got your center X coordinate.  Write this down.  Now do the same thing for your top-left and bottom-right Y numbers, and you have the correct numeric coordinates for the calibration screen.

If you haven't pulled the trigger, you should still be looking at the top-left crosshairs.  Just move your gun back to the top-left coordinates you wrote down, and pull the trigger.  Repeat using your center coordinates, and bottom-right coordinates, and you should be good to go.

You'll need to do the whole process over again for your second gun, since it will give different values.  Once you have calibrated correctly, the same numbers should always work as long as you don't change your gun hardware again.  You should keep the numbers written down somewhere in case you need to re-calibrate after upgrading Mame in the future.

Free resource for building your own rotating control panels!

My other job...