Jump to content

Cached Weather File


Go to solution Solved by Didz,

Recommended Posts

Posted

Hello!

 

Some time ago, I was given advice on how to create proper weatherzones. However, when I load the map I get the following message in the console:

 

( Cached weather file "maps/yavin3.weather" out of date, regenerating... )

 

I'm assuming I've missed a step. I'd just like to know what I can do to stop this irritating piece of yellow text from popping up every time I load my map. :)

 

Any help would be greatly appreciated!

  • Solution
Posted

That message should only appear if your map has changed since the last time it was loaded (the map's checksum is different). Are you sure this is happening on every load?

Posted

You're right, it does. I've been compiling frequently to test camera angles and things so it just seemed like it was something that would be a persistent nuisance. Thank you!

Posted

The .weather file is compiler-dependent as it saves out structures directly, instead of serializing them in a portable manner. Don't include the .weather file in your pk3 as it could cause problems if you run it on other platforms.

 

EDIT: Raven seems to have distributed .weather files in the base assets, but I think this is an oversight in platform portability.

AngelModder likes this

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...