Jump to content



Photo
- - - - -

Scarface DOF Edition [VP 9.x Cabinet FS]

Scarface DOF

  • Please log in to reply
24 replies to this topic

#1 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 02 November 2013 - 04:27 PM

Posted Image


File Name: Scarface DOF Edition

File Submitter: arngrim

File Submitted: 02 Nov 2013

File Category: VP 9.x Cabinet Tables (FULL SCREEN)

Author(s): Design and Layout: hassanchop, rascal
Rules: hassanchop, rascal
VP build: jpsalas
Programming/Software: jpsalas
Art: hassanchop
Sounds and Music: hassanchop
Dots/Animation: hassanchop
DOF adds : Arngrim
Manufacturer: Original
Year: 2013
Permission to MOD?: Yes, with approval


Here is the DOF edition of Scarface!
 
If you don't have a ledwiz, this release has no meaning for you.
 
It must run in combination with the DOF configuration available in configtool, or you won't have any ledwiz effects.


Click here to download this file



#2 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 03 November 2013 - 07:51 AM

I was in a hurry yesterday when I posted the table so i couldn't put a lot of explanation.

 

DOF is the brand new software for controlling force feedback events on tables to Ledwiz controller, that controls leds, contactors, shaker, gear motor etc..

 

here is it's anouncement:

 

http://www.vpforums....showtopic=25841

 

It will and it has already replaced Ledcontrol.vbs for a lot of them, just like db2s replaced uvp, there's simply no comparison between ledcontrol.vbs and DOF in terms of performance and capabilities.

 

The fact is once you use DOF, you need to abandon ledcontrol.vbs totally, the two systems can't be installed at the same time on your computer/cabinet, or you will have conflicts, two systems that will control your Ledwiz at the same time, I spare you the consequences :)

 

Regarding ledwiztoolbox.vbs, once you install DOF, tables modified with toolbox won't work anymore, but I worked on the two best original tables, this one and WOOLY (that I will release soon) and Bent98 made a HUGE effort to convert the b2s tables from toolbox to DOF, even a lot of tables didn't have toolbox and have DOF now :)

 

DOF has the capability to create and send non rom controlled events to Ledwiz, like ledwiztoolbox.vbs, except that once you modified your table script to create events, the mapping can be done on the directoutputconfig.ini (previously named ledcontrol.ini for ledcontrol.vbs)

 

It is relatively easy to create a DOF non rom controlled event, left flipper example:

 

If Enabled Then

Controller.B2SSetData 101,1

        'LedWSet LedW_LFlipper,LedW_LFlipper, 1, 0 'Enable Left Flipper Feedback Solenoid

        PlaySound "fx_flipperup1":LeftFlipper.RotateToEnd

        RotateLightsLeft

    Else

Controller.B2SSetData 101,0

        'LedWSet LedW_LFlipper,LedW_LFlipper, 0, 0 'Disable Left Flipper Feedback Solenoid

        tmp = LeftFlipper.Strength

        tmp2 = LeftFlipper.Recoil

        LeftFlipper.Strength = tmp * 8 'increase return strength to compensate for the slower speed

        LeftFlipper.Recoil = 0.1       'decrease the recoil to allow drop catches while the flippers are moving down

        PlaySound "fx_flipperdown":LeftFlipper.RotateToStart

        LeftFlipper.Strength = tmp     'back to normal

        LeftFlipper.Recoil = tmp2

    End If

 

the b2ssetdata allows to communicate with b2s.server and DOF, IF you have a E101 mapped on yor ini file, corresponding to the Controller.B2SSetData 101,1 (1 for ON, and 0 for OFF)

 

And this is what you need to put on the script in order for DOF to know that Scarface is a "rom" that can be available to the ini file

 

Set Controller = CreateObject("B2S.Server")

Controller.B2SName = "Scarface"

Controller.Run

 

And here's my ini line according to my ledwiz configuration, world record of length :D

 

Scarface,E132 Blink fu500 fd550,ON,0,0,E103 60,E104 60,E105 60,E107 60/E118 120/E135 60,E101,E102/E108 60/E118 60/E123 60,E106 60,E109 60/E110 60/E111 60/E112 60/E121 60/E136 60,E134 60,E118 300/E119 300/E120 400 10/E123 300/E133 400 10/E134 300/E137 600 15,0,E122,E105 Magenta 120/E113 White 300/E114 White 300/E115 White 300/E116 White 300/E120 Magenta 1000 6/E128 Red m180/E137 Magenta 1500 20/E203 Magenta m180/E205 Yellow 120/E219 Red Blink 200/E223 White Blink 200,E103 Red 60/E112 Yellow 300/E120 Orange 1000 9/E129 Red m180/E137 Orange 1700 16/E201 Red m180/E206 Yellow 120/E109 Yellow 300/E214 Magenta 2000/E216 Red Blink 200/E217 Yellow Blink 200/E218 Red Blink 200/E220 Magenta Blink 200/E221 White Blink 200/E224 Ye,E106 Magenta 120/E112 Yellow 300/E120 Red 1000 6/E121 Red Blink 200/E133 Red 1000 6/E137 Red 1800 22/E207 Yellow 120/E110 Yellow 300/E217 Yellow Blink 200/E221 White Blink 200,E104 Red 60/E112 Yellow 300/E130 Red m180/E133 Orange 1000 9/E137 Orange 1700 16/E202 Red m180/E208 Yellow 120/E111 Yellow 300/E215 Red Blink 200/E217 Yellow Blink 200/E218 Red Blink 200/E221 White Blink 200/E224 Yellow Blink 200/E226 Red Blink 200,E107 Magenta 120/E126 Yellow 600/E131 Red m131/E133 Magenta 1000 6/E137 Magenta 1500 20/E204 Magenta m180/E209 Yellow 120/E210 Red 1000 8/E220 Red Blink 200/E225 Red Blink 200,E117 600 I32/E126 600 I32

 

The configuration is available here

 

And here is the mapping that I created for this table

 

'E101 flipper left

'E102 flipper right

'E103 Slingshot left

'E104 Slingshot right

'E105 Bumper 1

'E106 Bumper 2

'E107 bumper 3

'E108 ball release

'E109 middle yellow target left

'E110 middle yellow target center

'E111 middle yellow target right

'E112 middle yellow targets drop reset

'E113 B of Bank target

'E114 A of Bank target

'E115 N of Bank target

'E116 K of Bank target

'E117 Central bank hit

'E118 World is yours VUK

'E119 Car eject

'E120 Left Ramp done

'E121 Centerblock open

'E122 Platform rotating

'E123 Autoplunger

'E124 Plunger lane exit

'E125 Plunger lane diverter

'E126 Car hit

'E127 Shooter lane switch

'E128 Left outer lane

'E129 Left inner lane

'E130 Right inner lane

'E131 Right outer lane

'E132 Start button light

'E133 Right ramp done

'E134 Knocker

'E135 Lockpost

'E136 Backdoorpost

'E137 Win event

 

'E201 rollover middle left

'E202 rollover middle right

'E203 rollover left

'E204 rollover right

'E205 rotation lights from platform 1

'E206 rotation lights from platform 2

'E207 rotation lights from platform 3

'E208 rotation lights from platform 4

'E209 rotation lights from platform 5

'E210 flash when skillshot made

'E211 

'E212 

'E213 

'E214 Bumper flash

'E215 car skillshot light

'E216 left ramp light

'E217 center target light

'E218 center loop lights

'E219 left lane light

'E220 bumper light

'E221 middle white centerblock

'E222 Easter egg beacon

'E223 left bank white light

'E224 Prepare side event

'E225 right lane light

'E226 right ramp light


Edited by arngrim, 03 November 2013 - 08:36 AM.


#3 Pinball999

Pinball999

    Pinball Fan

  • Members
  • PipPipPipPip
  • 828 posts
  • Location:Germany

  • Flag: France

  • Favorite Pinball: Star Wars

Posted 03 November 2013 - 01:18 PM

Hi Angrim,

 

I've installed your table, but I get an error message at launch:

Line: 2337

Conversion from string "gameover" to type integrer is not valid.

 

Am I missing something obvious?

Thanks in advance for your help.



#4 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 03 November 2013 - 02:17 PM

I just tried the table again after having latest b2server and dof installed and i can't reproduce your issue.

 

do you have the latest version of these softwares? do you have removed or renamed ledcontrol.vbs? you have to

 

line 2337 is this one, 

 

' B2S *******************************************************************************

B2SCurrentFrame = frame

Controller.B2SSetData frame, 1

' B2S *******************************************************************************

 

and have nothing to do with my changes, are you able to run the non mod version : 

Scarface balls and power B2S LEDWIZ cabinet edition 1.0

 

you just need to change the line 

 

LedWActive=1

 

to 

 

LedWActive=0

 

to have the same version than mine, without any DOF events

 

if you can try that and see if you have the same problem?

 

 



#5 Pinball999

Pinball999

    Pinball Fan

  • Members
  • PipPipPipPip
  • 828 posts
  • Location:Germany

  • Flag: France

  • Favorite Pinball: Star Wars

Posted 03 November 2013 - 04:27 PM

Thanks Arngrim,

 

I have the latest server and DOF versions, but I now remember that I had issues to have the B2S LEDWIZ cabinet edition 1.0 running, and had to stick to the normal version.

I'll have another try with the instructions included with "B2S LEDWIZ cabinet edition 1.0".

 

Cheers!



#6 Mark4par

Mark4par

    Hobbyist

  • Members
  • PipPip
  • 46 posts

  • Flag: United States of America

  • Favorite Pinball: Star Trek NG

  • 360 Gamer Tag: markus420

Posted 03 November 2013 - 04:56 PM

Nothing but errors. I have other tables working with dof. Am I missing something.



#7 Herweh

Herweh

    Backglass fan

  • VIP
  • 452 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: Yes

Posted 03 November 2013 - 05:09 PM

Come on, Mark, do you think it's easy to help when you write "nothing but errors". Give us more and exact infos and I'm sure someone is able to help.


herwehb2s-avatar-jr-100.pngbreakshot-sig-small3.pngatlantis-sig-small.pngmousinaround-sig6.pngsc-badge1.pnglw-sig.pngembryon-logo0.pngladyluck.pngapollo13_badge3.pngwhirlwind_badge.png


#8 frans

frans

    Enthusiast

  • Members
  • PipPipPip
  • 209 posts
  • Location:Sao Paulo - Brasil

  • Flag: Brazil

  • Favorite Pinball: Fun House

Posted 04 November 2013 - 11:41 AM

And if i want to rum the machine without B2S? Which lines have to delete? TKS.



#9 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 04 November 2013 - 01:56 PM

Then use that version, you will lose the ledwiz effects also

 

http://www.vpforums....s&showfile=7289



#10 frans

frans

    Enthusiast

  • Members
  • PipPipPip
  • 209 posts
  • Location:Sao Paulo - Brasil

  • Flag: Brazil

  • Favorite Pinball: Fun House

Posted 04 November 2013 - 03:07 PM

ANGRIM, this version don´t work the music machine for me. Any ideas? TKS.



#11 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 04 November 2013 - 03:17 PM

what is the music machine??



#12 frans

frans

    Enthusiast

  • Members
  • PipPipPip
  • 209 posts
  • Location:Sao Paulo - Brasil

  • Flag: Brazil

  • Favorite Pinball: Fun House

Posted 04 November 2013 - 03:29 PM

In the description says: Sounds and Music: hassanchop



#13 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 04 November 2013 - 06:03 PM

Did you download the music pack for that table on rhe download section?

#14 frans

frans

    Enthusiast

  • Members
  • PipPipPip
  • 209 posts
  • Location:Sao Paulo - Brasil

  • Flag: Brazil

  • Favorite Pinball: Fun House

Posted 04 November 2013 - 07:08 PM

where are the link for this? TKS.


Thank you arngrim, i found. Thansk for your help.



#15 Slydog43

Slydog43

    Pinball Wizard

  • Platinum Supporter
  • 3,008 posts
  • Location:Hackettstown, NJ

  • Flag: United States of America

  • Favorite Pinball: Addams Family, All Williams 90's Games

Posted 13 November 2013 - 03:57 PM

I'm getting an error on line #77 with this table.  its the ledtoolbox line, which I thought should be remarked if DOF, but when I do that I still get errors.  (I have removed the toolbox from my system since I'm using DOF)



#16 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 13 November 2013 - 04:26 PM

And if you don't touch the script, it should work, toolbox code is there but deactivated so you can leave the script asis

#17 Slydog43

Slydog43

    Pinball Wizard

  • Platinum Supporter
  • 3,008 posts
  • Location:Hackettstown, NJ

  • Flag: United States of America

  • Favorite Pinball: Addams Family, All Williams 90's Games

Posted 13 November 2013 - 05:54 PM

ok I put back a copy of the toolkit 2.0 in my scripts folder and all is well again.  My idea was if I deleted the LedWizToolBox.vbs then no tables could use the "old" technology and I knew I would be using DOF, guess not.   Thanks for the help as this is one great table, especially with feedback



#18 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 13 November 2013 - 06:48 PM

but i don't have ledwiztoolbox on my cab anymore and i have no issue, on the script you have

 

LedWActive=0

 

means, that it won't be used, you can remove it.



#19 Slydog43

Slydog43

    Pinball Wizard

  • Platinum Supporter
  • 3,008 posts
  • Location:Hackettstown, NJ

  • Flag: United States of America

  • Favorite Pinball: Addams Family, All Williams 90's Games

Posted 13 November 2013 - 08:30 PM

very strange as I get an error if I don't have ledwiztoolbox.vbs in my scripts dir.  I do LedWActive=0 as I have D/L the table and made no changes.  Very Strange



#20 koadic

koadic

    Pinball Fan

  • VIP
  • 1,363 posts
  • Location:Omaha, NE, USA

  • Flag: United States of America

  • Favorite Pinball: Addams Family/Fish Tales/Medieval Madness



Contributor

Posted 13 November 2013 - 09:38 PM

Arngrim, are you absolutely sure you don't have the ledwiztoolbox file somewhere in your VP directory, whether it be the tables folder, scripts folder, etc...? The variable LedWActive isn't even initialized unless the toolbox is loaded, so you would get an error regardless of what it is set to.

To make the Scarface completely ledwiztoolbox independent while still providing the ability to use the ledwiztoolbox, there are many additional changes that need to be made to the script...

download removed, table was updated...

I only assume some legacy support was intended as many calls to the ledwiztoolbox were left uncommented, and the commented ones where done so for other reasons.


Edited by koadic, 13 November 2013 - 09:52 PM.






Also tagged with one or more of these keywords: Scarface, DOF