Jump to content



Photo
* * * * * 3 votes

Firepower (Vs A.I.)[Visual Pinball X Original]

VPX Firepower 3rdaxis G5K DjRobX rothbauerw Slydog43

  • Please log in to reply
113 replies to this topic

#1 3rdaxis

3rdaxis

    Pinball Fan

  • VIP
  • 718 posts

  • Flag: United States of America

  • Favorite Pinball: The Addams Family

  • PS3 Gamer Tag: Thirdaxis01

Posted 03 February 2019 - 06:30 PM

Posted Image


File Name: Firepower (Vs A.I.)

File Submitter: 3rdaxis

File Submitted: 03 Feb 2019

File Category: VPX Originals

Author(s): 3rdaxis rothbauerw G5K Slydog43 DJRobX
Media Pack: Link to Media Pack
Permission to MOD?: Yes, with approval


Welcome to Firepower (Vs A.I.) V3.7 Needs VPX 10.7.3 to run.
dB2S Link: https://www.vpforums...&showfile=14181
Media Pack: https://www.vpforums...&showfile=17045
A  first of it's kind pinball game that you can actually play and challenge a fully capable A.I. computer. (Hal-9000)
This release is both graphically and physically identical to my original Firepower but can also still be played in a vanilla state like the original.
By default the computer's level of skill is set to "Legendary" . Player 2, 3 and 4 are the computer. There are four levels of difficulty to choose from. Easy, Normal, Hard, Expert and Legendary. 
You can pick and choose which player is human or computer and even have all four players computer if you wish (lots of fun to watch and even bet on games).
INSTRUCTIONS: 
(In Game)
'*Use the "L" key on keyboard to select language. 
'*Use Flipper Buttons to setup human and or computer players before starting game. (Green Human, Red Computer).
'*Use Magna Save buttons to select flipper bat type.
'*While pressing and holding both flipper buttons use the Magna save buttons to select difficulty. (Easy, Medium, Hard, Expert and Legendary)
'*Press and hold the Right Flipper Button (eight seconds) to display player and difficulty status during game play. Logic Panel displays during DTmode only. 
'*Once game is started no selections can be made or changed until game is over. 
'*Once A.I. is playing, A.I. sound and visual effects can be toggled on/off by using either flipper button.
'*The A.I. can be shutdown during the A.I. turn by pressing and holding both Magna Save buttons. The player can then take control. 
'*All options can be hard set in the script under Table Options as desired.
A very special thank you to rothbauerw for help with the coding and conditional logic. Slydog43 for additional coding and everyone else in the community.  Vogliadicane for the cool backglass and coding. 
This is something that I hope you will all enjoy as much as I have enjoyed making it. I very much plan I installing this on other tables in the near future.
 
Same as before I recommend turning off AO (Ambient Occlusion) in video preferences and keeping ScSp turned on. 
Anything else (Anti-Aliasing, Post-proc AA) will depend on your set-up. 
I also suggest going through the THX set-up to ensure that you are experiencing this table as it was intended. Enjoy... 
 
V3.4.0 Change Log Notes:
*The A.I. has a few new tricks up it's sleeves and will average about one million points. It will still have a bad game now and then but will also sometimes play until the cows come home. You have been warned.
V3.4.8 Change Log Notes:
If the A.I "TILT's" it will learn not to nudge the table for the remainder of that game. 
*It will nudge harder, do bounce passes and his shot priority logic has been optimized to limit any dangerous shots and maximize points. 
*By default the table now as instruction cards explaining the user interface for setting up the A.I. game including player(s) (A.I. or Human), difficulty, canceling the A.I.'s turn etc.
*If the AI Nudge is turned off the right outlane post will move to the easy position during the computers turn. This is in case you have an accelerometer that tilt's out during the AI's turn thus still giving it a fair advantage.
V3.5.8 Change Log Notes:
Hidden in-game functions:
*Press and hold the Right Flipper Button for six seconds to display Logic panel and Player/Difficulty Status during game play. Logic Panel displays with DTmode only. 
*While still holding the Right Flipper Button:

*Use the Left Magna Save Button to change Flipper Bat Type.
*Use the Right Magna Save Button to toggle on/off A.I. sound effects, voice and laser sights.
*Use the Left Flipper Button to change the Score Display colors. (score reels only)

*These changes will stay for the remainder of that game and will revert back to your script options when the table is re-started. 
 
PROVIDED STRICTLY FOR PERSONAL USE AND NOT FOR COMMERCIAL SALE OR DISTRIBUTION. PLEASE DO NOT MASS RE-DISTRIBUTE TABLES OR ROMS. Any unauthorized distribution may result in legal action taken against the party(s) in question.
 
 


Click here to download this file



#2 3rdaxis

3rdaxis

    Pinball Fan

  • VIP
  • 718 posts

  • Flag: United States of America

  • Favorite Pinball: The Addams Family

  • PS3 Gamer Tag: Thirdaxis01

Posted 03 February 2019 - 06:45 PM

Link to video. https://www.youtube....h?v=vrr1e0oNY20



#3 humanoide

humanoide

    Enthusiast

  • Members
  • PipPipPip
  • 243 posts
  • Location:Suburbia

  • Flag: Spain

  • Favorite Pinball: Target Pool - Abra ca Dabra - Big Horse - Simbad - Centaur - Monster Bash - Twilight Zone

Posted 03 February 2019 - 07:38 PM

awesome !!  :otvclap:
It is perfect for those of us who play alone  :)
thanks for this great job  :hi:


#4 Ben Logan

Ben Logan

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 2,275 posts
  • Location:California

  • Flag: ---------

  • Favorite Pinball: System 11

Posted 03 February 2019 - 08:12 PM

Incredible work, guys. It's quite a bit of fun to "battle it out" with the HAL 2000 inspired AI. Remarkable to see the "choices" the AI player makes. How you guys programmed this much pinball intelligence into the algorithm is a total mystery to me. It's uncanny! Thanks for the amazing game, fellas.

 

:D



#5 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,984 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 03 February 2019 - 08:25 PM

Seen this already on youtube and I must say I am impressed. Now, time to kick som AI ass. Thank you very much 3rdAxis and Roth !!


From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#6 BobAlbright

BobAlbright

    Pinball Wizard

  • Platinum Supporter
  • 2,304 posts
  • Location:York, Pa. USA

  • Flag: United States of America

  • Favorite Pinball: Attack from Mars

Posted 03 February 2019 - 08:28 PM

Heading out for SB party. This will get dloaded tomorrow morning. Thanks in advance!

"and in the end , the love you take is equal to the love you make"


#7 bolt

bolt

    VPF Veteran

  • VIP
  • 5,160 posts
  • Location:Kiel / Schleswig Holstein

  • Flag: Germany

  • Favorite Pinball: JP's Deadpool, Harlem Globetrotters, Spiderman and much more

Posted 03 February 2019 - 08:34 PM

Looks perfect, thank you very much.


Posted Image

#8 rothbauerw

rothbauerw

    Enthusiast

  • Members
  • PipPipPip
  • 345 posts
  • Location:Wisconsin - USA

  • Flag: United States of America

  • Favorite Pinball: Dr Who, Tee'd Off, Jive Time

Posted 03 February 2019 - 10:11 PM

Seen this already on youtube and I must say I am impressed. Now, time to kick som AI ass. Thank you very much 3rdAxis and Roth !!


Good luck! It's been kicking my ass. I'm lucky if I win 1 out of 10 against expert.

#9 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,984 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 03 February 2019 - 10:26 PM

I win as long as I don't get 3 house balls in a row. Played 5 games, won 4 of them. I don't get it. Sometime when the ball hits the right outlane area it gives up ?? If it wasn't for that. Maybe it is getting better as time goes by - because the last game was with my 3 house balls and it played much better.


From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#10 3rdaxis

3rdaxis

    Pinball Fan

  • VIP
  • 718 posts

  • Flag: United States of America

  • Favorite Pinball: The Addams Family

  • PS3 Gamer Tag: Thirdaxis01

Posted 03 February 2019 - 10:44 PM

I win as long as I don't get 3 house balls in a row. Played 5 games, won 4 of them. I don't get it. Sometime when the ball hits the right outlane area it gives up ?? If it wasn't for that. Maybe it is getting better as time goes by - because the last game was with my 3 house balls and it played much better.

What do you mean by "house balls"?

I wouldn't necessarily say the A.I. get's better over time more likely just chance. Iv'e seen it score as low as 50k to as high as 1.2 million on the first ball but that's just pinball;) It does however change it's strategy as the game evolves. And although expert is hard to beat it's not perfect. There is still a bit of randomness to it that i felt added a certain realism or personality like hitting the wrong flipper or accidentally "tilting" etc... It's rare on expert though. 


Edited by 3rdaxis, 05 February 2019 - 09:05 AM.


#11 rothbauerw

rothbauerw

    Enthusiast

  • Members
  • PipPipPip
  • 345 posts
  • Location:Wisconsin - USA

  • Flag: United States of America

  • Favorite Pinball: Dr Who, Tee'd Off, Jive Time

Posted 03 February 2019 - 11:08 PM

I win as long as I don't get 3 house balls in a row. Played 5 games, won 4 of them. I don't get it. Sometime when the ball hits the right outlane area it gives up ?? If it wasn't for that. Maybe it is getting better as time goes by - because the last game was with my 3 house balls and it played much better.

 

Something sounds wrong.  What skill level do you have the AI set at?  Expert should typically score 300-400k or more.  I've never seen it give up.



#12 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,984 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 03 February 2019 - 11:10 PM

House balls - is a pinball term for not even hitting the flipper. Had one game where all plunged went directly out the right outlane. Hard to beat that sucker on such a game. Like you say. It's pinball. I don't think I saw it made one game over 200k. Never the less. Cool stuff guys !

 

By give up I mean. It hit the top rubber on the right sling at one time and it made a sound like it had drained already. I also heard the sound when it hit the metal devider in the right outlane and that too made the same sound. Ball rolled down the inner lane and it didn't flip. That is what I call - giving up ;)

 

Haven't touched any setting. Just looked at the script to see if it really was set to 3.


Edited by Thalamus, 03 February 2019 - 11:12 PM.

From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#13 3rdaxis

3rdaxis

    Pinball Fan

  • VIP
  • 718 posts

  • Flag: United States of America

  • Favorite Pinball: The Addams Family

  • PS3 Gamer Tag: Thirdaxis01

Posted 03 February 2019 - 11:15 PM

Oh, House ball. lol yea that makes sense. And don't worry, it will score far more then 200k;) If it gets the chance and starts doing well things take a drastic turn. 


 

I win as long as I don't get 3 house balls in a row. Played 5 games, won 4 of them. I don't get it. Sometime when the ball hits the right outlane area it gives up ?? If it wasn't for that. Maybe it is getting better as time goes by - because the last game was with my 3 house balls and it played much better.

 

Something sounds wrong.  What skill level do you have the AI set at?  Expert should typically score 300-400k or more.  I've never seen it give up.

 

The sound you are hearing is the A.I. nudging the table (You hard core pinball fans should recognize this sound;) One time i saw it fail to flip on a bad post pass when it bounced back to the right flipper but it was just one time. And that's out of hundred+ games. Probably something not getting enabled in time i'm sure but I like that it's human in that sense. Lord knows I've had momentary lapses of reason from time to time, lol. 


Edited by 3rdaxis, 04 February 2019 - 05:16 AM.


#14 rothbauerw

rothbauerw

    Enthusiast

  • Members
  • PipPipPip
  • 345 posts
  • Location:Wisconsin - USA

  • Flag: United States of America

  • Favorite Pinball: Dr Who, Tee'd Off, Jive Time

Posted 03 February 2019 - 11:35 PM

The AI will nudge.  Is the machine tilting?



#15 kds70

kds70

    Enthusiast

  • Members
  • PipPipPip
  • 176 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: Eight Ball Deluxe

Posted 04 February 2019 - 01:40 AM

absolute stunning ... unbelievable. thank you @3rdaxis :boxing:


-------------------

VPin: Williams Time Warp Cabinet (1979), 4K playfield: 40″ Iiyama X4071UHSU, backglass: 32″ LG, Pin"2"DMD, Pincontrol1, LEDWiz, leaf switches / buttons, nudging, tilt, plunger, 10 siemens contactors, knocker, shaker, gear, rgb flasher, PC: Intel i5 [email protected], 8 GB Ram, Zotac GTX 1070 Mini, Win10
Real Pin: Eight Ball Deluxe LE, Centaur 2, Mr. & Mrs. Pac-Man, Rolling Stones, Funhouse


#16 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,131 posts
  • Location:Castle Rock, WA.

  • Flag: United States of America

  • Favorite Pinball: TRON Classic-Congo-Xenon-PINBOT-BOP-LOTR-A Real American Hero OPERATION PINBALL-Millionaire-Whirlwind-Krull-NFL-BlackKnight-FishTales

Contributor

Posted 04 February 2019 - 02:17 AM

An amazing table!!

Pretty damn cool to play against robot!!

Thanks 3rdaxis and rothbauerw!!!

I love it!!!


CHECK OUT THIS TUTORIAL http://www.vpforums....howtopic=32515
TO USE DB2S BACKGLASS PROGRAM WITH DESKTOP TABLES ON 1 MONITOR
 

#17 psmiraglia

psmiraglia

    Enthusiast

  • Members
  • PipPipPip
  • 114 posts

  • Flag: Argentina

  • Favorite Pinball: Star Trek

Posted 04 February 2019 - 04:21 AM

I have not looked at the code but I’m curious: could this be generalized and made a vpx feature? I’m guessing that per table work would still be needed to “teach” rules to the AI, but still...

#18 3rdaxis

3rdaxis

    Pinball Fan

  • VIP
  • 718 posts

  • Flag: United States of America

  • Favorite Pinball: The Addams Family

  • PS3 Gamer Tag: Thirdaxis01

Posted 04 February 2019 - 04:56 AM

Technically I'm sure it can be generalized but for DMD games it's not obvious to me (yet) exactly how to extract the variables needed  like current player, game over and other things that with a solid state are just simple lights in the backbox.

And yes, even if it were a feature or a simple program to install you are absolutely correct, you would still have to create game play strategy for every single table and tune the game to make each shot otherwise at best I think it would feel very generic.

 Currently I'm porting over the work me and rothbauerw have done into just that, a DMD game (to be disclosed at a later date) and this is the very first problem that would need solving. Extracting the variables needed from the rom. The rest should be fairly straight forward.


Edited by 3rdaxis, 05 February 2019 - 04:43 AM.


#19 DGP

DGP

    Enthusiast

  • Members
  • PipPipPip
  • 55 posts
  • Location:USA

  • Flag: United States of America

  • Favorite Pinball: GB, CV, SPP, LotR, MM, MB, FP-AI

Posted 04 February 2019 - 05:19 AM

Wow... not much else I can think of to say.

 

:otvclap:  :love39:



#20 3rdaxis

3rdaxis

    Pinball Fan

  • VIP
  • 718 posts

  • Flag: United States of America

  • Favorite Pinball: The Addams Family

  • PS3 Gamer Tag: Thirdaxis01

Posted 04 February 2019 - 05:20 AM

Wow is enough, love that ball image brother;)







Also tagged with one or more of these keywords: VPX Firepower 3rdaxis, G5K, DjRobX, rothbauerw, Slydog43