Page 1 of 1

SMB1 Ice Bro HELP

Posted: Fri Apr 26, 2024 6:43 pm
by KJPopcorn
Hi. I'm trying to create a custom npc (Ice Bro). I need help with the coding.

Re: SMB1 Ice Bro HELP

Posted: Fri Apr 26, 2024 7:50 pm
by mariobrigade2018

Re: SMB1 Ice Bro HELP

Posted: Fri May 24, 2024 9:31 am
by KJPopcorn
How can I edit the .lua script where it actually freezes the player?

Re: SMB1 Ice Bro HELP

Posted: Fri May 24, 2024 3:00 pm
by mariobrigade2018
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.

Re: SMB1 Ice Bro HELP

Posted: Sat May 25, 2024 3:41 pm
by KJPopcorn
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?

Re: SMB1 Ice Bro HELP

Posted: Sat May 25, 2024 4:37 pm
by mariobrigade2018
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)

Re: SMB1 Ice Bro HELP

Posted: Mon May 27, 2024 10:28 am
by KJPopcorn
When I copy the 263 lua file, it doesn't work. I don't get it. =(

How about show and not tell