u/Circle418

Questions about maps

I'm currently working on basic graphics atm, so not too preoccupied just yet, but there is overall almost no guides as to making a map editor or map format. I'm not too bothered by this, but I had a couple of questions. I understand it's a super case by case thing.

Map format:

- My idea for my map format was simply an archive containing regular obj file, and maybe another one for a simplified collision mesh as well as another file called something like "states.txt" with some extra stuff such as my BSP tree, positions of enemies and other intractable objects, player viewport, health, position, ammo etc. Is this a good approach? I would model a terrain in my map editor add other meshes of like houses and stuff, then export it. During the exporting process, it would partition the whole thing into a BSP tree and the result would be the file I mentioned before. Save files would simply be copies of the original map with changes made to that extra file

Map editor:

- I'm leaning towards mesh based rather than brush based simply because I have more much more experience in Blender than Hammer and Quake like editors. Someone suggested looking at Blender source code which I really liked. I would implement really basic blender features as well as some stuff for adding entities and the sort and a menu to configure them.

Is this a good approach to take?

reddit.com
u/Circle418 — 3 days ago