A Map Editor

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
Locked
User avatar
Flail13
Code contributor
Code contributor
Posts: 263
Joined: 16 May 2008, 12:00

A Map Editor

Post by Flail13 »

edit:

flaME (a map editor)
you might need to download the .NET framework.

BlueMaxima has created a guide (v3) for it here.

1.03 changes:
small changes and bugfixes, plus a button to interpret the terrain of loaded .wz maps
1.02 changes:
small changes and bugfixes.
1.01 changes:
small changes and bugfixes.
1.00 changes:
autosave
quicksave
downloading of files removed from installation

Controls:

View:
f1 - camera movement mode
f5 - terrain on/off
f6 - grid on/off
f7 - units on/off
f8 - lighting on/off
numpad numbers (with numlock on) - rotate
numpad /, * - zoom
w,s,a,d,e,c - move
backspace - reset
f - fast
r - slow
ctrl-(1<->0) - set view radius, 1 is small and 0 is very large
mouse-wheel - move towards/away

Texture:
<, > - rotate anticlockwise, clockwise (also works for selected units)
/ - flip x
\ - change triangle direction

Height:
height change; right click changes in reverse direction.

Units:
escape - unit select mode
m - move selected unit to mouse position
del - delete selected unit

Map Texturer:
click in the layers list and press insert to add a layer and shift-delete to remove.
press -, + to move layers up and down

Gateways:
shift-left click - remove gateway

Other:
ctrl-z - undo
ctrl-y - redo

----------------- end of edit

Ive been working on a windows map editor for WZ in VB 2008.
So far it does most of what editworld can do. It can't export as a map - I gave up trying to work out the format.
It has improved texture brushes and brushes for cliffs and roads.

Should I release it as is? I'm an amateur programmer so it has some bugs.
Last edited by Buginator on 09 May 2010, 05:30, edited 28 times in total.
Reason: making a new thread, this was got way too big
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: A Map Editor

Post by Per »

Flail13 wrote:Should I release it as is?
Of course. Release early, release often. It is the only way to go about it :)

If you need any help figuring out the map format, just ask in the coding forum.
User avatar
Olrox
Art contributor
Posts: 1999
Joined: 03 Jul 2007, 19:10

Re: A Map Editor

Post by Olrox »

Good work like this is ensured to be supported by everyone who can!
It's a good effort, maybe it'll even get me to work on WZ maps :P
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: A Map Editor

Post by KukY »

Please release it and continue working on it! :)
User avatar
Flail13
Code contributor
Code contributor
Posts: 263
Joined: 16 May 2008, 12:00

Re: A Map Editor

Post by Flail13 »

ok here it is...

is it ok to supply the WZ content with it? - the PIE and texpage files are included.

A WZ Map Editor v0.1
2.46MB: http://www.filedropper.com/wzme
Extract everything before running setup.exe.
It installs to a directory determined by windows. If you want to know where it is press f12 in the program.

one of the bugs is the program wont close without force under windows 7 (and possibly others)

Theres no instruction in the program and many of the controls have no button to click so here are the controls:

edit: - see first pos -
Last edited by Flail13 on 04 Feb 2010, 04:16, edited 2 times in total.
User avatar
Olrox
Art contributor
Posts: 1999
Joined: 03 Jul 2007, 19:10

Re: A Map Editor

Post by Olrox »

I'll try it tomorrow, I'll give feedback as soon as I've done anything :D
thanks for sharing!
User avatar
Terminator
Regular
Regular
Posts: 1077
Joined: 05 Aug 2006, 13:46
Location: Ukraine
Contact:

Re: A Map Editor

Post by Terminator »

Is it possible to make map editor without installation ? Just Unzip & Go.

I waited 30 mins until framework will install, however I have it already installed, than after reboot installation says something about cache version and closes.
I havn't managed to install Map editor. :(
Death is the only way out... sh*t Happens !

Russian-speaking Social network Group http://vk.com/warzone2100
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: A Map Editor

Post by KukY »

I am having same problems as Terminator. :(
User avatar
Flail13
Code contributor
Code contributor
Posts: 263
Joined: 16 May 2008, 12:00

Re: A Map Editor

Post by Flail13 »

if you have all the requirements installed the exe alone might work.
http://www.filedropper.com/executable

If it runs at all download these data files too and put them in the same directory.
http://www.filedropper.com/datafiles
Last edited by Flail13 on 31 Jan 2010, 14:57, edited 1 time in total.
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: A Map Editor

Post by KukY »

Flail13 wrote:if you have all the requirements installed the exe alone might work.
What are requirements?

To anwser your question:
Flail13 wrote:is it ok to supply the WZ content with it? - the PIE and texpage files are included.
Whole WZ sourece is GPL. So you can.
User avatar
Flail13
Code contributor
Code contributor
Posts: 263
Joined: 16 May 2008, 12:00

Re: A Map Editor

Post by Flail13 »

these are listed in vb as prerequisites:
net framework 3.5 SP1
windows installer 3.1

but i found TAO framework was a prerequisite but not included in the last setup file
here is one with it included. i dont know if this will fix the problem.
http://www.filedropper.com/wzmev01
Last edited by Flail13 on 03 Feb 2010, 08:28, edited 1 time in total.
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: A Map Editor

Post by KukY »

Flail13 wrote:these are listed in vb as prerequisites:
net framework 3.5 SP1
windows installer 3.1

but i found TAO framework was a prerequisite but not included in the last setup file
here is one with it included. i dont know if this will fix the problem.
http://www.filedropper.com/wzmev01
That TAO framework is what I need cause error report was filled with TAOsomething, and I already have those 2 on top.
I'll let you know when I test it.

EDIT:
I tested it and I love it.
But there is lot more place for improvements.
As it can export to *.lnd, I'll use it and compile map in EW, then convert it to *.wz...
Expect my maps soon!!!
About exporting to *.wz, this should help you:
EW source
How to convert from WDG to WZ
User avatar
virgilglyph
Trained
Trained
Posts: 33
Joined: 11 Jun 2008, 13:01

Re: A Map Editor

Post by virgilglyph »

.

Tested. Though I need to spend a lot more time with it I can already tell where it is gonna be a vast improvement over the 3 versions of EW I've worked with over the last 10 years and logged thousands of hours on.

Yes, there is room for improvement (that is simply par for the course for any creative effort), but already it's more fun and powerful than those 3 versions of EW I've worked with. Right now I especially love painting mountains and valleys.... AND painting bodies of water with perfect shorelines is a snap compared to the endless tedium of those other EWs.

As I get to know it better I'll have more useful feedback and specific feedback. Even at this early stage I can already see how your Map Editor will obsolesce the current version power wise and also be more enjoyable to work with for Newbies than 32EW. :)

Very fine work and much needed too.

The Tao Framework will, if I'm understanding correctly, also facilitate cross-platform development down the road which is also a great boon for this project (probably need to mix in OpenTK code for Linux, I think.... but I'm no coder to say for sure).

Regards, VG :cool:

.
User avatar
Olrox
Art contributor
Posts: 1999
Joined: 03 Jul 2007, 19:10

Re: A Map Editor

Post by Olrox »

It is incredible, I'm having endless fun making my first map, lol xD
I mean, I've tried EW already and it was like... ewwww :stressed:
This editor, however, is much more than o.k.! great work indeed.

I'm really missing the Undo feature, though: hopefully you'll get some help with the development of this grade-A tool.

Hmm, the view range it's kind of weird (at a moderately far zoom, many tiles disappear from view), that's not very good if you want to have an overall look at the map. Maybe this can be fixed?
3drts
Trained
Trained
Posts: 379
Joined: 01 Aug 2007, 03:50

Re: A Map Editor

Post by 3drts »

Any chance you could collaborate with someone who knows how to port stuff to mac OS X?
I'm really dreading trying to remember how to set up wine, and get a map editor working on this Mac, like I did with my last one (though the last one wasn't working with full functionality...).
Locked