There is no spoon

Legacy:Making Trim

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

Trim is simply another term for "edging". Take a look at the ledges and edges of surfaces and platforms within any map and you will see that the texture around the edges is different to that used for the main floor texture.

Trim helps break up the floor textures used and when done well can make the level look much "cleaner". It can also make the level look more plausible; see-through walkways with solid edges for supports for example.

Subtractive trim[edit]

(First of all, can someone explain *what is trim*?)

The basic idea is that if you want trim around the base of a room, flush with the wall:

  • make a subtractive brush that is the same base width and length as the room, and 32 high. Subtract this to create a change in texture on the wall and make the room brush smaller too so they don't overlap.
  • alternative method: use clipping to split the room subtract 32 units above the floor. (NB split, not clip – produce two brushes)

This technique is useful for walkways and ledges too: instead of subtracting a large room & adding in a ledge, subtract 3 brushes:

  • below the ledge
  • above the ledge
  • and a ledge-thickness piece sandwiched in between

This gives you free trim all the way around the room, but there can only be one direction for the texture. If your trim needs to be directional, try seperate pieces by making trim with the extruder.

Related Topics[edit]

Discussion[edit]

EntropicLqd: If you do it this way don't add a zone portal at the point the two subtract brushes meet. I did that once and my level got flooded with lava :( Took ages to figure out what was causing it.

Tarquin: I can't see how that could have been the problem. Zone Portals can cut across several subtracts.

'EntropicLqd: Me neither - but I moved the zone portal down by 8 units and it was fine after that. Here's a small diagram of what I had prior to moving the zone portal down:

|                       |
|                       |
+- Zone portal at join -+
|                       |
|                       |
The + symbols show the point at which the subtract brushes met. They were adjacent and all the rest of it. It's possible that it was the rebuild that solved the problem - but then why didn't the other zillion previous rebuilds do the same? Dunno m8.