Page 1 of 1

How to export a Marathon map as FBX model

Posted: Dec 26th '20, 15:40
by Qweasy908
1. Download Unity 2021.2.2 f1 or newer

2. Download (https://github.com/deramscholzara/ForgePlus) Forge plus Unity project as a zip file

3. Add Forge Plus Unity project to Unity Hub and open it

4. Go to ForgePlusEditor folder then scenes folder and select MainScene scene

5. In project select Singletons and check the box Separate Textures (Separate Lights if you want to copy lighting for Unity)

6. Press play and load the map file you want with the shapes file

7. In the Hierarchy list choose your level map, right click it and select export to FBX

8. Choose where to save it and select the Export Format as Binary

9. Keep the Forge Plus Unity project open and turn separate textures off in singleton and load the map again

10. Select level map in the Hierarchy list and select the first Batched Surfaces

11. Go into main texture then select the texture array, the separate textures are saved in the same order as the texture array

12. Open Shape Fusion and extract textures form the shapes file

13. Open your FBX file in blender to texture it, the map will have materials and texture offsets

14. Select the batched surfaces and then select the materials tab

15. The batched surfaces will be in order similar to the texture array, if the texture order is still wrong then open Aleph One with the map and check every texture on the level

16. In the materials tab select Base Color and select image texture

17. Open the texture and add it to the material

Re: How to export a Marathon map as FBX model

Posted: Dec 26th '20, 16:24
by Meerjel01
I thought it was built in to the editor. Thank you.

Re: How to export a Marathon map as FBX model

Posted: Jun 1st '21, 05:55
by Zott
Neat, it works! Thanks.
https://youtu.be/4f0qctViw-k

Re: How to export a Marathon map as FBX model

Posted: Dec 27th '21, 13:49
by Qweasy908
Updated the guide.

The separate textures are numbered the same as the texture array mostly.

Sometimes batched surfaces are not the correct order when there are door textures.

The only proper way to texture a level is to have the game open and check.