Portal:Env Fire fix: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(being a grammar nazi today. sorry XD)
Line 11: Line 11:
Had any been placed during development, this problem would have been dealt with far before Portal was released.
Had any been placed during development, this problem would have been dealt with far before Portal was released.


This fix tells portal that the env_fire entity can use fire_02 (a renamed fire_01 from half life 2). If you distribute a map with an env_fire in it, you MUST include this fix! Otherwise your mapwill be broken!
This fix tells portal that the env_fire entity can use fire_02 (a renamed fire_01 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!


==Env_fire Fix==
==Env_fire Fix==

Revision as of 09:06, 29 January 2010

Stub

This article or section is a stub. You can help by expanding it.

Broom icon.png
This article or section needs to be cleaned up to conform to a higher standard of quality.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.

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 is further complicated by the absence of any Env_fires in the original Portal. Had any been placed during development, this problem would have been dealt with far before Portal was released.

This fix tells portal that the env_fire entity can use fire_02 (a renamed fire_01 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!

Env_fire Fix

Env_fire fix by NocturnalGhost, packaged by WinstonSmith