Jump to content

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 toot
      Hi, was wondering if anyone knows how to extract decals and insignia's using the cat extractor? I've only managed to get skins out (which was also kinda annoying since you need the exact name), but i havent been able to find decals and insignias.
      Would appriciate any suggestions and tips!
    • By Slant6
      Installing one of MyTai's F-4B skins for SF1 to SF2 F-4B_67. Following correct SF2 file path for decals; all show up except nose number only on left side. How do I fix this?
       
       
      [Decal001]
      MeshName=fuselage_P
      DecalLevel=2
      DecalFacing=LEFT
      FilenameFormat=F-4B_67\pacusnvf151 71\D\nsl
      Position=1.35,-0.17
      Rotation=0.0
      Scale=8.625
      DecalMaxLOD=3
      [Decal002]
      MeshName=fuselage_P
      DecalLevel=2
      DecalFacing=RIGHT
      FilenameFormat=F-4B_67\pacusnvf151 71\D\nsr
      Position=1.35,-0.17
      Rotation=0.0
      Scale=8.625
      DecalMaxLOD=3
      [Decal003]
      MeshName=wing_left_outer
      DecalLevel=0
      DecalFacing=TOP
      FilenameFormat=F-4B_67\pacusnvf151 71\D\usa
      Position=-4.0,-0.94
      Rotation=37.5
      Scale=3.2
      DecalMaxLOD=3
      [Decal004]
      MeshName=wing_right_outer
      DecalLevel=0
      DecalFacing=BOTTOM
      FilenameFormat=F-4B_67\pacusnvf151 71\D\usa
      Position=4.0,-0.94
      Rotation=37.5
      Scale=3.2
      DecalMaxLOD=3
      [Decal005]
      MeshName=splitter_plate_left
      DecalLevel=3
      DecalFacing=LEFT
      FilenameFormat=kill
      Position=5.995,-.141
      Rotation=00.0
      Scale=0.75
      DecalMaxLOD=2
      [Decal006]
      MeshName=vertical_stabilizer
      DecalLevel=2
      DecalFacing=RIGHT
      FilenameFormat=F-4B_67\pacusnvf151 71\D\NFT
      Position=-5.55,1.74
      Rotation=0.0
      Scale=6.0
      DecalMaxLOD=3
      [Decal007]
      MeshName=vertical_stabilizer
      DecalLevel=2
      DecalFacing=LEFT
      FilenameFormat=F-4B_67\pacusnvf151 71\D\NFT
      Position=-5.55,1.74
      Rotation=0.0
      Scale=6.0
      DecalMaxLOD=3
      Reverse=TRUE
      [Decal008]
      MeshName=rudder
      DecalLevel=2
      DecalFacing=RIGHT
      FilenameFormat=F-4B_67\pacusnvf151 71\D\NFT
      Position=-5.55,1.74
      Rotation=0.0
      Scale=6.0
      DecalMaxLOD=3
      [Decal009]
      MeshName=rudder
      DecalLevel=2
      DecalFacing=LEFT
      FilenameFormat=F-4B_67\pacusnvf151 71\D\NFT
      Position=-5.55,1.74
      Rotation=0.0
      Scale=6.0
      DecalMaxLOD=3
      Reverse=TRUE
      [Decal010]
      MeshName=vertical_stabilizer
      DecalLevel=1
      DecalFacing=RIGHT
      FilenameFormat=F-4B_67\pacusnvf151 71\D\NFR
      Position=-5.85,1.75
      Rotation=0.0
      Scale=2.10
      DecalMaxLOD=3
      [Decal011]
      MeshName=vertical_stabilizer
      DecalLevel=1
      DecalFacing=LEFT
      FilenameFormat=F-4B_67\pacusnvf151 71\D\NFL
      Position=-5.85,1.75
      Rotation=0.0
      Scale=2.10
      DecalMaxLOD=3
      [Decal012]
      MeshName=wing_left_inner
      DecalLevel=0
      DecalFacing=TOP
      FilenameFormat=F-4B_67\pacusnvf151 71\D\usa
      Position=-4.0,-0.94
      Rotation=37.5
      Scale=3.2
      DecalMaxLOD=3
      [Decal013]
      MeshName=wing_right_inner
      DecalLevel=0
      DecalFacing=BOTTOM
      FilenameFormat=F-4B_67\pacusnvf151 71\D\usa
      Position=4.0,-0.94
      Rotation=37.5
      Scale=3.2
      DecalMaxLOD=3
      [Decal014]
      MeshName=fuselage_P
      DecalLevel=2
      DecalFacing=LEFT
      FilenameFormat=f-4b_67\pacusnvf151 71\D\b
      Position=-3.40,2.20
      Rotation=0.0
      Scale=5.0
      DecalMaxLOD=3
      [Decal015]
      MeshName=fuselage_P
      DecalLevel=2
      DecalFacing=RIGHT
      FilenameFormat=f-4b_67\pacusnvf151 71\D\b
      Position=-3.38,-1.0
      Rotation=0.0
      Scale=5.0
      DecalMaxLOD=3
      [Decal016]
      MeshName=fuselage_front
      DecalLevel=2
      DecalFacing=RIGHT
      FilenameFormat=F-4B_67\pacusnvf151 71\D\bln
      Position=7.0,0.0
      Rotation=0.0
      Scale=10.0
      DecalMaxLOD=3
      [Decal017]
      MeshName=fuselage_front
      DecalLevel=2
      DecalFacing=LEFT
      FilenameFormat=F-4B_67\pacusnvf151 71\D\bln
      Position=7.0,0.0
      Rotation=0.0
      Scale=10.0
      DecalMaxLOD=3
      Reverse=TRUE
      [Decal018]
      MeshName=canopy_front_outer
      DecalLevel=2
      DecalFacing=LEFT
      FilenameFormat=F-4B_67\pacusnvf151 71\D\bln
      Position=7.0,0.0
      Rotation=0.0
      Scale=10.0
      DecalMaxLOD=3
      Reverse=TRUE
      [Decal019]
      MeshName=canopy_front_outer
      DecalLevel=2
      DecalFacing=RIGHT
      FilenameFormat=F-4B_67\pacusnvf151 71\D\bln
      Position=7.0,0.0
      Rotation=0.0
      Scale=10.0
      DecalMaxLOD=3
      [Decal020]
      MeshName=canopy_rear_outer
      DecalLevel=2
      DecalFacing=LEFT
      FilenameFormat=F-4B_67\pacusnvf151 71\D\bln
      Position=7.0,0.0
      Rotation=0.0
      Scale=10.0
      DecalMaxLOD=3
      Reverse=TRUE
      [Decal021]
      MeshName=canopy_rear_outer
      DecalLevel=2
      DecalFacing=RIGHT
      FilenameFormat=F-4B_67\pacusnvf151 71\D\bln
      Position=7.0,0.0
      Rotation=0.0
      Scale=10.0
      DecalMaxLOD=3
      [Decal022]
      MeshName=fuselage_front
      DecalLevel=2
      DecalFacing=LEFT
      FilenameFormat=F-4B_67\pacusnvf151 71\D\ls
      Position=7.50,-0.3
      Rotation=0.0
      Scale=5.80
      DecalMaxLOD=3
      [Decal023]
      MeshName=fuselage_front
      DecalLevel=2
      DecalFacing=RIGHT
      FilenameFormat=f-4b\pacusnvf151 71\D\rs
      Position=7.50,-0.3
      Rotation=0.0
      Scale=5.80
      DecalMaxLOD=3
      [Decal024]
      MeshName=spoiler_left
      DecalLevel=0
      DecalFacing=TOP
      FilenameFormat=F-4B_67\pacusnvf151 71\D\usa
      Position=-4.0,-0.94
      Rotation=37.5
      Scale=3.2
      DecalMaxLOD=3
      [Decal025]
      MeshName=flap_inner_right
      DecalLevel=2
      DecalFacing=TOP
      FilenameFormat=F-4B_67\pacusnvf151 71\D\f
      Position=2.38,-1.56
      Rotation=-14.0
      Scale=0.50
      DecalMaxLOD=4
      [Decal026]
      MeshName=flap_inner_left
      DecalLevel=2
      DecalFacing=TOP
      FilenameFormat=F-4B_67\pacusnvf151 71\D\f
      Position=-2.38,-1.56
      Rotation=14.0
      Scale=0.50
      DecalMaxLOD=4
      [Decal027]
      MeshName=rudder
      DecalLevel=2
      DecalFacing=RIGHT
      FilenameFormat=F-4B_67\pacusnvf151 71\D\fpr
      Position=-7.17,2.18
      Rotation=0.0
      Scale=0.3
      DecalMaxLOD=4
      [Decal028]
      MeshName=rudder
      DecalLevel=2
      DecalFacing=LEFT
      FilenameFormat=F-4B_67\pacusnvf151 71\D\fpl
      Position=-7.17,2.18
      Rotation=0.0
      Scale=0.3
      DecalMaxLOD=4
      [Decal029]
      MeshName=wing_right_outer
      DecalLevel=0
      DecalFacing=TOP
      FilenameFormat=F-4B_67\pacusnvf151 71\D\NL
      Position=4.90,-1.7
      Rotation=-37.5
      Scale=2.0
      DecalMaxLOD=3
    • 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?



×

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