Help:Programming a Building and Village Editor

From Millénaire Wiki

2020-02-09 - This guide is very old, use in-game tools to create and update buildings.

Programming a Village/Building Editor


Hi i read the guides for creating buildings and villages. It is already easy to do but something like an editor would certainly not difficult to program.

A friend and I already started working on it. My idea is based on a building-editor with layers for the height of the building. This uses a block list that is expandable. Options for vilages could also be added.

I am still a beginner at programming in C# and the graphical representation is difficult for me. I take all the help I can get ;)

Sorry for my translation (edited slightly by reader)

I am from Austria -15:22, May 18, 2011 Florian Draxler


Jun 8, 2011

Currently, it is possible to load buildings, to save and create a new one. However, with 30 in the length and width and 15 layers ,at the same time that what the maximum size is. With smaller dimensions, it created no files and only one error message. I would like now to give only the developers of the mod because it has more bugs than letters in the name (it still has no name: D)

May 29, 2011

We got the bug ;) we made big steps, new picture for you look at the top.

May 27, 2011

A small preview to imagine. Right now we are stuck with the method to draw but if that is done nothing stands in our way for an Alpha.

May 25, 2011

So far so good, the editor is nearly half completed. It only lacks the create image file and the edit graphic in the window. The program works with the mod included block list that contains the color for each block, so should there be a patch with new blocks for the same list format there will be no problem.