[Mod] Mod loader

Mods, guides how to use and install mods go right in here.
Post Reply
User avatar
Lexsym
Posts: 84
Joined: 04 Feb 2012, 05:32
Contact:

Post » 14 Mar 2012, 16:25

(Beta) Mod loader v0.1

What is it?
This is a modified version of Mari0 v1.4 that allows you to easily add new entities by simply creating a folder with your images and lua files inside. This allows for users to easily create new entities and easily distribute them to other users. You can have one single entity in a folder for single entity distribution, or you can have many, so it's a bundle package (awesome!).

How do I use it?
You need to download the .love file (or the .rar or .zip files, whichever you prefer) and place any of your custom created entities inside of the new folder titled: "customentities". I have created a poisonmushroom so that you may see how the slightly modified structure of Maurice's entity system works.

Where do I download it?
Lexsym.com (.love)
Lexsym.com (.rar)
Lexsym.com (.zip)


Changelog:

Version 0.1:
-It finally works.
-Automatically loads all lua files in the "/customentities/*" folder(s).
-Entities are finally added into the game in a better way.
-Added ent.Name
-Added ent.Description
-Added ent.Item boolean.
-Added ent.Index
-Added new function ent:inject()
-Added new function ent:pickedup(a)
-Localized variables so I don't have to search everywhere again.
-Added entity "poisonmushroom"

User avatar
mari0fan
PERMABANNED
Posts: 35
Joined: 04 Mar 2012, 16:21

Post » 14 Mar 2012, 17:57

stupid stupid and stupid you have just copied someones work dont make a mod what someone else made and the download site is stabyourself.net not a not save lexsym

User avatar
rokit
Posts: 2095
Joined: 03 Feb 2012, 00:47

Post » 14 Mar 2012, 18:27

mari0fan wrote:stupid stupid and stupid you have just copied someones work dont make a mod what someone else made and the download site is stabyourself.net not a not save lexsym
1, Try to write so people understand you.
2, It is a really nice mod, better than the other one, this one is not junked with the person's mods.
3, The site to download the mod is his website.

Just because you are fucking jealous doesn't mean you have to diss it.

Btw. Very nice mod, will use it for my mod.

User avatar
mari0fan
PERMABANNED
Posts: 35
Joined: 04 Mar 2012, 16:21

Post » 14 Mar 2012, 19:44

its just holy sh*t

User avatar
rokit
Posts: 2095
Joined: 03 Feb 2012, 00:47

Post » 14 Mar 2012, 19:47

mari0fan wrote:its just holy sh*t
Shut up and cry on a different website.

User avatar
Lexsym
Posts: 84
Joined: 04 Feb 2012, 05:32
Contact:

Post » 14 Mar 2012, 20:47

I actually don't even know what you guys are talking about. The closest thing that I could even think that would be close to this is the hat loader?

nvm I guess this is it: viewtopic.php?f=13&t=782

OH WELL.

lovechild
Posts: 81
Joined: 12 Mar 2012, 03:30

Post » 15 Mar 2012, 05:23

mari0fan wrote:stupid stupid and stupid you have just copied someones work dont make a mod what someone else made and the download site is stabyourself.net not a not save lexsym
Meh, people copy stuff all the time. Look at compiz and KWin. Look at OSX and KDE. Look at GNOME 2 and Windows XP.

Hell, look at the various file extraction suites that exist; GNOME file-roller, RARLabs' WinRAR, 7-Zip, etc. etc.

Browsers! It has been known that Microsoft and Mozilla keep a relatively close relationship. Google has Chrome. Opera has... well, Opera. You get the point. People "Steal" from each other all the time. It's what separate the great artists from the good.

User avatar
Lexsym
Posts: 84
Joined: 04 Feb 2012, 05:32
Contact:

Post » 15 Mar 2012, 14:07

Except my poison mushroom glows with red eyes. No joke.

User avatar
fakeuser
Posts: 135
Joined: 04 Mar 2012, 01:20

Post » 15 Mar 2012, 23:12

I'm porting my mod to be comaptible with your loader. I get this error:

Code: Select all

loading files in 2MiceMod: mario_2mice_patch.lua
could not load file: mario_2mice_patch.lua
Are you missing a return statement?
No, I'm not missing a return statement. I do not want to return any custom entity as I'm creating none. What should I add to my code?
Actually mod really gets loaded, but I hate the error message...

edit Saw this:

Code: Select all

These ARE REQUIRED if you want to have a working entity.
I do not want a working entity. What's required then?

User avatar
Lexsym
Posts: 84
Joined: 04 Feb 2012, 05:32
Contact:

Post » 16 Mar 2012, 01:38

Nothing is required but proper lua syntax if it's not an entity. You can ignore the error message, I probably should've removed it because it's only for entity validation.

User avatar
fakeuser
Posts: 135
Joined: 04 Mar 2012, 01:20

Post » 16 Mar 2012, 11:00

Lexsym wrote:I probably should've removed it because it's only for entity validation.
Or just change the message to something like "0 entities loaded. May be you are missing a return statement?"

User avatar
ZenX2
Posts: 30
Joined: 07 Mar 2012, 06:23

Post » 17 Mar 2012, 03:17

In game.lua on line 2445 you have t.Item instead of v.Item

Also, I suggest passing r in v:new.

Good job with this

Post Reply