I decided to start this topic because I forget stuff and I'm sure others will want to try to convert their maps to ue4 at some stage.
If you have different experiences or better methods, please feel free to post them here. Eventually I'll use this topic for a wiki page.
Stage 1 (Radiant prep)
Load your map into radiant and save it with a new filename. You're going to delete a lot of "stuff" thats not going to be needed and you probably don't want to spoil your actual map.
Delete all entities, models and clipping. Delete any brushes that are sky and of course any caulk hull that is 100% caulk.
You'll need to use radiant 1.5 for the next stage as the brush to obj plugin was removed in later versions (it's not included in 1.64 of radiant)
Select all the brushes in your map and run the export to obj plugin, don't forget to add the .obj extension as the plugin doesn't do this.
Blender stage
Import the obj into blender. Select everything (press A until everything is selected) then press Ctrl-J to join everything together.
Now we need to remove the rotation (X is set to 90 degrees) and to re-scale the entire map to 2.54
You'll also need to flip the normals at this stage, the option is on the right hand toolbox, uv mapping.
Now enter edit mode and start selecting faces which are smallish blocks of mesh which should be joined.
Split these from the main mesh (select the faces, press P and choose by selection). At this stage I normally assign them a material that describes the portion.
Eventually, you'll have something like this.
Once you've completed this stage it's time to export everything to FBX, I generally export only mesh, I choose smoothing by face and disable all other options.
You can now import this into UE4, I'll document this stage later.
Converting a urban terror map to ue4 using radiant and blender
- johnnyenglish
- Space cake
- Posts: 898
- Joined: Wed Aug 17, 2011 9:23 am
- Location: Nottingham, England
- johnnyenglish
- Space cake
- Posts: 898
- Joined: Wed Aug 17, 2011 9:23 am
- Location: Nottingham, England
Re: Converting a urban terror map to ue4 using radiant and blender
When I first started this project I kind of rushed into it wanting to get as far as possible as quickly as possible.
Now I've started again from scratch having learned a lot of important lessons.
Here's a few things to remember
The mesh you will export is one-sided, light will pass through the back of your mesh so consider making a sun blocking mesh to prevent this.
I decided to add this in radiant as I needed to clean up a few messy brushes anyway.
Basically I added roofs to my buildings, added a material to the back walls which will be facing the sunlight.
Only when you're 100% happy with your brushwork in radiant should you move on to the next stage... or you'll need to do it all again.
After Radiant
When you are happy with the map in radiant you will need to convert this to a model format that blender/3dsmax can use. Exporting to .ASE is relatively simple BUT, this converts your brushes into triangles. The only way to create polygons that I've found is to convert to .OBJ using the brush exporter built into the plugins of radiant 1.5.
The converted mesh from the brush exporter is "flipped" so you'll need to reverse this using your modelling tool.
So, import to blender, rescale the whole map to 2.54, flip the normals and begin chopping your map into discrete portions.
Work through the entire map breaking it up, creating uvmaps and so on.... I'll post the next stage later.
Now I've started again from scratch having learned a lot of important lessons.
Here's a few things to remember
The mesh you will export is one-sided, light will pass through the back of your mesh so consider making a sun blocking mesh to prevent this.
I decided to add this in radiant as I needed to clean up a few messy brushes anyway.
Basically I added roofs to my buildings, added a material to the back walls which will be facing the sunlight.
Only when you're 100% happy with your brushwork in radiant should you move on to the next stage... or you'll need to do it all again.
After Radiant
When you are happy with the map in radiant you will need to convert this to a model format that blender/3dsmax can use. Exporting to .ASE is relatively simple BUT, this converts your brushes into triangles. The only way to create polygons that I've found is to convert to .OBJ using the brush exporter built into the plugins of radiant 1.5.
The converted mesh from the brush exporter is "flipped" so you'll need to reverse this using your modelling tool.
So, import to blender, rescale the whole map to 2.54, flip the normals and begin chopping your map into discrete portions.
Work through the entire map breaking it up, creating uvmaps and so on.... I'll post the next stage later.
Re: Converting a urban terror map to ue4 using radiant and blender
It works
Thank you Johnny for this tutorial.
Thank you Johnny for this tutorial.
- johnnyenglish
- Space cake
- Posts: 898
- Joined: Wed Aug 17, 2011 9:23 am
- Location: Nottingham, England
Re: Converting a urban terror map to ue4 using radiant and blender
Hey lizart, nice to see you're still around.
Well, um, yes, it does kind of work but there are lots of minor issues to work out... but pleased it worked for you.
Well, um, yes, it does kind of work but there are lots of minor issues to work out... but pleased it worked for you.
- johnnyenglish
- Space cake
- Posts: 898
- Joined: Wed Aug 17, 2011 9:23 am
- Location: Nottingham, England
Re: Converting a urban terror map to ue4 using radiant and blender
Would love to see screenies lizart, I like screenies.
Re: Converting a urban terror map to ue4 using radiant and blender
Ofc, as soon as i have something. Yesterday after pc upgrade I installed UE4 for the first time!
Gonna be lots of learning.
Gonna be lots of learning.
- johnnyenglish
- Space cake
- Posts: 898
- Joined: Wed Aug 17, 2011 9:23 am
- Location: Nottingham, England
Re: Converting a urban terror map to ue4 using radiant and blender
Woo, exciting. If you need any help getting started, shout up in the irc channel, I'm normally around in the morning and HappyDay is there a lot also.
Re: Converting a urban terror map to ue4 using radiant and blender
Sure I will ask, thank! :>
Re: Converting a urban terror map to ue4 using radiant and blender
Bump
What happend to the next stage?
What happend to the next stage?
- johnnyenglish
- Space cake
- Posts: 898
- Joined: Wed Aug 17, 2011 9:23 am
- Location: Nottingham, England
Re: Converting a urban terror map to ue4 using radiant and blender
I've learned a little more since the last post so I'll probably move this topic contents to the wiki and finish off the process.