I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

Legacy:Brush Exporting And Importing

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from Legacy:Prefab)
Jump to: navigation, search

An exported .t3d brush file is also called a prefab.

Exporting a Brush[edit]

  1. Create the shape you want exported in the world. This means actually make it out of "matter".
  2. Get the texturing on your object the way you want it.
  3. Intersect the object you want to make a prefab.
  4. Do UnrealEd Main Menu -> Brush -> Export
  5. Choose a directory to save the .t3d file to and export it.

Importing a Brush[edit]

  1. Do UnrealEd Main Menu -> Brush -> Import
  2. Navigate to the .t3d file you want to import, select it, and click open.
  3. Click merge faces if you want the editor to merge co-planar faces. If you don't know what this means, leave it unchecked, because you can always do this later yourself once it's added by doing Brush Context Menu -> Polys -> Merge.
  4. I always leave the radio buttons alone since I don't understand what they do but perhaps someone who does could fill this in... Bean: It's best to not merge faces and to change it to a nonsolid using the radio buttons. This reduces most BSP problems right off the bat. If those options cause problems, you could always play around with others. :)
  5. Click OK, your red brush is now the shape of your prefab and will have the same textures when you add it as it did when the prefab was created.

Notes[edit]

Re-Importing Errors[edit]

One note I'll add is be careful saving your cherished brush masterpiece by exporting it. UnrealEd's import process does not look at the the "Normal" attribute for polygons in the .t3d file during its import process. Rather, it recalculates them. If brushes are too complex or step on UnrealEd's toes in the wrong way (I've never nailed down exactly what), you'll get a bad normal calculation on some surfaces and they will refuse to take lighting properly... from then and forever and ever... amen.

If you have uber cool and complex brushes that you must keep, put them in a warehouse (a big subtracted cube somewhere off to the side) in your map.

Brush Save[edit]

Tarquin: The Save Brush as and Open Brush commands are allegely fubar.... hmm. Though Open Brush works. Urm... this calls for a page that actually summarizes all the export/import commands. Data Import and Export.

Related Topics[edit]