Portal:Env Fire fix: Difference between revisions
| Gatelych83 (talk | contribs) m (Broken link (Delete when fixed!)) | mNo edit summary | ||
| (8 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
| {{DISPLAYTITLE: Portal - env_fire Fix}} | |||
| {{back| Portal Level Creation}} | |||
| {{stub}} | {{stub}} | ||
| The [[ | The [[env_fire]] entity is broken in Portal. There's actually a fixable reason as to why this is. | ||
| In the Source engine, the Env_fire entity looks for the particle "fire_01.pcf" to use. | In the Source engine, the Env_fire entity looks for the particle "fire_01.pcf" to use. | ||
| This contains all the necessary particles, like smoke, large/medium/small fires, etc.  | This contains all the necessary particles, like smoke, large/medium/small fires, etc. In Half-Life 2, this works fine. | ||
| However, in Portal, the fire pit particles seen at the end of the test chambers are also named "fire_01.pcf". | However, in Portal, the fire pit particles seen at the end of the test chambers are also named "fire_01.pcf". | ||
| This creates some conflicts, as the Env_fire can't find the correct particles within the Portal fire pit particle system | This creates some conflicts, as the Env_fire can't find the correct particles within the Portal fire pit particle system. | ||
| This fix tells Portal that the env_fire entity can use fire_02.pcf (the renamed fire_01.pcf from Half-Life 2). If you distribute a map with an env_fire in it, you MUST include this fix! Otherwise your map will be broken! | This fix tells Portal that the env_fire entity can use fire_02.pcf (the renamed fire_01.pcf from Half-Life 2). If you distribute a map with an env_fire in it, you MUST include this fix! Otherwise your map will be broken! | ||
| Line 14: | Line 15: | ||
| There are a few issues with the fix, however.  First, some have reported that the fire is mute (no sound).  Second, the "Fire Size" keyvalue has no effect on the ingame fire; it remains the same size no matter what value the entry has (thanks to reepblue for pointing that one out). | There are a few issues with the fix, however.  First, some have reported that the fire is mute (no sound).  Second, the "Fire Size" keyvalue has no effect on the ingame fire; it remains the same size no matter what value the entry has (thanks to reepblue for pointing that one out). | ||
| {{Note|Additionally, this bug also caused the game to crash (only in build 9530103, which upgraded {{portal|1}} to {{hl2}}'s 20th Anniversary Update version of {{src13sp|1}}), which led to Valve reverting the game back to the previous version.}} | |||
| [ | [https://myapertureinnovations.com/mal/maps/WinstonSmith/Portal%20Env_Fire%20Fix.zip Download here.] by NocturnalGhost, packaged by [[user:WinstonSmith|WinstonSmith]] | ||
| [[Category:Portal]] | [[Category:Portal]] | ||
| [[Category:Particle System]] | |||
| [[Category:Tutorials]] | |||
Latest revision as of 05:44, 25 April 2025
The env_fire entity is broken in Portal. There's actually a fixable reason as to why this is.
In the Source engine, the Env_fire entity looks for the particle "fire_01.pcf" to use. This contains all the necessary particles, like smoke, large/medium/small fires, etc. In Half-Life 2, this works fine.
However, in Portal, the fire pit particles seen at the end of the test chambers are also named "fire_01.pcf". This creates some conflicts, as the Env_fire can't find the correct particles within the Portal fire pit particle system.
This fix tells Portal that the env_fire entity can use fire_02.pcf (the renamed fire_01.pcf from Half-Life 2). If you distribute a map with an env_fire in it, you MUST include this fix! Otherwise your map will be broken!
There are a few issues with the fix, however. First, some have reported that the fire is mute (no sound). Second, the "Fire Size" keyvalue has no effect on the ingame fire; it remains the same size no matter what value the entry has (thanks to reepblue for pointing that one out).
 Note:Additionally, this bug also caused the game to crash (only in build 9530103, which upgraded Portal to
Note:Additionally, this bug also caused the game to crash (only in build 9530103, which upgraded Portal to  's 20th Anniversary Update version of Source 2013 Singleplayer), which led to Valve reverting the game back to the previous version.
's 20th Anniversary Update version of Source 2013 Singleplayer), which led to Valve reverting the game back to the previous version.Download here. by NocturnalGhost, packaged by WinstonSmith