Sign in to follow this  
Guest christian

GMax for dynamic library

Recommended Posts

Hi All,Last evening I was trying to make a piece of code like FsRegen does that would allow me to use GMax scenery in a dynamic library (for the section 15 dynamic scenery). But looking through the scenery SDK I couldn't find anything about the commands used in such a library. Maybe I was too sleepy already :), so does anybody know if there is any info on how to make such a library in the SDK? Or should I many refer back to the old Fs98 SDK?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
Help AVSIM continue to serve you!
Please donate today!

The FS2000 scenery pdf has a whole section on dynamic scenery :)It has the whole lot of commands. I'm currently adding the dynamic scenery to my decompiler...Cheers, Christian

Share this post


Link to post
Share on other sites

I had a look at that, but to me it looked like that section only tells you how to make the section 15 BGL, but not how to make a library for the object that the dynamic scenery can use.Maybe I must re-read it again :).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

Hello Arno,the FS Scenery SDK doc contains a section called "Library Objects", which should cover the building of object libraries. They can be reused in dynamic scenery. However, there are only some snippets of code, not a full working sample.Maybe its not a bad idea to check out the FS98 SDK. I have the impression, that the whole concept of dynamic scenery was developed in these days and was never continoued (sp?). You can't compile a dynamic scenery with bglc out of the box. I recently uploaded an archive dynsctut.zip to avsim with some notes. Its useful item might be an include file, which redefines the bglc macros used in dynamic scenery design. However, I left out the question of object libraries.Cheers,Edgar

Share this post


Link to post
Share on other sites

Thanks interesting :).Maybe I am wrong, but the section about library objects is for the normal scenery library objects. These don't work with dynamic scenery.I'll check the Fs98 SDK this evening. It is true that the dynamic scenery has not really changed since Fs5/Fs98 so that might be a better source for info.I'll also have a look at the file you mention, might give some interesting background info :).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

Hi Arno,ok I read your post PROPERLY now :-lolI'm not that far that I can answer your question though, I'm still coding on the dynamic section, probably I need another week or two to have it all working.At this stage I think it works like this:library section:here you can 'make' your object using the normal bgl opcodes. eg make a ship and the like...dynamic section:call the ship (I think the command is DCALL_32), and animate it.What do you want to do? Do you want to animate your ship in the library already? I don't think that's possible if I understand everything right...Cheers, Christian

Share this post


Link to post
Share on other sites

Hi Edgar,I just downloaded your file. I can't believe it. I just spent the last week replicating your work. If only I'd know about your bglc file earlier! Since my macros are also based on the FS2000 SDK they pretty much look the same as your ones... One weeks work down the drain... I should start taking better notice of the file uploads...Cheers, Christian

Share this post


Link to post
Share on other sites

Hi Christian,I have been doing some tests this weekend.At first I am trying to see if I can get a SCASM dynamic scenery file that allows me to use an object from a library. Until now I haven't succeeded in that yet.At first I tried the normal object library and as expected that didn't work with the dynamic scenery.After that I have also tried the old Fs98 style object library (as the SCASM docs call them), but that didn't work either.Maybe I'll have to use DynKit once more and compare the BGL it creates with the object library BGL's SCASM creates.Also I found that the SCASM docs speak about a normal object library object being used for dynamic scenery, so there might be a possibility. I'll continue searching :).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

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