Sign in to follow this  
arno

Seasonal changes ONLY for border lines?

Recommended Posts

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... :)

Share this post


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

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.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Does it work like this: (just triviality)6768696A6B...6F?Shouldn't there be something in hex that is FF too???

Share this post


Link to post
Share on other sites

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.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 :).Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this