Page 7 of 21

Re: A Map Editor

Posted: 11 Feb 2010, 02:59
by Olrox
Flail13 wrote: Olrox, doesn't it ask if you want to replace the file??
Disabling the save button would be annoying if you wanted to save something more than once in different formats.
Ive changed the minimap texture sizes so your minimap should at least be fixed in the next version.
Yeah :stressed:
But I was clicking ok, ok ok, because I always get a little bit annoyed with the "Lose unsaved changes to current map?" prompt, it made me somewhat paranoid and saving twice before closing the program in the beginning. In my "skip fast, work a few seconds more" idiocy I was selecting ok for that prompt... :gonk:
That's why I'm feeling so stupid.
But I meant disabling the save button when you started the editor and didn't even select the tileset. No one would save the blank map that is generated upon startup, I think :P
Maybe disabling it until the user at least selected a tileset?

Re: A Map Editor

Posted: 11 Feb 2010, 04:23
by Berg
I loaded a map that I had made on editworld and the mini map was blank so navigation was imposible.
The map in the editing screen was correct

Re: A Map Editor

Posted: 11 Feb 2010, 04:33
by lav_coyote25
ok - i guess there is still a problem with the file - any chance someone could email me the file (latest one would do thanks).... note to self - send a nasty note to filedropper for dropping the fracking ball. :stressed:

Re: A Map Editor

Posted: 11 Feb 2010, 04:36
by Olrox
Berg wrote:I loaded a map that I had made on editworld and the mini map was blank so navigation was imposible.
The map in the editing screen was correct
I had a similar problem. Flail13 said that probably a change in the next version will fix that problem. It is caused due to the size of the map, probably - setting its size to any potency of 2 (32, 64, 128, 256, 512) could solve the problem.
lav_coyote25 wrote:ok - i guess there is still a problem with the file - any chance someone could email me the file (latest one would do thanks).... note to self - send a nasty note to filedropper for dropping the fracking ball. :stressed:
Sent you version 0.7.

Re: A Map Editor

Posted: 11 Feb 2010, 04:38
by Berg
lav_coyote25 wrote:ok - i guess there is still a problem with the file - any chance someone could email me the file (latest one would do thanks).... note to self - send a nasty note to filedropper for dropping the fracking ball. :stressed:
Which file the map file or the install from the net?
I downloaded the lastest version today
just read your post olrox
map size from editworld is 250

Re: A Map Editor

Posted: 11 Feb 2010, 04:40
by Olrox
Berg wrote: Which file the map file or the install from the net?
I downloaded the lastest version today
The only one that's on filedropper. I've already sent him.
Did you try to resize the map to the values I've mentioned?

Re: A Map Editor

Posted: 11 Feb 2010, 04:45
by Berg
I edited the lnd file height and width to 256
It gave me an error when loading into editor
error 9: index outside the bounds of array

EDIT Ok I resized the map with the editor resize all is well

Re: A Map Editor

Posted: 11 Feb 2010, 04:50
by Olrox
Berg wrote:I edited the lnd file height and width to 256
It gave me an error when loading into editor
error 9: index outside the bounds of array
Looks like the very same problem BP reported in this topic:
viewtopic.php?f=5&t=4630&start=75#p47386
It looks like it has something directly to do with the LND format. I don't understand anything about it, we'll have to wait for the programmers with ancient knowledge over numbers and scripts magic ;)

Re: A Map Editor

Posted: 11 Feb 2010, 04:54
by Berg
I thought resizing map in the editor would destroy the open map but it does not it resizes and the mini map shows.
I have not edited anything yet so ....

Ok I saved and reloaded the map using editor format all looks good

Re: A Map Editor

Posted: 11 Feb 2010, 04:56
by Black Project
Flail13 wrote:Can you attach the LND you are trying to open? I am able to open the campaign LNDs I have.
Yes, there is:
CAM3A.zip
Campaign 3 Main Map
(122.1 KiB) Downloaded 252 times

Re: A Map Editor

Posted: 11 Feb 2010, 05:10
by Olrox
I delivar.

It seems like it was some problem with the objects, I've manually erased the sections regarding those from the .lnd file, and it opened just fine.

It won't contain the objects, of course. But it was as simple as erasing everything from OjectList to ScrollLimits.

Trust me, that was gut instinct, I dunno why I even tried O_o

Re: A Map Editor

Posted: 11 Feb 2010, 05:27
by Black Project
Olrox wrote:I delivar.

It seems like it was some problem with the objects, I've manually erased the sections regarding those from the .lnd file, and it opened just fine.

It won't contain the objects, of course. But it was as simple as erasing everything from OjectList to ScrollLimits.

Trust me, that was gut instinct, I dunno why I even tried O_o
Obrigado Olrox. Fiz os mesmos procedimentos que vc citou anteriormente e os mapas que não carregavam agora estão carregando no editor normalmente :D

Re: A Map Editor

Posted: 11 Feb 2010, 05:43
by Zarel
Okay, I finally got home, and uploaded the map editor to the Guide server. No more FileDropper for now.

Re: A Map Editor

Posted: 11 Feb 2010, 06:56
by lav_coyote25
thankyou and thankyou - zarel and olrox. :)

Re: A Map Editor

Posted: 11 Feb 2010, 07:30
by Flail13
0.8 is up: http://guide.wz2100.net/files/flail13/W ... %20Editor/

It hopefully fixes the minimap, and allows gateways.

Edit: changing gateways cant be undone, so dont try or you will undo something else.

Shift-click lets you delete gateways.