Team Fortress 2

Team Fortress 2

Duplicate Particle Element Fix
2
2
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
374.885 KB
27 Mar @ 2:31pm
27 Mar @ 3:23pm
1 Change Note ( view )

Would you like to see this item officially accepted and supported in Team Fortress 2?

Yes
No thanks /
Not interested
Ask me
again later
Description
This is a fix for parent elements that exist in multiple .pcf files simultaneously.

Since the game can only cache unique names, most of these are never called. This is an issue if, for example, you wanted to make a custom ExplosionCore_MidAir by editing explosion.pcf, because it will be overwritten by what is in bigboom.pcf.

What's Changed:

item_fx.pcf:
- Removed speech_mediccall as it already exists in speechbubbles.pcf.
- Removed halloween_boss_foot_impact_customcolor as it already exists in scary_ghost.pcf (Note: the child element halloween_boss_foot_fire_customcolor in scary_ghost.pcf is also a parent element in item_fx.pcf, I did not remove it.)

halloween.pcf:
- Removed rockettrail_airstrike_line as it already exists in rockettrail.pcf
- Removed blood_decap as it already exists in blood_impact.pcf

dirty_explode.pcf:
- Removed cinefx_goldrush as it already exists in cinefx.pcf
- Removed cinefx_goldrush_burningbarrel as it already exists in cinefx.pcf

bigboom.pcf:
- Removed ExplosionCore_MidAir as it already exists in explosion.pcf

Note about explosion.pcf:
In the default explosion.pcf, there is an extra element of airburst_shockwave in ExplosionCore_MidAir. This element is not present in the dx80/other variants of the file. I included TF2's version of explosion.pcf as explosion_midair_shockwave.pcf, and removed it from explosion.pcf as I am not sure what version was intended to be in the final game.