Jump to content
  • Announcements

    • Erik

      2022 Support Drive   09/01/2022

      Our support drive for 2022 has kicked off. You can find out more about it here: Please Donate or Subscribe

Recommended Posts

I'm trying to understand the decals system.

In which directories does the game look for decal texture files (referenced by decals.ini)?

Share this post


Link to post
Share on other sites

Objects/Decals

.. in YOURMODS ofc.

Edited by guuruu
  • Thanks 1

Share this post


Link to post
Share on other sites

[Decal001]
MeshName=Fuselage                                  ---------------- actual node it goes on. limit 3 tga per (your viewer make this sooooo much easier for the likes of me to find this out)
DecalLevel=2                                    ---------------------------- 4 different levels. O ties to nation, 1 ties to unit, 2 is serialized and unique to each aircraft, 4 is kills iirc. 2 is normally used for serial numbers but can be used for individual schemes/camoflage or nose arts
DecalFacing=RIGHT                                    ----------------- self explanitory. all basic directions included TOP, FRONT, LEFT etc
FilenameFormat=B-52G_89/DiegoGarcia/D/FuseR  naming convention. game starts looking where guruu pointed out and does not need included in this line. the D folder in this is not really needed, but a habit amongst the senior modders that i picked up
Position=-2.75,0.0
Rotation=0.0
Scale=48.00                 ----------------------------------------------- not usually this big. can be either side of the decimal point, mine are often huge due to a tga covering the whole fuselage side or wing. but one could make a bigger tga with high detail and scale below 1.0 to place on model
DecalMaxLOD=3                                       --------------------- Wrench can explain better than me, but iirc has to do with distance visible

biggest issue often encountered is typo's in the fileformat and position being off model. DecalMaxLOD can cause some issues too, again not THE expert on that. I usually default to =3 on most of my work.

the ini can be huge. the displayed project is already at 130+ entries and I am going to add two more showing the EVS in better detail

personally i prefer tga for many markings to on skin. it seems to show detail better in some instances than skins (esp when the original skin is smaller; 512 rather than 2048 or 4096)

one other trick that can be done with 2 level decals is to have a base decal and then one or two specials. example thisDecal as a base then thisDecal000 as a CAG bird. the other however many will just use that default.  HOWEVER, i found with the tankers i did that more than two individuals caused issues. i wound up having to create a tga for every single one and even then there were oddities past 10 aircraft loaded.

hope this is useful information. just some observations from a guy that plays quite a bit with the tga file.

 

Edited by daddyairplanes
  • Like 2
  • Thanks 1

Share this post


Link to post
Share on other sites
20 minutes ago, daddyairplanes said:

DecalMaxLOD=3                                       --------------------- Wrench can explain better than me, but iirc has to do with distance visible

In aircraft.ini you have list of LODS with distance of their visibility.

[LOD0001]

Filename=GR1B.lod
Distance=35

....

[LOD0003]

Filename=GR1B_lod2.lod
Distance=2000

This is just max LOD that decal is visible.

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

So, the game ONLY looks in Objects/Decals (and maybe subfolders here) and not in Objects/Aircraft/ or other folders?

Share this post


Link to post
Share on other sites
Quote

So, the game ONLY looks in Objects/Decals (and maybe sub folders here) and not in Objects/Aircraft/ or other folders?

(don't know what happened with the quotation box there...to answer the question:

only 1stGens locate the decals sub folder ( Objects/Aircraft/F-86F/336th(skin)/D/*nameofdecal* in skin sub folder the aircraft main folder

SF2 uses a seperate /Objects/Decals/Name-of-aircraft/name-of-skin/-decals-/name of decal format. Something TK changed when going to the SF2, seperate mods folders concept/formate/wingdongs7

also, the DecalMaxLod= MUST be listed in each decal statement in the ini. Oddly, in 1stGens it wasn't necessary. We only found that out (SF2) when converting older aircraft TO sf2, and finding the decals didn't show, all else being equal.

OTH, 1stGens CAN use the Objects/Decals/etc..... that's been tested by me and it works fine. 

 

  • Thanks 1

Share this post


Link to post
Share on other sites
6 hours ago, daddyairplanes said:

personally i prefer tga for many markings to on skin. it seems to show detail better in some instances than skins

And allows you to use 1 skin for more camos ;-) But something for something, for example national markings in skin are 'for free' and decals not .

Share this post


Link to post
Share on other sites
58 minutes ago, guuruu said:

And allows you to use 1 skin for more camos ;-) But something for something, for example national markings in skin are 'for free' and decals not .

one skin, many camo's? who does such madness?:lol:

US insignia and squadron tail markings on the F-102 were one of the things that moved my opinion towards tga. but yes if you have a larger scaled skin insignia (and not a whole lot of varied camo tgas) it can work just fine on skin.

  • Haha 1

Share this post


Link to post
Share on other sites

Just to be complete, in order for decals to show properly on the model the object needs a "with decals" setting to be turned on in 3DS Max when it is saved or it does funky things in game. Stephen1918 and I ran into that issue when assigning pennant number decals to the V & W class destroyers. You might need to be able to read the data the "with decals" flag adds to the object.

Example of the issue from our development.

img00174.JPG

  • Thanks 1

Share this post


Link to post
Share on other sites
7 hours ago, KJakker said:

Just to be complete, in order for decals to show properly on the model the object needs a "with decals" setting to be turned on in 3DS Max when it is saved

At least 1st LOD ;-)

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

  • Similar Content

    • By Eagle114th
      I am unable to find the tutorial on modifying or replacing national decal.  There are two nations I want to replace decal.  At the same time, there are a few nations I want to add into the game and add their decals too. I can't seem to find the tutorials on it.

      So may I ask for the advice on this?

      I am working on interesting projects which requires me to do this.  

      Cheers!
    • By jjlehto
      Since a while, I find myself in this condition (see pic).
      The RAF roundels are like 4 times the correct size. Happens only with RAF decals (all the other  air forces are correct). Also happens on most other RAF planes (like Javelins, Hunters etc).
      I was thinking, perhaps some mod broken them, but I'm unable to trace back when it started.
      I reckon someone probably incurred in this already, I'd be grateful to know how can it be solved.
      Thanks.

    • By Ngr
      Can anyone help me remove unwanted decals fragments?



    • By DaniloE31
      Yet another Decals problem. I thought, I would know the rules, but...

      I made a VF-31 skin for the F-4J for my personal use... As you can see below, the Nose and Bu. No. on the tail show up in the LOD Viewer but are missing in game.


       

       
      I know you can use a maximum of 4 Decals for every Mesh Node... but that isn't the case here:
      [Decal001] MeshName=fuselage_front DecalLevel=2 DecalFacing=LEFT FilenameFormat=F-4J\VF31\TGnumAC Position=7.91,-0.39 Rotation=0.0 Scale=0.8 DecalMaxLOD=3 [Decal002] MeshName=fuselage_front DecalLevel=2 DecalFacing=RIGHT FilenameFormat=F-4J\VF31\TGnumAC Position=8.10,-0.39 Rotation=0.0 Scale=0.8 DecalMaxLOD=3 [Decal003] MeshName=vertical_stabilizer DecalLevel=2 DecalFacing=RIGHT FilenameFormat=F-4J\VF31\FLnum Position=-6.60,2.44 Rotation=0.0 Scale=0.50 DecalMaxLOD=2 [Decal004] MeshName=vertical_stabilizer DecalLevel=2 DecalFacing=LEFT FilenameFormat=F-4J\VF31\FLnum Position=-6.60,2.44 Rotation=0.0 Scale=0.50 DecalMaxLOD=2 [Decal005] MeshName=flap_inner_right DecalLevel=2 DecalFacing=TOP FilenameFormat=F-4J\VF31\FLnum Position=2.06,-1.82 Rotation=-13.0 Scale=0.80 DecalMaxLOD=2 [Decal006] MeshName=flap_inner_left DecalLevel=2 DecalFacing=TOP FilenameFormat=F-4J\VF31\FLnum Position=-2.06,-1.82 Rotation=13.0 Scale=0.80 DecalMaxLOD=2 [Decal007] MeshName=fuselage_P DecalLevel=2 DecalFacing=RIGHT FilenameFormat=F-4J\VF31\serialAC Position=-4.37,0.51 Rotation=0.0 Scale=0.5 DecalMaxLOD=2 [Decal008] MeshName=fuselage_P DecalLevel=2 DecalFacing=LEFT FilenameFormat=F-4J\VF31\serialAC Position=-4.37,0.51 Rotation=0.0 Scale=0.5 DecalMaxLOD=2  
      I am missing something?

    • By crisisloaner
      Hi folks,any of you guys know why my created serial number decals keep coming out with this "bleed" effect ?? ( I have followed FLOGGER23 's guide ). My squadron badge decals have no such issues.

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..