Skip to content

Commit

Permalink
Add new missile wire texture by ghosteh
Browse files Browse the repository at this point in the history
  • Loading branch information
thecraftianman committed Apr 14, 2024
1 parent 1abea8f commit f5329ea
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lua/acf/entities/guidance/wire_mclos.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ else
LastFired.GuidanceData:SnapRope(LastFired)
end

self.Rope = constraint.CreateKeyframeRope(Vector(), 0.1, "cable/cable2", nil, self.Source, self.InPos, 0, Missile, self.OutPos, 0)
self.Rope = constraint.CreateKeyframeRope(Vector(), 0.1, "acf/core/wire", nil, self.Source, self.InPos, 0, Missile, self.OutPos, 0)
self.Rope:SetKeyValue("Width", 0.1)
end

Expand Down
9 changes: 9 additions & 0 deletions materials/acf/core/wire.vmt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"UnlitGeneric"
{
"$basetexture" "acf/core/wire"
"$basetexturetransform" "center 0 0 scale 1 10 rotate 0 translate 1 0"
"$nocull" 1
"$MinLight" 1
"$MaxLight" 1
"$additive" 1
}
Binary file added materials/acf/core/wire.vtf
Binary file not shown.

0 comments on commit f5329ea

Please sign in to comment.