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
*.wldFiles - Layer
*.lyrFiles - Mesh
*.mshFiles (with Materials) - Terrain
*.ter Files(without Textures, so far just height information)
- Simply put the
SWBF2Importfolder into yourAssets/directory - You should see a
SWBF2Menu Entry on the top:
- In your
Assets/directory, create a new directoryResources/Textures - Put all Textures (
*.tgaFiles) needed into that directory - Click on
SWBF2 --> Open Worldto open the Import Window - Click on
Open *.wld Fileto 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)
