Sign in to follow this  
aCesSpRo

Cod4 server maps formats

Recommended Posts

Hi again :)

 

How can the server load the bsp map, for instance what needs to be "done" for the server to reach the function CM_LoadMapData_LoadObj(name),

last line of function CM_LoadMapData(const char*name)?

 

It think useFastFile->boolean appears to be always true?

 

This function is in src/cm_load.c

 

Thanks!

 

void __cdecl CM_LoadMapData(const char *name)
{
  if ( useFastFile->boolean )
  {
    CM_LoadMapData_FastFile(name);
  return;
  }
  CM_LoadMapData_LoadObj(name);
 
}

Share this post


Link to post
Share on other sites

For some developing stuff you can load raw files only I believe. That is set with the dvar. I doubt that is even working in CoD4X server. Probably not practical too.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this