Rene Posted July 19, 2009 Share Posted July 19, 2009 I've been making a map editor for the D2TM skirmish mode. If you want to give it a try, download at:http://www.xyzw.nl/D2TMEditor.zipInstructions are in the README file included in the zip.Please let me know what you think of it :) Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted July 19, 2009 Share Posted July 19, 2009 I have tried it, reminded me in a way of Dunedit, my first made dune 2 editor.I missed the spice dunes, but then again you could not know this. They are character + in the map. They are the hilled spice tiles.I have made a map, and played it. Worked great and i really like that it is getting easier to create maps.My next step is to remove the limitation i have put , and the strict naming of the skirmish maps, ie mapXX.ini is not a good way to share maps. I mean, i have a map named map02.ini, and i bet you have one too (but being a totally different map..).However, this is a next step into getting more skirmish/custom maps and this is what i'd like to see! :) I had fun playing the new map and I enjoyed the easyness of your editor. I bet the final version will be even better ;) Perhaps you could even have a 'randomize map' algorithm, so you can 'start' from there.FYI, here is my made map: Quote Link to comment Share on other sites More sharing options...
Rene Posted July 19, 2009 Author Share Posted July 19, 2009 I have tried it, reminded me in a way of Dunedit, my first made dune 2 editor.Hehe, well at first i was thinking to make it a 'WYSIWYG' editor, but remembered the way a map was drawn in Dunedit and that is a lot easier to edit and looks just as clear, maybe even clearer. So thats no coincidence ;)I missed the spice dunes, but then again you could not know this. They are character + in the map. They are the hilled spice tiles.DoneMy next step is to remove the limitation i have put , and the strict naming of the skirmish maps, ie mapXX.ini is not a good way to share maps. I mean, i have a map named map02.ini, and i bet you have one too (but being a totally different map..).Removing the limitations would be great. Removing the strict naming would also be nice.Perhaps you could even have a 'randomize map' algorithm, so you can 'start' from there.Nice idea, but pretty hard. But if I can't work it out I can always take a look at D2TM's build in map generator.FYI, here is my made map:Forgot to add it? Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted July 19, 2009 Share Posted July 19, 2009 Ah, darn it. I added the file as INI, but the forum does not accept these. I have zipped it. But you can also find it now at the repository of D2TM (map02.ini).The 'create random map' algorithm is actually very easy. You should take a look at the map generation of d2tm for instance. It is fairly straight forward, and I intend to improve it. But for now it will do.Here is the map, zipped.map02.zip Quote Link to comment Share on other sites More sharing options...
Rene Posted July 21, 2009 Author Share Posted July 21, 2009 The link in the first post now links to a newer version. No random maps yet, but I decided to put this one online as I came across some nasty save/load bugs. Also has the Spice Dunes added. And, when you place spice over dunes, they will be converted into spice dunes. Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted July 21, 2009 Share Posted July 21, 2009 There seems to be a bug in the new version, regarding placing 'start' positions of the players. In the old editor, it works fine. But when i load up the map in the new editor, and save it, the start positions in the editor do not resemble the start positions in game. Quote Link to comment Share on other sites More sharing options...
Rene Posted July 21, 2009 Author Share Posted July 21, 2009 Looks like when I fixed the previous load/save bugs, I screwed some other things up ::)Should be fixed now, I forgot some brackets:startCell = x + y*mapWidth+1should have beenstartCell = x + y*(mapWidth+1) Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted July 22, 2009 Share Posted July 22, 2009 Great that you found the bug. Is this fixed version available for download? Quote Link to comment Share on other sites More sharing options...
Rene Posted July 22, 2009 Author Share Posted July 22, 2009 Yeah, its still the link in the first post. The first time you load a map, you might have to replace your start points.Also, I had some nice ideas in mind for the map generator, but it didn't work as well as I expected. So, back to the drawing board :P Quote Link to comment Share on other sites More sharing options...
Rene Posted July 31, 2009 Author Share Posted July 31, 2009 I've added a Mirror Map tool to the editor. You can use it to mirror the map over a horizontal or diagonal edge, so you can easily create symmetric maps. The download link is still in the first post. And a screenie showing a mirrored map:http://www.xyzw.nl/SkirmishEditor093.pngNotice when you mirror diagonally it isn't really mirrored: the mirrored part is also flipped. I thought it looked better that way. Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted July 31, 2009 Share Posted July 31, 2009 I really like this feature :) However, it does look like the mirror function shows you a 'preview'. Although it looks like it actually applied it. I think it would be cool to have a checkbox called "auto-apply". So you can mirror further with the previous mirror action.Really appreciate this input, thanks! Quote Link to comment Share on other sites More sharing options...
Rene Posted August 1, 2009 Author Share Posted August 1, 2009 I've made an apply button, so after you've pressed it you can mirror again. Link in the first post updated. Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted August 1, 2009 Share Posted August 1, 2009 Nice. I have update the SVN with this latest jar as well. Quote Link to comment Share on other sites More sharing options...
Rippsblack Posted November 4, 2009 Share Posted November 4, 2009 I have noticed a few issues regarding player start locations on non 63,63 mapslolthey are simply not working correctly or going where you want them, this happens most frequently when the map size is less than square(a vertical rectangle for example) Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted November 4, 2009 Share Posted November 4, 2009 True. That is most likely because the game itself does not support maps other than 64x64. I assume the map editor does calculate the positions correctly, but the game interprets them wrong. Quote Link to comment Share on other sites More sharing options...
Rippsblack Posted November 4, 2009 Share Posted November 4, 2009 that would explain allot..but not everything, how does the game deal with maps that are not the correct shape/size?I have a map that is horzantol yer start positions are correct Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted November 4, 2009 Share Posted November 4, 2009 As long as the width is 64 cells, the height will be ok. So if you make a map with 32 width and 64 height, it will go wrong :) Quote Link to comment Share on other sites More sharing options...
Rippsblack Posted November 4, 2009 Share Posted November 4, 2009 sweet!!thx for the info Quote Link to comment Share on other sites More sharing options...
Dunenewt Posted November 10, 2009 Share Posted November 10, 2009 So can the map names now be anything? Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted November 10, 2009 Share Posted November 10, 2009 In the new DEMO (not yet released) yes, that is possible. You are free to contribute. When i'm finished with refactoring and fixing up some things i've broken along the way, i'll release a new demo. Quote Link to comment Share on other sites More sharing options...
Dunenewt Posted November 10, 2009 Share Posted November 10, 2009 Would it be possible to create a tileset for infantry rock on sand? I was trying to create a map which had infantry rock bordering sand, and also little 'islands' of infantry rock in the sand, and it came out horribly wrong. Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted November 10, 2009 Share Posted November 10, 2009 Sorry, I don't understand what you're trying to do. Could you perhaps show me? (picture?) or explain differently? 'rock on sand' ??? Quote Link to comment Share on other sites More sharing options...
Dunenewt Posted November 10, 2009 Share Posted November 10, 2009 Here. Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted November 10, 2009 Share Posted November 10, 2009 Ah yes.. that is a problem right now :).Of course anything is possible. So i could create a 'mountain' (thats how i call it anyway :)) bordering with sand immidiately. Would perhaps also require a 'border with spice' variant. Perhaps i can think of something better so you can just apply it on any kind of 'terrain' beneath it.So the short answer is : no it is not possible yetThe longer answer is above ;) Quote Link to comment Share on other sites More sharing options...
Dunenewt Posted November 10, 2009 Share Posted November 10, 2009 Ah okay. Perhaps I should set up a thread about new tilesets because I have a couple of other ideas. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.