>>105828966>>105829077>What do you use to import the map files?I wrote my own .map parser, loosely based on random stuff I found online. The .map (valve 220) format is pretty straightforward to parse text-wise:
https://developer.valvesoftware.com/wiki/MAP_(file_format)
Creating a mesh from it is the tricky part, where you have to intersect planes to get geometry out of em. Once you know the vertices, making a mesh is trivial besides figuring out the right order to wind the triangles in. This is helpful:
https://github.com/stefanha/map-files/blob/master/MAPFiles.pdf
>Are there easy libraries for this as I canโt write a parser to save my lifeIt depends on your target language. I know there's a plugin for Godot written in C# so you might be able to leverage that or copy its source, there's also a couple in Rust. In my case I'm writing my game in Common Lisp so I just rolled my own, ended up outperforming my previous Rust attempt. I'm not really making a clone, I just wanted to use goldsrc/quake level editors.
It might sound daunting at first but once you start doing it, it's not so bad.