Sapiens 0 Posted December 31, 2010 (edited) I seem to be having trouble defining custom mission settings in server.cfg. As far as I can tell my syntax is correct, but when I join my server it still uses the default settings instead of those I've defined. Would someone be so kind as to have a look below and tell me if I'm making any mistakes? I'm at a loss. Snippet of params defined in the mission's description.ext (working with Domination here, if that helps): class Params { class GVAR(TimeOfDay) { title = "Time of day:"; values[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23}; default = 16; texts[] = {"00:00","01:00","02:00","03:00","04:00","05:00","06:00","07:00","08:00","09:00","10:00","11:00","12:00","13:00","14:00","15:00","16:00","17:00","18:00","19:00","20:00","21:00","22:00","23:00"}; }; class GVAR(InitialViewDistance) { title = "Initial Viewdistance:"; values[] = {1000,1500,2000,2500,3000,3500,4000,4500,5000}; default = 1500; texts[] = {"1000 m","1500 m","2000 m","2500 m","3000 m","3500 m","4000 m","4500 m","5000 m"}; }; }; Snippet of the relevant section in my server.cfg: class Missions { class DomiOA { template="co30_Domination_2_54A2_West_R_OA.Takistan"; difficulty="regular"; class Params { TimeOfDay = 16; InitialViewDistance = 2000; }; }; }; Edited December 31, 2010 by Sapiens Share this post Link to post Share on other sites
hellfire257 3 Posted January 2, 2011 class Params { class GVAR(TimeOfDay) { title = "Time of day:"; values[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23}; default = [b][u]16[/u][/b]; texts[] = {"00:00","01:00","02:00","03:00","04:00","05:00","06:00","07:00","08:00","09:00","10:00","11:00","12:00","13:00","14:00","15:00","16:00","17:00","18:00","19:00","20:00","21:00","22:00","23:00"}; }; class GVAR(InitialViewDistance) { title = "Initial Viewdistance:"; values[] = {1000,1500,2000,2500,3000,3500,4000,4500,5000}; default = [b][u]1500[/u][/b]; texts[] = {"1000 m","1500 m","2000 m","2500 m","3000 m","3500 m","4000 m","4500 m","5000 m"}; }; }; You change the marked values in the mission to change the default values for params, not the server.cfg The value you change has to have already been defined in the "values[]" section. Share this post Link to post Share on other sites
Sapiens 0 Posted January 4, 2011 You change the marked values in the mission to change the default values for params, not the server.cfg The value you change has to have already been defined in the "values[]" section. Am I misunderstanding this post? I realize I can modify description.ext directly, but forcing players to re-download the PBO seems a bit excessive. Is this type of setup not supported by Domination? Share this post Link to post Share on other sites
Rabble-Rouser 10 Posted February 23, 2011 Not sure if you got this figured out but I believe that Domi params actually end up being d_TimeOfDay = yourValue; d_InitialViewDistance = yourValue; or you may need to use GVAR(TimeOfDay) = yourValue; GVAR(InitialViewDistance) = yourValue; Don't remember which it is, I havn't played with the domi stuff in a while. Share this post Link to post Share on other sites
Lonestar 11 Posted February 23, 2011 http://community.bistudio.com/wiki/server.cfg#ArmA_II:_Operation_Arrowhead_-_multiple_mission_parameters_configuration Share this post Link to post Share on other sites