- This topic has 13 replies, 3 voices, and was last updated 3 years, 6 months ago by Tom.
-
AuthorPosts
-
February 14, 2021 at 10:38 pm #224297
On my cab, I don’t like having a plunger and a launch button on the front of my cab so I have a button on my lockdown bar which acts as a launch button and a fire button when applicable. It was a while since I set it up and with my new cab build I need to review the settings. GTXJoe did a great write up here. https://www.vpforums.org/index.php?showtopic=45388
what I want to do with my new build is to put a clear fire button and have RGB support for it. I know… it doesn’t exist. I am going to explore and see how hard it would be to add it to the config tool but I think I may be able to trick it. On the config tool you can only tell it to be on or off, no color support, but what if you tied it into the under cab lights. The only issue would be that it would be on all the time. The positive is constant and the led wiz adjusts the ground but I also have a sainsmart board….. that controls positive to the toys. What if I hooked the positive to that and had that port being controlled by the fire button in dof, it would come on when it was supposed to and be whatever color the under cab was?????? Would this work???
You need to login in order to like this post: click here
February 14, 2021 at 10:50 pm #224300I can’t guarantee that it will work. But, I don’t see why the hell it should be so hard to do either. After all, it is just a light and pinmame should be able to tell you when it is on/off. Maybe asking the DOFLinks hackers or long time members like mjr.
You need to login in order to like this post: click here
February 14, 2021 at 11:01 pm #224301It shouldn’t be that hard to just update the dof config tool. The under cab lights are pretty much the same thing. I image in the beginning the lights were either on or off and somewhere along the way someone said let’s put RGB lights and then someone else said we can do MX under cab lights. Fire button is already there so it should be as simple as making them RGB and the code still tells it when to be on or off
You need to login in order to like this post: click here
February 14, 2021 at 11:07 pm #224302Yes. I agree.
You need to login in order to like this post: click here
February 14, 2021 at 11:13 pm #224306
what is the custom RGB option? The pinscape build guide already talks about thisYou need to login in order to like this post: click here
February 14, 2021 at 11:47 pm #224310The more I think of it, the better approach would be to use an addressable LED, a pl9823 or even a couple off of the rest of my side strip I cut off and assign it to the flipper RGB and take the ground and use the led wiz to control the ground based off of the Fire button in config tool. I have never seen the addressable flipper buttons in a cab and kind think they are silly because you only see them when you are away from your cab, but as a fire button it would be looking you in the face
You need to login in order to like this post: click here
February 15, 2021 at 3:03 am #224316I thought about this after playing Sterns Star Trek
Stern Star Trek has a color changer RGB fire button.
The bulb Cycles through all the colors because it has 3 Rom controlled Lamps for the RGB.
You can do this for this table with your current DOF controller by simply connecting an RGB to those 3 rom IDs
You can also accomplish this for tables that don’t have 3 dedicated rom IDs for the fire button
run 5 outputs from your DOF controller Device to a cheap $5 Arduino
1: Plunger Button
1: Fire Button
1: Red
1:Blue
1:Green
Run a simple While Loop on the Arduino that
- loops a color changing RGB sequence –> When all 5 Inputs are off aka No Fire Button or Plunger Button Support.
- Reads the values from the RGB inputs Passes the Colors to the bulb for the 1 or 2 tables that actually have an RGB Fire button Controller
- Plunger Button High —> Turn RGB Yellow
- Fire Button High —> Turn RGB Red
see a table you like help me find the resources so that I can finish it
https://www.dropbox.com/sh/7qtake9whi5ium2/AAB4K4W78oMVlqSxTzKtGHTHa?dl=0see a table you like help me find the resources so that I can finish it
https://www.dropbox.com/sh/7qtake9whi5ium2/AAB4K4W78oMVlqSxTzKtGHTHa?dl=0You need to login in order to like this post: click here
February 15, 2021 at 2:52 pm #224374We now have RGB fire button support in DOF config tool. Thanks @arngrim!
when I get my cab up and running for good I want to learn how to write the MX code
You need to login in order to like this post: click here
February 15, 2021 at 9:21 pm #224412I played with this tonight. Very interesting. @32assassin, there are 3 light calls in the Star Trek dof for the fire button but I could not get them to work in the game. I tried to activate them in debug and they werent listed, not in script. That script is over my head with all the rgb inserts and such. Do those Lights have to be in the script to make vpinmame activate them?
You need to login in order to like this post: click here
February 15, 2021 at 11:47 pm #224430this is a question for angrim
only reason you would ad a light call to the script is if you like to add a fire light to the table.
I never scripted a Plunger or Fire button light DOF call to any table.
what they do in DOF is set by the DOF config tool
to the left is the Star Trek Pro, the fire button is not doing anything
to the right is the Star Trek LE and according to DOF it Blinks it does not
do a color changing LED
see a table you like help me find the resources so that I can finish it
https://www.dropbox.com/sh/7qtake9whi5ium2/AAB4K4W78oMVlqSxTzKtGHTHa?dl=0see a table you like help me find the resources so that I can finish it
https://www.dropbox.com/sh/7qtake9whi5ium2/AAB4K4W78oMVlqSxTzKtGHTHa?dl=0You need to login in order to like this post: click here
February 16, 2021 at 12:08 am #224431I would assume that I you don’t script the light it wouldn’t work. Just like if you build a table and don’t script any lights, then they don’t exist right? If they don’t exist then dof can’t see them. I know dof talks to b2s but I wonder if you take the table and script those three lights and throw some lights over on the side, would it work then?
You need to login in order to like this post: click here
February 16, 2021 at 12:10 am #224432I was going to use rgb led on the light but then I would need a resistor. I took a short led strip with about 6 LEDs and wrapped it around the button and it looks great
You need to login in order to like this post: click here
February 16, 2021 at 1:09 am #224434you need to add switch activated DOF calls to the script
Flipper, kicker, Target, bumper hit
Object hit –> DOF call
Lights are turned ON/OFF by the rom witch is controlled by PINMAME
if you want to run DOF from a light, you can get it directly from PINMAME.
you don’t need to add the DOF call tot he table script or to a dB2s files.
in the case of ST it might be different given that it has RGB lights and not ON/OFF lights.
the real machine should be giving you a variable voltage from 0V to 5V (or 12V) per each of the RGB out puts
this is how they do the Color Change cycle.
I don’t know if you get this from PINMAME.
If its not you will need to add the RGB flasher, and somehow send those values as a DOF controller.
you might need to talk to the PINMAME team or angrim. to confirm that this is working.
if you are just getting an ON/OFF for the 3 RGB controllers then you will not get the color changing effect.
you will get a blinking effect with different colors.
see a table you like help me find the resources so that I can finish it
https://www.dropbox.com/sh/7qtake9whi5ium2/AAB4K4W78oMVlqSxTzKtGHTHa?dl=0see a table you like help me find the resources so that I can finish it
https://www.dropbox.com/sh/7qtake9whi5ium2/AAB4K4W78oMVlqSxTzKtGHTHa?dl=0You need to login in order to like this post: click here
February 16, 2021 at 1:40 am #224436That is all I am getting right now. I don’t know if there can be some MX script written for it, but for now it acts the same way that the RGB flippers act, you tell it a color and it does that. When I get my cab done and back in the house I can really play with it but my goal right now is to get it working as a launch button and a fire button combo. I don’t want separate buttons so if the launch button is triggered by W17 or whatever, then I was going to pair it up with the addressable LED color for the launch effect and have it flash that color. Then if a light or solenoid triggers the fire button if would light a different color. If in the future we can figure out how to make it more advanced that oils be awesome. I wonder other than Star Trek, how many other tables, that we have made, have multicolored fire buttons
You need to login in order to like this post: click here
-
AuthorPosts
Forums are currently locked.