Source SDK - Adding reflections to your map - BASIC

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.ค. 2024
  • For use in Source based games, such as CSGO, Left 4 Dead and TF2. I discuss env_cubemaps and how to get them to work.
    For advanced help with cubemaps, see the below video:
    • Source SDK - Adding re...
    0:00 - How to add them in Hammer
    0:21 - Once in-game
    0:43 - After compiling
    Check out my channels:
    ● 3kliksphilip: / 3kliksphilip
    ● 2kliksphilip: / 2kliksphilip
    ● kliksphilip: / kliksphilip
    Other information you might like:
    ● Website: 3kliksphilip.com
    ● Twitter: / 3kliksphilip
    ● PC Specs: Intel 3770K, 16 GB RAM, Geforce 670 2 GB.
  • เกม

ความคิดเห็น • 106

  • @SupaDupaSneike
    @SupaDupaSneike 10 ปีที่แล้ว +80

    >Because my PC is awesome...

  • @NoVIcE_Source
    @NoVIcE_Source 10 ปีที่แล้ว +53

    haha, you are making Awesome tutorials, short, helpful, good structured, and nice, and with tree supripses :D More than Exccelent work!!

    • @the_mycicle827
      @the_mycicle827 3 ปีที่แล้ว

      @@3kliksphilip 6 years later and still awesome

    • @apchistuz
      @apchistuz ปีที่แล้ว

      hi

    • @NoVIcE_Source
      @NoVIcE_Source ปีที่แล้ว

      @@apchistuz hi, oh shit i made this comment 8 years ago 👀

    • @-._Radixerus_.-
      @-._Radixerus_.- ปีที่แล้ว

      @@NoVIcE_Source i presume phillip taught you well, based on the mod...

    • @NoVIcE_Source
      @NoVIcE_Source ปีที่แล้ว

      @@-._Radixerus_.- lol, for real tho, he explains so well !

  • @mig1983
    @mig1983 7 ปีที่แล้ว +19

    Why do I love this guy's videos?
    This tree is just amazing.

  • @Vindex4566
    @Vindex4566 9 ปีที่แล้ว +6

    Your tutorials are the best tutorials. I managed to gain enough confidence thanks to your videos to start mapping, thanks so much kliksphilip (:

  • @KarasawaL30
    @KarasawaL30 11 ปีที่แล้ว +6

    Since the new update, do this to build cubemaps.
    1. open console.
    2. sv_cheats 1
    3. mat_specular 0
    4. mat_hdr_level 0
    5. buildcubemaps
    6. re-open the map (don't just retry, you have to re-load it)
    7. mat_hdr_level 2
    8. buildcubemaps
    9. mat_specular 1
    After turning specular back on, you should be able to see the fruits of your cubemappy labor. Apparently an issue with the updated BSP compiler messed normal cubemap building in the 2013 tools. Hope this helps anyone!

  • @Asterisk135
    @Asterisk135 11 ปีที่แล้ว +4

    Now that is a good answer. I'm one of those people that always watches to the end of videos (unless they are intolerably bad) so it never actually occurred to me that people wouldn't finish them. Thanks for taking the time to respond!

  • @PoweredDiamond
    @PoweredDiamond 11 ปีที่แล้ว

    Now that's a fast tutorial! straight to the point!

  • @LecrazyMaffe
    @LecrazyMaffe 11 ปีที่แล้ว +1

    You crack me up with your trees

  • @vissova
    @vissova 11 ปีที่แล้ว +3

    I believe he placed a trigger_once inside the tunnel that
    spawned the tree model. Then he used another trigger_once
    to trigger the explosions and possibly a trigger_hurt. You
    can find tutorials for all of these.

  • @TheLittlesackninja
    @TheLittlesackninja 9 ปีที่แล้ว +4

    Quick tip: You can open up your Half-Life2 "autoexec" config file and add the commands to that so whenever it launches it will build the cubemaps (or run any other commands you want), This could save quite a bit of time.

    • @Colata367
      @Colata367 9 ปีที่แล้ว

      TheLittlesackninja Thanks! Also, is this meant to be done when the map is complete or near finished? Does it automatically update the cubemaps when you edit the map?

    • @TheLittlesackninja
      @TheLittlesackninja 9 ปีที่แล้ว

      COLATA I do this every "major" compile, such as when I build a new area or when I give it to someone to playtest. No you will have to do this everytime you compile, although it might be possible to just copy old cubemaps and place them in the bsp using pakrat, but it would probably be slower unless you have lots of cubemaps. Also you do not need to exit on some source engine games for cubemaps to work. If you are mapping for hl2 (Possibly others) you need to delete the default cubemaps in the bsp using pakrat and then in game type "mat_specular 0" in console, then "buildcubemaps" then "mat_specular 1"

    • @Colata367
      @Colata367 9 ปีที่แล้ว

      TheLittlesackninja I see, thanks for the reply! :)

  • @flirth
    @flirth 7 ปีที่แล้ว +19

    Can't load vtex_dll.dll

    • @melglb123
      @melglb123 6 ปีที่แล้ว +11

      launch CS:GO with -insecure launch option
      I recommend creating a desktop icon with this launch option as you cannot connect to VAC Secured server with this:
      Target: "C:\Program Files (x86)\Steam\Steam.exe" -applaunch 730 -insecure

  • @bloodsuckern
    @bloodsuckern 11 ปีที่แล้ว

    Trees and reflections
    this some good shit 10/10 can't wait for fix tutorial

  • @SuperMrmine
    @SuperMrmine 11 ปีที่แล้ว

    Thanks man, Wow your computer is very faster, I want one like you :D

  • @sei-core
    @sei-core 8 ปีที่แล้ว +1

    Can somebody help me? I'm having some trouble. When I'm compiling my map, then build the cubemaps in console (as shown in the video, exactly. Yes, I did the 2 commands, building_cubemaps 1 and buildcubemaps. And yes, sv_cheats is 1) nothing really happens in-game. No reflections, no clue of any cubemap. I even tried if I can see the cubemaps working with giving the weapon_cubemap, but each ball was black or normal, without reflections. I tried making a new map with only cubemap purposes, but still nothing. I have set my graphics to the highest as possible. I'm running on Half-Life 2 Episode 2. I'll try to run this map on Half-Life 2, not ep2, and see if it works.
    Also, after running the map, the console says "Creating default cubemaps for env_cubemap using skybox sky_day01_01...". Maybe this influences it?
    Any suggestions?

  • @thefoolishgmodcube2644
    @thefoolishgmodcube2644 7 ปีที่แล้ว +1

    I did all the steps, I placed the cubemaps in the middle of dark areas 64 units above ground, compiled it to hdr, set sv_cheats 1, building_cubemaps 1 and buildcubemaps in the same order, quitted and came back to the game, loaded the map, and it's still not doing anything, I'm mapping for a Half-Life 2 mod, what should I do?

  • @cinecodegames
    @cinecodegames 11 ปีที่แล้ว +1

    Advanced tutorial on reflections, when ? :D

  • @LaptopGameMan
    @LaptopGameMan 8 ปีที่แล้ว

    Hey mate, Im just wondering, cuz I haven't found anything helpful in Google. How to add your own custom skybox into your csgo map?

  • @loafman1831
    @loafman1831 8 ปีที่แล้ว

    I know this is an old video but I'm gonna give it a shot anyway. I"m making a map in episode 2, and I have a cube maps placed 64 unites above the ground and all that stuff. I load my map, type in those commands, and still get no reflective surfaces. Help please.

  • @Welshe
    @Welshe 11 ปีที่แล้ว

    Thank you !

  • @supafranc
    @supafranc 11 ปีที่แล้ว

    please do a video on how to do those breakable doors on nuke (metal ones) and inferno (wood ones)

  • @fighter2499
    @fighter2499 2 หลายเดือนก่อน

    Thanks!

  • @AnimationStationS
    @AnimationStationS 11 ปีที่แล้ว

    Aren't cubemaps broken for some of the earlier source games as of now? I haven't checked them again to see if they've been fixed, so sorry if I'm wrong.

  • @TheCrimsonSeven
    @TheCrimsonSeven 11 ปีที่แล้ว

    How would I go about sharing a map of mine? (for a game without workshop, say, Ep2) Would sharing it mean the other person has to build the cubemaps?

  • @SuperMrmine
    @SuperMrmine 11 ปีที่แล้ว +1

    my maps Looks Awesome just i need add more Cubemaps for fix some reflections :D, and to fix bad reflections you need add Lights

  • @nubnubbud
    @nubnubbud 11 ปีที่แล้ว

    let's assume I have a great map shape in the form of a wavefront .obj. how would I use it as the terrain for a map in SDK?

  • @nubnubbud
    @nubnubbud 11 ปีที่แล้ว

    I have a feeling the physics would be just as bad, and it would be pretty laggy, I feel. are there other programs I could import the mesh into, then export as an sdk mesh? and what is SDK's mesh filetype?

  • @yomimitsune
    @yomimitsune 11 ปีที่แล้ว

    I really hope that person working on parallax corrected cubemaps for Source will eventually release their work by the time the advanced reflections tutorial is out.
    Or maybe that's just wishful thinking.

  • @williscraft7425
    @williscraft7425 3 ปีที่แล้ว +1

    "It should be like this, but slower, because my PC is awesome!"

  • @baazaouimahdi9390
    @baazaouimahdi9390 8 ปีที่แล้ว

    Error reading material data "materials/maps/sousse/cubemapdefault.vtf"
    how can i fix this pls was working fine untill i made a stairway ...

  • @PolskiZeGreatViking
    @PolskiZeGreatViking 11 ปีที่แล้ว +2

    Tutorial on how to remove evil trees from your level?

  • @starlight_garden
    @starlight_garden 8 หลายเดือนก่อน

    Valve DC wiki:
    "Todo: Document building_cubemaps cvar. Seems to disable bloom while HDR is enabled? No apparent function in SDR mode. It resets to 0 after cubemaps are built."

  • @Tumbolisu
    @Tumbolisu 11 ปีที่แล้ว

    What about other source games? The camera hight for TF2 characters are 65-75 units above the ground.

  • @Maxjk0
    @Maxjk0 10 ปีที่แล้ว

    do you have to always do a buildcubemaps EVERY time you compile your map, or is it just whenever you change somthing that you will see ingame?

    • @Maxjk0
      @Maxjk0 10 ปีที่แล้ว

      so if you went back in and updated your map to change the settings on something that you wouldnt see in-game (like a bombsite), you would still need to run buildcubemaps?

    • @EagleVision5251
      @EagleVision5251 8 ปีที่แล้ว

      +3kliksphilip So would other players have to do this to see the reflections or is there a way to permanently keep the reflections?

  • @Sly94
    @Sly94 11 ปีที่แล้ว +1

    I follow your tutorials word for word and I always get this strange tree appearing in my level that kills me constantly. Hm.

  • @TheCrimsonSeven
    @TheCrimsonSeven 11 ปีที่แล้ว

    Thanks, m8.

  • @TheCat333
    @TheCat333 11 ปีที่แล้ว

    Hi, I am making a map for csgo and i am starting to add detail to it so props and things. When i compile the map the props are VERY dark or its the shadow. To try to resolve this i added cubemaps but did nothing, HELP :s

  • @pedropauli5018
    @pedropauli5018 9 ปีที่แล้ว

    Is it normal for my sniper scope to not be reflecting anything? It's pure black

  • @Tumbolisu
    @Tumbolisu 11 ปีที่แล้ว

    you have to use the hammer.exe or the hammer.bat in your games bin folder.
    at least thats what i have to do with tf2, as the sdk is no longer beeing updated for it.

  • @cinecodegames
    @cinecodegames 11 ปีที่แล้ว

    Cool ;)

  • @mafz5645
    @mafz5645 4 ปีที่แล้ว

    Is the process the same for CS:Source?

  • @TheNamd
    @TheNamd 11 ปีที่แล้ว

    Ma again, I don't know who to ask. My map worked perfectly then I added few props, ropes ... And compiled it again and when I run it stops loading map on " Loading resources " and exit game with message " Failed to start a game ( app already running )

  • @solarflare8669
    @solarflare8669 7 ปีที่แล้ว

    Nice... but i rather stick with mat_specular command so i wont have pink black checker board

  • @TioRata
    @TioRata 6 ปีที่แล้ว

    Name of the floor texture?

  • @purab9
    @purab9 4 ปีที่แล้ว +1

    yo 3kliksphilip

  • @zolika1351
    @zolika1351 8 ปีที่แล้ว

    in CSGO there's no entity like that. Is it automatically made when the map compiles?

    • @jericho7527
      @jericho7527 8 ปีที่แล้ว

      +zolika1351 There is an Entity called: env_cubemap in csgo SDK.

    • @zolika1351
      @zolika1351 8 ปีที่แล้ว

      Shamed Hat Yeah, sorry, it's just that Hammer always decides to remove an entity from the entity list and then add it in when I relaunch it, but remove another one.

  • @Addictivemeh
    @Addictivemeh 11 ปีที่แล้ว

    What kind of computer build do you have?

  • @adood101
    @adood101 11 ปีที่แล้ว

    Its a god-mode cheat. It allows you to take damage, but prevents you from having less than 1 HP.
    It was originally from/in/for Half Life 2.

  • @towiebairecenzje4936
    @towiebairecenzje4936 8 ปีที่แล้ว

    i have it in all maps from cs:go u know like "inferno, Dust 2 etc."

  • @NickDerMitHut
    @NickDerMitHut 7 ปีที่แล้ว

    When I release my map to the workshop and then play the workshop version the cubemaps arent build/there. What shoud I do?

    • @NickDerMitHut
      @NickDerMitHut 7 ปีที่แล้ว

      When I type in the Console.Map de_mymapsname and play the non workshop version the cubemaps are there.

    • @medicindisquise4271
      @medicindisquise4271 7 ปีที่แล้ว

      Make sure that the build you released to the workshop is the build that has cubemaps.

    • @NickDerMitHut
      @NickDerMitHut 7 ปีที่แล้ว

      Joseph Rivera I did.Still nothing

    • @111BAUER111
      @111BAUER111 6 ปีที่แล้ว

      you must pack the cubemaps in the .bsp. you can use packrat etc.

  • @Asterisk135
    @Asterisk135 11 ปีที่แล้ว

    Right. First off, I love your videos. I thinks they're informative, funny and just damn useful. Plus, I learned how to use Hammer from them. What I can't understand is why they need to be so short. I almost cried when I saw your rope one. One minute in and it ends saying that there's an "Advanced Rope Tutorial". Frankly, it's a bit like Valve releasing Half Life 2 but only the first chapter, and then making the rest DLC. If your tutorials weren't ABSOLUTELY PERFECT, I'd be annoyed. But I'm not.

  • @kakburkmedlingon
    @kakburkmedlingon 11 ปีที่แล้ว

    how did the tree spawn there so fast

  • @UndeadNymphe
    @UndeadNymphe 11 ปีที่แล้ว +3

    My computer is awsome ^^

  • @gampixi
    @gampixi 11 ปีที่แล้ว

    How could Philip add console commands?

  • @r0nii_
    @r0nii_ 4 ปีที่แล้ว

    you said will take longer because your pc is awesome. on my computer i make my cubemap much faster and i have medium gaming pc since 2013.

    • @r0nii_
      @r0nii_ 4 ปีที่แล้ว

      @@3kliksphilip i compiled map and made cubemaps again. its was so fast somelike like your computer. maybe a little bit smaller.
      my map: steamcommunity.com/sharedfiles/filedetails/?id=1899550714&revision=1
      also maybe you can make tutorial how to use pakrat? for the new players because you made custom sounds/models/textures and i haven't seen on your channel pakrat tutorial. (or other program like that)

  • @theChramoX
    @theChramoX 11 ปีที่แล้ว

    now its proper ending like all we know D:

  • @sothisishowitreallyends
    @sothisishowitreallyends 11 ปีที่แล้ว

    HOW CAN YOU BE CORRECTING PEOPLE AT A TIME LIKE THIS!? THE TREES ARE COMING!

  • @alexadros2311
    @alexadros2311 11 ปีที่แล้ว

    You forgot to warn us for the trees

  • @codenamewolf1358
    @codenamewolf1358 6 ปีที่แล้ว +3

    "Can't load vtex_dll.dll"
    in console

    • @melglb123
      @melglb123 6 ปีที่แล้ว +2

      launch CS:GO with -insecure launch option
      I recommend creating a desktop icon with this launch option as you cannot connect to VAC Secured server with this:
      Target: "C:\Program Files (x86)\Steam\Steam.exe" -applaunch 730 -insecure

  • @robeomega
    @robeomega 11 ปีที่แล้ว

    Whats this thing about trees?

  • @TheCat333
    @TheCat333 11 ปีที่แล้ว

    Try the Website Gamebanana you can download any types of maps and upload your own. Check it out.

  • @NotExplosive
    @NotExplosive 11 ปีที่แล้ว +3

    Step 1: Accent
    Step 2: ???
    Step 3: Sexy

  • @lukabrasi001
    @lukabrasi001 9 ปีที่แล้ว

    For some reasons, Cubemaps don't work for me. No shine or anything. Not even my scope reflect the stuff that it's supposed to. I followed your steps so I don't know what could had gone wrong..

    • @FakeTheRealLoL
      @FakeTheRealLoL 9 ปีที่แล้ว

      ***** Well same happens to me, I set sv_cheats - build_cubemaps 1 - buildcubemaps, and after that, close the map, reopen it, nothing has changed from the start. I have placed serveral cubemaps over water, and where people spawn in my map.

    • @FakeTheRealLoL
      @FakeTheRealLoL 9 ปีที่แล้ว

      Probably not. FML.

    • @FakeTheRealLoL
      @FakeTheRealLoL 9 ปีที่แล้ว

      I also made the mistake trying to make reflections on displacements, stupid me.

  • @SuperDubCraft
    @SuperDubCraft 11 ปีที่แล้ว

    Don't blame the trees! Maybe birches are bitches, but come on, they just wanna have fun!

  • @ethosaur
    @ethosaur 11 ปีที่แล้ว

    I'm seriously considering calling the tree police if this doesn't stop soon.

  • @seancreedon4399
    @seancreedon4399 8 ปีที่แล้ว

    ''It should look like this, only slower 'cus my PC's awesome'' LOL

  • @disownedpear
    @disownedpear 11 ปีที่แล้ว

    After watching the rant video it feels like you are talking in slow-motion.

  • @TheMessengersCree
    @TheMessengersCree 11 ปีที่แล้ว

    i came here for the trees

  • @CryptB
    @CryptB 11 ปีที่แล้ว

    Not to my knowledge. Your best bet it to just recreate it in Hammer. that way it can be properly optimized and with as few glitches as possible.

  • @lewisdfra98
    @lewisdfra98 11 ปีที่แล้ว

    hello brother

  • @vissova
    @vissova 11 ปีที่แล้ว

    I'm not going to have fun if trees are going to blow me up. :c

  • @sripatiranjansamajpati8704
    @sripatiranjansamajpati8704 6 ปีที่แล้ว +1

    Give me your pc

  • @achromatopsium903
    @achromatopsium903 3 ปีที่แล้ว

    "because my pc is awesome"
    Intel 3770K, Geforce 670 2GB
    christ, its 2020 and my pc has an i7 8700K with an RTX 2060 S

  • @CryptB
    @CryptB 11 ปีที่แล้ว

    Turn it into a Source model, though your lighting isn't gonna be pretty because Source's vertex lighting is horrid.

  • @Jean-sanson
    @Jean-sanson 11 ปีที่แล้ว

    e.e *british accent* :P

  • @Nightmare__-tt2lx
    @Nightmare__-tt2lx 5 ปีที่แล้ว

    HA MINE WENT FASTER 😀

  • @real2rek
    @real2rek 11 ปีที่แล้ว

    I can give you time. How much do you want? :D

  • @Bartol35
    @Bartol35 11 ปีที่แล้ว

    I AM THE 37th YEAY

  • @MrTNT6000
    @MrTNT6000 8 ปีที่แล้ว +1

    it doesn't work, i am mapping for half-life 2.