Home   Help Search Login Register  

Author Topic: WTF happened to my mission?  (Read 718 times)

0 Members and 1 Guest are viewing this topic.

Pravit

  • Guest
WTF happened to my mission?
« on: 28 Dec 2003, 00:13:26 »
I took my computer to a LAN party yesterday and hooked everything up. Noone else but me had OFP installed. I opened up OFP and tried to open my mission in the editor - and it gives me this:
'Users\pravit\missions\escape.Eden\mission.sqm/Mission/Groups/Item45/Vehicles.clas'
's' encountered isntead of '='

?!?!?!?!?!
The mission was working fine before I brought my comp over, and we didn't do anything at all to the comp while we were there - the first thing I did when I turned my comp on was checking this mission.

I opened up mission.sqm, and it looked like the last half of it was deleted or something. That is, the entire "SENSORS" section was gone, and it was cut off or something after "Item45" - the brackets didnt even close. Has anyone else had something like this happen to them?

Here's what the mission.sqm file looks like at this area:
Quote
class Item45
      {
         side="GUER";
         class Vehicles
         {
            items=9;
            class Item0
            {
               position[]={1489.483765,65.111038,5973.036621};
               azimut=325.000000;
               id=125;
               side="GUER";
               vehicle="PORPakistanInfOfficer";
               leader=1;
               skill=0.600000;
               markers[]={};
               init="[this, truck3_2] exec ""roadchase.sqs""";
            };
            class Item1
            {
               position[]={1489.483765,66.231400,5967.219727};
               azimut=325.000000;
               id=126;
               side="GUER";
               vehicle="PORPakistanInfSoldier";
               skill=0.200000;
               markers[]={};
               init="this moveincargo truck3_2";
            };
            class Item2
            {
               position[]={1492.755249,65.622284,5969.037109};
               azimut=325.000000;
               id=127;
               side="GUER";
               vehicle="PORPakistanInfSoldier";
               skill=0.200000;
               markers[]={};
               init="this moveincargo truck3_2";
            };
            class Item3
            {
               position[]={1497.119019,64.996605,5970.491211};
               azimut=325.000000;
               id=128;
               side="GUER";
               vehicle="PORPakistanInfSoldier";
               skill=0.200000;
               markers[]={};
               init="this moveincargo truck3_2";
            };
            class Item4
            {
               position[]={1484.392944,66.968979,5965.401855};
               azimut=325.000000;
               id=129;
               side="GUER";
               vehicle="PORPakistanInfSoldier";
               skill=0.200000;
               markers[]={};
               init="this moveincargo truck3_2";
            };
            class Item5
            {
               position[]={1485.848022,67.429420,5961.402344};
               azimut=325.000000;
               id=130;
               side="GUER";
               vehicle="PORPakistanInfSoldier";
               skill=0.200000;
               markers[]={};
               init="this moveincargo truck3_2";
            };
            class Item6
            {
               position[]={1491.664917,66.688812,5963.947754};
               azimut=325.000000;
               id=131;
               side="GUER";
               vehicle="PORPakistanInfSoldier";
               skill=0.200000;
               markers[]={};
               init="this moveincargo truck3_2";
            };
            clas

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:WTF happened to my mission?
« Reply #1 on: 29 Dec 2003, 20:47:37 »
attach your mission.sqm and I'll take a look, it sound like your just missing a 's' from the end of class, maybe the one at the end of your quote.

I'd do a scandisk anyway though if you've moved your comp about you could have knocked the hard disk a bit and damaged some sectors  :-\

Pravit

  • Guest
Re:WTF happened to my mission?
« Reply #2 on: 29 Dec 2003, 20:53:11 »
Thanks for offering to help! But I fixed it up on my own. Apparently everything from that 'clas' onward was deleted(I suppose I might have bumped the comp around a bit). It's funny as this is the ONLY mission that was screwed up(and it just happened to be the one I've been working on the most). But I suppose things like that always happen  ::)

I had to change the number of Items to 7 (it says Items=9, but the last two got deleted) as well as change the Items way way up down to 46 (everything past Item45 was deleted). Then add about 5 more closing curly brackets. Then I had to add that intro/outro stuff it puts at the end of each sqm, but it does work now. Just got to replace all empty vehicles, enemy squads, and triggers  ::)
« Last Edit: 29 Dec 2003, 20:54:45 by Pravit »

gundernak

  • Guest
Re:WTF happened to my mission?
« Reply #3 on: 30 Dec 2003, 15:48:28 »
I really do not know much about this problem, but I got similar when I made a Lan party, and there were differences beetween the ofp version numbers...