Removed XS Spawn Menu
This commit is contained in:
parent
c281997597
commit
508e1d60d2
@ -60,9 +60,5 @@ ExileServer_object_tree_network_chopTreeRequest="Custom\persistantTree\ExileServ
|
||||
ExileClient_object_player_death_startBleedingOut = "custom\EnigmaRevive\ExileClient_object_player_death_startBleedingOut.sqf"; //Happys Revive
|
||||
ExileClient_object_player_event_onInventoryOpened = "custom\EnigmaRevive\ExileClient_object_player_event_onInventoryOpened.sqf"; //Happys Revive AntiDupe ---NEW with v0.65
|
||||
|
||||
//Spawn Selection by bambam
|
||||
ExileClient_gui_selectSpawnLocation_event_onSpawnButtonClick = "xs\spawn\Overwrites\ExileClient_gui_selectSpawnLocation_event_onSpawnButtonClick.sqf";
|
||||
ExileClient_gui_selectSpawnLocation_show = "xs\spawn\Overwrites\ExileClient_gui_selectSpawnLocation_show.sqf";
|
||||
ExileClient_gui_selectSpawnLocation_zoomToMarker = "xs\spawn\Overwrites\ExileClient_gui_selectSpawnLocation_zoomToMarker.sqf";
|
||||
ExileClient_gui_selectSpawnLocation_event_onListBoxSelectionChanged = "xs\spawn\Overwrites\ExileClient_gui_selectSpawnLocation_event_onListBoxSelectionChanged.sqf";
|
||||
ExileServer_object_player_createBambi = "xs\spawn\Overwrites\ExileServer_object_player_createBambi.sqf";
|
||||
//Door Fix
|
||||
//ExileServer_object_construction_database_load = "custom\fixes\ExileServer_object_construction_database_load.sqf";
|
@ -79,10 +79,6 @@ showHUD[] =
|
||||
//ExAd
|
||||
#include "ExAdClient\ExAd.cpp"
|
||||
|
||||
//Spawn Selection by bambam
|
||||
#include "xs\spawn\Dialog\xsSpawnDefines.hpp"
|
||||
#include "xs\spawn\Dialog\xsSpawnDiaglog.hpp"
|
||||
|
||||
//R3F Logistics
|
||||
#include "R3F_LOG\desc_include.h"
|
||||
|
||||
|
@ -1,865 +0,0 @@
|
||||
//////////////////////////////////////////////
|
||||
// //
|
||||
// xsSpawn | Ground Spawn or Halo Selection //
|
||||
// by bambam of xstremegaming.com //
|
||||
// //
|
||||
//////////////////////////////////////////////
|
||||
|
||||
// Control types
|
||||
#define CT_STATIC 0
|
||||
#define CT_BUTTON 1
|
||||
#define CT_EDIT 2
|
||||
#define CT_SLIDER 3
|
||||
#define CT_COMBO 4
|
||||
#define CT_LISTBOX 5
|
||||
#define CT_TOOLBOX 6
|
||||
#define CT_CHECKBOXES 7
|
||||
#define CT_PROGRESS 8
|
||||
#define CT_HTML 9
|
||||
#define CT_STATIC_SKEW 10
|
||||
#define CT_ACTIVETEXT 11
|
||||
#define CT_TREE 12
|
||||
#define CT_STRUCTURED_TEXT 13
|
||||
#define CT_CONTEXT_MENU 14
|
||||
#define CT_CONTROLS_GROUP 15
|
||||
#define CT_SHORTCUTBUTTON 16
|
||||
#define CT_XKEYDESC 40
|
||||
#define CT_XBUTTON 41
|
||||
#define CT_XLISTBOX 42
|
||||
#define CT_XSLIDER 43
|
||||
#define CT_XCOMBO 44
|
||||
#define CT_ANIMATED_TEXTURE 45
|
||||
#define CT_OBJECT 80
|
||||
#define CT_OBJECT_ZOOM 81
|
||||
#define CT_OBJECT_CONTAINER 82
|
||||
#define CT_OBJECT_CONT_ANIM 83
|
||||
#define CT_LINEBREAK 98
|
||||
#define CT_USER 99
|
||||
#define CT_MAP 100
|
||||
#define CT_MAP_MAIN 101
|
||||
#define CT_LISTNBOX 102
|
||||
#define CT_CHECKBOX 77
|
||||
|
||||
// Static styles
|
||||
#define ST_POS 0x0F
|
||||
#define ST_HPOS 0x03
|
||||
#define ST_VPOS 0x0C
|
||||
#define ST_LEFT 0x00
|
||||
#define ST_RIGHT 0x01
|
||||
#define ST_CENTER 0x02
|
||||
#define ST_DOWN 0x04
|
||||
#define ST_UP 0x08
|
||||
#define ST_VCENTER 0x0C
|
||||
|
||||
#define ST_TYPE 0xF0
|
||||
#define ST_SINGLE 0x00
|
||||
#define ST_MULTI 0x10
|
||||
#define ST_TITLE_BAR 0x20
|
||||
#define ST_PICTURE 0x30
|
||||
#define ST_FRAME 0x40
|
||||
#define ST_BACKGROUND 0x50
|
||||
#define ST_GROUP_BOX 0x60
|
||||
#define ST_GROUP_BOX2 0x70
|
||||
#define ST_HUD_BACKGROUND 0x80
|
||||
#define ST_TILE_PICTURE 0x90
|
||||
#define ST_WITH_RECT 0xA0
|
||||
#define ST_LINE 0xB0
|
||||
|
||||
#define ST_SHADOW 0x100
|
||||
#define ST_NO_RECT 0x200
|
||||
#define ST_KEEP_ASPECT_RATIO 0x800
|
||||
|
||||
#define ST_TITLE ST_TITLE_BAR + ST_CENTER
|
||||
|
||||
// Slider styles
|
||||
#define SL_DIR 0x400
|
||||
#define SL_VERT 0
|
||||
#define SL_HORZ 0x400
|
||||
|
||||
#define SL_TEXTURES 0x10
|
||||
|
||||
// progress bar
|
||||
#define ST_VERTICAL 0x01
|
||||
#define ST_HORIZONTAL 0
|
||||
|
||||
// Listbox styles
|
||||
#define LB_TEXTURES 0x10
|
||||
#define LB_MULTI 0x20
|
||||
|
||||
// Tree styles
|
||||
#define TR_SHOWROOT 1
|
||||
#define TR_AUTOCOLLAPSE 2
|
||||
|
||||
// MessageBox styles
|
||||
#define MB_BUTTON_OK 1
|
||||
#define MB_BUTTON_CANCEL 2
|
||||
#define MB_BUTTON_USER 4
|
||||
|
||||
//map
|
||||
#define CT_MAP_MAIN 101
|
||||
#define ST_PICTURE 48
|
||||
|
||||
//map
|
||||
class xsSpawnRscMapControl {
|
||||
access = 0;
|
||||
alphaFadeEndScale = 0.4;
|
||||
alphaFadeStartScale = 0.35;
|
||||
colorBackground[] = {0.969,0.957,0.949,1};
|
||||
colorCountlines[] = {0.572,0.354,0.188,0.25};
|
||||
colorCountlinesWater[] = {0.491,0.577,0.702,0.3};
|
||||
colorForest[] = {0.624,0.78,0.388,0.5};
|
||||
colorForestBorder[] = {0,0,0,0};
|
||||
colorGrid[] = {0.1,0.1,0.1,0.6};
|
||||
colorGridMap[] = {0.1,0.1,0.1,0.6};
|
||||
colorInactive[] = {1,1,1,0.5};
|
||||
colorLevels[] = {0.286,0.177,0.094,0.5};
|
||||
colorMainCountlines[] = {0.572,0.354,0.188,0.5};
|
||||
colorMainCountlinesWater[] = {0.491,0.577,0.702,0.6};
|
||||
colorMainRoads[] = {0.9,0.5,0.3,1};
|
||||
colorMainRoadsFill[] = {1,0.6,0.4,1};
|
||||
colorNames[] = {0.1,0.1,0.1,0.9};
|
||||
colorOutside[] = {0,0,0,1};
|
||||
colorPowerLines[] = {0.1,0.1,0.1,1};
|
||||
colorRailWay[] = {0.8,0.2,0,1};
|
||||
colorRoads[] = {0.7,0.7,0.7,1};
|
||||
colorRoadsFill[] = {1,1,1,1};
|
||||
colorRocks[] = {0,0,0,0.3};
|
||||
colorRocksBorder[] = {0,0,0,0};
|
||||
colorSea[] = {0.467,0.631,0.851,0.5};
|
||||
colorText[] = {0,0,0,1};
|
||||
colorTracks[] = {0.84,0.76,0.65,0.15};
|
||||
colorTracksFill[] = {0.84,0.76,0.65,1};
|
||||
font = "TahomaB";
|
||||
fontGrid = "TahomaB";
|
||||
fontInfo = "PuristaMedium";
|
||||
fontLabel = "PuristaMedium";
|
||||
fontLevel = "TahomaB";
|
||||
fontNames = "PuristaMedium";
|
||||
fontUnits = "TahomaB";
|
||||
h = "SafeZoneH - 1.5 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
||||
maxSatelliteAlpha = 0.45;
|
||||
moveOnEdges = 0;
|
||||
ptsPerSquareCLn = 10;
|
||||
ptsPerSquareCost = 10;
|
||||
ptsPerSquareExp = 10;
|
||||
ptsPerSquareFor = 9;
|
||||
ptsPerSquareForEdge = 9;
|
||||
ptsPerSquareObj = 9;
|
||||
ptsPerSquareRoad = 6;
|
||||
ptsPerSquareSea = 5;
|
||||
ptsPerSquareTxt = 3;
|
||||
scaleDefault = 0.16;
|
||||
scaleMax = 1;
|
||||
scaleMin = 0.001;
|
||||
shadow = 0;
|
||||
showCountourInterval = 0;
|
||||
sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
||||
sizeExGrid = 0.02;
|
||||
sizeExInfo = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
|
||||
sizeExLabel = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
|
||||
sizeExLevel = 0.02;
|
||||
sizeExNames = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8) * 2";
|
||||
sizeExUnits = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
|
||||
stickX[] = {0.2,["Gamma",1,1.5]};
|
||||
stickY[] = {0.2,["Gamma",1,1.5]};
|
||||
style = 48;
|
||||
text = "#(argb,8,8,3)color(1,1,1,1)";
|
||||
type = 101;
|
||||
w = "SafeZoneWAbs";
|
||||
x = "SafeZoneXAbs";
|
||||
y = "SafeZoneY + 1.5 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
||||
class ActiveMarker
|
||||
{
|
||||
color[] = {0.3,0.1,0.9,1};
|
||||
size = 50;
|
||||
};
|
||||
class Bunker
|
||||
{
|
||||
coefMax = 4;
|
||||
coefMin = 0.25;
|
||||
color[] = {0,0,0,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\bunker_ca.paa";
|
||||
importance = "1.5 * 14 * 0.05";
|
||||
size = 14;
|
||||
};
|
||||
class Bush
|
||||
{
|
||||
coefMax = 4;
|
||||
coefMin = 0.25;
|
||||
color[] = {0.45,0.64,0.33,0.4};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa";
|
||||
importance = "0.2 * 14 * 0.05 * 0.05";
|
||||
size = "14/2";
|
||||
};
|
||||
class BusStop
|
||||
{
|
||||
coefMax = 1;
|
||||
coefMin = 0.85;
|
||||
color[] = {1,1,1,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\busstop_CA.paa";
|
||||
importance = 1;
|
||||
size = 24;
|
||||
};
|
||||
class Chapel
|
||||
{
|
||||
coefMax = 4;
|
||||
coefMin = 0.85;
|
||||
color[] = {0,0,0,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\Chapel_CA.paa";
|
||||
importance = 1;
|
||||
size = 24;
|
||||
};
|
||||
class Church
|
||||
{
|
||||
coefMax = 1;
|
||||
coefMin = 0.85;
|
||||
color[] = {1,1,1,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\church_CA.paa";
|
||||
importance = 1;
|
||||
size = 24;
|
||||
};
|
||||
class Command
|
||||
{
|
||||
coefMax = 1;
|
||||
coefMin = 1;
|
||||
color[] = {1,1,1,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\waypoint_ca.paa";
|
||||
importance =1;
|
||||
size = 18;
|
||||
};
|
||||
class Cross
|
||||
{
|
||||
coefMax = 1;
|
||||
coefMin = 0.85;
|
||||
color[] = {0,0,0,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\Cross_CA.paa";
|
||||
importance = 1;
|
||||
size = 24;
|
||||
};
|
||||
class CustomMark
|
||||
{
|
||||
coefMax = 1;
|
||||
coefMin = 1;
|
||||
color[] = {0,0,0,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\custommark_ca.paa";
|
||||
importance = 1;
|
||||
size = 24;
|
||||
};
|
||||
class Fortress
|
||||
{
|
||||
coefMax = 4;
|
||||
coefMin = 0.25;
|
||||
color[] = {0,0,0,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\bunker_ca.paa";
|
||||
importance = "2 * 16 * 0.05";
|
||||
size = 16;
|
||||
};
|
||||
class Fountain
|
||||
{
|
||||
coefMax = 4;
|
||||
coefMin = 0.25;
|
||||
color[] = {0,0,0,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\fountain_ca.paa";
|
||||
importance = "1 * 12 * 0.05";
|
||||
size = 11;
|
||||
};
|
||||
class Fuelstation
|
||||
{
|
||||
coefMax = 1;
|
||||
coefMin = 0.85;
|
||||
color[] = {1,1,1,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\fuelstation_CA.paa";
|
||||
importance = 1;
|
||||
size = 24;
|
||||
};
|
||||
class Hospital
|
||||
{
|
||||
coefMax = 1;
|
||||
coefMin = 0.85;
|
||||
color[] = {1,1,1,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\hospital_CA.paa";
|
||||
importance = 1;
|
||||
size = 24;
|
||||
};
|
||||
class Legend
|
||||
{
|
||||
color[] = {0,0,0,1};
|
||||
colorBackground[] = {1,1,1,0.5};
|
||||
font = "PuristaMedium";
|
||||
h = "3.5 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
||||
sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
|
||||
w = "10 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
|
||||
x = "SafeZoneX + ( ((safezoneW / safezoneH) min 1.2) / 40)";
|
||||
y = "SafeZoneY + safezoneH - 4.5 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
||||
};
|
||||
class Lighthouse
|
||||
{
|
||||
coefMax = 1;
|
||||
coefMin = 0.85;
|
||||
color[] = {1,1,1,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\lighthouse_CA.paa";
|
||||
importance = 1;
|
||||
size = 24;
|
||||
};
|
||||
class power
|
||||
{
|
||||
coefMax = 1;
|
||||
coefMin = 0.85;
|
||||
color[] = {1,1,1,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\power_CA.paa";
|
||||
importance = 1;
|
||||
size = 24;
|
||||
};
|
||||
class powersolar
|
||||
{
|
||||
coefMax = 1;
|
||||
coefMin = 0.85;
|
||||
color[] = {1,1,1,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\powersolar_CA.paa";
|
||||
importance = 1;
|
||||
size = 24;
|
||||
};
|
||||
class powerwind
|
||||
{
|
||||
coefMax = 1;
|
||||
coefMin = 0.85;
|
||||
color[] = {1,1,1,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\powerwind_CA.paa";
|
||||
importance = 1;
|
||||
size = 24;
|
||||
};
|
||||
class powerwave
|
||||
{
|
||||
coefMax = 1;
|
||||
coefMin = 0.85;
|
||||
color[] = {1,1,1,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\powerwave_CA.paa";
|
||||
importance = 1;
|
||||
size = 24;
|
||||
};
|
||||
class Quay
|
||||
{
|
||||
coefMax = 1;
|
||||
coefMin = 0.85;
|
||||
color[] = {1,1,1,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\quay_CA.paa";
|
||||
importance = 1;
|
||||
size = 24;
|
||||
};
|
||||
class Rock
|
||||
{
|
||||
coefMax = 4;
|
||||
coefMin = 0.25;
|
||||
color[] = {0.1,0.1,0.1,0.8};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\rock_ca.paa";
|
||||
importance = "0.5 * 12 * 0.05";
|
||||
size = 12;
|
||||
};
|
||||
class Ruin
|
||||
{
|
||||
coefMax = 4;
|
||||
coefMin = 1;
|
||||
color[] = {0,0,0,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\ruin_ca.paa";
|
||||
importance = "1.2 * 16 * 0.05";
|
||||
size = 16;
|
||||
};
|
||||
class shipwreck
|
||||
{
|
||||
coefMax = 1;
|
||||
coefMin = 0.85;
|
||||
color[] = {1,1,1,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\shipwreck_CA.paa";
|
||||
importance = 1;
|
||||
size = 24;
|
||||
};
|
||||
class SmallTree
|
||||
{
|
||||
coefMax = 4;
|
||||
coefMin = 0.25;
|
||||
color[] = {0.45,0.64,0.33,0.4};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa";
|
||||
importance = "0.6 * 12 * 0.05";
|
||||
size = 12;
|
||||
};
|
||||
class Stack
|
||||
{
|
||||
coefMax = 4;
|
||||
coefMin = 0.9;
|
||||
color[] = {0,0,0,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\stack_ca.paa";
|
||||
importance = "2 * 16 * 0.05";
|
||||
size = 20;
|
||||
};
|
||||
class LineMarker
|
||||
{
|
||||
lineWidthThin = 0.008;
|
||||
lineWidthThick = 0.014;
|
||||
lineDistanceMin = 3e-005;
|
||||
lineLengthMin = 5;
|
||||
};
|
||||
class Task
|
||||
{
|
||||
coefMax = 1;
|
||||
coefMin = 1;
|
||||
color[] = {"(profilenamespace getvariable ['IGUI_TEXT_RGB_R',0])","(profilenamespace getvariable ['IGUI_TEXT_RGB_G',1])","(profilenamespace getvariable ['IGUI_TEXT_RGB_B',1])","(profilenamespace getvariable ['IGUI_TEXT_RGB_A',0.8])"};
|
||||
colorCanceled[] = {0.7,0.7,0.7,1};
|
||||
colorCreated[] = {1,1,1,1};
|
||||
colorDone[] = {0.7,1,0.3,1};
|
||||
colorFailed[] = {1,0.3,0.2,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\taskIcon_CA.paa";
|
||||
iconCanceled = "\A3\ui_f\data\map\mapcontrol\taskIconCanceled_CA.paa";
|
||||
iconCreated = "\A3\ui_f\data\map\mapcontrol\taskIconCreated_CA.paa";
|
||||
iconDone = "\A3\ui_f\data\map\mapcontrol\taskIconDone_CA.paa";
|
||||
iconFailed = "\A3\ui_f\data\map\mapcontrol\taskIconFailed_CA.paa";
|
||||
importance = 1;
|
||||
size = 27;
|
||||
};
|
||||
class Tourism
|
||||
{
|
||||
coefMax = 4;
|
||||
coefMin = 0.7;
|
||||
color[] = {0,0,0,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\tourism_ca.paa";
|
||||
importance = "1 * 16 * 0.05";
|
||||
size = 16;
|
||||
};
|
||||
class Transmitter
|
||||
{
|
||||
coefMax = 1;
|
||||
coefMin = 0.85;
|
||||
color[] = {1,1,1,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\transmitter_CA.paa";
|
||||
importance = 1;
|
||||
size = 24;
|
||||
};
|
||||
class Tree
|
||||
{
|
||||
coefMax = 4;
|
||||
coefMin = 0.25;
|
||||
color[] = {0.45,0.64,0.33,0.4};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa";
|
||||
importance = "0.9 * 16 * 0.05";
|
||||
size = 12;
|
||||
};
|
||||
class ViewTower
|
||||
{
|
||||
coefMax = 4;
|
||||
coefMin = 0.5;
|
||||
color[] = {0,0,0,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\viewtower_ca.paa";
|
||||
importance = "2.5 * 16 * 0.05";
|
||||
size = 16;
|
||||
};
|
||||
class Watertower
|
||||
{
|
||||
coefMax = 1;
|
||||
coefMin = 0.85;
|
||||
color[] = {1,1,1,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\watertower_CA.paa";
|
||||
importance = 1;
|
||||
size = 24;
|
||||
};
|
||||
class Waypoint
|
||||
{
|
||||
coefMax = 1;
|
||||
coefMin = 1;
|
||||
color[] = {0,0,0,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\waypoint_ca.paa";
|
||||
importance = 1;
|
||||
size = 24;
|
||||
};
|
||||
class WaypointCompleted
|
||||
{
|
||||
coefMax = 1;
|
||||
coefMin = 1;
|
||||
color[] = {0,0,0,1};
|
||||
icon = "\A3\ui_f\data\map\mapcontrol\waypointCompleted_ca.paa";
|
||||
importance = 1;
|
||||
size = 24;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
/// Base Classes
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
class xsSpawnRscStructuredText
|
||||
{
|
||||
deletable = 0;
|
||||
fade = 0;
|
||||
access = 0;
|
||||
type = 13;
|
||||
idc = -1;
|
||||
style = 0;
|
||||
colorText[] =
|
||||
{
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
};
|
||||
class Attributes
|
||||
{
|
||||
font = "RobotoCondensed";
|
||||
color = "#ffffff";
|
||||
colorLink = "#D09B43";
|
||||
align = "left";
|
||||
shadow = 1;
|
||||
};
|
||||
x = 0;
|
||||
y = 0;
|
||||
h = 0.035;
|
||||
w = 0.1;
|
||||
text = "";
|
||||
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
||||
shadow = 1;
|
||||
};
|
||||
class xsSpawnRscPicture
|
||||
{
|
||||
deletable = 0;
|
||||
fade = 0;
|
||||
access = 0;
|
||||
type = 0;
|
||||
idc = -1;
|
||||
style = 48;
|
||||
colorBackground[] =
|
||||
{
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
};
|
||||
colorText[] =
|
||||
{
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
};
|
||||
font = "TahomaB";
|
||||
sizeEx = 0;
|
||||
lineSpacing = 0;
|
||||
text = "";
|
||||
fixedWidth = 0;
|
||||
shadow = 0;
|
||||
x = 0;
|
||||
y = 0;
|
||||
w = 0.2;
|
||||
h = 0.15;
|
||||
tooltipColorText[] =
|
||||
{
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
};
|
||||
tooltipColorBox[] =
|
||||
{
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
};
|
||||
tooltipColorShade[] =
|
||||
{
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0.65
|
||||
};
|
||||
};
|
||||
class xsSpawnRscPictureKeepAspect : xsSpawnRscPicture
|
||||
{
|
||||
style = 0x30 + 0x800;
|
||||
};
|
||||
class xsSpawnRscListBox
|
||||
{
|
||||
deletable = 0;
|
||||
fade = 0;
|
||||
access = 0;
|
||||
type = 5;
|
||||
rowHeight = 0;
|
||||
colorText[] =
|
||||
{
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
};
|
||||
colorDisabled[] =
|
||||
{
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
0.25
|
||||
};
|
||||
coloxsSpawnRscrollbar[] =
|
||||
{
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
};
|
||||
colorSelect[] =
|
||||
{
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1
|
||||
};
|
||||
colorSelect2[] =
|
||||
{
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1
|
||||
};
|
||||
colorSelectBackground[] =
|
||||
{
|
||||
0.95,
|
||||
0.95,
|
||||
0.95,
|
||||
1
|
||||
};
|
||||
colorSelectBackground2[] =
|
||||
{
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
0.5
|
||||
};
|
||||
colorBackground[] =
|
||||
{
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0.3
|
||||
};
|
||||
soundSelect[] =
|
||||
{
|
||||
"\A3\ui_f\data\sound\RscListbox\soundSelect",
|
||||
0.09,
|
||||
1
|
||||
};
|
||||
autoScrollSpeed = -1;
|
||||
autoScrollDelay = 5;
|
||||
autoScrollRewind = 0;
|
||||
arrowEmpty = "#(argb,8,8,3)color(1,1,1,1)";
|
||||
arrowFull = "#(argb,8,8,3)color(1,1,1,1)";
|
||||
colorPicture[] =
|
||||
{
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
};
|
||||
colorPictureSelected[] =
|
||||
{
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
};
|
||||
colorPictureDisabled[] =
|
||||
{
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
0.25
|
||||
};
|
||||
colorPictureRight[] =
|
||||
{
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
};
|
||||
colorPictureRightSelected[] =
|
||||
{
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
};
|
||||
colorPictureRightDisabled[] =
|
||||
{
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
0.25
|
||||
};
|
||||
colorTextRight[] =
|
||||
{
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
};
|
||||
colorSelectRight[] =
|
||||
{
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1
|
||||
};
|
||||
colorSelect2Right[] =
|
||||
{
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1
|
||||
};
|
||||
tooltipColorText[] =
|
||||
{
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
};
|
||||
tooltipColorBox[] =
|
||||
{
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
};
|
||||
tooltipColorShade[] =
|
||||
{
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0.65
|
||||
};
|
||||
class ListScrollBar
|
||||
{
|
||||
color[] =
|
||||
{
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
};
|
||||
autoScrollEnabled = 1;
|
||||
};
|
||||
x = 0;
|
||||
y = 0;
|
||||
w = 0.3;
|
||||
h = 0.3;
|
||||
style = 16;
|
||||
font = "RobotoCondensed";
|
||||
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
||||
shadow = 0;
|
||||
colorShadow[] =
|
||||
{
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0.5
|
||||
};
|
||||
period = 1.2;
|
||||
maxHistoryDelay = 1;
|
||||
};
|
||||
class xsSpawnRscButton
|
||||
{
|
||||
deletable = 0;
|
||||
fade = 0;
|
||||
access = 0;
|
||||
type = 1;
|
||||
text = "";
|
||||
colorText[] =
|
||||
{
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
};
|
||||
colorDisabled[] =
|
||||
{
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
0.25
|
||||
};
|
||||
colorBackground[] =
|
||||
{
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0.5
|
||||
};
|
||||
colorBackgroundDisabled[] =
|
||||
{
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0.5
|
||||
};
|
||||
colorBackgroundActive[] =
|
||||
{
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1
|
||||
};
|
||||
colorFocused[] =
|
||||
{
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1
|
||||
};
|
||||
colorShadow[] =
|
||||
{
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
};
|
||||
colorBorder[] =
|
||||
{
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1
|
||||
};
|
||||
soundEnter[] =
|
||||
{
|
||||
"\A3\ui_f\data\sound\RscButton\soundEnter",
|
||||
0.09,
|
||||
1
|
||||
};
|
||||
soundPush[] =
|
||||
{
|
||||
"\A3\ui_f\data\sound\RscButton\soundPush",
|
||||
0.09,
|
||||
1
|
||||
};
|
||||
soundClick[] =
|
||||
{
|
||||
"\A3\ui_f\data\sound\RscButton\soundClick",
|
||||
0.09,
|
||||
1
|
||||
};
|
||||
soundEscape[] =
|
||||
{
|
||||
"\A3\ui_f\data\sound\RscButton\soundEscape",
|
||||
0.09,
|
||||
1
|
||||
};
|
||||
idc = -1;
|
||||
style = 2;
|
||||
x = 0;
|
||||
y = 0;
|
||||
w = 0.095589;
|
||||
h = 0.039216;
|
||||
shadow = 2;
|
||||
font = "RobotoCondensed";
|
||||
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
||||
offsetX = 0;
|
||||
offsetY = 0;
|
||||
offsetPressedX = 0;
|
||||
offsetPressedY = 0;
|
||||
borderSize = 0;
|
||||
};
|
@ -1,108 +0,0 @@
|
||||
//////////////////////////////////////////////
|
||||
// //
|
||||
// xsSpawn | Ground Spawn or Halo Selection //
|
||||
// by bambam of xstremegaming.com //
|
||||
// //
|
||||
//////////////////////////////////////////////
|
||||
|
||||
class xstremeGroundorHaloDialog
|
||||
{
|
||||
idd = 86000;
|
||||
access = 3;
|
||||
duration = -1;
|
||||
onLoad = "uiNamespace setVariable ['xstremeGroundorHaloDialog', _this select 0];";
|
||||
onUnload = "uiNamespace setVariable ['xstremeGroundorHaloDialog', displayNull];";
|
||||
|
||||
class Controls
|
||||
{
|
||||
class xsSpawnBackground: xsSpawnRscPicture
|
||||
{
|
||||
idc = 1100;
|
||||
x = "safezoneX";
|
||||
y = "safezoneY";
|
||||
w = "safezoneW";
|
||||
h = "safezoneW * 4/3";
|
||||
text = "xs\spawn\xsbackground.paa";
|
||||
};
|
||||
class xsSpawnLogo: xsSpawnRscPictureKeepAspect
|
||||
{
|
||||
idc = 1101;
|
||||
x = 0.0771875 * safezoneW + safezoneX;
|
||||
y = 0.054 * safezoneH + safezoneY;
|
||||
w = 0.156 * safezoneW;
|
||||
h = 0.156 * safezoneH;
|
||||
text = "xs\spawn\xslogo.png";
|
||||
};
|
||||
class xsSpawnHalo: xsSpawnRscButton
|
||||
{
|
||||
idc = 1600;
|
||||
text = "Halo Spawn";
|
||||
x = 0.644375 * safezoneW + safezoneX;
|
||||
y = 0.878 * safezoneH + safezoneY;
|
||||
w = 0.0984375 * safezoneW;
|
||||
h = 0.056 * safezoneH;
|
||||
colorBackground[] = {"199/255","38/255","81/255",1};
|
||||
colorText[] = {1,1,1,1};
|
||||
shadow = 0;
|
||||
font = "RobotoMedium";
|
||||
sizeEx = "30 * pixelH";
|
||||
colorFocused[] = {"199/255","38/255","81/255",0.8};
|
||||
colorBackgroundActive[] = {"199/255","38/255","81/255",0.8};
|
||||
onButtonClick = "[1] call ExileClient_gui_selectSpawnLocation_event_onSpawnButtonClick; closeDialog 86000;";
|
||||
};
|
||||
class xsSpawnGround: xsSpawnRscButton
|
||||
{
|
||||
idc = 1601;
|
||||
text = "Ground Spawn";
|
||||
x = 0.755937 * safezoneW + safezoneX;
|
||||
y = 0.878 * safezoneH + safezoneY;
|
||||
w = 0.0984375 * safezoneW;
|
||||
h = 0.056 * safezoneH;
|
||||
colorBackground[] = {"199/255","38/255","81/255",1};
|
||||
colorText[] = {1,1,1,1};
|
||||
shadow = 0;
|
||||
font = "RobotoMedium";
|
||||
sizeEx = "30 * pixelH";
|
||||
colorFocused[] = {"199/255","38/255","81/255",0.8};
|
||||
colorBackgroundActive[] = {"199/255","38/255","81/255",0.8};
|
||||
onButtonClick = "[0] call ExileClient_gui_selectSpawnLocation_event_onSpawnButtonClick; closeDialog 86000;";
|
||||
};
|
||||
class xsSpawnLocations: xsSpawnRscListbox
|
||||
{
|
||||
idc = 1500;
|
||||
text = "Locations";
|
||||
font = "RobotoCondensed";
|
||||
x = 0.644375 * safezoneW + safezoneX;
|
||||
y = 0.332 * safezoneH + safezoneY;
|
||||
w = 0.21 * safezoneW;
|
||||
h = 0.518 * safezoneH;
|
||||
colorBackground[] = {0,0,0,0.5};
|
||||
onLBSelChanged = "_this call ExileClient_gui_selectSpawnLocation_event_onListBoxSelectionChanged;";
|
||||
};
|
||||
class Map: xsSpawnRscMapControl
|
||||
{
|
||||
idc = 1300;
|
||||
text = "";
|
||||
x = 0.066875 * safezoneW + safezoneX;
|
||||
y = 0.332 * safezoneH + safezoneY;
|
||||
w = 0.49875 * safezoneW;
|
||||
h = 0.602 * safezoneH;
|
||||
moveOnEdges = 0;
|
||||
maxSatelliteAlpha = 0.75;
|
||||
alphaFadeStartScale = 1.15;
|
||||
alphaFadeEndScale = 1.29;
|
||||
colorOutside[] = {0.0,0.0,0.0,1.0};
|
||||
};
|
||||
class textbar: xsSpawnRscStructuredText
|
||||
{
|
||||
idc = 1204;
|
||||
text = "";
|
||||
x = 0.278281 * safezoneW + safezoneX;
|
||||
y = 0.093 * safezoneH + safezoneY;
|
||||
w = 0.572344 * safezoneW;
|
||||
h = 0.055 * safezoneH;
|
||||
font = "RobotoMedium";
|
||||
colorText[] = {1,1,1,1};
|
||||
};
|
||||
};
|
||||
};
|
@ -1,28 +0,0 @@
|
||||
/**
|
||||
* ExileClient_gui_selectSpawnLocation_event_onListBoxSelectionChanged
|
||||
*
|
||||
* Exile Mod
|
||||
* www.exilemod.com
|
||||
* © 2015 Exile Mod Team
|
||||
*
|
||||
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
|
||||
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
|
||||
*/
|
||||
|
||||
private["_listBoxControl","_listBoxControlIndex","_display","_spawnButton","_spawnButton2"];
|
||||
disableSerialization;
|
||||
_listBoxControl = _this select 0;
|
||||
_listBoxControlIndex = _this select 1;
|
||||
_display = uiNamespace getVariable ["xstremeGroundorHaloDialog",displayNull];
|
||||
ExileClientSelectedSpawnLocationMarkerName = _listBoxControl lbData _listBoxControlIndex;
|
||||
_spawnButton = _display displayCtrl 1600;
|
||||
_spawnButton ctrlEnable true;
|
||||
_spawnButton2 = _display displayCtrl 1601;
|
||||
_spawnButton2 ctrlEnable true;
|
||||
|
||||
if !((_listBoxControl lbText _listBoxControlIndex) == "Random") then
|
||||
{
|
||||
ExileClientSelectedSpawnLocationMarkerName call ExileClient_gui_selectSpawnLocation_zoomToMarker;
|
||||
};
|
||||
|
||||
true
|
@ -1,29 +0,0 @@
|
||||
/**
|
||||
* ExileClient_gui_selectSpawnLocation_event_onSpawnButtonClick
|
||||
*
|
||||
* Exile Mod
|
||||
* www.exilemod.com
|
||||
* © 2015 Exile Mod Team
|
||||
*
|
||||
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
|
||||
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
|
||||
*/
|
||||
|
||||
private ["_playerChoice"];
|
||||
|
||||
_playerChoice = _this select 0;
|
||||
|
||||
if (_playerChoice isEqualTo 1) then {
|
||||
|
||||
player setVariable ["playerWantsHaloSpawn",1,true];
|
||||
|
||||
} else {
|
||||
|
||||
player setVariable ["playerWantsHaloSpawn",0,true];
|
||||
|
||||
};
|
||||
|
||||
ExileClientSpawnLocationSelectionDone = true;
|
||||
//closeDialog 1;
|
||||
|
||||
true
|
@ -1,51 +0,0 @@
|
||||
/**
|
||||
* ExileClient_gui_selectSpawnLocation_show
|
||||
*
|
||||
* Exile Mod
|
||||
* www.exilemod.com
|
||||
* © 2015 Exile Mod Team
|
||||
*
|
||||
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
|
||||
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
|
||||
*/
|
||||
|
||||
private["_display","_spawnButton","_spawnButton2","_tipText","_tipTextList","_listBox","_listItemIndex","_numberOfSpawnPoints","_randNum","_randData","_randomSpawnIndex"];
|
||||
disableSerialization;
|
||||
ExileClientSpawnLocationSelectionDone = false;
|
||||
ExileClientSelectedSpawnLocationMarkerName = "";
|
||||
createDialog "xstremeGroundorHaloDialog";
|
||||
_display = uiNamespace getVariable ["xstremeGroundorHaloDialog",displayNull];
|
||||
_display displayAddEventHandler ["KeyDown", "_this call ExileClient_gui_loadingScreen_event_onKeyDown"];
|
||||
_spawnButton = _display displayCtrl 1600;
|
||||
_spawnButton2 = _display displayCtrl 1601;
|
||||
_spawnButton ctrlEnable false;
|
||||
_spawnButton2 ctrlEnable false;
|
||||
_tipText = _display displayCtrl 1204;
|
||||
_listBox = _display displayCtrl 1500;
|
||||
lbClear _listBox;
|
||||
{
|
||||
if (getMarkerType _x == "ExileSpawnZone") then
|
||||
{
|
||||
_listItemIndex = _listBox lbAdd (markerText _x);
|
||||
_listBox lbSetData [_listItemIndex, _x];
|
||||
};
|
||||
}
|
||||
forEach allMapMarkers;
|
||||
_numberOfSpawnPoints = {getMarkerType _x == "ExileSpawnZone"} count allMapMarkers;
|
||||
if (_numberOfSpawnPoints > 0) then
|
||||
{
|
||||
_randNum = floor(random _numberOfSpawnPoints);
|
||||
_randData = lbData [1500,_randNum];
|
||||
_randomSpawnIndex = _listBox lbAdd "Random";
|
||||
_listBox lbSetData [_randomSpawnIndex, _randData];
|
||||
};
|
||||
|
||||
_tipTextList = selectRandom
|
||||
[
|
||||
"This is a game of loss, its a wild world out there, good luck!",
|
||||
"Enjoy the server...",
|
||||
"Thanks for joining the server. Have fun!"
|
||||
];
|
||||
_tipText ctrlSetStructuredText parseText format["<t size ='1.8 / (getResolution select 5)' valign='middle' align='right'>[ %1 ]</t>",_tipTextList];
|
||||
|
||||
true
|
@ -1,19 +0,0 @@
|
||||
/**
|
||||
* ExileClient_gui_selectSpawnLocation_zoomToMarker
|
||||
*
|
||||
* Exile Mod
|
||||
* www.exilemod.com
|
||||
* © 2015 Exile Mod Team
|
||||
*
|
||||
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
|
||||
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
|
||||
*/
|
||||
|
||||
private["_markerName","_display","_mapControl"];
|
||||
disableSerialization;
|
||||
_markerName = _this;
|
||||
_display = uiNamespace getVariable ["xstremeGroundorHaloDialog",displayNull];
|
||||
_mapControl = _display displayCtrl 1300;
|
||||
_mapControl ctrlMapAnimAdd [1, 0.1, getMarkerPos _markerName];
|
||||
ctrlMapAnimCommit _mapControl;
|
||||
true
|
@ -1,153 +0,0 @@
|
||||
/**
|
||||
* ExileServer_object_player_createBambi
|
||||
*
|
||||
* Exile Mod
|
||||
* www.exilemod.com
|
||||
* © 2015 Exile Mod Team
|
||||
*
|
||||
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
|
||||
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
|
||||
*/
|
||||
|
||||
private["_sessionID","_requestingPlayer","_spawnLocationMarkerName","_thugToCheck","_HaloSpawnCheck","_bambiPlayer","_accountData","_direction","_position","_spawnAreaPosition","_spawnAreaRadius","_clanID","_clanData","_clanGroup","_player","_devFriendlyMode","_devs","_parachuteNetID","_spawnType","_parachuteObject"];
|
||||
_sessionID = _this select 0;
|
||||
_requestingPlayer = _this select 1;
|
||||
_spawnLocationMarkerName = _this select 2;
|
||||
_bambiPlayer = _this select 3;
|
||||
_accountData = _this select 4;
|
||||
_direction = random 360;
|
||||
if ((count ExileSpawnZoneMarkerPositions) isEqualTo 0) then
|
||||
{
|
||||
_position = call ExileClient_util_world_findCoastPosition;
|
||||
if ((toLower worldName) isEqualTo "namalsk") then
|
||||
{
|
||||
while {(_position distance2D [76.4239, 107.141, 0]) < 100} do
|
||||
{
|
||||
_position = call ExileClient_util_world_findCoastPosition;
|
||||
};
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
_spawnAreaPosition = getMarkerPos _spawnLocationMarkerName;
|
||||
_spawnAreaRadius = getNumber(configFile >> "CfgSettings" >> "BambiSettings" >> "spawnZoneRadius");
|
||||
_position = [_spawnAreaPosition, _spawnAreaRadius] call ExileClient_util_math_getRandomPositionInCircle;
|
||||
while {surfaceIsWater _position} do
|
||||
{
|
||||
_position = [_spawnAreaPosition, _spawnAreaRadius] call ExileClient_util_math_getRandomPositionInCircle;
|
||||
};
|
||||
};
|
||||
_name = name _requestingPlayer;
|
||||
_clanID = (_accountData select 3);
|
||||
if !((typeName _clanID) isEqualTo "SCALAR") then
|
||||
{
|
||||
_clanID = -1;
|
||||
_clanData = [];
|
||||
}
|
||||
else
|
||||
{
|
||||
_clanData = missionNamespace getVariable [format ["ExileServer_clan_%1",_clanID],[]];
|
||||
if(isNull (_clanData select 5))then
|
||||
{
|
||||
_clanGroup = createGroup independent;
|
||||
_clanData set [5,_clanGroup];
|
||||
_clanGroup setGroupIdGlobal [_clanData select 0];
|
||||
missionNameSpace setVariable [format ["ExileServer_clan_%1",_clanID],_clanData];
|
||||
}
|
||||
else
|
||||
{
|
||||
_clanGroup = (_clanData select 5);
|
||||
};
|
||||
[_player] joinSilent _clanGroup;
|
||||
};
|
||||
_bambiPlayer setPosATL [_position select 0,_position select 1,0];
|
||||
_bambiPlayer disableAI "FSM";
|
||||
_bambiPlayer disableAI "MOVE";
|
||||
_bambiPlayer disableAI "AUTOTARGET";
|
||||
_bambiPlayer disableAI "TARGET";
|
||||
_bambiPlayer disableAI "CHECKVISIBLE";
|
||||
_bambiPlayer setDir _direction;
|
||||
_bambiPlayer setName _name;
|
||||
_bambiPlayer setVariable ["ExileMoney", 0, true];
|
||||
_bambiPlayer setVariable ["ExileScore", (_accountData select 0)];
|
||||
_bambiPlayer setVariable ["ExileKills", (_accountData select 1)];
|
||||
_bambiPlayer setVariable ["ExileDeaths", (_accountData select 2)];
|
||||
_bambiPlayer setVariable ["ExileClanID", _clanID];
|
||||
_bambiPlayer setVariable ["ExileClanData", _clanData];
|
||||
_bambiPlayer setVariable ["ExileHunger", 100];
|
||||
_bambiPlayer setVariable ["ExileThirst", 100];
|
||||
_bambiPlayer setVariable ["ExileTemperature", 37];
|
||||
_bambiPlayer setVariable ["ExileWetness", 0];
|
||||
_bambiPlayer setVariable ["ExileAlcohol", 0];
|
||||
_bambiPlayer setVariable ["ExileName", _name];
|
||||
_bambiPlayer setVariable ["ExileOwnerUID", getPlayerUID _requestingPlayer];
|
||||
_bambiPlayer setVariable ["ExileIsBambi", true];
|
||||
_bambiPlayer setVariable ["ExileXM8IsOnline", false, true];
|
||||
_bambiPlayer setVariable ["ExileLocker", (_accountData select 4), true];
|
||||
_devFriendlyMode = getNumber (configFile >> "CfgSettings" >> "ServerSettings" >> "devFriendyMode");
|
||||
if (_devFriendlyMode isEqualTo 1) then
|
||||
{
|
||||
_devs = getArray (configFile >> "CfgSettings" >> "ServerSettings" >> "devs");
|
||||
{
|
||||
if ((getPlayerUID _requestingPlayer) isEqualTo (_x select 0))exitWith
|
||||
{
|
||||
if((name _requestingPlayer) isEqualTo (_x select 1))then
|
||||
{
|
||||
_bambiPlayer setVariable ["ExileMoney", 500000, true];
|
||||
_bambiPlayer setVariable ["ExileScore", 100000];
|
||||
};
|
||||
};
|
||||
}
|
||||
forEach _devs;
|
||||
};
|
||||
_parachuteNetID = "";
|
||||
|
||||
_thugToCheck = _sessionID call ExileServer_system_session_getPlayerObject;
|
||||
_HaloSpawnCheck = _thugToCheck getVariable ["playerWantsHaloSpawn", 0];
|
||||
|
||||
if (_HaloSpawnCheck isEqualTo 1) then
|
||||
{
|
||||
_position set [2, getNumber(configFile >> "CfgSettings" >> "BambiSettings" >> "parachuteDropHeight")];
|
||||
if ((getNumber(configFile >> "CfgSettings" >> "BambiSettings" >> "haloJump")) isEqualTo 1) then
|
||||
{
|
||||
_bambiPlayer addBackpackGlobal "B_Parachute";
|
||||
_bambiPlayer setPosATL _position;
|
||||
_spawnType = 2;
|
||||
}
|
||||
else
|
||||
{
|
||||
_parachuteObject = createVehicle ["Steerable_Parachute_F", _position, [], 0, "CAN_COLLIDE"];
|
||||
_parachuteObject setDir _direction;
|
||||
_parachuteObject setPosATL _position;
|
||||
_parachuteObject enableSimulationGlobal true;
|
||||
_parachuteNetID = netId _parachuteObject;
|
||||
_spawnType = 1;
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
_spawnType = 0;
|
||||
};
|
||||
_bambiPlayer addMPEventHandler ["MPKilled", {_this call ExileServer_object_player_event_onMpKilled}];
|
||||
_bambiPlayer call ExileServer_object_player_database_insert;
|
||||
_bambiPlayer call ExileServer_object_player_database_update;
|
||||
[
|
||||
_sessionID,
|
||||
"createPlayerResponse",
|
||||
[
|
||||
_bambiPlayer,
|
||||
_parachuteNetID,
|
||||
str (_accountData select 0),
|
||||
(_accountData select 1),
|
||||
(_accountData select 2),
|
||||
100,
|
||||
100,
|
||||
0,
|
||||
(getNumber (configFile >> "CfgSettings" >> "BambiSettings" >> "protectionDuration")) * 60,
|
||||
_clanData,
|
||||
_spawnType
|
||||
]
|
||||
]
|
||||
call ExileServer_system_network_send_to;
|
||||
[_sessionID, _bambiPlayer] call ExileServer_system_session_update;
|
||||
true
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user