Search results

  1. Möyh Mäyh

    A map editor?

    Could the misalignment be just missing rotation? Because the app doesn't touch that. The rest of the transforms are stored right after the position, but I have put off the work learning how transformation matrices work (that's what I think they are, at least). So, if you see something...
  2. Möyh Mäyh

    A map editor?

    O yea. The help button explains a bit, but it’s a good idea add better instructions at the post.
  3. Möyh Mäyh

    A map editor?

    A map editor built in Godot game engine. In it's current state it's more like a toy than a real tool, but I hope to grow it into something usable. Project source Download a build here. No changing collisions yet. Quick usage: Unzip and run the program. Open a chunkfile (Make sure there...
  4. Möyh Mäyh

    chunk_pc

    Hey that's an excellent find! I've been putting off composing such map myself but looks like now I don't have to. I don't know how permanent wikia url's are so I'll attach it here too.
  5. Möyh Mäyh

    chunk_pc

    Okay so the obj/mtl import/export is about as good as it can get now. It omits 2 things: unknown extra data that doesn't seem to do anything and extra uv sets. Models may layer multiple textures on each other (for example, a brick wall texture with stain texture over it), and use different uv...
  6. Möyh Mäyh

    chunk_pc

    If you tried to put stuff in before, you may have noticed that half the triangles are missing. This was because every other tri is flipped. Fixed now. Also UVs are just a bit less broken again.
  7. Möyh Mäyh

    a map mod.

  8. Möyh Mäyh

    chunk_pc

    If the chunk was able to load, it would have still appeared at it's original location since object positions are global world coords. Did the game still run?
  9. Möyh Mäyh

    chunk_pc

    I realized the shading being broken probably means I put wrong number to vertex type when patching chunkfile. That was indeed the case. I just pushed a new version which is just a bit less broken.
  10. Möyh Mäyh

    chunk_pc

    New addition: sr2_chunk_replace_gmodels.py This is very crude and a lot of information is lost in the process, but here's how to try it: 1: Unpack chunkfiles, you need both chunk and g_chunk: 2: Run extract_gmodels and extract_materials 3: Do your changes here (but I recommend checking that...
  11. Möyh Mäyh

    a map mod.

    The purpose of this mod is to showcase what's currently possible. This is very, very broken but it marks some kind of milestone. I built a g_chunk file from exported models. Go say hi to rayman. I'll post something in the chunk thread tomorrow.
  12. Möyh Mäyh

    chunk_pc

    You mean editing the model and putting it back? Probably will be very possible but let's not get ahead of ourselves.
  13. Möyh Mäyh

    chunk_pc

    New version of extract_gmodels, with somewhat broken uv's, and a new script, extract_materials. To get textures, use the chunks texture tool, and then copy and rename the appropriate folder here like this: Materials can contain anything between 0 and 16 textures. The script doesn't know which...
  14. Möyh Mäyh

    chunk_pc

    While fighting with the g_chunk models I had to look at many different places and ended up learning a lot about materials, objects, and other stuff. Here are some of the various ways I managed to break the chunkfile.
  15. Möyh Mäyh

    chunk_pc

    Further progress: g_chunk model export. I moved from blender scripts to just python. So now there's sr2_chunk_extract_gmodels.py which exports to .obj. No uv's or any other things yet, so the models may not be very usable as is.
  16. Möyh Mäyh

    chunk_pc

    I started to work on g_chunk files. As I suspected, g stands for graphics. There isn't much to them, it's all obvious model data, but the way they're arranged isn't exactly straightforward. I can see all vertices and faces but have no clue which go together with what. In the screenshots I had...
  17. Möyh Mäyh

    chunk_pc

    So open blender's scripting tab and paste the script there. You can run it with the play button. What I've seen in these files so far shows promise for editing a lot of things. I don't know how the engine will behave, but I'm not too much concerned. Have to experiment. I wonder if I can learn...
  18. Möyh Mäyh

    chunk_pc

    I figured out every step that failed before the boxes and now the script survives this far in any chunk. import_chunk_bbox1.py My PC can't handle all ~300 000 objects at once so here's chunks1.vpp_pc and chunks2.vpp_pc separately (which still lag like hell): This isn't particularly useful yet...
  19. Möyh Mäyh

    chunk_pc

    My goal for distant future is to enable map modding, but expansion outside the existing islands could mean adding new chunks so it is a big question mark. Anyway, it will take a long time before I can properly answer this.
  20. Möyh Mäyh

    chunk_pc

    Hey I'm back. Got stuck at one section last year and then kinda forgot about it. Picked it up again and finally made some progress. I can now semi-reliably pull bounding boxes and their names.
Back
Top