[NPC Pack] SMW Pokey

Share and discuss custom LunaLua code and content packs for SMBX2.
TheGameyFireBro105
Eerie
Eerie
Posts: 742
Joined: Thu Jan 09, 2020 6:09 pm
Flair: Good at remakes
Pronouns: he/him

Re: [NPC Pack] SMW Pokey

Postby TheGameyFireBro105 » Tue Feb 02, 2021 6:00 pm

Here's the entire level. Every single file.
https://www.mediafire.com/folder/d75d4z ... e+Island+1

TheGameyFireBro105
Eerie
Eerie
Posts: 742
Joined: Thu Jan 09, 2020 6:09 pm
Flair: Good at remakes
Pronouns: he/him

Re: [NPC Pack] SMW Pokey

Postby TheGameyFireBro105 » Tue Feb 02, 2021 6:01 pm

Is it incompatible with anotherpowerup, or helmets.lua? they're in the episode folder.

Julia Pseudo
Ludwig
Ludwig
Posts: 5604
Joined: Wed Jan 08, 2014 12:04 am
Flair: gay gaymer girl
Pronouns: She/her

Re: [NPC Pack] SMW Pokey

Postby Julia Pseudo » Wed Mar 17, 2021 6:27 am

I got this error while testing a level with this NPC, specifically when segments were killed by a Bombshell Koopa's explosion. The level continues running afterward with no further issues (and the segments are killed properly).
Spoiler: show
Image
Immediately followed by:
Spoiler: show
Image
I already removed the pNPC-related lines, by the way. I strongly believe that I did so cleanly.

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

Re: [NPC Pack] SMW Pokey

Postby MrDoubleA » Wed Mar 17, 2021 8:23 am

Pseudo wrote:
Wed Mar 17, 2021 6:27 am
I got this error while testing a level with this NPC, specifically when segments were killed by a Bombshell Koopa's explosion. The level continues running afterward with no further issues (and the segments are killed properly).
Spoiler: show
Image
Immediately followed by:
Spoiler: show
Image
I already removed the pNPC-related lines, by the way. I strongly believe that I did so cleanly.
It looks like you did the pnpc fix incorrectly? (Simply deleting some lines might not do it.)

Julia Pseudo
Ludwig
Ludwig
Posts: 5604
Joined: Wed Jan 08, 2014 12:04 am
Flair: gay gaymer girl
Pronouns: She/her

Re: [NPC Pack] SMW Pokey

Postby Julia Pseudo » Wed Mar 17, 2021 1:41 pm

Ah shit alright, thanks for the pointer. I'll likely just redownload the unaltered one then since the pnpc warning is only an issue in the editor.

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

Re: [NPC Pack] SMW Pokey

Postby MrDoubleA » Wed Mar 17, 2021 5:21 pm

Pseudo wrote:
Wed Mar 17, 2021 1:41 pm
Ah shit alright, thanks for the pointer. I'll likely just redownload the unaltered one then since the pnpc warning is only an issue in the editor.
Enjl has a good tutorial on removing PNPC on his youtube channel.

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9722
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: [NPC Pack] SMW Pokey

Postby Emral » Wed Mar 17, 2021 5:49 pm

In addition to what was already mentioned above, I haaave noticed that there are quite a couple of bugs with this NPC. I tried to be clever when I wrote it but as it turns out that just meant that the system wasn't suited for many edge cases^^
Might need a rewrite sometime.

Julia Pseudo
Ludwig
Ludwig
Posts: 5604
Joined: Wed Jan 08, 2014 12:04 am
Flair: gay gaymer girl
Pronouns: She/her

Re: [NPC Pack] SMW Pokey

Postby Julia Pseudo » Wed Mar 17, 2021 7:44 pm

Good to know on all points. Thanks to the both of you.

Julia Pseudo
Ludwig
Ludwig
Posts: 5604
Joined: Wed Jan 08, 2014 12:04 am
Flair: gay gaymer girl
Pronouns: She/her

Re: [NPC Pack] SMW Pokey

Postby Julia Pseudo » Mon Jul 05, 2021 12:44 pm

Apparently since updating my SMBX version to the latest one (though I don't know if this is the causal factor for sure), I've run into more issues with this NPC – specifically, some body segments appear as head segments without apparent reason, even if they're at the top of the Pokey and the Pokeys otherwise work normally. Some of the Pokeys spawn normally, with a head at the top and the rest as body segments, and this is always consistent between repeated plays of the level: the one in the screenshot below always spawns with a head, a body, and then three heads for example. Here's an example of what I'm talking about:
Spoiler: show
Image
Edit: After taking the screenshot I realized I should clarify, this is definitely not caused by the sizable behind the pokey, as it spawns to the right of the sizable and exhibits this issue right away. It still behaves as if it were completely intact, just some of the body segments look like/are heads.

Edit 2: Upon further investigation it seems that this is caused by not placing the pokey's segments in order from bottom to top in the editor. If they are placed from bottom to top, then the Pokey works normally. So there is a workaround, but it was still very unexpected behavior to me.

FlamingHotVids
Shy Guy
Shy Guy
Posts: 5
Joined: Sun Jul 24, 2022 1:09 am
Pronouns: He/Him

Re: [NPC Pack] SMW Pokey

Postby FlamingHotVids » Sun Jul 24, 2022 1:59 pm

for some odd reason pokey's bottom part doesn't appear even after eating that part the part above it also becomes invisible
and in fact i can even take damage from that, help pls
Image

Just_Thomas
Snifit
Snifit
Posts: 233
Joined: Sat Dec 16, 2023 3:32 am
Pronouns: he/him

Re: [NPC Pack] SMW Pokey

Postby Just_Thomas » Sun Mar 03, 2024 1:39 pm

Emral wrote:
Wed Sep 25, 2019 9:14 pm
Emral wrote:
Wed Mar 17, 2021 5:49 pm
In addition to what was already mentioned above, I haaave noticed that there are quite a couple of bugs with this NPC. I tried to be clever when I wrote it but as it turns out that just meant that the system wasn't suited for many edge cases^^
Might need a rewrite sometime.
Any plans for updating this fellow here?
Image
Otherwise this should do just fine.
(when yoshi eats the bodyparts the "head" for some reason appears there for a very short amount of time)
Image

BTW: At first I was super confused why there is only the head and the other body parts do not appear ingame (I assumed npc-999 and npc-1000 simply did belong together for whatever reason), but it just looks like you merely forgot to add npc-1000.ini with a npc-1000e.png.

npc-1000.ini
(I have not changed anything but the image path and the name through)

Code: Select all

[npc]
name = "Pokey (Bodypart)"
group = "Super Mario World"
category = "Enemy"
image = "npc-1000e.png"
algorithm = ""
default-effect = 2
shell-effect = 4
gfx-offset-x = 0
gfx-offset-y = 2
gfx-width = 32
gfx-height = 32
physical-width = 30
physical-height = 32
physics-to-gfx = 1
grid = 32
grid-offset-x = 0
grid-offset-y = 0
frame-style = 1
frames = 1
frame-delay = 128
foreground = 0
animation-direction = 0
animation-bidirectional = 0
custom-animation = 0
container = 0
contents-id = 0
have-special = 0
score = 2
speed = 64
moving = 1
scenery = 0
shared-animation = 0
activity = 1
immortal = 0
can-be-eaten = 1
takable = 0
grab-side = 0
grab-top = 0
grab-any = 0
default-health = 1
collision-blocks = 1
gravity = 1
hurtplayer = 1
hurtnpc = 0
kill-slside = 0
kill-onjump = 0
kill-bynpc = 0
kill-fireball = 0
kill-iceball = 0
kill-hammer = 0
kill-tail = 0
kill-spin = 0
kill-statue = 0
kill-with-mounted = 0
kill-on-eat = 0
cliffturn = 0
lava-protection = 1
npc-1000e.png
Image

Just_Thomas
Snifit
Snifit
Posts: 233
Joined: Sat Dec 16, 2023 3:32 am
Pronouns: he/him

Re: [NPC Pack] SMW Pokey

Postby Just_Thomas » Tue Mar 05, 2024 4:05 am

I know this is a double post but this really is an ugly error.
(I really would like you to notice this post and PM-ing you would be nonsensical as it is related to this npc)
Image

Image

mariobrigade2018
Spike
Spike
Posts: 275
Joined: Wed May 24, 2023 7:00 pm
Flair: Normie in coding who dreams of making a Mario game
Pronouns: he/him

Re: [NPC Pack] SMW Pokey

Postby mariobrigade2018 » Tue Mar 05, 2024 8:42 pm

Just_Thomas wrote:
Tue Mar 05, 2024 4:05 am
I know this is a double post but this really is an ugly error.
(I really would like you to notice this post and PM-ing you would be nonsensical as it is related to this npc)
Image

Image
Did you put the Pokey head (NPC 1000) in the editor? You’re not supposed to do that.

Just_Thomas
Snifit
Snifit
Posts: 233
Joined: Sat Dec 16, 2023 3:32 am
Pronouns: he/him

Re: [NPC Pack] SMW Pokey

Postby Just_Thomas » Wed Mar 06, 2024 7:04 am

mariobrigade2018 wrote:
Tue Mar 05, 2024 8:42 pm
Just_Thomas wrote:
Tue Mar 05, 2024 4:05 am
I know this is a double post but this really is an ugly error.
(I really would like you to notice this post and PM-ing you would be nonsensical as it is related to this npc)
Image

Image
Did you put the Pokey head (NPC 1000) in the editor? You’re not supposed to do that.
Oh crap eh. I really missed that information in the first post.
I would have bet money and life that NPC 1000 was really just forgotten (happened somewhere else in a bigger npc pack quite recently). Considering Yoshi could eat a placed NPC-1000 (bodypart BTW) without any problems I was sure, it was just bug with the koopa shell. But to be fair, no compatibility with beta 5 has yet been specified. This will probably be noticeable somewhere.

Image

Also if I use the version without that PNPC stuff (I commented that out and did not get that warning message anymore) I get that bug with the koopa shell again, DESPITE only placing the head.

SOMETHING is wrong here.
Image

Edit: I tried to use npc-247 (SMB2 Pokey) but he does work different as I can not get hurt on top (no matter what I try to change with the npc settings), besides I can not disable NOT being able to stand on top. So it is not a solution either as it seems, unless I miss something.
So as stupid as it does sound like, I guess I just leave the known "bug" in, otherwise it does look weird.


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari