Page 4 of 13
Re: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!
Posted: Sun Jun 21, 2020 4:10 pm
by MrDoubleA
Huh, yeah... to be honest, I pretty much just mimicked the way onCollideBlock does it, but I did it myself since I wanted thrown NPCs to interact with them, too.
Edit: I'll probably fix that in the next update.
Re: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!
Posted: Sun Jun 21, 2020 8:59 pm
by Novarender
What does the T-Balloon do?
Re: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!
Posted: Sun Jun 21, 2020 9:53 pm
by DisasterMaster
I hate to say it because they've had such a long run, but it's time to move the old piranha plants to depreciated and make MDA's piranha plants the new official baseline ones. These have an amazing amount of customization options and can truly make each individual usage of a certain plant have a different feel.
Re: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!
Posted: Sun Jun 21, 2020 10:01 pm
by Lusho
If you look at SMBX2's Progress sheet, you'll notice that those same plants that are in this pack, are reserved there, since, in fact, those plants are reserved to get basegame, so I wouldn't be surprised if they get basegame really
Re: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!
Posted: Mon Jun 22, 2020 4:47 am
by MrDoubleA
Novarender wrote: ↑Sun Jun 21, 2020 8:59 pm
What does the T-Balloon do?
It's simply a faster version of the P-Balloon.
Re: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!
Posted: Mon Jun 22, 2020 5:16 am
by Emral
DisasterMaster wrote: ↑Sun Jun 21, 2020 9:53 pm
I hate to say it because they've had such a long run, but it's time to move the old piranha plants to depreciated and make MDA's piranha plants the new official baseline ones. These have an amazing amount of customization options and can truly make each individual usage of a certain plant have a different feel.
I'm hesitant to merge this into SMBX2 before it's clear that all interactions on the
checklist have been tested for all of those npcs. This is basically the guideline for when someone wants to have a shot at their stuff becoming basegame.
Re: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!
Posted: Mon Jun 22, 2020 11:36 am
by SpoonyBardOL
Ok first of all, the latest update is amazing. The seesaws themselves are impressive, but the fact that they can be made into actual functional semisolid slopes is just fantastic. But I have observed a couple things (apologies if you're already aware):
It seems sometimes if I hop into an angled seesaw I'll pass through it instead of landing on it, though it's hard to replicate:
I have also rarely encountered an issue with the above setup where I approach the seesaw from the left on the ground and Mario will just be teleported up on top of it, but that was impossible to replicate intentionally and it only happened once or twice.
Re: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!
Posted: Mon Jun 22, 2020 1:25 pm
by ElectriKong
SpoonyBardOL wrote: ↑Mon Jun 22, 2020 11:36 am
Ok first of all, the latest update is amazing. The seesaws themselves are impressive, but the fact that they can be made into actual functional semisolid slopes is just fantastic. But I have observed a couple things (apologies if you're already aware):
It seems sometimes if I hop into an angled seesaw I'll pass through it instead of landing on it, though it's hard to replicate:
I have also rarely encountered an issue with the above setup where I approach the seesaw from the left on the ground and Mario will just be teleported up on top of it, but that was impossible to replicate intentionally and it only happened once or twice.
The fact that the seesaws are semi-solid slopes means that they suffer from the same issues and bugs as semi-solid slopes. Unfortunately Redigit clearly has never programmed the game with the intention of 'semi-solid' and 'slope' being used simultaneously on one thing.
Re: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!
Posted: Mon Jun 22, 2020 2:07 pm
by Lusho
MDA did his/her best attempt at fixing Redigit's jank, It was really not possible to fully fix it, though we're gonna get a fix for that in full version I guess
Re: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!
Posted: Mon Jun 22, 2020 8:26 pm
by Novarender
MDA, suggestion: Recreate the SMM2 p-balloon
Perhaps as another 'letter' balloon
Re: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!
Posted: Mon Jun 22, 2020 8:42 pm
by DisasterMaster
Enjl wrote: ↑Mon Jun 22, 2020 5:16 am
DisasterMaster wrote: ↑Sun Jun 21, 2020 9:53 pm
I hate to say it because they've had such a long run, but it's time to move the old piranha plants to depreciated and make MDA's piranha plants the new official baseline ones. These have an amazing amount of customization options and can truly make each individual usage of a certain plant have a different feel.
I'm hesitant to merge this into SMBX2 before it's clear that all interactions on the
checklist have been tested for all of those npcs. This is basically the guideline for when someone wants to have a shot at their stuff becoming basegame.
I completely understand that they have to go through a battery of tests first. I never meant to sound like a hotfix should be released today retiring the old ones. As CJ_RLushi mentioned above, I too saw that they were on the Claims Sheet a while back and figured that MDA put in some good work and these should get put in (after prudent testing). Playing around with them the other day, I can safely say they interact properly with fireballs, iceballs, and hammers.
The slightly related question is, would it be easy to manipulate the coding for the piranha plants to create the SMB2 (level 4-2) "Whale Spittle / Blowhole Water"? They both rise up at intervals and stay up for a certain period of time before disappearing/retracting.
Re: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!
Posted: Tue Jun 23, 2020 5:47 am
by SpoonyBardOL
I certainly wasn't trying to be critical, MDA has done a phenomenal job here, just wanted to make sure he was aware of a potential issue. I'm not familiar with any previous attempts at making semi solid slopes and their associated bugs, so if this jank is already well-known and unavoidable then disregard.

Re: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!
Posted: Tue Jun 23, 2020 11:54 am
by MrDoubleA
Novarender wrote: ↑Mon Jun 22, 2020 8:26 pm
MDA, suggestion: Recreate the SMM2 p-balloon
Perhaps as another 'letter' balloon
I have actually made that with anotherpowerup.lua, but they're kinda... trapped in purgatory at the moment.
SpoonyBardOL wrote:
I certainly wasn't trying to be critical, MDA has done a phenomenal job here, just wanted to make sure he was aware of a potential issue. I'm not familiar with any previous attempts at making semi solid slopes and their associated bugs, so if this jank is already well-known and unavoidable then disregard.
You could probably find a way to fix that... but to be honest, I'm sick of fixing semisolid slopes. Also, the seesaw_ai.lua file doubles as a patch to fix all emisolid slopes a bit.
Re: MrDoubleA's NPC Pack v1.2 - Stackable NPCs, Goal Tapes, Mechakoopas and more!
Posted: Thu Jun 25, 2020 8:28 pm
by TheGameyFireBro105
MrDoubleA wrote: ↑Mon May 25, 2020 8:16 pm
While I will say that “big fish update” would be neat, I currently would like to finish up the
SMM2 seesaw platforms and new piranha plants I’m currently working on. Thanks for the ideas, though!
Since the plants are finished, can you do my big fish update? There's literally no SMBX2 compatible boss bass out there, and your lua coding is amazing. I would only accept an NPC of your caliber. I know you can do it. I've literally written it down. all you would need to do is code it.
Don't take this as me begging. Take this as me thinking of the entire community, which would be thrilled to see this npc. You're the best lua coder i know, and i want everyone else to know that, too.
TheGameyFireBro105 wrote: ↑Mon May 25, 2020 5:15 pm
I just want to see Double's interpretation of the AI.
He could do 4 NPCS with 4 AI Sets
NPCs:
Boss Bass: standard boss bass
Deep Bass: a green Boss Bass that does not follow player, but simply moves forward jumping out when the player is in it's line of sight
Purple Boss Bass/ Cheep chomp: More accurate homing compared to Boss Bass
Porcupuffer: Linked to screen position. Cannot leave screen. You can spin-jump on it.
AI:
Boss Bass: Swims on the surface, jumping out in attempts to eat player. If it is a Deep Bass, it will not turn to home on player. This is to match Super Mario Maker's green cheep cheeps.
'
Big Bertha: NPC swims left and right, and turns. Occasionally spawns baby of itself, that will reenter its mouth, unless the NPC is facing away, where it will disappear over time.
Cheep Chomp: The NPC will wander, until it spots the player, where it will attempt to swim at, and eat it, causing a one-hit KO, just like the regular Boss Bass AI
This is what i am reffering to, in case you forgot. It has been a while, after all.
Re: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!
Posted: Fri Jun 26, 2020 3:49 pm
by Sonya Sanchez
Why not let MrDoubleA do what he wants?
Also i don’t like the sentence you put into the spoiler, makes other lua coders look like being not as good as him.
Re: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!
Posted: Fri Jun 26, 2020 4:06 pm
by TheGameyFireBro105
Idunn wrote: ↑Fri Jun 26, 2020 3:49 pm
Why not let MrDoubleA do what he wants?
Also i don’t like the sentence you put into the spoiler, makes other lua coders look like being not as good as him.
I wasn't trying to say that. I was actually trying to make the stuff outside the spoiler sound a bit better. you know how it isn't really easy to understand the intent of a comment on the internet.
Anyways, my request was purely due to the fact that (I believe) that 1.14.4 has boss bass, but 2.0 doesn't. I'm always thinking of the community when I make requests.
Re: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!
Posted: Fri Jun 26, 2020 10:06 pm
by UnoffThrower
People could make awesome puzzles with some of these!
Re: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!
Posted: Sat Jun 27, 2020 3:44 am
by UnderscoreFyreNova
TheGameyFireBro105 wrote: ↑Fri Jun 26, 2020 4:06 pm
Idunn wrote: ↑Fri Jun 26, 2020 3:49 pm
Why not let MrDoubleA do what he wants?
Also i don’t like the sentence you put into the spoiler, makes other lua coders look like being not as good as him.
I wasn't trying to say that. I was actually trying to make the stuff outside the spoiler sound a bit better. you know how it isn't really easy to understand the intent of a comment on the internet.
Anyways, my request was purely due to the fact that (I believe) that 1.14.4 has boss bass, but 2.0 doesn't. I'm always thinking of the community when I make requests.
Gonna be honest here, it really looks like you were just trying to simp to get a boss you want, instead of learning how to code
haha coder gang and doing it yourself, and then adding another sentence about "the good of the community" at the end to try to not make it look like, well, a blatant, unwarranted, and frankly rather rude request.
Re: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!
Posted: Wed Jul 01, 2020 5:12 pm
by JamesR624
Seems there is a MAJOR error with the seesaws, making them throw an error when loading the game or level. It then continues loading the level as normal but any customizations to the seesaw's options are not read or used. They default to a certain length with the pivot on one end. Their physics seem to work as expected though.
The error seems to be in seesaw_ai.lua at line
365
Error:
attempt to call field 'getIdxFromCoords' (a nil value)
The line referenced in seesaw_ai.lua as of currently is:
Code: Select all
v.section = Section.getIdxFromCoords(v) or v.section -- Change section, if necessary
I am aware of the comment but I am not sure what I'd need to change.
The full error says:
==> worlds/myepisode/seesaw_ai.lua:365: attempt to call field
'getIdxFromCoords' (a nil value)
=============
stack traceback:
scripts/base/game/npcEventManager.lua:154: in function 'event'
scripts/base/game/npcEventManager.lua:176: in function <scripts/base/game/npcEventManager.lua:176>
scripts/base/engine/main_events.lua:58: in function 'callApiListeners'
scripts/base/engine/main_events.lua:176: in function 'callEventInternal'
scripts/base/engine/main_events.lua:232: in function <scripts/base/engine/main_events.lua:210>
[C]: in function '__xpcall'
main.lua:767: in function <main.lua:766>
Re: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!
Posted: Thu Jul 02, 2020 4:50 am
by MrDoubleA
It would seem you're using an outdated version of SMBX2, as that function was added in one of the patches.