A WAC file is a collection of commands and scripts (lines of text) that override in-map commands and scripts made during creation, modification or editing. A WAC file is basically a text file, so, in the MED (mission editor) go under tools and open up the WAC... if there isn't one, then the editor makes one with the map's file name and the extension .wac instead of a regular text file extension .txt. From that point onward, you have a WAC file to work with.

WAC files can be opened, edited and saved with a text editor such as notepad. But it's important to make sure its created by the MED, named the same as your other map files and located in the same place as your other map files... it won't work otherwise. Here are a couple scripts I usually use in my WAC files.The Text or Consol Script (yes, I know consol is spelled wrong... acknowledge and move on dude) just makes messages appear on the game screen at certain times. the // are lines where you can make notes or whatever. if a line has // then it will be disregarded by the game and not show up on the game screen. The red color text you can change, but the other text you cannot. Why? It's the formatted text or language that is needed for the game.

The Incremental Accuracyspread Script produces the difficulty for the map's AI characters. Since a WAC file can be edited with a text editor such as notepad, you can easily adjust the settings without the MED. Here's what mine look like in my DFX2 Black Ops Mod Maps:

Dave 61 has an extensive WAC script collection. You can cut/paste and customize. Even though the title says DFX & DFX2, WAC scripts are WAC scripts and work in many Novalogic games and subsequent mods such as the Joint Ops Advanced Warfare2 Mod.

Specifically, your weather script is a replacement of the word "rain" with "snow". So, here's the way that I would create a wac file specific to the map that I am working on.

1. Open your map in the MED (map editor) and look at the menu choices (file, edit, tools, page, info).

2. Click the "tools menu" and choose "open mission wac!". Since you probebly do not have a wac file yet, it asks you permission to create one.

Say your editing a mis file named of "aw2_m5_bubba.mis" (not the map name that is a separate thing and could be entirely different). When you click "open mission wac!" and you do not have a wac file yet, a blank wac file is created using your text editor (usually windows notepad). The wac is automatically named the same as your other map files and stored in the same location. For example, in the Joint Ops AW2 folder:

aw2_m5_bubba.bmsaw2_m5_bubba.logaw2_m5_bubba.misaw2_m5_bubba.wac

The wac file pops up, but is blank. In order to save it, you need to put something there. Type at least one letter or number (I usually type "p" or "placeholder" Close the wac file and when asked to save it, click ok.

Now you can just go into the Joint Ops AW2 folder and open the wac file directly -- without having to open the MED first and clicking tools and choosing "open mission wac!".

Ok, so now you have a black wac file sitting in front of you with the word "placeholder". When you cut/paste the below wac code script or insert any new wac code script, make sure that you delete "placeholder" and save your new work... not "save as", but "save".

=============================================

if never() then // start rainfall and fast-moving cloudssnow(75)overcast(70,30)skyspeed(80)endif

=============================================

Here is the breakdown of what things mean. Anything after "//" are notes that will be excluded and ignored by the wac process. For example, I could have wrote the notation like this;

// Bubba feels rain and sees fast moving clouds

Now a wac script code always begins with an "if statement" and ends with "endif" -- thus we see in this wac script code;

if never() thenendif

The blank parentheses"()" simply means "value" -- in the above line it has no value. However, the next lines have numerical values like the 75;

snow(75)overcast(70,30)skyspeed(80)

...and there you have a simple explanation of a wac script... hope it helps motivate you into leaning more.