- Messages
- 537
- Country

Good morning, all
This is for FS2004, for dynamic scenery.
I am very intrigued by dynamic scenery, old fashion as it is.
I have read all the SCASM documents, including the dynamic scenery Reference.
1. I have successfuly created a dynamic scenery for FS2004 using a basic bgl created by FS Action! demo. I de-compiled the bgl into an sca and then edited the sca to make the object do the trajectory I wanted. I used ADE to measure the metres east-west and north-south, and I got the vehicle to go very precisely where I wanted.
2. I am using, as the only thing that FS Action! demo does, the native DYNLIB.bgl library, that only has one fuel truck, and that is the problem I really want to solve.
3. I can look at the code of my own bgl (before I compile it) and I can look at the DYNLIB.bgl decompiled into an sca.
4. Looking at those two, and reading the SCASM manuals, I see the "Pattern" command calling for the object code, which I changed to 0FE10 (the truck), and that is where my question starts. (I never figured out how 0FE10 finds the truck, as 0FE10 is nowhere to be seen in DYNLIB.bgl.)
5. I would like to learn how to use the CallDLibObj command, instead of the Pattern command. My desire is to create a library of my own objects, more than just the native fuel truck. I know how to create the objects, that won't be an issue, I think.
6. To accomplish number 5, to learn how it works I tried to just replace Pattern with CallDLibObj and it doesn't work, of course. Then I tried to do the same as I have seen in another dynamic scenery file, with puts the CallDLibObj command under a label ( :Lxxxxxx ) and that crashed FS. I tried different variations of placing CallDLibObj, nothing worked.
7. I went looking for something that told me how the :Lxxxxxx worked, and found references in the SCASM Command Line Interface "suggests" that it can be anything withing a "block".
So, the question is:
A. Is there anything more detaild than the SCASM 2.22 Dynamic Scenery Reference that would explain how to call a library for a dynamic scenery sca?
B. How does SCASM decide which xxxxxx to name all the :Lxxxxxx? I tried a few different ones, but I couldn't figure out which numbers were valid, and I can't tell whether their position in the code sequence is relevant.
Any hints will be much appreciated. Thanks
Fern
This is for FS2004, for dynamic scenery.
I am very intrigued by dynamic scenery, old fashion as it is.
I have read all the SCASM documents, including the dynamic scenery Reference.
1. I have successfuly created a dynamic scenery for FS2004 using a basic bgl created by FS Action! demo. I de-compiled the bgl into an sca and then edited the sca to make the object do the trajectory I wanted. I used ADE to measure the metres east-west and north-south, and I got the vehicle to go very precisely where I wanted.
2. I am using, as the only thing that FS Action! demo does, the native DYNLIB.bgl library, that only has one fuel truck, and that is the problem I really want to solve.
3. I can look at the code of my own bgl (before I compile it) and I can look at the DYNLIB.bgl decompiled into an sca.
4. Looking at those two, and reading the SCASM manuals, I see the "Pattern" command calling for the object code, which I changed to 0FE10 (the truck), and that is where my question starts. (I never figured out how 0FE10 finds the truck, as 0FE10 is nowhere to be seen in DYNLIB.bgl.)
5. I would like to learn how to use the CallDLibObj command, instead of the Pattern command. My desire is to create a library of my own objects, more than just the native fuel truck. I know how to create the objects, that won't be an issue, I think.
6. To accomplish number 5, to learn how it works I tried to just replace Pattern with CallDLibObj and it doesn't work, of course. Then I tried to do the same as I have seen in another dynamic scenery file, with puts the CallDLibObj command under a label ( :Lxxxxxx ) and that crashed FS. I tried different variations of placing CallDLibObj, nothing worked.
7. I went looking for something that told me how the :Lxxxxxx worked, and found references in the SCASM Command Line Interface "suggests" that it can be anything withing a "block".
So, the question is:
A. Is there anything more detaild than the SCASM 2.22 Dynamic Scenery Reference that would explain how to call a library for a dynamic scenery sca?
B. How does SCASM decide which xxxxxx to name all the :Lxxxxxx? I tried a few different ones, but I couldn't figure out which numbers were valid, and I can't tell whether their position in the code sequence is relevant.
Any hints will be much appreciated. Thanks
Fern
Last edited: