No announcement yet.

Quake1 engine. Unreal maps. Please help.

  • Filter
  • Time
  • Show
Clear All
new posts

  • Quake1 engine. Unreal maps. Please help.

    Quake1 engine. Unreal maps. Please help.
    We allready implemented other map formats (wolfenstine enemy territory). Opensource.

    * Here is the C++ for Unreal maps, but this is a C engine:
    * Here is Quake1 Engine code:


  • #2
    So: we allready did wolfenstine enemy territory maps because we like that format and the maps in it.
    Can you help with more?


    • #3
      Model_brush.c is the main file where new map and model formats are parsed:

      An example one is void Mod_OBJ_Load on line 7562. Which loads the triangle data for an obj file (loads the vertex and then the face data).
      It would be nice to load the .unr map type too. These usually contain much less triangle data than any object file: but they are and were high quality maps and were fun.

      Then a line is added in Model_shared.c to let the engine know that format is now parsable and what subroutine to use:
      An example of this is in Mod_LoadModel, the on line 575 if (!strcasecmp(FS_FileExtension(mod->name), "obj")) Mod_OBJ_Load(mod, buf, bufend); . Which tells the engine if the file extension is .obj to execute Mod_OBJ_Load.

      There are also .h files for both to add the headers of any new subroutine or global variable used.

      There is C++ code to load .unr files here:
      But our engine is C. The C++ code is opensource.

      Please help.
      This engine can already load PSK files from later unreal formats, and this opensource game has already implemented weapon models and weapon game code similar to many of the unreal and unreal tournament weapons. All opensource (code and media). If .unr model/map loading could be added then all those maps could be enjoyed in a project all opensource programmers could use.


      • #4
        2 opensource C++ unreal map loading and viewing solutions exist now: ushock and lib unr.

        Engine is in C:
        We have zero idea how to make it work and no one will ever help us so far or talk to us at all.
        Any post on 4chan is deleted. Any post on freegamedev is deleted.