Share and discuss custom LunaLua code and content packs for SMBX2.
Moderator: Userbase Moderators
|
|
|
|
-
Marioman2007
- 2025 Egg Hunter

- Posts: 537
- Joined: Tue Aug 25, 2020 3:19 am
- Flair: Dr. Bones
- Pronouns: He/Him
Postby Marioman2007 » Wed Feb 07, 2024 10:02 pm
ShadowLabrys101 wrote: ↑Wed Feb 07, 2024 9:51 pm
I might have a problem.

Do you know how to fix this?
You either forgot to copy the effects or renamed them.
In the case of the latter, you can use this code to make GP use the new ids:
(900, 901 and 902 are the defaults, you need to change them.)
Code: Select all GP.effects.smoke = 900 -- the effect spawned when a player pound-jumps
GP.effects.poof = 901 -- the effect spawned when a player lands on the ground while pounding
GP.effects.stars = 902 -- the effect spawned when a player lands on the ground while pounding
|
|
|
|
|
|
|
|
|
-
mariobrigade2018
- Rocky Wrench

- Posts: 641
- Joined: Wed May 24, 2023 7:00 pm
- Flair: OK in coding who dreams of making a Mario game
- Pronouns: he/him
Postby mariobrigade2018 » Tue Apr 16, 2024 6:19 pm
What did you do? Checked it out and it looks like you don’t have the effects. Read the top post of page 2 for a fix.
Also adding a GP Cancel to this might be a good idea.
|
|
|
|
|
|
|
|
|
-
Marioman2007
- 2025 Egg Hunter

- Posts: 537
- Joined: Tue Aug 25, 2020 3:19 am
- Flair: Dr. Bones
- Pronouns: He/Him
Postby Marioman2007 » Tue Apr 16, 2024 10:32 pm
mariobrigade2018 wrote: ↑Tue Apr 16, 2024 6:19 pm
Also adding a GP Cancel to this might be a good idea.
You can press up during a pound to cancel it.
|
|
|
|
|
|
|
|
|
-
Marioman2007
- 2025 Egg Hunter

- Posts: 537
- Joined: Tue Aug 25, 2020 3:19 am
- Flair: Dr. Bones
- Pronouns: He/Him
Postby Marioman2007 » Thu Jul 11, 2024 5:12 am
Released yet another minor update: v1.3.2
This one adds support for costumes and fixes peach's hover to not interfere with GP.
Also now the pack comes with SMW styled sprites for mario and luigi.
|
|
|
|
|
|
|
|
|
-
Bboyfergie
- Goomba

- Posts: 3
- Joined: Sun Mar 27, 2022 1:54 pm
- Pronouns: he/him
Postby Bboyfergie » Thu Jul 11, 2024 1:45 pm
Thank you for adding support for the SMW costumes! I was wondering, is there any way to add support to the ground pound switch for MrDoubleA's Yoshi? His script has its own ground pound and it doesn't register when trying to hit the switch.
|
|
|
|
|
|
|
|
|
-
PizzaNoob
- Bot

- Posts: 55
- Joined: Wed May 29, 2024 8:36 pm
- Flair: I like to make comics!
- Pronouns: he/him
Postby PizzaNoob » Sun Jul 28, 2024 9:02 pm
HELP!!! I don't know what to do please respond!!!
Edit: It's fixed now
Last edited by PizzaNoob on Wed Aug 21, 2024 7:12 pm, edited 1 time in total.
|
|
|
|
|
|
|
|
|
-
PizzaNoob
- Bot

- Posts: 55
- Joined: Wed May 29, 2024 8:36 pm
- Flair: I like to make comics!
- Pronouns: he/him
Postby PizzaNoob » Wed Aug 21, 2024 7:04 pm
HELP!!! I got a new error now! I'm confused  !!!

|
|
|
|
|
|
|
|
|
-
Marioman2007
- 2025 Egg Hunter

- Posts: 537
- Joined: Tue Aug 25, 2020 3:19 am
- Flair: Dr. Bones
- Pronouns: He/Him
Postby Marioman2007 » Wed Aug 21, 2024 8:14 pm
PizzaNoob wrote: ↑Wed Aug 21, 2024 7:04 pm
HELP!!! I got a new error now! I'm confused :?: :?: !!!
Are you sure you are on the latest version of customPowerups and ground pound?
|
|
|
|
|
|
|
|
|
-
PizzaNoob
- Bot

- Posts: 55
- Joined: Wed May 29, 2024 8:36 pm
- Flair: I like to make comics!
- Pronouns: he/him
Postby PizzaNoob » Thu Aug 22, 2024 9:08 am
Marioman2007 wrote: ↑Wed Aug 21, 2024 8:14 pm
PizzaNoob wrote: ↑Wed Aug 21, 2024 7:04 pm
HELP!!! I got a new error now! I'm confused  !!!
Are you sure you are on the latest version of customPowerups and ground pound?
Yeah, I replaced all scripts to be in the latest version
|
|
|
|
|
|
|
|
|
-
Marioman2007
- 2025 Egg Hunter

- Posts: 537
- Joined: Tue Aug 25, 2020 3:19 am
- Flair: Dr. Bones
- Pronouns: He/Him
Postby Marioman2007 » Sat Oct 26, 2024 1:32 pm
Looks like you did some mistake in copying the sound files.
|
|
|
|
|
|
|
|
|
-
Neon358
- Fighter Fly

- Posts: 35
- Joined: Tue Apr 07, 2020 5:24 pm
Postby Neon358 » Sat Jan 04, 2025 9:48 pm
With the new Beta 5 update including Chain Chomps in the base game, is it possible to create a script that when the post is ground-pounded, the chomp (or other NPC that is attached to the chain) is set loose?
|
|
|
|
|
|
|
|
|
-
Marioman2007
- 2025 Egg Hunter

- Posts: 537
- Joined: Tue Aug 25, 2020 3:19 am
- Flair: Dr. Bones
- Pronouns: He/Him
Postby Marioman2007 » Sun Jan 05, 2025 1:17 am
Neon358 wrote: ↑Sat Jan 04, 2025 9:48 pm
With the new Beta 5 update including Chain Chomps in the base game, is it possible to create a script that when the post is ground-pounded, the chomp (or other NPC that is attached to the chain) is set loose?
Code: Select all GP.registerCustomNPCFunc(650, function(v, p)
v:kill()
local n = v.data.attachedNPC
if n and n.isValid then
n:mem(0x12E, FIELD_WORD, 30)
n:mem(0x130, FIELD_WORD, p.idx)
end
local e = Effect.spawn(76, v.x + v.width/2, v.y + v.height/2)
e.x = e.x - e.width/2
e.y = e.y - e.height/2
end)
|
|
|
|
|
|
|
|
|
-
Paka_Mzuri
- Goomba

- Posts: 3
- Joined: Fri Jan 17, 2025 9:56 pm
- Pronouns: He/Him or They/Them
Postby Paka_Mzuri » Sat Apr 12, 2025 10:36 pm
Tried to make a custom block groundpoundable using the GP.addSolidBlock function. Got this error. Any idea what the issue could be?

|
|
|
|
|
|
|
|
|
-
Marioman2007
- 2025 Egg Hunter

- Posts: 537
- Joined: Tue Aug 25, 2020 3:19 am
- Flair: Dr. Bones
- Pronouns: He/Him
Postby Marioman2007 » Fri Jun 06, 2025 2:07 am
Update to 1.4
This one fixes a vine related bug and re-adds the score combo while also slightly improving the code.
---------------------------------------------------------------------------------------------
Paka_Mzuri wrote: ↑Sat Apr 12, 2025 10:36 pm
Tried to make a custom block groundpoundable using the GP.addSolidBlock function. Got this error. Any idea what the issue could be?
Fixed in this update, thanks for the report!
|
|
|
|
|
Return to “LunaLua”
|