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

Success...sort of

Messages
406
I finally got my dirt road looking right. I created a plane in Gmax, then created a texture in photoshop with an alpha channel..Bingo. However I just cannot understand the killshadow instructions, they totally baffle me. Can someone please go through this in the simplest terms please, I would love to 'kill' this project ;)

DirtRoad2.jpg
 
Hi,

The kill shadow command is really simple. Just open your main ASM file (not the one with _0 in the name) and add this piece of code:

Code:
shadow_riff_start_0 label BGLCODE
    db  'S','H','A','D'   
    dd  shadow_riff_end_0 - $ - 4
SHADOW_0L  label BGLCODE

Kill_Shadow_top label BGLCODE
  bgl_riff_start_Kill_Shadow	label	BGLCODE
      db	'B','G','L',' '
      dd	bgl_riff_end_Kill_Shadow - $ - 4

  LOD_0_Kill_Shadow	label	BGLCODE
      BGL_END
      BGL_RETURN

  bgl_riff_end_Kill_Shadow	label	BGLCODE

shadow_riff_end_0	label	BGLCODE

If you put it between the bounding_box_riff_end and model_outside labels it should work fine.
 
Thanks Arno, done that..but then what do I do(told you this wasn't sinking in). I recompiled the xml file but I still get the shadow effect.

Thanks


Paul
 
Hi,

You need to recompile your ASM files into a new MDL file first with BGLC9. After that you can recompile the XML file with the new MDL.
 
Where do I get bglc9?

thanks for your help

Found it :D Do I just drag the 2 .asm files (road_0 and road) onto bglc9? only I have tried that and I get a new road.bgl (from road_0) but the .mdl doesnt seem to change (at least the date hasn't)

I will get there :)
 
Last edited:
Hi,

You only need to drag the main ASM file (the one without _0 in the name) onto BGLC9. Then it does indeed create a new BGL, but you should rename that to MDL as it is no BGL at all.

Or you could try my CompileHelper tool, that does it all automatically for you :).
 
Thank you sir, you are a gentleman and a scholar, I now have no shadows on this plane and it blends in wonderfully with the underlying VFR photographic scenery :D

Did anyone crack the reason why objects dissapear thoug at about 2000 feet, not that it matters for this, however I have a few ideas I want to play with.

Thanks once again Arno
 
Hi,

pks1414 said:
Did anyone crack the reason why objects dissapear thoug at about 2000 feet, not that it matters for this, however I have a few ideas I want to play with.

Do you mean they dissapear when you are 2000 feet away from them? That is a rather short distance. With the new Fs2004 format MS determines the range automatically for you, but it should be a bit bigger than this.
 
I seem to recall on one of the threads that when the altitude is at 2 - 2500 feet, buildings that sit upon a plane dissapear, whether that still holds true I don't know as I haven't got anything that does that...yet.

While I am on Arno, do you know if it is possible to 'bend' a box? I am trying to create a crash barrier and I don't know whether there is a method of performing this?
 
Yes, GMax has a bend function. But you need to divide your box into different segments first. As the bend function does not add new vertices, only moves the current ones.
 
All gone a bit pearshaped, despit doing nothing I am now having all sorts of problems. When I load up the airfield as my default, it either causes FS to stop immediately, or it goes through the loading process and stopes around 68 - 72% then I get the Microsoft Error reporting. I have taken out all the .bgl files created by Gmax to try and isolate the culprit, if it is one of those, but there does not seem to be any consistency.

Anyone got any suggestions or come across this before, I am now at the stage where I feel like scrapping the whole project
 
These crashes sound like problems in the mesh scenery. Did you maybe add VTP elements as well? Missing textures in there often cause such crashes. In general GMax scenery will not crash your FS (unless you tweak the source code wrong).
 
Well I don't know what I did but it seems okay now. I decided to split up some of the Gmax files to make them smaller. What is odd is that if I select my airfield as the default then it takes between 1 minute, minute 15secs to load. If I select it after starting off at another field it is more or less instant...odd
 
Back
Top