Jump to content
Sign in to follow this  
evilnate

Userinfo.cfg

Recommended Posts

I was reading the Userinfo.cfg page at the bis wiki and I'm not too sure how to use it.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">The userinfo.cfg is where all of the personalized game settings are stored. This file is located in each profile folder under C:\Program Files\Codemasters\Operation Flashpoint\Users\YourProfileName and can allow you to setup multiple configurations based on each user profile. This configuration file reflects the settings as seen in the in-game settings, for graphics, sound and difficulty.

[edit]

Dedicated Server Notes

When using a dedicated server, this file can be manually edited, mainly to use the correct difficulty parameters.

Difficulty parameters are in the list below.

1 means "activated".

0 means "deactivated".

The first number is the setting {1,0} for Cadet mode, the second setting {1,0} is for Veteran mode.

diffArmor[]={1,0}; enables vehicles ultra armor

diffFriendlyTag[]={1,0}; enables showing friendly positions on map

diffEnemyTag[]={0,0}; enables showing know ennemy positions on map

diffHUD[]={1,0};

diffAutoSpot[]={1,0};

diffMap[]={1,0};

diffWeaponCursor[]={1,0}; enables showing weapon crosshair (out of ironsight view mode)

diffAutoGuideAT[]={1,0}; enables autoguiding on lock for wire-guided weapons.

When disabled, wire-guided weapons follow the weapon reticle instead.

diffClockIndicator[]={1,1}; enables the clock indicator (during radio calls)

diff3rdPersonView[]={1,0}; enables third-person view

diffTracers[]={1,1}; enables weapon tracers

diffUltraAI[]={0,0}; enable ultra AI

showTitles=1;

showRadio=1;

Do I add the userinfo.cfg to the root arma directory and launch DS?

Do I call this file when I exec ArmA_Server.exe? (i.e. server.cfg)

My goal is to enable ultra armor for all missions on the DS.

Thanks! thumbs-up.gif

Share this post


Link to post
Share on other sites

No,

A Dedicated Server uses 3 configuration files to set various in game settings.

The values you mention above and thier format are from the CfgDifficultis class defined in the bin.pbo>config file.

Those do not describe the settings for the difficulties but they describe whether you are allowed to adjust them through the in game User Interface.

When you start the dedicated server.exe (and the game.exe for that matter) it looks for...

        server.cfg

        arma.cfg

        userprofile.armaprofile

the userprofile.armaprofile file is the one you want to edit for difficulty settings.

Place the following in this file.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class Difficulties

{

 class regular

 {

   class Flags

   {

     Armor=1;

     FriendlyTag=1;

     EnemyTag=0;

     HUD=1;

     HUDPerm=1;

     HUDWp=1;

     HUDWpPerm=1;

     AutoSpot=1;

     Map=1;

     WeaponCursor=1;

     AutoGuideAT=1;

     ClockIndicator=1;

     3rdPersonView=1;

     Tracers=1;

     UltraAI=0;

     AutoAim=1;

     UnlimitedSaves=1;

     deathMessages=1;

     netStats=1;

     allowSeagull=1;

     suppressPlayer=1;

     realisticFatigue=1;

   };

   skillFriendly=0.750000;

   skillEnemy=0.600000;

   precisionFriendly=0.750000;

   precisionEnemy=0.600000;

 };

 class veteran

 {

   class Flags

   {

     Armor=0;

     FriendlyTag=0;

     EnemyTag=0;

     HUD=1;

     HUDPerm=0;

     HUDWp=1;

     HUDWpPerm=0;

     AutoSpot=0;

     Map=1;

     WeaponCursor=0;

     AutoGuideAT=1;

     ClockIndicator=0;

     3rdPersonView=1;

     Tracers=1;

     UltraAI=0;

     AutoAim=0;

     UnlimitedSaves=1;

     deathMessages=1;

     netStats=1;

     allowSeagull=1;

     suppressPlayer=1;

     realisticFatigue=1;

   };

   skillFriendly=0.750000;

   skillEnemy=0.750000;

   precisionFriendly=0.750000;

   precisionEnemy=0.750000;

 };

};

edit the values as you find appropriate for your dedi. server.

Share this post


Link to post
Share on other sites

That sounds great! But I am unable to find the file userprofile.armaprofile, not even in the bin.pbo.

Do I need to generate this file with notepad and paste your example? If so, should I just place it in the arma root and ignore calling it?

Thanks so much for your help with this. I thought it would have been easier to customize dedicated server difficulty settings. smile_o.gif

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
Sign in to follow this  

×