LunaDLL - SMBX Extension Module

This is where we'll store the "best" topics that have ever existed on the forums, as well as community events that are no longer relevant. Read at your own risk.
Forum rules
Read at your own risk.
leif_erikson
Tweeter
Tweeter
Posts: 167
Joined: Thu Feb 06, 2014 12:23 pm

Re: LunaDLL - SMBX Extension Module

Postby leif_erikson » Thu Mar 13, 2014 12:01 am

I don't know if it works on those enemies actually. I never tested it, but I assumed they used the same memory to count hits.

FanofSMBX
Mouser
Mouser
Posts: 3878
Joined: Sun Dec 22, 2013 12:01 pm

Re: LunaDLL - SMBX Extension Module

Postby FanofSMBX » Fri Mar 14, 2014 9:49 am

Would this fix the checkpoint and autoscroll issue?
Could I please have a code that makes Section 2 autoscroll downwards?

leif_erikson
Tweeter
Tweeter
Posts: 167
Joined: Thu Feb 06, 2014 12:23 pm

Re: LunaDLL - SMBX Extension Module

Postby leif_erikson » Fri Mar 14, 2014 11:02 am

It's hard to make one because they have to be custom for the level. If you use a background that doesn't scroll down easily, you get the background rendering glitch. But here's the basic code.

Code: Select all

#2
//CMD, Section, UDLR, x, x, Active Time, Speed
PushScreenBoundary,2,0,0,0,0,1
PushScreenBoundary,2,1,0,0,0,1

FanofSMBX
Mouser
Mouser
Posts: 3878
Joined: Sun Dec 22, 2013 12:01 pm

Re: LunaDLL - SMBX Extension Module

Postby FanofSMBX » Fri Mar 14, 2014 11:07 am

Active Time? What's that? Does it not just stop at the edge of the screen?

leif_erikson
Tweeter
Tweeter
Posts: 167
Joined: Thu Feb 06, 2014 12:23 pm

Re: LunaDLL - SMBX Extension Module

Postby leif_erikson » Fri Mar 14, 2014 11:20 am

That's how many frames it runs for. It never stops when it's 0. Change it if you want it to stop.

DarkShadeX
Volcano Lotus
Volcano Lotus
Posts: 535
Joined: Sat Jan 18, 2014 11:34 am

Re: LunaDLL - SMBX Extension Module

Postby DarkShadeX » Fri Mar 14, 2014 12:11 pm

This might help you FOS:
Spoiler: show

Code: Select all

Timer Frames in 5 Seconds step:

FRAMES - SECONDS
100    - 1.Second
350    - 5.Seconds
650    - 10.Seconds
950    - 15.Seconds
1250   - 20.Seconds
1550   - 25.Seconds
1850   - 30.Seconds

(always +300 (dont forget to add 50! exa:650)

Alright,this might take a while to get to +100 and etc,so lets get the 50 frames numbers!

Frames - Seconds
3050   - 50.Seconds
6050   - 100.Seconds
9050   - 150.Seconds

(always +3000 (dont forget to add 50! exa:3050)

Now,we get the 100 frames numbers ;)

Frames - Seconds:
6050   - 100.Seconds
12050  - 200.Seconds
18050  - 300.Seconds

(always + 6000 (dont forget to add 50! exa:12050)

I hope that helps you to add time to your level ;)

Here a done example for you to use:

///--This code gives you 355 Time for your level!--///
#0

// Activate #1234 after choosen frames!

Timer,0,1234,1,0,21350,0

// Time's up,now kill the player!
#1234
Kill,0,0,0,0,1,0

#END

icez
Spike
Spike
Posts: 263
Joined: Fri Dec 20, 2013 7:21 pm

Re: LunaDLL - SMBX Extension Module

Postby icez » Fri Mar 14, 2014 4:44 pm

I am looking for a couple scripts actually I am pretty sure they are possible, so here's what I am looking for.

A script that disables the reserve power up.
A script that forces the player to be small regardless if they have a power up or not.

If some one could get these for me that would be great I plan on including challenge stages in my project and these scripts are what I have in mind for conditions for the challenges, so thanks to who ever could do this for me

FanofSMBX
Mouser
Mouser
Posts: 3878
Joined: Sun Dec 22, 2013 12:01 pm

Re: LunaDLL - SMBX Extension Module

Postby FanofSMBX » Fri Mar 14, 2014 4:54 pm

I'm pretty sure "FilterToSmall" is in the tutorial.

leif_erikson
Tweeter
Tweeter
Posts: 167
Joined: Thu Feb 06, 2014 12:23 pm

Re: LunaDLL - SMBX Extension Module

Postby leif_erikson » Fri Mar 14, 2014 4:59 pm

Yes, and I'm not sure about the second one. Do you mean be small and have a powerup? Like a small mario that can shoot fireballs? Because that would be really hard to pull off.

icez
Spike
Spike
Posts: 263
Joined: Fri Dec 20, 2013 7:21 pm

Re: LunaDLL - SMBX Extension Module

Postby icez » Fri Mar 14, 2014 9:06 pm

leif_erikson wrote:Yes, and I'm not sure about the second one. Do you mean be small and have a powerup? Like a small mario that can shoot fireballs? Because that would be really hard to pull off.
no just small regular Mario with no ablites

meowflash
Guest

Re: LunaDLL - SMBX Extension Module

Postby meowflash » Sat Mar 15, 2014 10:43 am

Mega.Co.Nz is going slow! Could anyone upload the LunaDLL + SMBX 1.3.0.1 download into 4shared or any other download sharing site?

meowflash
Guest

Re: LunaDLL - SMBX Extension Module

Postby meowflash » Sat Mar 15, 2014 11:00 am

meowflash wrote:Mega.Co.Nz is going slow! Could anyone upload the LunaDLL + SMBX 1.3.0.1 download into 4shared or any other download sharing site?
Anyone listening?

Shadow Yoshi
Dark Knight
Dark Knight
Posts: 4291
Joined: Sun Dec 01, 2013 12:56 pm

Re: LunaDLL - SMBX Extension Module

Postby Shadow Yoshi » Sat Mar 15, 2014 11:41 am

There were 17 minutes in between both of your posts. Please don't do that.

Mediafire or Dropbox are good options for file hosting.

silent_
Van De Graf
Van De Graf
Posts: 2151
Joined: Fri Dec 20, 2013 3:34 pm

Re: LunaDLL - SMBX Extension Module

Postby silent_ » Sat Mar 15, 2014 12:03 pm

Yeah, 4shared requires registration if I recall correctly, and Sendspace's files only last a month which is poor quality.

Mega.Co.Nz isn't a good hosting wesbite, that's for sure.
Also, I don't see how anyone could reply to your post and fulfill your request in seventeen minutes as Joey stated. =P

meowflash
Guest

Re: LunaDLL - SMBX Extension Module

Postby meowflash » Sat Mar 15, 2014 6:25 pm

[quote="Joey"]There were 17 minutes in between both of your posts. Please don't do that.quote]
Sorry. I wanted someone to put the download in a file-sharing site other than Mega.Co.Nz.

icez
Spike
Spike
Posts: 263
Joined: Fri Dec 20, 2013 7:21 pm

Re: LunaDLL - SMBX Extension Module

Postby icez » Sat Mar 15, 2014 9:28 pm

SnifitGuy69 wrote:So how does this work? Wouldn't it require people to understand the source code to make this work?
No just scripts on a text document understanding how to properly use them is a pain though but what they can do is well worth the hassle though.

Void
Hoopster
Hoopster
Posts: 116
Joined: Sat Dec 21, 2013 11:26 am
Flair: uhhhhhhh
Pronouns: they/them
Contact:

Re: LunaDLL - SMBX Extension Module

Postby Void » Sun Mar 16, 2014 7:16 pm

I'm Having A Problem, I Have The SMBX + LunaDLL File From The One Post, And I Put Them In The SMBX Folder, I Have 2 Questions, Is That The Right Spot To Put Them, And Do I Put The LunaDLL.txt File In My Level's Folder? Because I'm Testing The Time Function, And It won't Work.

icez
Spike
Spike
Posts: 263
Joined: Fri Dec 20, 2013 7:21 pm

Re: LunaDLL - SMBX Extension Module

Postby icez » Sun Mar 16, 2014 9:07 pm

beanluv wrote:I'm Having A Problem, I Have The SMBX + LunaDLL File From The One Post, And I Put Them In The SMBX Folder, I Have 2 Questions, Is That The Right Spot To Put Them, And Do I Put The LunaDLL.txt File In My Level's Folder? Because I'm Testing The Time Function, And It won't Work.
Yup you got the exe in the right spot and yes the lunadll txt file goes in your level folder also make sure the lunadll txt file do sent have the txt extension. It should be just lunadll not lunadll.txt, don't worry I made the same mistake

Compound Fraxure
Cheep-Cheep
Cheep-Cheep
Posts: 10
Joined: Sat Dec 21, 2013 3:41 pm
Contact:

Re: LunaDLL - SMBX Extension Module

Postby Compound Fraxure » Sun Mar 16, 2014 9:55 pm

I think something I'd like to see with this is some sort of graphical interface where you could input what you wanted it to do and it would generate the code for you. I know it would probably be hard to make, but it would be easier for those who don't fully comprehend this yet (like me). I believe that there was a program that made NPC tags for you that was created long ago. I would try to make it, but I don't have any program creating tool (Visual Studio, etc.) to work with.

leif_erikson
Tweeter
Tweeter
Posts: 167
Joined: Thu Feb 06, 2014 12:23 pm

Re: LunaDLL - SMBX Extension Module

Postby leif_erikson » Sun Mar 16, 2014 10:35 pm

I have ideas for a better tutorial to be done next month. The visual code creator would be nice to have even for me, and i'll worry about it when I think I won't be adding any new commands to the scripting.


Return to “Archives”

Who is online

Users browsing this forum: No registered users and 1 guest