Effective date: January 18, 2023

General information

Uniset is a way how you can change parameters (like speed, attack, hits and many others) and create a new set of units you can play with. It does not require any development skills and is as simple as modifying a text file.

Hints:

  • Already available unisets - please review them, perhaps some of your ideas are already implemented in one of them.
  • Your unisets - the place where you can create new or modify your existing unisets.
  • Download uniset file example - you can download uniset file example as a starting point for your new uniset. In a such way you can download any available uniset, just change last URL parameter (85 in example) to ID of the uniset you want to download.
  • Uniset page - each uniset has it's own individual page with description. Here you can also compare uniset with any other and also display uniset data.

Uniset selection

Unisets created by you will automatically appear in the game options screen. If you want to play using custom uniset created by someone else - you need to open Uniset Page (find that uniset in the list of already available unisets) and click "Add to my list" button:

JSON file structure

JSON file contains following section, which serves specific purpose:
  • Localizations - language localization for unit names and description
  • Clans - clan list with units bonuses
  • Units - unit parameters

Localizations

Language localization for unit names and description, typically looks like this:

    "localizations": {
        "en": {
			"airplant_name": "Air Units Plant",
			"airplant_name_short": "Air Plant",
			"airplant_description": "Builds fighters, ground attack planes, and air transports.\nA heavy factory ...",
			"airplant_short_description": "Air units factory"
			...
		}
	}

Where `airplant` is the unit `_type`.

  • {type}_name - Long unit name
  • {type}_name_short - Short unit name, not more than 10 chars. Displayed in unit popup infobox, when unit is selected.
  • {type}_description - Long unit description. Can consist of multiple lines. New line char should be replaced with \n
  • {type}_short_description - Short unit description, not more than 29 chars. Displayed in the list of plants / starting deployment / upgrades.

Clans

Clan list with units bonuses, typically looks like this:

    "clans": [
        {
            "_flags": 0,
            "_image": "CLN1LOGO",
            "_name": {
                "en": "Zero Gravity"
            },
            "_number": 0,
            "_text": {
                "en": "Better Air Units:"
            },
            "_unitMods": [
                {
                    "_unitModParams": [
                        {
                            "_modValue": 2,
                            "_paramName": "speed"
                        },
                        {
                            "_modValue": 16,
                            "_paramName": "fuel"
                        },
                        ...
                    ],
                    "_unitType": "airtrans"
                },
                ...
            ]
        },
        ...
    ]

Units

Unit parameters, typically looks like this:

    "units": [
        {
            "_assetName": "Tank",
            "_bLevel": 4,
            "_bMoveType": 0,
            "_bNumber": 52,
            "_bSelfCreatedType": 4,
            "_bSelfCreatorType": 0,
            "_bSize": 1,
            "_canBuildHere": false,
            "_isAbleToFire": true,
            "_isAbsCantSelect": false,
            "_isAllwaysOn": false,
            "_isAnimated": false,
            "_isAntiStealth": false,
            "_isAutorepair": false,
            "_isBombMine": false,
            "_isBombMinelayer": false,
            "_isBridge": false,
            "_isBuilding": false,
            "_isBuldozer": false,
            "_isCanBuy": true,
            "_isCantSelect": false,
            "_isConnector": false,
            "_isGivePoints": false,
            "_isInfantry": false,
            "_isInfiltrator": false,
            "_isLanding": false,
            "_isMine": false,
            "_isNeedUndercover": false,
            "_isPlatform": false,
            "_isReloader": false,
            "_isRepair": false,
            "_isResearch": false,
            "_isRetranslator": false,
            "_isRoad": false,
            "_isSeeMines": false,
            "_isSeeUnderwater": false,
            "_isSpacePort": true,
            "_isStealth": false,
            "_isSurvivor": false,
            "_isUnderwater": false,
            "_isUpgrades": false,
            "_nEnergy": 0,
            "_nFuel": 0,
            "_nGold": 0,
            "_nMaterial": 0,
            "_nMoney": 0,
            "_nPeoples": 0,
            "_name": {
                "en": "Tank"
            },
            "_order": 1,
            "_pAmmo": 10,
            "_pArmor": 12,
            "_pAttack": 20,
            "_pBulletType": 1,
            "_pCost": 12,
            "_pFireType": 1,
            "_pFuel": 54,
            "_pHealth": 30,
            "_pMatPerTurn": 0,
            "_pMoveAndShot": 0,
            "_pRange": 5,
            "_pScan": 5,
            "_pShots": 2,
            "_pSpeed": 6,
            "_pZone": 0,
            "_rEnergy": 0,
            "_rFuel": 0,
            "_rGold": 0,
            "_rMaterial": 0,
            "_rPeoples": 0,
            "_retEnergy": 0,
            "_retFuel": 0,
            "_retGold": 0,
            "_retMaterial": 0,
            "_retMoney": 0,
            "_retPeoples": 0,
            "_sAir": 0,
            "_sGround": 0,
            "_sInfantry": 0,
            "_sSea": 0,
            "_text": {
                "en": "Heavily armored fighting vehicle.\nBest used ..."
            },
            "_type": "tank"
        },
        ...
    ]