Sign in to follow this  
Guest knnygar

Excluding original taxiways?

Recommended Posts

In my scenery I had to move the entire airport slightly.But when I moved the taxiways in Afcad2 there's one area that doesn't move.I think it is the old taxiway/parking.I have tried the Exclude in "Airport for windows" but this excludes everything.Does anybody know how to get rid of this?Or what layer it's on?It is on ENOV.

Share this post


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

What you're trying to 'move' is likely an apron. As yet, AFCAD can't handle that....says so in the documentation...but may become possible in a future update.Excluding the whole airfield will of course remove any aprons. Another method would be to 'cover' it with a polygon and assign the texture of your choice.

Share this post


Link to post
Share on other sites

I don't know how those AFCAD aprons are generated in the scenery, but have you tried making an exclude that is small and only covers that poly? I am not sure if they have an own RefPoint and if this works, but you could try it :).

Share this post


Link to post
Share on other sites

>I don't know how those AFCAD aprons are generated in the>scenery, but have you tried making an exclude that is small>and only covers that poly?I managed to exclude the apron, but I discovered that I had another problem :(I thought it was the exclude that removed my autogen but I discovered that it was a Gmax file instead.The yellow line is a fence surrounding my airport, I have moved it slightly to test it.The red area is the area with missing autogen.Is there anything I can do to avoid the Gmax file from destroying the autogen?http://forums.avsim.net/user_files/48294.jpg

Share this post


Link to post
Share on other sites

The red area is probably a square (north orientated) fitting around your object?In Fs2002 placing a dummy RotatedCall in your object would fix this. Not sure if anybody has tried it in Fs2004 already :).Did you place the object from GMax or with FsRegen? Then I can give an example of where the dummy command must be.

Share this post


Link to post
Share on other sites

It was placed directly from Gmax, but I plan to add a frequency controlled gate with Cat.exe later on.

Share this post


Link to post
Share on other sites

I have not tested it, but I think placing the command as I indicated below should work (with SCASM code it worked that way :)).Here is the code as you will find it in the ASM file GMax made (the myproject.asm file):[tt]OBJECT_0_SCALE label BGLCODE SCALE_AGL OBJECT_0_RETURN, 10000, 100, 131072, 00043D426h, 038E4h, 0E38E38E3h, 08E39h, 0, 0 BGL_CALL OBJECT_0_BEGINOBJECT_0_RETURN label word[/tt]If you then add the INSTANCE_CALL command like this:[tt]OBJECT_0_SCALE label BGLCODE SCALE_AGL OBJECT_0_RETURN, 10000, 100, 131072, 00043D426h, 038E4h, 0E38E38E3h, 08E39h, 0, 0 BGL_CALL OBJECT_0_BEGIN INSTANCE_CALL OBJECT_0_RETURN, 0, 0, 0OBJECT_0_RETURN label word[/tt]It should preserve your autogen.If you later process this file with CAT that should not be a problem, as the myproject.asm file is basically copied by CAT.

Share this post


Link to post
Share on other sites

Here are the ASM file I get from Gmax, it allready contains a INSTANCE_CALL;compile with BGLC /BGL F:FS2002ADDON SCENERYENOVSceneryTil oversInnflygingslys.asmheader label word dw 0001 ; 00 World set number dd 00069730BH ; 02 North bound dd 000696E71H ; 06 South bound dd 0045230D0H ; 10 East bound dd 0045230CEH ; 14 West bound dw 20 dup(0) dd (offset OBJECT_DATA) - (offset header) dw 33 dup(0) OBJECT_DATA label word db 21 ;;LATBAND_REL dw 034B7h ;;lat min (inclusive) 512M units dw 034BAh ;;lat max (exclusive) dd (offset OBJECT_0) - (offset OBJECT_DATA) db 0 ;;EOL OBJECT_0 label BGLCODE db 12 ; NEAR_FAR_HUGE_OBJECT_HEADER dd 0006970BEh,0045230CFh ; latitude,longitude db 100 ; image power dd (offset OBJECT_0_END) - (offset OBJECT_0) OBJECT_0_START label word IFIN1 OBJECT_0_FAIL, image_complex, 2, 32767 ADDOBJ OBJECT_0_SCALE SHADOW_CALL OBJECT_0_SCALEOBJECT_0_FAIL label BGLCODE BGL_JUMP_32 OBJECT_0_END OBJECT_0_SCALE label BGLCODE SCALE_AGL OBJECT_0_RETURN, 10000, 589, 131072, 0006970BEh, 04919h, 0045230CFh, 0BB8Dh, 0, 0 INSTANCE_CALL OBJECT_0_BEGIN, 0, 0, 0EAAAhOBJECT_0_RETURN label word BGL_RETURNOBJECT_0_BEGIN label wordmodel_outside label BGLCODEmodel_shadow label BGLCODELOD_0 label BGLCODE BGL_JUMP_32 LOD_0Lmodel_inside label BGLCODE BGL_RETURNLOD_0L label BGLCODE include F:FS2002ADDON SCENERYENOVSceneryTil oversInnflygingslys_0.asmOBJECT_0_END label wordEOF

Share this post


Link to post
Share on other sites

OK, that is probably because I exported from GMax without a rotation. Just add the second INSTANCE_CALL below the first one.

Share this post


Link to post
Share on other sites

That's it :-sun1 Thank you very much for all your help :-beerchug

Share this post


Link to post
Share on other sites

In response to your original question, yes it is possible to remove the unwanted aprons in AFCAD2. Do one of the following;1. Load the default airport in AFCAD, go to EDIT/Select All - and delete everything with the keyboard DELETE key. Build your airport from scratch.2. Load the default airport in AFCAD, make your modifications/changes, go to EDIT/Select All. Then hold down the "Ctrl" key and with the mouse DE-SELECT each component of the map EXCEPT the aprons. When finished, delete the aprons with the keyboard DELETE key.Regards,Chris Wilkes

Share this post


Link to post
Share on other sites

Thanks, that saved me an exclude file :)Two problems solved in two days, this forum and its partisipants are really the best :-sun1 :-)

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