[NPC Pack] SMA Large Carrot

Share and discuss custom LunaLua code and content packs for SMBX2.

Moderator: Userbase Moderators

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

Re: [NPC Pack] SMA Large Carrot

Postby TheGameyFireBro105 » Thu Jun 25, 2020 2:47 pm

I am ful good beta 4. I removed the files from the level, but, nooooooooo!!!! Still just a player-only 3x3 semisolid!

Sonya Sanchez
Rinka
Rinka
Posts: 666
Joined: Fri May 10, 2019 3:05 pm
Flair: Robotic
Pronouns: They/Them

Re: [NPC Pack] SMA Large Carrot

Postby Sonya Sanchez » Sat Jun 27, 2020 10:57 am

TheGameyFireBro105 wrote:
Thu Jun 25, 2020 2:47 pm
I am ful good beta 4. I removed the files from the level, but, nooooooooo!!!! Still just a player-only 3x3 semisolid!
Look, I mentioned that I removed the double files from the level folder and it still works fine.

Now can you like show us any screens of the folder, error messages or just send the level you are trying with this which you modified or not?

Not the entire episode just that one thing.

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

Re: [NPC Pack] SMA Large Carrot

Postby TheGameyFireBro105 » Sat Jun 27, 2020 11:00 am

i dont get any errors, it just doesn't work.

Sonya Sanchez
Rinka
Rinka
Posts: 666
Joined: Fri May 10, 2019 3:05 pm
Flair: Robotic
Pronouns: They/Them

Re: [NPC Pack] SMA Large Carrot

Postby Sonya Sanchez » Sat Jun 27, 2020 11:13 am

TheGameyFireBro105 wrote:
Sat Jun 27, 2020 11:00 am
i dont get any errors, it just doesn't work.
Did you install everything that was included in the download link???

It’s kinda weird how only you have the issue of it not working but it works for everyone else smh.

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

Re: [NPC Pack] SMA Large Carrot

Postby TheGameyFireBro105 » Mon Jun 29, 2020 11:22 am

yes. Its all in there. it used to work. but after b4, something happened.

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

Re: [NPC Pack] SMA Large Carrot

Postby TheGameyFireBro105 » Sun Nov 29, 2020 6:03 pm

Image

Wut now?

Wiimeiser
Snifit
Snifit
Posts: 215
Joined: Mon Jun 24, 2019 4:36 am
Flair: What?

Re: [NPC Pack] SMA Large Carrot

Postby Wiimeiser » Thu Aug 05, 2021 4:24 am

So PNPC is long deprecated and I'm trying to remove the reference to it to prevent errors. The problem is it's embedded really deep in the code, and if I remove any part of the function npc.onTickNPC(v) text it breaks all lua. So it seems my only options are 1. Not use this NPC at all, or 2. Put up with constant PNPC errors.

Code: Select all

	for _, p in ipairs(Player.get()) do
		if p.standingNPC then
			if pnpc.wrap(p.standingNPC) == v then
			    if v.ai1 < 1 then
				    SFX.play(24)
				    v.ai1 = 1
				end	
		    end
	    end
	end	
I have no idea how to change that to not require PNPC. Seems like npc.onTickNPC(v) would need to be recoded from scratch...

MegaDood
Charged Spiny
Charged Spiny
Posts: 1804
Joined: Wed Nov 01, 2017 2:43 am

Re: [NPC Pack] SMA Large Carrot

Postby MegaDood » Thu Aug 05, 2021 10:55 pm

Hi everyone, I noticed that a lot of people seem to want to use this NPC, but can't due to pnpc shenanigans. So I decided to help you out. Have fun! I even extended the height you can set the carrot to.
https://drive.google.com/file/d/18AaJ0g ... sp=sharing

DisasterMaster
Blooper
Blooper
Posts: 161
Joined: Fri Jan 31, 2020 10:01 pm

Re: [NPC Pack] SMA Large Carrot

Postby DisasterMaster » Sat Aug 07, 2021 1:26 am

MegaDood wrote:
Thu Aug 05, 2021 10:55 pm
Hi everyone, I noticed that a lot of people seem to want to use this NPC, but can't due to pnpc shenanigans. So I decided to help you out. Have fun! I even extended the height you can set the carrot to.
https://drive.google.com/file/d/18AaJ0g ... sp=sharing
Thank you for that and for going above and beyond to uncap the height! Truly appreciated getting rid of the pnpc and pblock jank.

Just a visual warning, anything set at a height of 7+ will cause the sizeable and carrot to detach from each other. It still works fine, though.

MegaDood
Charged Spiny
Charged Spiny
Posts: 1804
Joined: Wed Nov 01, 2017 2:43 am

Re: [NPC Pack] SMA Large Carrot

Postby MegaDood » Sat Aug 07, 2021 11:16 pm

DisasterMaster wrote:
Sat Aug 07, 2021 1:26 am
MegaDood wrote:
Thu Aug 05, 2021 10:55 pm
Hi everyone, I noticed that a lot of people seem to want to use this NPC, but can't due to pnpc shenanigans. So I decided to help you out. Have fun! I even extended the height you can set the carrot to.
https://drive.google.com/file/d/18AaJ0g ... sp=sharing
Thank you for that and for going above and beyond to uncap the height! Truly appreciated getting rid of the pnpc and pblock jank.

Just a visual warning, anything set at a height of 7+ will cause the sizeable and carrot to detach from each other. It still works fine, though.
No problem!

KateBulka
Dolphin
Dolphin
Posts: 1112
Joined: Tue Apr 15, 2014 8:29 am
Flair: Bun~
Pronouns: she/her

Re: [NPC Pack] SMA Large Carrot

Postby KateBulka » Thu Aug 19, 2021 12:22 pm

DisasterMaster wrote:
Sat Aug 07, 2021 1:26 am
MegaDood wrote:
Thu Aug 05, 2021 10:55 pm
Hi everyone, I noticed that a lot of people seem to want to use this NPC, but can't due to pnpc shenanigans. So I decided to help you out. Have fun! I even extended the height you can set the carrot to.
https://drive.google.com/file/d/18AaJ0g ... sp=sharing
Thank you for that and for going above and beyond to uncap the height! Truly appreciated getting rid of the pnpc and pblock jank.

Just a visual warning, anything set at a height of 7+ will cause the sizeable and carrot to detach from each other. It still works fine, though.
Regarding all issues: You can check out new carrot npc in my Extension Pack -w- All listed issues were fixed!

TheTrueMarioMaster
Snifit
Snifit
Posts: 200
Joined: Mon Mar 19, 2018 11:58 pm

Re: [NPC Pack] SMA Large Carrot

Postby TheTrueMarioMaster » Thu Aug 26, 2021 7:02 pm

Core wrote:
Thu Aug 19, 2021 12:22 pm
DisasterMaster wrote:
Sat Aug 07, 2021 1:26 am
MegaDood wrote:
Thu Aug 05, 2021 10:55 pm
Hi everyone, I noticed that a lot of people seem to want to use this NPC, but can't due to pnpc shenanigans. So I decided to help you out. Have fun! I even extended the height you can set the carrot to.
https://drive.google.com/file/d/18AaJ0g ... sp=sharing
Thank you for that and for going above and beyond to uncap the height! Truly appreciated getting rid of the pnpc and pblock jank.

Just a visual warning, anything set at a height of 7+ will cause the sizeable and carrot to detach from each other. It still works fine, though.
Regarding all issues: You can check out new carrot npc in my Extension Pack -w- All listed issues were fixed!
Funny how you just updated this since I used this NPC for my backup level for a recent contest or more specifically the version edited by Megadood to avoid any complicated errors I could have ended up with.


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 2 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari