Results 1 to 8 of 8
  1. #1
    Captain Incia's Avatar
    Join Date
    Feb 2011
    Location
    Finland
    Posts
    941

    How to disable factions?

    I would firstly only want to concentrate on Allied, so is there any fast and easy way to disable Soviet and Empire from the Skirmish menu, so they are not pickable?

  2. #2
    Master Sergeant R3ven's Avatar
    Join Date
    Feb 2011
    Posts
    114
    Well, you can just pick Allies and leave it on them. You can't have less than three factions(hardcoded) if you do, there will be a black spot that crashes the game when you select it.

  3. #3
    Captain Incia's Avatar
    Join Date
    Feb 2011
    Location
    Finland
    Posts
    941
    Oh... well that kind of... sucks...

    Will suck when playing online for sure, as this mini-mod is supposed to only be played with one faction. Guess will just have to tell everyone to force-choose allied each game.

    (Or Soviet, I just changed the modded faction into soviet)

  4. #4
    Lieutenant Bibber's Avatar
    Join Date
    Feb 2011
    Location
    Germany
    Posts
    354
    Quote Originally Posted by R3ven View Post
    Well, you can just pick Allies and leave it on them. You can't have less than three factions(hardcoded) if you do, there will be a black spot that crashes the game when you select it.
    Totally wrong. Best example is my Granatball Reploded mod. :P


    To disable a faction you need to create a global stream (Data\AdditionalMaps\MapMetaData_*.xml) and use the following code:
    Code:
        <PlayerTemplate
            id="Japan"
            Type="NULL"
            DisplayNameToken="GUI:RandomSide">
            <PreferredColor R="255" G="255" B="255"/>
            <PreferredCampaignRadarColor R="255" G="255" B="255"/>
        </PlayerTemplate>
        
        <PlayerTemplate
            id="Soviet"
            Type="NULL"
            DisplayNameToken="GUI:RandomSide">
            <PreferredColor R="255" G="255" B="255"/>
            <PreferredCampaignRadarColor R="255" G="255" B="255"/>
        </PlayerTemplate>
    Please remember that when you do modding on factions it could be that you need to delete your skirmish.ini before starting the game.

  5. #5
    Master Sergeant R3ven's Avatar
    Join Date
    Feb 2011
    Posts
    114
    Never played Granatball, so that goes to say something. Anyways, nice tidbit of information there. :0

  6. #6
    Captain Incia's Avatar
    Join Date
    Feb 2011
    Location
    Finland
    Posts
    941
    Is that script for a custom map?

    As I can only disable a faction in a specific map I make?

    Would I need to re-mod all the original skirmish maps?

  7. #7
    Lieutenant Bibber's Avatar
    Join Date
    Feb 2011
    Location
    Germany
    Posts
    354
    There isn't any script. Oo And it's not map specific. The code piece just disables the factions from the menu.

  8. #8
    Lieutenant Colonel Lauren's Avatar
    Join Date
    Feb 2011
    Posts
    1,620
    Naming it mapmetadata_* is just some kind of a hack as it circumvents an oversight by EA.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Victory Games is Electronic Arts' dedicated Strategy Gaming studio. Formed in 2010 under the leadership of Jon Van Caneghem, Victory Games has offices in Los Angeles, CA; Austin, TX; and Shanghai, China and is currently focused on the Command & Conquer franchise.