Killing Floor

Killing Floor

28 ratings
Making Reskins Glow (aka Neon)
By Kuebic
So you made reskins. Want to make them glow?
   
Award
Favorite
Favorited
Unfavorite
Preface
I'm going to be brief and direct as possible. This guide assumes you know how to:
  • Export/Import textures from the KF SDK
  • Edit exported textures
  • Use edited skins

If you do not, then find a guide that teaches you that I made a guide for you.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=346479495

Moving onward...

Note: click on pictures to enlarge them
Video Presentation
Create the Neon
For examples, notice KF neon skins has two textures for both weapons and characters.
  • The DIFFUSED(normal)
  • The EMISSIVE(neon)

The alpha for each file is important, as the alpha channel for the DIFFUSED file indicates what will be sleek and shiny while the alpha channel for the EMISIVE file indicates what will glow neon.

Name
Normal
Alpha Channel
AK47 DIFFUSED
65
AK47 EMISSIVE
Gitte
40
DJ DIFFUSED
Sussie
19
DJ EMISSIVE
Sussie
19

To check/edit alpha layer in photoshop:


When saving, make sure it is at least DXT3 compression and alpha information is saved.
Combine in KF SDK
Import the textures into a package

Create combiners and shaders

Before:


File > New
Properties
Environmental Combiner
Setting up the glares
Normal Combiner
Reskins are usually done here... but we want to make it glow
Neon Shader
LET IT GLOW!!!

After:


Note: Material #2 for the first Combiner is always
TexEnvMap'KF_Weapons_Trip_T.reflection.weapon_reflection_env'
Publish
To use reskinned characters, locate the correct character's .upl file in your ...killingfloor/system folder and redirect the BODYSKIN= and sometimes FACESKIN= (depends on the character) to the shader of your package.

In all honesty, I'm still trying to figure out the best way to use the neon weapons reskins. How I got them to work was follow this tutorial[forums.tripwireinteractive.com] to replace weapon skins by the mutator method. But since it pollutes clients' files... I'm trying to find a better method.

Use the SHDR texture on weapons and characters and enjoy glowing reskins



6 Comments
Kuebic  [author] 29 Nov, 2014 @ 10:07am 
Kamikaze: I updated the Publish section to explain more clearly. Hope it helps :)
SleepingF0x 28 Nov, 2014 @ 3:34pm 
como que põe skin me expliquem
Kuebic  [author] 27 Nov, 2014 @ 10:22am 
.upl files are for characters only. To replace weapons, the simplest thing to do is replace the actual texture file, but that comes with some huge limitations, such as if the weapons doesn't use a skinref, you can only get it to reference the _cmb, not the _shdr (which does the glowing... so the weapon won't glow). Also, it won't allow you to join any multiplayer games due to "mismatch error" (your texture file being different). So short answer, this process is not recommended.

The answer is with mutators. http://forums.tripwireinteractive.com/showthread.php?t=85581 This is a crude code to replace weapon skins, as many puts it, corrupting clientside, but it works better than the previous method.
Awzymandeeyus 27 Nov, 2014 @ 9:36am 
I have a question, what do I replace in the .upl file if I am changing the skin for the AK47?
Kuebic  [author] 24 Nov, 2014 @ 3:10pm 
Thanks FluX. I know I can do better... just needs more time. Thus the limited visibility as of now...
[Fs]FluX 21 Nov, 2014 @ 2:51am 
Probably explain in a much more detailed way for people but nice pictures.