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

Seasonal groundpoly not working!

Messages
12
Country
romania
Hi all!

I'm tryng to add seasonal textures to my groundpoly but is not working.What am I doing wrong? Help please!

The realisation of the ground poly: gmax=> export mdlcommander=> x file=> fs2002 mkmdl=> .asm tweak => bglc_9 => the groundpoly.bgl

Here is the original an the tweaked .asm:
 

Attachments

Hi,

You can the label tex_continue1 defined multiple times. For each texture assignment (where you check all 4 seasons) you need to have a different continue label to jump to.
 
OOOPS! That's true! I have to pay more attencion at all tutorials.Thanks Arno, now i'm gona try to retweak the gpoly.Hope will work.:D

vichi
 
Hmmm. Still not working. Maybe because is a big poligon with 20 faces (multi textures) and not 20 poligons mixed toghether?

Look at this code ( the final face):

IFIN1 tex_61, 0000006f8h, 0, 0
MATERIAL 0,83 ; <255,255,255,255> LROP0021_WI.BMP;;;
JUMP tex_continue21
tex_61 label word
IFIN1 tex_81 ; <255,255,255,255> LROP0021_SP.BMP;;;
JUMP tex_continue21
tex_62 label word
IFIN1 tex_63, 0000006f8h, 2, 2
MATERIAL 0,20 ; <255,255,255,255> LROP0021_SU.BMP;;;
JUMP tex_continue21
tex_63 label word
MATERIAL 0,82 ; <255,255,255,255> LROP0021_FA.BMP;;;
tex_continue21 label word
DRAW_TRI_BEGIN 80, 24
DRAW_TRI 19, 22, 23 ; poly=20 part=1
DRAW_TRI 19, 21, 22 ; poly=19 part=1
DRAW_TRI 19, 17, 21 ; poly=18 part=1
DRAW_TRI 8, 7, 1 ; poly=1 part=1
DRAW_TRI 17, 15, 21 ; poly=17 part=1
DRAW_TRI 15, 4, 21 ; poly=16 part=1
DRAW_TRI 4, 12, 21 ; poly=15 part=1
DRAW_TRI 12, 14, 21 ; poly=14 part=1
DRAW_TRI 14, 16, 21 ; poly=13 part=1
DRAW_TRI 16, 18, 21 ; poly=12 part=1
DRAW_TRI 18, 20, 21 ; poly=11 part=1
DRAW_TRI 4, 10, 12 ; poly=10 part=1
DRAW_TRI 4, 6, 10 ; poly=9 part=1
DRAW_TRI 4, 2, 6 ; poly=8 part=1
DRAW_TRI 2, 0, 6 ; poly=7 part=1
DRAW_TRI 15, 13, 4 ; poly=6 part=1
DRAW_TRI 13, 11, 4 ; poly=5 part=1
DRAW_TRI 11, 9, 4 ; poly=4 part=1
DRAW_TRI 9, 5, 4 ; poly=3 part=1
DRAW_TRI 1, 3, 8 ; poly=2 part=1
DRAW_TRI_END
BGL_END
BGL_RETURN

Is this corect?The others polys don't have so many "DRAW_TRI" parts, like this:

IFIN1 tex_58, 0000006f8h, 0, 0
MATERIAL 0,80 ; <255,255,255,255> LROP0020_WI.BMP;;;
JUMP tex_continue20
tex_58 label word
IFIN1 tex_59, 0000006f8h, 1, 1
MATERIAL 0,78 ; <255,255,255,255> LROP0020_SP.BMP;;;
JUMP tex_continue20
tex_59 label word
IFIN1 tex_60, 0000006f8h, 2, 2
MATERIAL 0,19 ; <255,255,255,255> LROP0020_SU.BMP;;;
JUMP tex_continue20
tex_60 label word
MATERIAL 0,79 ; <255,255,255,255> LROP0020_FA.BMP;;;
tex_continue20 label word
DRAW_TRI_BEGIN 76, 4
DRAW_TRI 0, 1, 3 ; poly=22 part=1
DRAW_TRI 3, 2, 0 ; poly=21 part=1
DRAW_TRI_END

Any sugestion?
 
Hi,

That there are more triangles with the same material does not matter. When you say it does not work, what do you see? Does the summer season remain active or something else?
 
Solved! It was a bad ideea to edit and use the .asm files in other folder instead the fs2002 mdl (where they was created).

The code :

include D:\GMAX\Program Files\gamepacks\fs2002\plugins\lrop_grseztex_0.asm from the lrop_grseztex.asm was always trying to include the original _0.asm.:rolleyes: instead the new one edited in the new folder.Now is working fine.
 
Ah, glad to hear you got it working. I would not have thought about that problem indeed :D.

What I normally do when editing ASM files is to remove the absolute path to the _0.ASM file and only state the filename there. Then I can move around my sources and they always compile correctly.
 
Back
Top