description.ext
respawn="BASE";
respawnDelay=15;
disabledAI=1;
disableChannels[] = {}; // {0} to disable global
joinUnassigned = 0;
enableItemsDropping = 0;
weaponPool = 0;
corpseRemovalMinTime = 15*60;
corpseRemovalMaxTime = 15*60;
wreckRemovalMinTime = 5*60;
wreckRemovalMaxTime = 10*60;
enableDebugConsole = 1;
loadScreen = "Loading.jpg";
onPauseScript = "client\clientEvents\onPause.sqf";
class Header
{
gameType=Sandbox;
minPlayers=1;
maxPlayers=84;
};
author="Team Wasteland - A3Wastelandcom";
onLoadName = "A3Wasteland Stratis";
onLoadMission = "Wasteland is a harsh survival sandbox where two teams and independent players fight for survival.";
overviewText = "Wasteland is a harsh survival sandbox where two teams and independent players fight for survival.";
overviewTextLocked = "Wasteland is a harsh survival sandbox where two teams and independent players fight for survival.";
overviewPicture = "Loading.jpg";
//Dialog includes
#include "client\gui_base.hpp"
#include "addons\R3F_ARTY_AND_LOG\desc_include.h"
#include "client\systems\common.hpp"
#include "client\items\warchest\dialog.hpp"
#include "client\actions\gui.hpp"
#include "client\systems\playerMenu\dialog\player_settings.hpp"
#include "client\systems\groups\dialog\groupManagement.hpp"
#include "client\systems\gunStore\dialog\gunshop_settings.hpp"
#include "client\systems\generalStore\dialog\genstore_settings.hpp"
#include "client\systems\vehicleStore\dialog\vehiclestore_settings.hpp"
#include "client\systems\adminPanel\dialog\adminMenu.hpp"
#include "client\systems\adminPanel\dialog\modMenu.hpp"
#include "client\systems\adminPanel\dialog\serverAdminMenu.hpp"
#include "client\systems\adminPanel\dialog\debugMenu.hpp"
#include "client\systems\adminPanel\dialog\playerMenu.hpp"
#include "client\systems\adminPanel\dialog\VehicleManagement.hpp"
#include "client\systems\adminPanel\dialog\objectSearch.hpp"
#include "client\systems\playerMenu\dialog\respawn_dialog.hpp"
#include "client\systems\playerMenu\dialog\teamkill_dialog.hpp"
#include "addons\proving_ground\PG_config.hpp"
class RscTitles
{
#include "addons\proving_ground\PG_rsctitles.hpp"
#include "client\systems\hud\dialog\hud.hpp"
#include "client\systems\playerMenu\dialog\welcome.hpp"
};
class cfgMusic
{
class survival
{
name = "survival"//this is what will be displayed in the editor (make it look nice)
sound[] = {"\music\survival.ogg", db+1,1};//filename with path, loudness, pitch
};
};
init.sqf
asaerw3rw3r4 = 1; Menu_Init_Lol = 1;
// @file Version: 1.2
// @file Name: init.sqf
// @file Author: [404] Deadbeat, [GoT] JoSchaap
// @file Description: The main init.
#define DEBUG false
enableSaving [false, false];
currMissionDir = compileFinal str call
{
private "_arr";
_arr = toArray str missionConfigFile;
_arr resize (count _arr - 15);
toString _arr
};
X_Server = false;
X_Client = false;
X_JIP = false;
// versionName = ""; // Set in STR_WL_WelcomeToWasteland in stringtable.xml
if (isServer) then { X_Server = true };
if (!isDedicated) then { X_Client = true };
if (isNull player) then { X_JIP = true };
[DEBUG] call compile preprocessFileLineNumbers "globalCompile.sqf";
//init Wasteland Core
[] execVM "config.sqf";
[] execVM "storeConfig.sqf"; // Separated as its now v large
[] execVM "briefing.sqf";
if (!isDedicated) then
{
[] spawn
{
9999 cutText ["Welcome to A3Wasteland, please wait for your client to initialize", "BLACK", 0.01];
waitUntil {!isNull player};
removeAllWeapons player;
client_initEH = player addEventHandler ["Respawn", { removeAllWeapons (_this select 0) }];
// Reset group & side
[player] joinSilent createGroup playerSide;
[] execVM "client\init.sqf";
};
};
if (isServer) then
{
diag_log format ["############################# %1 #############################", missionName];
diag_log "WASTELAND SERVER - Initializing Server";
[] execVM "server\init.sqf";
};
//init 3rd Party Scripts
[] execVM "addons\R3F_ARTY_AND_LOG\init.sqf";
[] execVM "addons\proving_Ground\init.sqf";
[] execVM "addons\scripts\DynamicWeatherEffects.sqf";
[] execVM "addons\JumpMF\init.sqf";
playMusic survival