January 9, 200323 yr Afternoon folks,I was wondering if it is possible to modify the runway code so that the border lines ONLY disappear during winter? Is that possible?Here is the simple but cryptic :) runway code you all probably know in and out (why does it have to be made in this way ;)):; FS2000 runway 28; [using newer SCASM Runway command for FS2K & beyond]Area( 5 62:39.64659 029:37.22328 30 ) LayerCall( :rwy 24 ) Jump( : ):rwy Smoothing ( 1 ) Runway( 62:39.64659 029:37.22328 Altitude 121.3104 Heading 289.2 Length 8202 Width 171 Id 28 Surface -1 Markers 7E THRESHOLD 0 Lights 0 VasiBarsN 8 VasiSlopeN 3 VasiSpaceN 500 VasiDistN 3445 VasiSideN L102 VasiBarsF 8 VasiSlopeF 3.5 VasiSpaceF 500 VasiDistF 3445 VasiSideF L102 ) Smoothing ( 0 ) ReturnEndAI guess it is the "Markers 7E"-line that tells FS2002 what markings to show. What makes it seem impossible to fulfill my idea is that all markings probably work with that one, single line?Thanks anyway, even if I'm quite sure there is no hope... :)
January 9, 200323 yr Author Commercial Member I didn't test it, but try this: Area( 5 62:39.64659 029:37.22328 30 )LayerCall( :rwy 24 )Jump( : ):rwyIfVarRange( :winter 6F8 1 3 )Runway( 62:39.64659 029:37.22328 Altitude 121.3104Heading 289.2Length 8202Width 171Id 28Surface -1Markers 7ETHRESHOLD 0Lights 0VasiBarsN 8VasiSlopeN 3VasiSpaceN 500VasiDistN 3445VasiSideN L102VasiBarsF 8VasiSlopeF 3.5VasiSpaceF 500VasiDistF 3445VasiSideF L102)Jump( :end ):winterRunway( 62:39.64659 029:37.22328 Altitude 121.3104Heading 289.2Length 8202Width 171Id 28Surface -1Markers 7DTHRESHOLD 0Lights 0VasiBarsN 8VasiSlopeN 3VasiSpaceN 500VasiDistN 3445VasiSideN L102VasiBarsF 8VasiSlopeF 3.5VasiSpaceF 500VasiDistF 3445VasiSideF L102):endReturnEndA The SCASM docs say the border lines are 01, so I substracted one from it. Further I added a check on the season.ArnoMember Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a] Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper.com | Former Microsoft FS MVP | Blog
January 9, 200323 yr Thanks a thousand times Arno!It actually seems to work!!! (what else to expect from you ;))IF I lived in the Netherlands you WOULD have got a bag of "Zaanse Drop - Zacht Zoet" - now wouldn't that be something?!?! :(EDIT: I guess I got excited too fast there. It is like before, just forgot that Airport "changes" back to the default code. :( Need to compile manually then and check out what happens.
January 9, 200323 yr Author Commercial Member Yummie yummie :).But don't say such thing while I am in Belgium, they don't sell drop here, so I already miss it :(ArnoMember Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a] Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper.com | Former Microsoft FS MVP | Blog
January 9, 200323 yr Arno,I had an error in the original code as well. 7E should instead have been 7F!What in your custom code should be changed to what taking this 7F-thing into consideration?Btw, your code compiled without errors, so from a structural point of view it was completely clean.
January 9, 200323 yr Author Commercial Member 7F becomes 7E (just substract one in hex form).ArnoMember Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a] Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper.com | Former Microsoft FS MVP | Blog
January 9, 200323 yr Does it work like this: (just triviality)6768696A6B...6F?Shouldn't there be something in hex that is FF too???
January 9, 200323 yr Author Commercial Member Yep, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, 10, 11, 12, 13, ....., 9C, 9D, 9E, 9F, A0, A1, A2, ......., FD, FE, FFArnoMember Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a] Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper.com | Former Microsoft FS MVP | Blog
January 9, 200323 yr Author Commercial Member Hummm, there is the runway as Airport makes it with the marker, that has a certain value (7F if I understand you write). Then down in the code I made is the runway without the lines, there the value for marker must be one lower. If the origional was 7F, then that becomes 7E.ArnoMember Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a] Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper.com | Former Microsoft FS MVP | Blog
January 9, 200323 yr Apparently I do not get it to work. Border lines are there even during winter. But it is not so important that I get it going, I can make it with textures instead then - even though it will not look as good, of course.
January 9, 200323 yr Author Commercial Member When I get home in a little while I'll give the code I posted a try and see if it works. I'll come back to you about it tomorrow :).ArnoMember Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a] Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper.com | Former Microsoft FS MVP | Blog
January 9, 200323 yr I don't know about SCASM (I'd have to look up the SCASM docs, since I haven't done much in SCASM), but I have seen this sort of thing done in the default M$ bgls. Arno's suggestion does work (ie the season if statement), but I can't comment on the actual code... In NZ M$ has some runways as grass in summer and dirt in winter...Cheers, Christian
January 10, 200323 yr Author Commercial Member Interesting, then we at least know it is possible.And Sebastian, I forgot to look at it yesterday. Was to busy building the WTC and a hotal at Schiphol :).ArnoMember Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a] Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper.com | Former Microsoft FS MVP | Blog
January 15, 200323 yr BUMP!Hey, has anyone been able to get this to work yet? Arno, the rest? I would be grateful to hear if someone has succeeded to actually get it to work.
Create an account or sign in to comment