RHS USMC factions come up as side 0 OPFOR

  1. 7 years ago
    Edited 7 years ago by YonV

    when place both USMC and us army units under the same AI commander in alive, the USMC start to kill everyone, I thought it was just marines being marines but after I look at the CfgFactionClasses I see both woodland and desert set to side 0 which is opfor

    alive version
    1.4.0

    rhs versions
    Release 0.4.3.1

    the in orbat I noticed this

    class CfgFactionClasses {
    class rhs_faction_usmc_wd {
    displayName = "USA (USMC - W)";
    side = 0;
    flag = "";
    icon = "\rhsusf\addons\rhsusf_main\data\usmclogo.paa";
    priority = -3;
    };
    };

    ------------------------------------------------------------------------

    class CfgFactionClasses {
    class rhs_faction_usarmy_d {
    displayName = "USA (Army - D)";
    side = 1;
    flag = "\rhsusf\addons\rhsusf_main\data\flag_us_co.paa";
    icon = "\rhsusf\addons\rhsusf_main\data\armylogo.paa";
    priority = -4;
    };
    };

    in RHS they are both set to side = 1; so the USMC side is being overwritten somewhere,

  2. Edited 7 years ago by HeroesandvillainsOS

    ALiVE uses a custom config file to make RHS factions compatible with ALiVE. I know for sure USMC worked correctly before the current RHS release (I haven’t tried recently). You can see the most recent commit for this code included in ALiVE here (green indicates newest changes, red is what was replaced):

    https://github.com/ALiVEOS/ALiVE.OS/commit/0a2a6e72e2821220313e5b57ec4c0297eba6ef29#diff-457e0038485a47797b9e15afc01d19a7

    They are defined as west so not sure what’s going on.

 

or Sign Up to reply!