Page 1 of 1

OpenRA - Skirmish Map Options - Where are they stored?

Posted: Tue Feb 04, 2020 7:37 am
by Ronald
.

Re: OpenRA - Skirmish Map Options - Where are they stored?

Posted: Sun Feb 09, 2020 12:25 pm
by netnazgul
Some of the options can be pre-set the same way it is done for dedicated servers - it will apply to every server created from that game folder, including skirmishes.

add something like

Code: Select all

    ra|rules/server-overrides.yaml
to your mod.yaml file (under Rules, you'll see where)

then create a file server-overrides.yaml in mods/ra/rules/ with the following

Code: Select all

Player:
    Shroud:
        ExploredMapCheckboxEnabled: true
    LobbyPrerequisiteCheckbox@GLOBALBOUNTY:
        Enabled: True
World:
    CrateSpawner:
        CheckboxEnabled: false
Other changable options:

Code: Select all

Player:
    Shroud:
        ExploredMapCheckboxEnabled: false
        FogCheckboxEnabled: true
    LobbyPrerequisiteCheckbox@GLOBALBOUNTY:
        Enabled: False
    LobbyPrerequisiteCheckbox@GLOBALFACTUNDEPLOY:
        Enabled: True
    LobbyPrerequisiteCheckbox@REUSABLEENGINEERS:
        Enabled: False
    PlayerResources:
        DefaultCash: 5000
    DeveloperMode:
        CheckboxEnabled: false

World:
    CrateSpawner:
        CheckboxEnabled: true
    MapBuildRadius:
        AllyBuildRadiusCheckboxEnabled: true
        BuildRadiusCheckboxEnabled: true
    MapOptions:
        ShortGameCheckboxEnabled: true
        TechLevel: unrestricted # infantryonly, low, medium, nosuperweapons, unrestricted
        GameSpeed: default # slowest, slower, default, fast, faster, fastest
    MPStartLocations:
        SeparateTeamSpawnsCheckboxEnabled: true
    SpawnMPUnits:
        StartingUnitsClass: none # none, light, heavy
More on this you can ask on #servers channel in Discord (this stuff above is actually pinned there).

Re: OpenRA - Skirmish Map Options - Where are they stored?

Posted: Tue Feb 11, 2020 3:14 pm
by Ronald
.

Re: OpenRA - Skirmish Map Options - Where are they stored?

Posted: Tue Feb 11, 2020 3:38 pm
by Ronald
.

Re: OpenRA - Skirmish Map Options - Where are they stored?

Posted: Tue Feb 11, 2020 3:55 pm
by netnazgul
Most likely issue is that you've copied/used spaces instead of tabs in server-overrides.yaml (that's what got copied into my post as well). Change them to tabs. OpenRA YAML parser (actually it's not really YAML, only similar to it) is quite strict when it comes to formatting.

Well, same goes for mod.yaml as well.