Import Maps from the Star Wars Battlefront II (2005) Mod Tools into Unity.
This Importer is currently based on the LibSWBF2-CSharp Library.
What's supported:
- World
*.wld
Files - Layer
*.lyr
Files - Mesh
*.msh
Files (with Materials) - Terrain
*.ter Files
(without Textures, so far just height information)
- Simply put the
SWBF2Import
folder into yourAssets/
directory - You should see a
SWBF2
Menu Entry on the top:
- In your
Assets/
directory, create a new directoryResources/Textures
- Put all Textures (
*.tga
Files) needed into that directory - Click on
SWBF2 --> Open World
to open the Import Window - Click on
Open *.wld File
to browse for a world File (e.g. BF2_ModTools/assets/worlds/GEO/world1/geo1.wld) - Optional: Specify alternate msh directorys to search for (additional to the local world msh directory)
- Select if you wish to import the Terrain
- Select the Layers you wish to import (The number in parentheses indicates the amount of objects that layer contains)
- Optional: Specify a Material (Shader) that should be used for all imported models. Will use Standard shader if not set
- Hit
Import
. This may take a while, so be patient (even if it seems unity froze)