Precaching assets (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 3: Line 3:
Assets ''must'' be precached in order to be loaded, or else they will fail to load.
Assets ''must'' be precached in order to be loaded, or else they will fail to load.


In {{hl|1}}, for example, trying to spawn a NPCs, like [[monster_alien_slave_(GoldSrc)|Alien Slave (Vortigaunt)]] on a level which does not have an NPCs, will cause the game to quit to menu.
In {{hl|1}}, for example, trying to spawn a NPCs, like [[monster_alien_slave_(GoldSrc)|Alien Slave (Vortigaunt)]] on a level which does not have such NPCs, will cause the game to quit to menu.

Latest revision as of 20:32, 25 April 2025

Stub

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

Assets must be precached in order to be loaded, or else they will fail to load.

In Half-Life, for example, trying to spawn a NPCs, like Alien Slave (Vortigaunt) on a level which does not have such NPCs, will cause the game to quit to menu.