Closed ghost closed 11 months ago
It's a pretty monumental task since it would have to be, pretty much all manual.
Raox2 [sunrust-zs:master] 1 new commit b429d62 Quickly run over weapon models and precache those. - Raox2
If not resolved : re-open
Not resolved, there's a lot to do.
Since loading isn't an async process, it causes hitches/micro freeze in the game's rendering thread. In zs, this happens for everything that uses a model.
Weapons View models and c_arms* World models (includes attached models) Junk pack props Props used in some projectiles Props used in some effects
Deployables Attached models (if any) Clientside props/debris
Other models used in prop_obj_sigil - props_wasteland/medbridge_post01.mdl prop_obj_exit prop_creepernest - props_wasteland/antlionhill.mdl prop_playergib
zs does have a precache function, but it doesn't cover everything the gamemode uses.
I've seen that TTT precaches weapons view and world models, and wish to see precaching in zs expanded to cover everything the gamemode uses.
developer 2 shows the following:
Client
Server
Everytime a level changes, this usually starts the loading process all over again.