Page 1 of 1

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

Posted: Mon Nov 02, 2020 3:26 pm
by SuperAlex
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

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

Posted: Mon Nov 02, 2020 4:13 pm
by Emral
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).

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

Posted: Fri Nov 13, 2020 10:17 am
by SuperAlex
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

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

Posted: Sun Nov 15, 2020 9:19 am
by Hoeloe
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.

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

Posted: Sun Nov 15, 2020 2:52 pm
by SuperAlex
When I see the saws on camera, that is where the player is instantly damaged.
Image

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

Posted: Sun Nov 15, 2020 3:14 pm
by Emral
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.

Re: SUBZERO HEROES 2K1X PEPPER SODA

Posted: Thu May 06, 2021 1:13 pm
by SuperAlex
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?