remove squad xml input box

doesn't actually stop a squad xml from being loaded, but if the player opens the panel the url will be erased from their profile file
This commit is contained in:
icomrade
2017-08-03 17:01:30 -04:00
parent ae0ddbe735
commit 68be0c6003

View File

@@ -23,6 +23,9 @@ class RscXListBox;
class RscShortcutButton;
class RscHTML;
class RscDisplayEmpty;
class RscEdit;
class RscCombo;
class RscXSliderH;
#include "CfgPlayerStats\defines.hpp"
#include "CfgPlayerStats\p_cover.hpp"
@@ -773,3 +776,178 @@ class bloodTest
#include "RscDisplay\includes.hpp"
delete RscDisplayDSinterface;
class RscDisplayNewUser: RscStandardDisplay
{
idd = 42;
class controls
{
class CA_Title2: CA_Title
{
idc = 1002;
x = 0.165948;
y = 0.19;
text = "Edit player:";
};
class CA_TextPlayer2: RscText
{
x = 0.159803;
y = "(0.420549 + -2*0.069854)";
text = "Player name:";
};
class CA_NameValue: RscEdit
{
idc = 101;
x = 0.359684;
y = "(0.420549 + -2*0.069854)";
w = 0.25;
};
class CA_FaceText: RscText
{
idc = 1003;
x = 0.159803;
y = "(0.420549 + -1*0.069854)";
text = "Face:";
};
class CA_FaceValue: RscCombo
{
idc = 102;
x = 0.359684;
y = "(0.420549 + -1*0.069854)";
w = 0.25;
rows = 3;
};
class CA_GlassText: CA_FaceText
{
idc = 1004;
x = 0.159803;
y = "(0.420549 + 0*0.069854)";
w = 0.25;
text = "Glasses:";
};
class CA_ValueGlasses2: RscCombo
{
idc = 107;
x = 0.359684;
y = "(0.420549 + 0*0.069854)";
w = 0.25;
};
class CA_SpeakerText: CA_FaceText
{
idc = 1005;
x = 0.159803;
y = "(0.420549 + 1*0.069854)";
text = "Speaker:";
};
class CA_ValueSpeaker2: RscCombo
{
idc = 103;
x = 0.359684;
y = "(0.420549 + 1*0.069854)";
w = 0.25;
};
class CA_TextPitch2: CA_FaceText
{
x = 0.159803;
y = "(0.420549 + 2*0.069854)";
text = "Pitch:";
};
class CA_ValuePitch2: RscXSliderH
{
idc = 104;
x = 0.359684;
y = "(0.420549 + 2*0.069854)";
w = 0.25;
};
delete CA_SquadText;
delete CA_SquadValue;
delete CA_ValueID;
class CA_ButtonContinue: RscShortcutButton
{
idc = 1;
shortcuts[] = {"0x00050000 + 0",28,57,156};
x = 0.694935;
y = 0.7625;
text = "OK";
default = 1;
};
class CA_ButtonCancel: RscShortcutButton
{
idc = 2;
shortcuts[] = {"0x00050000 + 1"};
x = 0.151;
y = 0.7625;
text = "Cancel";
};
};
class controlsBackground
{
class MainbackFaded1: RscPicture
{
idc = 1106;
x = 0.045;
y = 0.17;
w = 0.627451;
h = 0.836601;
colorText[] = {1,1,1,0.25};
text = "\ca\ui\data\ui_mainmenu_background_ca.paa";
};
class MainbackFaded2: RscPicture
{
idc = 1107;
x = 0.092;
y = 0.17;
w = 0.627451;
h = 0.836601;
colorText[] = {1,1,1,0.5};
text = "\ca\ui\data\ui_mainmenu_background_ca.paa";
};
class Mainback: RscPicture
{
idc = 1104;
x = 0.138;
y = 0.17;
w = 1.2549;
h = 0.836601;
text = "\ca\ui\data\ui_newprofile_background_ca.paa";
};
};
class objects
{
class Head: RscObject
{
model = "\ca\ui\face_preview";
modelWoman = "\ca\ui\face_preview";
idc = 106;
type = 80;
x = 0.75;
y = 0.48;
z = 0.25;
xBack = 0.4;
yBack = 0.25;
zBack = 0.3;
scale = 0.21;
direction[] = {0,0,1};
up[] = {0,1,0};
faceType = "man";
selectionLBrow = "lBrow";
selectionMBrow = "mBrow";
selectionRBrow = "rBrow";
selectionLMouth = "lMouth";
selectionMMouth = "mMouth";
selectionRMouth = "rMouth";
selectionEyelid = "eyelids";
selectionLip = "LLip";
boneHead = "head";
boneLEye = "l_eye";
boneREye = "r_eye";
boneLEyelidUp = "eye_upl";
boneREyelidUp = "eye_upr";
boneLEyelidDown = "eye_lwl";
boneREyelidDown = "eye_lwr";
boneLPupil = "l_pupila";
boneRPupil = "r_pupila";
selectionPersonality = "osobnost";
selectionGlasses = "eyelids";
};
};
};