Compare commits
32 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e935ded4a8 | ||
|
|
435412f16f | ||
|
|
0059fcb97a | ||
|
|
edfc5e33f4 | ||
|
|
f2bccfaf29 | ||
|
|
f0e11c0474 | ||
|
|
0b1c2603c4 | ||
|
|
4df13b090c | ||
|
|
4bb3ac5aa8 | ||
|
|
8c4773c401 | ||
|
|
83e9c75176 | ||
|
|
5e77d6654c | ||
|
|
8103cf5e6b | ||
|
|
8530944323 | ||
|
|
b5ee1b7558 | ||
|
|
1e4755bf1a | ||
| 89a4d16c56 | |||
| 8ef8b03197 | |||
| c51a56ef16 | |||
| 40bfb1be3b | |||
| a0a37d6f99 | |||
| a8ea812275 | |||
| 75a9ebf678 | |||
| a42079565c | |||
| 7a8ea44d92 | |||
| 3464c67f75 | |||
| ae6c454892 | |||
| 0ead073ea9 | |||
| 17dd135360 | |||
| 65e6d9b2bc | |||
| a1f396d7fb | |||
| 89d6713ed1 |
17
hak/HakBuilder.cmd
Normal file
@ -0,0 +1,17 @@
|
||||
@echo off
|
||||
REM ============================
|
||||
REM Build .hak files from folders
|
||||
REM ============================
|
||||
|
||||
REM Path to nwhak.exe (adjust if needed)
|
||||
REM set NWHak="nwhak.exe"
|
||||
|
||||
REM Loop through all subfolders in current directory
|
||||
for /d %%F in (*) do (
|
||||
echo Building %%F_v30.hak from folder %%F ...
|
||||
nwhak.exe "%%F_v30.hak" "%%F"
|
||||
)
|
||||
|
||||
echo.
|
||||
echo Done! All .hak files have been created.
|
||||
pause
|
||||
BIN
hak/nwhak.exe
Normal file
6
hak/nwhak.ini
Normal file
@ -0,0 +1,6 @@
|
||||
[Application]
|
||||
State=0
|
||||
Top=1
|
||||
Left=1
|
||||
Height=450
|
||||
Width=330
|
||||
BIN
hak/sf_cre_mdls2/d_fox001.dds
Normal file
BIN
hak/sf_cre_mdls2/d_fox001.mdl
Normal file
17
hak/sf_cre_mdls2/d_fox001.mtr
Normal file
@ -0,0 +1,17 @@
|
||||
// Shaders
|
||||
customshaderVS vslit_sm_nm
|
||||
customshaderFS fs_plt_hair
|
||||
|
||||
renderhint NormalTangents
|
||||
|
||||
// Textures
|
||||
texture0 d_fox001
|
||||
texture1 d_fox001_n
|
||||
texture2 d_fox001_s
|
||||
texture3 null
|
||||
texture4 null
|
||||
texture5 null
|
||||
|
||||
|
||||
transparency 1
|
||||
twosided 1
|
||||
2
hak/sf_cre_mdls2/d_fox001.txi
Normal file
@ -0,0 +1,2 @@
|
||||
blending punchthrough
|
||||
alphamean 0.9
|
||||
BIN
hak/sf_cre_mdls2/d_fox001_n.dds
Normal file
BIN
hak/sf_cre_mdls2/d_fox001_s.dds
Normal file
BIN
hak/sf_cre_mdls2/d_fox002.dds
Normal file
BIN
hak/sf_cre_mdls2/d_fox002.mdl
Normal file
16
hak/sf_cre_mdls2/d_fox002.mtr
Normal file
@ -0,0 +1,16 @@
|
||||
// Shaders
|
||||
customshaderVS vslit_sm_nm
|
||||
customshaderFS fs_plt_hair
|
||||
|
||||
renderhint NormalTangents
|
||||
|
||||
// Textures
|
||||
texture0 d_fox002
|
||||
texture1 d_fox001_n
|
||||
texture2 d_fox001_s
|
||||
texture3 null
|
||||
texture4 null
|
||||
texture5 null
|
||||
|
||||
transparency 1
|
||||
twosided 1
|
||||
2
hak/sf_cre_mdls2/d_fox002.txi
Normal file
@ -0,0 +1,2 @@
|
||||
blending punchthrough
|
||||
alphamean 0.9
|
||||
BIN
hak/sf_cre_mdls2/d_fox003.dds
Normal file
BIN
hak/sf_cre_mdls2/d_fox003.mdl
Normal file
16
hak/sf_cre_mdls2/d_fox003.mtr
Normal file
@ -0,0 +1,16 @@
|
||||
// Shaders
|
||||
customshaderVS vslit_sm_nm
|
||||
customshaderFS fs_plt_hair
|
||||
|
||||
renderhint NormalTangents
|
||||
|
||||
// Textures
|
||||
texture0 d_fox003
|
||||
texture1 d_fox001_n
|
||||
texture2 d_fox001_s
|
||||
texture3 null
|
||||
texture4 null
|
||||
texture5 null
|
||||
|
||||
transparency 1
|
||||
twosided 1
|
||||
2
hak/sf_cre_mdls2/d_fox003.txi
Normal file
@ -0,0 +1,2 @@
|
||||
blending punchthrough
|
||||
alphamean 0.9
|
||||
24796
hak/sf_cre_mdls2/d_fox01.mdl
Normal file
42
hak/sf_cre_mdls2/fs_plt_hair.shd
Normal file
@ -0,0 +1,42 @@
|
||||
/*=============================================================================
|
||||
fs_plt_hair.shd
|
||||
=============================================================================*/
|
||||
|
||||
#define SHADER_TYPE 2
|
||||
|
||||
#define LIGHTING 1
|
||||
#define FOG 1
|
||||
#define KEYHOLING 1
|
||||
|
||||
#define NORMAL_MAP 1
|
||||
#define SPECULAR_MAP 1
|
||||
#define ROUGHNESS_MAP 1
|
||||
#define HEIGHT_MAP 0
|
||||
#define SELF_ILLUMINATION_MAP 1
|
||||
#define ENVIRONMENT_MAP 1
|
||||
|
||||
#include "inc_standard"
|
||||
|
||||
uniform float fAlpha;
|
||||
void main ()
|
||||
{
|
||||
FragmentColor = vec4(1.0);
|
||||
SetupStandardShaderInputs();
|
||||
float fAlphaFromTexture = texture2D(texUnit1, vTexCoords.xy).a;
|
||||
if (fAlpha == 0.0){
|
||||
if (fAlphaFromTexture < 0.2)
|
||||
{
|
||||
discard;
|
||||
}
|
||||
ApplyStandardShader();
|
||||
gl_FragColor = vec4(FragmentColor.rgb, fAlphaFromTexture);
|
||||
}
|
||||
else{
|
||||
if (fAlphaFromTexture < fAlpha)
|
||||
{
|
||||
discard;
|
||||
}
|
||||
ApplyStandardShader();
|
||||
gl_FragColor = vec4(FragmentColor.rgb, fAlphaFromTexture);
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 165 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 2.2 MiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 96 KiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 96 KiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 96 KiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 96 KiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 12 MiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 818 KiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 12 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 4.0 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 12 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 438 KiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 255 KiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 4.0 MiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 12 MiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 12 MiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 4.0 MiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 4.0 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 12 MiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 105 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 156 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 576 KiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 900 KiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 900 KiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 384 KiB |
|
Before Width: | Height: | Size: 4.0 MiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 12 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 384 KiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 12 MiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 625 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 12 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 384 KiB |
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 732 KiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 116 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 116 KiB After Width: | Height: | Size: 48 KiB |