Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
- custom Init Mission
- custom Init Common
- copy of Warfare Structures config.
You'll need Warfare to call a custom Init Mission script as described by Darren Brant.
http://sandbox.darrenbrant.com/arma_ii/how-to-setup-the-arma-ii-warfare-module
http://sandbox.darrenbrant.com/arma_ii/customizing-the-warfare-aircraft-factory-part-2
He demonstrates how to adjust the Aircraft config. You want to adjust Factions, and the Structures config instead.
In your custom Init Common script (called by the custom Mission Init), put this:
BIS_WF_Common SetVariable ["WestFactions",[Localize "STR_FN_CDF"]];
BIS_WF_Common SetVariable ["EastFactions",[,Localize "STR_FN_INS"]];
That sets the factions to CDF and Insurgents. But the structures will still produce USMC and RU units. They are fixed to USMC and RU and don't provide faction alternative. You need to change the Structure factions and recompile the config.
So add this line to the Init Common:
[] Call Compile PreprocessFile ("Config_Structures.sqf");
Use a pbo extractor and obtain a copy of Warfare's Config_Structures.sqf script. Copy it to your mission file. Open it, and where you see the assignments of:
_f = [[Localize "STR_FN_USMC"]];
- or -
_f = _f + [[Localize "STR_FN_USMC"]];
change USMC faction to: [[Localize "STR_FN_CDF"]];
And where you see assignments of:
_f = [[Localize "STR_FN_RU"]];
- or -
_f = _f + [[Localize "STR_FN_RU"]];
change RU faction to: [[Localize "STR_FN_INS"]];
Save and run. The HQ and factories will still be USMC and RU, but will produce CDF and INS units. Since you have the Structures config in your mission folder anyway, you could also change them to the correct WF faction objects if you wish.
Hope this helps.