13 lines
302 B
Lua
13 lines
302 B
Lua
|
INC_CLIENT()
|
||
|
|
||
|
function SWEP:ViewModelDrawn()
|
||
|
render.ModelMaterialOverride(0)
|
||
|
render.SetColorModulation(1, 1, 1)
|
||
|
end
|
||
|
|
||
|
local matSheet = Material("Models/Barnacle/barnacle_sheet")
|
||
|
function SWEP:PreDrawViewModel(vm)
|
||
|
render.ModelMaterialOverride(matSheet)
|
||
|
render.SetColorModulation(0.16, 0.3, 0.12)
|
||
|
end
|