Rodman 10 Posted January 14, 2010 Hi all any1 of you guys know how to change difficulty on server? For example how I do that 3rd view will not be available on veteran difficulty. Iam running Linux server ver. 1.05 with last ACE mod. Thanks for any advice in advance Share this post Link to post Share on other sites
killswitch 19 Posted January 14, 2010 In order to be able to edit the difficulty settings, you'll need to add a class Difficulties section to the end of the player/player.arma2profile file on your server. An example class Difficulties can be found here: ArmA II server profile. Copy that text into your server's player.arma2profile. Then, edit the 3rdPersonView value for the veteran difficulty level. Share this post Link to post Share on other sites
Rodman 10 Posted January 17, 2010 Yes I have this one, but still it doesnt work. Ist there some other way? Maybe in the ACE folders? Share this post Link to post Share on other sites
killswitch 19 Posted January 17, 2010 If it didn't work, you did something wrong. I've tested the class Difficulties from that wiki on a dedicated Linux 1.05 server. When I edited the 3rdPersonView for the veteran difficulty to not allow 3rd person view and ran a mission on the server in Veteran mode, 3rd person view was indeed not available. Note that what's on the wiki is a class Difficulties corresponding to the default ArmA II difficulty settings, and by default, Veteran mode has 3rd person view enabled - you'll have to edit that setting to disable it. Share this post Link to post Share on other sites
Rodman 10 Posted January 18, 2010 I dont know where is the problem. Look at my settings arma2server ARMA_DIR=.CONFIG=server.cfg PORT=2302 PIDFILE=${ARMA_DIR}/${PORT}.pid RUNFILE=${ARMA_DIR}/${PORT}.run LOGFILE=${ARMA_DIR}/log.${PORT}.txt SERVER=${ARMA_DIR}/server PROFILE=${ARMA_DIR}/host/host.arma2profile NAME=host host.arma2profile (as specified in arma2server) version=1;difficulty="veteran"; class Difficulties { class recruit { class Flags { Armor=0; FriendlyTag=0; EnemyTag=0; HUD=1; HUDPerm=0; HUDWp=0; HUDWpPerm=0; WeaponCursor=0; AutoAim=0; AutoGuideAT=0; 3rdPersonView=1; ClockIndicator=1; Map=0; Tracers=0; AutoSpot=0; UltraAI=0; UnlimitedSaves=1; DeathMessages=1; NetStats=1; VonID=1; }; skillFriendly=0.34999999; skillEnemy=0.34999999; precisionFriendly=0.20; precisionEnemy=0.20; }; class regular { class Flags { Armor=0; FriendlyTag=0; EnemyTag=0; HUD=0; HUDPerm=0; HUDWp=0; HUDWpPerm=0; WeaponCursor=0; AutoAim=0; AutoGuideAT=0; 3rdPersonView=1; ClockIndicator=1; Map=0; Tracers=0; AutoSpot=0; UltraAI=0; UnlimitedSaves=1; DeathMessages=1; NetStats=1; VonID=1; }; skillFriendly=0.39999999; skillEnemy=0.39999999; precisionFriendly=0.25; precisionEnemy=0.25; }; class veteran { class Flags { Armor=0; FriendlyTag=0; EnemyTag=0; HUD=0; HUDPerm=0; HUDWp=0; HUDWpPerm=0; WeaponCursor=0; AutoAim=0; AutoGuideAT=0; 3rdPersonView=0; ClockIndicator=1; Map=0; Tracers=0; AutoSpot=0; UltraAI=0; UnlimitedSaves=1; DeathMessages=1; NetStats=1; VonID=1; }; skillFriendly=0.44999999; skillEnemy=0.44999999; precisionFriendly=0.25; precisionEnemy=0.25; }; class expert { class Flags { Armor=0; FriendlyTag=0; EnemyTag=0; HUD=0; HUDPerm=0; HUDWp=0; HUDWpPerm=0; WeaponCursor=0; AutoAim=0; AutoGuideAT=0; 3rdPersonView=0; ClockIndicator=1; Map=0; Tracers=0; AutoSpot=0; UltraAI=0; UnlimitedSaves=1; DeathMessages=0; NetStats=0; VonID=1; }; skillFriendly=0.54999999; skillEnemy=0.54999999; precisionFriendly=0.35; precisionEnemy=0.35; }; }; blood=1; singleVoice=0; gamma=1; brightness=1; shadingQuality=7; shadowQuality=3; soundEnableEAX=1; soundEnableHW=0; sceneComplexity=300000; viewDistance=1600; terrainGrid=10; volumeCD=5; volumeFX=5; volumeSpeech=5; Share this post Link to post Share on other sites
killswitch 19 Posted January 18, 2010 (edited) I dont know where is the problem. Look at my settingsarma2server ARMA_DIR=.CONFIG=server.cfg PORT=2302 PIDFILE=${ARMA_DIR}/${PORT}.pid RUNFILE=${ARMA_DIR}/${PORT}.run LOGFILE=${ARMA_DIR}/log.${PORT}.txt SERVER=${ARMA_DIR}/server PROFILE=${ARMA_DIR}/host/host.arma2profile NAME=host host.arma2profile (as specified in arma2server) The file "host.arma2profile" looks to be correct, but you have two new environment variables added to the start script, arma2server.That probably means that the start script is altered in other places aswell. Can you show me what else has been changed in that script? What I'm thinking is that the server is launched with parameters that makes host.arma2profile not actually be read, which then explains why you're still seeing 3rd person view available in Veteran mode. I'm guessing something like the following was added to the line that starts the server: -name=$NAME -profile=$PROFILE If that's the case, the solution is to remove the -profile parameter. Having "-name=$NAME" is enough to make the server read the host/host.arma2profile without the need to specify a profile path using -profile=.... Edited January 18, 2010 by Killswitch Share this post Link to post Share on other sites
Rodman 10 Posted January 28, 2010 Thanks Killswitch. I have deleted the "-profile=$PROFILE" in my arma2server file and now it seems to be working correctly. Share this post Link to post Share on other sites