Streaming game development: https://www.twitch.tv/stabyourself Image

What am I doing wrong?

Mods, guides how to use and install mods go right in here.
OrbitalBlueprint
User avatar
Posts: 601
Joined: 08 Sep 2013, 20:11
Reputation: 309
Contact:

Post » 11 Oct 2013, 20:35

I'm working on a mod for my mappack, and I wanted to add a second door type. I am sure I made everything work like how a normal door would, and I named it doortwo.lua. I added it to mario_1.6.love.

So then I go to entities.lua to add it, and when I add:

"doortwohor",
"doortwover",

at the very bottom (didn't delete the }), and I saved it and put it in mario1.6.love. So then I start the game and this shows up:
Image

Help! I don't know what I done wrong. Could anybody help me?

Qcode
User avatar
Posts: 1466
Joined: 05 Feb 2012, 18:00
Reputation: 72
Contact:

Post » 11 Oct 2013, 20:39

You should have added another comma after the "checkpoint". Or whatever entity is before doortwohor really.

OrbitalBlueprint
User avatar
Posts: 601
Joined: 08 Sep 2013, 20:11
Reputation: 309
Contact:

Post » 11 Oct 2013, 20:42

Qcode wrote:You should have added another comma after the "checkpoint". Or whatever entity is before doortwohor really.

Damn, I'm stupid. Thanks for the help!


Return to “Modding”

Who is online

Users browsing this forum: No registered users and 2 guests