Jump to content
Sign in to follow this  
arno

Dynamic scenery help please

Recommended Posts

Guest

HiI am trying to produce some dynamic objects for my scenery using GMAX, Busy Objects, FsRegen. I am trying to follow the Busy Objects tutorial and have so far got to this:I make the track in Airport 2.6 using a road of 1metre.I then follow the instructions of copying and pasting code into the various places as required.Track shows OK in Gmax. I then put a place marker object and follow the instructions for animation and conversion to key frame. I export it and create the API. All this goes OK.I then create the object for Dynamic scenery using GMAX. I export it, use regen to produce the asm and library files. This is OK as well.Now the problem starts. I open the API for the track in notepad as per the tutorial, but I cannot find a listing for :objects, or any of the code that the tutorial says should be there.This effectively means that I cannot find where to put the (A) CallLibObj code to call the object for animation.I have tried to hand code what it says into the API track code but when I put it in Airport and compile I just get lots of errors as below.Error in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 12 -> Call( :Object ) -> unknown commandError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 13 -> Return -> unknown commandError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 15 -> Call( :StateMachine ) -> unknown commandError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 16 -> Return -> unknown commandError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 66 -> Return -> unknown commandError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 275 -> EndA -> EndA without Area() ...Error in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 12 -> Call( :Object ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 15 -> Call( :StateMachine ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 18 -> dwd( 137 670 0 35 -12 35 660 137 -1 -1 34 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 21 -> dwd( 78 28 1532 36 300 26 1 10 158 1 0 28 1 0 28 1 0 32 36 27 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 34 -> dwd( 77 786 30 78 82 786 78 94 786 158 -1 -1 786 1 0 84 1 0 5 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 40 -> dwd( 35 -414 158 1 0 28 1 0 30 1 0 60 158 1 0 30 1 0 30 1 0 7 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 44 -> dwd( 35 -460 158 1 0 28 1 0 30 1 0 60 158 1 0 30 1 0 30 1 0 5 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 49 -> dwd( 158 1 0 30 1 0 4 1 0 96 158 1 0 30 1 0 8 1 0 906 158 1 0 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 56 -> Transform_Mat( 0.000 0.000 0.000 100.000 0.000 0.000 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 74 -> dwd( 70 -682 0 0 0 0 0 0 0 0 0 34 1 3 0 0 4 -32768 -32768 -1 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 79 -> dwd( 202 -32768 3248 -32535 1721 -32302 310 -32069 -985 -31835 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 108 -> dwd( 202 -32768 14370 -32535 11272 -32302 8132 -32069 4950 -318 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 137 -> dwd( 202 -32768 0 -32535 0 -32302 0 -32069 0 -31835 0 -31602 0 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 166 -> dwd( 202 -32768 -32768 -32535 -32767 -32302 -32767 -32069 -3276 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 195 -> dwd( 202 -32768 -32768 -32535 -32767 -32302 -32767 -32069 -3276 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 224 -> dwd( 202 -32768 -27696 -32535 -28376 -32302 -29083 -32069 -2974 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 258 -> dwd( 0 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 259 -> dwd( 0 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 260 -> dwd( 0 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 261 -> dwd( 0 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 262 -> dwd( 0 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 263 -> dwd( 0 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 264 -> dwd( 0 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 265 -> dwd( 0 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 266 -> dwd( 0 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 267 -> dwd( 0 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 275 -> EndA -> EndA without Area() ...Error in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 12 -> Call( :Object ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 15 -> Call( :StateMachine ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 18 -> dwd( 137 670 0 35 -12 35 660 137 -1 -1 34 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 21 -> dwd( 78 28 1532 36 300 26 1 10 158 1 0 28 1 0 28 1 0 32 36 27 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 34 -> dwd( 77 786 30 78 82 786 78 94 786 158 -1 -1 786 1 0 84 1 0 5 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 40 -> dwd( 35 -414 158 1 0 28 1 0 30 1 0 60 158 1 0 30 1 0 30 1 0 7 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 44 -> dwd( 35 -460 158 1 0 28 1 0 30 1 0 60 158 1 0 30 1 0 30 1 0 5 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 49 -> dwd( 158 1 0 30 1 0 4 1 0 96 158 1 0 30 1 0 8 1 0 906 158 1 0 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 74 -> dwd( 70 -682 0 0 0 0 0 0 0 0 0 34 1 3 0 0 4 -32768 -32768 -1 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 79 -> dwd( 202 -32768 3248 -32535 1721 -32302 310 -32069 -985 -31835 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 108 -> dwd( 202 -32768 14370 -32535 11272 -32302 8132 -32069 4950 -318 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 137 -> dwd( 202 -32768 0 -32535 0 -32302 0 -32069 0 -31835 0 -31602 0 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 166 -> dwd( 202 -32768 -32768 -32535 -32767 -32302 -32767 -32069 -3276 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 195 -> dwd( 202 -32768 -32768 -32535 -32767 -32302 -32767 -32069 -3276 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 224 -> dwd( 202 -32768 -27696 -32535 -28376 -32302 -29083 -32069 -2974 -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 258 -> dwd( 0 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 259 -> dwd( 0 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 260 -> dwd( 0 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 261 -> dwd( 0 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 262 -> dwd( 0 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 263 -> dwd( 0 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 264 -> dwd( 0 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 265 -> dwd( 0 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 266 -> dwd( 0 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 267 -> dwd( 0 ) -> Outside of Area() blockError in macro file C:PROGRAM FILESAIRPORT FOR WINDOWSAPIObject1.API line 275 -> EndA -> EndA without Area() ...Scasm compilation status: error(s) 59Does anyone know what I am doing wrong?Any help will be very gratefully recieved.Many ThanksJohn Walker

Share this post


Link to post
Share on other sites
Guest gorchi

Hi,I guess You are missing the very beggining of the file with Area. But as You say, this should be tracks for dynamic scenery, then it should not be imported into FSSC/Airport etc but compiled as standalone object.For example, my begining of dynamic scenery file is like this:

Header( 1  N46:19:00.00 N46:10:00.00 E014:46:00.00 E014:10:00.00 )LatRange(  N46:10:01.00 N46:18:59.00 ); Dynamic scenery for LJLJSet( FSVers 0x800 )Uvar( $FM_wait 1 ); ----------------------------------------; Ljubljana dynamic scenery; ----------------------------------------;Area15( N46:15:44.00 N46:11:44.00 E014:46:00.00 E014:20:00.00 )LatRef( N46:13:44.24 ) 	CallDLibObj( :FollowMe 4 1 024EB05D 0084ECD6 03267843 00001000 )CallDLibObj( :Avtobus 4 1 024EB05D 0084ECD6 03267843 00001000 )CallDLibObj( :Cisterna 4 1 00C2CDA9 A9E100AA 596711D0 B1A18308 )Exit 	:CisternaSetPos( N46:13:47.7843 E014:27:43.9654 385 )SetColor( 2 01 00 )...and so on...

If Your begining of the file is like this, then just compile it directly with scasm. Maybe best thing is to go to command prompt then type SCASM MyDynScen.sca -lIf there will be any errors, You'll see them in log file made because of -l parameter.Best regards,Goran BrumenFS Slovenija 2002 teamhttp://slovenia.avsim.net

Share this post


Link to post
Share on other sites

Goran,This is a file for section15 dynamic scenery, but BusyObjects makes it with section9 scenery. So completely different commands are used there and the animation is also placed with an API.John, from only the errors I can't tell you much, but can you maybe post the API here that gives the error? From that code I might be able to help.


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

Share this post


Link to post
Share on other sites
Guest

Hi ArnoThanks for the help.The file that BOC produces is this:;********************************************************************; ; BusyObject kernel code and data; Copyright ©2002 by Bernd R. Fix. All Rights Reserved.;; *** DO NOT EDIT BEYOND THIS LINE ***;;********************************************************************:RenderObject Call( :Object ) Return:Perform Call( :StateMachine ) Return:BusyObject dwd( 137 670 0 35 -12 35 660 137 -1 -1 34 ):GetTimeCode dwd( 78 28 1532 36 300 26 1 10 158 1 0 28 1 0 28 1 0 32 36 270 26 2 10 158 1 0 28 1 0 28 1 0 32 36 240 26 3 10 158 1 0 28 1 0 28 1 0 32 36 210 26 4 10 158 1 0 28 1 0 28 1 0 32 36 180 26 5 10 158 1 0 28 1 0 28 1 0 32 36 150 26 6 10 158 1 0 28 1 0 28 1 0 32 36 120 26 7 10 158 1 0 28 1 0 28 1 0 32 36 90 26 8 10 158 1 0 28 1 0 28 1 0 32 36 60 26 9 10 158 1 0 28 1 0 28 1 0 32 36 30 26 10 10 158 1 0 28 1 0 28 1 0 32 34 ):StartSequence dwd( 77 786 30 78 82 786 78 94 786 158 -1 -1 786 1 0 84 1 0 50 77 786 84 78 88 786 35 -358 77 786 28 78 66 786 78 70 786 158 -1 -1 786 1 0 64 1 0 50 77 786 64 78 76 786 34 ):GetSequenceCode dwd( 35 -414 158 1 0 28 1 0 30 1 0 60 158 1 0 30 1 0 30 1 0 78 34 ):GetReverseSequenceCode dwd( 35 -460 158 1 0 28 1 0 30 1 0 60 158 1 0 30 1 0 30 1 0 50 158 1 0 30 1 0 30 1 0 78 34 ):PrepareFrame dwd( 158 1 0 30 1 0 4 1 0 96 158 1 0 30 1 0 8 1 0 906 158 1 0 30 1 0 6 1 0 1716 158 1 0 30 1 0 10 1 0 2526 158 1 0 30 1 0 14 1 0 3336 158 1 0 30 1 0 18 1 0 4146 34 );====================================================================; Animation data;====================================================================:AnimData dwd( 70 -682 0 0 0 0 0 0 0 0 0 34 1 3 0 0 4 -32768 -32768 -1 32767 0 -32768 32767 32767 2 -32768 32767 32767 -32768 4 -32768 -100 100 32767 100 -32768 32767 -100 4 -32768 -100 100 32767 100 -32768 32767 -100 ) dwd( 202 -32768 3248 -32535 1721 -32302 310 -32069 -985 -31835 -2163 -31602 -3202 -31369 -4104 -31135 -4916 -30902 -5689 -30669 -6437 -30435 -7128 -30202 -7778 -29969 -8405 -29735 -9016 -29502 -9598 -29269 -10158 -29035 -10706 -28802 -11246 -28569 -11770 -28335 -12284 -28102 -12792 -27869 -13299 -27635 -13799 -27402 -14295 -27169 -14792 -26935 -15292 -26702 -15791 -26469 -16293 -26235 -16800 -26002 -17316 -25769 -17837 -25535 -18365 -25302 -18904 -25069 -19458 -24835 -20027 -24602 -20609 -24369 -21201 -24135 -21800 -23902 -22410 -23669 -23029 -23435 -23651 -23202 -24269 -22969 -24885 -22735 -25500 -22502 -26115 -22269 -26729 -22035 -27343 -21802 -27955 -21569 -28567 -21335 -29178 -21102 -29787 -20869 -30396 -20635 -31004 -20402 -31610 -20169 -32214 -19935 32718 -19702 32116 -19469 31516 -19235 30918 -19002 30321 -18769 29726 -18535 29133 -18302 28543 -18069 27954 -17835 27368 -17602 26785 -17369 26205 -17135 25627 -16902 25052 -16669 24482 -16435 23915 -16202 23352 -15969 22793 -15735 22240 -15502 21693 -15269 21150 -15035 20614 -14802 20087 -14569 19571 -14335 19058 -14102 18557 -13869 18077 -13635 17621 -13402 17138 -13169 16680 -12749 16175 -12749 16174 -12469 15913 -12235 15801 -12002 16084 -11769 17049 -11535 18924 -11302 21388 -11069 23983 -10835 26259 -10602 28227 -10369 30086 -10135 31864 -9902 -31945 -9669 -30286 -9435 -28701 -9202 -27158 -8969 -25623 -8736 -24093 -8502 -22585 -8269 -21091 -8036 -19606 -7802 -18126 -7569 -16658 -7336 -15197 -7102 -13739 -6869 -12277 -6636 -10810 -6402 -9354 -6169 -7925 -5936 -6521 -5702 -5121 -5469 -3759 -5236 -2472 -5002 -1306 -4769 -278 -4536 703 -4302 1732 -4069 2885 -3836 4117 -3602 5403 -3369 6721 -3136 8073 -2902 9530 -2669 11004 -2436 12381 -2202 13550 -1969 14515 -1736 15357 -1502 16155 -1269 16984 -1036 17806 -802 18611 -569 19417 -336 20242 -102 21085 131 21937 364 22794 598 23649 831 24504 1064 25360 1298 26216 1531 27070 1764 27921 1998 28770 2231 29617 2464 30459 2698 31298 2931 32133 3164 -32573 3398 -31748 3631 -30930 3864 -30116 4098 -29309 4331 -28511 4564 -27720 4798 -26936 5031 -26161 5264 -25398 5498 -24646 5731 -23903 5964 -23172 6198 -22457 6431 -21759 6664 -21074 6898 -20406 7131 -19764 7364 -19150 7598 -18549 7831 -17979 8064 -17458 8298 -16989 8531 -16514 8764 -16103 8998 -15845 9231 -15801 9464 -15833 9698 -16048 9931 -16614 10164 -17691 10398 -19261 10631 -21237 10864 -23547 11098 -26133 11331 -29149 11564 -32495 11798 29582 12031 26224 12264 22843 12498 19425 12731 16122 12964 13090 13198 10327 13431 7766 13664 5406 13898 3248 32767 3248 ) dwd( 202 -32768 14370 -32535 11272 -32302 8132 -32069 4950 -31835 1727 -31602 -1548 -31369 -4875 -31135 -8231 -30902 -11594 -30669 -14956 -30435 -18332 -30202 -21718 -29969 -25107 -29735 -28498 -29502 -31895 -29269 30240 -29035 26837 -28802 23434 -28569 20028 -28335 16620 -28102 13211 -27869 9802 -27635 6393 -27402 2982 -27169 -428 -26935 -3838 -26702 -7248 -26469 -10657 -26235 -14066 -26002 -17473 -25769 -20880 -25535 -24286 -25302 -27689 -25069 -31091 -24835 31047 -24602 27650 -24369 24255 -24135 20861 -23902 17469 -23669 14079 -23435 10689 -23202 7299 -22969 3908 -22735 517 -22502 -2874 -22269 -6265 -22035 -9656 -21802 -13047 -21569 -16439 -21335 -19830 -21102 -23222 -20869 -26614 -20635 -30007 -20402 32137 -20169 28744 -19935 25351 -19702 21958 -19469 18564 -19235 15170 -19002 11776 -18769 8382 -18535 4987 -18302 1592 -18069 -1804 -17835 -5200 -17602 -8597 -17369 -11994 -17135 -15391 -16902 -18789 -16669 -22188 -16435 -25587 -16202 -28987 -15969 -32388 -15735 29747 -15502 26344 -15269 22941 -15035 19537 -14802 16131 -14569 12724 -14335 9316 -14102 5906 -13869 2494 -13635 -924 -13402 -4348 -13169 -7775 -12749 -13980 -12749 -13981 -12469 -18810 -12235 -23022 -12002 -26288 -11769 -27603 -11535 -26609 -11302 -24094 -11069 -20953 -10835 -18073 -10602 -15338 -10369 -12417 -10135 -9403 -9902 -6390 -9669 -3374 -9435 -312 -9202 2772 -8969 5859 -8736 8947 -8502 12046 -8269 15151 -8036 18261 -7802 21374 -7569 24492 -7336 27612 -7102 30735 -6869 -31680 -6636 -28560 -6402 -25436 -6169 -22301 -5936 -19155 -5702 -16005 -5469 -12841 -5236 -9649 -5002 -6415 -4769 -3131 -4536 170 -4302 3454 -4069 6694 -3836 9908 -3602 13103 -3369 16281 -3136 19439 -2902 22549 -2669 25648 -2436 28785 -2202 32004 -1969 -30232 -1736 -26884 -1502 -23521 -1269 -20173 -1036 -16827 -802 -13476 -569 -10125 -336 -6779 -102 -3437 131 -98 364 3240 598 6579 831 9917 1064 13255 1298 16593 1531 19932 1764 23272 1998 26612 2231 29952 2464 -32242 2698 -28899 2931 -25556 3164 -22211 3398 -18865 3631 -15517 3864 -12169 4098 -8818 4331 -5466 4564 -2111 4798 1245 5031 4603 5264 7963 5498 11326 5731 14691 5964 18059 6198 21431 6431 24805 6664 28183 6898 31565 7131 -30586 7364 -27195 7598 -23800 7831 -20401 8064 -16995 8298 -13580 8531 -10152 8764 -6719 8998 -3289 9231 142 9464 3647 9698 7141 9931 10505 10164 13644 10398 16720 10631 19635 10864 22191 11098 24198 11331 25713 11564 26791 11798 27425 12031 27604 12264 27288 12498 26511 12731 25338 12964 23837 13198 22007 13431 19820 13664 17274 13898 14370 32767 14370 ) dwd( 202 -32768 0 -32535 0 -32302 0 -32069 0 -31835 0 -31602 0 -31369 0 -31135 0 -30902 0 -30669 0 -30435 0 -30202 0 -29969 0 -29735 0 -29502 0 -29269 0 -29035 0 -28802 0 -28569 0 -28335 0 -28102 0 -27869 0 -27635 0 -27402 0 -27169 0 -26935 0 -26702 0 -26469 0 -26235 0 -26002 0 -25769 0 -25535 0 -25302 0 -25069 0 -24835 0 -24602 0 -24369 0 -24135 0 -23902 0 -23669 0 -23435 0 -23202 0 -22969 0 -22735 0 -22502 0 -22269 0 -22035 0 -21802 0 -21569 0 -21335 0 -21102 0 -20869 0 -20635 0 -20402 0 -20169 0 -19935 0 -19702 0 -19469 0 -19235 0 -19002 0 -18769 0 -18535 0 -18302 0 -18069 0 -17835 0 -17602 0 -17369 0 -17135 0 -16902 0 -16669 0 -16435 0 -16202 0 -15969 0 -15735 0 -15502 0 -15269 0 -15035 0 -14802 0 -14569 0 -14335 0 -14102 0 -13869 0 -13635 0 -13402 0 -13169 0 -12749 0 -12749 0 -12469 0 -12235 0 -12002 0 -11769 0 -11535 0 -11302 0 -11069 0 -10835 0 -10602 0 -10369 0 -10135 0 -9902 0 -9669 0 -9435 0 -9202 0 -8969 0 -8736 0 -8502 0 -8269 0 -8036 0 -7802 0 -7569 0 -7336 0 -7102 0 -6869 0 -6636 0 -6402 0 -6169 0 -5936 0 -5702 0 -5469 0 -5236 0 -5002 0 -4769 0 -4536 0 -4302 0 -4069 0 -3836 0 -3602 0 -3369 0 -3136 0 -2902 0 -2669 0 -2436 0 -2202 0 -1969 0 -1736 0 -1502 0 -1269 0 -1036 0 -802 0 -569 0 -336 0 -102 0 131 0 364 0 598 0 831 0 1064 0 1298 0 1531 0 1764 0 1998 0 2231 0 2464 0 2698 0 2931 0 3164 0 3398 0 3631 0 3864 0 4098 0 4331 0 4564 0 4798 0 5031 0 5264 0 5498 0 5731 0 5964 0 6198 0 6431 0 6664 0 6898 0 7131 0 7364 0 7598 0 7831 0 8064 0 8298 0 8531 0 8764 0 8998 0 9231 0 9464 0 9698 0 9931 0 10164 0 10398 0 10631 0 10864 0 11098 0 11331 0 11564 0 11798 0 12031 0 12264 0 12498 0 12731 0 12964 0 13198 0 13431 0 13664 0 13898 0 32767 0 ) dwd( 202 -32768 -32768 -32535 -32767 -32302 -32767 -32069 -32767 -31835 -32767 -31602 -32767 -31369 -32767 -31135 -32767 -30902 -32767 -30669 -32767 -30435 -32767 -30202 -32767 -29969 -32767 -29735 -32767 -29502 -32767 -29269 -32767 -29035 -32767 -28802 -32767 -28569 -32767 -28335 -32767 -28102 -32767 -27869 -32767 -27635 -32767 -27402 -32767 -27169 -32767 -26935 -32767 -26702 -32767 -26469 -32767 -26235 -32767 -26002 -32767 -25769 -32767 -25535 -32767 -25302 -32767 -25069 -32767 -24835 -32767 -24602 -32767 -24369 -32767 -24135 -32767 -23902 -32767 -23669 -32767 -23435 -32767 -23202 -32767 -22969 -32767 -22735 -32767 -22502 -32767 -22269 -32767 -22035 -32767 -21802 -32767 -21569 -32767 -21335 -32767 -21102 -32767 -20869 -32767 -20635 -32767 -20402 -32767 -20169 -32767 -19935 -32767 -19702 -32767 -19469 -32767 -19235 -32767 -19002 -32767 -18769 -32767 -18535 -32767 -18302 -32767 -18069 -32767 -17835 -32767 -17602 -32767 -17369 -32767 -17135 -32767 -16902 -32767 -16669 -32767 -16435 -32767 -16202 -32767 -15969 -32767 -15735 -32767 -15502 -32767 -15269 -32767 -15035 -32767 -14802 -32767 -14569 -32767 -14335 -32767 -14102 -32767 -13869 -32767 -13635 -32767 -13402 -32767 -13169 -32767 -12749 -32767 -12749 -32767 -12469 -32767 -12235 -32767 -12002 -32767 -11769 -32768 -11535 -32768 -11302 -32768 -11069 -32768 -10835 -32768 -10602 -32768 -10369 -32768 -10135 -32768 -9902 -32768 -9669 -32768 -9435 -32768 -9202 -32768 -8969 -32768 -8736 -32768 -8502 -32768 -8269 -32768 -8036 -32768 -7802 -32768 -7569 -32768 -7336 -32768 -7102 -32768 -6869 -32768 -6636 -32768 -6402 -32768 -6169 -32768 -5936 -32768 -5702 -32768 -5469 -32768 -5236 -32768 -5002 -32768 -4769 -32768 -4536 -32768 -4302 -32768 -4069 -32768 -3836 -32768 -3602 -32768 -3369 -32768 -3136 -32768 -2902 -32768 -2669 -32768 -2436 -32768 -2202 -32768 -1969 -32768 -1736 -32768 -1502 -32768 -1269 -32768 -1036 -32768 -802 -32768 -569 -32768 -336 -32768 -102 -32768 131 -32768 364 -32768 598 -32768 831 -32768 1064 -32768 1298 -32768 1531 -32768 1764 -32768 1998 -32768 2231 -32768 2464 -32768 2698 -32768 2931 -32768 3164 -32768 3398 -32768 3631 -32768 3864 -32768 4098 -32768 4331 -32768 4564 -32768 4798 -32768 5031 -32768 5264 -32768 5498 -32768 5731 -32768 5964 -32768 6198 -32768 6431 -32768 6664 -32768 6898 -32768 7131 -32768 7364 -32768 7598 -32768 7831 -32768 8064 -32768 8298 -32768 8531 -32768 8764 -32768 8998 -32768 9231 -32768 9464 -32768 9698 -32768 9931 -32768 10164 -32768 10398 -32768 10631 -32768 10864 -32768 11098 -32768 11331 -32768 11564 -32768 11798 -32768 12031 -32768 12264 -32768 12498 -32768 12731 -32768 12964 -32768 13198 -32768 13431 -32768 13664 -32768 13898 -32768 32767 -32768 ) dwd( 202 -32768 -32768 -32535 -32767 -32302 -32767 -32069 -32767 -31835 -32767 -31602 -32767 -31369 -32767 -31135 -32767 -30902 -32767 -30669 -32767 -30435 -32767 -30202 -32767 -29969 -32767 -29735 -32767 -29502 -32767 -29269 -32767 -29035 -32767 -28802 -32767 -28569 -32767 -28335 -32767 -28102 -32767 -27869 -32767 -27635 -32767 -27402 -32767 -27169 -32767 -26935 -32767 -26702 -32767 -26469 -32767 -26235 -32767 -26002 -32767 -25769 -32767 -25535 -32767 -25302 -32767 -25069 -32767 -24835 -32767 -24602 -32767 -24369 -32767 -24135 -32767 -23902 -32767 -23669 -32767 -23435 -32767 -23202 -32767 -22969 -32767 -22735 -32767 -22502 -32767 -22269 -32767 -22035 -32767 -21802 -32767 -21569 -32767 -21335 -32767 -21102 -32767 -20869 -32767 -20635 -32767 -20402 -32767 -20169 -32767 -19935 -32767 -19702 -32767 -19469 -32767 -19235 -32767 -19002 -32767 -18769 -32767 -18535 -32767 -18302 -32767 -18069 -32767 -17835 -32767 -17602 -32767 -17369 -32767 -17135 -32767 -16902 -32767 -16669 -32767 -16435 -32767 -16202 -32767 -15969 -32767 -15735 -32767 -15502 -32767 -15269 -32767 -15035 -32767 -14802 -32767 -14569 -32767 -14335 -32767 -14102 -32767 -13869 -32767 -13635 -32767 -13402 -32767 -13169 -32767 -12749 -32767 -12749 -32767 -12469 -32767 -12235 -32767 -12002 -32767 -11769 -32768 -11535 -32768 -11302 -32768 -11069 -32768 -10835 -32768 -10602 -32768 -10369 -32768 -10135 -32768 -9902 -32768 -9669 -32768 -9435 -32768 -9202 -32768 -8969 -32768 -8736 -32768 -8502 -32768 -8269 -32768 -8036 -32768 -7802 -32768 -7569 -32768 -7336 -32768 -7102 -32768 -6869 -32768 -6636 -32768 -6402 -32768 -6169 -32768 -5936 -32768 -5702 -32768 -5469 -32768 -5236 -32768 -5002 -32768 -4769 -32768 -4536 -32768 -4302 -32768 -4069 -32768 -3836 -32768 -3602 -32768 -3369 -32768 -3136 -32768 -2902 -32768 -2669 -32768 -2436 -32768 -2202 -32768 -1969 -32768 -1736 -32768 -1502 -32768 -1269 -32768 -1036 -32768 -802 -32768 -569 -32768 -336 -32768 -102 -32768 131 -32768 364 -32768 598 -32768 831 -32768 1064 -32768 1298 -32768 1531 -32768 1764 -32768 1998 -32768 2231 -32768 2464 -32768 2698 -32768 2931 -32768 3164 -32768 3398 -32768 3631 -32768 3864 -32768 4098 -32768 4331 -32768 4564 -32768 4798 -32768 5031 -32768 5264 -32768 5498 -32768 5731 -32768 5964 -32768 6198 -32768 6431 -32768 6664 -32768 6898 -32768 7131 -32768 7364 -32768 7598 -32768 7831 -32768 8064 -32768 8298 -32768 8531 -32768 8764 -32768 8998 -32768 9231 -32768 9464 -32768 9698 -32768 9931 -32768 10164 -32768 10398 -32768 10631 -32768 10864 -32768 11098 -32768 11331 -32768 11564 -32768 11798 -32768 12031 -32768 12264 -32768 12498 -32768 12731 -32768 12964 -32768 13198 -32768 13431 -32768 13664 -32768 13898 -32768 32767 -32768 ) dwd( 202 -32768 -27696 -32535 -28376 -32302 -29083 -32069 -29741 -31835 -30275 -31602 -30638 -31369 -30873 -31135 -31036 -30902 -31182 -30669 -31330 -30435 -31446 -30202 -31539 -29969 -31620 -29735 -31695 -29502 -31756 -29269 -31805 -29035 -31848 -28802 -31886 -28569 -31916 -28335 -31939 -28102 -31958 -27869 -31972 -27635 -31981 -27402 -31985 -27169 -31985 -26935 -31981 -26702 -31973 -26469 -31961 -26235 -31945 -26002 -31925 -25769 -31900 -25535 -31872 -25302 -31840 -25069 -31802 -24835 -31752 -24602 -31698 -24369 -31650 -24135 -31620 -23902 -31610 -23669 -31612 -23435 -31618 -23202 -31621 -22969 -31622 -22735 -31624 -22502 -31626 -22269 -31628 -22035 -31630 -21802 -31633 -21569 -31636 -21335 -31639 -21102 -31642 -20869 -31646 -20635 -31649 -20402 -31654 -20169 -31658 -19935 -31662 -19702 -31667 -19469 -31672 -19235 -31678 -19002 -31684 -18769 -31690 -18535 -31696 -18302 -31703 -18069 -31710 -17835 -31717 -17602 -31725 -17369 -31734 -17135 -31744 -16902 -31755 -16669 -31766 -16435 -31779 -16202 -31791 -15969 -31806 -15735 -31822 -15502 -31840 -15269 -31858 -15035 -31880 -14802 -31905 -14569 -31936 -14335 -31963 -14102 -31997 -13869 -32049 -13635 -32103 -13402 -31970 -13169 -31860 -12749 -32768 -12749 32767 -12469 31334 -12235 29636 -12002 27325 -11769 24194 -11535 19465 -11302 13843 -11069 8649 -10835 5197 -10602 3868 -10369 3831 -10135 4299 -9902 4485 -9669 4339 -9435 4232 -9202 4151 -8969 4079 -8736 4017 -8502 3972 -8269 3938 -8036 3908 -7802 3878 -7569 3852 -7336 3832 -7102 3817 -6869 3832 -6636 3892 -6402 3924 -6169 3857 -5936 3599 -5702 3143 -5469 2655 -5236 2304 -5002 2213 -4769 2298 -4536 2509 -4302 2810 -4069 3221 -3836 3898 -3602 4606 -3369 5064 -3136 4998 -2902 4380 -2669 3503 -2436 2678 -2202 2190 -1969 1943 -1736 1823 -1502 1767 -1269 1718 -1036 1717 -802 1761 -569 1816 -336 1847 -102 1863 131 1875 364 1884 598 1889 831 1891 1064 1889 1298 1885 1531 1880 1764 1873 1998 1864 2231 1853 2464 1842 2698 1829 2931 1816 3164 1801 3398 1784 3631 1766 3864 1746 4098 1724 4331 1701 4564 1675 4798 1647 5031 1618 5264 1585 5498 1551 5731 1515 5964 1475 6198 1431 6431 1381 6664 1327 6898 1268 7131 1198 7364 1117 7598 1037 7831 942 8064 816 8298 659 8531 532 8764 358 8998 36 9231 -520 9464 -1267 9698 -2185 9931 -3275 10164 -4551 10398 -6099 10631 -7824 10864 -9584 11098 -11242 11331 -12857 11564 -14453 11798 -15997 12031 -17453 12264 -18795 12498 -20057 12731 -21293 12964 -22552 13198 -23837 13431 -25123 13664 -26410 13898 -27696 32767 -27696 );====================================================================; User variables;==================================================================== dwd( 0 ) ; [135C]: user variable 1 dwd( 0 ) ; [135E]: user variable 2 dwd( 0 ) ; [1360]: user variable 3 dwd( 0 ) ; [1362]: user variable 4 dwd( 0 ) ; [1364]: user variable 5 dwd( 0 ) ; [1366]: user variable 6 dwd( 0 ) ; [1368]: user variable 7 dwd( 0 ) ; [136A]: user variable 8 dwd( 0 ) ; [136C]: user variable 9 dwd( 0 ) ; [136E]: user variable 10;********************************************************************; END of BusyObjects kernel section;********************************************************************EndAI have a library object GUID 0AAAAAAAA 0AAAAAAAA 0AAAAAAAA 000000001I know that I should have a unique number but I used the default just to test.I have compiled the object using Fsregen and put the resulting lib.bgl in the scenery folder.The Tutorial says that I have to find the line strating with :Objectand should look like:;------------------------------------------------------; Object to be animated.;------------------------------------------------------:Object Transform_Mat( 0.000 0.000 0.000 100.000 0.000 0.000 0.000 100.000 0.000 0.000 0.000 100.000 ) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; insert object code HERE ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;(A) CallLibObj (0 1 BF190362 B0C00000 1 );;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;TransformEndReturnI am assuming that the CallLibObj would be the GUID number of my object.I am not sure where to insert this code in the Original API code.When I put the API into Airport 2.6 the error messages above appear.Have I missed something?ThanksJohn

Share this post


Link to post
Share on other sites
Guest

Hi ArnoThanks for the help.The file that BOC produces is this:;********************************************************************; ; BusyObject kernel code and data; Copyright ©2002 by Bernd R. Fix. All Rights Reserved.;; *** DO NOT EDIT BEYOND THIS LINE ***;;********************************************************************:RenderObject Call( :Object ) Return:Perform Call( :StateMachine ) Return:BusyObject dwd( 137 670 0 35 -12 35 660 137 -1 -1 34 ):GetTimeCode dwd( 78 28 1532 36 300 26 1 10 158 1 0 28 1 0 28 1 0 32 36 270 26 2 10 158 1 0 28 1 0 28 1 0 32 36 240 26 3 10 158 1 0 28 1 0 28 1 0 32 36 210 26 4 10 158 1 0 28 1 0 28 1 0 32 36 180 26 5 10 158 1 0 28 1 0 28 1 0 32 36 150 26 6 10 158 1 0 28 1 0 28 1 0 32 36 120 26 7 10 158 1 0 28 1 0 28 1 0 32 36 90 26 8 10 158 1 0 28 1 0 28 1 0 32 36 60 26 9 10 158 1 0 28 1 0 28 1 0 32 36 30 26 10 10 158 1 0 28 1 0 28 1 0 32 34 ):StartSequence dwd( 77 786 30 78 82 786 78 94 786 158 -1 -1 786 1 0 84 1 0 50 77 786 84 78 88 786 35 -358 77 786 28 78 66 786 78 70 786 158 -1 -1 786 1 0 64 1 0 50 77 786 64 78 76 786 34 ):GetSequenceCode dwd( 35 -414 158 1 0 28 1 0 30 1 0 60 158 1 0 30 1 0 30 1 0 78 34 ):GetReverseSequenceCode dwd( 35 -460 158 1 0 28 1 0 30 1 0 60 158 1 0 30 1 0 30 1 0 50 158 1 0 30 1 0 30 1 0 78 34 ):PrepareFrame dwd( 158 1 0 30 1 0 4 1 0 96 158 1 0 30 1 0 8 1 0 906 158 1 0 30 1 0 6 1 0 1716 158 1 0 30 1 0 10 1 0 2526 158 1 0 30 1 0 14 1 0 3336 158 1 0 30 1 0 18 1 0 4146 34 );====================================================================; Animation data;====================================================================:AnimData dwd( 70 -682 0 0 0 0 0 0 0 0 0 34 1 3 0 0 4 -32768 -32768 -1 32767 0 -32768 32767 32767 2 -32768 32767 32767 -32768 4 -32768 -100 100 32767 100 -32768 32767 -100 4 -32768 -100 100 32767 100 -32768 32767 -100 ) dwd( 202 -32768 3248 -32535 1721 -32302 310 -32069 -985 -31835 -2163 -31602 -3202 -31369 -4104 -31135 -4916 -30902 -5689 -30669 -6437 -30435 -7128 -30202 -7778 -29969 -8405 -29735 -9016 -29502 -9598 -29269 -10158 -29035 -10706 -28802 -11246 -28569 -11770 -28335 -12284 -28102 -12792 -27869 -13299 -27635 -13799 -27402 -14295 -27169 -14792 -26935 -15292 -26702 -15791 -26469 -16293 -26235 -16800 -26002 -17316 -25769 -17837 -25535 -18365 -25302 -18904 -25069 -19458 -24835 -20027 -24602 -20609 -24369 -21201 -24135 -21800 -23902 -22410 -23669 -23029 -23435 -23651 -23202 -24269 -22969 -24885 -22735 -25500 -22502 -26115 -22269 -26729 -22035 -27343 -21802 -27955 -21569 -28567 -21335 -29178 -21102 -29787 -20869 -30396 -20635 -31004 -20402 -31610 -20169 -32214 -19935 32718 -19702 32116 -19469 31516 -19235 30918 -19002 30321 -18769 29726 -18535 29133 -18302 28543 -18069 27954 -17835 27368 -17602 26785 -17369 26205 -17135 25627 -16902 25052 -16669 24482 -16435 23915 -16202 23352 -15969 22793 -15735 22240 -15502 21693 -15269 21150 -15035 20614 -14802 20087 -14569 19571 -14335 19058 -14102 18557 -13869 18077 -13635 17621 -13402 17138 -13169 16680 -12749 16175 -12749 16174 -12469 15913 -12235 15801 -12002 16084 -11769 17049 -11535 18924 -11302 21388 -11069 23983 -10835 26259 -10602 28227 -10369 30086 -10135 31864 -9902 -31945 -9669 -30286 -9435 -28701 -9202 -27158 -8969 -25623 -8736 -24093 -8502 -22585 -8269 -21091 -8036 -19606 -7802 -18126 -7569 -16658 -7336 -15197 -7102 -13739 -6869 -12277 -6636 -10810 -6402 -9354 -6169 -7925 -5936 -6521 -5702 -5121 -5469 -3759 -5236 -2472 -5002 -1306 -4769 -278 -4536 703 -4302 1732 -4069 2885 -3836 4117 -3602 5403 -3369 6721 -3136 8073 -2902 9530 -2669 11004 -2436 12381 -2202 13550 -1969 14515 -1736 15357 -1502 16155 -1269 16984 -1036 17806 -802 18611 -569 19417 -336 20242 -102 21085 131 21937 364 22794 598 23649 831 24504 1064 25360 1298 26216 1531 27070 1764 27921 1998 28770 2231 29617 2464 30459 2698 31298 2931 32133 3164 -32573 3398 -31748 3631 -30930 3864 -30116 4098 -29309 4331 -28511 4564 -27720 4798 -26936 5031 -26161 5264 -25398 5498 -24646 5731 -23903 5964 -23172 6198 -22457 6431 -21759 6664 -21074 6898 -20406 7131 -19764 7364 -19150 7598 -18549 7831 -17979 8064 -17458 8298 -16989 8531 -16514 8764 -16103 8998 -15845 9231 -15801 9464 -15833 9698 -16048 9931 -16614 10164 -17691 10398 -19261 10631 -21237 10864 -23547 11098 -26133 11331 -29149 11564 -32495 11798 29582 12031 26224 12264 22843 12498 19425 12731 16122 12964 13090 13198 10327 13431 7766 13664 5406 13898 3248 32767 3248 ) dwd( 202 -32768 14370 -32535 11272 -32302 8132 -32069 4950 -31835 1727 -31602 -1548 -31369 -4875 -31135 -8231 -30902 -11594 -30669 -14956 -30435 -18332 -30202 -21718 -29969 -25107 -29735 -28498 -29502 -31895 -29269 30240 -29035 26837 -28802 23434 -28569 20028 -28335 16620 -28102 13211 -27869 9802 -27635 6393 -27402 2982 -27169 -428 -26935 -3838 -26702 -7248 -26469 -10657 -26235 -14066 -26002 -17473 -25769 -20880 -25535 -24286 -25302 -27689 -25069 -31091 -24835 31047 -24602 27650 -24369 24255 -24135 20861 -23902 17469 -23669 14079 -23435 10689 -23202 7299 -22969 3908 -22735 517 -22502 -2874 -22269 -6265 -22035 -9656 -21802 -13047 -21569 -16439 -21335 -19830 -21102 -23222 -20869 -26614 -20635 -30007 -20402 32137 -20169 28744 -19935 25351 -19702 21958 -19469 18564 -19235 15170 -19002 11776 -18769 8382 -18535 4987 -18302 1592 -18069 -1804 -17835 -5200 -17602 -8597 -17369 -11994 -17135 -15391 -16902 -18789 -16669 -22188 -16435 -25587 -16202 -28987 -15969 -32388 -15735 29747 -15502 26344 -15269 22941 -15035 19537 -14802 16131 -14569 12724 -14335 9316 -14102 5906 -13869 2494 -13635 -924 -13402 -4348 -13169 -7775 -12749 -13980 -12749 -13981 -12469 -18810 -12235 -23022 -12002 -26288 -11769 -27603 -11535 -26609 -11302 -24094 -11069 -20953 -10835 -18073 -10602 -15338 -10369 -12417 -10135 -9403 -9902 -6390 -9669 -3374 -9435 -312 -9202 2772 -8969 5859 -8736 8947 -8502 12046 -8269 15151 -8036 18261 -7802 21374 -7569 24492 -7336 27612 -7102 30735 -6869 -31680 -6636 -28560 -6402 -25436 -6169 -22301 -5936 -19155 -5702 -16005 -5469 -12841 -5236 -9649 -5002 -6415 -4769 -3131 -4536 170 -4302 3454 -4069 6694 -3836 9908 -3602 13103 -3369 16281 -3136 19439 -2902 22549 -2669 25648 -2436 28785 -2202 32004 -1969 -30232 -1736 -26884 -1502 -23521 -1269 -20173 -1036 -16827 -802 -13476 -569 -10125 -336 -6779 -102 -3437 131 -98 364 3240 598 6579 831 9917 1064 13255 1298 16593 1531 19932 1764 23272 1998 26612 2231 29952 2464 -32242 2698 -28899 2931 -25556 3164 -22211 3398 -18865 3631 -15517 3864 -12169 4098 -8818 4331 -5466 4564 -2111 4798 1245 5031 4603 5264 7963 5498 11326 5731 14691 5964 18059 6198 21431 6431 24805 6664 28183 6898 31565 7131 -30586 7364 -27195 7598 -23800 7831 -20401 8064 -16995 8298 -13580 8531 -10152 8764 -6719 8998 -3289 9231 142 9464 3647 9698 7141 9931 10505 10164 13644 10398 16720 10631 19635 10864 22191 11098 24198 11331 25713 11564 26791 11798 27425 12031 27604 12264 27288 12498 26511 12731 25338 12964 23837 13198 22007 13431 19820 13664 17274 13898 14370 32767 14370 ) dwd( 202 -32768 0 -32535 0 -32302 0 -32069 0 -31835 0 -31602 0 -31369 0 -31135 0 -30902 0 -30669 0 -30435 0 -30202 0 -29969 0 -29735 0 -29502 0 -29269 0 -29035 0 -28802 0 -28569 0 -28335 0 -28102 0 -27869 0 -27635 0 -27402 0 -27169 0 -26935 0 -26702 0 -26469 0 -26235 0 -26002 0 -25769 0 -25535 0 -25302 0 -25069 0 -24835 0 -24602 0 -24369 0 -24135 0 -23902 0 -23669 0 -23435 0 -23202 0 -22969 0 -22735 0 -22502 0 -22269 0 -22035 0 -21802 0 -21569 0 -21335 0 -21102 0 -20869 0 -20635 0 -20402 0 -20169 0 -19935 0 -19702 0 -19469 0 -19235 0 -19002 0 -18769 0 -18535 0 -18302 0 -18069 0 -17835 0 -17602 0 -17369 0 -17135 0 -16902 0 -16669 0 -16435 0 -16202 0 -15969 0 -15735 0 -15502 0 -15269 0 -15035 0 -14802 0 -14569 0 -14335 0 -14102 0 -13869 0 -13635 0 -13402 0 -13169 0 -12749 0 -12749 0 -12469 0 -12235 0 -12002 0 -11769 0 -11535 0 -11302 0 -11069 0 -10835 0 -10602 0 -10369 0 -10135 0 -9902 0 -9669 0 -9435 0 -9202 0 -8969 0 -8736 0 -8502 0 -8269 0 -8036 0 -7802 0 -7569 0 -7336 0 -7102 0 -6869 0 -6636 0 -6402 0 -6169 0 -5936 0 -5702 0 -5469 0 -5236 0 -5002 0 -4769 0 -4536 0 -4302 0 -4069 0 -3836 0 -3602 0 -3369 0 -3136 0 -2902 0 -2669 0 -2436 0 -2202 0 -1969 0 -1736 0 -1502 0 -1269 0 -1036 0 -802 0 -569 0 -336 0 -102 0 131 0 364 0 598 0 831 0 1064 0 1298 0 1531 0 1764 0 1998 0 2231 0 2464 0 2698 0 2931 0 3164 0 3398 0 3631 0 3864 0 4098 0 4331 0 4564 0 4798 0 5031 0 5264 0 5498 0 5731 0 5964 0 6198 0 6431 0 6664 0 6898 0 7131 0 7364 0 7598 0 7831 0 8064 0 8298 0 8531 0 8764 0 8998 0 9231 0 9464 0 9698 0 9931 0 10164 0 10398 0 10631 0 10864 0 11098 0 11331 0 11564 0 11798 0 12031 0 12264 0 12498 0 12731 0 12964 0 13198 0 13431 0 13664 0 13898 0 32767 0 ) dwd( 202 -32768 -32768 -32535 -32767 -32302 -32767 -32069 -32767 -31835 -32767 -31602 -32767 -31369 -32767 -31135 -32767 -30902 -32767 -30669 -32767 -30435 -32767 -30202 -32767 -29969 -32767 -29735 -32767 -29502 -32767 -29269 -32767 -29035 -32767 -28802 -32767 -28569 -32767 -28335 -32767 -28102 -32767 -27869 -32767 -27635 -32767 -27402 -32767 -27169 -32767 -26935 -32767 -26702 -32767 -26469 -32767 -26235 -32767 -26002 -32767 -25769 -32767 -25535 -32767 -25302 -32767 -25069 -32767 -24835 -32767 -24602 -32767 -24369 -32767 -24135 -32767 -23902 -32767 -23669 -32767 -23435 -32767 -23202 -32767 -22969 -32767 -22735 -32767 -22502 -32767 -22269 -32767 -22035 -32767 -21802 -32767 -21569 -32767 -21335 -32767 -21102 -32767 -20869 -32767 -20635 -32767 -20402 -32767 -20169 -32767 -19935 -32767 -19702 -32767 -19469 -32767 -19235 -32767 -19002 -32767 -18769 -32767 -18535 -32767 -18302 -32767 -18069 -32767 -17835 -32767 -17602 -32767 -17369 -32767 -17135 -32767 -16902 -32767 -16669 -32767 -16435 -32767 -16202 -32767 -15969 -32767 -15735 -32767 -15502 -32767 -15269 -32767 -15035 -32767 -14802 -32767 -14569 -32767 -14335 -32767 -14102 -32767 -13869 -32767 -13635 -32767 -13402 -32767 -13169 -32767 -12749 -32767 -12749 -32767 -12469 -32767 -12235 -32767 -12002 -32767 -11769 -32768 -11535 -32768 -11302 -32768 -11069 -32768 -10835 -32768 -10602 -32768 -10369 -32768 -10135 -32768 -9902 -32768 -9669 -32768 -9435 -32768 -9202 -32768 -8969 -32768 -8736 -32768 -8502 -32768 -8269 -32768 -8036 -32768 -7802 -32768 -7569 -32768 -7336 -32768 -7102 -32768 -6869 -32768 -6636 -32768 -6402 -32768 -6169 -32768 -5936 -32768 -5702 -32768 -5469 -32768 -5236 -32768 -5002 -32768 -4769 -32768 -4536 -32768 -4302 -32768 -4069 -32768 -3836 -32768 -3602 -32768 -3369 -32768 -3136 -32768 -2902 -32768 -2669 -32768 -2436 -32768 -2202 -32768 -1969 -32768 -1736 -32768 -1502 -32768 -1269 -32768 -1036 -32768 -802 -32768 -569 -32768 -336 -32768 -102 -32768 131 -32768 364 -32768 598 -32768 831 -32768 1064 -32768 1298 -32768 1531 -32768 1764 -32768 1998 -32768 2231 -32768 2464 -32768 2698 -32768 2931 -32768 3164 -32768 3398 -32768 3631 -32768 3864 -32768 4098 -32768 4331 -32768 4564 -32768 4798 -32768 5031 -32768 5264 -32768 5498 -32768 5731 -32768 5964 -32768 6198 -32768 6431 -32768 6664 -32768 6898 -32768 7131 -32768 7364 -32768 7598 -32768 7831 -32768 8064 -32768 8298 -32768 8531 -32768 8764 -32768 8998 -32768 9231 -32768 9464 -32768 9698 -32768 9931 -32768 10164 -32768 10398 -32768 10631 -32768 10864 -32768 11098 -32768 11331 -32768 11564 -32768 11798 -32768 12031 -32768 12264 -32768 12498 -32768 12731 -32768 12964 -32768 13198 -32768 13431 -32768 13664 -32768 13898 -32768 32767 -32768 ) dwd( 202 -32768 -32768 -32535 -32767 -32302 -32767 -32069 -32767 -31835 -32767 -31602 -32767 -31369 -32767 -31135 -32767 -30902 -32767 -30669 -32767 -30435 -32767 -30202 -32767 -29969 -32767 -29735 -32767 -29502 -32767 -29269 -32767 -29035 -32767 -28802 -32767 -28569 -32767 -28335 -32767 -28102 -32767 -27869 -32767 -27635 -32767 -27402 -32767 -27169 -32767 -26935 -32767 -26702 -32767 -26469 -32767 -26235 -32767 -26002 -32767 -25769 -32767 -25535 -32767 -25302 -32767 -25069 -32767 -24835 -32767 -24602 -32767 -24369 -32767 -24135 -32767 -23902 -32767 -23669 -32767 -23435 -32767 -23202 -32767 -22969 -32767 -22735 -32767 -22502 -32767 -22269 -32767 -22035 -32767 -21802 -32767 -21569 -32767 -21335 -32767 -21102 -32767 -20869 -32767 -20635 -32767 -20402 -32767 -20169 -32767 -19935 -32767 -19702 -32767 -19469 -32767 -19235 -32767 -19002 -32767 -18769 -32767 -18535 -32767 -18302 -32767 -18069 -32767 -17835 -32767 -17602 -32767 -17369 -32767 -17135 -32767 -16902 -32767 -16669 -32767 -16435 -32767 -16202 -32767 -15969 -32767 -15735 -32767 -15502 -32767 -15269 -32767 -15035 -32767 -14802 -32767 -14569 -32767 -14335 -32767 -14102 -32767 -13869 -32767 -13635 -32767 -13402 -32767 -13169 -32767 -12749 -32767 -12749 -32767 -12469 -32767 -12235 -32767 -12002 -32767 -11769 -32768 -11535 -32768 -11302 -32768 -11069 -32768 -10835 -32768 -10602 -32768 -10369 -32768 -10135 -32768 -9902 -32768 -9669 -32768 -9435 -32768 -9202 -32768 -8969 -32768 -8736 -32768 -8502 -32768 -8269 -32768 -8036 -32768 -7802 -32768 -7569 -32768 -7336 -32768 -7102 -32768 -6869 -32768 -6636 -32768 -6402 -32768 -6169 -32768 -5936 -32768 -5702 -32768 -5469 -32768 -5236 -32768 -5002 -32768 -4769 -32768 -4536 -32768 -4302 -32768 -4069 -32768 -3836 -32768 -3602 -32768 -3369 -32768 -3136 -32768 -2902 -32768 -2669 -32768 -2436 -32768 -2202 -32768 -1969 -32768 -1736 -32768 -1502 -32768 -1269 -32768 -1036 -32768 -802 -32768 -569 -32768 -336 -32768 -102 -32768 131 -32768 364 -32768 598 -32768 831 -32768 1064 -32768 1298 -32768 1531 -32768 1764 -32768 1998 -32768 2231 -32768 2464 -32768 2698 -32768 2931 -32768 3164 -32768 3398 -32768 3631 -32768 3864 -32768 4098 -32768 4331 -32768 4564 -32768 4798 -32768 5031 -32768 5264 -32768 5498 -32768 5731 -32768 5964 -32768 6198 -32768 6431 -32768 6664 -32768 6898 -32768 7131 -32768 7364 -32768 7598 -32768 7831 -32768 8064 -32768 8298 -32768 8531 -32768 8764 -32768 8998 -32768 9231 -32768 9464 -32768 9698 -32768 9931 -32768 10164 -32768 10398 -32768 10631 -32768 10864 -32768 11098 -32768 11331 -32768 11564 -32768 11798 -32768 12031 -32768 12264 -32768 12498 -32768 12731 -32768 12964 -32768 13198 -32768 13431 -32768 13664 -32768 13898 -32768 32767 -32768 ) dwd( 202 -32768 -27696 -32535 -28376 -32302 -29083 -32069 -29741 -31835 -30275 -31602 -30638 -31369 -30873 -31135 -31036 -30902 -31182 -30669 -31330 -30435 -31446 -30202 -31539 -29969 -31620 -29735 -31695 -29502 -31756 -29269 -31805 -29035 -31848 -28802 -31886 -28569 -31916 -28335 -31939 -28102 -31958 -27869 -31972 -27635 -31981 -27402 -31985 -27169 -31985 -26935 -31981 -26702 -31973 -26469 -31961 -26235 -31945 -26002 -31925 -25769 -31900 -25535 -31872 -25302 -31840 -25069 -31802 -24835 -31752 -24602 -31698 -24369 -31650 -24135 -31620 -23902 -31610 -23669 -31612 -23435 -31618 -23202 -31621 -22969 -31622 -22735 -31624 -22502 -31626 -22269 -31628 -22035 -31630 -21802 -31633 -21569 -31636 -21335 -31639 -21102 -31642 -20869 -31646 -20635 -31649 -20402 -31654 -20169 -31658 -19935 -31662 -19702 -31667 -19469 -31672 -19235 -31678 -19002 -31684 -18769 -31690 -18535 -31696 -18302 -31703 -18069 -31710 -17835 -31717 -17602 -31725 -17369 -31734 -17135 -31744 -16902 -31755 -16669 -31766 -16435 -31779 -16202 -31791 -15969 -31806 -15735 -31822 -15502 -31840 -15269 -31858 -15035 -31880 -14802 -31905 -14569 -31936 -14335 -31963 -14102 -31997 -13869 -32049 -13635 -32103 -13402 -31970 -13169 -31860 -12749 -32768 -12749 32767 -12469 31334 -12235 29636 -12002 27325 -11769 24194 -11535 19465 -11302 13843 -11069 8649 -10835 5197 -10602 3868 -10369 3831 -10135 4299 -9902 4485 -9669 4339 -9435 4232 -9202 4151 -8969 4079 -8736 4017 -8502 3972 -8269 3938 -8036 3908 -7802 3878 -7569 3852 -7336 3832 -7102 3817 -6869 3832 -6636 3892 -6402 3924 -6169 3857 -5936 3599 -5702 3143 -5469 2655 -5236 2304 -5002 2213 -4769 2298 -4536 2509 -4302 2810 -4069 3221 -3836 3898 -3602 4606 -3369 5064 -3136 4998 -2902 4380 -2669 3503 -2436 2678 -2202 2190 -1969 1943 -1736 1823 -1502 1767 -1269 1718 -1036 1717 -802 1761 -569 1816 -336 1847 -102 1863 131 1875 364 1884 598 1889 831 1891 1064 1889 1298 1885 1531 1880 1764 1873 1998 1864 2231 1853 2464 1842 2698 1829 2931 1816 3164 1801 3398 1784 3631 1766 3864 1746 4098 1724 4331 1701 4564 1675 4798 1647 5031 1618 5264 1585 5498 1551 5731 1515 5964 1475 6198 1431 6431 1381 6664 1327 6898 1268 7131 1198 7364 1117 7598 1037 7831 942 8064 816 8298 659 8531 532 8764 358 8998 36 9231 -520 9464 -1267 9698 -2185 9931 -3275 10164 -4551 10398 -6099 10631 -7824 10864 -9584 11098 -11242 11331 -12857 11564 -14453 11798 -15997 12031 -17453 12264 -18795 12498 -20057 12731 -21293 12964 -22552 13198 -23837 13431 -25123 13664 -26410 13898 -27696 32767 -27696 );====================================================================; User variables;==================================================================== dwd( 0 ) ; [135C]: user variable 1 dwd( 0 ) ; [135E]: user variable 2 dwd( 0 ) ; [1360]: user variable 3 dwd( 0 ) ; [1362]: user variable 4 dwd( 0 ) ; [1364]: user variable 5 dwd( 0 ) ; [1366]: user variable 6 dwd( 0 ) ; [1368]: user variable 7 dwd( 0 ) ; [136A]: user variable 8 dwd( 0 ) ; [136C]: user variable 9 dwd( 0 ) ; [136E]: user variable 10;********************************************************************; END of BusyObjects kernel section;********************************************************************EndAI have a library object GUID 0AAAAAAAA 0AAAAAAAA 0AAAAAAAA 000000001I know that I should have a unique number but I used the default just to test.I have compiled the object using Fsregen and put the resulting lib.bgl in the scenery folder.The Tutorial says that I have to find the line strating with :Objectand should look like:;------------------------------------------------------; Object to be animated.;------------------------------------------------------:Object Transform_Mat( 0.000 0.000 0.000 100.000 0.000 0.000 0.000 100.000 0.000 0.000 0.000 100.000 ) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; insert object code HERE ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;(A) CallLibObj (0 1 BF190362 B0C00000 1 );;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;TransformEndReturnI am assuming that the CallLibObj would be the GUID number of my object.I am not sure where to insert this code in the Original API code.When I put the API into Airport 2.6 the error messages above appear.Have I missed something?ThanksJohn

Share this post


Link to post
Share on other sites

Yes, you should place your GUID at the location you indicate in your post.But the macro code you posted is not complete. The macro should begin with an Area command and that seems to be missing. Are you sure this is the complete API BusyObjects made? Try to generate it again then, because something must have gone wrong there :).


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

Share this post


Link to post
Share on other sites
Guest

Hi ArnoOK I will run the tutorial again and see what happens.Thanks

Share this post


Link to post
Share on other sites
Guest

Hi ArnoI have looked at the tutorial again and in the beginning it asks me to create a 'placeholder' in GMAX before importing the track. So, firstly I cannot find any reference to a placeholder in the GMAX help files, except reference to a 'dummy' object?Secondly, would not creating it properly (I originally just created a block to get the animation working) create the missing code?Sorry if this seems obvious but I am just begining to get into GMAX from FSDS.Many ThanksJohn

Share this post


Link to post
Share on other sites
Guest

OKI have recompiled the Animation API and get exactly the same code when viewed in notepad. I am certain it is something I am doing wrong, but I dont know what.Does anyone have a successful API that they have created with busy objects that I could have a look at?Or evn a breif description of how they got it to work.It would be very much appreciated and would save the last of my remaining hair from being pulled out.Many thanksJohn

Share this post


Link to post
Share on other sites

I haven't used BusyObjects much since I tested the beta version, so I am afraid that my examples can be a bit dated :). But does your new API start with an Area command?


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

Share this post


Link to post
Share on other sites
Guest

Hi ArnoNo. It starts as below;********************************************************************; ; BusyObject kernel code and data; Copyright ©2002 by Bernd R. Fix. All Rights Reserved.;; *** DO NOT EDIT BEYOND THIS LINE ***;;********************************************************************:RenderObject Call( :Object ) Return:Perform Call( :StateMachine ) Return:BusyObject dwd( 137 670 0 35 -12 35 660 137 -1 -1 34 ):GetTimeCode dwd( 78 28 1532 36 300 26 1 10 158 1 0 28 1 0 28 1 0 32 36 270 26 2 10 158 1 0 28 1 0 28 1 0 32 36 240 26 3 10 158 1 0 28 1 0 28 1 0 32 36 210 26 4 10 158 1 0 28 1 0 28 1 0 32 36 180 26 5 10 158 1 0 28 1 0 28 1 0 32 36 150 26 6 10 158 1 0 28 1 0 28 1 0 32 36 120 26 7 10 158 1 0 28 1 0 28 1 0 32 36 90 26 8 10 158 1 0 28 1 0 28 1 0 32 36 60 26 9 10 158 1 0 28 1 0 28 1 0 32 36 30 26 10 10 158 1 0 28 1 0 28 1 0 32 34 ):StartSequence dwd( 77 786 30 78 82 786 78 94 786 158 -1 -1 786 1 0 84 1 0 50 77 786 84 78 88 786 35 -358 77 786 28 78 66 786 78 70 786 158 -1 -1 786 1 0 64 1 0 50 77 786 64 78 76 786 34 ):GetSequenceCode dwd( 35 -414 158 1 0 28 1 0 30 1 0 60 158 1 0 30 1 0 30 1 0 78 34 ):GetReverseSequenceCode dwd( 35 -460 158 1 0 28 1 0 30 1 0 60 158 1 0 30 1 0 30 1 0 50 158 1 0 30 1 0 30 1 0 78 34 ):PrepareFrame dwd( 158 1 0 30 1 0 4 1 0 96 158 1 0 30 1 0 8 1 0 906 158 1 0 30 1 0 6 1 0 1716 158 1 0 30 1 0 10 1 0 2526 158 1 0 30 1 0 14 1 0 3336 158 1 0 30 1 0 18 1 0 4146 34 );====================================================================; Animation data;====================================================================I Must be missing something out somewhere, But I am following tutorial word for word.Is there any other way of producing dynamic scenery?John

Share this post


Link to post
Share on other sites

Very strange, can you mail me (arno@nl-2000.com) some of your BusyObject files, then I can try it here. In the beta I tested it always gave a nice macro.I don't think there are much other programs that can do the same, so BusyObjects is the best option.


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

Share this post


Link to post
Share on other sites
Guest

Hi John.All I can tell from the macro you have posted is that it is incomplete. The only reason for this to happen I can think of is that you are using an empty template file.Assume you have a project called "Test". You should than have the following files:1) TEST.GANI (The animation exported from gmax)2) TEST.BOD (BusyObjects compiler settings, created manually)For the very first run, don't create a TEST.TPL file and *don't* reference one in TEST.BOD! Then run the compiler.From the generated API (which should be complete) you can extract a TEST.TPL (read the manual for that) to be used for further compiler runs.Hope this helps,Bernd

Share this post


Link to post
Share on other sites
Guest

Hi BerndVery many thanks for the info. That solved my problem. Much appreciated.ThanksJohn

Share this post


Link to post
Share on other sites
Guest

Hi ArnoThankyou very much for your offer. I have sent an email to you.Once again many thanks for your assistance.John

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • 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!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...