|
CRASHING
HALF-LIFE
see also Troubleshooting
- Poly Count Blues - Level
Design -
You can crash
Half-Life by using entities in ways
they won't tolerate.
Entities outside
the world are always a bad idea. Make sure every entity (both brush
and point type entities) is inside the world. See Level
Design.
Some entity problems
happen when the entities are activated. Other problems happen immediately
upon game startup.
Leaks
may cause entities to crash -- and even if the game runs, it may run
slowly, or do other troublesome behavior.
Under certain
conditions, Trigger_Camera
will crash the game -- for instance, if you try to use other entities
while the Camera is happening.
Trying to use
an Env_Render on an Env_Sprite
can also crash the game.
Remedies
I've been able
to fix many of these problems by moving or deleting the offending
entities. (Ditto Leak problems.)
It's a good idea
to purge things by giving your .rmf file a new name, then deleting
or relocating all the old files, to mitigate against possible corruption
across the several files that support the .rmf.
In some cases
I've given up altogether, scrapped the map. But not only can
these things be fixed, it's good to fix them, because the required
detective work makes it obvious what went wrong in the first place.
Keep at it --
mapping is hard work, full of tricks and pitfalls ... but once you
get going it's totally worthwhile.
|