Please bear in mind that there is -no- circle drawing functions in Gmod Lua, so I'm having to write these myself from scratch. Luckily I've written algorithms to do this before, but it does mean that Lua is working rather hard to generate even a simple filled circle at the moment.
As for point to point stuff, if we can find a way of using the rope textures on screen without the v1 texture glitch (the texture dissapears when the STOOL isn't in your hands) then I can do that - however, at the moment I'm getting the core functionality down first.
Additionally, if we're talking about, say, a waypoint line, that would require a series of vector3's (world coords), quickly making the number of inputs on the SENT huge, so I'll probably limit things like this (polygon, polyline, texture polyline, so forth) which require a high number of inputs to a single array-access input, same as memory access, but one memory input per entity on screen.
Wow, my explanations suck... - but suffice to say, I've already got this on the wishlist
As for the E2 function stuff, TomyLobo is right - its impossible, mainly because of E2 running serverside, and the 3d->2d function being in the cleintside libs - but ignoring that, consider an E2 on a multiplayer server - who's camera/screen would the E2 function use to resolve the position? if it gets the wrong one, the output is meaningless, and would be just a random point on someone's screen :/
When you use the world coordinates mode for v1, but haven't hooked up the position inputs (either the vector, or the world_x,y, and z inputs) the HUD draws at (0,0,0) - the origin in the map, hence being 'out in space' - it doesnt know where to draw yet, so uese 0 for all ordinates.
Yup - although this could be a bug with the vector input in world coordinate mode - can someone check this? I'm away from my dev/gaming machine at the moment (away on work) so cannot check myself - thanks.
Additionally, working does make my dev time limited occasionally - I was at work from 11am 'till 1:20am the next day yesterday, so please be patient if I dont update randomly for a few days at a time.
Oh! And thanks for using my codeIts always good to see new people in the thread


LinkBack URL
About LinkBacks


Its always good to see new people in the thread 



Reply With Quote



Bookmarks