PDA

View Full Version : Fix for The Great Battle?



Lowrider
Dec 24 2006, 21:49
Hi all,

Sorry for creating yet another Great Battle topic, but I didn't want this to get buried...

I hated not being able to finish the mission, so I un-pbo'd the campaign, and poked around in this mission. I noticed that the trigger for switching to the counter-attack on the east base is:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">expCond=&#34;&#40;&#40;&#40;count units e1&#41;+&#40;count units e2&#41;+&#40;count units e3&#41;+&#40;count units e4&#41;&#41; &#60; 5&#41; && hlaskajsoutu==1&#34;;[/QUOTE]

I believe the problem is that there is no group e4. e1 and e3 are groups of T-72s; e2 is a group of BMPs; but if you search the mission.sqm for e4, the condition above is the only reference.

I changed the condition to:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">expCond=&#34;&#40;&#40;&#40;count units e1&#41;+&#40;count units e2&#41;+&#40;count units e3&#41;&#41; &#60; 5&#41; && hlaskajsoutu==1&#34;;[/QUOTE]

and the mission worked fine. After I destroyed the last BMP, I got a radio message to attack the east base. I went over there, blew up the armor, and got the mission complete.

If you want to fix your own campaign:
1. Get a pbo utility (e.g. download Kegety&#39;s ArmA Tools in the download section at http://www.armed-assault-zone.com)
2. Go to &#92;ArmA&#92;Campaigns&#92;
3. Back up your ca.pbo&#33; Make a copy, call it ca.orig.pbo. (You&#39;ll probably need to put the original ca.pbo back before you run the next official patch.)
4. Un-pbo ca.pbo
5. Open the file &#92;ArmA&#92;Campaigns&#92;ca&#92;Missions&#92;08Gryphons.Sara&#92;mission.sqm in a text editor
6. Search for "e4" -- you should see the first line of code above. Replace with the second line of code.
7. Re-pbo the ca directory.

I&#39;m running the Sprocket CZ 1.02 version. The usual disclaimers apply: try this at your own risk. Be sure to back up ca.pbo&#33;

Hope this helps.
-LR

EdGrrr
Dec 25 2006, 19:30
Sorry, haven&#39;t tried this yet, but if e4 doesn&#39;t exist, then the result of
(count units e4)
should be zero and hence the lines of code are the same. Then again, I may not be right - good job though. http://forums.bistudio.com/oldsmileys/smile_o.gif

Sakman
Dec 26 2006, 12:08
Thanks for this, I&#39;ve tried and it worked. Too bad the last mission where you take bagango don&#39;t finish properly neither.

Lowrider
Dec 26 2006, 16:28
Sorry, haven&#39;t tried this yet, but if e4 doesn&#39;t exist, then the result of
(count units e4)
should be zero and hence the lines of code are the same.  Then again, I may not be right - good job though. http://forums.bistudio.com/oldsmileys/smile_o.gif
That&#39;s a good point. I tested it out in a dummy mission, and it didn&#39;t seem to work that way. I suspect the undefined variable makes the entire expression undefined.

NetWalker
Dec 26 2006, 19:34
Hi &#33;
Tried here and it worked&#33; Thanks Lowrider&#33; http://forums.bistudio.com/oldsmileys/notworthy.gif

BIS should definately add this fix to next patch. Even more, fix all errors on the ArmA campaign.

Rgards&#33;

k1ng
Dec 31 2006, 20:26
i dont think the arma campaign is finnished yet anyways... wait for the 505 releace/patch (gonna buy the game again myself.. i cant understand german and a reinstall is needed every patch) and it should be much better http://forums.bistudio.com/oldsmileys/wink_o.gif

Raz0rx
Jan 9 2007, 20:55
Any way to fix the ridiculous hellfires, too?
Seeing as they fire fine in any other thing involving choppers, except this mission. (That i&#39;ve experienced, anyway).