Home   Help Search Login Register  

Author Topic: From WEST TO EAST ADDON CHANGE?  (Read 1210 times)

0 Members and 2 Guests are viewing this topic.

Offline John

  • Members
  • *
From WEST TO EAST ADDON CHANGE?
« on: 20 Jul 2006, 17:33:04 »
HI there!

im making a mission for me and my mate and he wants to use a addon that is west....and also the addon im using is west so what im trying to do is ive put the addon he wanted to use in to a pbo decrypter to see if i can change the script of his addon to east...

Is this posible?....if so where do I change it?

Cheers

Offline SniperAndy

  • Members
  • *
    • VBS Community
Re: From WEST TO EAST ADDON CHANGE?
« Reply #1 on: 20 Jul 2006, 17:51:53 »
yes you can.
make the leader in your friends group a EAST unit.
group his WEST units to that leader.

Then set the condition of the leaders presence to 0 in your editor.
Now when the missions starts the leader is not present but your firends WEST units are EAST (red)

Offline John

  • Members
  • *
Re: From WEST TO EAST ADDON CHANGE?
« Reply #2 on: 20 Jul 2006, 18:09:29 »
But if i do this will he still be able to control the other ppl in the team....

Its a ten man team....so he must control the other 9 AI players.....will this still be the case if I do what you say?.....im not sure.

Offline John

  • Members
  • *
Re: From WEST TO EAST ADDON CHANGE?
« Reply #3 on: 20 Jul 2006, 18:28:57 »
Nop defenately dosnt work.....when i try it in the editor the est guy with probability 0% is still their i shoot him and then im in control of my troops but when i export it to multiplayer....he is still their and I shoot him and he just respawn so the command of the men dosnt come on to me and I dont have control of the  troops.

Help :D

Offline myke13021

  • Contributing Member
  • **
  • Myke
Re: From WEST TO EAST ADDON CHANGE?
« Reply #4 on: 20 Jul 2006, 19:41:59 »
Open the mission.sqm and change manually the sides of the units from "WEST" to "EAST" may work.

Code: [Select]
class Mission
{
randomSeed=13558787;
class Intel
{
briefingName="-= Air War CTF =-";
};
class Groups
{
items=1;
class Item0
{
side="WEST";
class Vehicles
{
items=1;
class Item0
{
position[]={5295.804199,11.559014,4986.736328};
id=0;
side="WEST";
vehicle="SoldierWB";
player="PLAYER COMMANDER";
leader=1;
skill=0.600000;
};
};
};
};

Offline Ding

  • Contributing Member
  • **
  • Jurassic Park
Re: From WEST TO EAST ADDON CHANGE?
« Reply #5 on: 21 Jul 2006, 16:13:20 »
That does work Mike, But it takes a long time and fiddly load save work to stop the mission editor over writting the Mission.sqm

The best way to do it is to as said above group the west unit to an east unit or the other way round and then in the leader unit enter

DeleteVehicle this, and the other soldier should remain that side
"If I remain lost and die on a cross, atleast I wasn't born in a manger"

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: From WEST TO EAST ADDON CHANGE?
« Reply #6 on: 21 Jul 2006, 16:34:40 »
If this is a mission for MP the above suggestion might not work. Instead put the deleteVehicle command in a script, put a slight pause at the top of the script before the deleteVehicle command, and then call the script from the leader unit's init field. Put the leader unit somewhere out of sight.

In the leader units init:
Code: [Select]
this exec "pausedelete.sqs"
pausedelete.sqs
Code: [Select]
~0.5
deleteVehicle _this
exit

Of course, you could also use Chris' OFP Script Editor which has a wizard to generate scripts to customise units.

 
« Last Edit: 21 Jul 2006, 16:41:59 by Mr.Peanut »
urp!