Jump to content
Sign in to follow this  
gummybear_qc

Where to post the follwing code

Recommended Posts

I used the Warfare BE parameters settup and it gave me the following code

class Missions

{

class WarfareV2_073LiteCO_Takistan

{

template = "WarfareV2_073LiteCO.Takistan";

difficulty = "regular";

class Params

{

WFBE_C_AI_DELEGATION = 0;

WFBE_C_AI_MAX = 10;

WFBE_C_PLAYERS_AI_MAX = 24;

WFBE_C_AI_TEAMS_JIP_PRESERVE = 0;

WFBE_C_AI_TEAMS_ENABLED = 1;

WFBE_C_ARTILLERY = 3;

WFBE_C_ARTILLERY_COMPUTER = 2;

WFBE_C_ARTILLERY_UI = 0;

WFBE_C_AI_COMMANDER_ENABLED = 1;

WFBE_C_STRUCTURES_ANTIAIRRADAR = 1;

WFBE_C_BASE_AREA = 2;

WFBE_C_BASE_DEFENSE_MAX_AI = 70;

WFBE_C_BASE_DEFENSE_MANNING_RANGE = 1000;

WFBE_C_STRUCTURES_MAX = 2;

WFBE_C_STRUCTURES_CONSTRUCTION_MODE = 0;

WFBE_C_STRUCTURES_HQ_COST_DEPLOY = 100;

WFBE_C_STRUCTURES_HQ_RANGE_DEPLOYED = 400;

WFBE_C_BASE_PATROLS_INFANTRY = 0;

WFBE_C_BASE_START_TOWN = 1;

WFBE_C_BASE_STARTING_DISTANCE = 5500;

WFBE_C_BASE_STARTING_MODE = 0;

WFBE_C_STRUCTURES_COLLIDING = 0;

WFBE_C_ECONOMY_CURRENCY_SYSTEM = 0;

WFBE_C_ECONOMY_INCOME_INTERVAL = 75;

WFBE_C_ECONOMY_INCOME_SYSTEM = 4;

WFBE_C_ECONOMY_FUNDS_START_EAST = 8000;

WFBE_C_ECONOMY_FUNDS_START_WEST = 12800;

WFBE_C_ECONOMY_FUNDS_START_GUER = 12800;

WFBE_C_ECONOMY_SUPPLY_START_EAST = 8400;

WFBE_C_ECONOMY_SUPPLY_START_WEST = 8400;

WFBE_C_ECONOMY_SUPPLY_START_GUER = 8400;

WFBE_C_ECONOMY_SUPPLY_SYSTEM = 1;

WFBE_C_ENVIRONMENT_FAST_TIME = 0;

WFBE_C_ENVIRONMENT_STARTING_HOUR = 9;

WFBE_C_ENVIRONMENT_STARTING_MONTH = 6;

WFBE_C_ENVIRONMENT_WEATHER_VOLUMETRIC = 0;

WFBE_C_ENVIRONMENT_WEATHER = 3;

WFBE_C_MODULE_BIS_BAF = 1;

WFBE_C_MODULE_BIS_PMC = 1;

WFBE_C_GAMEPLAY_HANGARS_ENABLED = 1;

WFBE_C_UNITS_CLEAN_TIMEOUT = 240;

WFBE_C_UNITS_EMPTY_TIMEOUT = 1200;

WFBE_C_GAMEPLAY_FAST_TRAVEL = 0;

WFBE_C_GAMEPLAY_HANDLE_FRIENDLYFIRE = 0;

WFBE_C_ENVIRONMENT_MAX_CLUTTER = 50;

WFBE_C_GAMEPLAY_TEAMSWAP_DISABLE = 1;

WFBE_C_GAMEPLAY_BOUNDARIES_ENABLED = 1;

WFBE_C_GAMEPLAY_MISSILES_RANGE = 0;

WFBE_C_MODULE_WFBE_MISSIONS = 0;

WFBE_C_GAMEPLAY_UID_SHOW = 1;

WFBE_C_UNITS_PRICING = 0;

WFBE_C_GAMEPLAY_THERMAL_IMAGING = 3;

WFBE_C_UNITS_TRACK_INFANTRY = 0;

WFBE_C_UNITS_TRACK_LEADERS = 1;

WFBE_C_UNITS_BALANCING = 0;

WFBE_C_UNITS_BOUNTY = 1;

WFBE_C_GAMEPLAY_UPGRADES_CLEARANCE = 7;

WFBE_C_GAMEPLAY_VICTORY_CONDITION = 2;

WFBE_C_ENVIRONMENT_MAX_VIEW = 4000;

WFBE_C_MODULE_WFBE_FLARES = 1;

WFBE_C_MODULE_WFBE_EASA = 1;

WFBE_C_MODULE_BIS_HC = 1;

WFBE_C_MODULE_WFBE_ICBM = 0;

WFBE_C_MODULE_WFBE_IRS = 1;

WFBE_C_MODULE_UPSMON = 1;

WFBE_C_RESPAWN_CAMPS_MODE = 2;

WFBE_C_RESPAWN_CAMPS_RULE_MODE = 2;

WFBE_C_RESPAWN_DELAY = 30;

WFBE_C_RESPAWN_LEADER = 2;

WFBE_C_RESPAWN_MASH = 2;

WFBE_C_RESPAWN_MOBILE = 2;

WFBE_C_RESPAWN_PENALTY = 5;

WFBE_C_RESPAWN_CAMPS_RANGE = 400;

WFBE_C_UNITS_RESTRICT_AIR = 0;

WFBE_C_TOWNS_AMOUNT = 4;

WFBE_C_CAMPS_CREATE = 1;

WFBE_C_TOWNS_CAPTURE_MODE = 1;

WFBE_C_TOWNS_CONQUEST_MODE = 0;

WFBE_C_TOWNS_DEFENDER = 1;

WFBE_C_TOWNS_GEAR = 1;

WFBE_C_TOWNS_OCCUPATION = 1;

WFBE_C_UNITS_FACTION_EAST = 0;

WFBE_C_UNITS_FACTION_WEST = 0;

WFBE_C_TOWNS_REINFORCEMENT_OCCUPATION = 0;

WFBE_C_TOWNS_PATROLS = 0;

WFBE_C_TOWNS_BUILD_PROTECTION_RANGE = 400;

WFBE_C_UNITS_TOWN_PURCHASE = 0;

WFBE_C_UNITS_FACTION_GUER = 1;

WFBE_C_TOWNS_REINFORCEMENT_DEFENDER = 0;

WFBE_C_TOWNS_VEHICLES_LOCK_DEFENDER = 0;

WFBE_C_TOWNS_STARTING_MODE = 1;

};

};

};

Im not sure where to write down this code, so thx.

Share this post


Link to post
Share on other sites

I´m editing that becouse I´m usig my own pc as a private server and I dont wanna change some of that parameters every time the play begins. If is your case edit server.cfg and copy and paste the code en the secction

// MISSIONS CYCLE (see below)

I show you as look like my cfg:

//

// server.cfg

//

// comments are written with "//" in front of them.

// GLOBAL SETTINGS

hostname = "MY SERVER NAME"; // The name of the server that shall be displayed in the public server list

password = "123456"; // Password for joining, eg connecting to the server

passwordAdmin = "123456admin"; // Password to become server admin. When you're in Arma MP and connected to the server, type '#login xyz'

//reportingIP = "armedass.master.gamespy.com"; // For ArmA1 publicly list your server on GameSpy. Leave empty for private servers

//reportingIP = "arma2pc.master.gamespy.com"; // For ArmA2 publicly list your server on GameSpy. Leave empty for private servers

reportingIP = "arma2oapc.master.gamespy.com"; // For Arma2: Operation Arrowhead

logFile = "server_console.log"; // Tells ArmA-server where the logfile should go and what it should be called

// WELCOME MESSAGE ("message of the day")

// It can be several lines, separated by comma

// Empty messages "" will not be displayed at all but are only for increasing the interval

motd[] = {

"Wellcome to my server",

"",

"",

"", "",

"", "",

""

};

motdInterval = 5; // Time interval (in seconds) between each message

// JOINING RULES

checkfiles[] = {}; // Outdated.

maxPlayers = 6; // Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player.

kickDuplicate = 1; // Each ArmA version has its own ID. If kickDuplicate is set to 1, a player will be kicked when he joins a server where another player with the same ID is playing.

verifySignatures = 2; // Verifies .pbos against .bisign files. Valid values 0 (disabled), 1 (prefer v2 sigs but accept v1 too) and 2 (only v2 sigs are allowed).

equalModRequired = 0; // Outdated. If set to 1, player has to use exactly the same -mod= startup parameter as the server.

//requiredBuild = 12345 // Require clients joining to have at least build 12345 of game, preventing obsolete clients to connect

// VOTING

voteMissionPlayers = 1; // Tells the server how many people must connect so that it displays the mission selection screen.

voteThreshold = 0.33; // 33% or more players need to vote for something, for example an admin or a new map, to become effective

// INGAME SETTINGS

disableVoN = 1; // If set to 1, Voice over Net will not be available

vonCodecQuality = 0; // since 1.62.95417 supports range 1-20 //since 1.63.x will supports range 1-30 //8kHz is 0-10, 16kHz is 11-20, 32kHz is 21-30

persistent = 1; // If 1, missions still run on even after the last player disconnected.

timeStampFormat = "short"; // Set the timestamp format used on each report line in server-side RPT file. Possible values are "none" (default),"short","full".

BattlEye = 0; // Server to use BattlEye system

// SCRIPTING ISSUES

onUserConnected = ""; //

onUserDisconnected = ""; //

doubleIdDetected = ""; //

//regularCheck = "{}"; // Server checks files from time to time by hashing them and comparing the hash to the hash values of the clients. Causes heavy I/O, uncomment to disable feature - READ WARNING ABOVE - makes cheating possible!

// SIGNATURE VERIFICATION

onDifferentData = ""; // data with a valid signature, but different version than the one present on server detected

// MISSIONS CYCLE (see below)

class Missions {

class WarfareV2_073LiteCO_Chernarus {

template = "WarfareV2_073LiteCO.Chernarus";

difficulty = "veteran";

class Params {

//---Parameter for v2.071

//boolean = false,true

WFBE_C_AI_MAX = 6;

// soldados que puede llevar la IA

//possible values = 2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,35,40,45,50,60,70,80,90,100

WFBE_C_PLAYERS_AI_MAX = 12;

// soldados que podemos llevar

WFBE_C_ARTILLERY = 3;

// 0 desactivado, 3 short, 2 medium, 1 long

WFBE_C_STRUCTURES_ANTIAIRRADAR = 0;

// antirradar. 0 deshabilitado. 1 habilitado

WFBE_C_RESPAWN_DELAY = 15;

// respawn en segundos

WFBE_C_TOWNS_AMOUNT = 2;

// valores: 0,1,2,3,4

// texts :Extra_Small,Small,Medium,Large,Full

WFBE_C_TOWNS_DEFENDER = 3;

// dificultad resistencia. 0 nula, 4 imposible

WFBE_C_TOWNS_OCCUPATION = 2;

WFBE_C_TOWNS_REINFORCEMENT_DEFENDER = 1;

// refuerzos de resistencia

WFBE_C_ECONOMY_FUNDS_START_EAST = 3200;

WFBE_C_ECONOMY_FUNDS_START_WEST = 3200;

// dinero inicial

WFBE_C_ECONOMY_SUPPLY_START_EAST = 3600;

WFBE_C_ECONOMY_SUPPLY_START_WEST = 3600;

// SV iniciales

WFBE_C_ENVIRONMENT_STARTING_HOUR = 7;

// hora de inicio (0-23)

WFBE_C_ENVIRONMENT_WEATHER = 3;

// tiempo atmosférico dinámico

WFBE_C_UNITS_CLEAN_TIMEOUT = 600;

// desaparición de cadáveres

WFBE_C_UNITS_EMPTY_TIMEOUT = 3600;

// desaparición de vehículos

WFBE_C_GAMEPLAY_HANDLE_FRIENDLYFIRE = 1;

// fuego amigo (estructuras) activado

WFBE_C_GAMEPLAY_TEAMSWAP_DISABLE = 1;

// se puede cambiar de equipo

};

};

};

To run the server I created a short cut with this properties:

"C:\Program Files (x86)\Steam\SteamApps\common\arma 2 operation arrowhead\Expansion\beta\arma2oaserver.exe" -config=server.cfg -cpuCount=2 -exThreads=2 -maxmem=800 -noCB

Edited by sa1vi
wanna write spoiler

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  

×