The SMBX "SMB3" Overhaul API Mod v1.0.2

This is the place for discussion and support for LunaLua and related modifications and libraries.

Moderator: Userbase Moderators

Forum rules
Before you make a topic/post, consider the following:
-Is there a topic for this already?
-Is your post on topic/appropriate?
-Are you posting in the right forum/following the forum rules?
XerX
Phanto
Phanto
Posts: 1487
Joined: Fri Dec 20, 2013 3:33 pm

Re: The SMBX "SMB3" Overhaul API Mod

Postby XerX » Mon Jul 27, 2015 8:52 pm

That's not that big of a deal is it? I did want to extend the max score but atm I'm unsure how to do so.

MECHDRAGON777
Pink Yoshi Egg
Pink Yoshi Egg
Posts: 6422
Joined: Fri Dec 20, 2013 6:40 pm
Flair: Nuclear Queen of Reversion.
Contact:

Re: The SMBX "SMB3" Overhaul API Mod

Postby MECHDRAGON777 » Mon Jul 27, 2015 9:24 pm

Ignore the demo counter, That was from the Kaizo contest.

Can you add a death counter to the bottom right and disable the cheat for it "toggledemocounter"?

XerX
Phanto
Phanto
Posts: 1487
Joined: Fri Dec 20, 2013 3:33 pm

Re: The SMBX "SMB3" Overhaul API Mod

Postby XerX » Mon Jul 27, 2015 9:42 pm

MECHDRAGON777 wrote:Ignore the demo counter, That was from the Kaizo contest.

Can you add a death counter to the bottom right and disable the cheat for it "toggledemocounter"?
May I ask why you would want that? Also note that this is a SMB3 overhaul mod, so it's meant to replicate SMB3 as best as it can. I don't recall a death counter in SMB3.

MECHDRAGON777
Pink Yoshi Egg
Pink Yoshi Egg
Posts: 6422
Joined: Fri Dec 20, 2013 6:40 pm
Flair: Nuclear Queen of Reversion.
Contact:

Re: The SMBX "SMB3" Overhaul API Mod

Postby MECHDRAGON777 » Mon Jul 27, 2015 10:10 pm

XerX wrote:
MECHDRAGON777 wrote:Ignore the demo counter, That was from the Kaizo contest.

Can you add a death counter to the bottom right and disable the cheat for it "toggledemocounter"?
May I ask why you would want that? Also note that this is a SMB3 overhaul mod, so it's meant to replicate SMB3 as best as it can. I don't recall a death counter in SMB3.
Well, to make it so the luna code would cause that and so no one pulls up the demo counter in the top left, but the bottom left space may be useful for that and the frame rate...

Wkay
Spike
Spike
Posts: 276
Joined: Sat Feb 21, 2015 2:39 am

Re: The SMBX "SMB3" Overhaul API Mod

Postby Wkay » Tue Jul 28, 2015 6:40 am

This is honestly better than the original Super Mario Bros. 3 one...

Axiom
Phanto
Phanto
Posts: 1471
Joined: Tue Dec 24, 2013 2:23 pm

Re: The SMBX "SMB3" Overhaul API Mod

Postby Axiom » Tue Jul 28, 2015 8:30 am

MECHDRAGON777 wrote:Ignore the demo counter, That was from the Kaizo contest.

Can you add a death counter to the bottom right and disable the cheat for it "toggledemocounter"?
yes i can.

i've already made a death counter, check out my development thread in sandbox. but i can easily change the position and i'll experiment with changing cheat code c:

MECHDRAGON777
Pink Yoshi Egg
Pink Yoshi Egg
Posts: 6422
Joined: Fri Dec 20, 2013 6:40 pm
Flair: Nuclear Queen of Reversion.
Contact:

Re: The SMBX "SMB3" Overhaul API Mod

Postby MECHDRAGON777 » Tue Jul 28, 2015 11:22 am

Luigifan2010 wrote:
MECHDRAGON777 wrote:Ignore the demo counter, That was from the Kaizo contest.

Can you add a death counter to the bottom right and disable the cheat for it "toggledemocounter"?
yes i can.

i've already made a death counter, check out my development thread in sandbox. but i can easily change the position and i'll experiment with changing cheat code c:
What about frame rate?

Axiom
Phanto
Phanto
Posts: 1471
Joined: Tue Dec 24, 2013 2:23 pm

Re: The SMBX "SMB3" Overhaul API Mod

Postby Axiom » Tue Jul 28, 2015 11:41 am

MECHDRAGON777 wrote:
Luigifan2010 wrote:
MECHDRAGON777 wrote:Ignore the demo counter, That was from the Kaizo contest.

Can you add a death counter to the bottom right and disable the cheat for it "toggledemocounter"?
yes i can.

i've already made a death counter, check out my development thread in sandbox. but i can easily change the position and i'll experiment with changing cheat code c:
What about frame rate?
worthless in a mario game. the game's locked at 65 fps/tps anyway and if you play with frameskip disabled you mess everything up.

Axiom
Phanto
Phanto
Posts: 1471
Joined: Tue Dec 24, 2013 2:23 pm

Re: The SMBX "SMB3" Overhaul API Mod

Postby Axiom » Tue Jul 28, 2015 4:58 pm

https://github.com/Luigifan/lunaluascri ... ounter.lua
my skype is mrmiketheripper but i don't go on it much, if you really want to talk though i'd be willing to fire it up

MidiGuyDP
Tweeter
Tweeter
Posts: 147
Joined: Fri Jan 17, 2014 2:28 am

Re: The SMBX "SMB3" Overhaul API Mod

Postby MidiGuyDP » Thu Jul 30, 2015 11:10 pm

I just got a hold of it and tried it out. Really cool stuff! ^^

I had a question though, is there a way to set individual time limits to each level?

I actually did find a way to do it, by putting each level in it's own folder then putting a lua file in each of those, but that resulted in individual "Card" save files as well that were exclusive to each level (eg, I got a flower and a flower in 1-1, and a flower and star in 1-2, and I played each level twice)

So what I wanted to know was if there was a way to have individual time limits per level, but still have the cards function together regardless of what level.

Let me know whenever you can. ^^

XerX
Phanto
Phanto
Posts: 1487
Joined: Fri Dec 20, 2013 3:33 pm

Re: The SMBX "SMB3" Overhaul API Mod

Postby XerX » Thu Jul 30, 2015 11:16 pm

MidiGuyDP wrote:I just got a hold of it and tried it out. Really cool stuff! ^^

I had a question though, is there a way to set individual time limits to each level?

I actually did find a way to do it, by putting each level in it's own folder then putting a lua file in each of those, but that resulted in individual "Card" save files as well that were exclusive to each level (eg, I got a flower and a flower in 1-1, and a flower and star in 1-2, and I played each level twice)

So what I wanted to know was if there was a way to have individual time limits per level, but still have the cards function together regardless of what level.

Let me know whenever you can. ^^
Yes, you can. Make a file in that levels own folder called "lunadll.lua" and just add the timer states and seconds. It will override the global default and still have the cards work properly.

Code: Select all

_smb3overhaul = loadAPI("smb3overhaul");

function onLoad()
	_smb3overhaul.setSecondsLeft(400);
	_smb3overhaul.setTimerState(true);
end


XerX
Phanto
Phanto
Posts: 1487
Joined: Fri Dec 20, 2013 3:33 pm

Re: The SMBX "SMB3" Overhaul API Mod

Postby XerX » Fri Jul 31, 2015 6:46 am

UPDATE

I remember a while ago, someone made a simple line that disabled spinjump from being used. It wasn't the best, still played the spinjump sound and turned the player the opposite direction when they jumped in place, as well as keep the same jump height, so spin jumping would get less air than a regular jump would.

I've made my own version, and have added it to the SMB3 Overhaul mod.



An update will come soon.

EDIT: Also if you're wondering, yes, you can disable this in LunaOverworld.lua.

MECHDRAGON777
Pink Yoshi Egg
Pink Yoshi Egg
Posts: 6422
Joined: Fri Dec 20, 2013 6:40 pm
Flair: Nuclear Queen of Reversion.
Contact:

Re: The SMBX "SMB3" Overhaul API Mod

Postby MECHDRAGON777 » Fri Jul 31, 2015 1:43 pm

XerX wrote:UPDATE

I remember a while ago, someone made a simple line that disabled spinjump from being used. It wasn't the best, still played the spinjump sound and turned the player the opposite direction when they jumped in place, as well as keep the same jump height, so spin jumping would get less air than a regular jump would.

I've made my own version, and have added it to the SMB3 Overhaul mod.



An update will come soon.

EDIT: Also if you're wondering, yes, you can disable this in LunaOverworld.lua.
This is truly interesting, but do you think you can make a lua code that also makes Peach and Link Spin jump as well?

h2643
Reznor
Reznor
Posts: 2890
Joined: Sat Dec 21, 2013 7:23 am
Contact:

Re: The SMBX "SMB3" Overhaul API Mod

Postby h2643 » Fri Jul 31, 2015 1:51 pm

MECHDRAGON777 wrote:This is truly interesting, but do you think you can make a lua code that also makes Peach and Link Spin jump as well?
Link actually can spin-jump with a use of glitches:
http://engine.wohlnet.ru/forum/viewtopic.php?f=29&t=184

XerX
Phanto
Phanto
Posts: 1487
Joined: Fri Dec 20, 2013 3:33 pm

Re: The SMBX "SMB3" Overhaul API Mod

Postby XerX » Fri Jul 31, 2015 4:33 pm

NEW UPDATE.

Please be sure to update to the newest API. (Version 1.0.2)

If you have an older version installed, just overwrite 'smb3overhaul.lua'. That's it.
DOWNLOAD

Changelog
Added a "Disable Spinjump" function.

Code: Select all

	_smb3overhaul.disableSpinJump(true/false);

MECHDRAGON777
Pink Yoshi Egg
Pink Yoshi Egg
Posts: 6422
Joined: Fri Dec 20, 2013 6:40 pm
Flair: Nuclear Queen of Reversion.
Contact:

Re: The SMBX "SMB3" Overhaul API Mod

Postby MECHDRAGON777 » Fri Jul 31, 2015 10:48 pm

h2643 wrote:
MECHDRAGON777 wrote:This is truly interesting, but do you think you can make a lua code that also makes Peach and Link Spin jump as well?
Link actually can spin-jump with a use of glitches:
http://engine.wohlnet.ru/forum/viewtopic.php?f=29&t=184
I discovered those glitches before I joined the forums! I mean I was hopeing it would be possible with lua because isers get onto me because of that glitch!

PersonNamedUser
Reznor
Reznor
Posts: 2882
Joined: Fri Feb 27, 2015 8:07 pm

Re: The SMBX "SMB3" Overhaul API Mod v1.0.2

Postby PersonNamedUser » Sat Aug 22, 2015 1:24 pm

Could I have a code just for the P-meter?

XerX
Phanto
Phanto
Posts: 1487
Joined: Fri Dec 20, 2013 3:33 pm

Re: The SMBX "SMB3" Overhaul API Mod v1.0.2

Postby XerX » Tue Sep 01, 2015 11:54 am

Image

Today I'm releasing a minimalistic version of the Overhaul mod, for those who don't want to sacrifice the design of their levels by extending the bottom bounds by two blocks.
Based off the SMAS4 SMB3 HUD Style.

Image

Info :
Spoiler: show
SETUP

1 . Copy/Paste the smb3overhaulMIN.lua file and smb3overhaulMIN folder into your LuaScriptsLib folder which should be in the root of your SMBX folder. (../SMBX/LuaScriptsLib/)

IMPLEMENTING INTO YOUR SMBX EPISODE/LEVEL

1 . Make a new file in your project folder called LunaWorld.lua.
2 . Add _smb3overhaul = loadAPI("smb3overhaulMIN"); to the file.
3 . In your onLoad function, you can toggle certain settings on/off.

Code: Select all

_smb3overhaul.setSecondsLeft(TIME);
_smb3overhaul.setTimerState(true/false);
_smb3overhaul.usesPBar(true/false);
_smb3overhaul.useEasyMode(true/false);
_smb3overhaul.usesCard(true/false);
_smb3overhaul.disableSpinJump(true/false);

Download : Download Version 1.0

antonioflowers056
Monty Mole
Monty Mole
Posts: 100
Joined: Mon Jul 20, 2015 5:14 pm

Re: The SMBX "SMB3" Overhaul API Mod v1.0.2

Postby antonioflowers056 » Tue Sep 01, 2015 12:03 pm

XerX wrote:Image

Today I'm releasing a minimalistic version of the Overhaul mod, for those who don't want to sacrifice the design of their levels by extending the bottom bounds by two blocks.
Based off the SMAS4 SMB3 HUD Style.

Image

Info :
Spoiler: show
SETUP

1 . Copy/Paste the smb3overhaulMIN.lua file and smb3overhaulMIN folder into your LuaScriptsLib folder which should be in the root of your SMBX folder. (../SMBX/LuaScriptsLib/)

IMPLEMENTING INTO YOUR SMBX EPISODE/LEVEL

1 . Make a new file in your project folder called LunaWorld.lua.
2 . Add _smb3overhaul = loadAPI("smb3overhaulMIN"); to the file.
3 . In your onLoad function, you can toggle certain settings on/off.

Code: Select all

_smb3overhaul.setSecondsLeft(TIME);
_smb3overhaul.setTimerState(true/false);
_smb3overhaul.usesPBar(true/false);
_smb3overhaul.useEasyMode(true/false);
_smb3overhaul.usesCard(true/false);
_smb3overhaul.disableSpinJump(true/false);

Download : Download Version 1.0
Good job XerX. Keep it going :D

HunnyBon
Hoopster
Hoopster
Posts: 45
Joined: Tue Dec 30, 2014 8:51 am
Flair: Y'ever just jhdsfhdsjkh

Re: The SMBX "SMB3" Overhaul API Mod v1.0.2

Postby HunnyBon » Tue Sep 01, 2015 12:30 pm

This modification is awesome! I especially enjoy the minimalistic version of the HUD!

EDIT: is there a way of using this in all episodes you play? As in have it load on any episode you choose)


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari