View Single Post
Re: [CZ] Changing model directory "on the fly"?
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: [CZ] Changing model directory "on the fly"? - 28-06-2005

Perhaps yes, if you hook pfnSetModel(), when you detect that the model being passed is something like "*/*/player" just concatenate the map name
Code:
sprintf (model_name, "old_model_base_path/%s/player/etc.", STRING (gpGlobals->mapname));
You see the idea?



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote