Jump to content
Sign in to follow this  
Soulfreak

Question about imprvements in the textureset.ini

Recommended Posts

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:

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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:

Share this post


Link to post
Share on other sites

Now, what I DON'T know but assuming (-oh! that word!!)

 

please refer to my signature. :lol:

Share this post


Link to post
Share on other sites

My pleasure! I wasn't sure what was known or not!

 

DA -- :lol::rofl::good::drinks:

Edited by Wrench

Share this post


Link to post
Share on other sites

That kind of info should be put into the kb, just sayin'

Share this post


Link to post
Share on other sites

It will be .. I'm just behind on a LOT of things

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
Sign in to follow this  

×

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