Can't get custom character to break the breakable floor in Deep Sea Zone act 2.

Hello, I'm writing here today in hopes to get some help with my mod, So as the title suggests I am trying to make it so that my custom character can break the breakable floor in Deep Sea Zone act 2 when they stomp but no matter what I do with the stomp script my character will not break the breakable floor in Deep Sea Zone act 2.

This is some footage of what happens when I use the stomp ability right now.


If any one can help me with this problem I'd appreciate it.
 
Hi! that's a very good question that unfortunately i have no answer for lol. In fact, i wish i could know how to do that too since i want to do a sonic without spindash and thok run and i would have to somehow enable sonic to break these floors, or just use spindash that single time if everything fails. Removing thok and spindash for him is easy enough, but when it comes to finding a function that enable a character to break these floors, i had no luck yet. Anyway, i'll keep digging more than knucles in Sonic:ADV2 if i have to, and let you know if i find something that works.
 
Hi! that's a very good question that unfortunately i have no answer for lol. In fact, i wish i could know how to do that too since i want to do a sonic without spindash and thok run and i would have to somehow enable sonic to break these floors, or just use spindash that single time if everything fails. Removing thok and spindash for him is easy enough, but when it comes to finding a function that enable a character to break these floors, i had no luck yet. Anyway, i'll keep digging more than knucles in Sonic:ADV2 if i have to, and let you know if i find something that works.
Ok, Thanks for telling me about this.
 
I am not sure if you already know that but i have found that there's an alternative path in Deep Sea Zone act 2 that let you complete the stage without using spin and without having to break any of these floors. It's right at the start of the water path in the very beginning of the level, jump from the water to a platform in the right and you'll find a gargoyle, push it and a door near you will open, then you know what to do. From that level and on, no spin or florbreaking ability is required, meaning your character can beat every level in the game without worries. Also i had no luck(yet) finding a way to enable floor breaking through code.
 
1739479650373.png

There are some things that might help here: https://wiki.srb2.org/wiki/Powers
Also this "STR_STOMP"(it's from frang's Jumpspecial skill, that can actually break these breakable floors when you use it) might go somewhere in your code? I am a very begginer when it comes to lua coding and srb2 modding stuff, but i'll try to mess into some things and see if it leads anywhere. Again, i'll let you know if i find something.
 
Last edited:
View attachment 157531
There are some things that might help here: https://wiki.srb2.org/wiki/Powers
Also this "STR_STOMP"(it's from frang's Jumpspecial skill, that can actually break these breakable floors when you use it) might go somewhere in your code? I am a very begginer when it comes to lua coding and srb2 modding stuff, but i'll try to mess into some things and see if it leads anywhere. Again, i'll let you know if i find something.
Thanks for this info, I'll go check this wiki out and see what I can do with it.
 
Also this "STR_STOMP"(it's from frang's Jumpspecial skill, that can actually break these breakable floors when you use it) might go somewhere in your code? I am a very begginer when it comes to lua coding and srb2 modding stuff, but i'll try to mess into some things and see if it leads anywhere. Again, i'll let you know if i find something.

No, STR_STOMP is for bouncing on objects. STR_FLOOR breaks floors. I mentioned STR_BOUNCE because not only does it combine the two, it also automatically resets the flags once the character's animation changes, so that the coder doesn't have to remove them manually.

Is there a specific part of the character code that I need to put this code in? (Like a specific part of the Stomp lua code?)
Wherever you have the stomp code in. I don't know where it is since I can't see the code. preferably set it as soon as the stomp starts (you set the momz).
 
No, STR_STOMP is for bouncing on objects. STR_FLOOR breaks floors. I mentioned STR_BOUNCE because not only does it combine the two, it also automatically resets the flags once the character's animation changes, so that the coder doesn't have to remove them manually.


Wherever you have the stomp code in. I don't know where it is since I can't see the code. preferably set it as soon as the stomp starts (you set the momz).
Here's the stomp code, I didn't touch anything aside from a couple lines in the customize section because I find myself getting lost within the code, I took multiple screen shots of the code and stitched them together in one image so please let me know if any part of the image is stitched a bit rough.
 

Attachments

  • stomp code.png
    stomp code.png
    141.1 KB · Views: 34

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top