|
|
#1 |
|
Guest
Posts: n/a
|
I made some custom particles for my Team Fortress 2 map and I can't put them in the game without overwriting the particles_manifest.txt in my root tf2 folder, so that would mean that even if i packed my custom map with a /particles/ folder and a particles_manifest.txt in it then it would work for whoever downloaded the map up until they download a new custom map that modifies particles_manifest.txt
I tried to BSPZIP the custom particles_manifest.txt and it didn't work (I'm guessing either it loads the .GCF particles_manifest.txt or particles_manifest.txt is processed before the map loads (or as TF2 is loading initially) so it doesn't even acknowledge the bspzipped particles_manifest.txt I also tried naming my custom .PCF files after default TF2 .PCF files that I don't need for my map then BSPzipping them into my map to override the default .pcfs, but if the particles_manifest.txt is read before the .bsp is even loaded then nothing bspzipped will work So is there currently any way to include custom particles in a custom map without every single custom map having to fight over the same particles_manifest.txt? I thought maybe there might be some hidden function where you could have a file like <yourmapname>_particles_manifest.txt so you could specify the manifest for each map but then I figure again that the particles_manifest.txt might be processed before the .bsp is loaded into the game so if you downloaded the map from a server then the particles wouldn't work until you reset the game. I would appreciate it if a VALVe developer could comment on this issue since if what I'm assuming is true then theres no way to fix this issue without changes being made to the engine. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Here's a Valve Wiki article where the issue is discussed, it seems that maybe VALVe might already be aware of the issue but I'm not sure:
http://developer.valvesoftware.com/w...article_System |
|
|
|
#3 |
![]() Join Date: Sep 2007
Reputation: 10
Posts: 719
|
I had a similar issue with an effect I wanted to include in a Portal map a while back. I have put the idea on hold for now, but I would love to see a fix for this issue.
The problem is not limited to particles either. I wanted to make a few additions to the game_sounds_manifest file, in order to utilise a few HL2 NPCs in Portal, which has the same issues. My preferred fix would be to allow such files to be bspzipped, and to have the engine utilize them on map loading, if they exist. I'm not sure if there are any technical reasons why this can't happen though. A dirty workaround would be to include your modified version seperately, but as you said, maps would end up fighting over it, and some implementations may inadvertently break the original game, or other maps. I suppose you could also distribute your map within an installer .exe, as some installers have the ability to add lines of text to a file, rather than replacing the file completely. Again, this isn't a very good method, although it is slightly safer if done properly. I still wouldn't recommend it though, and many people wouldn't touch an exe due to the potential for mischief. |
|
|
|
|
|
#4 | |
|
Guest
Posts: n/a
|
Quote:
|
|
|
|
|
#5 |
|
Guest
Posts: n/a
|
Bump, trying to get the attention of Valve devs.
|
|
|
|
#6 |
![]() Join Date: Mar 2008
Reputation: 46
Posts: 646
|
I actually wrote some code for this, to load per-map manifests.
eta unknown
|
|
|
|
|
|
#7 | |
|
Guest
Posts: n/a
|
Quote:
Can you give any details on how this will work exactly? Because I BSPzipped a particle_manifest.txt and my .pcf files into my map (which I already released) and I was wondering if whatever the fix will be will work with the bspzipped files without any additional manifest files. Last edited by StickFigsHL2: 07-28-2008 at 11:11 PM. |
|
|
|
|
#8 |
![]() Join Date: Mar 2008
Reputation: 46
Posts: 646
|
just like soundscapes, except it would go in the particles folder like the other manifest.
ie: particles_mapname.txt and then you just place the pcf's you've made in there. also a sidenote, I should edit the wiki if it's not already on there, but when the filename has ! infront of it, it means always precache. |
|
|
|
|
|
#9 | |
|
Guest
Posts: n/a
|
Quote:
|
|
|
|
|
#10 |
![]() Join Date: Jul 2008
Reputation: 117
Posts: 286
|
|
|
|
|
|
|
#11 |
![]() Join Date: Jul 2008
Reputation: 117
Posts: 286
|
I noticed my source_sdk/tf/ folder(all the others too actually) now has a particles folder in it, does this mean embedable paticles are drawing nearer?
|
|
|
|
|
|
#12 |
![]() Join Date: Oct 2006
Reputation: 17
Posts: 1,635
|
Has this been enabled yet?
|
|
|
|
|
|
#13 |
![]() Join Date: Mar 2008
Reputation: 46
Posts: 646
|
nope. it hasn't.
|
|
|
|
|
|
#14 |
![]() Join Date: Jul 2006
Reputation: 0
Posts: 114
|
|
|
|
|
|
|
#15 |
|
Guest
Posts: n/a
|
The problem goes even deeper than THESE issues. This must be sorted out properly so that future titles can inherit new features involving custom content. Having folders and files recognized in-addition to original files is one thing, but being able to control those permissions while simplifying distribution is going to take a new approach...hopefully they're thinking about this. Of course, I already have some pretty good ideas - so I'm sure they could come up with something quite nice...re-inventing the wheel would not be required. I really really hope they're serious about working these things out in the future.
|
|
![]() |
|
||||||
| Thread Tools | |
| Display Modes | |
|
|