SMB1 Ice Bro HELP

Post here for help and support regarding LunaLua and SMBX2's libraries and features.
KJPopcorn
Rex
Rex
Posts: 39
Joined: Wed Mar 20, 2024 8:14 pm
Pronouns: He/Him

SMB1 Ice Bro HELP

Postby KJPopcorn » Fri Apr 26, 2024 6:43 pm

Hi. I'm trying to create a custom npc (Ice Bro). I need help with the coding.

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

Re: SMB1 Ice Bro HELP

Postby mariobrigade2018 » Fri Apr 26, 2024 7:50 pm


KJPopcorn
Rex
Rex
Posts: 39
Joined: Wed Mar 20, 2024 8:14 pm
Pronouns: He/Him

Re: SMB1 Ice Bro HELP

Postby KJPopcorn » Fri May 24, 2024 9:31 am

How can I edit the .lua script where it actually freezes the player?

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

Re: SMB1 Ice Bro HELP

Postby mariobrigade2018 » Fri May 24, 2024 3:00 pm

KJPopcorn wrote:
Fri May 24, 2024 9:31 am
How can I edit the .lua script where it actually freezes the player?
You modify npc-263.lua (the ice cube) for the actual freezing stuff and the enemy iceball (defaults to npc-832) for the speed stuff.

KJPopcorn
Rex
Rex
Posts: 39
Joined: Wed Mar 20, 2024 8:14 pm
Pronouns: He/Him

Re: SMB1 Ice Bro HELP

Postby KJPopcorn » Sat May 25, 2024 3:41 pm

mariobrigade2018 wrote:
Fri May 24, 2024 3:00 pm
KJPopcorn wrote:
Fri May 24, 2024 9:31 am
How can I edit the .lua script where it actually freezes the player?
You modify npc-263.lua (the ice cube) for the actual freezing stuff and the enemy iceball (defaults to npc-832) for the speed stuff.
How?

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

Re: SMB1 Ice Bro HELP

Postby mariobrigade2018 » Sat May 25, 2024 4:37 pm

KJPopcorn wrote:
Sat May 25, 2024 3:41 pm
mariobrigade2018 wrote:
Fri May 24, 2024 3:00 pm
KJPopcorn wrote:
Fri May 24, 2024 9:31 am
How can I edit the .lua script where it actually freezes the player?
You modify npc-263.lua (the ice cube) for the actual freezing stuff and the enemy iceball (defaults to npc-832) for the speed stuff.
How?
Open the lua file using a text editor (most people use visual studio or notepad++, although regular notepad works, too)

KJPopcorn
Rex
Rex
Posts: 39
Joined: Wed Mar 20, 2024 8:14 pm
Pronouns: He/Him

Re: SMB1 Ice Bro HELP

Postby KJPopcorn » Mon May 27, 2024 10:28 am

When I copy the 263 lua file, it doesn't work. I don't get it. =(

How about show and not tell


Return to “LunaLua Help”

Who is online

Users browsing this forum: No registered users and 0 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari