Page 1 of 1

Making Custom Animations on Frameless Blocks

Posted: Thu Aug 12, 2021 1:01 am
by cuB_e
Hiya! I was wondering if it's possible to make it so that, let's say I have a custom graphic with 4 frames of animation. And I want to put that onto something like block-408, which has no frames to it.

Is there anyway to make it so that the block animates? Or do I have to rely on blocks that already have animation to them?

Re: Making Custom Animations on Frameless Blocks

Posted: Thu Aug 12, 2021 7:08 am
by Marioman2007
Bloxxerstudios wrote:
Thu Aug 12, 2021 1:01 am
Hiya! I was wondering if it's possible to make it so that, let's say I have a custom graphic with 4 frames of animation. And I want to put that onto something like block-408, which has no frames to it.

Is there anyway to make it so that the block animates? Or do I have to rely on blocks that already have animation to them?
https://docs.codehaus.moe/#/features/block-config

Re: Making Custom Animations on Frameless Blocks

Posted: Thu Aug 12, 2021 1:31 pm
by cuB_e
marioman2007 wrote:
Thu Aug 12, 2021 7:08 am
Bloxxerstudios wrote:
Thu Aug 12, 2021 1:01 am
Hiya! I was wondering if it's possible to make it so that, let's say I have a custom graphic with 4 frames of animation. And I want to put that onto something like block-408, which has no frames to it.

Is there anyway to make it so that the block animates? Or do I have to rely on blocks that already have animation to them?
https://docs.codehaus.moe/#/features/block-config
Thank you!

Added in 24 minutes 32 seconds:
marioman2007 wrote:
Thu Aug 12, 2021 7:08 am
Bloxxerstudios wrote:
Thu Aug 12, 2021 1:01 am
Hiya! I was wondering if it's possible to make it so that, let's say I have a custom graphic with 4 frames of animation. And I want to put that onto something like block-408, which has no frames to it.

Is there anyway to make it so that the block animates? Or do I have to rely on blocks that already have animation to them?
https://docs.codehaus.moe/#/features/block-config
Hey, I'm having another issue with this. Whenever I set a block to "customhurt = true", it has no effect. Despite the fact that something like "lava = true" works. Any reason for that?

Re: Making Custom Animations on Frameless Blocks

Posted: Thu Aug 12, 2021 10:15 pm
by Marioman2007
You need to register your block in your list of harmful blocks.

Re: Making Custom Animations on Frameless Blocks

Posted: Fri Aug 13, 2021 12:40 pm
by cuB_e
marioman2007 wrote:
Thu Aug 12, 2021 10:15 pm
You need to register your block in your list of harmful blocks.
How do I do that?

Re: Making Custom Animations on Frameless Blocks

Posted: Fri Aug 13, 2021 12:44 pm
by Marioman2007
Bloxxerstudios wrote:
Fri Aug 13, 2021 12:40 pm
marioman2007 wrote:
Thu Aug 12, 2021 10:15 pm
You need to register your block in your list of harmful blocks.
How do I do that?
IDK. I haven't tried it yet

Re: Making Custom Animations on Frameless Blocks

Posted: Fri Aug 13, 2021 12:52 pm
by cuB_e
marioman2007 wrote:
Fri Aug 13, 2021 12:44 pm
Bloxxerstudios wrote:
Fri Aug 13, 2021 12:40 pm
marioman2007 wrote:
Thu Aug 12, 2021 10:15 pm
You need to register your block in your list of harmful blocks.
How do I do that?
IDK. I haven't tried it yet
Well.
Shit.

Re: Making Custom Animations on Frameless Blocks

Posted: Thu Aug 19, 2021 8:53 pm
by MrDoubleA
Bloxxerstudios wrote:
Fri Aug 13, 2021 12:40 pm
marioman2007 wrote:
Thu Aug 12, 2021 10:15 pm
You need to register your block in your list of harmful blocks.
How do I do that?
Don't, because that's not how you do it. Rather, harmful blocks must be done via custom block lua code. You can take a look at the harmful SMW hit block as a reference.