OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: bmgarcangel on 22 Mar 2003, 02:13:34

Title: Changing a civilian to resistance side
Post by: bmgarcangel on 22 Mar 2003, 02:13:34
I need a init or trigger init field thing that will change say civilian to resistance.   You know the change sides init thing.  Anyone know what it is exactly I need it for my new mission in my campaign I'm building please hurry with it too! >:(
Title: Re:Changing a civilian to resistance side
Post by: Stalker on 22 Mar 2003, 10:35:17
I need a init or trigger init field thing that will change say civilian to resistance.   You know the change sides init thing.  Anyone know what it is exactly I need it for my new mission in my campaign I'm building please hurry with it too! >:(
Call your civie aP.Make res soldier and call him Resy. Make a trigger and in it's init line writh the following:
aP join Resy; deletevehicle Resy
If that's not working try this one:
aP join [Resy]; deletevehicle Resy
Or this one:
[aP] join Resy; deletevehicle Resy

Sorry but I forgot what solution is right :-X :tomato:
Title: Re:Changing a civilian to resistance side
Post by: Iron Maiden Dude on 22 Mar 2003, 16:08:45
I can't help you with that message cuz i haven't got a clue what you are on about but if i did i would of helped you

p.s. Does anyone here go to bankfield school?
Title: Re:Changing a civilian to resistance side
Post by: bmgarcangel on 22 Mar 2003, 16:19:37
Call your civie aP.Make res soldier and call him Resy. Make a trigger and in it's init line writh the following:
aP join Resy; deletevehicle Resy
If that's not working try this one:
aP join [Resy]; deletevehicle Resy
Or this one:
[aP] join Resy; deletevehicle Resy

Sorry but I forgot what solution is right :-X :tomato:

Not even one of those work.  I'm talking about changing to resistance side, you know, so the east will fire at the civilain, not joining a group
Title: Re:Changing a civilian to resistance side
Post by: Stalker on 22 Mar 2003, 17:28:25
Not even one of those work.  I'm talking about changing to resistance side, you know, so the east will fire at the civilain, not joining a group
Joining a res group will make civie an enemy to the east.
Title: Re:Changing a civilian to resistance side
Post by: bmgarcangel on 22 Mar 2003, 18:14:28
I tired it man.  But it didn't work
Title: Re:Changing a civilian to resistance side
Post by: Stalker on 22 Mar 2003, 18:38:55
I tired it man.  But it didn't work
t always worked for me but in the beginning of the mission. I just put the civie to the res group by oining them and deletevehicled the res commander.
Title: Re:Changing a civilian to resistance side
Post by: bmgarcangel on 22 Mar 2003, 19:15:42
well i'm trying to create a mission were you're a civie and driving down a road.  But you can't drive funny  :Por off the road or you change to resistance and the reds shoot you.  :o  I'm going to line the road with triggers and stuff so i need sometin that will work
Title: Re:Changing a civilian to resistance side
Post by: dmakatra on 22 Mar 2003, 19:46:35
OK. IÂ'm lazy today so I didnÂ't read the the whole thing. ;D Anyway, has anyone suggest that you hack the file. ItÂ's much more cooler. ;D Just open up yer notepad. Hack the mission.sqm file and yippie! HeÂ's on the side you want. It works good 2 cause you donÂ't need to deletevehicle shit thingys cause that just screws up the radio.

2,3,4,5, follow 1.
And whoops. 1 is gone. Weird isnÂ't it? ;D
Title: Re:Changing a civilian to resistance side
Post by: Chris Death on 22 Mar 2003, 20:52:04
Quote
well i'm trying to create a mission were you're a civie and driving down a road.  But you can't drive funny  or off the road or you change to resistance and the reds shoot you.    I'm going to line the road with triggers and stuff so i need sometin that will work

Well, then you can still let him start already on resistance side,

BUT - your_guy setcaptive true - will make him be accepted
as friendly to the russians. And if you need to let him get
hunted by russians, just use: your_guy setcaptive false

~S~ CD
Title: Re:Changing a civilian to resistance side
Post by: bmgarcangel on 22 Mar 2003, 22:37:32
Ok cool man,
got it now.  I already know the captive thing but I wanted to know how to change to another side thats all ;D
Title: Re:Changing a civilian to resistance side
Post by: McHale on 23 Mar 2003, 21:22:50
I know this one. Just edit your mission.sqs (with notepad).

Scroll down and change a resistance soldiers vehicle to "civilianX" where X is the type of civilian you want...

Edit: What tank is that on ur avatar?
Title: Re:Changing a civilian to resistance side
Post by: macguba on 23 Mar 2003, 21:49:27
For the avoidance of doubt, as far as I know a unit can't change sides in the middle of a mission.