OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: max_killer_payne on 13 Jun 2003, 20:28:55

Title: Making units change sides
Post by: max_killer_payne on 13 Jun 2003, 20:28:55
I'm making a gang war mission and all of the gang members are just from the civilian side. Using the man units. I changed some of the man units in the mission.sqm to the east side and to test it out I put a west soldier in front of a civilian changed to east via the mission.sqm and nothing happened , he didnt shoot at him or anything. Doesent the computer recognize it as a legitimate target unless he is armed or somethin ??? Can anyone help?
Title: Re:Making units change sides
Post by: dmakatra on 13 Jun 2003, 20:36:57
When U have hacked da mission.sqm u should NOT doubleclick on the hacked object. When the dialog opens the target is back to itÂ's normal shape.
Title: Re:Making units change sides
Post by: gothicv on 14 Jun 2003, 00:33:58
the way i have done it (where I want civvs as baddiest and soforth) is make a group of people (I used police officers, but you can use anybody) and then set their leader as the side you want them to be on, so in my example I had an east officer with his rank as colonel, and all the cops as privates except the one i wanted to be the true leader as lt. then in the east officers' init feild I set that command (i forget what it is) to delete him; all the others even though civilian were left as east!
Title: Re:Making units change sides
Post by: Messiah on 14 Jun 2003, 01:06:15
u cant change civilian to east or west by hacking mission.sqm.... only resistance (GUER) - the editor may recognise them as east and west, but the AI won't
Title: Re:Making units change sides
Post by: Tomb on 14 Jun 2003, 01:10:13
The best thing to do is to GROUP them to some higer-ranking dood from another side


To spit it out:


[bob, Rob] join GrpNull; [Bob, Rob] join WESTmob  :-*


( or just create a WEST guy and then the CIVY's, and draw grp-lines between um!
Then just "deleteVehicle WESTmob", and voila - the civy's are americanized.)  8)

Title: Re:Making units change sides
Post by: Babalon on 14 Jun 2003, 01:10:35
Well yes AI might have a problem with that, but there is a few missions out there where this does work in multiplayer.  You just need to not open the mission in your mission editor after you alter the mission file.  The editor automaticaly returns them to their original, non-altered settings.