Pakrat is messing chromed stuff!

Avatar
Jade2k8
25 Posts
Posted May 22, 2012
Howdy everyone, im new to this world since the release of the PeTI DLC, and I made my own maps and then polished with Hammer.

My second map features the explosive weighted cube shared by Macgto (yep, thoses avaible on the download section)
I' ve been working on implementing custom stuff on my .bsp but it seems that pakrat is messing somehow my maps, by turning into white every cromed material on the level.

What i exactly do is just adding the missing custom resources (models & materials) to my bsp, save it, and then upload it to workshop to make sure it runs correctly (private visibility actually, do not want to release it until it's finished and tested)

Then i subscribe to my own map, run it and...this is what i find :sad:

img
img

It shouldn't be white! What happened? Am I doing something wrong? Is it pakrat's doing or is something wrong with steam's workshop?

Advertisement
Registered users don’t see ads! Register now!
Avatar
josepezdj
2,386 Posts
Posted May 22, 2012
Replied 29 minutes later
I don't think that really has to do with pakrat. Have you placed any env_cubemaps entities in your level? Looks like your props missed their reflections... Try to build cubemaps after compiling your map, then there will be a cubemaps information file inside the bsp...
Avatar
Jade2k8
25 Posts
Posted May 22, 2012
Replied 27 minutes later
I will check my map again later once i return from job.
Anyway,it should be done by default since it's a map made from PeTI and modified with hammer... i don't understand quite well why do i have to care about cubemaps if i touch my bsp with pakrat.
Avatar
josepezdj
2,386 Posts
Posted May 22, 2012
Replied 26 minutes later
Well, as no one complained about that before, I guess your issue is not normal. I don't really know how the PTI maps are treated to be frank. Maybe the cubemaps are stored somewhere outside the bsp... I hope someone with more experience with PTI maps help you better... Good luck.
Avatar
Lpfreaky90
2,842 Posts
Posted May 22, 2012
Replied 49 minutes later
Have you re-named your map after you pakrat-ed it?
Cubemaps generate textures with the name of the map in it.
For example if your map is called map1 in the pti the cubemap would have a name something like map1/cubemap/1234567*.
If you rename your map to map2, it will search for map2/cubemap/1234567, but it isn't there, since the cubemap textures didn't get re-named.

So long story short:
Don't re-name your map after you pakrat!

*this is not the real path, but an easy to understand alternative :wink:

Avatar
Jade2k8
25 Posts
Posted May 22, 2012
Replied 8 minutes later
Yep, you nailed it! Thanks a lot, i was getting mad about this >.<.
As you wondered, it was just because I renamed my repacked bsp as something else to avoid overriding the original file.
Avatar
Lpfreaky90
2,842 Posts
Posted May 22, 2012
Replied 8 minutes later

Jade2k8 wrote:
Yep, you nailed it! Thanks a lot, i was getting mad about this >.<.
As you wondered, it was just because I renamed my repacked bsp as something else to avoid overriding the original file.

The best way to avoid this is backup your map to a random folder like your desktop and then pakrat the other one.

GLaD I could help :smile:

Advertisement
Registered users don’t see ads! Register now!
Avatar
josepezdj
2,386 Posts
Posted May 22, 2012
Replied 5 hours later

Jade2k8 wrote:
Yep, you nailed it! Thanks a lot, i was getting mad about this >.<.
As you wondered, it was just because I renamed my repacked bsp as something else to avoid overriding the original file.

Damn, I never supposed that you would have done that! Ofc that was the first step to check out... But anyway I knew that issue was caused because of missing cubemaps...