Jump to content

Recommended Posts

Posted

Hi Folks,

since some time TK made some great additions to the textureset.inis.

you can add randomizing decals.

As i had a look at the new entries i saw:

'DecalNumberBlockSize'

But can someone explain me, what this entrie does and how it works? :blink:

Posted (edited)

Well, if used, you no longer have to have NONE in the number.lst (which IS still necessary)

 

Here's the entries from the A-16 Attack Falcon's textureset:

 

[TextureSet]

Name=USAF Euro

Nation=USAF

Squadron=

Specular=0.400000

Glossiness=0.400000

Reflection=0.000000

StartDefaultDate=1985

DecalNumberRandomize=TRUE

DecalNumberBlockSize=100

DecalNumberStart=0

DecalNumberEnd=99

 

As I figgure, it works like this...

 

 

DecalNumberRandomize=TRUE pretty self explainatory. I assume (oh!! that word! :lol: ) this tells the game engine that it's ok to pick and mix Level 2 decals

 

DecalNumberBlockSize=100 is the total number of decals (in this case, serial numbers. This starts with the 000.tga and ends with 099. Which leads us to the next ones...

 

DecalNumberStart=0 tells the engine that 0 is the start point (as it always has been!) and

 

DecalNumberEnd=99 tells the engine that 99 is the last one

 

In-game, it'll then select from anywhere in the list, and mix them up in any order.

 

Now, what I DON'T know but assuming (-oh! that word!!) the same is true for all Level 2 decals, it now may be possible to have less than the always reccomened (by TK hisself, in the old 1stGen decals tutorial) 18. This does need testing. Example: I have 100% historic Burearu Numbers for the 6 TBFs that flew from from Midway during the battle. With the logic above, you can now tell the engine that it can pick from any of the 6, and put those decals on any aircraft in the flight

Something like this:

 

[TextureSet]

Name=VT-8 Midway Detachment

Nation=USN

Squadron=VT-8

Specular=0.4000

Glossiness=0.2000

Reflection=0.30000

DecalNumberRandomize=TRUE

DecalNumberBlockSize=6

DecalNumberStart=0

DecalNumberEnd=5

 

Me personally, I always make 18-24 (well, 26 for RAF with letters). I am the High Priest of the Temple of CYA!!

Edited by Wrench
Posted

Kevin too much info!

I know how it works with the start number etc.

I just wanted to know what the line: DecalNumberBlockSize means and effects.

This info:

DecalNumberBlockSize=100 is the total number of decals (in this case, serial numbers. This starts with the 000.tga and ends with 099. Which leads us to the next ones...

had been enough! :grin:

 

Anyway Thank you very much for the info! :drinks:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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