SUBZERO HEROES 2K1X SAWS, NPC {800,801,802}

Post here for help and support regarding LunaLua and SMBX2's libraries and features.

Moderator: Userbase Moderators

SuperAlex
2025 Egg Hunter
2025 Egg Hunter
Posts: 225
Joined: Mon Nov 02, 2020 3:02 pm
Flair: Spriting
Pronouns: He/Him
Contact:

SUBZERO HEROES 2K1X SAWS, NPC {800,801,802}

Postby SuperAlex » Mon Nov 02, 2020 3:26 pm

I'm creating a level that will be fascinating but for that I need the saws from episode SH 2K1X
but the problem I want to attach is that: the saws (800b,801b,802b) do not appear. in Subsero heroes episode yes.
Image

Image

Image

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9865
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: SUBZERO HEROES 2K1X SAWS, NPC {800,801,802}

Postby Emral » Mon Nov 02, 2020 4:13 pm

The NPCs from my episode are entangled in a web of episode-specific scripts and coding conventions. There's a high likelihood you need to change some variables (colliders to Colliders capitalized, for example) and trace back some dependency chains (2k1x_helper library for toolkit1x).

SuperAlex
2025 Egg Hunter
2025 Egg Hunter
Posts: 225
Joined: Mon Nov 02, 2020 3:02 pm
Flair: Spriting
Pronouns: He/Him
Contact:

Re: SUBZERO HEROES 2K1X SAWS, NPC {800,801,802}

Postby SuperAlex » Fri Nov 13, 2020 10:17 am

Please...I need help in general I just capitalized "Colliders" and I have deleted the lines of toolkit1x because they had a null value now I don't know how I can tell you that error I put, just look at the file. Or maybe you can fix it....
https://drive.google.com/file/d/1PE5Fr9 ... sp=sharing

Hoeloe
Phanto
Phanto
Posts: 1465
Joined: Sat Oct 03, 2015 6:18 pm
Flair: The Codehaus Girl
Pronouns: she/her

Re: SUBZERO HEROES 2K1X SAWS, NPC {800,801,802}

Postby Hoeloe » Sun Nov 15, 2020 9:19 am

The toolkit1x lines were necessary, you just didn't copy over the files they depended on. Deleting them is just going to break the entire file.

SuperAlex
2025 Egg Hunter
2025 Egg Hunter
Posts: 225
Joined: Mon Nov 02, 2020 3:02 pm
Flair: Spriting
Pronouns: He/Him
Contact:

Re: SUBZERO HEROES 2K1X SAWS, NPC {800,801,802}

Postby SuperAlex » Sun Nov 15, 2020 2:52 pm

When I see the saws on camera, that is where the player is instantly damaged.
Image
Last edited by SuperAlex on Sun Nov 15, 2020 3:45 pm, edited 1 time in total.

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9865
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: SUBZERO HEROES 2K1X SAWS, NPC {800,801,802}

Postby Emral » Sun Nov 15, 2020 3:14 pm

the episode has a few global variables, one of which being cam, a shorthand for camera. you can check the episode-wide luna.lua file for this one and more.

SuperAlex
2025 Egg Hunter
2025 Egg Hunter
Posts: 225
Joined: Mon Nov 02, 2020 3:02 pm
Flair: Spriting
Pronouns: He/Him
Contact:

Re: SUBZERO HEROES 2K1X PEPPER SODA

Postby SuperAlex » Thu May 06, 2021 1:13 pm

Hi, I am playing in Patch 4 hotfix and I'm creating another level using the soda Pepper from Subzero heroes well there is only one problem when I have already encoded the NPC-842.lua (Saudi Arabia file) and when I did the test that the player jumps and press the launch button gas the image is seen in two frames as you see it in the comparison.

Testing Level:
Image
Subzero Heroes in Patch 4:
Image
Code in NPC-842:

Code: Select all

if playerPepperFizzliness < 0 then
            Graphics.drawImageWP(pepper_fizz, anchorX + 8, anchorY + fizzyWave - 34, 0, 34 * (math.floor(lunatime.tick() * 0.125) % 2), 6, 34, opacity, 5)
            Graphics.drawImageToSceneWP(pepper_effect, player.x + 0.5 * player.width - 14 * player.direction - 14, player.y + player.height - 10, 0, 58 * (math.floor(lunatime.tick() * 0.125) % 2), 30, 58, opacity, -20)
        end
Code in littleshit but I renamed to "littlefix":

Code: Select all

Graphics.drawImageToSceneWP(
                    Graphics.sprites.background[v.id].img,
                    v.x,
                    v.y,
                    0,
                    frame * config.height,
                    config.width,
                    config.height,
                    config.priority
Oh When I have played in Patch 3 the gas and beep animation appears in this video.
https://youtu.be/Sz_iMvCk9qI?t=1015s
Help Please?


Return to “LunaLua Help”

Who is online

Users browsing this forum: No registered users and 3 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari