Jump to content

Recommended Posts

Ok, I've struggled with this for awhile now and am pretty sure my issue is something small that I'm just not seeing. I just want some fresh eyes to look over my work and tell me what they see.
 

The issue is that my custom difficulty settings don't seem to take. The server comes up fine, people can join, and mods are working great. But I can't get my FCserver.Arma3Profile to be read by the game (I think). When ever I start a mission on custom difficulty I get a default template instead of my settings.

 

This is a Linux server (Ubuntu 18.10)

 

Startup Script:

./arma3server -config=FC.cfg -name=FCserver "-mod=mods/@ace;mods/@ace_compat1;mods/@ace_compat2;mods/@ace_c...

 

File path to Arma Server:

gameserver/server/arma

 

File path to Arma 3 - Other Profiles / Arma 3 folders:

gameserver/.local/share/Arma 3 - Other Profiles

gameserver/.local/share/Arma 3

 

Inside Arma 3 - Other Profiles is the FCserver folder it contains 2 files and 1 folder:

FCserver.Arma3Profile <--- (To my understanding this is the difficulty file)

FCserver.vars.Arma3Profile <---(Don't know what this does)

Saved <--- (Folder with some steam stuff in it)

 

The FCserver.Arma3Profile was generated by the server automatically, then edited by me (I stole it from the community wiki).

 

FCserver.Arma3Profile:

Quote

class DifficultyPresets
{
    class custom
    {
        class Options
        {
            /* Simulation */

            reducedDamage = 0;        // Reduced damage

            /* Situational awareness */

            groupIndicators = 0;        // Group indicators (0 = never, 1 = limited distance, 2 = always)
            friendlyTags = 0;        // Friendly name tags (0 = never, 1 = limited distance, 2 = always)
            enemyTags = 0;            // Enemy name tags (0 = never, 1 = limited distance, 2 = always)
            detectedMines = 0;        // Detected mines (0 = never, 1 = limited distance, 2 = always)
            commands = 0;            // Commands (0 = never, 1 = fade out, 2 = always)
            waypoints = 0;            // Waypoints (0 = never, 1 = fade out, 2 = always)
            tacticalPing = 0;        // Tactical ping (0 = disable, 1 = enable)

            /* Personal awareness */

            weaponInfo = 2;            // Weapon info (0 = never, 1 = fade out, 2 = always)
            stanceIndicator = 2;        // Stance indicator (0 = never, 1 = fade out, 2 = always)
            staminaBar = 1;            // Stamina bar
            weaponCrosshair = 1;        // Weapon crosshair
            visionAid = 0;            // Vision aid

            /* View */

            thirdPersonView = 1;        // 3rd person view
            cameraShake = 1;        // Camera shake

            /* Multiplayer */

            scoreTable = 0;            // Score table
            deathMessages = 0;        // Killed by
            vonID = 0;            // VoN ID

            /* Misc */

            mapContent = 0;            // Extended map content
            autoReport = 0;            // (former autoSpot) Automatic reporting of spotted enemied by players only. This doesn't have any effect on AIs.
            multipleSaves = 0;        // Multiple saves
        };
        
        // aiLevelPreset defines AI skill level and is counted from 0 and can have following values: 0 (Low), 1 (Normal), 2 (High), 3 (Custom).
        // when 3 (Custom) is chosen, values of skill and precision are taken from the class CustomAILevel.
        aiLevelPreset = 3;
    };

    class CustomAILevel
    {
        skillAI = 0.5;
        precisionAI = 0.5;
    };
};

 

FC.cfg:

Quote

admins[] = {"*My Steam ID*"};
maxPlayers = 20;
hostname="FCserver";
password = "*My Password*";

voteThreshold = 0.51;
voteMissionPlayers = 1;
disableVoN = 1;
BattlEye = 0;
forcedDifficulty = "custom";
 

 

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Thank you for reading this, overall I've spent the better part of 3 weeks banging my head on this. I am so sure that it's gonna be something incredibly small.

I will answer any questions you have for me.

 

Share this post


Link to post
Share on other sites
On 27.10.2018 at 5:02 AM, kaas298 said:

FCserver.vars.Arma3Profile <---(Don't know what this does)

profileNamespace variables

 

On 27.10.2018 at 5:02 AM, kaas298 said:

class DifficultyPresets

Don't you mean

class CfgDifficultyPresets

?

 

Also I have "Custom" instead of "custom"

 

I am also using a custom difficulty on my server. Though it doesn't seem to be stored in the .local directory as any files in there don't actually contain the difficulty settings.
I have a arma3.armaprofile file next to my server.cfg. I honestly don't really know where the server get's it's difficulty settings from. I just know that it works :D

Share this post


Link to post
Share on other sites

Thanks for the reply Dedmen!

 

You've given me a bit more insight into the issue than I had before.

Like I said I pretty much stole the profiles format straight from the wiki. I'll make some changes and play around with when I get a chance.

Share this post


Link to post
Share on other sites

Linux arma 3 server wont listen to  -name=  parameter

It will create one called Player, so just go in player folder and paste ur profile code there.

 

 

Share this post


Link to post
Share on other sites
On 2018-11-16 at 1:44 AM, omon said:

Linux arma 3 server wont listen to  -name=  parameter

It will create one called Player, so just go in player folder and paste ur profile code there.

 

 

Noted, Thank you. it says in the wiki that -profiles is broken but not -named.
sorry about the response time, had a hardware problem with server and had to set it aside for the better part of a month.

Share this post


Link to post
Share on other sites

Okay. so it's still not working but I have a few ideas whats happening (big maybe).

in the FC.cfg file I switched forcedDifficulty to "CustomDifficulty". at first it seemed that it had worked, but i realize now it's using the default settings for CustomDifficulty. not the ones I have inputted.
setting CustomDifficulty to "Custom" gives me different settings but still not the ones I want.
I fiddled with both the forcedDifficulty parameter and the name of the class in the Player.Arma3profile for difficulty now and havent really made much of a breakthrough.

The settings I've been checking for to see if it is working are:
Thirdperson = 1

crosshair = 1

extendedmapcontent = 0

With forcedDifficulty set to "CustomDifficulty" I get:

Thirdperson = 1

crosshair = 1

extendedmapcontent = 1

 

With any other value in forcedDifficulty (including "Custom") I get:

Thirdperson = 0

crosshair = 0

extendedmapcontent = 0

So I don't think it's reading the Player.Arma3profile but I do think it is reading a profile which has setting listed under the "CustomDifficulty" class. I just don't know where to find that...

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×