Jump to content
Sign in to follow this  
kittycat

Switch sides?

Recommended Posts

How can set the side of a unit ingame? Like switching from east to west?

Share this post


Link to post
Share on other sites

Is that change sides during a mission, or alter the side a unit appears on like OFrP froggies being West rather than Resistance?

Share this post


Link to post
Share on other sites

froggies? -what is that?

I want to change the player side ingame or at start of mission.

Share this post


Link to post
Share on other sites

I doubt that side can be switched once the mission runs.

You can simulate a side change by using SetCaptive or rating adjust. Pls check ComRef on both commands to get further detail.

Share this post


Link to post
Share on other sites

You can get a unit to change sides by getting it to join a soldier of another side.

[eastunit1,eastunit2] join westgroup

RED

Share this post


Link to post
Share on other sites
froggies? -what is that?

The french eat frogs legs, the english roast beef. So the english call the french 'frog', and the french call the english 'rosbeef'  smile_o.gif

Share this post


Link to post
Share on other sites

If you want to permanently change a unit in an addon, you can unpack (a copy of...) the .pbo and edit the config.cpp file, then repack the addon. This is handy if you just want to alter an exisiting mission using the ofp editor, for example to replace the US with the French.

Share this post


Link to post
Share on other sites
If you want to permanently change a unit in an addon, you can unpack (a copy of...) the .pbo and edit the config.cpp file, then repack the addon. This is handy if you just want to alter an exisiting mission using the ofp editor, for example to replace the US with the French.

It can be also changed in mission.sqm (if not needed to be permanently changed addon).

Share this post


Link to post
Share on other sites
It can be also changed in mission.sqm (if not needed to be permanently changed addon).

So you could have a script to do this for a given mod and just call it in those missions you needed it? I guess you could do the same thing to alter standard weapon & ammo loadouts for the various classes of soldiers etc. Hmmm. Interesting...

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×