EGOBOO -- Another editor

The development of the game itself or new resources for it. Any new stuff you're working on would go here, as well as the discussion of in-development stuff.

Moderator: Developers

Post Reply
User avatar
bitnapper
Tome Mimic (Module Baker)
Tome Mimic (Module Baker)
Posts: 135
Joined: Fri Jan 30, 2009 3:33 pm
Location: Somewhere near the alps
Contact:

EGOBOO -- Another editor

Post by bitnapper »

Hi all

The basic framework is done. It includes:
- Loading map
- Saving map
- Drawing and viewing the map in 3D
- View-Modes: Wireframe, Solid and Textured
- Display of map in 2D including field of view of camera

That's what is planned:
- Merge in the map editor code from Cartman-GL
- Display spawn points and passages on map

This editor works in '2D-Mode'. Which means, the input is done in a 2D-Map and the result displayed in a 3D-Window.

What I need is some input, what functionality users want to have implemented first.
- Please add names for menu points
- What is better: Building walls on a flat map or carving out a maze from 'full' ?


Thanks for your help.
Last edited by bitnapper on Thu Aug 19, 2010 6:11 am, edited 3 times in total.
Two beer or not two beer... rather a malt whisky
User avatar
octagon
Darkshine Knight (Extremist fanatic)
Darkshine Knight (Extremist fanatic)
Posts: 2589
Joined: Sat Feb 20, 2010 1:07 pm

Post by octagon »

That is great! Thank you for putting effort into another Egoboo module creator... I'll try the editor as soon as possible...
Bitnapper wrote:- What is better: Building walls on a flat map or carving out a maze from 'full' ?
I think I'd like the former better, but right now, most (dungeon) maps of Egoboo maps (Department of Redundancy department, yay!) are more like carved-out mazes, so I could imagine that the latter method is more useful.

So possibly, the latter method could be more important, but anyway, it should get both.
User avatar
penguinflyer2222
Queen Penguin (Senior Member)
Queen Penguin (Senior Member)
Posts: 6614
Joined: Wed Jul 23, 2008 1:51 am

Post by penguinflyer2222 »

I think the latter is more useful, too.
It would be a pain to draw all those walls. Consider the size of the map vs. how much wall space there is....
And octagon is right.. I think they are mostly carved out mazes because that is the setup for EgoMap, and because that's just how Egoboo is. :lol:
But even if you want the former, just drag the thing across to make it floor..... or maybe there should be a button for that? To change it from floor to wall? Either that, or a preference when you make a new module.
......
User avatar
octagon
Darkshine Knight (Extremist fanatic)
Darkshine Knight (Extremist fanatic)
Posts: 2589
Joined: Sat Feb 20, 2010 1:07 pm

Post by octagon »

:agree:. Fully.
User avatar
bitnapper
Tome Mimic (Module Baker)
Tome Mimic (Module Baker)
Posts: 135
Joined: Fri Jan 30, 2009 3:33 pm
Location: Somewhere near the alps
Contact:

Update on ToDo-List

Post by bitnapper »

Map Menu
- New Flat (to build walls on)
- New Solid (to carve out)

Questions:
'Fan'-Styles
- Should there be a 'preset' style ?
- Should it be possible to read them from file ?

Examples for styles:
- Vertical walls, flat bottom
- 'Egobooish' walls (e. g. like in adventurer module)
- Other ?

Basic idea for map generation
First a 'simple' mode which only allows walls and floors. Wall edges are set automagically. This needs 'preset' shapes for the wall-fans.
In 'standard' mode, any kind of fan-type can be positioned anywhere.

Other thoughts ? How would you work ? :?
Two beer or not two beer... rather a malt whisky
User avatar
Zefz
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
Posts: 3820
Joined: Wed Jul 23, 2008 1:27 am
Location: Norway
Contact:

Post by Zefz »

The wall/floor mode in EgoMap is almost anything I use.

Object mode is buggy so I usually do that manually.
Abillity to draw multiple tile flags would be great! (flag an entire section as "water" for example)
User avatar
octagon
Darkshine Knight (Extremist fanatic)
Darkshine Knight (Extremist fanatic)
Posts: 2589
Joined: Sat Feb 20, 2010 1:07 pm

Post by octagon »

- Should there be a 'preset' style ?
- Should it be possible to read them from file ?
I think this would be handy and nice.

Preset style: Egobooish, I suggest.

Other possible styles:
-Everything "curly" 'n stuff; hemispherical/hemicylindrical walls - could be nice for sand dunes and ...weird places.
-Hard and splintery rock/crystal walls
-ship-style walls in a trapezoid shape - see G'nome starter

Dunno if any of them are possible, but those would look cool.
User avatar
bitnapper
Tome Mimic (Module Baker)
Tome Mimic (Module Baker)
Posts: 135
Joined: Fri Jan 30, 2009 3:33 pm
Location: Somewhere near the alps
Contact:

Update on ToDo List

Post by bitnapper »

- Simple mode wall/floor like EgoMap
- Flagging multiple tiles with FX
- Create 'preset' style

Info for the users
The given fans describe only, how the texture is mapped onto them. There is no info about extent and position of the different 'Vrt'-Values. Basically for the floor, the Z- or Up value is zero. Height of walls is Z greater zero, standard about 200. The X- and Y-Values describe the position of the tile. Tile size is 128 by 128 units. Wall height standard about 200.

What users can do about styles
For every fan, give a X, Y and Z position, always in mind, that the left top edge is at X/Y = 0/0.

Documentation
Has somebody the time do define the egobooish style ? Or at least write a short description how to define the positions of thr 'Vtx' Points ?
Example for two faced ground (X/Y/Z, Z always 0):
Vrt: 1 ==> 128, 0, 0
Vrt: 2 ==> 128, 128, 0
Vrt: 3 ==> 0, 128, 0
Vrt: 0 ==> 0, 0, 0
This four points describe the rectangle of a bottom tile.
For the other fans, it's a little bit harder to figure out which is which
:roll:

Any help is appreciated.
Two beer or not two beer... rather a malt whisky
User avatar
Zefz
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
Posts: 3820
Joined: Wed Jul 23, 2008 1:27 am
Location: Norway
Contact:

Post by Zefz »

Note that there are three different map editors for Egoboo. Cartman, EgoMap and ModBaker. There is also something like a FrankenEditor that birdsey made, but I think he lost the work progress due a HD crash.

I noticed you have imported a lot from Cartman, but have you checked out the others as well?
User avatar
bitnapper
Tome Mimic (Module Baker)
Tome Mimic (Module Baker)
Posts: 135
Joined: Fri Jan 30, 2009 3:33 pm
Location: Somewhere near the alps
Contact:

Taking parts otf the other Editor

Post by bitnapper »

I have the source of all three editors on my HD, plus the one I created myself. Cartman was the easiest to start from, so I fetched this code first. I'll merge the best things into the new editor and give t a - hopefully - usable interface to work with.

The next problem I have tosolve that the map is drawn 'side-flipped' in the 3D-View. Has something to do with the setup of the frustum.

Questions:
What do you think is the minimal edit functionality needed to make the editor worth a beta test ?

Side note
Arakon had a lot of interesting ideas which I think are worth to make a look into. ll'l come up with some of my own, too, as soon as the editor basically works.
Two beer or not two beer... rather a malt whisky
User avatar
Zefz
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
Posts: 3820
Joined: Wed Jul 23, 2008 1:27 am
Location: Norway
Contact:

Post by Zefz »

Another thing to notice: Arakon put a lot of effort into a Random Map generator, while that can be fun, it is more like a gimmick. If I plan to create a map, I make it manually and not randomly. Random maps are more useful as a game feature instead of a map editor feature in my opinion.
User avatar
bitnapper
Tome Mimic (Module Baker)
Tome Mimic (Module Baker)
Posts: 135
Joined: Fri Jan 30, 2009 3:33 pm
Location: Somewhere near the alps
Contact:

Random map and other things

Post by bitnapper »

Random map
This is something for a later stage, if any.

Generation of Fan-Sizes
I figured it out and think i can do something 'preset' easily. Floor positions are no problem. Just have to add some usable Z-Values.

Technical ideas for extensions
Extend the support for commands of 'fan-only' by 'triangle strip. Much easier e.g for descrition of a stair or a multi-faced wall. Easy to add to the engine too, I think. But that's something for a later stage, too.

Documentation
Planned. Could need some help later to write it in a way that it's easy to understand for non-technical readers.
Last edited by bitnapper on Fri Aug 13, 2010 8:43 pm, edited 2 times in total.
Two beer or not two beer... rather a malt whisky
User avatar
octagon
Darkshine Knight (Extremist fanatic)
Darkshine Knight (Extremist fanatic)
Posts: 2589
Joined: Sat Feb 20, 2010 1:07 pm

Post by octagon »

Zefz wrote:Random maps are more useful as a game feature instead of a map editor feature in my opinion.
I think that they are best as a game feature that can be adjusted in the editor... )I think that we should maybe have kind of a code syntax for random maps, like Clonk has. :teach:
Grub_Bug_01
Grub Bug (Rookie)
Grub Bug (Rookie)
Posts: 43
Joined: Fri Oct 09, 2009 10:33 pm
Location: From Egoboo
Contact:

Post by Grub_Bug_01 »

octagon wrote:

I think that they are best as a game feature that can be adjusted in the editor... )I think that we should maybe have kind of a code syntax for random maps, like Clonk has. Teaching words of wisdom
Yeah could be cool for a random maps but maybe not for the editor.[/quote]
Egoboo will be EPIC!
User avatar
bitnapper
Tome Mimic (Module Baker)
Tome Mimic (Module Baker)
Posts: 135
Joined: Fri Jan 30, 2009 3:33 pm
Location: Somewhere near the alps
Contact:

Work done

Post by bitnapper »

Work done
Nearly all info windows

Next work
- Display fan types for test of 'draw mode'
- Generate empty maps
- Simple 'draw' mode for walls and bottom
- Tool for choosing textures
- Write dow the default z-extents of the fans

So, a lot of code to write with so little visible result :roll: *sigh*

If only someone could figure out for me this Z-Extents for the wall fans...
Two beer or not two beer... rather a malt whisky
Post Reply