Page 1 of 5 1 2 3 4

Search: Type: Posts; User: Wizard of Ass Search took 0.04 seconds.

  • Given this is true I really hope they ditch...

    Given this is true I really hope they ditch gamebryo.
  • SimpleDOF ist just a bunch of sprites with a...

    SimpleDOF ist just a bunch of sprites with a refraction texture, of course Bokeh looks better :v:
  • solved Post your code please, there might be other ways...

    Post your code please, there might be other ways to avoid this problem.
  • Replies
    5
    Views
    127

    http://gmodwiki.net/Lua/Libraries/system

    http://gmodwiki.net/Lua/Libraries/system
  • Replies
    1
    Views
    92

    I had that issue too, after a game restart it was...

    I had that issue too, after a game restart it was working fine again, still something that should be looked into as it really slows down developing(given it appears).
  • Never mind it was resolved.

    Never mind it was resolved.
  • Disable the default emitter drawing. Before...

    Disable the default emitter drawing.
    Before drawing it manually, push a matrix with the position and rotation of the player.
    Pop the matrix after drawing the emitter.

    That might work, not too...
  • Eventually you could just push a model matrix.

    Eventually you could just push a model matrix.
  • That'd be even worse.

    That'd be even worse.
  • I disabled voice_loopback but I guess this...

    I disabled voice_loopback but I guess this doesn't matter.
  • I am also wondering why this hook is called for...

    I am also wondering why this hook is called for the same player, eg. ply1 and ply2 being the SAME player object.

    That's pretty retarded in my opinion.
  • Replies
    16
    Views
    451

    No.

    No.
  • Replies
    18
    Views
    275

    solved Oh, I copy pasted the above code and the S seemed...

    Oh, I copy pasted the above code and the S seemed correct :v:
  • hook.Call is still being called and all that...

    hook.Call is still being called and all that shit, which is this case causes the major part in run time, this really should be treated differently.

    13th June 2013

    I'd suggest 2 things here:
    ...
  • Replies
    16
    Views
    451

    Afaik bytecode security is a really huge issue...

    Afaik bytecode security is a really huge issue thus it's disabled.
  • Replies
    18
    Views
    275

    solved timer.Simple(1, function()...

    timer.Simple(1, function() self:ActuallyCreatePortal() end)
  • Replies
    73
    Views
    1,830

    I always wondered why this hook is called so...

    I always wondered why this hook is called so rediciously often, why not just call it once a player STARTS talking?
  • Replies
    463
    Views
    21,567

    Not for people who know what they are doing I...

    Not for people who know what they are doing I assume.
  • Replies
    463
    Views
    21,567

    You'd have to implement your own system first...

    You'd have to implement your own system first that ensures new players get all the data and such.
  • solved The only reason I can think you "needing" this...

    The only reason I can think you "needing" this specific function is writing another shitty hack. :v:
  • solved I already have an idea but, what exactly you need...

    I already have an idea but, what exactly you need this for? :v:
  • Replies
    463
    Views
    21,567

    As for streams there is no method to get it's...

    As for streams there is no method to get it's length as it's a stream, I remember gm_bass working fine with mp3 files though.
  • solved Some functions are correct, others are not.

    Some functions are correct, others are not.
  • Replies
    463
    Views
    21,567

    That's p. neat, rather than nil the error code...

    That's p. neat, rather than nil the error code would be a tad better though.

    Also, when can we except util function like FFT and volume getters?

    Note about the FFT, since the FFT contains a...
  • solved You don't know how to use Lua methods, the inside...

    You don't know how to use Lua methods, the inside a function the subject is always called "self".
  • Looks like the blur shader is the problem here.

    Looks like the blur shader is the problem here.
  • Try to do. if(IsFirstTimePredicted()) then ......

    Try to do.

    if(IsFirstTimePredicted()) then ... end
  • Replies
    946
    Views
    54,338

    You can detour render.Capture and simply redirect...

    You can detour render.Capture and simply redirect it to a "clean" frame buffer.
  • Replies
    7
    Views
    367

    It's in the source SDK

    It's in the source SDK
  • My internet crashes when I try to load the...

    My internet crashes when I try to load the stream, what the hell is going on? :v:
  • Replies
    6
    Views
    229

    You should render the view to a render target put...

    You should render the view to a render target put that into a material and then render a polygon(circle) with the material applied.
  • solved Coroutines aren't threads: function...

    Coroutines aren't threads:


    function coroutine.wait( seconds )

    local endtime = CurTime() + seconds
    while ( true ) do

    if ( endtime < CurTime() ) then return end
  • Replies
    1
    Views
    167

    Before you close this thread saying this is bad...

    Before you close this thread saying this is bad or so, this is basically the same thing Javascript allows you to do in most browsers.
  • Replies
    11
    Views
    420

    You'll need to query the username via the Steam...

    You'll need to query the username via the Steam API or some other way.
  • Replies
    463
    Views
    21,567

    Yes, afaik you can also set the "speed" of the...

    Yes, afaik you can also set the "speed" of the sound (together with the local player speed) to achieve a proper Doppler effect.
  • Replies
    463
    Views
    21,567

    Bass used to play in 2D mode as long you don't...

    Bass used to play in 2D mode as long you don't set the 3D position, once you do that you cannot switch back, atleast that's how it worked last time I checked.
  • Replies
    463
    Views
    21,567

    Will PlayUrl hang the game until it got a...

    Will PlayUrl hang the game until it got a connection?

    If not please add a callback that's called on success/error.
  • I am wondering why this happens in the first...

    I am wondering why this happens in the first place, would prefer if he wouldn't have to use these hacks.
  • To be more precise, rather than updating the...

    To be more precise, rather than updating the alpha value, the renderer seems to use the previous alpha value(in that case rather than setting the alpha to 255 where the prop is is simply uses 0 from...
  • Replies
    463
    Views
    21,567

    Just saying that if you gonna implement BASS...

    Just saying that if you gonna implement BASS features, it would be really neat if you could stick the current module functionality(gm_bass maintaned by grocel).
  • Replies
    463
    Views
    21,567

    Bass is generally neat, it even has...

    Bass is generally neat, it even has streaming(recording and receiving) capabilities and stuff.

    Would it be possible to replace source's sound engine with bass by any chance?
  • Replies
    260
    Views
    7,825

    Just once thing I'd find useful personally, could...

    Just once thing I'd find useful personally, could you add a place for the complexity(run time / big O notation) of a function, this could help identifying slow downs etc.
  • Replies
    5
    Views
    142

    Old code of mine which basically does render a...

    Old code of mine which basically does render a view to a texture.


    local TEXTURE_FLAGS_CLAMP_S = 0x0004
    local TEXTURE_FLAGS_CLAMP_T = 0x0008

    local rt = GetRenderTargetEx("testRT",
    512,...
  • Replies
    5
    Views
    142

    GetRenderTargetEx is what you want to use.

    GetRenderTargetEx is what you want to use.
  • Don't send it to server, upload it to a file...

    Don't send it to server, upload it to a file server or something (using HTTP), it's much faster and has no real limitation.

    6th June 2013



    Could you eventually add a down sampling option?
  • Replies
    5
    Views
    142

    You are better off getting your own render target...

    You are better off getting your own render target rather than using the screen effect texture, be sure to also allocate a depth buffer.
  • I'd also like to say that your obfuscation will...

    I'd also like to say that your obfuscation will degrade the performance about the same amount as the readability.
  • That's the dumbest thing I heard in quite a...

    That's the dumbest thing I heard in quite a while, anyone who is decently familiar with how Lua works internally can just write a program that builds the program tree and minimizes the code and makes...
  • Honestly, that thing sucks, the code size is just...

    Honestly, that thing sucks, the code size is just ridiculous.
  • solved No, timer.Simple(1, function() for _, v in...

    No,


    timer.Simple(1, function()
    for _, v in pairs(player.GetAll()) do
    v:doStuff()
    end
    end)
  • Results 1 to 50 of 250
    Page 1 of 5 1 2 3 4