Valve Source Code 2013 Tutorial (Episode 24): Shader Authoring Part 4 [Adding a Dynamic Sky Effect]

Ойындар

Hello everyone and welcome to a new (probably short) series of videos I do involving the source code from Valve for Half-Life 2, and some guides on how to do stuff with this code. In this episode, I outline how to add a dynamic sky effect to a mod, which is done by compiling shaders (which is why this video is part of the Shader Authoring set of videos). There are a couple of issues with this that I don't know how to resolve, plus I have to apologize for some of the laggy gameplay that is shown in the video! Please let me know what you think and see you for whatever I decide to do next, thanks for watching!
Links:
Shader Authoring Part 1 (Either video is a prerequisite for this video): • Valve Source Code 2013... or • Valve Source Code 2013...
Guide - developer.valvesoftware.com/w...
► You can buy me a coffee to support the effort of creating videos on my new channel! -- www.buymeacoffee.com/garethth...
► My new channel: GarethTheGamer -- / @gareththegamer1

Пікірлер: 44

  • @aviitone
    @aviitone3 ай бұрын

    Source Hammer is not dead, lets gooo 🙏🔥 Thanks man, keep up the great work :)

  • @TheMaster974

    @TheMaster974

    3 ай бұрын

    Thanks for the comment, I really appreciate it!

  • @radiationwow
    @radiationwow3 ай бұрын

    I'd be really interested in how to edit the HUD elements, such as having a healthbar with textures. Thanks for the great videos.

  • @TheMaster974

    @TheMaster974

    3 ай бұрын

    Thanks for the comment, I'm not sure how to do HUD stuff at the moment so I don't think I can help you out with that right now.

  • @radiationwow

    @radiationwow

    3 ай бұрын

    @@TheMaster974 Aww dang, there's a valve wiki page about it, but it's kinda stump for someone who absolutely sucks at c++.

  • @TheMaster974

    @TheMaster974

    3 ай бұрын

    What article on the Valve Developer Wiki are you referring to? I might be able to look into it at some point and see if I can get it working, then potentially get a video done about it.

  • @RModOfficial
    @RModOfficial3 ай бұрын

    Is there a way to make hl2 beta physgun functionality like gmod?, i mean can we add e rotate and adding a grid?

  • @TheMaster974

    @TheMaster974

    3 ай бұрын

    I think it is possible, however I wouldn't know how to add it. The only Garry's Mod Physgun functionality I would know how to add is to freeze objects, but that's about it and even then, it's because someone else figured out how to do it!

  • @RModOfficial

    @RModOfficial

    3 ай бұрын

    @@TheMaster974 oh ok thx!

  • @olliewithcheese
    @olliewithcheese3 ай бұрын

    Can you try restoring houndeyes or bullsquids next please? I think it would be helpful for tons of people

  • @grubasekpl9254

    @grubasekpl9254

    3 ай бұрын

    i did get the bullsquid to work quite well, only issue i had was it shooting too low, luckly it was so simple chat gpt could help me solve it, and houndeyes, to be real im not even gonna try to fix that, not on my own at least

  • @TheMaster974

    @TheMaster974

    3 ай бұрын

    I can look into it at some point.

  • @xino446
    @xino4463 ай бұрын

    hey its me again! is there a way to trigger an cfg file through hammer? like making it so that the cfg will be executed by a trigger? thanks!

  • @TheMaster974

    @TheMaster974

    3 ай бұрын

    Yes, you would need to have a point_clientcommand entity somewhere in your level and call it whatever you want (I will call it client), then in the Outputs of the trigger entity, do something like: OnStartTouch client Command exec filename.cfg, where filename is the name of the .cfg file you want to execute. Hopefully this helps!

  • @Le_S0ulful
    @Le_S0ulful3 ай бұрын

    hey, i recently started this series, and might i say its really good, one question i have btw is, could you make a tutorial on First Person Legs? i tried to look at other tutorials but sadly it does not work for source 2013

  • @TheMaster974

    @TheMaster974

    3 ай бұрын

    Thanks for the comment and to answer your question, I could always do a video about that at some point, however if you've already followed the guide on the Valve Developer Wiki, you may want to check this guide out to get the Singleplayer animation state working for Source 2013: developer.valvesoftware.com/wiki/Fixing_the_player_animation_state_(Single_Player)#Source_2013_Fixes

  • @Daniel-vs7it
    @Daniel-vs7it3 ай бұрын

    nice

  • @user-tm2um1xj2r
    @user-tm2um1xj2rАй бұрын

    how do i created the hammer .fgd entity? i have created the file it doesnt get recognzied

  • @TheMaster974

    @TheMaster974

    Ай бұрын

    The file needs to be saved as a .fgd file, not a .txt file, and it has to be formatted correctly i.e. speech marks and brackets are in the right places. You also need to make sure you're adding the .fgd file to the appropriate Hammer configuration, then boot into that configuration for custom entities to be usable.

  • @RModOfficial
    @RModOfficial3 ай бұрын

    hello, its me again, so for some reason my source mods hl2 pistol has deal no damage to the npc, but the npc has the damage the player, how do i fix it? also my mod is mp

  • @TheMaster974

    @TheMaster974

    3 ай бұрын

    It seems as if the weapon scripts handle player damage in Source 2013 Multiplayer, have you modified any of them at all? For example, in weapon_pistol.txt, there's "damage" "8" which allows the pistol to do damage. If that doesn't help, you can always hard-code a value inside of hl2mp_gamerules.cpp, inside of the def.AddAmmoType section for the "Pistol".

  • @RModOfficial

    @RModOfficial

    3 ай бұрын

    @@TheMaster974 imma try it later, thx!

  • @RModOfficial

    @RModOfficial

    3 ай бұрын

    @@TheMaster974 Edit: ITS WORKING TY MASTER!!

  • @totterynine6772
    @totterynine67722 ай бұрын

    Oh hey, that's my skydome shader lol. No idea why they turned it into a VDC tutorial, the code quality is not great and logic is very poorly done, I didn't have much programming experience when i was making it. EDIT: it was 5 years ago. jeez time flies

  • @TheMaster974

    @TheMaster974

    2 ай бұрын

    Oh right ok, that's pretty strange...and time does definitely fly by! I think the end result looks pretty good, especially for someone with limited programming knowledge at the time. Good job and thanks for the comment!

  • @sokl_4592
    @sokl_45923 ай бұрын

    What happens if I compile the leaked source engine code (2013 or 2017)? Will some engine menu open, for example like unreal engine or unity? or will Half Life be compiled from this code? Sorry if this is a dumb question, I'm just curious.

  • @TheMaster974

    @TheMaster974

    3 ай бұрын

    I'm not quite sure what you mean, however if I'm understanding you correctly then no, nothing special would happen when you compile leaked code, dependent on what the leaked code actually contains (for example, I'm not aware of a unique menu that you have access to as a result of compiling a certain project). The most likely outcome is that you won't be able to compile some of the projects contained within the leaked code due to missing files that cannot be easily obtained. Does this make any sense?

  • @nathanroberts381
    @nathanroberts3813 ай бұрын

    Can you help to make Test Chamber Stairs Portal in Hammer Editor? I can’t make Test Chamber Stairs.

  • @TheMaster974

    @TheMaster974

    3 ай бұрын

    Sure, I can look into doing a video about that at some point in the future.

  • @nathanroberts381

    @nathanroberts381

    3 ай бұрын

    Ok

  • @user-jl2gq6co9k
    @user-jl2gq6co9k3 ай бұрын

    Hi, I'm having problems installing fack csm Can you explain in the next video?

  • @TheMaster974

    @TheMaster974

    3 ай бұрын

    I might do a video looking into that at some point.

  • @Toligon
    @Toligon3 ай бұрын

    noice

  • @grubasekpl9254
    @grubasekpl92543 ай бұрын

    hey man, what if ya made an video on how to restore the bullsquid/houndeye npc's as it is in the sdk, i did get the bullsquid to work with hls models the only issue ive encountered that it just complained when anywhere in hl2_gamerules.cpp (where i uncomented the bullsquid stuff) and in the bullsquid file itself, never did anything with relationships, only way i got it to work was when changing its relationship class and commenting back the bullsquid stuff, it complains about "undeclared identifier" if ya were wandering, btw awesome tutorials, did get me started on trying to make something

  • @grubasekpl9254

    @grubasekpl9254

    3 ай бұрын

    oh my god it was in the baseentity.h, how was i suppose to know it was in THERE, thanks valve i guess

  • @aglemod
    @aglemod3 ай бұрын

    Is there a godrays shader code?

  • @TheMaster974

    @TheMaster974

    3 ай бұрын

    I'm not aware of anything like that which is out there publicly and I wouldn't even know where to start if I was asked to add it!

  • @beniciovalina6544
    @beniciovalina65442 ай бұрын

    Hello again I'm here for an answer Can you make a tutorial for using Alien Swarm Deferred?

  • @TheMaster974

    @TheMaster974

    2 ай бұрын

    It seems to be a rather complex process, at least from what I can tell. The best thing I can recommend right now is to keep an eye on this page and hopefully it will be updated to be clearer in the future: developer.valvesoftware.com/wiki/Implementing_Deferred_lighting_into_Source_2013

  • @Toligon

    @Toligon

    2 ай бұрын

    @@TheMaster974 Hey man I am the one who made/updates that page and yeah thats going to take a while right now I am trying to isolate what was changed in the code, and alot of stuff needs to be modified, but I do mean alot of stuff, Iam pretty sure that 1/3 of viewrender.cpp's code needs to be modified and well thats just one file

  • @TheMaster974

    @TheMaster974

    2 ай бұрын

    I took a brief look into it myself and I understand how much stuff needs to be added and modified for this to work properly, I wish you the best of luck with the project!

  • @beniciovalina6544

    @beniciovalina6544

    2 ай бұрын

    @@TheMaster974 Thank you very much, I hope to be able to finish this one day, I want it to be worth it but not consume a lot of time studying. I don't want to end up like the AGS Project or like others, incomplete or put aside for something easier, especially when it's done by a single person. Greetings from Argentina.

Келесі