[MOD] Infinite worlds+Infinite sublevels 2.1
So I've seen a lot of people saying that the 32 levels aren't enough, and that they are making a 9th world in their mappacks by editing the .txt files. I figured I might as well give them a way to easier make these extra worlds, so I made this mod. It adds infinite worlds, so there's now the possibility for a lot more worlds in your mappack.
Oh and when I say infinite I really mean infinite.
Then here's the next and previous page buttons.
As of 2.1, this mod now allows for infinite sublevels as well!
Pressing up and down inside the maps tab scrolls down all the sublevels.
(The add 10 means to add 10 to whatever number is displayed on the sublevel. (6+10=sublevel #16))
Right clicking on entities that allow you to change sublevels/levels brings up a textbox where you can type in the desired target.
WARNING: Anyone who wants to play your extra worlds mappack must play it with this mod!
Download (on its own): http://www.mediafire.com/?802fyirbdzaf1he
With Better Level Editor: http://www.mediafire.com/download/q497l2ndwcdxsaj
Oh and when I say infinite I really mean infinite.
Then here's the next and previous page buttons.
As of 2.1, this mod now allows for infinite sublevels as well!
Pressing up and down inside the maps tab scrolls down all the sublevels.
(The add 10 means to add 10 to whatever number is displayed on the sublevel. (6+10=sublevel #16))
Right clicking on entities that allow you to change sublevels/levels brings up a textbox where you can type in the desired target.
WARNING: Anyone who wants to play your extra worlds mappack must play it with this mod!
Download (on its own): http://www.mediafire.com/?802fyirbdzaf1he
With Better Level Editor: http://www.mediafire.com/download/q497l2ndwcdxsaj
Last edited by Qcode on 30 Jul 2013, 15:06, edited 11 times in total.
- Superjustinbros
- Posts: 2119
- Joined: 29 Mar 2012, 20:39
- Contact:
I wanted to know if you could add in a guide to install this onto existing mods so I can still play with all my other modded content.
An hour later, and it's done. Right here: http://www.mediafire.com/?uc29yhgw6urykbn. I'll post instructions later SJB, but the first step is just replacing one of these editors with your editor.lua. That will function on it's own, but won't run the levels in game.
- Superjustinbros
- Posts: 2119
- Joined: 29 Mar 2012, 20:39
- Contact:
Great! Just let me know when you have the remaining steps put up and running.Qcode wrote:An hour later, and it's done. Right here: http://www.mediafire.com/?uc29yhgw6urykbn. I'll post instructions later SJB, but the first step is just replacing one of these editors with your editor.lua. That will function on it's own, but won't run the levels in game.
- Superjustinbros
- Posts: 2119
- Joined: 29 Mar 2012, 20:39
- Contact:
Sorry for the double-post, but I was thinking if you could add five additional worlds, up to 21? I was thinking of a game long ago that played alike the original SMB but had 21 worlds with four levels each.
OK, so the mod's been updated for infinite worlds, like rokit suggested. Check the original post for the download.
SJB sorry for the long wait but here's your tutorial. It's actually a relatively simple mod.
First redownload a version of the mod, and take the editor.lua and replace it with yours.
Second go to game.lua.
At line 1148 in the unmodded version there's the line:
Change that to:
Then go to mario.lua
At line 2998 in the unmodded version there's the line:
Change that to
And that's all you need to do. Tell me if you got an error or if there's more you need.
SJB sorry for the long wait but here's your tutorial. It's actually a relatively simple mod.
First redownload a version of the mod, and take the editor.lua and replace it with yours.
Second go to game.lua.
At line 1148 in the unmodded version there's the line:
Code: Select all
if marioworld ~= 8 then
Code: Select all
if love.filesystem.exists("mappacks/" .. mappack .. "/" .. marioworld+1 .. "-1.txt") then
At line 2998 in the unmodded version there's the line:
Code: Select all
if marioworld == 8 then
Code: Select all
if not love.filesystem.exists("mappacks/" .. mappack .. "/" .. marioworld+1 .. "-1.txt") then
- BobTheLawyer
- Posts: 2232
- Joined: 01 May 2012, 21:00
So what does bowser turn into after world 8? Does he still spit fire?
Assuming you put the fire start bowser after world 8 is the same as world 8 bowser.
- BobTheLawyer
- Posts: 2232
- Joined: 01 May 2012, 21:00
I meant hammers... But you answered the question.
- Superjustinbros
- Posts: 2119
- Joined: 29 Mar 2012, 20:39
- Contact:
I thank you deeply, the mod installation was a success.
The file is deleted. Can you please re upload that merged mod, thanks!An hour later, and it's done. Right here: http://www.mediafire.com/?uc29yhgw6urykbn. I'll post instructions later SJB, but the first step is just replacing one of these editors with your editor.lua. That will function on it's own, but won't run the levels in game.
Just check the first post. That has the updated version with possibility for infinite worlds, plus a version that's merged with the Better Level Editor.
- Sunset_Moth
- Posts: 781
- Joined: 02 Sep 2012, 23:22
- Contact:
MARIO COLORS WILL EXIST! YAAAAAAAAAAAAAAAAAAAAAY! *Puts on epic music and gets to work*
- Superjustinbros
- Posts: 2119
- Joined: 29 Mar 2012, 20:39
- Contact:
If you want a way to add on to this, I'd suggest an option that pressing Down or Up on the Map Select page would scroll down the sub levels to reveal more sub-levels, so that these can be unlimited as well.
Oh, and also when right-licking certain entities that normally display level and world ID's (pipe/vine exits and warp pipes), make it a scrolling menu with up/down arrows so one doesn't have to mod the level files with a text editor.
Oh, and also support for World 0 (and the Minus world).
Oh, and also when right-licking certain entities that normally display level and world ID's (pipe/vine exits and warp pipes), make it a scrolling menu with up/down arrows so one doesn't have to mod the level files with a text editor.
Oh, and also support for World 0 (and the Minus world).
- Superjustinbros
- Posts: 2119
- Joined: 29 Mar 2012, 20:39
- Contact:
I'm currently doing a SMB-Extended which adds all the SMB2J levels after SMB1. However, whenever I use a text editor to make a Warp Zone that leads to a world with more than one digit, said warp will always take me back to World 1.
will it include the bonus levels you can only get from my smb2j forum thread?Superjustinbros wrote:I'm currently doing a SMB-Extended which adds all the SMB2J levels after SMB1. However, whenever I use a text editor to make a Warp Zone that leads to a world with more than one digit, said warp will always take me back to World 1.
- Superjustinbros
- Posts: 2119
- Joined: 29 Mar 2012, 20:39
- Contact:
If you link it to me, yeah, I can add those.
The files have been updated in the main post with a fix. The only file that has been edited is the mario.lua. SJB, I'm not sure if you still need to know how to do the "manual installation" with the code, but here's a tutorial anyway.
In the unedited mario.lua, on the lines 310 and 354 there's the same line of code.
You need to change that (in both places) to
So now line 305 to line 313 and line 350 to 358 should both look like this:
In the unedited mario.lua, on the lines 310 and 354 there's the same line of code.
Code: Select all
warpzone(tonumber(string.sub(self.animationmisc, 5, 5)))
Code: Select all
local split = self.animationmisc:split("pipe")
warpzone(split[2])
Code: Select all
if self.animationtimer >= pipeanimationtime+pipeanimationdelay then
updatesizes()
if type(self.animationmisc) == "number" then --sublevel
levelscreen_load("sublevel", self.animationmisc)
else --warpzone
local split = self.animationmisc:split("pipe")
warpzone(split[2])
end
end
- Superjustinbros
- Posts: 2119
- Joined: 29 Mar 2012, 20:39
- Contact:
Download for SMB Extended:
http://www.mediafire.com/?ize5rx0bz14y35c
Yes, you need the Infinite Worlds or SJB mod to run this.
http://www.mediafire.com/?ize5rx0bz14y35c
Yes, you need the Infinite Worlds or SJB mod to run this.
Superjustinbros wrote:Download for SMB Extended:
http://www.mediafire.com/?ize5rx0bz14y35c
Yes, you need the Infinite Worlds or SJB mod to run this.
Your file doesn't exist. Please fix it.
viewtopic.php?f=12&t=2923
He made an updated version, download it there.
He made an updated version, download it there.
- Superjustinbros
- Posts: 2119
- Joined: 29 Mar 2012, 20:39
- Contact:
So will there be a version that also adds level five to eight in each world, via a "Page Down/Page Up button", and it only continues onto the next world after the final stage of the current world if there is an X-1 level in the next world?
I might try that. After trying to give access to the M and 0 world. Also, mod updated!
This version gives infinite sublevels, which you can access by going to the maps folder and pressing up and down to scroll. Due to space restrictions, the sublevels don't show their true level, simply the last digit. Under the sublevels, it says "Add number", telling you to add that to all the sublevels displayed numbers.
Also, now any entity with the first argument being "target" is given a textbox for you to input your setting into. So now, you can set worldpipes to go to any world, and pipes and vines can go to any sublevel.
SJB, first reupdate your mod with this new editor. I'll send you the tutorial on the other edits in a PM as to not clutter up the thread.
This version gives infinite sublevels, which you can access by going to the maps folder and pressing up and down to scroll. Due to space restrictions, the sublevels don't show their true level, simply the last digit. Under the sublevels, it says "Add number", telling you to add that to all the sublevels displayed numbers.
Also, now any entity with the first argument being "target" is given a textbox for you to input your setting into. So now, you can set worldpipes to go to any world, and pipes and vines can go to any sublevel.
SJB, first reupdate your mod with this new editor. I'll send you the tutorial on the other edits in a PM as to not clutter up the thread.
Neat! Do sublevels require the mod too? It seems to me that infinite sublevels wouldn't be absolutely necessary, since you can hypothetically get 72 virtual sublevels, (not technically being sublevels, but being a pipe or vine leading to one of the six actual sublevels.)
It seems that infinite sublevels can operate without the mod. I know it didn't seem necessary but it was something SJB suggested so I thought "what the heck, I'll do it."
You can redownload, it should be fixed.
I've been having a bit of a glitch involving using the pipe to go to a sublevel (in my case 2-2_10) my only problem is that I can't get it mario to come up where the up pipe entity is, or where the mario start location entity for that matter...
Never mind, I think my problem was that I was using a pipe entrance entity that I had made with a mari0 .love file that was the infinite worlds .love.
Never mind, I think my problem was that I was using a pipe entrance entity that I had made with a mari0 .love file that was the infinite worlds .love.
And you've right clicked the up pipe and set it to the sublevel you want to come from?
Yes, my problem was that I had assembled that part of the level (including entrance pipe) using edit0r.love and then I had edited the pipe using this mod. Would I did to fix it was delete the pipe entrance I made in edit0r.love and remake it using this mod.
- Superjustinbros
- Posts: 2119
- Joined: 29 Mar 2012, 20:39
- Contact:
New error: If you try to hit up while on world pages 2 and up, and the screen is displaying sublevels 0 through 5, the game crashes and you get this:
- Superjustinbros
- Posts: 2119
- Joined: 29 Mar 2012, 20:39
- Contact:
Now there's another error:
Even when you're out of the level selection menu, you can still switch through the sublevel pages with Up and Down respectively. If you have it set on anything other than Page 1, press/hold Shift, then try to place a tile somewhare along the top half of the level, the game boots you automatically into a sublevel, with the Tiles window open.
Even when you're out of the level selection menu, you can still switch through the sublevel pages with Up and Down respectively. If you have it set on anything other than Page 1, press/hold Shift, then try to place a tile somewhare along the top half of the level, the game boots you automatically into a sublevel, with the Tiles window open.
That's a bug, not an error. Anyway, stupid mistake by me.
Mod updated for fix.
Mod updated for fix.
- Superjustinbros
- Posts: 2119
- Joined: 29 Mar 2012, 20:39
- Contact:
Another bug/error:
After typing in a world/sublevel destination number and hitting Enter, it should go back to whatever tile/entity the player had before right-clicking the pipe entity, not the hill top tile.
After typing in a world/sublevel destination number and hitting Enter, it should go back to whatever tile/entity the player had before right-clicking the pipe entity, not the hill top tile.
Qcode, you can create a Super Mario World Mode for this mod and Infinite height?
---Super Mario World Map Mode---
The map will be the world 0-1
Using entities that teleports to levels ----) 1-1, 1-2, 1-3, 1-4, 2-1, 2-2...
And a renewed gravity (In the Map level you can go up, down, left and right without falling)
Using a overworld background (8x8 pixels = path size) And only you put the paths and levels
Paths, etc (map items)
Is a very good idea But is a request :)
---Super Mario World Map Mode---
The map will be the world 0-1
Using entities that teleports to levels ----) 1-1, 1-2, 1-3, 1-4, 2-1, 2-2...
And a renewed gravity (In the Map level you can go up, down, left and right without falling)
Using a overworld background (8x8 pixels = path size) And only you put the paths and levels
Paths, etc (map items)
Is a very good idea But is a request :)
- TripleXero
- Posts: 892
- Joined: 08 Aug 2012, 00:23
- Contact:
Infinite level heights are in SE
I wouldn't want to touch that scroll code. I would probably be able to make it happen, but I couldn't guess how much stuff would be screwed up. I'm certain that mazes wouldn't work, and that scroll after portaling a long distance would take a while to fix too. Also, figuring out which player should have the camera view would be annoying.
Did you look at the first post?
You can type anything you want into that warp pipe textbox and that will bring you to the world.Qcode wrote:Right clicking on entities that allow you to change sublevels/levels brings up a textbox where you can type in the desired target.