fixed? exit points sometimes being outside the map

This commit is contained in:
Blu 2017-07-19 12:18:13 +02:00
parent a6a46698a8
commit 212a9bd87b
7 changed files with 16 additions and 1 deletions

View File

@ -18,7 +18,7 @@ local function ExitUsingMyTraces( ent, ply, b_ent )
local targetpos = pos - dir * (radius + 40)
local tr = util.TraceHull( {
start = targetpos + Vector(0,0,10),
start = Center,
endpos = targetpos - Vector(0,0,10),
maxs = HullSize,
mins = -HullSize,

View File

@ -0,0 +1,6 @@
"UnLitGeneric"
{
"$basetexture" "conquest/aim_friendly"
"$vertexalpha" 1
"$vertexcolor" 1
}

Binary file not shown.

View File

@ -0,0 +1,9 @@
"UnLitGeneric"
{
"$basetexture" "conquest/energy_collector"
"$nocull" 1
"$additive" 1
"$vertexalpha" 1
"$vertexcolor" 1
"$ignorez" 1
}

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB