SCS Blender Tools 2.4.1 (unofficial update)

Post any tutorial and tools you might find it useful for other creators.
User avatar
Schumi
Posts: 2158
Joined: 13 Dec 2015 06:00
Location: Cherepovets/Russia

Re: SCS Blender Tools 2.4.1 (unofficial update)

#11 Post by Schumi » 25 Nov 2024 18:34

@Michaleczeq Thank you. I'll wait, do what you think is right.
User avatar
Schumi
Posts: 2158
Joined: 13 Dec 2015 06:00
Location: Cherepovets/Russia

Re: SCS Blender Tools 2.4.1 (unofficial update)

#12 Post by Schumi » 28 Nov 2024 07:58

@Michaleczeq Hi, the “dif.spec.amod.dif.spec” shader is giving an error after converting files through converter_pix

Is it possible to solve the problem shown in the other screenshot? Or should it be done by developers?
Attachments
Без имени-1.jpg
изображение_2024-11-28_105446788.png
User avatar
Michaleczeq
Posts: 192
Joined: 12 Dec 2013 23:02
Location: Poland, Sanok
Contact:

Re: SCS Blender Tools 2.4.1 (unofficial update)

#13 Post by Michaleczeq » 28 Nov 2024 13:45

I will check it.
For me it's looks like old pix_converter - check if you have latest update (it's from last month). Converterpix had problems with bad named attributes (eg. "amod_debal_blending_factor" instead of "aux" etc.) and I pushed fix for it, and mwl updated converter.

About "baked" shader. It's not only `eut2.baked.spec.add.env.tsnmap.day` shader. It's whole family with multiple flavors so it will takes me little longer that I expected, but I should do it.
User avatar
Schumi
Posts: 2158
Joined: 13 Dec 2015 06:00
Location: Cherepovets/Russia

Re: SCS Blender Tools 2.4.1 (unofficial update)

#14 Post by Schumi » 28 Nov 2024 14:20

@Michaleczeq Thank you! Yes I have already figured out the problem of incorrect attributes.

Found another shader, it's used on vegetation
"eut2.leaves.shadow" here's the model it's used in /model2/vegetation/bushes/hogweed_dry/hogweed1_dry.pmd

How did you solve the problem with textures that was shown in the first screenshot?
User avatar
Schumi
Posts: 2158
Joined: 13 Dec 2015 06:00
Location: Cherepovets/Russia

Re: SCS Blender Tools 2.4.1 (unofficial update)

#15 Post by Schumi » 29 Nov 2024 11:58

@Michaleczeq Hello, I found a bug in the “building.asafew.a.lvcol.day” shader
Need to replace
Attribute {
Format: FLOAT
Tag: "aux[5]"
FriendlyTag: "Luminance Boost"
Value: ( 0.0 )
}

replace with
Attribute {
Format: FLOAT2
Tag: "aux[5]"
FriendlyTag: "Luminance Boost"
Value: ( 0.0 )
}
User avatar
Michaleczeq
Posts: 192
Joined: 12 Dec 2013 23:02
Location: Poland, Sanok
Contact:

Re: SCS Blender Tools 2.4.1 (unofficial update)

#16 Post by Michaleczeq » 29 Nov 2024 19:09

How you finding all those things? :D
Looks like SCS also changed it, like they do with tg0 and tg1 flavors (from 2 to 4). Easy fix. I will fix it.

About .leaves I know for years, but I didn't adding support for it, because of problems with textures and other things. I can try to do it, but for sure not now.

And btw - I pushed yesterday some fixes and changes on git (for now without "release"), including support for (...).iamod.dif.add.env so you can test it if you need to use it, before I release it (I still want to add "baked" before second release).
User avatar
Schumi
Posts: 2158
Joined: 13 Dec 2015 06:00
Location: Cherepovets/Russia

Re: SCS Blender Tools 2.4.1 (unofficial update)

#17 Post by Schumi » 29 Nov 2024 19:43

@Michaleczeq
It's just that I'm modding real companies and there many models need to be redone and thanks to this I find bugs and new shaders

Thanks, I'll be sure to check it out
User avatar
Schumi
Posts: 2158
Joined: 13 Dec 2015 06:00
Location: Cherepovets/Russia

Re: SCS Blender Tools 2.4.1 (unofficial update)

#18 Post by Schumi » 30 Nov 2024 15:08

@Michaleczeq Hi, found another new thing, in this shader "eut2.dif.spec.weight.weight.dif.spec.weight.tsnmapcalc.tg0.tg1" added new attribute
}
Attribute {
Format: FLOAT
Tag: "lod_switch_distance"
Value: ( 0.000000 )
}
you can find it here /prefab2/depot/chemical_factory/chemical_factory_01_blkw.pmd

only it's not supported by CT
User avatar
Michaleczeq
Posts: 192
Joined: 12 Dec 2013 23:02
Location: Poland, Sanok
Contact:

Re: SCS Blender Tools 2.4.1 (unofficial update)

#19 Post by Michaleczeq » 30 Nov 2024 15:49

Problem is, that this attribute is a little bit complicated.
It is only in some specific situations (not always), and only, when you use both tg0 and tg1 flavors together, so it's not even shader attribute, but flavor attribute.
I must firstly think, how to do it properly (and if it's even possible to add it without bigger changes in tools).
And as you saw - it's not supported by CT. Latest version of CT is 2.18 made for 1.50 so it is "old". I checked (I still have materials from older versions), and that attribute not exist in 1.50 (it starts appear in 1.51).
I think, that this attribute is just that 4th unknown value in changed aux[0/1] (TexGen0/1) from tg0/tg1 flavor (it was Float2: ScaleX, ScaleY, now it is Float4: ScaleX, ScaleY, Rotation, Unused/unk).

There is more things like that e.g. aux[2] (color of texture "LOD") in "dif.spec.weight" and other shaders used only with "aliasing" (mats saved outside /automat/ dir). Hard to add them all.
User avatar
Schumi
Posts: 2158
Joined: 13 Dec 2015 06:00
Location: Cherepovets/Russia

Re: SCS Blender Tools 2.4.1 (unofficial update)

#20 Post by Schumi » 30 Nov 2024 16:06

@Michaleczeq I see, I thought it was possible. Thank you for explaining.
Post Reply

Return to “User Tutorials & Tools”

Who is online

Users browsing this forum: No registered users