mia389 Posted June 29, 2011 Posted June 29, 2011 I did a mission and found out I had limited units because I only had insurgents for red. Im trying to add Russia to it so I unziped the mission and found this in the mission script coalitions = { blue = { [1] = 15, [2] = 13, [3] = 16, [4] = 12, [5] = 4, [6] = 8, [7] = 2, }, -- end of blue red = { [1] = 17, }, -- end of red }, -- end of coalitions After changing this how do I get the whole folder back to a miz file? Also Im guessing I change the above to coalitions = { blue = { [1] = 15, [2] = 13, [3] = 16, [4] = 12, [5] = 4, [6] = 8, [7] = 2, }, -- end of blue red = { [1] = 17, [2] = 0, }, -- end of red }, -- end of coalitions
Nate--IRL-- Posted June 29, 2011 Posted June 29, 2011 (edited) Ohh if only it were that easy to edit the coalitions in a mission file. I made this mistake before - you must go through the whole mission file and check the entries for the country id you have changed, for the whole file. To get it back into a miz just zip all the files and change the zip part of the file name to miz. Nate Edited June 29, 2011 by Nate--IRL-- Ka-50 AutoPilot/stabilisation system description and operation by IvanK- Essential Reading
mia389 Posted June 30, 2011 Author Posted June 30, 2011 To get it back into a miz just zip all the files and change the zip part of the file name to miz. Nate I cant get this to work. I unziped mission and zipped it back up. Then renamed zip part to miz. But when I try to open it up in editor editor gets froozen on loading the mission. I did no editing yet. I tried winzip and rar. Any ideas?
Nate--IRL-- Posted June 30, 2011 Posted June 30, 2011 What are you using to Zip the files? Try saving as an earlier version of Zip if possible. Nate Ka-50 AutoPilot/stabilisation system description and operation by IvanK- Essential Reading
mia389 Posted June 30, 2011 Author Posted June 30, 2011 I tired using winRAR, Winzip and the one that is in windows. I am having no luck. What do you use Nate?
Nate--IRL-- Posted June 30, 2011 Posted June 30, 2011 Hmm very odd - I use Winrar. No problems at all. Could you attach the mission you are using? Nate Ka-50 AutoPilot/stabilisation system description and operation by IvanK- Essential Reading
mia389 Posted June 30, 2011 Author Posted June 30, 2011 Yes, I will change the mission coaltion first. I just hope it will work lol.
mia389 Posted June 30, 2011 Author Posted June 30, 2011 V1.0 is the original one that is just unziped. V2.0 I edited the mission file to get Russian coaltion to appear. I just hope it works. I also added the orignal version that does work in editor as miz file. What I need is 2.0 to miz file. I just hope it will work after I edited it. This was an old mission I am changing. Right now it only has insurgents. I am trying to add Russian coalition. Thanks for you help. I have spent way to many hours already on this lol. I could have started from scratch.Operation Sunray V1.0.rarOperation Sunray V2.0.rarOperation Sunray.miz
Nate--IRL-- Posted June 30, 2011 Posted June 30, 2011 Ok try the attached. There was one line out of place in the "Mission" file. I can't vouch for it working properly though. NateTest (2).miz Ka-50 AutoPilot/stabilisation system description and operation by IvanK- Essential Reading
mia389 Posted June 30, 2011 Author Posted June 30, 2011 Worked perfect!!! Thank you so much Nate. Exactly what I needed.
Recommended Posts