custom_precache

Modified

12-Jul-2023

Allows you to set 9 custom models, 9 custom sounds and 9 custom skies to be precached. Note that model and sound replacements done through model and/or sound replacement file are already precached automatically. In case 9 of either sort do not suffice for your case, create another custom_precache entity. Model path starts in Sven Co-op's directory. You should put your models into the 'models'-folder. Sound path starts in the 'sound'-folder. Creating subfolders by your map's name is advised. As for skies, it allows to additional envmaps in cause you use trigger_changevalue or trigger_copyvalue towards trigger_changesky (as default target sky in trigger_changesky is precached automatically)

Keyvalues


Model 1 model_1 : Model #1 to precache. Example path: models/myMap/myModel.mdl.

Model 2 model_2 : Model #2 to precache.

Model 3 model_3 : Model #3 to precache.

Model 4 model_4 : Model #4 to precache.

Model 5 model_5 : Model #5 to precache.

Model 6 model_6 : Model #6 to precache.

Model 7 model_7 : Model #7 to precache.

Model 8 model_8 : Model #8 to precache.

Model 9 model_9 : Model #9 to precache.

Sound 1 sound_1 : Sound #1 to precache. Example path (starts at /sounds folder): myMap/mySound.ogg.

Sound 2 sound_2 : Sound #2 to precache.

Sound 3 sound_3 : Sound #3 to precache.

Sound 4 sound_4 : Sound #4 to precache.

Sound 5 sound_5 : Sound #5 to precache.

Sound 6 sound_6 : Sound #6 to precache.

Sound 7 sound_7 : Sound #7 to precache.

Sound 8 sound_8 : Sound #8 to precache.

Sound 9 sound_9 : Sound #9 to precache.

Sky map 1 sky_1 : Sky #1. Not needed when using trigger_changesky.

Sky map 2 sky_2 : Sky #2.

Sky map 3 sky_3 : Sky #3

Sky map 4 sky_4 : Sky #4

Sky map 5 sky_5 : Sky #5

Sky map 6 sky_6 : Sky #6

Sky map 7 sky_7 : Sky #7

Sky map 8 sky_8 : Sky #8

Sky map 9 sky_9 : Sky #9