mirror of
https://github.com/CapsAdmin/pac3.git
synced 2025-03-04 03:03:01 -05:00
added default sphere model (thanks madness) to replace the default model (hoverball)
This commit is contained in:
parent
3f074e3505
commit
d62bf3e0f6
@ -14,6 +14,9 @@ if SERVER then
|
||||
add_files("pac3/editor/client/")
|
||||
|
||||
include("pac3/editor/server/init.lua")
|
||||
|
||||
-- for the default models
|
||||
resource.AddWorkshop("104691717")
|
||||
end
|
||||
|
||||
if CLIENT then
|
||||
|
@ -39,7 +39,11 @@ function pace.OnCreatePart(class_name, name, desc, mdl)
|
||||
end
|
||||
|
||||
if desc then part:SetDescription(desc) end
|
||||
if mdl then part:SetModel(mdl) end
|
||||
if mdl then
|
||||
part:SetModel(mdl)
|
||||
elseif class_name == "model" then
|
||||
part:SetModel("models/pac/default.mdl")
|
||||
end
|
||||
|
||||
local ply = LocalPlayer()
|
||||
|
||||
|
10
materials/pac/default.vmt
Normal file
10
materials/pac/default.vmt
Normal file
@ -0,0 +1,10 @@
|
||||
"VertexlitGeneric"
|
||||
{
|
||||
"$BaseTexture" "models\debug\debugwhite"
|
||||
"$BumpMap" "dev\bump_normal"
|
||||
|
||||
"$Phong" 1
|
||||
"$PhongBoost" 2
|
||||
"$PhongExponent" 5
|
||||
"$PhongFresnelRanges" "[0 0.5 1]"
|
||||
}
|
BIN
models/pac/default.dx80.vtx
Normal file
BIN
models/pac/default.dx80.vtx
Normal file
Binary file not shown.
BIN
models/pac/default.dx90.vtx
Normal file
BIN
models/pac/default.dx90.vtx
Normal file
Binary file not shown.
BIN
models/pac/default.mdl
Normal file
BIN
models/pac/default.mdl
Normal file
Binary file not shown.
BIN
models/pac/default.phy
Normal file
BIN
models/pac/default.phy
Normal file
Binary file not shown.
BIN
models/pac/default.sw.vtx
Normal file
BIN
models/pac/default.sw.vtx
Normal file
Binary file not shown.
BIN
models/pac/default.vvd
Normal file
BIN
models/pac/default.vvd
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user