how do i fix the effects?

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

_SleepyWhirl_
Bob-Omb
Bob-Omb
Posts: 23
Joined: Thu Aug 19, 2021 9:52 pm
Flair: Discord: SleepyWhirl#6093
Pronouns: he/him
Contact:

how do i fix the effects?

Postby _SleepyWhirl_ » Fri Dec 24, 2021 7:12 pm

hello, i was looking through the forums trying to figure this out but coudlnt really find anything that fit, so badically i have a custom enemy sprite for a goomba, that works perfectly fine, but when i kill it with a fireball lets say its custom death effect is cut off and broken whenever it appears, is there a way to adjust the size and frames on an effect or is it impossible? thank you and merry christmas :)

KnownStranger
Blooper
Blooper
Posts: 155
Joined: Fri Jun 18, 2021 4:36 pm

Re: how do i fix the effects?

Postby KnownStranger » Sat Dec 25, 2021 2:57 pm

_SleepyWhirl_ wrote:
Fri Dec 24, 2021 7:12 pm
hello, i was looking through the forums trying to figure this out but coudlnt really find anything that fit, so badically i have a custom enemy sprite for a goomba, that works perfectly fine, but when i kill it with a fireball lets say its custom death effect is cut off and broken whenever it appears, is there a way to adjust the size and frames on an effect or is it impossible? thank you and merry christmas :)
You can set the size and frames of an effect with txt. files. If you wanna know more about effects: viewtopic.php?t=26207

_SleepyWhirl_
Bob-Omb
Bob-Omb
Posts: 23
Joined: Thu Aug 19, 2021 9:52 pm
Flair: Discord: SleepyWhirl#6093
Pronouns: he/him
Contact:

Re: how do i fix the effects?

Postby _SleepyWhirl_ » Sun Dec 26, 2021 6:47 am

You can set the size and frames of an effect with txt. files. If you wanna know more about effects: viewtopic.php?t=26207
[/quote]

thank you for linking me this, its pretty helpful, but im still quite perplexed on how exactly to do it, i have some of the commands in a text file already such as frames and frame style, but the problem im having still applies, the changes in the text file just dont get applied, maybe its because i named the text file the wrong thing? i currently have it named "effect-52" since for normal npc sprites you just name the text file after its source sprite to make it work. do i have to name it something different?

deice
Rocky Wrench
Rocky Wrench
Posts: 639
Joined: Fri Jul 23, 2021 7:35 am

Re: how do i fix the effects?

Postby deice » Sun Dec 26, 2021 7:33 am

using txt files to customize effects works only for effects above id 161. if you want to create a custom effect for an npc which already has an effect id reserved below that, you have to make the actual effect invisible and spawn a custom one when the npc dies through lua.


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 2 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari