[TUTORIAL] Advanced Elevation Grid Rotation

Topics about .fld, .stp, .ter, .yfs, and Scenery Editor.
Post Reply
User avatar
Lor599
Modding Team
Modding Team
Posts: 119
Joined: Sun Nov 18, 2012 3:39 pm
Favorite Aircraft: Boeing 787
Location: Eastern U.S.A
Has thanked: 63 times
Been thanked: 72 times

[TUTORIAL] Advanced Elevation Grid Rotation

Post by Lor599 » Fri Aug 05, 2016 1:08 pm

Note: this tutorial is very similar to Waspe414's tutorial on 3-D rotation, but focused on elevation grids.

Alright so lets say we are creating a ramp that connects to a bridge or something. Chances are it will look something like this.
Image
Notice how the vertical wall extends from the ground. But let's say I want the vertical wall to also be sloped so it looks nicer. This cannot be done inside of scenery editor itself.

First, open a new FLD and insert your elevation grid. MAKE SURE TO INPUT THE WIDTH FIRST! (if you want it to be bent a little bit insert more than one grid on the z axis)
Image
Now, add the thickness of your ramp (show/hide side wall)
Next, you're going to rotate the elevation gird to the slope of the ramp we want. So if we want a 20º slope rotate it 20º.
Image
Now, you are going to save the FLD. DO NOT EXPORT IT AS AN ELEVATION GRID AS IT WILL NOT WORK. Open the FLD in notepad and find the TER part and do the following.
Image
Now open up the FLD in scenery editor and you should have a sloped elevation grid with the vertical walls also sloped.
Image

I also added support beams.
Image

You are only limited by your imagination, there is probably lots you can do with these that I have not thought of.

User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3846
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1615 times
Been thanked: 1729 times
Contact:

Re: [TUTORIAL] Advanced Elevation Grid Rotation

Post by Neocon » Fri Aug 05, 2016 2:38 pm

I'm going to have to play with this and see what's possible.

User avatar
Gunny
Business Class Membership
Business Class Membership
Posts: 3224
Joined: Sun Feb 06, 2011 6:17 pm
Favorite Aircraft: Any thing with a prop.
Location: New Iberia.LA.
OS: Windows XP SP3
Has thanked: 577 times
Been thanked: 731 times

Re: [TUTORIAL] Advanced Elevation Grid Rotation

Post by Gunny » Fri Aug 05, 2016 3:20 pm

So can you import and export these as a .ter or a .fld file only?
Image[/align=centre]

User avatar
Lor599
Modding Team
Modding Team
Posts: 119
Joined: Sun Nov 18, 2012 3:39 pm
Favorite Aircraft: Boeing 787
Location: Eastern U.S.A
Has thanked: 63 times
Been thanked: 72 times

Re: [TUTORIAL] Advanced Elevation Grid Rotation

Post by Lor599 » Fri Aug 05, 2016 3:36 pm

Gunny wrote:So can you import and export these as a .ter or a .fld file only?
Unfortunately, no, if you were to import the .TER it would be flat again.

User avatar
waspe414
Staff
Staff
Posts: 1265
Joined: Thu Feb 10, 2011 9:35 pm
Favorite Aircraft: CH-136 Kiowa, Yak-130 Mitten
Location: Canada
Has thanked: 118 times
Been thanked: 232 times

Re: [TUTORIAL] Advanced Elevation Grid Rotation

Post by waspe414 » Fri Aug 05, 2016 4:44 pm

As a note, unless something has changed in the 2015 version, elevation grids that have a base above y=0 have no collision detection. I'm not sure what the limitations are (if it's rotated and has a part below y=0 does it collide?), but trying to make a ramp by rotating will probably not get you far.

(A solution would be to put regular one underneath and hide the faces)
Actual UltraViolet
Image Image
Image
I stole your turnip. Now you must come and defend your honour. ~ Hank Green

User avatar
Lor599
Modding Team
Modding Team
Posts: 119
Joined: Sun Nov 18, 2012 3:39 pm
Favorite Aircraft: Boeing 787
Location: Eastern U.S.A
Has thanked: 63 times
Been thanked: 72 times

Re: [TUTORIAL] Advanced Elevation Grid Rotation

Post by Lor599 » Fri Aug 05, 2016 5:33 pm

waspe414 wrote:As a note, unless something has changed in the 2015 version, elevation grids that have a base above y=0 have no collision detection. I'm not sure what the limitations are (if it's rotated and has a part below y=0 does it collide?), but trying to make a ramp by rotating will probably not get you far.

(A solution would be to put regular one underneath and hide the faces)
Yes, there is no collision so you would go through the ramp. But I was thinking to use this for visual purposes.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest