best method too view a entity

Well currently trying to make a over the head view of a entity like
…View

… \
…Entity

Im currently looking for the best method too do this

I have been trying this method
[lua]
ply:SetViewEntity(self.base)
ply:SnapEyeAngles(Angle(0,180,0)) // Random angle too test
[/lua]

but It seems to stay in the same view no matter what I do and is no where near too what I want any suggestions are help full
thanks

put this in your entities cl_init.lua

[lua]function ENT:CalcView( ply, origin, angles, fov )
local view = {}
view.origin = origin + ply:GetForward() *-200 +Vector(0,0,150)
view.angles = ply:GetAimVector():Angle()–+Angle(0,180,0)
return view
end
[/lua]

might need some optimizing for your specific entity , but this is what i use for mine.

Thanks for your help