User Details
- User Since
- Aug 10 2014, 8:36 PM (541 w, 17 m)
May 25 2016
I have gotten some feedback from commy by making another #define Quote to handle the texture input.
May 22 2016
May 10 2016
I was using Callsign module under Group Modifiers.
Does the editor supply a Individual callsign Module or do we have to use scripting for that?
Oh....
Let me look in the mission, I shall get back to you soon.
Larrow's message has helped me to work around the FIA Site module. The forum can be found here http://forums.bistudio.com/showthread.php?181791-FIA-Site-Modules. Other people have commented about the FIA Site Module.
First off in your Description.ext place this.
PHP Code:
class CfgFunctions
{
class LARs { class sites { class pickSiteUnit { preInit = 1; file = "pickSiteUnit.sqf"; }; class pickGroup { preInit = 1; file = "pickGroup.sqf"; }; }; };
};
pickSiteUnit.sqf
PHP Code:
BIS_pickSiteUnit = compileFinal"
_faction = _this select 0; _unitPref = _this select 1; switch (_faction) do { case 'BLU_F': {_faction = 'Blue'}; case 'OPF_F': {_faction = 'Red'}; case 'IND_F': {_faction = 'Green_army'}; case 'Guerilla': {_faction = 'Green_para'}; case 'BLU_G_F': {_faction = 'FIA'}; }; _ret = ''; switch (_faction) do { case 'Blue': { switch (_unitPref) do { case 'rifleman': {_ret = 'B_Soldier_F'}; case 'autorifleman': {_ret = 'B_soldier_AR_F'}; case 'AA_battery': {_ret = 'B_Panther_AA_F'}; } }; case 'Red': { switch (_unitPref) do { case 'rifleman': {_ret = 'O_Soldier_F'}; case 'autorifleman': {_ret = 'O_Soldier_AR_F'}; case 'AA_battery': {_ret = 'O_tracked_AA_placeholder_F'}; } }; case 'Green_army': { switch (_unitPref) do { case 'rifleman': {_ret = 'I_Soldier_F'}; case 'autorifleman': {_ret = 'I_Soldier_AR_F'}; case 'AA_battery': {_ret = 'IA_tracked_AA_placeholder_F'}; } }; case 'Green_para': { switch (_unitPref) do { case 'rifleman': {_ret = 'I_G_Soldier_F'}; case 'autorifleman': {_ret = 'I_G_Soldier_AR_F'}; case 'AA_battery': {_ret = 'I_G_offroad_armed'}; } }; case 'FIA': { switch (_unitPref) do { case 'rifleman': {_ret = 'B_G_Soldier_F'}; case 'autorifleman': {_ret = 'B_G_Soldier_AR_F'}; case 'AA_battery': {_ret = 'B_G_Offroad_01_armed_F'}; } }; }; _ret
";
pickGroup.sqf
PHP Code:
BIS_pickSiteGroup = compileFinal"
_faction = _this select 0;
_grpPref = _this select 1;
_ret = grpNull;
switch (_faction) do {
case 'Blue': { switch (_grpPref) do { case 'sentry': {_ret = configFile >> 'CfgGroups' >> 'West' >> 'BLU_F' >> 'Infantry' >> 'BUS_InfSentry'}; case 'fireteam': {_ret = configFile >> 'CfgGroups' >> 'West' >> 'BLU_F' >> 'Infantry' >> 'BUS_InfTeam'}; case 'squad': {_ret = configFile >> 'CfgGroups' >> 'West' >> 'BLU_F' >> 'Infantry' >> 'BUS_InfSquad'}; case 'motorized': {_ret = configFile >> 'CfgGroups' >> 'West' >> 'BLU_F' >> 'Motorized' >> 'BUS_MotInf_Team'}; } }; case 'Red': { switch (_grpPref) do { case 'sentry': {_ret = configFile >> 'CfgGroups' >> 'East' >> 'OPF_F' >> 'Infantry' >> 'OIA_InfSentry'}; case 'fireteam': {_ret = configFile >> 'CfgGroups' >> 'East' >> 'OPF_F' >> 'Infantry' >> 'OIA_InfTeam'}; case 'squad': {_ret = configFile >> 'CfgGroups' >> 'East' >> 'OPF_F' >> 'Infantry' >> 'OIA_InfSquad'}; case 'motorized': {_ret = configFile >> 'CfgGroups' >> 'East' >> 'OPF_F' >> 'Motorized_MTP' >> 'OIA_MotInf_Team'}; } }; case 'Green_army': { switch (_grpPref) do { case 'sentry': {_ret = configFile >> 'CfgGroups' >> 'Indep' >> 'IND_F' >> 'Infantry' >> 'HAF_InfSentry'}; case 'fireteam': {_ret = configFile >> 'CfgGroups' >> 'Indep' >> 'IND_F' >> 'Infantry' >> 'HAF_InfTeam'}; case 'squad': {_ret = configFile >> 'CfgGroups' >> 'Indep' >> 'IND_F' >> 'Infantry' >> 'HAF_InfSquad'}; case 'motorized': {_ret = configFile >> 'CfgGroups' >> 'Indep' >> 'IND_F' >> 'Motorized' >> 'HAF_MotInf_Team'}; } }; case 'Green_para': { switch (_grpPref) do { case 'sentry': {_ret = configFile >> 'CfgGroups' >> 'Indep' >> 'Guerilla' >> 'Infantry' >> 'IRG_InfSentry'}; case 'fireteam': {_ret = configFile >> 'CfgGroups' >> 'Indep' >> 'Guerilla' >> 'Infantry' >> 'IRG_InfTeam'}; case 'squad': {_ret = configFile >> 'CfgGroups' >> 'Indep' >> 'Guerilla' >> 'Infantry' >> 'IRG_InfSquad'}; case 'motorized': {_ret = configFile >> 'CfgGroups' >> 'Indep' >> 'Guerilla' >> 'Motorized_MTP' >> 'IRG_MotInf_Team'}; } }; case 'BLU_G_F': { switch (_grpPref) do { case 'sentry': {_ret = configFile >> 'CfgGroups' >> 'west' >> 'Guerilla' >> 'Infantry' >> 'IRG_InfSentry'}; case 'fireteam': {_ret = configFile >> 'CfgGroups' >> 'west' >> 'Guerilla' >> 'Infantry' >> 'IRG_InfTeam'}; case 'squad': {_ret = configFile >> 'CfgGroups' >> 'west' >> 'Guerilla' >> 'Infantry' >> 'IRG_InfSquad'}; case 'motorized': {_ret = configFile >> 'CfgGroups' >> 'west' >> 'Guerilla' >> 'Motorized_MTP' >> 'IRG_MotInf_Team'}; } };
};
_ret
";
Then all you need to do is place your BLUFOR site down as normal picking NATO as the faction and in the initialization place
Code:
this setVariable ["faction", "BLU_G_F"];
To use the FIA Site module, you will need to use a script to make them friendly for NATO, but individual is fine. This shouldn't be the way to do this. Is it possible to have a option in the module itself who's friendly and what not. The Mission Briefing/Intel having Independent friendly does not work at all for the FIA Site module.
Agree 100%
I would like to see Zeus being expanded little bit more with the 2D Editor. Meaning anything you make in the Zeus will also appear in 2D Editor or vise-versa. BI did tremendously good job with Zeus for the most part (thought it will be a flop). It might even replace MCC on some parts.
Question, This has been up since Feb 15 2014, give few more months that it will be a full year. Has any of the BI or someone looked into this yet? This will be a good feature for everyone (mission-makers, causal builders, etc) in the long run.