Home   Help Search Login Register  

Author Topic: Changine Unit Side  (Read 993 times)

0 Members and 1 Guest are viewing this topic.

Chris330

  • Guest
Changine Unit Side
« on: 09 Sep 2004, 03:20:26 »
How do I change a unit's side from east to west? I have looked through the commands and searched with no results. Any ideas anyone ;)
« Last Edit: 09 Sep 2004, 03:20:43 by Chris330 »

evil

  • Guest
Re:Changine Unit Side
« Reply #1 on: 09 Sep 2004, 04:53:16 »
It can't really be done.  You could make a unit join a group on the other side though, that's the best workaround I know of.

Peter haroski

  • Guest
Re:Changine Unit Side
« Reply #2 on: 09 Sep 2004, 06:44:05 »
This is the version I learned,  make russian colonel. Then make group of west privates, and link them to same group with russian, then write to colonels init field "this  deletevehicle" im not sure was it this way,..

Chris330

  • Guest
Re:Changine Unit Side
« Reply #3 on: 09 Sep 2004, 11:27:59 »
I wonder how BIS do it. I'm sure someone did it on an old mission I saw once. I'm buggered if I'll be able to find it though!! I've tried setting them a captive when the west squad appears and then have him join their group, then uncaptive him. The only problem is russians will now not fire at him but he will fire at russians ???

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Changine Unit Side
« Reply #4 on: 09 Sep 2004, 11:46:54 »
You can do it easily in a campaign - just make two consecutive missions that look like one.
Plenty of reviewed ArmA missions for you to play

Chris330

  • Guest
Re:Changine Unit Side
« Reply #5 on: 09 Sep 2004, 12:46:14 »
That's a bit beyond my ability!! I'll try and find another way  ;)

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Changine Unit Side
« Reply #6 on: 09 Sep 2004, 15:40:00 »
Forgot to say:  is this player or AI?   If its AI just delete him and replace him with a unit of the other side, while the player isn't looking.
Plenty of reviewed ArmA missions for you to play

Sophion

  • Guest
Re:Changine Unit Side
« Reply #7 on: 10 Sep 2004, 00:34:57 »
Simple (Hopeing that everyone knows the default text editor Notepad).
all you have to do is
1)   start the application [notepad] (considering you named the person "MAN")

2)   click File/open

3)   Under the box 'Files of type' click the arrow, then select 'All files'

4)   Browse to your user name (...Operation Flashpoint\Users\Your Name\Missions\Mission Name; and select 'mision.sqm'

5)   Now here is where it gets a little tricky: Look under the unit with Name="MAN"
Code: [Select]
class Groups
   {
      items=4;
      class Item0
      {
         side="WEST"; <== look here!!!
         class Vehicles
         {
            items=1;
            class Item0
            {
               position[]={9748.137695,29.834999,3940.450928};
               id=0;
               side="WEST"; <== Look Here!!!
               vehicle="SoldierWG36a";
               leader=1;
               skill=0.600000;
                    Name="MAN"
       
         };
      };

Do you see the arrows? in the " " put the side you want.

5a)   If you want West then put WEST in the " "

5b)   If you want East then put EAST in the " "

5c)   If you want Resistance then put GUER in the
" "

5d)   If you want Civilian then put CIV in the " "

Chris330

  • Guest
Re:Changine Unit Side
« Reply #8 on: 11 Sep 2004, 17:54:24 »
Thanks to all who replied in this thread :D I sorted it in the end. The best way to do it I found is to use the mission editor's drag group function to link an east officer to a west group at the start.

Then have him join a grpnull and set his captive status to true. When you unset his captive status he fires on east and east fire on him. Reason I'm using captive is I am simulating an arrest of an enemy officer in a mission I'm making  ;)