Precaching assets (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{tabsBar|main=gs|base=Precaching assets}} {{stub}} Assets ''must'' be precached in order to be loaded, or else they will fail to load.")
 
No edit summary
Line 2: Line 2:
{{stub}}
{{stub}}
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.

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 an NPCs, will cause the game to quit to menu.