Facepunch / garrysmod-requests

Feature requests for Garry's Mod
86 stars 24 forks source link

Basic support for Infected Shader (L4D2) #2230

Open CombineSlayer24 opened 1 year ago

CombineSlayer24 commented 1 year ago

Details

I know that this is a big request but, would it be possible to add in basic support for the Infected Shader that is exclusive for the L4D2 common infected?

Support for:

These 2 shader parameters, I'm not sure if they are necessary to include?

The wounded parameters, GMod doesn't need this, just the basic parameters that will color the infected.

An addon already exists that restores shader textures with normal textures that look normal in GMod. However, this addon lacks variety, as it only includes one skin variation for the models. From what I’ve heard, it’s time-consuming to recreate or fix the L4D2 Common Infected textures to look normal in GMod.

The shader can be used for other models as well, providing developers with more variety. It’s not just limited to the Common Infected, but can be applied to other models, similar to how L4D2 provides variety with the Common Infected.

GMod

image image For L4D1 uncommon Infected, their heads remain normal as they use L4D1 head textures. For the L4D1 Fallen Infected, they can use the L4D2 fallen survivor body, the No Mercy chopper pilot body and pants. While those use the L4D1 textures, the L4D2 body uses the shaders.

Left 4 Dead 2

image L4D2 infected use 2 textures, 1 for the head and 1 for the body, while having their blood, dirt, ick and grime into sections on the base texture. Seems like it can be randomized or defined by making a VMT with defined parameters.

Base L4D2 Commons use predefined values with 8 VMTs. In contrast, The Last Stand Update randomize all of the L4D1 uncommon infected with only 1 VMT.