VTPWidePoint parameter 4 behaviour

Recommended Posts

Hi!Today I have been finishing my two months lasting project of roads in Slovenia and I was trying to make some smooth connections from my roads to default FS roads. At the south-east part of Slovenia we have two border crossings and roads passing them just merge together some kilometers in Croatia. So I made by hand and using TDFCalc a road, which should connect these two roads and make a connection to FS road. In the first picture You can see how near I could come to FS road until it vanished (because of VTPLayer 32,1). I was curious about the last parameter which according to MS should be 0 allways and I have came to some interesting effects (but I just wanted to have nice touch up there). Here is the code for this V shaped road, begining at the left quadrant (2,23) going down to quadrant 3,23 and ending back in 4,23. The ending points are clearly visible in picture 3 and 4, thoug on picture 3 are on different location than in 4.

VTPPolyMethod2  14, 1, 0  VTPWidePoint  4852, 1,  9879, 0VTPWidePointWidth 1 VTPWidePoint  4852, 1,  9879, 0VTPWidePointWidth  25VTPWidePoint  4852, 0,  9879, 0VTPWidePoint  4808, 0,  9938, 0VTPWidePoint  4804, 0,  9949, 0VTPWidePoint  4809, 0,  9962, 0VTPWidePoint  4866, 0,  10024, 0VTPWidePoint  5054, 0,  10197, 0VTPWidePoint  5057, 0,  10197, 2  <<<<=== note parameter 4!VTPWidePoint  5057, 0,  10196, 0VTPWidePoint  5055, 0,  10183, 0VTPWidePoint  5188, 0,  10035, 0VTPWidePoint  5204, 0,  10008, 0VTPWidePoint  5203, 1,  10008, 0VTPWidePointWidth 0

I have also attached 4 pictures showing this behaviour:- Picture 1 shows when parameter 4 is 0, - picture 2 shows when this parameter is 1, - picture 3 shows when parameter 4 is 2 and- picture 4 shows when parameter 4 is 3 but it must be one line above.Note bend marked on pictures 3 and 4. On picture 3 using TDFCalc I estimate the bend should be at position 5539, 10019. But the sharp bend on the far right side appears to be in the same spot if parameter 4 is 1 or 2; approx. at 6015, 9792. If I set parameter 4 to 3 in this line, then FS just says, "Your computer has ran out of memory. Flight Simulator will now exit."Interestingly though, FS will normaly start with parameter 4=3 in one line above, just that loooong line will end furter to the right at point approx. 6492, 9620. There are two bends (I think) at this long line, first at approx. 5525, 10026 and second at 6012, 9849.I can't explain what is going on but it might be interesting for Rhumbaflappy and Christian.And all I wanted is nice changeover to default FS road! :)Best regards to all,Goran BrumenFS Slovenija 2002 teamhttp://slovenia.avsim.net

Share on other sites
 Help AVSIM continue to serve you!Please donate today!

I do know nothing about parameter 4 but to avoid problems with the appearens of the roads it is better not to repeat the first point three times but to use a different location for the first two points. In your example you should use 4853 instead of 4852 for the first two points or 9880 instead of 9879. The last point in the column has to be repeated with different locations for the last two points as shown in your example. But care should be taken not to switch back to the previous line, so the X-position of the last point should better be 5205 instead of 5203 or the Y-position should rather be 10007 instead of 10008. I suggest the table should look like that:VTPPolyMethod2 14, 1, 0VTPWidePoint 4853, 1, 9880, 0VTPWidePointWidth 1 VTPWidePoint 4853, 1, 9880, 0VTPWidePointWidth 25VTPWidePoint 4852, 0, 9879, 0VTPWidePoint 4808, 0, 9938, 0...VTPWidePoint 5188, 0, 10035, 0VTPWidePoint 5204, 0, 10008, 0VTPWidePoint 5205, 1, 10007, 0VTPWidePointWidth 0 To get a smooth connection to the FS2002-roads I'm copying the last part of my road to a new road with a different layer-number. This new road is then overlapping my old road as well as the FS2002-road and due to the different layer-number it is not excluded by my old road.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

• Tom Allensworth,
Founder of AVSIM Online

• Hot Spots

• Flight Simulation's Premier Resource!

AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!