OpenRA - Skirmish Map Options - Where are they stored?

topic deleted

Information and discussion for custom maps and mods.
Post Reply
Ronald
Posts: 166
Joined: Fri Aug 30, 2019 9:05 pm

OpenRA - Skirmish Map Options - Where are they stored?

Post by Ronald »

.
Last edited by Ronald on Mon Oct 11, 2021 7:58 pm, edited 2 times in total.

User avatar
netnazgul
Posts: 507
Joined: Mon Jul 10, 2017 7:32 am
Location: Minsk
Contact:

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

Post 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).

Ronald
Posts: 166
Joined: Fri Aug 30, 2019 9:05 pm

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

Post by Ronald »

.
Last edited by Ronald on Mon Oct 11, 2021 7:35 pm, edited 1 time in total.

Ronald
Posts: 166
Joined: Fri Aug 30, 2019 9:05 pm

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

Post by Ronald »

.
Last edited by Ronald on Mon Oct 11, 2021 7:35 pm, edited 1 time in total.

User avatar
netnazgul
Posts: 507
Joined: Mon Jul 10, 2017 7:32 am
Location: Minsk
Contact:

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

Post 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.

Post Reply