You can find my WASM notes here:
http://users.tpg.com.au/nkjd245/mw2/wasm/ (campaign.txt is the one you want Skyfaller - alternatively if you want to hack xxxxCAM1.BWD values directly, I've partially documented the CPGN chunk here
http://users.tpg.com.au/nkjd245/mw2/bin/cpgn.txt). I think equipment_begin/end (EQUP subchunk) is the one that should interest you.
Everything I've got on setting campaign parameters so far is from WASM and hexdumps - I haven't done any experiments with the sim yet (which is why I know where the fields are and what they're called, but not what all of them do
)
I'm still in the process of WASM'ng and hexdumping my way thru the weather_begin/end construct (which is why my notes for it don't appear at the above link yet), but will probably finish that later today and upload it then. To set basic weather for a mission (I'm pretty sure this is Mercs-only, since I haven't found in WTHR chunks in 31cc/GBL BWDs), you want to:
1) Create a WLD file named xxxxWTHR.WLD (where xxxx is your mission name prefix) containing something like this:
Code: Select all
weather_begin
type snow
velocity 5000 -5000 0
weather_end
2) Include this file into your xxxxSCN1.WLD file:
The weather "type" parameter can be one of: rain, snow, hail, dust or user. Only rain and snow are actually used in Mercs BWDs, so I dunno what the other three do. The "velocity" parameter is used to make it look like your weather is being blown by a wind (if not specified, rain/snow/etc will just fall straight down to earth - this bit I *have* checked in the sim by playing the eight missions that include weather). No idea what units the velocity is measured in, but if they're consistent with the rest of the sim I would guess something like cm/cycle or cm/sec??
There are numerous other weather parameters, and I have no idea yet what most of them do (although I can say that only two others apart from "type" and "velocity" are actually used by Mercs missions, so I guess there's every chance the others may not even be implemented by the sim).