Jump to content

mue

+MODDER
  • Content count

    397
  • Joined

  • Last visited

  • Days Won

    8

Files posted by mue

  1. TODEditor

    After nearly 6 years since my proof of concept experiments with the TOD files I'm ready to release a first version of the TODEditor (could almost be a nominee for the Duke Nukem Forever Award ).
    Main Features:
    Easy editing of TOD files: cut/copy/paste, moving and rotating of objects Import of object models files: *.lod, *.obj or *.3ds  
    Warning:
    Use at your own risk. The TODEditor is currently in an early beta stage and can contain serious bugs. So, please backup your terrain files before you work with the TODEditor. I have warned you!
    The program is free for whatever use (commercial or personal).
    Installation:
    Extract the content of the zip package to a convenient location.
    The TODEditor depends on the Microsoft Visual Studio 2019 C++ libraries. If not already installed on the computer (e.g. by other applications) they have to be installed by running vcredist_x64.exe (you can find it in the redist subfolder of this package).
    Start the program by double click the todeditor.exe.
    For further information see TODEditor_readme.txt.
     
    Mue

    382 downloads

       (7 reviews)

    3 comments

    Updated

  2. LOD Exporter for Blender

    I tried to implement the exporter only based on the information I found by investigating LOD files. I'm not a 3D Modeler myself. I only tested the exporter with rather simple object (hierarchies).
    The bottom line is that I have no idea if the exporter works for you. So please give feedback.
    Note: This plugin requires blender version 2.78 or 2.79. It is not compatible with blender versions 2.8+.
    1.) Installation
    Open the Blender User Preferences - Add-ons Tab
    (File -> User Preferences... -> Add-Ons)
    Click "Install from File..."
    Browse to and select the exporter python script "io_export_sf2_lod.py"
    Click "Install from File..." (or double click on the script name)
    In the Add-Ons Tab under Supported Level select Testing and enable "Import-Export: Strike Fighters 2 LOD Exporter"
    The LOD exporter is now installed and enabled. Under File -> Export you should see the menu item "Strike Fighters 2 LOD (.lod)". It's greyed out until an exportable object is selected.
    2.) Usage
    Select the object you want to export and click File -> Export -> Strike Fighters 2 LOD (.lod)
    The file browser opens. In the lower left area you see the LOD exporter options:
    -enable/disable writing the out file (text file with information about the exported object(s)).
    -enable/disable animation export
    -allow decals:
        This option is similar to the option in the original TW-Exporter: "Exporting using AllowDecals=0 causes the vertex to be shared, so it can reduce the size of the .LOD but also causes decals to "bleed" along the edges."
        This dialog setting is used as default for all objects to be exported. However, it can be overwritten by each individual object via the custom object property "AllowDecals" = 0(false) or 1(true)
    The selected object and all child objects are exported.
    Two custom object properties are supported by the exporter:
        -AllowDecals = 0 or 1, This option is similar to the option in the original TW-Exporter: "Exporting using AllowDecals=0 causes the vertex to be shared, so it can reduce the size of the .LOD but also causes decals to "bleed" along the edges."
        -UseFlatNormal = 0 or 1, if set to 1 then all vertex normals are pointing straight up (normal = (0,0,1)) in the objects local coordinate system.
    Please note!
     
    The objects must meet the following requirements:
    -No scaling in the Transform Properties allowed (that means: scale x = y = z = 1.0). If your object has scaling, it should be applied to the mesh (Ctrl-A)
     Scaling is only allowed for animations.
    -A material must be assigned to the object. Only the first material of an object is exported.
    The following material parameters are exported:
        -Diffuse Color (the lod file format also contains ambient color. Currently the exporter set ambient color = diffuse color)
        -Specular Color
        -Specular Intensity
        -Specular Hardness (I think in 3ds Max it's called glossiness)
        -if "Shading -> Emit" > 0.0 then self illumination is enabled
        -Transparency (if transparency is enabled, then the object doesn't cast and doesn't catch shadow. if transparency is disabled, then the object cast and catch shadow. The specific LOD format version the exporter writes, doesn't support arbitrary cast/catch shadow combinations. The other LOD formats I don't understand enough (yet). Sorry!)
        -Alpha
        -Mirror Reflectivity
        -Diffuse texture image name (as diffuse texture the exporter uses the texture where "Influence -> Diffuse -> Color" is enabled)
        -Normal map texture image name("Influence -> Geometry -> Normal" is enabled and the Normal value is also exported)
        -Specular map texture image name("Influence -> Specular -> Intensity" is enabled)
        -Normal and specular map can only be used together with a diffuse map. (If I exported a normal or specular map without diffuse map, then the LOD wasn't shown in the game or the game crashed. I don't know why...)
        
    Animation Export:
        
        This exporter supports the following object animation types: location, rotation and scaling.
        Frames 10, 20, 30, ..., 100 are exported as animation 1
        Frames 110, 120, 130, ..., 200 are exported as animation 2, ...

    3.)Credits:
    Thanks to logan4 and angelp who provided me with specific lod files that helped me to understand the lod file format better.

    4.)Changelog:
    Version 0.1:
    -initial release
    Version 0.2:
    -bugfix: didn't work in blender version 0.79
    Version 0.3:
    -animation support
    -added custom object properties: "AllowDecals" and "UseFlatNormal"

    431 downloads

       (1 review)

    6 comments

    Updated

  3. LODViewer

    This is the newest version of the LODViewer.
    New features:
    -decal support
    -display of collision and pivot points
    -added transparency and wireframe display mode
    -user definable background color
    -view manipulation via keyboard
    -64 bit application
    -uses the OpenSceneGraph library and Qt 5.9.5
     
    Install instructions:
    Extract the content of the zip package to a convenient location.
    The LODViewer depends on the Microsoft Visual Studio 2017 C++ libraries. If not already installed on the computer (e.g. by other applications) it has to be installed by running vcredist_x64.exe (you can find it in the redist subfolder of this package).
     
    Have fun! And report bugs
    Mue

    1,589 downloads

       (11 reviews)

    2 comments

    Updated

  4. Mues Toolbox

    In this package you find the current versions of my programs. Since all programs are using the same Qt and Microsoft Visual Studio libraries I thought it is convenient to put them all together.
     
    This package contains currently:
     
    LOD Viewer V0.5.2
    Target Area Editor V0.2.2 (Updated)
    CAT Extractor V0.1.0 (NEW!)
     
    For usage instructions of the programs please read the readme files located in the Readme folder.

    1,802 downloads

       (29 reviews)

    11 comments

    Updated

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..