Jump to content
Sign in to follow this  
jakerod

COOP Campaign Question

Recommended Posts

I was planning on making a resistance campaign for my brother and I to play on LAN. The things I wanted to include are as follows:

  • Add weapons, magazines, and backpacks (with same cargo) carried by men at the end of one mission to the same men in the next mission
  • Add weapons, magazines, and backpacks from cargo positions (crates and vehicles) into a pool at the end of the mission
  • Detect whether or not troops are alive at the end of one mission and add them into the next if they are alive
  • Detect the skill of the troops at the end of one mission and increase it for the next based off of unit kills/shots fired or number of missions survived

I have two questions;

Are all of these things possible? They seem to be but I want to make sure especially since it is MP and there might be problems with it.

Secondly, I need help with the backpack issue. Presently I am just testing stuff in a mission on the desert island. I have managed to copy my weapons and ammo over to a guy with no weapons or ammo in a trigger using Radio Alpha. However, I cannot seem to get the backpack aspect to work. I can't even get it to add one. I was trying this:

jake_b = unitbackpack jake;
Tommy addbackpack jake_b;

I at least want to be able to get the backpacks and their contents into the selection screen for the next map. The same guys having the same stuff would be preferable but I could settle.

EDIT: I guess I have one more question while I'm here;

Once I am able to use all of this by transferring stuff from one unit to another in a single mission, how will I do it in a campaign? I know about the description.ext for campaigns. Will I have to use saveVar? How exactly do I use it I haven't been able to figure it out from the biki.

Edited by Jakerod

Share this post


Link to post
Share on other sites

addWeaponsPool & addweaponsCargoPool

if i remember correctly. I do believe, although BAF campaign seems to be un-pbo-able that saveStatus and loadStatus can be used for third pointer. for fourth pointer i have pondered a similar idea, you could try a few skill detection expressions and save them into a variable and use saveVar and loadVar, seems to work in BIS' campaigns for intel and civillian response. the only other suggestion i can think of the keys and iskeyActive, the only issue is that is permanent, keys can't be deleted.

Your last question i think has been explained with the above commands, might do a bit of testing myself over the weekend as i am creating a small addon package where by support options can levelled up to feature more and give some RPG style aspects. unfortunately there doesn't seem to be (and i wish there was) any way of save or storing variables in global campaign sqfs or something along those lines. hope it helps anyway.

---------- Post added at 01:33 PM ---------- Previous post was at 01:21 PM ----------

http://community.bistudio.com/wiki/saveVar

http://forums.bistudio.com/showthread.php?128298-Arma-2-OA-1-60-Release-Candidate

http://www.ofpec.com/forum/index.php?topic=35580.5;wap2

http://www.ofpec.com/forum/index.php?topic=32243.0;wap2

---------- Post added at 01:36 PM ---------- Previous post was at 01:33 PM ----------

http://www.armaholic.com/forums.php?m=posts&q=12346

Share this post


Link to post
Share on other sites

Thanks! I think I will be able to piece these things together from that information.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×