[MOD] Mari0 Invincible Mod [0.2 UPDATE!] [NEW]

Mods, guides how to use and install mods go right in here.
Post Reply
User avatar
jecoconono
Posts: 45
Joined: 06 Nov 2013, 04:44

Post » 07 Nov 2013, 01:38

Basicaly i was playing in mari0 and i had nothing to do, no good new mods, no nothing. Then i tryed to make my own mod, and it turned out i made a Invincible Mario mod!
(Im a terrible new modder)
So basicaly, mario can't get hit by anything, and by anything i mean ANYTHING. The only possible way he could die is by (Insert Non Fixed Glitch Here), and im working on (Insert Idea Here) in the mod.
I'd appreciate if you could comment on you're thoughts, and tell me bugs in this short mod.

Download Mod (v.0.2)

Want screen? There you go!
Image
Bugs
Touching a flower or a mushroom while close of a enemy will cause you to decrease form (FIXED)
Lazers completely 1 hit kills mario (FIXED)
Changelog
v0.1 Released!
v0.2 (Added force infinite time and life.
Added level editor like pit falling Fixed growing up bug. Fixed lasers bug)
Special Thanks to
alesan99 (Level Editor Like Effect When Falling Into Pits and for the forced infinite lives and time, fixing the bug)

Don't forget : Please tell me what you think and if you found bugs!
Last edited by jecoconono on 08 Nov 2013, 00:06, edited 13 times in total.

User avatar
popcan12
Posts: 592
Joined: 10 Feb 2012, 02:30

Post » 07 Nov 2013, 01:44

Actually, can you make it like the editor, where if Mari0 falls he appears at the top of the map?

Edit: Actually, if he would die, you should make it so he spawns at the top of the map...
Last edited by popcan12 on 07 Nov 2013, 01:50, edited 1 time in total.

User avatar
jecoconono
Posts: 45
Joined: 06 Nov 2013, 04:44

Post » 07 Nov 2013, 01:46

popcan12 wrote:Actually, can you make it like the editor, where if Mari0 falls he appears at the top of the map?
Im a noob at coding right now so i can try but i can't promise anything!

User avatar
BobTheLawyer
Posts: 2232
Joined: 01 May 2012, 21:00

Post » 07 Nov 2013, 01:50

For a first time modder, this looks pretty good.

User avatar
jecoconono
Posts: 45
Joined: 06 Nov 2013, 04:44

Post » 07 Nov 2013, 02:00

popcan12 wrote:Actually, can you make it like the editor, where if Mari0 falls he appears at the top of the map?

Edit: Actually, if he would die, you should make it so he spawns at the top of the map...
For the edit ; I would just force enable infinte life and time, and i have to get in the level editor to do it but right now im trying to find bugs. Id have to delete the whole death mario function who would cause a high chance of the game crash from a string not found bug.

User avatar
alesan99
Posts: 2335
Joined: 30 May 2013, 21:42
Contact:

Post » 07 Nov 2013, 02:05

It's real simple to make mario appear at the top of the screen when falling. On mario.lua line 2610 replace:

Code: Select all

	if editormode then
		self.y = 0
		self.speedy = 0
		return
	end
with

Code: Select all

	if how == "pit" or editormode then
		self.y = 0
		self.speedy = 0
		return
	end
Last edited by alesan99 on 07 Nov 2013, 02:14, edited 1 time in total.

User avatar
jecoconono
Posts: 45
Joined: 06 Nov 2013, 04:44

Post » 07 Nov 2013, 02:10

alesan99 wrote:It's real simple to make mario appear at the top of the screen when falling. On main.lua line 2610 replace:

Code: Select all

	if editormode then
		self.y = 0
		self.speedy = 0
		return
	end
with

Code: Select all

	if how == "pit" or editormode then
		self.y = 0
		self.speedy = 0
		return
	end
I had no idea, (im bad at coding) I didnt look in depth at the coding, Thank you! il add a special thanks in the post

EDIT : my lines end at 1563... ._.

EDIT AGAIN : You said main.lua, it was mario.lua :P
Last edited by jecoconono on 07 Nov 2013, 02:13, edited 1 time in total.

User avatar
alesan99
Posts: 2335
Joined: 30 May 2013, 21:42
Contact:

Post » 07 Nov 2013, 02:13

jecoconono wrote: EDIT : my lines end at 1563... ._.
Oh I meant Mario.lua

EDIT: To fix the growing bug on line 1656 of mario.lua remove

Code: Select all

		self.invincible = false
Last edited by alesan99 on 07 Nov 2013, 02:16, edited 1 time in total.

User avatar
jecoconono
Posts: 45
Joined: 06 Nov 2013, 04:44

Post » 07 Nov 2013, 02:16

alesan99 wrote:
jecoconono wrote: EDIT : my lines end at 1563... ._.
Oh I meant Mario.lua
Can you possibly make it so it forces at start that you have infinite lifes and time?

User avatar
alesan99
Posts: 2335
Joined: 30 May 2013, 21:42
Contact:

Post » 07 Nov 2013, 02:19

jecoconono wrote:Can you possibly make it so it forces at start that you have infinite lifes and time?
On line 2665 Mario.lua remove

Code: Select all

	if not levelfinished and not testlevel and not infinitelives and mariolivecount ~= false then
		mariolives[self.playernumber] = mariolives[self.playernumber] - 1
	end
It should work...
This doesn't include infinite time.
I made a edit to my post above too.

I think that should be enough I want you to have fun learning how to mod :)

User avatar
jecoconono
Posts: 45
Joined: 06 Nov 2013, 04:44

Post » 07 Nov 2013, 02:40

alesan99 wrote:
jecoconono wrote:Can you possibly make it so it forces at start that you have infinite lifes and time?
On line 2665 Mario.lua remove

Code: Select all

	if not levelfinished and not testlevel and not infinitelives and mariolivecount ~= false then
		mariolives[self.playernumber] = mariolives[self.playernumber] - 1
	end
It should work...
This doesn't include infinite time.
I made a edit to my post above too.

I think that should be enough I want you to have fun learning how to mod :)
Hmm, i still have some problem and i want to finish this quick before i have to go. Could you message me you're facebook name so i can ask you there some modding stuff?

User avatar
alesan99
Posts: 2335
Joined: 30 May 2013, 21:42
Contact:

Post » 07 Nov 2013, 02:44

jecoconono wrote:Hmm, i still have some problem and i want to finish this quick before i have to go. Could you message me you're facebook name so i can ask you there some modding stuff?
We ll I don't have a facebook :(. I never bothered to make one because I never needed one.
You can send me PMs here.

User avatar
jecoconono
Posts: 45
Joined: 06 Nov 2013, 04:44

Post » 07 Nov 2013, 02:53

alesan99 wrote:
jecoconono wrote:Hmm, i still have some problem and i want to finish this quick before i have to go. Could you message me you're facebook name so i can ask you there some modding stuff?
We ll I don't have a facebook :(. I never bothered to make one because I never needed one.
You can send me PMs here.
I PMed you

Post Reply