Skip to content

reszy/UEdConverter

Repository files navigation

UEdConverter


  1. Description
  2. How to use
    1. Cutting piece of map geometry
    2. Exporting single brush
  3. Texture support
  4. What next?

Description

Converts t3d brush files from Unreal Engine 1.5 to obj format and vice-versa. Allows to edit Unreal's brushes in regular 3D editors.

What it does:

  • It converts UEd brushes
  • Both polygons and UV coordinates are preserved

What it doesn't:

  • No texture handling. You need to export/import textures separately and assign correct textures to polygons manually
  • Program does not support map export/import as UEd uses CSG (boolean operations to create geometry) and those are not precomputed in such file.

preview

How to

  • Open executable
  • Click "File" and select source for conversion
  • Click "Destination" and select destination file for conversion
  • Click Convert
-!Conversion may brake some models. Overriding files is inadvisable!

Examples:

Cutting piece of map geometry

  1. In editor create brush (right click on shape toolbox to select size) in shape and size you wish, and position it on level geometry you are interested in.

creating brush

  1. Select intersect option(1) and then export brush(3)

intersect option and export of brush

  1. Convert Files
  2. Import into 3d program (here scale during import is set to 0.01)

imported file in blender

Exporting single brush

  1. Select brush(on picture blue mesh), right-click and select "Polygons->To Brush"
  2. Export as in prevoius example

imported file in blender

Texture support

Experimental texture support is provided. If file texture_dict.txt is provided textures manually applied should have correct scaling (assuming correct texture is applied).

How to do it:

Put the file texture_dict.txt in the same directory as exe

Example file:

Lantern2 64x64
pmbLight3 64x64
pmbLight3or 64x64
pmbfloor-E 128x128

What next?

In the brush file there is no connection to the texture other than simplified name so the dictionary (texture name to its dimensions) is neccessary. An exctractor for these data is needed but the texture support will stay limited as I don't have capacity to further reverse engineer utx file format.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages