General discussion about Super Mario Bros. X.
Moderator: Userbase Moderators
|
|
|
|
-
DarkShadeX
- Volcano Lotus

- Posts: 535
- Joined: Sat Jan 18, 2014 11:34 am
Postby DarkShadeX » Mon Mar 03, 2014 7:06 am
For those people who want to add time to their level can do this now using the amazing lunadll :3
(Here is the the Topic: Lunadll Topic)
(Here is the Latest Versions: Latest SMBX 1.3.0.1 Version)
Tutorial:
Make an txt file called lunadll.txt in your levels folder (exa. mahlevel.lvl\mahlevel)
and add the following piece of code:
Timer Example Code:
Code: Select all ///--Timer--///
#0
// Activate #1234 after choosen frames!
Timer,0,1234,1,0,HOW MUCH TIME YOU WANT TO ADD (650 are 10 Seconds),0
// If Time's up, kill the player!
#1234
Kill,0,0,0,0,1,0
#END
And Thats it! Youre done...But wait,getting the correct frames number for the timer may be a little difficult... Well take this to make your life a little easier
Timer Frames Help:
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
|
|
|
|
|
|
|
|
|
-
zlaker
- Reznor

- Posts: 2844
- Joined: Fri Dec 20, 2013 1:46 pm
Postby zlaker » Mon Mar 03, 2014 8:01 am
Wow I didn't know this. Thanks a lot DarkChaox100!
|
|
|
|
|
|
|
|
|
-
leif_erikson
- Blooper

- Posts: 167
- Joined: Thu Feb 06, 2014 12:23 pm
Postby leif_erikson » Mon Mar 03, 2014 8:41 am
I'm glad someone figured out how to use it.
|
|
|
|
|
|
|
|
|
-
icez
- Spike

- Posts: 263
- Joined: Fri Dec 20, 2013 7:21 pm
Postby icez » Mon Mar 03, 2014 8:58 am
kool nice I can use this for my project you think u could make tut of how to modify boss hp
|
|
|
|
|
|
|
|
|
-
DarkShadeX
- Volcano Lotus

- Posts: 535
- Joined: Sat Jan 18, 2014 11:34 am
Postby DarkShadeX » Mon Mar 03, 2014 9:11 am
I'm rightnow coding a tool to Generate lunadll.txt files so till then,you gotta have to wait ; )
|
|
|
|
|
|
|
|
|
-
RudeGuy
- Bowser

- Posts: 4994
- Joined: Fri Dec 27, 2013 7:36 am
- Flair: local guy
Postby RudeGuy » Mon Mar 03, 2014 9:18 am
You can do the time without Luna.DLL in SMBX. It will be ugly, but you can. Anyways, good.
Last edited by RudeGuy on Mon Mar 03, 2014 9:20 am, edited 1 time in total.
|
|
|
|
|
|
|
|
|
-
icez
- Spike

- Posts: 263
- Joined: Fri Dec 20, 2013 7:21 pm
Postby icez » Mon Mar 03, 2014 9:19 am
Darkchaox100 wrote:I'm rightnow coding a tool to Generate lunadll.txt files so till then,you gotta have to wait ; )
Kool Np I am in no rush and tool that does half the work anyway is very much welcome I kind of was' not looking forward to typing a whole lot of code anyways
|
|
|
|
|
|
|
|
|
-
Drluigi
- Blooper

- Posts: 173
- Joined: Fri Dec 20, 2013 3:46 pm
-
Contact:
Postby Drluigi » Mon Mar 03, 2014 2:45 pm
Hey, would it be possible to edit NPC's further than you can with the Custom NPC codes? I already know that you can for boss health, but can you do anything else?
|
|
|
|
|
|
|
|
|
-
Julia Pseudo
- Luigi

- Posts: 5609
- Joined: Wed Jan 08, 2014 12:04 am
- Flair: gay gaymer girl
- Pronouns: She/her
Postby Julia Pseudo » Mon Mar 03, 2014 10:19 pm
You're pretty amazing, Darkchao. The SMBX hacking stuff you've managed to do is great. Thanks for making this.
|
|
|
|
|
|
|
|
|
-
icez
- Spike

- Posts: 263
- Joined: Fri Dec 20, 2013 7:21 pm
Postby icez » Mon Mar 03, 2014 11:31 pm
Yes the fact that we can utilize a timer now means we can design rush levels now
|
|
|
|
|
|
|
|
|
-
DarkShadeX
- Volcano Lotus

- Posts: 535
- Joined: Sat Jan 18, 2014 11:34 am
Postby DarkShadeX » Tue Mar 04, 2014 7:24 am
You guy's shouldn't thank me for this!
Thanks to the creators of Lunadll for their hard work ; )
|
|
|
|
|
|
|
|
|
-
SuperWingedYoshi
- Volcano Lotus

- Posts: 547
- Joined: Thu Feb 27, 2014 9:23 am
Postby SuperWingedYoshi » Thu Mar 06, 2014 1:23 pm
This sounds great! However, I have a worry... If I add a time limit to a level and someone without LunaDLL wants to play it, does he/she still have the time limit? Or will there be no time limit? Or will the game crash?
|
|
|
|
|
|
|
|
|
-
Valtteri
- Birdo

- Posts: 2150
- Joined: Sun Dec 01, 2013 1:16 pm
Postby Valtteri » Thu Mar 06, 2014 1:37 pm
smwforever45 wrote:This sounds great! However, I have a worry... If I add a time limit to a level and someone without LunaDLL wants to play it, does he/she still have the time limit? Or will there be no time limit? Or will the game crash?
You will have to include the modified .exe to the download (or tell the users in your topic that your game requires a modified .exe) and the level must be played with it. It's not playable with the regular .exe.
|
|
|
|
|
|
|
|
|
-
DarkShadeX
- Volcano Lotus

- Posts: 535
- Joined: Sat Jan 18, 2014 11:34 am
Postby DarkShadeX » Thu Mar 06, 2014 2:54 pm
Or simply say:
Its only Combatible with SMBX 1.3.0.1 (or 1.3.0.2) : P
|
|
|
|
|
|
|
|
|
-
SuperWingedYoshi
- Volcano Lotus

- Posts: 547
- Joined: Thu Feb 27, 2014 9:23 am
Postby SuperWingedYoshi » Thu Mar 06, 2014 3:35 pm
Valtteri wrote:You will have to include the modified .exe to the download (or tell the users in your topic that your game requires a modified .exe) and the level must be played with it. It's not playable with the regular .exe.
Hm, okay... So I'd have to include the modified .exe and then it'd work... But it's still a nice thing to have. I've always been missing those time limits. I wonder why they're not being added to SMBX? They're an elementary thing in SMB1, SMB3 and SMW.
Darkchaox100 wrote:Or simply say:
Its only Combatible with SMBX 1.3.0.1 (or 1.3.0.2) : P
1.3.0.2? You mean the modified .exe of 1.3.0.1, right? Or is there a new version I don't know about...?
|
|
|
|
|
|
|
|
|
-
FallingSnow
- Foo

- Posts: 822
- Joined: Sat Dec 21, 2013 4:32 am
Postby FallingSnow » Thu Mar 06, 2014 11:28 pm
Does this put a timer on screen or only an imaginary one that kills the player after some unknown time?
|
|
|
|
|
|
|
|
|
-
Magician
- Volcano Lotus

- Posts: 567
- Joined: Fri Dec 20, 2013 7:36 pm
- Pronouns: he/him
Postby Magician » Fri Mar 07, 2014 12:11 am
I was under the impression that 1.3.0.1 doesn't support LunaDLL, but 1.3.0.2 will. Did I miss something? EDIT: NEVERMIND I found the post lol
FallingSnow wrote:Does this put a timer on screen or only an imaginary one that kills the player after some unknown time?
https://www.youtube.com/watch?v=L68BbB07SzE
The image here is bouncing off the sides of the window... similar programming to an old-school screensaver.
With that in mind it doesn't seem like a huge leap in logic to think that you could do something similar with bitmap images of digits and have the first digit change every second, the second digit every ten seconds, and so on, and have them appear in a uniform spot on the window so as to be a part of the HUD. I could be wrong.
|
|
|
|
|
|
|
|
|
-
Julia Pseudo
- Luigi

- Posts: 5609
- Joined: Wed Jan 08, 2014 12:04 am
- Flair: gay gaymer girl
- Pronouns: She/her
Postby Julia Pseudo » Fri Mar 07, 2014 2:34 am
1.3.0.2 is just a slight update to 1.3.0.1, smwforever. It just had a couple of extra fixes or something.
|
|
|
|
|
|
|
|
|
-
Imaynotbehere4long
- Boomerang Bro

- Posts: 1389
- Joined: Thu Jan 23, 2014 3:00 pm
Postby Imaynotbehere4long » Fri Mar 07, 2014 2:15 pm
Pseudo-dino wrote:1.3.0.2 is just a slight update to 1.3.0.1, smwforever. It just had a couple of extra fixes or something.
Wait, I'm confused. Does this mean that the exe in the SMBX 1.3.0.1 thread DOESN'T support LunaDLL? Also, I tried to download the SMBX 1.3.0.1+LunaDLL link on the first post, but I got an error message that said the website ran out of bandwidth.
|
|
|
|
|
Return to “General”
Users browsing this forum: No registered users and 3 guests
|