Flex Tilt

Support File FP Flex Tilt 2022-10-22

No permission to download
A flexible tilt system for future pinball by shiva (blue)

This simulates a mechanical Plumb Bob type tilt system for Future Pinball, with custom code, as a alternative to the future pinball tilt system.
This was designed to REPLACE FP's tilt code, so any special coding calling FP's built in tilt system should be removed (such as Sub FuturePinball_TiltWarning(ByVal Warnings))
You do not need to define any keystrokes, this was developed using the standard template, so will work as is.

A ball is created in the middle of a wire ring, and triggers a tilt when ever the ball hits the top wall. It was set so it has a cool down effect (that will increase with each multiple hits if the cool down effect is triggered) and will gradually reset but if it registers multiple hits before that cool down effect happens, it will tilt. It is adjustable as well.

This can be used with any version of Future Pinball, as well as BAM. It was reported that this example with simple modifications, also works with analog based tilt, which FP doesn't support.

In the fpt example table, the flex tilt code starts at line 909
Options (there's 3) starts at line 996. TiltDifficulty has 6 settings, is set to 3 (medium) , you can change those settings like the timer interval for the cool down effect in Sub SetTiltDefaults(TiltDifficulty)

INSTRUCTIONS

*** IMPORTANT ***
There is a bug in the basic table template for tilt code, so you need to add one line in the template code
In Sub Drain_Hit() added this to the line JUST BEFORE the End Sub line

ResetTiltedState(TiltDifficulty) ' This resets the variable values for each new ball

Copy and paste the entire tilt code into the script, and copy and paste the objects included in this example into your table
Because this system does not use the editor for amount of nudges before a tilt, set the NudgeCount variable with the amount of nudges. Unlike FP, there are no limits, the usual table standard is 3

PRESETS
This contains 6 presets (including one for custom settings) that change the behavior of the tilt code, as well as give 6 levels of difficulty. The hardest difficulty is preset 1, the easiest is preset 5. Preset 6 is for user defined tilt behavior code.
This system features presets with a "cool down" period, and a Tilt flexible Interval system, which can increase the interval time for longer cool down periods. This system is optional and adjustable
You can set the system to clear each or all nudges after a set period of time, adjust the time period for the cool down effect, or set the default FP like behavior of 3 strikes and you are out. All nudges are set to 3 as default, this DOES NOT use the editor for the amount of nudges, but you can change the amount in the code (NudgeCount)
Since this is a flexible code, you can also change and swap the presets with in the script, as many times as you like, with one simple command.
The default code to put in is:

ResetTiltedState(1)

ResetTiltedState is the subroutine, it blanks out your variables and starts over, the number is the preset (from 1 to 6)
If you put in a number other than 1 to 6, the system has a built in error catcher that will set it to the medium setting, preset 3
The system automatically RESETS TO ITS CONST VALUE (set in the Const statement) at the loss of a ball

LIST OF PRESETS

Preset 1: Very Hard - amount of nudges set, once made during a ball in play, the system tilts
Preset 2 - Hard - Uses the TiltFlex system, that multiples the total amount of nudges to the timer interval set for a cool down period,
so the timer will constantly increase in interval time at each nudge
The system is set so it resets the timer, and Starts over again, so you have to redo the first nudge, and then the second.
If you reach the maximum amount of nudges while the interval time is still going, you will tilt.
You also have a option of limiting the total amount of nudges multiplier

Preset 3 - Medium - Removes the Interval Multiplication, but still resets the timer, so a second nudge will reset the timer back to the beginning,
and start over. In other words, if you have a nudge cooldown going at 7 seconds, and you have a second nudge,
then the timer will stop, and start over, and it will take a full 14 seconds to clear both nudges

Preset 4 - Easy - This is the same as Preset 3, BUT, it does not restart the timer. It will just add on the second nudges time for a cool down.
This can be a far shorter time than preset 3 in most occasions

Preset 5 - Easy - The first nudge starts a cooldown timer, any other nudges (unless you reach the maximum amount of nudges within that time limit and you tilt)
are ignored and removed at the end of the first nudges cool down time limit.

Preset 6 - Custom - A place for your own settings.
General chit-chat
Help Users
You can interact with the ChatGPT Bot in any Chat Room and there is a dedicated room. The command is /ai followed by a space and then your ? or inquiry.
ie: /ai What is a EM Pinball Machine?
  • No one is chatting at the moment.
  • JonPurpleHaze @ JonPurpleHaze:
    that decade was huge for them!
    Quote
  • Free Bally! @ Free Bally!:
    Do you know Fleet Foxes?
    Quote
  • Quote
  • Free Bally! @ Free Bally!:
    never forget 'em after this tune
    Quote
  • JonPurpleHaze @ JonPurpleHaze:
    (AI prompt) describe the band Fleet Foxes
    Quote
  • ChatGPT @ ChatGPT:
    @JonPurpleHaze, Fleet Foxes are an American indie folk band formed in Seattle, Washington in 2006. The band is known for their lush harmonies, intricate arrangements, and poetic lyrics. Their music draws on a wide range of influences, including folk, rock, and baroque pop.

    The band's sound is characterized by intricate vocal harmonies, acoustic guitars, and a variety of other instruments such as mandolin, piano, and various percussion. Their lyrics often explore themes of nature, spirituality, and the passage of time.

    Fleet Foxes gained critical acclaim with their self-titled debut album in 2008, which was followed by the equally well-received albums "Helplessness Blues" in 2011 and "Crack-Up" in 2017. The band has developed a dedicated fanbase and continues to be praised for their unique sound and songwriting abilities.
    Quote
  • JonPurpleHaze @ JonPurpleHaze:
    (AI prompt) Helplessness Blues lyrics by Fleet Foxes
    Quote
  • ChatGPT @ ChatGPT:
    @JonPurpleHaze, I was raised up believing I was somehow unique
    Like a snowflake distinct among snowflakes, unique in each way you can see
    And
    Quote
  • JonPurpleHaze @ JonPurpleHaze:
    ai coulda summed it up: — superb 3rd-wave folkrock :headphones:
    Quote
  • Free Bally! @ Free Bally!:
    yeah wow, that Fleet Foxes tune is a trip?
    Quote
  • Free Bally! @ Free Bally!:
    gangly guitars
    Quote
  • JonPurpleHaze @ JonPurpleHaze:
    Liked it, nice shows!
    Quote
  • JonPurpleHaze @ JonPurpleHaze:
    Have to learn to listen afterwards..
    Quote
  • Chat Bot Mibs Chat Bot Mibs:
    JonPurpleHaze rolls 2d6 and gets 10.
  • Free Bally! @ Free Bally!:
    thanks! well, next thing i'm looking for is songs about nursery rhymes
    • Like
    Reactions: JonPurpleHaze
    Quote
  • Quote
  • JonPurpleHaze @ JonPurpleHaze:
    (AI prompt) adult nursery rhymes songs
    Quote
  • ChatGPT @ ChatGPT:
    @JonPurpleHaze, 1. "Old MacDonald Had a Farm" - updated for adults with humorous lyrics about farm life and animal sounds.

    2. "Twinkle, Twinkle, Little Star" - a more mature version with deeper meaning and reflection on the beauty of the night sky.

    3. "The Wheels on the Bus" - a fun and funky remix for adults, with a catchy beat and new verses about the daily commute.

    4. "Row, Row, Row Your Boat" - a revamped version with lyrics about navigating the ups and downs of adult life.

    5. "Mary Had a Little Lamb" - a grown-up twist on the classic nursery rhyme, exploring themes of friendship and loyalty.

    6. "Humpty Dumpty" - a modern retelling of the tale of Humpty Dumpty, with a focus on resilience and overcoming obstacles.

    7. "Hickory Dickory Dock" - a jazzy rendition of the traditional nursery rhyme, with a swingin' beat and updated lyrics.

    Quote
  • Free Bally! @ Free Bally!:
    haha, but WHO does those songs?
    • Like
    Reactions: JonPurpleHaze
    Quote
  • JonPurpleHaze @ JonPurpleHaze:
    (AI prompt) bands that do adult nursery rhymes songs
    Quote
  • ChatGPT @ ChatGPT:
    @JonPurpleHaze, 1. The Wiggles - Known for their catchy and playful songs for children, The Wiggles have also released adult versions of nursery rhymes with a humorous twist.

    2. Rockabye Baby! - This series of albums feature lullaby renditions of popular rock and pop songs, including nursery rhymes, that are perfect for both children and adults to enjoy.

    3. The Nursery Rhymes - A band that specializes in creating modern and edgy versions of classic nursery rhymes, appealing to both kids and adults with their catchy tunes.

    4. The Mother Goose Band - Combining elements of rock, folk, and pop music, The Mother Goose Band puts a unique spin on traditional nursery rhymes, making them fun and entertaining for listeners of all ages.

    5. The Nursery Rhyme Rebels - This band takes nursery rhymes to a whole new level with their edgy and adult-themed versions, adding a modern twist to these timeless classics.
    Quote
  • Quote
  • Free Bally! @ Free Bally!:
    Well anywhop, not getting paid this week means i have to tend to a cascade of unpaid bills, better get to it. Good chattin this week, have a beaut of a weekend!
    • Like
    Reactions: JonPurpleHaze
    Quote
  • Chat Bot Mibs Chat Bot Mibs:
    Free Bally! has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Block has left the room.
      Chat Bot Mibs Chat Bot Mibs: Block has left the room.
      Back
      Top