Mission Templates

  1. ‹ Older
  2. 9 years ago
    Edited 9 years ago by SpyderBlack723

    If I'm understanding it correctly, you could use it to store values and variables for use in the next session instead of having them be reset. So, I'm making a PMC mission where you can have access to a global bank account which would revolve around a variable such as bankAccount. Using a CBA delayed per-frame handler you could do ["money", bankAccount] call ALiVE_fnc_setData, and then pull bankAccount = ["money"] call ALiVE_fnc_getData when I need to have that information back after starting up the mission a 2nd time. Just a guess at this point but it seems that would be the way it works.

  3. Friznit

    1 Jul 2015 Administrator

    Basically yes, you can store whatever you want. R3F cash balance for the creation factory, for example.

  4. Edited 9 years ago by SpyderBlack723

    For example, "the ability to store custom variables"....in layman's terms...what does that mean to me when I'm building a mission?

    Actually found a nifty way to use this in a recent mission. I used an array to keep track of the locations of specific objects that were created through scripts (addActions to be specific). I then pulled that information up upon mission restart and used it to place new objects in the same location as a method to "persist".

    _object1 = [getPosATL object1, getDir object1];
    _objects pushBack _object1;
    _objects = [_object1, _object2, _object 3];
    ["Objects", _objects] call ALiVE_fnc_setData

    After restarting mission..

    _retrievedObjects = ["Objects"] call ALiVE_fnc_getData;
    
    {
    _objectLoc = _x select 0;
    _objectDir = _x select 1;
    
    _object = "object_classname" createVehicle [0,0,0];
    _object setDir _objectDir;
    _object setPosATL _objectLoc;
    
    sleep 1;
    
    } forEach _retrievedObjects;

    Not the exact code but you get the point. This is where someone comes along and tells me there was a much easier way and I feel bad.

  5. Edited 9 years ago by psianh auvyander

    I've been trying to get a decent 3-way insurgency mission put together for what seems like forever. I finally succeeded after switching to different mods.

    Takistan Warfare
    This mission requires:
    All in Arma Terrain Pack
    RHS USAF
    RHS AFRF
    ACE 3
    CBA
    CUP Weapons
    Iraqi Syrian Conflict

  6. Nice, what factions did you utilize for each side?

  7. @SpyderBlack723 I've used rhs_faction_usarmy_d, rhs_faction_vdv, and ISC_IS_I.

    Currently it's set where the player must be a member of rhs_faction_usarmy_d.

  8. Hi guys and hi Spyder, I appreciate the thread. I'm super new to this stuff but I think (fingers crossed) I successfully set up my dedicated server on my PC using TADST. What I'd like to do is take one of these missions and get it all set up with War Room so I can save and resume my progress (I plan on playing alone but hopefully with AI teammates).

    Are any of these missions pre-baked in a way for me to do this without having to learn the modules and editor? I plan on it eventually but right now I kind of just want to dive right in and learn how to play.

  9. Short on time atm, but they should work as is with no needed input from you to play.

  10. Cool. Thanks. When you get a sec, could you clarify if I can use them (your missions and the sample missions) for persistence "right out of the box" so to speak, and if they're set up to be able to save/resume with War Room? I don't generally have too much time to play so being able to chip away at a mission over a few weeks and continue relatively where I left off would be ideal.

  11. Oh. I tried Operation Landlord last night and noticed that I couldn't fill empty slots with AI teammates. I tried calling in some player support but maybe I didn't wait long enough? Do any of these missions have it so AI teammates automatically can spawn with me?

  12. Most missions will not unless they are made to support singleplayer - you might have to make a small change to one of the mission files to enable AI. If you know how, open the mission .pbo file, open the description.ext file, then change disabledAI=1 to disabledAI=0.

  13. Thanks Savage. I've never edited a PBO. What kind of program would be needed for that? Notepad++? I'm familiar editing ini files in Fallout but nothing like this. And is it just as simple as edit and save?

  14. Be careful.. once you start tinkering in the editor you will loose all track of time, your wife/kids will leave you, and the dog will piss on your computer :)

    http://fpsplayers.com/billing/knowledgebase.php?action=displayarticle&id=22

    http://warmod.webs.com/importmissiontoeditor.htm

    If you really do want to get into the editor I highly recommend reading Mr Murray's editing guide. It's old, some stuff is out-of-date, but it's a great starting point.

    http://www.armaholic.com/page.php?id=4847

  15. Edited 9 years ago by HeroesandvillainsOS

    Oh wow thanks so much. LOL! The fpsplayers link isn't working for me but the others seem very VERY helpful.

    So I guess barring me getting any other suggestions for a pre existing mission that I can save persistence on The War Room with (I can't tell if any of the ones in the OP are compatible with that without tinkering), I'm going to roll with AuTigergrad's Royal Marines Kunduz since it already is set up for SP and AI slots:

    http://steamcommunity.com/sharedfiles/filedetails/?id=539871206

    Hopefully I can get it synced up to War Room tonight and also hopefully I don't annoy the heck out of you guys trying to see this through. :) Also triple hopefully AuTigergrad posts his new Altis mission soon here too. It's fantastic.

  16. Edited 9 years ago by SpyderBlack723

    Pretty sure I enabled persistence for each mission. I did disable AI (should probably change that once I update them). If you can't get it, let me know and I'll go back and update Operation Landlord real quick so that it supports friendly AI and ensure it has persistence setup.

    To open and create .pbo files you can use a program such as PBO Manager to do it rather easily.

    (Wow this thread is long now)

  17. Spyder, I have a lot of learning to do before I feel comfortable editing your PBO's and dropping modules. Operation Landlord is specifically the mission I'd like to play the most if you could edit it for me (us). I'd actually like to run through the entire OP at some point but for now, that one stands out as a nice, long term mission I can get lost in.

    (Sorry for making the thread so long. I hope that shouldn't deter me from posting here but I get it if you guys like to keep the place tidy).

  18. Edited 9 years ago by SpyderBlack723

    I'd actually like to run through the entire OP at some point but for now

    Good luck :)

    (Sorry for making the thread so long. I hope that shouldn't deter me from posting here but I get it if you guys like to keep the place tidy).

    That's exactly what the thread is for. I kind of wish we had more of these for other topics.

    I'll edit the mission and have it up soon.

  19. Ha! Nice! Thanks. I can't wait!!! Just to clarify (my terminology is terrible), I'm not asking you to remove any end-game state if there already is one. I actually like the idea of actually trying to "beat" something but it's totally cool too if the mission(s) go on and on. When I say "persistent" I just mean compatible with saving on my dedi in WarRoom so I can save and resume my progress.

    You guys are the best. I'm so glad I registered.

  20. Here she is

    https://www.dropbox.com/s/jrw0r3s4zspkesv/Operation%2520Landlord%2520%257c%2520ALiVE%2520.Altis.zip?dl=0

    • Should be compatible with persistence
    • Allowed use of AI in multiplayer
    • Added "Select Assault Mission" action to map
    • Added armored vehicles to base for player use
    • Added ability for player to recruit AI (action located on flagpole in base)

    There is no real endgame to it, however if you eventually push through most of the enemy territory and stop getting assigned tasks you can assume you crushed the opposition.

  21. :) Now this is why I won't be buying Fallout 4 for some time. I'm so incredibly excited. Thanks so much Spyder.

  22. Newer ›
 

or Sign Up to reply!