Menu

#15 PreCache entities from file using cvar.

Exp_(E-line)
open
None
5
2003-04-26
2003-01-21
Anonymous
No

ServerActivate( ) is hooked in dll.cpp (this command is
called right before the .res files are read) and in turn
calls a function in admin_mod.cpp. The latter will check
the cvar "amv_resfile" for the file name to read from, and
then load each entity from that file using
PRECACHE_GENERIC( ).

Discussion

  • Nobody/Anonymous

    Result of cvs diff -Bbwu dll.cpp extdll.h admin_mod.cpp on 1/21/03

     
  • Alfred Reynolds

    Alfred Reynolds - 2003-02-15

    Logged In: YES
    user_id=18453

    This looks like a good start, but shouldn't it use the right
    precahce function for models and wav files? :)

     
  • Florian Zschocke

    • assigned_to: nobody --> alfred
     

Log in to post a comment.