Jump to content



Photo
- - - - -

Captin Nemo Dives Again by Quetzal Pinball - Recreation by EpeC (WIP) VPX

Nemo Captain Nemo Quetzal Quetzal Pinball EpeC WIP Spanish Espaņol Recreation Original

  • Please log in to reply
26 replies to this topic

#21 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,806 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 07 March 2022 - 05:12 PM

Updated Table Script - I added DOF for Solenoids

See posting below for updated script

Edited by Outhere, 08 March 2022 - 03:25 AM.


#22 EpeC

EpeC

    Hobbyist

  • Members
  • PipPip
  • 35 posts

  • Flag: Spain

  • Favorite Pinball: Tales of Arabian Nights

Posted 07 March 2022 - 08:13 PM

Hello otuhere.
 
First of all I want to thank you for adding the DOF code. I didn't include any of this other than what comes with the VPX editor blank table, since I don't use it (I haven't built my cabinet yet).
 
I have reviewed the code, and I don't quite understand what it is about. What I have learned is that practically the inclusion of DOF is to activate only the solenoids that imitate the mechanical sounds of the virtual table?
 
I have seen that there is almost always a DOF command near where there is a PlaySoundFX.
 
In other words, the DOF code goes only with the activation of: Kickers (including Drain), plunger, slings, bumpers, flippers, drop targets? or is there something else i should take it like doors or so?
 
Please, tell me if I am missing any to review and if you can, send me a list of the elements that you have included and/or that should be included in the DOF.
 
 
I have thought of adding as an optional patch your review of the code for DOF users and that they do copy paste in the Script, (another patch XD NOOO! at the end the patch pirate table will appear instead of the NEMO one, ha, Haha!).
This does not seem right to me, I prefer to manually edit all the code but knowing what I am doing.
 
The thing about editing the code is because in the comments, which I left there to have my ideas clear, the use of the Spanish language requires special characters (ISO), which are not found on keyboards (ANSI). And that upsets me all the reading of the code with ASCII characters that I did not put there substituting letters and apostrophes. :D It's just for reading clarity. Only that.
 
Thanks for your time.
 
Greetings.
 
 
Epe C.

Edited by EpeC, 07 March 2022 - 08:20 PM.


#23 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,806 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 07 March 2022 - 11:14 PM

Yes I added code for the DOF for areas in the game that would require a solemnoid in the real game

The info you are looking for is at the top of the Table Script



#24 EpeC

EpeC

    Hobbyist

  • Members
  • PipPip
  • 35 posts

  • Flag: Spain

  • Favorite Pinball: Tales of Arabian Nights

Posted 08 March 2022 - 02:37 AM

Hello again, Outhere.
 
If I could I want to use a manual or some documentation to learn more about this type of DOF operation, but I think I already have the basics of how it works. Correct me if I'm wrong, please.
 
Each event on this list (...)
 
' Solenoid DOF Added by Outhere
'101 Left Flipper
'102 Right Flipper
'103 Left Slingshot
'104 Left Slingshot Shake
'105 Right Slingshot
'106 Right Slingshot Shake
'107 Bumper Right
'108 Bumper Center
'109 Bumper Right
'110 Ball Release
'111 AutoPlunger
'112 Kicker_atlantis on the right
'113 Drop Target Reset
'114 Save Ball
'115 Spinner = Shaker
 
(...) activates a physical solenoid in the cabinet.
 
So if a "Save Ball" event occurs in the code, the switch is activated (to understand us) is 114. Is that correct?
 
Taking into account that I assigned the "Save Ball" event to the kicker de salida, together with the N-E-M-O drop targets, when a ball comes out of there, the DOF 114 event must be activated, correct?
 
Therefore, since most multiball events kick the ball out of that side kicker, when you throw a ball into the Sub Timer_NEMOHeraclesMB_Timer:
 
[Current code in Sub Timer_NEMOHeraclesMB_Timer]
(...)
PlaySound SoundFXDOF("ballrelease", 910, DOFPulse,DOFContactors), 0,1,AudioPan(BallRelease),0.25,0,0,1,AudioFade(BallRelease)
Kicker_salida.CreateBall
PlaySound SoundFX("knocker",DOFContactors)
Kicker_salida.Kick 90,7
 
Ok, I think I have it. shouldn't it be like this, like in "Dive Again" of Sub Timer_SalvaBolas_DiveAgain_Timer, and use code 114?:
 
[Current code in Sub Timer_SalvaBolas_DiveAgain_Timer]
(...)
PlaySound SoundFXDOF("ballrelease", 114, DOFPulse,DOFContactors), 0,1,AudioPan(BallRelease),0.25,0,0,1,AudioFade(BallRelease)
Kicker_salida.CreateBall
PlaySound SoundFX("knocker",DOFContactors)
Kicker_salida.Kick 90,7
 
 
Except in Hurry Up mode and the magma ball that comes out on top of the volcano, and aside from the starting balls in the game, all other balls come out of the kicker side.
 
Both actions are supposed to be the same, one throws a multiball ball in one place on the table and the other saves a ball in the same place.
[PS: I don't know what the code 910 means, I still don't speak the DOF language fluently :D I learn from what I read in the modified code, but I understand that it is an address or object of something like 114, or is it as a event?].
 
I am interested in the subject and I want to learn, at the moment to obtain new knowledge, I still do not plan to mount the cabinet or buy the famous KL25Z, but everything will go away with time. :D
 
Thanks for your patience and help.
 
 
Epe C.

Edited by EpeC, 08 March 2022 - 02:41 AM.


#25 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,806 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 08 March 2022 - 03:23 AM

I was supposed to remove the 910 stuff that was just me trying to figure out what does what because I really don't know anything about coding but I do know enough to be able to add the DOF for most things
Here is the same script with the 910 stuff removed

Attached File  Captain NEMO Dives Again (Quetzal 2015) EpeC (2022) 2.2.txt.zip   110.57KB   3 downloads

Edited by Outhere, 08 March 2022 - 03:51 AM.


#26 EpeC

EpeC

    Hobbyist

  • Members
  • PipPip
  • 35 posts

  • Flag: Spain

  • Favorite Pinball: Tales of Arabian Nights

Posted 08 March 2022 - 11:04 PM

Hello again, Outhere.
 
Thanks for correcting the Script again to improve the DOF functions on the table.
 
I would like to learn how to do it myself, to optimize (if that is possible) its operation and have that knowledge for future tables, since I know the code and all the possible events that occur in this table, I think I can help fine-tune a little more.
 
Where can I find something similar to a user manual? or an explanation of what each thing means? I've seen videos of how the cabinets are assembled with solenoids and the controllers to activate the relays and so on, and it has a lot of robotics stuff.
 
 
I think I've translated something, although I'm missing some parameters that I don't fully understand (I'm guessing the numbers are milliseconds of pulse duration to maintain voltage on the solenoids, I'm guessing, I'm not clear on anything yet):
 
<code>, DOFOn, DOFFlippers
DOF index code, activate, solenoid
 
<code>, DOFOff, DOFFlippers
DOF index code, deactivate, solenoid
 
What does each of these mean?
DOFOn (I suppose it is 'activate' the electrical pulse so that the physical relay acts)
 
DOFOff (I guess it's to 'deactivate' the pulse so that the physical relay stops acting)
 
DOFContactors
 
DOF Pulse
 
SoundFXDOF (I guess it's like PlaySound but in DOF code, so physical speakers act instead of sound on a speaker?)
 
 
I love the theme of robotics, and I didn't know it could be applied to something like virtual pinball. It has been a pleasant surprise.
 
Is there a file included in the VPX installation that I can browse to find out how this works? I love to learn. :D
 
Greetings and Thanks!
 
 
Epe C.


#27 RKip455

RKip455

    Hobbyist

  • Platinum Supporter
  • 18 posts
  • Location:Sweet Home North Alabama

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 01 May 2022 - 04:49 PM

Hello, very nice table thank you for our efforts. Is it possible to make the table darker... it appears very washed out?







Also tagged with one or more of these keywords: Nemo, Captain Nemo, Quetzal, Quetzal Pinball, EpeC, WIP, Spanish, Espaņol, Recreation, Original