• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Terrain DLL Hell and Event Model?

Messages
181
Country
vaticancity
Arno's ModelConverterX_110 and Scruffy's ObjectViewer have got me looking at the floor differently... I'm imagining plugging classes into my floor boards, and thinking about inheritance and the like... its deep mon! ;)
I've just started messing with SBuilder as well now...

First thing is that I've already done something wrong, somewhere, and I notice that in some places I now see the runways in the lakes, or the sea... its like something has exposed the hidden layers in some area's... any idea's?

Not serious, I did backup, just wondering why...
I suspect I've somehow broken a terrain property, or that I've been playing with guids and I've created FS's equiv of DLL Hell, somehow, so water runways have become gravel runways and visible... ???

And then I've been trying to establish just how sophisticated the terrain engine is, in particular its event engine... which is probably the wrong terminology but its how I think about it...
Like when a plane enters a terrain tile and makes it active... it draws stuff, it probably fires the effects and smoke comes out of chimneys... etc

So there is an event model in FS (I'm on FS9) and I'm wondering how sophisticated it is... like could I write some code somewhere that makes the chimney spew a different color smoke, if I'm in a different plane...
Those events must be there for example at night when it flips textures and the lights come on... but could I switch the lights on in the day if I wanted to...

... if you see what I'm thinking here... can we get at those events in API...

Something that I have discovered that allows for some interesting stuff... (messing with RWY12) is that if I change a library MDL, and then flip the aircraft in and out of that area tile ( a split second slew), the object appears immediately... so that means annotation is possible with a few trigger tricks...

It seems it got XML "Class(COM)-ified" in FS9 but before that (the API era) it was a lot more like plugging classes into the floor boards ;)... and before that, its seems guys were actually scasming with the real code...

When I think about it like that... there must be an interface, and if this scasm thing is a powerful language, there must be a way to expose events... and that idea floats my boat...

Anyone playing in this area?
Am I even warm... has this all been done already?

Also in FSX how much control do you have over the little dynamic scenery objects, if so, whats the interface?
 
Hello:


In FS8 and FS9, there was abundant support for SCASM to exercise conditional control over static and dynamic display of "FS-Regen" type library objects as well as ground textures and effects etc..

LAGO, FSAddon, Georender and certain legacy Aerosoft titles made use of such SCASM coding options for rendering dynamic content in addition to using extended FS8 and FS9 functionality (ex: "ViMa" and "IntelliScene" DLLs) via special modules developed and licensed by Maurizio Gavioli of VistaMare Software to render more sophisticated dynamic content and sounds.


FYI: Looking beyond FS2KX, SCASM was minimally supported in FSX-RTM, somewhat supported in FSX-SP1, and back to minimally supported in FSX-SP2; support is not provided for "conditional" control or display of dynamic objects, ground textures or effects.

FSX has the potential for control over conditional control / display of content in "Mission mode", or alternatively in FSX "native mode" via aircraft gauges, or DLL modules using the "Living World" methods and specially modeled versions of "aircraft" containers called SimObjects via SimConnect; however there has been some concern expressed over the FPS hit and both coding complexity as well as limited functionality that the SimConnect API entails... compared to other methods using Visual C++ or Python to access the "innards" of FSX code.


BTW: It has been reported that the VistaMare Software "IntelliScene" engine has finally been ported to the FSX platform via Visual C++ coding; it is unclear whether this works via FSX SimConnect and/or FSUIPC.

"IntelliScene" may already be further licensed for use as a base for enabling Aerosofts "Airport Enhancement Services" package by Oliver Pabst in FSX as well in addition to FS9; it may also be used in upcoming FSX updates to the FSCargo package by FSAddon.


Umberto Colapicchioni of FSDreamTeam / Cloud 9 has reportedly developed and is licensing a Python-based module system that works independently of FSX SimConnect that also offers conditional control / display options for the FSX platform.



PS: Please do NOT cause "chaos" by releasing scenery add-ons out to the FS Community that are based on a "scrambled" Terrain.Cfg.

Instead, use the protocols that Flight1 / Ultimate Terrain, FSAddon, OrbX/FTX, GEX and others have implemented to ensure all other prior and ongoing new extensions of listings in Terrain.Cfg are kept "properly" configured.


Hope this helps provide an overview of what conditional control / display features have been / could be implemented in FS. :)


GaryGB
 
Last edited:
Hello:

Hope this helps provide an overview of what conditional control / display features have been / could be implemented in FS. :)

GaryGB

Sent me googling all over the place... yeah, good answer... ;)

No it looks like http://www.vistamaresoft.com/ IntelliScene X is on hold, from the quiet looking site...

Mmmm, cant say that a Python-based module makes much sense to me, I don't think you want an interpretor in that interface, hopefully its just an option...

I want to be able to do annotations in FS, other than that, my artistic talent precludes anything more than dabbling, no danger of a scenery release from me, ever ;)
Rather, I want everyone to be able to do annotations in FS... like big red arrows... tarp money hidden here... ha ha

I'll post it here if I ever figure it all out... thanks

Somethings I do find really strange, like the last thing I expected was that the train simulator is a separate game... find Gates, let me slap him around a bit, plane boring ;)
 
Back
Top