antizip.lua - If you don't want your levels cheesed...

Share and discuss custom LunaLua code and content packs for SMBX2.
Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9708
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

antizip.lua - If you don't want your levels cheesed...

Postby Emral » Tue Aug 25, 2020 1:57 am

A bit similar to physicspatch and coyotetime in that it's a mechanics tweak. This library...
- prevents unducking in tight spaces
- attempts to save the player if they narrowly clip an edge that would otherwise kill them. It will deal damage if the shortest path is larger than 16 pixels, and will kill the player if no safe location was found.
Its purpose is to shift the burden from "trusting the player to not utterly decimate your level" to "trusting the designer to make a level that doesn't have spots where you can get stuck" which is consistent with the burden in regards to other methods of getting the player stuck.
If you wish to move faster in tight corridors, your best bet is to use custom player hitbox files with a smaller ducking height.

Download:
https://pastebin.com/jsXTH5Vc
Spoiler: show
Image
The only customization option is antizip.enabled, and it's true by default.

Not multiplayer compatible because this library is just zombified out of a singleplayer episode script. Might expand later.

Archived
Van De Graf
Van De Graf
Posts: 2166
Joined: Tue Mar 13, 2018 6:15 pm

Re: antizip.lua - If you don't want your levels cheesed...

Postby Archived » Tue Aug 25, 2020 3:40 am

Archived
Last edited by Archived on Mon Jan 30, 2023 11:06 pm, edited 1 time in total.

PROX
Banned
Posts: 1953
Joined: Sun Jul 06, 2014 8:50 pm

Re: antizip.lua - If you don't want your levels cheesed...

Postby PROX » Thu Aug 27, 2020 2:45 am

I probably won't download this because this will probably be included in the next patch more than likely.
Last edited by PROX on Thu Aug 27, 2020 6:43 am, edited 1 time in total.

MrDoubleA
Flurry
Flurry
Posts: 384
Joined: Mon Aug 20, 2018 7:02 am
Flair: How much munchers?
Pronouns: he/him

Re: antizip.lua - If you don't want your levels cheesed...

Postby MrDoubleA » Thu Aug 27, 2020 5:59 am

PROX wrote:
Thu Aug 27, 2020 2:45 am
I won't download this because this will probably be included in the next patch more than likely.
I doubt it, to be honest.

Archived
Van De Graf
Van De Graf
Posts: 2166
Joined: Tue Mar 13, 2018 6:15 pm

Re: antizip.lua - If you don't want your levels cheesed...

Postby Archived » Thu Aug 27, 2020 1:55 pm

Archived
Last edited by Archived on Mon Jan 30, 2023 11:06 pm, edited 1 time in total.

MarioLover64
Spike
Spike
Posts: 259
Joined: Fri Apr 26, 2019 6:09 pm

Re: antizip.lua - If you don't want your levels cheesed...

Postby MarioLover64 » Thu Aug 27, 2020 1:59 pm

how it should be:

Opened an old level? Turn off for compatibility
Create a new level? Turn it on right away

SPEEDIE
Blooper
Blooper
Posts: 180
Joined: Sat Nov 03, 2018 6:22 pm
Flair: u fucking wot
Pronouns: he/him
Contact:

Re: antizip.lua - If you don't want your levels cheesed...

Postby SPEEDIE » Fri Sep 11, 2020 8:03 am

yesss this is awesome, will be using this.

MrDoubleA
Flurry
Flurry
Posts: 384
Joined: Mon Aug 20, 2018 7:02 am
Flair: How much munchers?
Pronouns: he/him

Re: antizip.lua - If you don't want your levels cheesed...

Postby MrDoubleA » Sat May 29, 2021 12:07 pm

Found a minor bug: if you go into certain power up states while ducking, you'll be teleported upwards slightly.

Image

xtravisage
Goomba
Goomba
Posts: 4
Joined: Wed Jun 30, 2021 1:58 pm
Pronouns: she/her

Re: antizip.lua - If you don't want your levels cheesed...

Postby xtravisage » Sun Mar 20, 2022 2:50 pm

I've got a small problem - I'm trying to create a level centered around blinking blocks, but antizip makes their mechanics a lot more punishing than they're supposed to be. In particular, you often take damage when a blinking block materializes around you, and it seems possible to just get stuck in the floor if just your feet barely clip into the block. I have a lot of points where players are expected to jump through dematerialized blinking blocks, such as right here:
Image
and antizip makes it very easy to just get stuck in situations where normal physics would just force you out of the block. Do you have any solutions to this?

Torterra18
Koopa
Koopa
Posts: 19
Joined: Fri Feb 03, 2023 9:43 am
Pronouns: he/him

Re: antizip.lua - If you don't want your levels cheesed...

Postby Torterra18 » Sat Feb 18, 2023 4:12 pm

Cool script, but it makes the lua crash with certain characters


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 0 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari