Category:CMF3: Config

From cluster wiki
Revision as of 23:23, 3 November 2022 by Eric (talk | contribs)
Jump to navigation Jump to search

The CMF Config is a simplified way of configuring components and specific settings for CMF. The config is generally split into 3 parts:

SETTINGS This part is the main section, this is where you enable / disable parts of CMF or configure settings for a component.
CMF_ORBAT This is where certain settings are defined for the cluster community ORBAT, you can generally leave this alone unless you want to add more squad types, sizes or ranks.
Unspecified These are Arma mission parameters, you can in most situations leave this alone.

A config can look like the following:

Example config
class CMF {
    class SETTINGS {
        class player {
            switchMapTextures = 1;
            hideRespawnMarkers = 1;
            consistentMarkers = 1;
            restrictLauncher = 1;

            /* Hearing settings */
            class hearing {
                enable = 1;
                attenuateHeadgear = 1;
                earplugsVolume = 0.5;
            };
        };

        /* Gameplay settings */
        class gameplay {
            overrideFlashbangs = 1;

            /* safestart settings */
            class safestart {
                enable = 1;
                delay = 60;
            };

            /* tracers settings */
            class tracers {
                enable = 1;
                side[] = {"east"};
            };
        };

        /* Rallypoint settings */
        class rallypoint {
            cooldown = 300;
            enemyKillRadius = 10;
            rallyObjectClass = "Misc_backpackheap_EP1";
        };

        /* ai settings */
        class ai {
            transferToServer = 1;
            reinforce = 1;
            reinforceRange = 1000;
            preventProne = 1;
            forceSkill = 1;
        };

        /* Utility settings */
        class utility {
            clearVehicleCargo = 1;
            freezeTime = 0;
        };

        /* Enhanced Vehicles Settings */
        class enhancedVehicles {
            enable = 1;
            visualEffects = 1;
            soundEffects = 1;
            offroadBumpy = 1;
            offroadDamage = 1;
        };

        blacklistedAddons[] = {};
    };
};

/* Disable forced complex flightmodel */
forceRotorLibSimulation = 0;

/* Respawn delay (in seconds) */
respawnDelay = 3;

/* Enable Debug console for eric (you can add your own aswell) */
enableDebugConsole[] = {"76561198065818848"};

/* CMF ORBAT Settings */
class CMF_ORBAT {
    class SIZES {
        class BAT {
            leadRank = "COLONEL";
            generalRank = "MAJOR";
        };
        class COY {
            leadRank = "CAPTAIN";
            generalRank = "CAPTAIN";
        };
        class PLT {
            leadRank = "LIEUTENANT";
            generalRank = "LIEUTENANT";
        };
        class SQD {
            leadRank = "SERGEANT";
            generalRank = "CORPORAL";
        };
        class FT {
            leadRank = "CORPORAL";
            generalRank = "PRIVATE";
        };
    };

    class TYPES {
        class INF {};
        class ARMOR {};
        class TRANS {};
        class CAS {};
        class LOGI {};
        class WEAPONS {};
        class SUPPORT {};
        class MECH {};
        class MOTOR {};
        class HQ {};
    };
};

‎

Pages in category "CMF3: Config"

The following 2 pages are in this category, out of 2 total.