Jump to content
Sign in to follow this  
SnoFox

Dedicated server troubles and ?

Recommended Posts

Ok so i wanna make it so my server plays one map over and over, also, i want it to load the parameters for said map i want.

Im having trouble finding a parameter list for the latest warfare mod so that i can set them up, and i cant get my server.cfg to start a map without me manually logging in and setting it all up.

Heres what i got:

class Missions

{

class Mission01

{

template = WarfareV2_051Lite.Chernarus;

difficulty = "Regular";

param1 = variable;

param2 = variable;

};

};

So now what do i need to add and or change to make this the only available map to play and to use all the parameters that i want not what comes setup with the map.

Thanks.

Share this post


Link to post
Share on other sites

Havent found a way to make the param1-2 to work, neither the paramsArray.

If you havent set up parameter for what to be "regular" you might want to use the cadet mode.

class Missions
{
  class Mission01
  {
  template = WarfareV2_053LiteSnoFox.chernarus;
  cadetmode = 1;
  };//end of this mission

The way we did it is to manually edit the mission itself and make a note in the mission file that we edited it. I use PBOView http://www.armaholic.com/page.php?id=1434 to do this.Unpack the mission file and edit the two files by notepad.

Remember to give the mission file a new name after your edit since its no longer a original file (example WarfareV2_053LiteSnoFox.chernarus)

Find your description.ext inside the mission folder created when you unpack it and edit the parameters to you liking.

//--- Warfare remake by Benny. BETA Stage.

respawn = 3;
respawnDelay = 2;
respawnDialog = false;
onLoadMission = "Warfare Benny Edition V2.053 Lite - Params by SnoFox";

//--- 1.04 New Parameters system.
class Params {
class campsRespawn {
	title = "$STR_WF_Gameplay_Camp";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 1;
};
class advancedCampGear {
	title = "$STR_WF_Gameplay_CampGear";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 1;
};
class gearRespawn {
	title = "$STR_WF_Gameplay_GearOnRespawn";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 1;
};
class campRespawnRules {
	title = "$STR_WF_Gameplay_CampRespawnRule";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 1;
};
class balancing {
	title = "$STR_WF_Balance";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 0;
};
class fastTime {
	title = "$STR_WF_Gameplay_FastTime";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 0;
};
class weather {
	title = "$STR_WF_Gameplay_Weather";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 0;
};
class clouds {
	title = "$STR_WF_Gameplay_Clouds";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 1;
};
class AI {
	title = "$STR_WF_AI";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 0;
};
class AICommander {
	title = "$STR_WF_Gameplay_AICommander";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 0;
};
class spacebarScanning {
	title = "$STR_WF_Gameplay_Spacebar";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 1;
};
class autoDefense {
	title = "$STR_WF_Gameplay_AutoDefense";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 1;
};
class kamov {
	title = "$STR_WF_Gameplay_Kamov";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 1;
};
class advancedAir {
	title = "$STR_WF_Gameplay_AdvancedAir";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 1;
};
class AARadar {
	title = "$STR_WF_Gameplay_AntiAirRadar";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 0;
};
class arty {
	title = "$STR_WF_Gameplay_Arty";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 1;
};
class artyUI {
	title = "$STR_WF_Gameplay_ArtilleryUI";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 0;
};
class uid {
	title = "$STR_WF_Gameplay_ShowUID";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 1;
};
class trackAI {
	title = "$STR_WF_Gameplay_TrackAI";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 1;
};
class resistance {
	title = "$STR_WF_Side_Resistance";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 1;
};
class occupation {
	title = "$STR_WF_Gameplay_Occupation";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 1;
};
class fastTravel {
	title = "$STR_WF_FastTravel";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 0;
};
class counterMeasures {
	title = "$STR_WF_Gameplay_Countermeasures";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 0;
};
class nuclearICBM {
	title = "$STR_WF_ICBM";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 0;
};
class highCo {
	title = "$STR_WF_Gameplay_HighCommand";
	values[] = {0,1};
	texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"};
	default = 1;
};
class timeOfDay {
	title = "$STR_WF_Gameplay_TimeOfDay";
	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};
	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"};
	default = 5;
};
class startingFunds {
	title = "$STR_WF_Gameplay_Funds";
	values[] = {800,1600,2400,3200,4000,4800,6400,8000,12800,25600,51200,102400,204800};
	texts[] = {"$ 800.","$ 1600.","$ 2400.","$ 3200.","$ 4000.","$ 4800.","$ 6400.","$ 8000.","$ 12800.","$ 25600.","$ 51200.","$ 102400.","$ 204800."};
	default = 6400;
};
class startingSupply {
	title = "$STR_WF_Gameplay_Supply";
	values[] = {1200,2400,3600,4800,6000,7200,8400,9600,19200,38400,76800};
	texts[] = {"S 1200.","S 2400.","S 3600.","S 4800.","S 6000.","S 7200.","S 8400.","S 9600.","S 19200.","S 38400.","S 76800."};
	default = 7200;
};
class respDelay {
	title = "$STR_WF_Gameplay_Respawn";
	values[] = {10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90};
	texts[] = {"10 Seconds","15 Seconds","20 Seconds","25 Seconds","30 Seconds","35 Seconds","40 Seconds","45 Seconds","50 Seconds",
	"55 Seconds","60 Seconds","65 Seconds","70 Seconds","75 Seconds","80 Seconds","85 Seconds","90 Seconds"};
	default = 30;
};
class groupSizePlayer {
	title = "$STR_WF_Gameplay_GroupSizePlayer";
	values[] = {2,4,6,8,10,12,14,16,18,20,22,24};
	texts[] = {"2","4","6","8","10","12","14","16","18","20","22","24"};
	default = 12;
};
class groupSizeAI {
	title = "$STR_WF_Gameplay_GroupSizeAI";
	values[] = {2,4,6,8,10,12,14,16,18,20,22,24};
	texts[] = {"2","4","6","8","10","12","14","16","18","20","22","24"};
	default = 10;
};
class buildingsLimit {
	title = "$STR_WF_Gameplay_BuildingsLimit";
	values[] = {1,2,3,4,5,6,7,8,9,10};
	texts[] = {"1","2","3","4","5","6","7","8","9","10"};
	default = 2;
};
class artilleryRange {
	title = "$STR_WF_Gameplay_Artillery";
	values[] = {1,2,3};
	texts[] = {"Short","Medium","Long"};
	default = 3;
};
class startingDistance {
	title = "$STR_WF_Gameplay_StartingDistance";
	values[] = {1000,1500,2000,2500,3000,3500,4000,4500,5000,5500,6000,6500,7000,7500,8000,8500,9000};
	texts[] = {"1000m","1500m","2000m","2500m","3000m","3500m","4000m","4500m","5000m","5500m","6000m","6500m","7000m","7500m","8000m","8500m","9000m"};
	default = 8000;
};
class victoryConditions {
	title = "$STR_WF_Gameplay_VictoryCondition";
	values[] = {0,1,2};
	texts[] = {"$STR_WF_Victory_Annihilation","$STR_WF_Victory_Assassination","$STR_WF_Victory_Supremacy"};
	default = 1;
};
class bodiesTimeout {
	title = "$STR_WF_Gameplay_BodiesTimeout";
	values[] = {60,120,180,240,300,600,1200,1800,2400,3000,3600};
	texts[] = {"1 Minute","2 Minutes","3 Minutes","4 Minutes","5 Minutes","10 Minutes","20 Minutes","30 Minutes","40 Minutes","50 Minutes","1 Hour"};
	default = 300;
};
class vehiclesTimeout {
	title = "$STR_WF_Gameplay_VehicleDelay";
	values[] = {60,120,180,240,300,600,1200,1800,2400,3000,3600};
	texts[] = {"1 Minute","2 Minutes","3 Minutes","4 Minutes","5 Minutes","10 Minutes","20 Minutes","30 Minutes","40 Minutes","50 Minutes","1 Hour"};
	default = 1200;
};
class supplySystem {
	title = "$STR_WF_Gameplay_SupplySystem";
	values[] = {0,1};
	texts[] = {"$STR_WF_Gameplay_SupplySystem_Truck","$STR_WF_Gameplay_SupplySystem_Time"};
	default = 1;
};
class incomeSystem {
	title = "$STR_WF_Gameplay_IncomeSystem";
	values[] = {1,2};
	texts[] = {"$STR_WF_Gameplay_IncomeSystem_Full","$STR_WF_Gameplay_IncomeSystem_Half"};
	default = 1;
};
class startingLocations {
	title = "$STR_WF_Gameplay_StartingLocations";
	values[] = {0,1,2};
	texts[] = {"$STR_WF_Gameplay_StartingLocations_WestNorth","$STR_WF_Gameplay_StartingLocations_WestSouth","$STR_WF_Gameplay_StartingLocations_Random"};
	default = 2;
};
class occupDifficulty {
	title = "$STR_WF_Gameplay_Difficulty_Occupation";
	values[] = {1,2,3,4,5};
	texts[] = {"Light","Medium","Hard","Insane","Automatic"};
	default = 5;
};
class resDifficulty {
	title = "$STR_WF_Gameplay_Difficulty_Resistance";
	values[] = {1,2,3,4};
	texts[] = {"Light","Medium","Hard","Insane"};
	default = 1;
};
};

Go to your mission.sqm file and put information about your edit

class Intel
{
	briefingName="Warfare BE V2.053 Lite";
	briefingDescription="By Benny - www.hs-clan.com - Params by SnoFox";
	resistanceWest=0;
	startWeather=0;
	forecastWeather=0;
	year=2008;
	month=10;
	day=11;
	hour=9;
	minute=20;

Since its no longer a original file by Benny, edit your mission file to example WarfareV2_053LiteSnoFox.chernarus after you pack it. This way you still give thanks to the mission maker and dont confuse files made original by him. note if you edit "briefingName=" the mission wil get that name in multiplayer lobby, so unless you edit the mission beyond parameters i think you should keep the name as it is... its not really a new mission. However you can edit briefingDescription="By Benny - www.hs-clan.com - Params by SnoFox"; .. this will show up in the lobby once players are connected to your server and let them know you have edited the params.

Edited by cri74

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  

×