User-Defined Option

SCS Software ATS and ETS2 editing using ZModeler3 filter. Models, Materials, Animation.

Moderator: Oleg

Post Reply
User avatar
Harald-RS
Beginner
Posts: 332
Joined: Sun Oct 21, 2012 8:08 am
Location: Treuchtlingen / Germany

User-Defined Option

Post by Harald-RS »

Hello Oleg,

is there a meaning for these options?

Code: Select all

Flags : LVCOL
Scale: 2000,10
Would be really cool if you could create a list with these options.
Greetings
Harald
My System: PC Windows 11
User avatar
Oleg
Site Admin
Posts: 14044
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: User-Defined Option

Post by Oleg »

These options are from game materials that are not mapped onto ZModeler material settings. If they are missing, material will get default setup for them on export.

Flags - will add extra options to shader name like .lvcol in your case. Options could be:
.day = DAY
.night = NIGHT
.airbrush = AIRBRUSH
.asafew = ASAFEW
.awhite = NLIT
.lvcol = LVCOL
.linv = LINV
.fadesheet = FADE
.tm0 = UVMAT
.piko.alldir = PIKOREF
.bilb = BILLBOARD
.flat = FLAT

The "Scale" option will generate custom aux[1] value, it is used for light-specific shaders. For example, for shaders that are applied to light flare FX objects (adaptation "lamp.anim.add.env")

you can force material to have specific aux[...] entries in an exported file by creating such an option in material. for example, create an option
aux[3]
with values
0, 0.2, 5.5, 1.0
and your exported material will have
aux[3]: { 0, 0.2, 5.5, 1.0 }

Fresnel - will force material file to have a specified "Fresnel" options there. Some materials might have this option (bold) in a list and it can't be edited (as it's forced by shader itself, not by material). you can create another option Fresnel and specify desired values in it.

Type - will generate a "substance:" entry in material. for example, it could be Type with value "road" or "grass".
Post Reply