My steps (why I think that it's a problem):
I reinstalled CS 1.6, then I placed my userconfig.cfg with cl_logofile "smiley" in cstrike folder, then I launched the game and made sure that current Spraypaint is "Smiley" in Options:
Then I started a new game and sprayed my logo on a wall. I expected to see "Smiley" spraypaint, but I saw default "lambda" spraypaint instead.
I found out that \common\Half-Life\cstrike\custom.hpk file wasn't created, so I went to Options, changed spraypaint to "skull", pressed OK, relaunched the game.
custom.hpk was generated and when I used Spraypaint I saw what I excected to see (Skull logo).
Then I executed cl_logofile "lambda" in console and tried to paint again, but I saw "Skull" logo instead of "lambda" and in Options the game said that current logo was "Lambda"
so the game doesn't update/create custom.hpk when I change cl_logofile using Console or Config files
My suggestion:
Generate "custom.hpk" every time you launch the game, right after the game reads all config files (so it'll use correct spray paint)
Regenerate "custom.hpk" every time the variable cl_logofile changes
Add hpkcreate console command (we already have hpkremove)
My steps (why I think that it's a problem): I reinstalled CS 1.6, then I placed my
userconfig.cfg
withcl_logofile "smiley"
incstrike
folder, then I launched the game and made sure that current Spraypaint is "Smiley" in Options: Then I started a new game and sprayed my logo on a wall. I expected to see "Smiley" spraypaint, but I saw default "lambda" spraypaint instead.I found out that
\common\Half-Life\cstrike\custom.hpk
file wasn't created, so I went to Options, changed spraypaint to "skull", pressed OK, relaunched the game. custom.hpk was generated and when I used Spraypaint I saw what I excected to see (Skull logo). Then I executedcl_logofile "lambda"
in console and tried to paint again, but I saw "Skull" logo instead of "lambda" and in Options the game said that current logo was "Lambda"so the game doesn't update/create custom.hpk when I change cl_logofile using Console or Config files
My suggestion:
cl_logofile
changeshpkcreate
console command (we already havehpkremove
)