.res refuses to push .pcf

Any aspects of level design for the Source engine.

.res refuses to push .pcf

Postby Lhorkan on Sat Mar 29, 2014 8:15 am

So I made this map with flyable, fire breathing dragons, and everything works fine when you download the map from the internet. However, when you get the map from the game server, you don't get the .pcf (particles file). I have no clue why it's just the .pcf that isn't being pushed to the clients. They get all the other files.

Here's the .res:

"resources"
{
"particles/dragonfire.pcf" "file"
"particles/particles_te_dragon_havoc_b1.txt" "file"
"maps/mod_textures_te_dragon_havoc_b1.txt" "file"
"sound/dragon_attack/dragondeath2.wav" "file"
"sound/dragon_attack/firebreath3.wav" "file"
}

And yes, the .pcf file is present on the server in that location.

Did anyone else here ever have problems with .pcfs in .res files? I'm looking forward to hearing your suggestions.

EDIT: To any Googlers coming here, scroll down for the fix.
Last edited by Lhorkan on Mon Apr 07, 2014 7:14 pm, edited 1 time in total.
Lhorkan
Member
Member
 
Joined: Thu Feb 21, 2008 9:08 pm

Re: .res refuses to push .pcf

Postby jimonions on Sat Mar 29, 2014 10:16 am

I've had this same problem with gmod. The server can host the file but the client still needs to download it manually somewhere else to see particles.
I've usually uploaded to mediafire and just link it. Anyone with half a brain who can read descriptions can do it for themselves.
It sucks but that's the way it is.
User avatar
jimonions
Regular
Regular
 
Joined: Tue Feb 01, 2011 10:41 am

Re: .res refuses to push .pcf

Postby Lhorkan on Sat Mar 29, 2014 10:42 am

Ah, too bad. Thanks for the answer.
Lhorkan
Member
Member
 
Joined: Thu Feb 21, 2008 9:08 pm

Re: .res refuses to push .pcf

Postby siXMan on Sat Mar 29, 2014 9:24 pm

I might be wrong but can't you just pack it with the .bsp using pakrat?
User avatar
siXMan
Member
Member
 
Joined: Sun Nov 30, 2008 3:21 am

Re: .res refuses to push .pcf

Postby Lhorkan on Sun Mar 30, 2014 7:23 am

I tried that, it doesn't work.
Lhorkan
Member
Member
 
Joined: Thu Feb 21, 2008 9:08 pm

Re: .res refuses to push .pcf

Postby Lhorkan on Mon Apr 07, 2014 7:01 pm

Good news! A friend of mine, Wizard of Distortion, informed me that it is actually possible to include particle effects and text files in pakrat. The reason why it didn't work right away is because pakrat doesn't fix the paths for those files automatically; it keeps using the full path (which only works on your own PC) instead of making it relative. I foolishly overlooked this.

So, jim, and anyone else coming across this: add your particles .pcf and the particles manifest in pakrat, and shorten the path to just "particles" (possibly "maps" for the manifest, depending on the mod).
Lhorkan
Member
Member
 
Joined: Thu Feb 21, 2008 9:08 pm

Re: .res refuses to push .pcf

Postby jimonions on Tue Apr 08, 2014 7:26 pm

Thats odd I could've sworn I tried that before since I am aware of the file path error. Ill try it out when I've got time.
User avatar
jimonions
Regular
Regular
 
Joined: Tue Feb 01, 2011 10:41 am

Return to Hammer Editor Help

Who is online

Users browsing this forum: No registered users