You can try http://python.eventscripts.com/pages/Es.precachemodel
Maybe even make a cfg file with all the models and have it pulled
Maybe even make a cfg file with all the models and have it pulled
Code:
def es_map_start(event_var):
for filename in downloadables:
es.stringtable('downloadables', filename)
for skin in skins:
es.precachemodel(_mdlstr(skin['model']))
def _mdlstr(model):
if model[:7] != 'models/':
model = 'models/'+model
if model[-4:] != '.mdl':
model = model + '.mdl'
return model
Posts: 573 Joined: Jan 2010
Reputation:
2,024
