mirror of
https://github.com/HaodongMo/ARC-9.git
synced 2025-03-04 03:02:58 -05:00
flir not detect map volumetric thing
This commit is contained in:
parent
374ce31c42
commit
5024edaef1
@ -132,8 +132,7 @@ function SWEP:GetEntityHot(ent)
|
||||
if !ent.ARC9_ColdTime then ent.ARC9_ColdTime = CurTime() + coldtime end
|
||||
return ent.ARC9_ColdTime > CurTime()
|
||||
end
|
||||
|
||||
if ent:IsVehicle() or ent:IsOnFire() or ent.ArcCW_Hot or ent:IsScripted() and !ent:GetOwner():IsValid() then -- arccw_hot for compatibillity
|
||||
if ent:IsVehicle() or ent:IsOnFire() or ent.ArcCW_Hot or ent:IsScripted() and !ent:GetOwner():IsValid() and ent:EntIndex() > 0 then -- arccw_hot for compatibillity
|
||||
return true
|
||||
end
|
||||
|
||||
|
@ -344,7 +344,8 @@ function SWEP:DoRTScope(model, atttbl, active)
|
||||
if sd > 0.5 then render.SetToneMappingScaleLinear(vec1) end
|
||||
|
||||
rtsurf:SetTexture("$basetexture", rtmat)
|
||||
rtsurf:SetFloat("$rot", self.ViewModelAng.z - sightzang)
|
||||
rtsurf:SetFloat("$rot", ((atttbl.RTScopeShadowIntensity or 0) > 1 or atttbl.RTCollimator) and self.ViewModelAng.z - sightzang or 0)
|
||||
|
||||
-- rtsurf:SetMatrix("$basetexturetransform", Matrix({{1, 0, 0, 0}, {0, 1, 0, 0}, {0, 0, 1, 0}, {0, 0, 0, 1}}))
|
||||
|
||||
-- model:SetSubMaterial()
|
||||
|
Loading…
Reference in New Issue
Block a user