This is a technique that you may have noticed in some of my levels that will "distort" the mbu_edge_white_2 texture, and make good-looking ramp trim without using mbu_edge_white. It's not super difficult to pull off, either!
Here's some examples from my levels so you know what I'm talking about.
First, create the ramp as you normally would, by extruding the faces of a platform on the Z axis (select faces and drag upwards).
Now, go into a side view (from the drop down menu on the top left of a viewport) and select the slanted trim in Faces mode.
We need to find the slope of this slanted trim. If you remember from your geometry classes, you'll know that slope=rise/run. Simply divide the number of horizontal white squares by the number of vertical white squares.
So, cool. Now we know the that the slope of this ramp is 0.5. What do we do with that number?
You'll find the texture options on the left of the screen under "Object" while you have a face selected. You've probably messed with the basic settings (scaling, positioning, and grouping) but have never touched the advanced options.
Now, I'm going to be honest. I have no idea what exactly the advanced options do, but I know that you only need the "V Axis" fields for basic ramps.
Using the advanced options involves a lot of trial and error, but it still doesn't take too long. Here's some basic rules:
If your ramp goes in the +X direction, type (your ramp's slope) into the X field.
If your ramp goes in the -X direction, type (your ramp's slope*-1) into the X field.
If your ramp goes in the +Y direction, type (your ramp's slope) into the Y field.
If your ramp goes in the -Y direction, type (your ramp's slope*-1) into the Y field.
If you're not sure in what direction your ramp travels, just try all of these values.
Do not change the Z field at all! (Defaults to -1)
Our ramp travels in the positive Y direction, so I put 0.5 into the Y field.
You may have to align the new trim. Simply press the Up and Right arrows under "Justify and Fit".
Repeat the process on the other side, using the same slope value, and you're done!
Example .map file download: bit.ly/1do1Chl
I hope this was a good enough tutorial for you all. If you have any questions, just ask me!
Here's some examples from my levels so you know what I'm talking about.
First, create the ramp as you normally would, by extruding the faces of a platform on the Z axis (select faces and drag upwards).
Now, go into a side view (from the drop down menu on the top left of a viewport) and select the slanted trim in Faces mode.
We need to find the slope of this slanted trim. If you remember from your geometry classes, you'll know that slope=rise/run. Simply divide the number of horizontal white squares by the number of vertical white squares.
So, cool. Now we know the that the slope of this ramp is 0.5. What do we do with that number?
You'll find the texture options on the left of the screen under "Object" while you have a face selected. You've probably messed with the basic settings (scaling, positioning, and grouping) but have never touched the advanced options.
Now, I'm going to be honest. I have no idea what exactly the advanced options do, but I know that you only need the "V Axis" fields for basic ramps.
Using the advanced options involves a lot of trial and error, but it still doesn't take too long. Here's some basic rules:
If your ramp goes in the +X direction, type (your ramp's slope) into the X field.
If your ramp goes in the -X direction, type (your ramp's slope*-1) into the X field.
If your ramp goes in the +Y direction, type (your ramp's slope) into the Y field.
If your ramp goes in the -Y direction, type (your ramp's slope*-1) into the Y field.
If you're not sure in what direction your ramp travels, just try all of these values.
Do not change the Z field at all! (Defaults to -1)
Our ramp travels in the positive Y direction, so I put 0.5 into the Y field.
You may have to align the new trim. Simply press the Up and Right arrows under "Justify and Fit".
Repeat the process on the other side, using the same slope value, and you're done!
Example .map file download: bit.ly/1do1Chl
I hope this was a good enough tutorial for you all. If you have any questions, just ask me!
Follow me on twitter at @threefolder