Page 1 of 1

Pseudo-Creative Flight

Posted: Thu Oct 03, 2024 8:29 am
by beholderface
This hex is designed as a module for my wisp system, which is detailed here. Designed for a 1-tick interval.
Requires hexal, moreiotas, hexical, and hexgloop.

To set this up, you will need to place a focal port five blocks above the executing wisp, which you should load with a list containing any number lower than the current server timestamp (as reported by Timekeeper's Reflection) and the False boolean, in that order. The distance for the focal port is easily adjustable.
Once you've done that, and placed the focus containing this hex into one of the ports surrounding the wisp, you just need to double jump to toggle it on and off, at which point you can control your flight in the same manner as vanilla creative flight, though since I didn't have any way to detect sprinting I bound a boost feature to the telepathy keybind.

Note that it's a good deal floatier than true creative flight, and you'll slowly ascend even when you're not otherwise moving, since I couldn't figure out a close enough gravity-negation vector. Additionally, this hex is not designed for use if you don't already have some form of fall damage negation. I expect it's possible to use it safely without fall protection, but it'd be quite tricky.

Code: Select all

Bookkeeper's Gambit: v
Compass' Purification
Vector Reflection +Y
Numerical Reflection: 5 //change this number to adjust focal port distance
Multiplicative Distillation
Additive Distillation
Entity Purification
Gemini Decomposition
Chronicler's Purification
Leaping Reflection
Numerical Reflection: 0
Equality Distillation //port, [data], bool
{
    Flock's Disintegration //port, previous jump timestamp, flight bool
    Jester's Gambit //port, flight bool, previous jump timestamp
    Timekeeper's Reflection
    Numerical Reflection: 40 //this number is highly dependent on the ping for your connection to the server. if you're getting too many false positives, reduce it. if it's too tricky to activate, increase it.
    //I've also found that holding down space for a bit longer than a tick can help.
    Subtractive Distillation
    Maximus Distillation II //port, previous flight bool, bool
    {
        Negation Purification
        Hallucinate Click
    }
    {
        Aergia's Gambit
    }
    Flock's Disintegration
    Augur's Exaltation
    Hermes' Gambit//port, updated flight bool
    Timekeeper's Reflection
    Jester's Gambit
    Numerical Reflection: 2
    Flock's Gambit //port, [timestamp, bool]
    Undertaker's Gambit
    Chronicler's Gambit
    Flock's Disintegration
}
{
    Flock's Disintegration
}
Augur's Exaltation
Hermes' Gambit
//don't allow the wisp to starve itself to death
Reservoir Reflection
Numerical Reflection: 100
Maximus Distillation
Conjunction Distillation
//fly!
{
    //get direction to orient movement around
    Mind's Reflection
    Alidade's Purification
    Vector Disintegration
    Bookkeeper's Gambit: v-v
    Length Purification
    Numerical Reflection: 1
    Minimus Distillation
    {
        Mind's Reflection
        Alidade's Purification
        Vector Disintegration
        Bookkeeper's Gambit: v-
        Numerical Reflection: 0
        Jester's Gambit
        Vector Exaltation
        Gemini Decomposition
        Length Purification
        Division Distillation
    }
    {
        Mind's Reflection
        Theodolite Purification
        Mind's Reflection
        Alidade's Purification
        Vector Disintegration
        //look vector y component is guaranteed to be either 1 or -1. Multiply this by -1 to get the number to multiply Theodolite by to make sure it's pointing the right way.
        Bookkeeper's Gambit: v-v
        Numerical Reflection: -1
        Multiplicative Distillation
        Multiplicative Distillation
    }
    Augur's Exaltation
    Hermes' Gambit
    //get vectors corresponding to control inputs
    //w (just plain horizontal look)
    Vector Reflection +Y
    Arc's Reflection
    Numerical Reflection: 2
    Division Distillation
    Rotation Distillation
    Prospector's Gambit
    Transformation Purification
    Multiplication Distillation: Matrix
    Restoration Purification //w, a
    Jester's Gambit //a, w
    Vector Reflection +Y
    Arc's Reflection
    Rotation Distillation
    Prospector's Gambit
    Transformation Purification
    Multiplication Distillation: Matrix
    Restoration Purification //a, w, s
    Jester's Gambit //a, s, w
    Vector Reflection +Y
    Arc's Reflection
    Numerical Reflection: 1.5
    Multiplicative Distillation
    Rotation Distillation
    Prospector's Gambit
    Transformation Purification
    Multiplication Distillation: Matrix
    Restoration Purification //a, s, w, d
    Evade Reflection
    Numerical Reflection: -1
    Maximus Distillation
    Numerical Reflection: 1
    Numerical Reflection: 0
    Augur's Exaltation
    Multiplicative Distillation
    Jester's Gambit
    Charge Reflection
    Numerical Reflection: -1
    Maximus Distillation
    Numerical Reflection: 1
    Numerical Reflection: 0
    Augur's Exaltation
    Multiplicative Distillation
    Additive Distillation //a, s, {d,w}
    Jester's Gambit
    Retreat Reflection
    Numerical Reflection: -1
    Maximus Distillation
    Numerical Reflection: 1
    Numerical Reflection: 0
    Augur's Exaltation
    Multiplicative Distillation
    Additive Distillation
    Jester's Gambit
    Dodge Reflection
    Numerical Reflection: -1
    Maximus Distillation
    Numerical Reflection: 1
    Numerical Reflection: 0
    Augur's Exaltation
    Multiplicative Distillation
    Additive Distillation //finalized WASD vector
    Gemini Decomposition
    Vector Reflection Zero
    Inequality Distillation
    Numerical Reflection: 10
    Jester's Gambit
    {
        Division Distillation
        Bookkeeper's Gambit: v
    }
    Flock's Disintegration
    Augur's Exaltation
    Hermes' Gambit
    Telepathic Reflection
    Numerical Reflection: -1
    Maximus Distillation
    Numerical Reflection: 3
    Numerical Reflection: 1
    Augur's Exaltation
    Multiplicative Distillation
    Vector Reflection +Y
    //halve gravity rejection vector if sneaking
    Mind's Reflection
    Stadiometer's Purification
    Mind's Reflection
    Gulliver's Purification
    Numerical Reflection: 1.5
    Multiplicative Distillation
    Maximus Distillation
    Numerical Reflection: 8
    Numerical Reflection: 4
    Augur's Exaltation
    Numerical Reflection: 98
    Division Distillation
    Multiplicative Distillation
    Additive Distillation
    Leaping Reflection
    Numerical Reflection: -1
    Maximus Distillation
    Vector Reflection +Y
    Numerical Reflection: 32
    Division Distillation
    Vector Reflection Zero
    Augur's Exaltation
    Additive Distillation
    Mind's Reflection
    Jester's Gambit
    Vector Reflection +Y
    Numerical Reflection: 100
    Division Distillation
    Subtractive Distillation
    Impulse
}
{
    Aergia's Gambit
}
Flock's Disintegration
Augur's Exaltation
Hermes' Gambit
Bookkeeper's Gambit: Drop 1aaqqqqqewNumerical Reflection: 5waqawwaawqqqqqdaqaaadaawawqwqwqwqwqwqaqdaqqaNumerical Reflection: 0adqqqqwaeawqaawddddwaaNumerical Reflection: 40wddweeqqqdweqqadaqeeeqqqddeaqqeeeqwaeawqawdddeaqqddwaaaawddNumerical Reflection: 2ewdqdweddqaawdwewewewewewqwaeawqeeeqqqqwaeawqeeeawdddeaqqaqaweewaqaweedwNumerical Reflection: 100ewdwqqqqaqwaqeeeeeBookkeeper's Gambit: Drop 1, Keep 1, Drop 1wqaqwNumerical Reflection: 1qqqqqaqwaqeeeeeBookkeeper's Gambit: Drop 1, Keep 1Numerical Reflection: 0aawddeqqqqqaadaawqaqwwdedweeeqqqqaqwqaaqaqwaqeeeeeBookkeeper's Gambit: Drop 1, Keep 1, Drop 1Numerical Reflection: -1waqawwaqaweeeawdddeaqqqqqqqewqdwdqNumerical Reflection: 2wdedwawwaeawwawawddwaaeddawwaeawwaadwawaqawawwaeawwdwwdqdwwddawdaawddqqqqqewqdwdqawwaeawwawawddwaaeddawwaeawwaadwawaqawawwaeawwdwwdqdwwddawdaawddqqqqqewqdwdqNumerical Reflection: 0waqawawwaeawwawawddwaaeddawwaeawwaadwawaqawawwaeawwdwwdqdwwddawdqaqdaNumerical Reflection: -1eNumerical Reflection: 1Numerical Reflection: 0awddwaqawaawddaqaddqNumerical Reflection: -1eNumerical Reflection: 1Numerical Reflection: 0awddwaqawwaawaawdddedwdqNumerical Reflection: -1eNumerical Reflection: 1Numerical Reflection: 0awddwaqawwaawaawddedeadNumerical Reflection: -1eNumerical Reflection: 1Numerical Reflection: 0awddwaqawwaawaadaaqqqqqdaNumerical Reflection: 10aawddqqqwdedwBookkeeper's Gambit: Drop 1eeeqwaeawqawdddeaqqwqqadawNumerical Reflection: -1eNumerical Reflection: 3Numerical Reflection: 1awddwaqawqqqqqewqaqawqqaqaawawwawwaNumerical Reflection: 0waqaweNumerical Reflection: 8Numerical Reflection: 4awddNumerical Reflection: 98wdedwwaqawwaawqaqdaqqaNumerical Reflection: -1eqqqqqewNumerical Reflection: 32wdedwqqqqqawddwaawqaqaawddqqqqqewNumerical Reflection: 100wdedwwddwawqqqwaqweeeqqqddeaqqeeeqwaeawqawdddeaqq