velebrz 1 Posted January 2, 2012 (edited) greetings modders new kid on the block here. id like to ask, if its possible (and how) to edit the existing missions I have (the ones that came with ACE and otherwise), that every player could start with the map tools to draw on the map with, for example. Or equip someone with a new rifle skin Ive just downloaded surely it must be done, but for the time being i am completelylost ! kind regards vele:cool: ---------- Post added at 06:31 AM ---------- Previous post was at 04:48 AM ---------- update : think I got it working now downloaded the pboviewer unpacker, unpacked it, ran the mission.sqm file and fiddled with some stuff there. Saved under different name, and tried to run it in game. here, a couple newproblems arose : a) what is this weapons_respawn.sqs script ? can I leave it in the init window and just add addthisWeapon..etc. or do I have to remove it ? b) when i remove the sqs script, and just add for example a g36C, when I start the missions I have a missing file : Script scripts\UPSMON.sqf error, but the game plays on without fault...what is this ?? c) for adding more mags, is there any otherway, than just spamming addMag call ? d) after I save the mission in the editor, it creates a new map with the saved sqm file inside. But even though I have changed the name of the mission in the editor, when I host the server I still view the original name of the mission, but 3 of them (becuase I made 2 alterations, but saved each one under different name) hopefully any of the above makes any sense, its 6:20 in the morning and I am half dead :)) happy new year !! Edited January 2, 2012 by velebrz Share this post Link to post Share on other sites
demonized 20 Posted January 2, 2012 (edited) Welcome to the comunity. When you open mission and save it as something else, only mission.sqm is exported to it, you need to copy all other files from original mission folder to the new folder aswell. a: not sure what script that is, filling crates? but yes, addWeapon addMagazine commands should work, though there are limits if weapon box is full etc.. also there are these commands specifically meant for adding cargo: addWeaponCargo addMagazineCargo clearWeaponCargo clearMagazineCargo b: I have a missing file : Script scripts\UPSMON.sqf error this is related to a patrol script, you need the files from top of my post. c: how to add 5 mags: {_unitName addMagazine "magzine_class_name"} foreach [1,2,3,4,5]; d: press on the top right in editor "intel", change title of mission there. Edited January 2, 2012 by Demonized Share this post Link to post Share on other sites
velebrz 1 Posted January 2, 2012 hi Demonized. Thank you millions for taking the time and guiding me in. You solved every single issue I had up to now. I do have another question though....When I export the mission, the MPMissions folder gets the new pbo file, lets say MissionA.pbo and the MissionA folder with its sqm file. I then fill this folder with the rest of the files from the "unmodified" mission that i unpacked. But now, I have two choices of the same "new" map when I create a server. one says the correct info on max slots, respawn and this, the other one says unknown at all 3. I can play both of them, but is this some kind of an issue ? Should I delete any of the files from above so I only have 1 mission hope you see what i mean ! thank you greatly, again. I wish you all the best in the Year to come vele Share this post Link to post Share on other sites
demonized 20 Posted January 2, 2012 when you export the mission you get in MP editor mission select menu, 2 same, 1 is blue or white text, click it and you can edit it, this is the one saved with a mission folder in your documents. the other one, same name, but different color, click it and notice you can NOT edit it, only play, this is the exported one, it is located in game install dir "Arma2/MPMissions" folder, not in your documents, this cannot be edited, if you open the editable mission of same name and choose export to MP missions again, it will replace this one, leaving you with 1 "final" uneditable with all scripts and such in it, and one wich you can edit wich uses a mission folder. The guide in my sig is old, but it gives a new mission editor alot of good ways to acomplish various stuff, i highly recomend you give it a read. Share this post Link to post Share on other sites
velebrz 1 Posted January 3, 2012 greetings again Demonized downloaded the Pdf and it is great !! I have another question, of course :)) Can one do similar gear maneuvres in custom downloaded campaigns ? Share this post Link to post Share on other sites
galzohar 31 Posted January 3, 2012 You can do the same in campaigns, though obviously they have a slightly more complicated file structure, but again nothing you shouldn't be able to figure out by looking at an existing campaign. Remember that when you export the mission, it will create a PBO with the mission.sqm and the scripts that are in the same folder as the mission.sqm file! That means you should always save your mission, copy scripts over, and only then export to multiplayer missions, or else the pbo mission (the one you can't edit) won't work correctly since it will not have the needed scripts and/or other files. Remember that every time you change any file in the mission folder, be it the mission.sqm or other file, you have to export the mission again for the PBO to get updated and actually include the updated files. Share this post Link to post Share on other sites
velebrz 1 Posted January 5, 2012 sorry for the late reply. thank you very much galzohar for your input. if i understand correctly, when modifiying an existing mission : a) save the modified version to user missions b) copy the additional needed stuff from the unchanged mission to the modified user one c) open the modified and export to mpmissions yes ? Share this post Link to post Share on other sites
galzohar 31 Posted January 6, 2012 Yes. And of course you can modify any of the files you copy as well. Many times the weapons will be in one of those files, rather than the mission.sqm that you open in the editor. Also, instead of opening and saving the mission, you could just create a copy of the folder and then rename the folder. It's a bit easier than saving in editor with a different name and then copy the rest of the files. Share this post Link to post Share on other sites
velebrz 1 Posted January 7, 2012 thank you again galzohar. Everything seems to work like a charm !! Share this post Link to post Share on other sites