Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 … 10 11 12 13 14 … 18 Next »
3D Cam, Positioning Problem
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
3D Cam, Positioning Problem
28-10-2015, 06:44 PM, (This post was last modified: 28-10-2015, 06:44 PM by Destiny's Player.)
#3
Destiny's Player Offline
A passing by member
***
Posts: 237
Threads: 35
Joined: Dec 2013
RE: 3D Cam, Positioning Problem
Here's the way I did something akin to that with an emitter. Needs some tweaking and might be a crutch, but it works.

hook("render","render",function()
if Resources[100] ~= 1 then
PosX = 15*math.cos(math.rad(Owner:ang()[2]))
PosY = 15*math.sin(math.rad(Owner:ang()[2]))
if Resources[2]>=(Resources[1]/2) then
HPCol = {10,100,10}
elseif Resources[2]>=(Resources[1]/8) then
HPCol = {100,70,10}
else
HPCol = {150,10,10}
end
Alert = 1
render.start3D2D(Owner:pos()+Vector(PosX,PosY,60),Angle(0,Owner:ang()[2]-90,90),0.05)
render.clear()
if Page == 1 then
mainMenu()
elseif Page == 2 then
tacticalMenu()
end

render.end3D2D()
end
end)
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
3D Cam, Positioning Problem - by TheOneAndOnlyTee - 28-10-2015, 02:03 PM
RE: 3D Cam, Positioning Problem - by Person8880 - 28-10-2015, 05:45 PM
RE: 3D Cam, Positioning Problem - by Destiny's Player - 28-10-2015, 06:44 PM
RE: 3D Cam, Positioning Problem - by TheOneAndOnlyTee - 28-10-2015, 11:49 PM
RE: 3D Cam, Positioning Problem - by Destiny's Player - 29-10-2015, 11:27 AM
RE: 3D Cam, Positioning Problem - by TheOneAndOnlyTee - 29-10-2015, 01:19 AM
RE: 3D Cam, Positioning Problem - by TheOneAndOnlyTee - 29-10-2015, 11:38 AM
RE: 3D Cam, Positioning Problem - by Destiny's Player - 29-10-2015, 11:42 AM
RE: 3D Cam, Positioning Problem - by Person8880 - 29-10-2015, 06:24 PM
RE: 3D Cam, Positioning Problem - by TheOneAndOnlyTee - 29-10-2015, 06:30 PM
RE: 3D Cam, Positioning Problem - by Person8880 - 29-10-2015, 07:46 PM
RE: 3D Cam, Positioning Problem - by TheOneAndOnlyTee - 30-10-2015, 01:21 AM
RE: 3D Cam, Positioning Problem - by Person8880 - 30-10-2015, 06:31 PM

  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.