Page 1 of 1

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

Posted: Tue Aug 25, 2020 1:57 am
by Emral
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.

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

Posted: Tue Aug 25, 2020 3:40 am
by Archived
Archived

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

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

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

Posted: Thu Aug 27, 2020 5:59 am
by MrDoubleA
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.

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

Posted: Thu Aug 27, 2020 1:55 pm
by Archived
Archived

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

Posted: Thu Aug 27, 2020 1:59 pm
by MarioLover64
how it should be:

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

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

Posted: Fri Sep 11, 2020 8:03 am
by SPEEDIE
yesss this is awesome, will be using this.

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

Posted: Sat May 29, 2021 12:07 pm
by MrDoubleA
Found a minor bug: if you go into certain power up states while ducking, you'll be teleported upwards slightly.

Image

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

Posted: Sun Mar 20, 2022 2:50 pm
by xtravisage
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?

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

Posted: Sat Feb 18, 2023 4:12 pm
by Torterra18
Cool script, but it makes the lua crash with certain characters