ValveTime.co.uk | Valve News, Forums, Steam

I recently compiled a replacement for the hl2 crowbar, and to test it I changed the model inside of weapon_crowbar.txt to reflect it.

The orginal line:
"viewmodel" "models/weapons/v_crowbar.mdl"

and I changed it to this to test my new model
"viewmodel" "models/weapons/knife.mdl"

now when I start the game I get this error:
$modelname key for models/weapons/knife.mdl cannot start with a slash.
and my model never shows up in game, just blank space when I pull out the crowbar.

Anyone know why it's doing that? or What might be some possible causes so I can investigate..
Back
Top