[NPC/Block] Extension Pack (2.1)

Share and discuss custom LunaLua code and content packs for SMBX2.
FirestarPlays
Ripper II
Ripper II
Posts: 300
Joined: Tue Feb 28, 2017 1:26 pm
Pronouns: he/him

Re: [NPC/Block] Extension Pack (2.1)

Postby FirestarPlays » Sat Sep 09, 2023 11:20 am

I found a version of the Extension Pack 2.1 that's trojan-free today. It's the version on:
https://smbxarchive.wohlsoft.ru/Assets/ ... 0%28X2%29/

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/Block] Extension Pack (2.1)

Postby mariobrigade2018 » Sat Sep 09, 2023 10:06 pm

FirestarPlays wrote:
Sat Sep 09, 2023 11:20 am
I found a version of the Extension Pack 2.1 that's trojan-free today. It's the version on:
https://smbxarchive.wohlsoft.ru/Assets/ ... 0%28X2%29/
Ahhhhh, the Archive site. Welp, hope you find the pack useful.

MaximalCuboid
Shy Guy
Shy Guy
Posts: 9
Joined: Sun Nov 08, 2020 1:47 pm

Re: [NPC/Block] Extension Pack (2.1)

Postby MaximalCuboid » Thu Dec 14, 2023 1:52 am

Found a bug with the NSMB Red Coins where they disappear when touched on a descending platform.

Image

Being collected this way they do not contribute to the total; in this example, if I collected the remaining six red coins, it did not activate the prize spawning.

MengaV0L
Goomba
Goomba
Posts: 1
Joined: Thu Dec 14, 2023 9:35 am
Pronouns: he/him, they/them

Re: [NPC/Block] Extension Pack (2.1)

Postby MengaV0L » Thu Feb 29, 2024 9:20 pm

how do the smw bubbles work? i've been trying to put them in generators, but they don't work for some reason.

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

Re: [NPC/Block] Extension Pack (2.1)

Postby Just_Thomas » Sun Mar 03, 2024 3:19 pm

MengaV0L wrote:
Thu Feb 29, 2024 9:20 pm
how do the smw bubbles work? i've been trying to put them in generators, but they don't work for some reason.
Generators do generate (duh) npcs with default settings (at least in a certain sense). However by default the bubble does not contain anything.
Place a bubble and put an item inside (item properties -> Contents of the current container).
The advanced mumbo-jumbo settings for the bubble below seem to be optional.
Edit: Ok, ok badly formulated, let's put it this way, just place the bubble normally without the generator and then something sensible will come about

BTW: No idea what is wrong the dl link in the actual thread
viewtopic.php?t=27266

Donkdonker124
Koopa
Koopa
Posts: 15
Joined: Wed Mar 27, 2024 10:31 am
Flair: Fictionally stronger than man
Pronouns: he/him
Contact:

Re: [NPC/Block] Extension Pack (2.1)

Postby Donkdonker124 » Mon Apr 01, 2024 2:37 pm

It's kinda hard to work with the Custom Boss NPC, and I want to use it for the final boss of an episode I'm working on. Is there any easier way to code the attacks for a boss? If not, can it be explained more in-depth?
Last edited by Donkdonker124 on Mon Apr 15, 2024 5:05 pm, edited 1 time in total.

Pixelated_Perfection
Bob-Omb
Bob-Omb
Posts: 21
Joined: Fri Feb 25, 2022 1:23 pm
Pronouns: He/They

Re: [NPC/Block] Extension Pack (2.1)

Postby Pixelated_Perfection » Mon Apr 01, 2024 2:56 pm

I'm still confused about people saying it has a trojan, what part of it is a trojan? I haven't encountered one from when I've used it, so it just confuses me.

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/Block] Extension Pack (2.1)

Postby mariobrigade2018 » Tue Apr 02, 2024 12:21 am

Pixelated_Perfection wrote:
Mon Apr 01, 2024 2:56 pm
I'm still confused about people saying it has a trojan, what part of it is a trojan? I haven't encountered one from when I've used it, so it just confuses me.
It was a false alarm. Don't worry about it.

Pixelated_Perfection
Bob-Omb
Bob-Omb
Posts: 21
Joined: Fri Feb 25, 2022 1:23 pm
Pronouns: He/They

Re: [NPC/Block] Extension Pack (2.1)

Postby Pixelated_Perfection » Tue Apr 02, 2024 12:54 pm

mariobrigade2018 wrote:
Tue Apr 02, 2024 12:21 am
Pixelated_Perfection wrote:
Mon Apr 01, 2024 2:56 pm
I'm still confused about people saying it has a trojan, what part of it is a trojan? I haven't encountered one from when I've used it, so it just confuses me.
It was a false alarm. Don't worry about it.
oh, oki!
i just got worried was all

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

Re: [NPC/Block] Extension Pack (2.1)

Postby Just_Thomas » Sat Apr 06, 2024 7:46 am

Hey, I am interested to use the "\Extension Pack 2.1\Misc\Broozer" npc.
I noticed however he can only break through the SMB3 Brick Blocks (the regular ones, not the giant ones for example also not any other default bricks of SMBX or the SMW rotating blocks) and not Hard Blocks as he is actually known for in the original games.

Image
https://www.mariowiki.com/Broozer
These enemies can be useful, and they can punch otherwise unbreakable bricks, allowing Mario to reach items and Star Coins that could not otherwise be reached.
if I have to guess, the following piece of code is responsible for breaking the blocks

Code: Select all

		for k,b in Block.iterateIntersecting(v.x + v.speedX, v.y, v.x + v.width + v.speedX, v.y + v.height) do
			if Block.MEGA_SMASH[b.id] then
				if not b.isHidden and b:mem(0x5A, FIELD_BOOL) == false then
					if v.speedX ~= 0 then
						if b.id == 667 then
							b:hit()
							v.speedX = v.speedX * 0.85
						else
							b:remove(true)
							v.speedX = v.speedX * 0.85
						end
					end
				end
			end
		end
Can I request a code addition like a table of "npc can break these blocks"?
Maybe also even a table creation for blocks being able to hit/activate (like ?-blocks)?
Or is it more likely that no more changes will be made to this NPC pack as it is already final?

Donkdonker124
Koopa
Koopa
Posts: 15
Joined: Wed Mar 27, 2024 10:31 am
Flair: Fictionally stronger than man
Pronouns: he/him
Contact:

Re: [NPC/Block] Extension Pack (2.1)

Postby Donkdonker124 » Mon Apr 15, 2024 5:09 pm

Donkdonker124 wrote:
Mon Apr 01, 2024 2:37 pm
It's kinda hard to work with the Custom Boss NPC, and I want to use it for the final boss of an episode I'm working on. Is there any easier way to code the attacks for a boss? If not, can it be explained more in-depth?
I'm also having trouble with the "shooting" ability.

timocomsmbx2345
Nipper
Nipper
Posts: 850
Joined: Sat Feb 06, 2016 1:44 pm
Contact:

Re: [NPC/Block] Extension Pack (2.1)

Postby timocomsmbx2345 » Tue Apr 16, 2024 11:08 am

This pack keeps getting better, and better! I love it!

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/Block] Extension Pack (2.1)

Postby mariobrigade2018 » Tue Apr 16, 2024 11:20 am

timocomsmbx2345 wrote:
Tue Apr 16, 2024 11:08 am
This pack keeps getting better, and better! I love it!
There's been no update to this since 2022 what
Last edited by mariobrigade2018 on Tue Apr 16, 2024 3:08 pm, edited 1 time in total.

timocomsmbx2345
Nipper
Nipper
Posts: 850
Joined: Sat Feb 06, 2016 1:44 pm
Contact:

Re: [NPC/Block] Extension Pack (2.1)

Postby timocomsmbx2345 » Tue Apr 16, 2024 1:16 pm

mariobrigade2018 wrote:
Tue Apr 16, 2024 11:20 am
timocomsmbx2345 wrote:
Tue Apr 16, 2024 11:08 am
This pack keeps getting better, and better! I love it!
There's been no update to this since 2021 what
then when was 2.1

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

Re: [NPC/Block] Extension Pack (2.1)

Postby Just_Thomas » Tue Apr 16, 2024 2:11 pm

timocomsmbx2345 wrote:
Tue Apr 16, 2024 1:16 pm
then when was 2.1
From the first post: Last edited by KateBulka on Wed Sep 15, 2021 2:49 pm, edited 25 times in total.
... nope ...but this here:
KateBulka wrote:
Wed Jun 08, 2022 4:30 pm
Download link is in the topic!!

HOWEVER OP is still active on the forum, so it is MAYBE possible an other update (not necessarily new content but maybe bugfixes and luna updates for current SMBX version) might get released at some point, as soon as it is worthwhile.


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari