1. Post #1
    noforgivin's Avatar
    December 2009
    600 Posts
    I have recently looked for video tutorials and found them to be somewhat bad most of the time. So i decided i'd have a crack myself using proper tools and proper resolutions.

    So I've made a tutorial that even your Gran could follow :) Enjoy.

    I do honestly think it looks best on 720p, maybe that's just me.
    Part 1.
    Part 2.
    Part 3.

    Well i hope someone likes this :)
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Informative Informative x 4 (list)

  2. Post #2
    Gold Member
    antid2's Avatar
    August 2008
    640 Posts
    i haven't finished even part one yet, but this is quite a good way, i like these kind of tutorials, and for more beginners i'm sure this is perfect, hands on.

    Good job.
    Reply With Quote Edit / Delete Reply United States Show Events Friendly Friendly x 1 (list)

  3. Post #3
    noforgivin's Avatar
    December 2009
    600 Posts
    :) thanks sir. I will now make more.

  4. Post #4
    Steins;Gate SUCKS
    Dave_Parker's Avatar
    October 2008
    4,994 Posts
    I had fun seeing you make errors in your code then seeing when you would notice.

    Also people have been making more innovative stuff lately.
    Reply With Quote Edit / Delete Reply Netherlands Show Events Agree Agree x 1 (list)

  5. Post #5
    noforgivin's Avatar
    December 2009
    600 Posts
    Hehe dave, It's real life bro.

    Ok what is wanted next.

    Full Derma Guide

    OR

    Emit Sound Tut

    OR

    Making Images for Source

  6. Post #6
    Gold Member
    antid2's Avatar
    August 2008
    640 Posts
    Also.

    If you want random fireworks not on a console command. you could do
    local trace = Vector(math.random(0,4000),math.random(0,4000),4000)
    

    and at the bottom of the function
    timer.Create("firewrk", 0.1, 0, fireworks)
    
    i know it's simple, but it's actually pretty cool, hook this on a umsg or something and it'd be a nice feature :)

    Edit:
    Also, i think you shouldn't do tutorials on those, those things you can easily find on the wiki, specially the full derma guide, not that i have any suggestions, but something difficult and not ordinary would by cool :)
    Reply With Quote Edit / Delete Reply United States Show Events Useful Useful x 1 (list)

  7. Post #7
    noforgivin's Avatar
    December 2009
    600 Posts
    Ok antid thanks for the comments.

    What about creating a HUD with images?

  8. Post #8
    Gold Member
    antid2's Avatar
    August 2008
    640 Posts
    hmm, sounds a bit easy, but kind of cool. what about..hmm...a simple chat? redone, not just chat commands but a re-designed...I haven't looked too far into it. but for the most part i see functions for it.

    Gamemode.OnPlayerChat
    Chat.AddText


    OR, perhaps a mdl placement?
    http://www.facepunch.com/showthread.php?t=767282
    thats a hat maker, but maybe make a tutorial how to put an object or model rather on a players head or body part.

  9. Post #9
    noforgivin's Avatar
    December 2009
    600 Posts
    Hehe, believe it or not it's also a learning curve for me as im using this to teach myself too.

  10. Post #10
    Gold Member
    antid2's Avatar
    August 2008
    640 Posts
    ah :) okay haha hmm ill tink of some stuff, but it's 4am i g2g bed, if you want to add me to steam "antid2351" you can and il give you some ideas
    Reply With Quote Edit / Delete Reply United States Show Events Optimistic Optimistic x 1 (list)

  11. Post #11
    noforgivin's Avatar
    December 2009
    600 Posts
    Added thanks.

  12. Post #12
    I HAVE AN UNUSUALLY SMALL PENIS AND MY POSTS ARE TERRIBLE
    Whitefox08's Avatar
    June 2008
    3,061 Posts

    Thanks,
    Thats all I have to say
    Reply With Quote Edit / Delete Reply United States Show Events Funny Funny x 1 (list)

  13. Post #13
    Steins;Gate SUCKS
    Dave_Parker's Avatar
    October 2008
    4,994 Posts
    Could use a stencil tutorial.
    Reply With Quote Edit / Delete Reply Netherlands Show Events Agree Agree x 2Disagree Disagree x 1 (list)

  14. Post #14
    I HAVE AN UNUSUALLY SMALL PENIS AND MY POSTS ARE TERRIBLE
    Whitefox08's Avatar
    June 2008
    3,061 Posts
    http://www.facepunch.com/showthread.php?t=878986
    You cant find it when its three fourms down?
    :saddowns:
    Reply With Quote Edit / Delete Reply United States Show Events Agree Agree x 1 (list)

  15. Post #15
    Steins;Gate SUCKS
    Dave_Parker's Avatar
    October 2008
    4,994 Posts
    Yes I did read that, unfortunately I couldn't make heads or tails of it. Video tutorial would be nicer.

  16. Post #16
    noforgivin's Avatar
    December 2009
    600 Posts
    Well i can't too much sense of it .. but meh.. Tonights video is planned. (GMT)

  17. Post #17
    I'm Better Than You
    Handsome Matt's Avatar
    August 2008
    5,494 Posts
    Nice work :)

    Beginner tutorials on derma and other beginner crap would be great.
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Optimistic Optimistic x 1 (list)

  18. Post #18
    noforgivin's Avatar
    December 2009
    600 Posts
    Yeh ok iR, One is uploading Naow!

    300th post. Woot
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Optimistic Optimistic x 1 (list)

  19. Post #19
    Gold Member
    nicatronTg's Avatar
    July 2009
    4,698 Posts
    Thanks, just did the entire tutorial, however some suggestions:

    Render future videos exactly like you did part 2, the other ones were unreadable, so I ended up hyper coding the whole thing in side by side windows while you talked.

    Edit: Can you tell me what the shit is wrong with this:

    function firework()
    
    	local trace = LocalPlayer():GetEyeTrace():HitPos
    	local emt = ParticleEmitter(trace)
    	
    	for i=1, 300 do
    		local party = emt:Add("sprites/light_glow02_add", trace)
    		
    		if party then
    			party:SetColor(math.random(25,50), math.random(25,50), math.random(25,50), math.random(50,255))
    			party:SetVelocity(Vector(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000)):GetNormal() * 1500)
    			party:SetDieTime(5)
    			party:SetLifeTime(0)
    			party:SetStartSize(600)
    			party:SetEndSize(0)
    		end
    	end
    emt:Finish()
    end
    
    concommand.Add("shootfire", firework)
    
    function snowday()
    	timer.Stop("fuller")
    	
    	local emt2 = ParticleEmitter(Vector(0,0,400))
    		timer.Create("fuller", 0.1, 0, function()
    		for i=1, 1000 do
    			local snowparty = emt2:Add("particle/snow",LocalPlayer():GetPos() + Vector(0,0,1000))
    			snowparty:SetVelocity(Vector(math.random(-700,700),math.random(-700,700),math.random(-300,-100)))
    			snowparty:SetDieTime(4)
    			snowparty:SetStartAlpha(0)
    			snowparty:SetEndAlpha(255)
    			snowparty:SetStartSize(5)
    			snowparty:SetEndSize(math.random(0,3))
    			snowparty:SetColor(255,255,255)
    			snowparty:SetRoll(math.random(0,360))
    			end
    		end)
    	emt2:Finish()
    end
    
    function sunny()
    
    timer.Destroy("fuller")
    
    end
    
    concommand.Add("startsnow", snowday)
    concommand.Add("endsnow", sunny)
    

    I used everything like you said except different names, and I get this in console if I try to load it:
    Code:
    ] lua_openscript autorun/firework.lua
    Running script autorun/firework.lua...
    autorun/firework.lua:4: function arguments expected near 'local'
    In addition, that breaks the rest of it.
    Reply With Quote Edit / Delete Reply United States Show Events Dumb Dumb x 1 (list)

  20. Post #20
    Gold Member
    antid2's Avatar
    August 2008
    640 Posts
    local trace = LocalPlayer():GetEyeTrace():HitPos
    
    should be
    local trace = LocalPlayer():GetEyeTrace().HitPos 
    
    Reply With Quote Edit / Delete Reply United States Show Events Agree Agree x 1 (list)

  21. Post #21
    Gold Member
    DarkSpider's Avatar
    July 2006
    816 Posts
    Do a derma guide. People need to start defining custom panels rather than making a giant function that creates their vgui stuff.
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Agree Agree x 1 (list)

  22. Post #22
    noforgivin's Avatar
    December 2009
    600 Posts
    Do a derma guide. People need to start defining custom panels rather than making a giant function that creates their vgui stuff.
    Hehe, errrr, i do that.

    Teach me how? Then i will teach the rest.

  23. Post #23
    Gold Member
    nicatronTg's Avatar
    July 2009
    4,698 Posts
    local trace = LocalPlayer():GetEyeTrace():HitPos
    
    should be
    local trace = LocalPlayer():GetEyeTrace().HitPos 
    
    Ah, thanks. I was under the impression that : == .

  24. Post #24
    noforgivin's Avatar
    December 2009
    600 Posts
    Yeh I had that error and was like "erm, facepunch how do I do this ;)" and I did get an answer. I love to see peoe helping other people out and it's why I do these.videos, helping out the little people =}

  25. Post #25
    infinitywrai's Avatar
    December 2007
    539 Posts
    This will be useful for many people, hope to see more tutorials like this in the future!

  26. Post #26
    Gold Member
    nicatronTg's Avatar
    July 2009
    4,698 Posts
    Yeh I had that error and was like "erm, facepunch how do I do this ;)" and I did get an answer. I love to see peoe helping other people out and it's why I do these.videos, helping out the little people =}
    Code:
    ] startsnow
    autorun/firework.lua:26: attempt to call global 'ParticleEmitter' (a nil value)
    ] stopsnow
    Unknown command: stopsnow
    ] shootfire
    autorun/firework.lua:3: attempt to call global 'LocalPlayer' (a nil value)
    ] shootfire
    autorun/firework.lua:3: attempt to call global 'LocalPlayer' (a nil value)
    Could you post your code so that we can make sure that we didn't make stupid mistakes? >_>

  27. Post #27
    noforgivin's Avatar
    December 2009
    600 Posts
    Don't put it in autorun put it in autorun/client

  28. Post #28
    aualin's Avatar
    April 2007
    439 Posts
    Code:
    ] startsnow
    autorun/firework.lua:26: attempt to call global 'ParticleEmitter' (a nil value)
    ] stopsnow
    Unknown command: stopsnow
    ] shootfire
    autorun/firework.lua:3: attempt to call global 'LocalPlayer' (a nil value)
    ] shootfire
    autorun/firework.lua:3: attempt to call global 'LocalPlayer' (a nil value)
    Basically you put it in autorun, so it runs on the server. The functions ParticleEmitter and LocalPlayer does not exist on the server.

    The solution is to run it on the client, for example by putting it in autorun/client