16 lines
393 B
Lua
16 lines
393 B
Lua
|
include("shared.lua")
|
||
|
|
||
|
CLASS.Icon = "zombiesurvival/killicons/skeletal_walker"
|
||
|
CLASS.IconColor = Color(255, 0, 0)
|
||
|
|
||
|
local matSkin = Material("Models/Barnacle/barnacle_sheet")
|
||
|
function CLASS:PrePlayerDraw(pl)
|
||
|
render.SetColorModulation(1, 0, 0)
|
||
|
render.ModelMaterialOverride(matSkin)
|
||
|
end
|
||
|
|
||
|
function CLASS:PostPlayerDraw(pl)
|
||
|
render.SetColorModulation(1, 1, 1)
|
||
|
render.ModelMaterialOverride()
|
||
|
end
|