Adventures in editing – The Arma II warfare mission.

My gaming group and I have been playing the Arma II warfare mission, called 05 Superpowers for the last few weeks. We’ve been enjoying the mission, but this week they asked if  we could make a few changes.

  1. helicopters at the start of the mission or sooner helicopter factory creation (hey its a really big map!)
  2. more starting money (default is $0)
  3. aircraft factory at the airfields

So I de-pbo’ed the mission and opened it in the editor. I was expecting game logics all over the place and general nastyness. I was surprised however as the map only showed the initial starting vehicles and playable units, all synced to a single warfare editor module. Nice.

I placed an empty UH-1Y, synced it with the Warfare module and previewed the mission. There it was when I spawned at HQ. Very nice, very easy and one of the requests dealt with.

Thinking then that the majority of the warfare mission was handled by the module, I checked the init.sqf and other files in the mission folder looking for variables I could use to set starting money etc. I found references in the scripts to setting variables in the initialization of the warfare module, not in the scripts as the would be over ridden. So back into the editor and I open the module. Something about custom scripts go here. Not helpful. Currently the biki has no documentation on the warfare module.

Rummaging around I noticed an example warfare mission (doh!) with more scripts, folders etc.  I poked around in here and found references to starting money, but as yet I haven’t had a chance to figure it out yet. Task for Thursday.

Curious as to what the differences in the two missions are I opened the sample mission in the editor. Its the same as the Superpowers mission except they had location game logics synced to the warfare module as well. (screen shots on thursday) I thought maybe I could place an airport location game logic in the editor and sync it with the warfare editor module to satisfy request #3.  No such luck. I’ll have to go back at it tomorrow night and maybe post something at the official forums to see if anyone else has any ideas.