mapinfo.lua?

mapinfo.lua?

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

Post Reply
erandur
Posts: 9
Joined: 13 Jan 2010, 16:14

mapinfo.lua?

Post by erandur »

I just made a quick test map with l3dt, and that java map editor. But when I try to use it, i just get a 'could not open file: maphelper/mapinfo.lua'. I didn't find anything about that in the tutorials, or on the forums... Did I just forget something?
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: mapinfo.lua?

Post by Beherith »

Beside the .smf and .smt files, you also need the .smd file. This is a text file you need to place next to your .smf and make it have the same name. You can use the smd files of other maps, just rename it.
erandur
Posts: 9
Joined: 13 Jan 2010, 16:14

Re: mapinfo.lua?

Post by erandur »

Mh, it just changed to "[string "maphelper/mapinfo.lua"]:69:testmap.smd: missing file" now. :) While I'm pretty sure that smd file should work, as it came from a working map. :p
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: mapinfo.lua?

Post by Beherith »

which map did the smd come from?
did you place all the files in a maps directory?
erandur
Posts: 9
Joined: 13 Jan 2010, 16:14

Re: mapinfo.lua?

Post by erandur »

A random map I found around here, Desert Delta Siege.

If you're willing to see what I did wrong yourself, http://www.filefront.com/15366345/testmap.sd7/ have fun. :)
User avatar
SirArtturi
Posts: 1164
Joined: 23 Jan 2008, 18:29

Re: mapinfo.lua?

Post by SirArtturi »

Your problem is that the mapinfo.lua cant still find your files, because you are not following proper folder hierarchy. smt, smf and smd files belongs to maps folder. Look at other maps to learn the folder hierarchy.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: mapinfo.lua?

Post by Beherith »

I couldnt download your link :(
erandur
Posts: 9
Joined: 13 Jan 2010, 16:14

Re: mapinfo.lua?

Post by erandur »

SirArtturi wrote:Your problem is that the mapinfo.lua cant still find your files, because you are not following proper folder hierarchy. smt, smf and smd files belongs to maps folder. Look at other maps to learn the folder hierarchy.
Hah, great. I was wondering why the files in other sd7 folders had another maps folder, while they already were in a maps folder. Looks like that's the only way they work :) Thanks!

Just wondering, if it crashed and the infolog says "[ 15] Exception: Integer divide by zero (0xc0000094)" that's probably not map-related?

BTW Behereth, did the link not work, or didn't you find the download button? They have the bad habit of having ads with download buttons etc. on it. :)
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: mapinfo.lua?

Post by Beherith »

Hmm, the error is not in the smd file, its somewhere else, as Ive never seen spring fail like that on a map.

edit: I was retarded, i forgot the maps directory as well. do what lurker said :)
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: mapinfo.lua?

Post by lurker »

erandur wrote:another maps folder
A bit of info. You can put sd7/sdz files in either base, maps, or mods, whatever they are, and they work. Or you can extract them directly to your spring folder, and if you don't hit any bugs, they'll work (and screw up your ability to play any other games if it's a game you extract).
Post Reply

Return to “Map Creation”