LunaDLL - Force powerup?

General discussion about Super Mario Bros. X.

Moderator: Userbase Moderators

SMB3
Fighter Fly
Fighter Fly
Posts: 32
Joined: Thu May 22, 2014 8:12 pm

LunaDLL - Force powerup?

Postby SMB3 » Fri Oct 09, 2015 11:26 pm

Hey, I actually posted something on the forums!

Basically, I want to force the player (using Link) to constantly have a fire flower. I could probably do this by spawning fire flowers on them every frame, but that would probably be laggy and HORRIBLY obnoxious. No one wants to hear "DUNUNUNAAAA!!!" sixty times a second. More importantly, however, that would constantly refill the player's health. Since I want death to happen sometimes, that's bad. (If you feel insulted by my watered-down explanation, go read simple.wikipedia.org for a while...)
Is there some way I can basically tell LunaDLL to filter the player's state to fire flower, but in both directions?

Suckerman7 GM
Eerie
Eerie
Posts: 715
Joined: Fri Jun 19, 2015 9:42 am
Flair: Multiversal Traveller/Prismverse's God of Creation
Pronouns: he/him

Re: LunaDLL - Force powerup?

Postby Suckerman7 GM » Sat Oct 10, 2015 1:55 am

You can set your character to its fire flower form at level editor/test settings.

SMB3
Fighter Fly
Fighter Fly
Posts: 32
Joined: Thu May 22, 2014 8:12 pm

Re: LunaDLL - Force powerup?

Postby SMB3 » Sat Oct 10, 2015 1:38 pm

...
Basically, I want to force the player (using Link) to constantly have a fire flower.
Also, this is unrelated to using the test function in the editor - it's supposed to happen in the actual level.

Edit: Bold text on this forum is wussy... (changed emphasis to italics)

Zipper
Ripper II
Ripper II
Posts: 354
Joined: Wed Aug 12, 2015 11:31 am
Contact:

Re: LunaDLL - Force powerup?

Postby Zipper » Sat Oct 10, 2015 1:58 pm

Editing the player's flags to constantly keep the fire flower on them is easy.

As for health, you can try to keep a separate custom variable that lowers down when you get hit(I don't know how to make that happen, haven't touched Luna in a while) and when that variable is dropped down do 0, just kill the player.

the video raocow posted today uses a similar gimmick, albeit without the forced powerup.

SMB3
Fighter Fly
Fighter Fly
Posts: 32
Joined: Thu May 22, 2014 8:12 pm

Re: LunaDLL - Force powerup?

Postby SMB3 » Sat Oct 10, 2015 2:02 pm

Hmm. Ideally the health would be displayed (I wanted to use the HeartSystem in LunaDLL), but that might help.

Taker
Chain Chomp
Chain Chomp
Posts: 309
Joined: Mon Aug 31, 2015 6:20 pm

Re: LunaDLL - Force powerup?

Postby Taker » Sat Oct 10, 2015 7:49 pm

If you want to do it the easier way, just sneak in some fire flower generators around. That's what I do since I suck at coding and lunalua and stuff. Also, this post officially uppered my rank by one. I'm not a weak swooper, now I'm a bit. A bit of you. Of your life. Ok, back on topic, Maybe if you got fireflowers spawning from every enemy you kill? I dunno if that's possible without or with lunalua. All I know to do is to attach layers.

Artemis008
Boomerang Bro
Boomerang Bro
Posts: 1346
Joined: Mon Jul 06, 2015 4:34 pm

Re: LunaDLL - Force powerup?

Postby Artemis008 » Sun Oct 11, 2015 5:04 pm

Merio wrote:If you want to do it the easier way, just sneak in some fire flower generators around. That's what I do since I suck at coding and lunalua and stuff. Also, this post officially uppered my rank by one. I'm not a weak swooper, now I'm a bit. A bit of you. Of your life. Ok, back on topic, Maybe if you got fireflowers spawning from every enemy you kill? I dunno if that's possible without or with lunalua. All I know to do is to attach layers.
But then it would counntinuosly make the (DUN-DUN-DUN-DUUUN) Sound.

Taker
Chain Chomp
Chain Chomp
Posts: 309
Joined: Mon Aug 31, 2015 6:20 pm

Re: LunaDLL - Force powerup?

Postby Taker » Sun Oct 11, 2015 5:12 pm

Maybe forcefully make the player install a sound pack that deletes the power up noise.

Mable
Luigi
Luigi
Posts: 5806
Joined: Sat Dec 21, 2013 4:23 am
Contact:

Re: LunaDLL - Force powerup?

Postby Mable » Sun Oct 11, 2015 5:14 pm

Merio wrote:Maybe forcefully make the player install a sound pack that deletes the power up noise.
Why would you want to force the player to do that just for this single thing.

Taker
Chain Chomp
Chain Chomp
Posts: 309
Joined: Mon Aug 31, 2015 6:20 pm

Re: LunaDLL - Force powerup?

Postby Taker » Sun Oct 11, 2015 5:27 pm

Tinkerbell wrote:
Merio wrote:Maybe forcefully make the player install a sound pack that deletes the power up noise.
Why would you want to force the player to do that just for this single thing.

I don't know, don't ask me. Ask him.

RudeGuy
Bowser
Bowser
Posts: 4994
Joined: Fri Dec 27, 2013 7:36 am
Flair: local guy

Re: LunaDLL - Force powerup?

Postby RudeGuy » Sun Oct 11, 2015 5:30 pm

Merio wrote:If you want to do it the easier way, just sneak in some fire flower generators around.
This is not recommended unless you're able to find a way to make trial and error levels fun. Learning Lua is better than any suugestions you have said.

Artemis008
Boomerang Bro
Boomerang Bro
Posts: 1346
Joined: Mon Jul 06, 2015 4:34 pm

Re: LunaDLL - Force powerup?

Postby Artemis008 » Sun Oct 11, 2015 5:39 pm

Merio wrote:Maybe forcefully make the player install a sound pack that deletes the power up noise.
You could use LUA and set it to only that level.


Return to “General”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari