Home   Help Search Login Register  

Author Topic: Changing East to West (and vis versa)  (Read 1146 times)

0 Members and 2 Guests are viewing this topic.

DMN

  • Guest
Changing East to West (and vis versa)
« on: 15 Feb 2004, 19:26:42 »
Does anybody know of a tool that will let be change the sides of units (men, cars etc) from east to west/ west to east?

The reason I ask is I got some of the excellent British troops from:

http://malvinas.cazadoresdemonte.com.ar/

but the only problem is that being an Argentinian mod, the british troops come up under East, not West. As I want to use them with other mods is there anything out there I can use to change their side to West?

Kaliyuga

  • Guest
Re:Changing East to West (and vis versa)
« Reply #1 on: 15 Feb 2004, 20:03:42 »
 use the old trick:

create an officer of the side you want your guys to be on...

group your dudes to the officer... and type this in his init line:

deletevehicle this

then the mission will start.. the officer will get deleted and then the next highest dude will take command of the group all the while still believing he 's on the side of the dead officer..

:cheers:

DMN

  • Guest
Re:Changing East to West (and vis versa)
« Reply #2 on: 16 Feb 2004, 12:47:10 »
Thanks for the reply.

I only have the editor that comes with the GOTY edtion, will that work with this?

Nice HST quote by the way, though I prefer:

"When the going gets wierd, the wierd turn pro."

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Changing East to West (and vis versa)
« Reply #3 on: 16 Feb 2004, 13:17:01 »
AFAIK this trick works with all versions of OFP.

Whichever one you're using, it's worth heading over to the official OFP site and upgrading to the latest version.    1.91 full from the download page or 1.96 beta from the forums.
« Last Edit: 16 Feb 2004, 13:17:44 by macguba »
Plenty of reviewed ArmA missions for you to play

DMN

  • Guest
Re:Changing East to West (and vis versa)
« Reply #4 on: 18 Feb 2004, 18:43:27 »
This trick does not seem to work in the GOTY edtion. I have all the latest patches etc.

Is there not a PBO editor that can be used?

Loup-Garou

  • Guest
Re:Changing East to West (and vis versa)
« Reply #5 on: 18 Feb 2004, 20:52:47 »
This trick must work : perhaps check the rank of the "deleted" officer (must be higher than the player's one).  ;)

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Changing East to West (and vis versa)
« Reply #6 on: 18 Feb 2004, 21:14:20 »
It should work - as Loup-Garou says, make sure that the officer to be deleted is the group leader.   Try making it work without deleting him, that way it will be easier to check what's going on.

As an alternative you can of course hack the mission.sqm.
Plenty of reviewed ArmA missions for you to play

timebandit

  • Guest
Re:Changing East to West (and vis versa)
« Reply #7 on: 12 Apr 2004, 11:07:00 »
I've been fiddling with the same thing - though I've been changing British West units to East to fit in with the cazadores scheme.

You need to De-PBO the addon and open the config (.cpp) file.

Edit this by going to the "units class" part and changing "SoldierE2 to "SoldierW" (or vice versa, depending on whether you want to ed up with soldiers on the West or East side).

Then go down to the "class CfgGroups" part and change "class East { name="East";" to "class West {name="West";" (or vice versa, as desired).

Below that, in the same part, change "side" from "0" to "1" (or v.v.).

Now re_PBO the files and put the new .pbo file in your addons folder and restart the editor.

I used  the "Make PBO"  and  "PBO Decryptor" tools by Amalfi [petr.skalsky@seznam.cz].

If it doesn't work for all the units in a given addon, check the "config" file again to make sure you didn't miss any "E"/"W" designators.

I hope this solves your problem.

Offline Kuro

  • Former Staff
  • ****
  • 2./FschJgBtl 251 Green Devils
    • VBS2 Mission Download Site
Re:Changing East to West (and vis versa)
« Reply #8 on: 13 Apr 2004, 06:15:50 »
More easy solution,

open your mission.sqm and edit the side directly.

in your mission.sqm you have:
...
class Item0
      {
                 
                 position[]={9002.005859,71.809998,4216.137207};
               azimut=355.000000;
               id=0;
               side="WEST";
               vehicle="BAS_DeltaOperator2DES";
               player="PLAYER COMMANDER";
               leader=1;
               skill=0.600000;
...


If you delete the "WEST" and overwrite it with "EAST"  the unit has changed side. Easy , isnt  it ?


Greating
Kuro
« Last Edit: 13 Apr 2004, 06:21:32 by Kuro »

Loup-Garou

  • Guest
Re:Changing East to West (and vis versa)
« Reply #9 on: 13 Apr 2004, 16:32:35 »
More easy solution,

open your mission.sqm and edit the side directly.

in your mission.sqm you have:
...
class Item0
      {
                 
                 position[]={9002.005859,71.809998,4216.137207};
               azimut=355.000000;
               id=0;
               side="WEST";
               vehicle="BAS_DeltaOperator2DES";
               player="PLAYER COMMANDER";
               leader=1;
               skill=0.600000;
...


If you delete the "WEST" and overwrite it with "EAST"  the unit has changed side. Easy , isnt  it ?


Greating
Kuro

WOW !  :o What a trick ! Personally I never thought about opening "mission.sqm"... . Thanks, Kuro !

Offline Jezuro

  • Members
  • *
  • Hookah 4 lyfe!
    • Jezuro's ArmA Workshop
Re:Changing East to West (and vis versa)
« Reply #10 on: 14 Apr 2004, 20:12:32 »
In our little central Europe, we change mission.sqm almost every moment  ;D OK, I'm just kidding... But be careful - if you change ANYTHING that has anything to do with the side-changed unit, it's side will be turned back to normal. You cannot:

- change anything in the "edit unit" window in the editor; you cannot even double-click on it and press OK!
- change or add any waypoints for the unit

If you do so, you'll have to edit the mission.sqm again  :( - I've been messing with this stuff few days until I found out what's going wrong  ;D

Still you can group the unit with triggers, markers etc.
"We are Her salvation, and through Her command we shall live forever. I will not die. Not here. Not now. Never!!!"

Offline Kuro

  • Former Staff
  • ****
  • 2./FschJgBtl 251 Green Devils
    • VBS2 Mission Download Site
Re:Changing East to West (and vis versa)
« Reply #11 on: 15 Apr 2004, 05:51:34 »
Jezuro is correct you should keep two versions of the mission.sqm. One for editing (with the "normal" east-west setting). And one for playtesting.
Well, maybe not the most convient way. But the result is perfect for the "normal" player. He can play the missions with the normal AddOn