Home   Help Search Login Register  

Author Topic: Sector Control - can you help?  (Read 1594 times)

0 Members and 1 Guest are viewing this topic.

WELSH

  • Guest
Sector Control - can you help?
« on: 12 Mar 2004, 23:14:17 »
Dear All,

Firstly, please accept my apologies for the amount of script and text in this message.......sorry if it's against house rules.

I need your help.

Ive made a nice WWII MP Sector Control Map.  24 per side.  5 flags over 2 islands (2 flags on north island, 2 flags on South and the other on the bridge).

Scores like this:

Flag 1 - East 2 points; West 20 points
Flag 2 - East 3 points; West 10 points
Flag 3 - east 5 points; West 5 points (this is the bridge flag)
Flag 4 - East 10 points; West 3 points
Flag 5 - East 20 points; West 2 points
(this isnt a script by the way!)


So, my West man runs up to flag 1 and the following message appears: West control sector 1.  However, the points system doesnt begin. After 1 minute its supposed to say West 20 points (or something like that).

In summary, Sector control element works.  But the points system doesnt.

Any solutions guys?

PLEASE.  Im gonna start hurting myself soon!!





-------------------------------------------------------------------------------

This is a section of my Description file:
Code: [Select]
respawn=3;
respawndelay=10;
disabledAI = 1


onLoadMission = "Sector Control";

titleParam1 = $STRD_08;
valuesParam1[] = {10000, 300, 600, 900, 1200, 1500, 1800, 2700, 3600, 7200};
defValueParam1 = 1800;
textsParam1[] = {$STRD_12, $STRD_T005, $STRD_T010, $STRD_T015, $STRD_T020, $STRD_T025, $STRD_T030, $STRD_T045, $STRD_T060, $STRD_T120};

titleParam2 = $STRD_09;
valuesParam2[] = {10000, 10, 20, 30, 40, 50, 75, 100, 150, 200, 300, 400, 500, 600};
defValueParam2 = 50;
textsParam2[] = {$STRD_12, 10, 20, 30, 40, 50, 75, 100, 150, 200, 300, 400, 500, 600};
------------------------------------------------------------------------------

This is a section of my mission file relating to scoring:
Code: [Select]
class Sensors
   {
      items=147;
      class Item0
      {
         position[]={5212.540527,0.374669,8231.697266};
         a=0.000000;
         b=0.000000;
         age="UNKNOWN";
         text="init";
         expCond="true";
         expActiv="E1=0; W1=0; E2=0; W2=0; E3=0; W3=0; E4=0; W4=0; E5=0; W5=0; Eastrule1=0; Eastrule2=0; Eastrule3=0; Eastrule4=0; Eastrule5=0; Westrule1=0; Westrule2=0; Westrule3=0; Westrule4=0; Westrule5=0; ScoreE=0; ScoreW=0; EndGame=0";
         class Effects
         {
         };
      };
      class Item1
      {
         position[]={4871.349609,10.000000,9054.972656};
         a=10.000000;
         b=10.000000;
         activationBy="EAST";
         repeating=1;
         timeoutMin=5.000000;
         timeoutMid=5.000000;
         timeoutMax=5.000000;
         interruptable=1;
         age="UNKNOWN";
         text="E1";
         expCond="this and ((""(getpos _x select 2) < 3"" count thislist) > 0)";
         expActiv="E1=1";
         expDesactiv="E1=0";
         class Effects
         {
         };
      };
      class Item2
      {
         position[]={4871.205078,10.000000,9055.117188};
         a=10.000000;
         b=10.000000;
         activationBy="WEST";
         repeating=1;
         timeoutMin=5.000000;
         timeoutMid=5.000000;
         timeoutMax=5.000000;
         interruptable=1;
         age="UNKNOWN";
         text="W1";
         expCond="this and ((""(getpos _x select 2) < 3"" count thislist) > 0)";
         expActiv="W1=1";
         expDesactiv="W1=0";
         class Effects
         {
         };
      };
      class Item3
      {
         position[]={4911.387695,7.000000,9239.192383};
         a=10.000000;
         b=10.000000;
         activationBy="EAST";
         repeating=1;
         timeoutMin=5.000000;
         timeoutMid=5.000000;
         timeoutMax=5.000000;
         interruptable=1;
         age="UNKNOWN";
         text="E2";
         expActiv="E2=1";
         expDesactiv="E2=0";
         class Effects
         {
         };
      };
      class Item4
      {
         position[]={5189.886719,4.000000,9045.949219};
         a=10.000000;
         b=10.000000;
         activationBy="EAST";
         repeating=1;
         timeoutMin=5.000000;
         timeoutMid=5.000000;
         timeoutMax=5.000000;
         interruptable=1;
         age="UNKNOWN";
         text="E3";
         expActiv="E3=1";
         expDesactiv="E3=0";
         class Effects
         {
         };
      };
      class Item5
      {
         position[]={5190.147461,4.000000,9045.802734};
         a=10.000000;
         b=10.000000;
         activationBy="WEST";
         repeating=1;
         timeoutMin=5.000000;
         timeoutMid=5.000000;
         timeoutMax=5.000000;
         interruptable=1;
         age="UNKNOWN";
         text="W3";
         expActiv="W3=1";
         expDesactiv="W3=0";
         class Effects
         {
         };
      };
      class Item6
      {
         position[]={4872.491211,12.516550,9430.056641};
         a=10.000000;
         b=10.000000;
         activationBy="EAST";
         repeating=1;
         timeoutMin=5.000000;
         timeoutMid=5.000000;
         timeoutMax=5.000000;
         interruptable=1;
         age="UNKNOWN";
         text="E4";
         expCond="this and ((""(getpos _x select 2) < 3"" count thislist) > 0)";
         expActiv="E4=1";
         expDesactiv="E4=0";
         class Effects
         {
         };
      };
      class Item7
      {
         position[]={4872.510742,12.516550,9430.080078};
         a=10.000000;
         b=10.000000;
         activationBy="WEST";
         repeating=1;
         timeoutMin=5.000000;
         timeoutMid=5.000000;
         timeoutMax=5.000000;
         interruptable=1;
         age="UNKNOWN";
         text="W4";
         expCond="this and ((""(getpos _x select 2) < 3"" count thislist) > 0)";
         expActiv="W4=1";
         expDesactiv="W4=0";
         class Effects
         {
         };
      };
      class Item8
      {
         position[]={5236.822754,0.374669,8259.564453};
         a=0.000000;
         b=0.000000;
         repeating=1;
         age="UNKNOWN";
         text="E1";
         expCond="E1==1 and W1==0 and Eastrule1!=1";
         expActiv="Eastrule1=1; Westrule1=0; flag1 setflagtexture ""naziflag.jpg""; hint localize ""STRS_SEC_1E""; ""Sector 1"" SetMarkerPos [12387.155273,395.955750,-49.769997]; ""Sector 1E"" SetMarkerPos getpos flag1; ""Sector 1W"" SetMarkerPos [12387.155273,395.955750,-49.769997]";
         class Effects
         {
         };
      };
      class Item9
      {
         position[]={5236.897949,0.374669,8252.437500};
         a=0.000000;
         b=0.000000;
         repeating=1;
         age="UNKNOWN";
         text="E2";
         expCond="E2==1 and W2==0 and Eastrule2!=1";
         expActiv="Eastrule2=1; Westrule2=0; flag2 setflagtexture ""naziflag.jpg""; hint localize ""STRS_SEC_4E""; ""Sector 2"" SetMarkerPos [12387.155273,395.955750,-49.769997]; ""Sector 2E"" SetMarkerPos getpos flag2; ""Sector 2W"" SetMarkerPos [12387.155273,395.955750,-49.769997]";
         class Effects
         {
         };
      };
      class Item10
      {
         position[]={5238.688965,0.374669,8231.810547};
         a=0.000000;
         b=0.000000;
         repeating=1;
         age="UNKNOWN";
         text="E4";
         expCond="E4==1 and W4==0 and Eastrule4!=1";
         expActiv="Eastrule4=1; Westrule4=0; flag4 setflagtexture ""naziflag.jpg""; hint localize ""STRS_SEC_5E""; ""Sector 4"" SetMarkerPos [12387.155273,395.955750,-49.769997]; ""Sector 4E"" SetMarkerPos getpos flag4; ""Sector 4W"" SetMarkerPos [12387.155273,395.955750,-49.769997]";
         class Effects
         {
         };
      };
      class Item11
      {
         position[]={5238.310059,0.374669,8242.662109};
         a=0.000000;
         b=0.000000;
         repeating=1;
         age="UNKNOWN";
         text="E3";
         expCond="E3==1 and W3==0 and Eastrule3!=1";
         expActiv="Eastrule3=1; Westrule3=0; flag3 setflagtexture ""naziflag.jpg""; hint localize ""STRS_SEC_2E""; ""Sector 3"" SetMarkerPos [12387.155273,395.955750,-49.769997]; ""Sector 3E"" SetMarkerPos getpos flag3; ""Sector 3W"" SetMarkerPos [12387.155273,395.955750,-49.769997]";
         class Effects
         {
         };
      };
      class Item12
      {
         position[]={5229.681152,0.374669,8259.324219};
         a=0.000000;
         b=0.000000;
         repeating=1;
         age="UNKNOWN";
         text="W1";
         expCond="W1==1 and E1==0 and Westrule1!=1";
         expActiv="Westrule1=1; Eastrule1=0; flag1 setflagtexture ""ukflag.jpg""; hint localize ""STRS_SEC_1W""; ""Sector 1"" SetMarkerPos [12387.155273,395.955750,-49.769997]; ""Sector 1W"" SetMarkerPos getpos flag1; ""Sector 1E"" SetMarkerPos [12387.155273,395.955750,-49.769997]";
         class Effects
         {
         };
      };
      class Item13
      {
         position[]={5229.843262,0.374669,8251.833984};
         a=0.000000;
         b=0.000000;
         repeating=1;
         age="UNKNOWN";
         text="W2";
         expCond="W2==1 and E2==0 and Westrule2!=1";
         expActiv="Westrule2=1; Eastrule2=0; flag2 setflagtexture ""ukflag.jpg""; hint localize ""STRS_SEC_4W""; ""Sector 2"" SetMarkerPos [12387.155273,395.955750,-49.769997]; ""Sector 2W"" SetMarkerPos getpos flag2; ""Sector 2E"" SetMarkerPos [12387.155273,395.955750,-49.769997]";
         class Effects
         {
         };
      };
      class Item14
      {
         position[]={5229.995605,0.374669,8231.804688};
         a=0.000000;
         b=0.000000;
         repeating=1;
         age="UNKNOWN";
         text="W4";
         expCond="W4==1 and E4==0 and Westrule4!=1";
         expActiv="Westrule4=1; Eastrule4=0; flag4 setflagtexture ""ukflag.jpg""; hint localize ""STRS_SEC_5W""; ""Sector 4"" SetMarkerPos [12387.155273,395.955750,-49.769997]; ""Sector 4W"" SetMarkerPos getpos flag4; ""Sector 4E"" SetMarkerPos [12387.155273,395.955750,-49.769997]";
         class Effects
         {
         };
      };
      class Item15
      {
         position[]={5229.608887,0.374669,8242.062500};
         a=0.000000;
         b=0.000000;
         repeating=1;
         age="UNKNOWN";
         text="W3";
         expCond="W3==1 and E3==0 and Westrule3!=1";
         expActiv="Westrule3=1; Eastrule3=0; flag3 setflagtexture ""ukflag.jpg""; hint localize ""STRS_SEC_2W""; ""Sector 3"" SetMarkerPos [12387.155273,395.955750,-49.769997]; ""Sector 3W"" SetMarkerPos getpos flag3; ""Sector 3E"" SetMarkerPos [12387.155273,395.955750,-49.769997]";
         class Effects
         {
         };
      };
      class Item16
      {
         position[]={5256.054199,0.374669,8259.125000};
         a=0.000000;
         b=0.000000;
         repeating=1;
         age="UNKNOWN";
         text="EScore1";
         expCond="Eastrule1==1 and local someone";
         expActiv="player exec ""ScoreEast1.sqs""";
         class Effects
         {
         };
      };
      class Item17
      {
         position[]={5264.745605,0.374669,8258.597656};
         a=0.000000;
         b=0.000000;
         repeating=1;
         age="UNKNOWN";
         text="WScore1";
         expCond="Westrule1==1 and local someone";
         expActiv="player exec ""ScoreWest1.sqs""";
         class Effects
         {
         };
      };
      class Item18
      {
         position[]={5256.076660,0.374669,8253.513672};
         a=0.000000;
         b=0.000000;
         repeating=1;
         age="UNKNOWN";
         text="EScore2";
         expCond="Eastrule2==1 and local someone";
         expActiv="player exec ""ScoreEast2.sqs""";
         class Effects
         {
         };
      };
      class Item19
      {
         position[]={5256.076660,0.374669,8248.326172};
         a=0.000000;
         b=0.000000;
         repeating=1;
         age="UNKNOWN";
         text="EScore3";
         expCond="Eastrule3==1 and local someone";
         expActiv="player exec ""ScoreEast3.sqs""";
         class Effects
         {
         };
      };
      class Item20
      {
         position[]={5256.076660,0.374669,8242.726563};
         a=0.000000;
         b=0.000000;
         repeating=1;
         age="UNKNOWN";
         text="EScore4";
         expCond="Eastrule4==1 and local someone";
         expActiv="player exec ""ScoreEast4.sqs""";
         class Effects
         {
         };
      };
      class Item21
      {
         position[]={5264.952637,0.374669,8253.210938};
         a=0.000000;
         b=0.000000;
         repeating=1;
         age="UNKNOWN";
         text="WScore2";
         expCond="Westrule2==1 and local someone";
         expActiv="player exec ""ScoreWest2.sqs""";
         class Effects
         {
         };
      };
      class Item22
      {
         position[]={5264.952637,0.374669,8248.240234};
         a=0.000000;
         b=0.000000;
         repeating=1;
         age="UNKNOWN";
         text="WScore3";
         expCond="Westrule3==1 and local someone";
         expActiv="player exec ""ScoreWest3.sqs""";
         class Effects
         {
         };
      };
      class Item23
      {
         position[]={5264.952637,0.374669,8243.474609};
         a=0.000000;
         b=0.000000;
         repeating=1;
         age="UNKNOWN";
         text="WScore4";
         expCond="Westrule4==1 and local someone";
         expActiv="player exec ""ScoreWest4.sqs""";
         class Effects
         {
         };
      };
      class Item24
      {
         position[]={5279.552246,0.374669,8254.218750};
         a=0.000000;
         b=0.000000;
         age="UNKNOWN";
         text="End";
         expCond="(ScoreW >= Param2) or (ScoreE >= Param2) or (time >= Param1)";
         expActiv="player exec ""outro.sqs""; EndGame=1";
         class Effects
         {
         };
      };
      class Item25
      {
         position[]={5257.425293,0.374669,8278.919922};
         a=0.000000;
         b=0.000000;
         repeating=1;
         timeoutMin=1.000000;
         timeoutMid=1.000000;
         timeoutMax=1.000000;
         age="UNKNOWN";
         text="ShowScoreE";
         expCond="ShowSE==1";
         expActiv="titletext[format [localize ""STRS_SCORE_E"", ScoreW, ScoreE], ""PLAIN DOWN""]; ShowSE=0";
         class Effects
         {
         };
      };
      class Item26
      {
         position[]={5265.685059,0.374669,8278.919922};
         a=0.000000;
         b=0.000000;
         repeating=1;
         timeoutMin=1.000000;
         timeoutMid=1.000000;
         timeoutMax=1.000000;
         age="UNKNOWN";
         text="ShowScoreW";
         expCond="ShowSW==1";
         expActiv="titletext[format [localize ""STRS_SCORE_W"", ScoreW, ScoreE], ""PLAIN DOWN""]; ShowSW=0";
         class Effects
         {
         };
      };
      class Item27
      {
         position[]={5297.995605,0.374669,8254.923828};
         a=0.000000;
         b=0.000000;
         age="UNKNOWN";
         text="Time1";
         expCond="(Param1<10000) and (Param1>=120) and ((Param1-time)<=120)";
         expActiv="hint localize ""STRD_02""";
         class Effects
         {
         };
      };
      class Item28
      {
         position[]={5297.929199,0.374669,8252.865234};
         a=0.000000;
         b=0.000000;
         age="UNKNOWN";
         text="Time2";
         expCond="(Param1<10000) and (Param1>=300) and ((Param1-time)<=300)";
         expActiv="hint localize ""STRD_03""";
         class Effects
         {
         };
      };
      class Item29
      {
         position[]={5297.874512,0.374669,8251.089844};
         a=0.000000;
         b=0.000000;
         age="UNKNOWN";
         text="Time3";
         expCond="(Param1<10000) and (Param1>=600) and ((Param1-time)<=600)";
         expActiv="hint localize ""STRD_04""";
         class Effects
         {
         };
      };
      class Item30
      {
         position[]={5297.839355,0.374669,8249.142578};
         a=0.000000;
         b=0.000000;
         age="UNKNOWN";
         text="Time4";
         expCond="(Param1<10000) and (Param1>=1200) and ((Param1-time)<=1200)";
         expActiv="hint localize ""STRD_05""";
         class Effects
         {
         };
      };
      class Item31
      {
         position[]={5297.804199,0.374669,8247.201172};
         a=0.000000;
         b=0.000000;
         age="UNKNOWN";
         text="Time5";
         expCond="(Param1<10000) and (Param1>=1800) and ((Param1-time)<=1800)";
         expActiv="hint localize ""STRD_06""";
         class Effects
         {
         };
      };
      class Item32
      {
         position[]={5297.778809,0.374669,8245.484375};
         a=0.000000;
         b=0.000000;
         age="UNKNOWN";
         text="Time6";
         expCond="(Param1<10000) and (Param1>=3600) and ((Param1-time)<=3600)";
         expActiv="hint localize ""STRD_07""";
         class Effects
         {
         };
      };
      class Item33
      {
         position[]={5069.593750,3.879332,9151.051758};
         a=10.000000;
         b=6.000000;
         rectangular=1;
         activationBy="EAST";
         repeating=1;
         timeoutMin=5.000000;
         timeoutMid=5.000000;
         timeoutMax=5.000000;
         interruptable=1;
         age="UNKNOWN";
         text="E5";
         expCond="this and ((""(getpos _x select 2) >= -0.01"" count thislist) > 0)";
         expActiv="E5=1";
         expDesactiv="E5=0";
         class Effects
         {
         };
      };
      class Item34
      {
         position[]={5069.609375,3.879332,9151.257813};
         a=10.000000;
         b=6.000000;
         rectangular=1;
         activationBy="WEST";
         repeating=1;
         timeoutMin=5.000000;
         timeoutMid=5.000000;
         timeoutMax=5.000000;
         interruptable=1;
         age="UNKNOWN";
         text="W5";
         expCond="this and ((""(getpos _x select 2) >= -0.1"" count thislist) > 0)";
         expActiv="W5=1";
         expDesactiv="W5=0";
         class Effects
         {
         };
      };
      class Item35
      {
         position[]={5240.099121,0.374669,8220.484375};
         a=0.000000;
         b=0.000000;
         repeating=1;
         age="UNKNOWN";
         text="E5";
         expCond="E5==1 and W5==0 and Eastrule5!=1";
         expActiv="Eastrule5=1; Westrule5=0; flag5 setflagtexture ""naziflag.jpg""; hint localize ""STRS_SEC_3E""; ""Sector 5"" SetMarkerPos [12387.155273,395.955750,-49.769997]; ""Sector 5E"" SetMarkerPos getpos flag5; ""Sector 5W"" SetMarkerPos [12387.155273,395.955750,-49.769997]";
         class Effects
         {
         };
      };
      class Item36
      {
         position[]={5232.122559,0.374669,8220.296875};
         a=0.000000;
         b=0.000000;
         repeating=1;
         age="UNKNOWN";
         text="W5";
         expCond="W5==1 and E5==0 and Westrule5!=1";
         expActiv="Westrule5=1; Eastrule5=0; flag5 setflagtexture ""ukflag.jpg""; hint localize ""STRS_SEC_3W""; ""Sector 5"" SetMarkerPos [12387.155273,395.955750,-49.769997]; ""Sector 5W"" SetMarkerPos getpos flag5; ""Sector 5E"" SetMarkerPos [12387.155273,395.955750,-49.769997]";
         class Effects
         {
         };
      };
      class Item37
      {
         position[]={5255.813965,0.374669,8237.722656};
         a=0.000000;
         b=0.000000;
         repeating=1;
         age="UNKNOWN";
         text="EScore5";
         expCond="Eastrule5==1 and local someone";
         expActiv="player exec ""ScoreEast5.sqs""";
         class Effects
         {
         };
      };
      class Item38
      {
         position[]={5265.101074,0.374669,8237.589844};
         a=0.000000;
         b=0.000000;
         repeating=1;
         age="UNKNOWN";
         text="WScore5";
         expCond="Westrule5==1 and local someone";
         expActiv="player exec ""ScoreWest5.sqs""";
         class Effects
         {
         };
      };
      class Item39
      {
         position[]={5280.009277,0.374669,8248.281250};
         a=0.000000;
         b=0.000000;
         type="END1";
         age="UNKNOWN";
         text="TrueEnd";
         expCond="TrueEnd";
         expActiv="ForceEnd";
         class Effects
         {
         };
      };
      class Item40
      {
         position[]={4909.988770,6.000000,8987.251953};
         a=0.000000;
         b=0.000000;
         repeating=1;
         type="SWITCH";
         age="UNKNOWN";
         text="SwitchW1";
         expCond="Westrule1==1";
         class Effects
         {
         };
         synchronizations[]={0};
      };
      class Item41
      {
         position[]={4911.149902,6.000000,8974.769531};
         a=0.000000;
         b=0.000000;
         repeating=1;
         type="SWITCH";
         age="UNKNOWN";
         text="SwitchE1";
         expCond="Eastrule1==1 and Eastrule2==1 and Eastrule4==1 and Eastrule5==1";
         class Effects
         {
         };
         synchronizations[]={1};
      };
      class Item42
      {
         position[]={5276.024902,1.793249,9060.193359};
         a=0.000000;
         b=0.000000;
         repeating=1;
         type="SWITCH";
         age="UNKNOWN";
         text="SwitchW2";
         expCond="Westrule1==1 and Westrule3==1";
         class Effects
         {
         };
         synchronizations[]={2};
      };
      class Item43
      {
         position[]={5276.394043,1.793249,9051.706055};
         a=0.000000;
         b=0.000000;
         repeating=1;
         type="SWITCH";
         age="UNKNOWN";
         text="SwitchE2";
         expCond="Eaststrule1==1 and Eaststrule2==1 and Eastrule3==1 and Eaststrule4==1 and Eaststrule5==1";
         class Effects
         {
         };
         synchronizations[]={3};
      };
      class Item44
      {
         position[]={5270.549316,0.374669,9391.403320};
         a=0.000000;
         b=0.000000;
         repeating=1;
         type="SWITCH";
         age="UNKNOWN";
         text="SwitchW2";
         expCond="Westrule1==1 and Westrule2==1 and Westrule3==1 and Westrule5==1";
         class Effects
         {
         };
         synchronizations[]={7};
      };
      class Item45
      {
         position[]={5270.549316,0.374669,9378.737305};
         a=0.000000;
         b=0.000000;
         repeating=1;
         type="SWITCH";
         age="UNKNOWN";
         text="SwitchE2";
         expCond="Eastrule2==1";
         class Effects
         {
         };
         synchronizations[]={6};
      };
      class Item46
      {
         position[]={5266.250000,0.374669,9509.532227};
         a=0.000000;
         b=0.000000;
         repeating=1;
         type="SWITCH";
         age="UNKNOWN";
         text="SwitchW4";
         expCond="Westrule1==1 and Westrule2==1 and Westrule3==1 and Westrule4==1 and Westrule5==1";
         class Effects
         {
         };
         synchronizations[]={9};
      };
      class Item47
      {
         position[]={5267.356445,0.374669,9492.186523};
         a=0.000000;
         b=0.000000;
         repeating=1;
         type="SWITCH";
         age="UNKNOWN";
         text="SwitchE4";
         expCond="Eastrule2==1 and Eastrule4==1";
         class Effects
         {
         };
         synchronizations[]={8};
      };
      class Item48
      {
         position[]={5273.987305,1.793249,9219.690430};
         a=0.000000;
         b=0.000000;
         repeating=1;
         type="SWITCH";
         age="UNKNOWN";
         text="SwitchW5";
         expCond="Westrule1==1 and Westrule3==1 and Westrule5==1";
         class Effects
         {
         };
         synchronizations[]={4};
      };
      class Item49
      {
         position[]={5274.356445,1.793249,9211.203125};
         a=0.000000;
         b=0.000000;
         repeating=1;
         type="SWITCH";
         age="UNKNOWN";
         text="SwitchE5";
         expCond="Eaststrule2==1 and Eaststrule4==1 and Eaststrule5==1";
         class Effects
         {
         };
         synchronizations[]={5};
      };
      class Item50
      {
         position[]={5111.892578,1.793249,8277.022461};
         a=0.000000;
         b=0.000000;
         repeating=1;
         timeoutMin=1.000000;
         timeoutMid=1.000000;
         timeoutMax=1.000000;
         interruptable=1;
         age="UNKNOWN";
         expCond="not alive USA1 and local USA1";
         expDesactiv="aaa = ""parachutec"" createVehicle getpos USA1;aaa setPos [(getmarkerpos ""West Start"" select 0) +40 -(random 80),(getmarkerpos ""West Start"" select 1) + 30 -(random 60),110]; USA1 moveInDriver aaa; aaa setDir 90";
         class Effects
         {
         };
------------------------------------------------------------------------------

This is one of my scoring files (I have 5 for East and 5 for West - different scores, as above)

;This is the scoring system script
;created by D'n'A and Sith for Domination

_x = 0

#LoopStart<br
« Last Edit: 15 Mar 2004, 20:24:28 by WELSH »

WELSH

  • Guest
Re:Solve this then...
« Reply #1 on: 13 Mar 2004, 00:50:25 »
This is it:

Code: [Select]
;This is the scoring system script
;created by D'n'A and Sith for Domination

_x = 0

#LoopStart

~1

? (EndGame == 1) : goto "Endloop"
? (EastRule1 == 0) : goto "EndLoop"
? (_x == 60) : goto "AddScore"

_x = _x + 1

goto "LoopStart"

#AddScore

_x = 0

ScoreE = ScoreE + 20
PublicVariable "ScoreE"

ShowSE=1
PublicVariable "ShowSE"

goto "LoopStart"


#EndLoop

exit
------------------------------------------------------------------------------

Finally, this is my stringtable:
Code: [Select]
LANGUAGE,English,French,Italian,Spanish,German,Czech


STRS_SCORE_E,"East scored a point.\nWest: %1 - East: %2","L'Est a marqué un point.\nOuest: %1 - Est: %2","L'Oriente ha segnato un punto.\nOccidente: %1 - Oriente: %2","El bando este consiguió un punto.\nOeste: %1 - Este: %2","Osten hat einen Punkt.\nWesten: %1 - Osten: %2","Východ získal bod.\nZápad: %1 - Východ: %2"
STRS_SCORE_W,"West scored a point.\nWest: %1 - East: %2","L'Ouest a marqué un point.\nOuest: %1 - Est: %2","L'Occidente ha segnato un punto.\nOccidente: %1 - Oriente: %2","El bando oeste consiguió un punto.\nOeste: %1 - Este: %2","Westen hat einen Punkt.\nWesten: %1 - Osten: %2","Západ získal bod.\nZápad: %1 - Východ: %2"
STRS_GAMEOVER,"Game over\nFinal score West: %1 - East: %2","Partie terminée\nScore final Ouest: %1 - Est: %2","Fine partita\nPunteggio finale Occidente: %1 - Oriente: %2","Fin de la partida\nPuntuación final del Oeste: %1 - Este: %2","Spiel vorbei\nEndpunktzahl Westen: %1 - Osten: %2","Konec hry\nKoneèné skóre Západ: %1 - Východ: %2"

STRS_DESCR,"Capture the designated Sectors.","Pour gagner des points, prenez le contrÃ'le des secteurs désignés sur la carte.","Per ottenere punti mantieni sotto il tuo controllo i settori indicati sulla mappa.","Hay que hacerse con el control de los sectores indicados. La bandera aparecerá en cuanto se tome el sector.","Halten Sie die angegebenen Sektoren auf der Karte, um Punkte zu erzielen.","Obsaï a drž vyznaèené sektory."

STRD_02,"2 minutes remaining","Il vous reste 2 minutes","2 minuti rimasti","Quedan 2 minutos","noch 2 Minuten","Zbývají 2 minuty", Title
STRD_03,"5 minutes remaining","Il vous reste 5 minutes","5 minuti rimasti","Quedan 5 minutos","noch 5 Minuten","Zbývá 5 minut", Title
STRD_04,"10 minutes remaining","Il vous reste 10 minutes","10 minuti rimasti","Quedan 10 minutos","noch 10 Minuten","Zbývá 10 minut", Title
STRD_05,"20 minutes remaining","Il vous reste 20 minutes","20 minuti rimasti","Quedan 20 minutos","noch 20 Minuten","Zbývá 20 minut", Title
STRD_06,"30 minutes remaining","Il vous reste 30 minutes","30 minuti rimasti","Quedan 30 minutos","noch 30 Minuten","Zbývá 30 minut", Title
STRD_07,"1 hour remaining","Il vous reste 1 heure","1 ora rimasta","Queda 1 hora","noch 1 Stunde","Zbývá 1 hodina" Title

STRS_SEC_1E,"Sector 1 is ruled by the East","Le secteur 1 est contrÃ'lé par l'Est","Il settore 1 è governato dall'Oriente.","Sector 1 bajo control del bando este.","Sektor 1 wird vom Osten beherrscht","Sektor 1 ovládl Východ"
STRS_SEC_2E,"Sector 2 is ruled by the East","Le secteur 2 est contrÃ'lé par l'Est","Il settore 2 è governato dall'Oriente.","Sector 2 bajo control del bando este.","Sektor 2 wird vom Osten beherrscht","Sektor 2 ovládl Východ"
STRS_SEC_3E,"Sector 3 is ruled by the East","Le secteur 3 est contrÃ'lé par l'Est","Il settore 3 è governato dall'Oriente.","Sector 3 bajo control del bando este.","Sektor 3 wird vom Osten beherrscht","Sektor 3 ovládl Východ"
STRS_SEC_4E,"Sector 4 is ruled by the East","Le secteur 4 est contrÃ'lé par l'Est","Il settore 4 è governato dall'Oriente.","Sector 4 bajo control del mando este.","Sektor 4 wird vom Osten beherrscht","Sektor 4 ovládl Východ"
STRS_SEC_5E,"Sector 5 is ruled by the East","Le secteur 5 est contrÃ'lé par l'Est","Il settore 5 è governato dall'Oriente.","Sector 5 bajo control del mando este.","Sektor 5 wird vom Osten beherrscht","Sektor 5 ovládl Východ"

STRS_SEC_1W,"Sector 1 is ruled by the West","Le secteur 1 est contrÃ'lé par l'Ouest","Il settore 1 è governato dall'Occidente.","Sector 1 bajo control del mando oeste.","Sektor 1 wird vom Westen beherrscht","Sektor 1 ovládl Západ"
STRS_SEC_2W,"Sector 2 is ruled by the West","Le secteur 2 est contrÃ'lé par l'Ouest","Il settore 2 è governato dall'Occidente.","Sector 2 bajo control del mando oeste.","Sektor 2 wird vom Westen beherrscht","Sektor 2 ovládl Západ"
STRS_SEC_3W,"Sector 3 is ruled by the West","Le secteur 3 est contrÃ'lé par l'Ouest","Il settore 3 è governato dall'Occidente.","Sector 3 bajo control del mando oeste.","Sektor 3 wird vom Westen beherrscht","Sektor 3 ovládl Západ"
STRS_SEC_4W,"Sector 4 is ruled by the West","Le secteur 4 est contrÃ'lé par l'Ouest","Il settore 4 è governato dall'Occidente.","Sector 4 bajo control del mando oeste.","Sektor 4 wird vom Westen beherrscht","Sektor 4 ovládl Západ"
STRS_SEC_5W,"Sector 5 is ruled by the West","Le secteur 5 est contrÃ'lé par l'Ouest","Il settore 5 è governato dall'Occidente.","Sector 5 bajo control del mando oeste.","Sektor 5 wird vom Westen beherrscht","Sektor 5 ovládl Západ"


STRD_08,"Time:","Temps :","Tempo:","Tiempo:","Zeit:","Èas", Param
STRD_09,"Score to win:","Score à atteindre :","Punteggio per vincere:","Puntuación para ganar:","Siegpunktzahl:","Scóre k vítìzství", Param

STRD_12,"Unlimited","Temps illimité","Tempo illimitato","Ilimitado","Unbegrenzt","Bez limitu" Param

STRD_T005,"5 min","5 min","5 min.","5 minutos","5 Min.","5 Min.", Param
STRD_T010,"10 min","10 min","10 min.","10 minutos","10 Min.","10 Min.", Param
STRD_T015,"15 min","15 min","15 min.","15 minutos","15 Min.","15 Min.", Param
STRD_T020,"20 min","20 min","20 min.","20 minutos","20 Min.","20 Min.", Param
STRD_T025,"25 min","25 min","25 min.","25 minutos","25 Min.","25 Min.", Param
STRD_T030,"30 min","30 min","30 min.","30 minutos","30 Min.","30 Min.", Param
STRD_T045,"45 min","45 min","45 min.","45 minutos","45 Min.","45 Min.", Param
STRD_T060,"1 hour","1 heure","1 ora","1 hora","1 Stunde","1 hodina" Param
STRD_T120,"2 hours","2 heures","2 ore","2 horas","2 Stunden","2 hodiny" Param
« Last Edit: 13 Mar 2004, 08:49:42 by Noon416 »

Offline Noon416

  • Old Bugger
  • Former Staff
  • ****
Re:Solve this then...
« Reply #2 on: 13 Mar 2004, 08:50:47 »
Heya WELSH,

Just a hint, if you're going to post lots of code, you can use the code and /code (with []'s around the word code) to help make your post smaller and easier to read. ;)

I've done this for you, just to make life easier for someone wanting to help you. :)
"If a man talks in the woods and no woman hears him, is he still wrong?"

WELSH

  • Guest
Re:Solve this then...
« Reply #3 on: 13 Mar 2004, 15:08:26 »
Thanks a lot.  Very helpful.

WELSH

  • Guest
Re:Sector Control - Solve this then...
« Reply #4 on: 14 Mar 2004, 14:58:27 »
Anybody?  Please.....................It's so frustrating!  This is the only thing that isnt working................but, as you can imagine, is crucial.

WELSH

  • Guest
Re:Sector Control - Solve this then...
« Reply #5 on: 15 Mar 2004, 20:23:32 »
Arent there any talented scripters out there to help?

Come on guys.

It's easy!! :P