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. - เกม
>Because my PC is awesome...
haha, you are making Awesome tutorials, short, helpful, good structured, and nice, and with tree supripses :D More than Exccelent work!!
@@3kliksphilip 6 years later and still awesome
hi
@@apchistuz hi, oh shit i made this comment 8 years ago 👀
@@NoVIcE_Source i presume phillip taught you well, based on the mod...
@@-._Radixerus_.- lol, for real tho, he explains so well !
Why do I love this guy's videos?
This tree is just amazing.
Your tutorials are the best tutorials. I managed to gain enough confidence thanks to your videos to start mapping, thanks so much kliksphilip (:
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!
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!
Now that's a fast tutorial! straight to the point!
You crack me up with your trees
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.
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.
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?
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"
TheLittlesackninja I see, thanks for the reply! :)
Can't load vtex_dll.dll
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
Trees and reflections
this some good shit 10/10 can't wait for fix tutorial
Thanks man, Wow your computer is very faster, I want one like you :D
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?
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?
Advanced tutorial on reflections, when ? :D
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?
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.
Thank you !
please do a video on how to do those breakable doors on nuke (metal ones) and inferno (wood ones)
Thanks!
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.
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?
my maps Looks Awesome just i need add more Cubemaps for fix some reflections :D, and to fix bad reflections you need add Lights
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?
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?
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.
"It should be like this, but slower, because my PC is awesome!"
Error reading material data "materials/maps/sousse/cubemapdefault.vtf"
how can i fix this pls was working fine untill i made a stairway ...
Tutorial on how to remove evil trees from your level?
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."
What about other source games? The camera hight for TF2 characters are 65-75 units above the ground.
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?
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?
+3kliksphilip So would other players have to do this to see the reflections or is there a way to permanently keep the reflections?
I follow your tutorials word for word and I always get this strange tree appearing in my level that kills me constantly. Hm.
Thanks, m8.
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
Is it normal for my sniper scope to not be reflecting anything? It's pure black
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.
Cool ;)
Is the process the same for CS:Source?
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 )
Nice... but i rather stick with mat_specular command so i wont have pink black checker board
Name of the floor texture?
yo 3kliksphilip
in CSGO there's no entity like that. Is it automatically made when the map compiles?
+zolika1351 There is an Entity called: env_cubemap in csgo SDK.
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.
What kind of computer build do you have?
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.
i have it in all maps from cs:go u know like "inferno, Dust 2 etc."
When I release my map to the workshop and then play the workshop version the cubemaps arent build/there. What shoud I do?
When I type in the Console.Map de_mymapsname and play the non workshop version the cubemaps are there.
Make sure that the build you released to the workshop is the build that has cubemaps.
Joseph Rivera I did.Still nothing
you must pack the cubemaps in the .bsp. you can use packrat etc.
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.
how did the tree spawn there so fast
My computer is awsome ^^
How could Philip add console commands?
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.
@@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)
now its proper ending like all we know D:
HOW CAN YOU BE CORRECTING PEOPLE AT A TIME LIKE THIS!? THE TREES ARE COMING!
You forgot to warn us for the trees
"Can't load vtex_dll.dll"
in console
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
Whats this thing about trees?
Try the Website Gamebanana you can download any types of maps and upload your own. Check it out.
Step 1: Accent
Step 2: ???
Step 3: Sexy
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..
***** 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.
Probably not. FML.
I also made the mistake trying to make reflections on displacements, stupid me.
Don't blame the trees! Maybe birches are bitches, but come on, they just wanna have fun!
I'm seriously considering calling the tree police if this doesn't stop soon.
''It should look like this, only slower 'cus my PC's awesome'' LOL
After watching the rant video it feels like you are talking in slow-motion.
i came here for the trees
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.
hello brother
I'm not going to have fun if trees are going to blow me up. :c
Give me your pc
"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
Turn it into a Source model, though your lighting isn't gonna be pretty because Source's vertex lighting is horrid.
e.e *british accent* :P
HA MINE WENT FASTER 😀
I can give you time. How much do you want? :D
I AM THE 37th YEAY
it doesn't work, i am mapping for half-life 2.