if (isserver) then {
_Thing= _this select 0;
_Thing setpos getmarkerpos "respawn_civilian";
_molCR="ModuleLightning_F" createUnit [getmarkerpos "respawn_civilian", group igcam];
_Thing addEventHandler ["Killed","execVM 'respawnTHING.sqf'"];
removeallweapons _Thing;
removeHeadgear _Thing;
removeBackpack _Thing;
removeUniform _Thing;
removeVest _Thing;
_Thing addUniform "U_KerryBody";
[_Thing] execvm "sposobnost\SPOSOBNOSTI.sqf";
[_Thing] execvm "sposobnost\godmodeSTART.sqf";
[_Thing] execvm "sposobnost\zrenie.sqf";
[_Thing] execvm "sposobnost\Conc.sqf";
[_Thing] execvm "sposobnost\netformaTMSQ.sqf";
[_Thing] execvm "sposobnost\netoryzieTMSQ.sqf";
[_Thing] execvm "sposobnost\zapretCAR.sqf";
};
лежит в папке sposobnost
Дискрипшин
onLoadName = "ArmA: The Thing";
overviewPicture = "img\ris.jpg";
loadScreen = "img\ris.jpg";
Author = "125mmBB";
respawnOnStart = 0;
estimatedTimeLeft = 3600;
class Header
{
minPlayers = 2;
maxPlayers = 10;
};
respawn = 3;
respawndelay = 30;
respawnVehicleDelay = 5;
disabledAI = 1;
class CfgSounds
{
sounds[] = {};
class ydar
{
name = "ydar";
sound[] = {\sound\ydar.wav, db + 0, 1.0};
titles[] = {0, ""};
};
class clone
{
name = "clone";
sound[] = {\sound\clone.wav, db + 0, 1.0};
titles[] = {0, ""};
};
class Fog
{
name = "Fog";
sound[] = {\sound\Fog.wav, db + 0, 1.0};
titles[] = {0, ""};
};
class teleport
{
name = "teleport";
sound[] = {\sound\teleport.wav, db + 0, 1.0};
titles[] = {0, ""};
};
};
class CfgMusic
{
tracks[]={};
class serdce
{
name = "";
sound[] = {"\sound\serdce.ogg", db+0, 1.0};
};
};
class RscProgress {
x = "0.004 * safezoneW + safezoneX";
y = "0.033 * safezoneH + safezoneY";
w = "0.15 * safezoneW";
h = "0.03 * safezoneH";
shadow = 2;
texture = "#(argb,8,8,3)color(1,1,1,1)";
colorFrame[] = {0, 0, 0, 0};
colorBar[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.77])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.51])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.08])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.8])"};
};
class RscText {
x = "0.004 * safezoneW + safezoneX";
y = "0.033 * safezoneH + safezoneY";
w = "0.15 * safezoneW";
h = "0.03 * safezoneH";
style = 0;
shadow = true;
colorShadow[] = {0, 0, 0, 0.5};
font = "PuristaMedium";
SizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
colorText[] = {1, 1, 1, 1.0};
colorBackground[] = {0, 0, 0, 0};
linespacing = 1;
tooltipColorText[] = {1, 1, 1, 1};
tooltipColorBox[] = {1, 1, 1, 1};
tooltipColorShade[] = {0, 0, 0, 0.65};
};
class RscBackground : RscText {
type = VSoft;
IDC = -1;
style = 512;
shadow = false;
x = "0.004 * safezoneW + safezoneX";
y = "0.033 * safezoneH + safezoneY";
w = "0.15 * safezoneW";
h = "0.03 * safezoneH";
text = "";
ColorBackground[] = {0.48, 0.5, 0.35, 1};
ColorText[] = {0.1, 0.1, 0.1, 1};
font = "PuristaMedium";
SizeEx = 1;
};
class RscTitle : RscText {
style = 0;
sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
colorText[] = {0.95, 0.95, 0.95, 1};
};
class RscTitles {
class RscDisplayPlayerStatus {
idd = 6900;
movingEnable = 0;
duration = 1000000;
name = "DisplayPlayerStatus";
onLoad = "_this spawn compile preprocessfilelinenumbers ""RscDisplayPlayerStatus.sqf""";
onUnload = "";
class ControlsBackground {
class CA_ContainerBackground : RscBackground {
idc = 1001;
type = 0;
style = 0;
x = "0.004 * safezoneW + safezoneX";
y = "0.033 * safezoneH + safezoneY";
w = "0.16 * safezoneW";
h = "0.03 * safezoneH";
colorBackground[] = {0.05, 0.05, 0.05, 0.55};
};
};
class controls {
class DammageTitle : RscTitle {
idc = 2000;
type = 0;
style = 0;
colorText[] = {0.5, 0.5, 0.5, 0.9};
text = "Power Concentration";
x = "0.004 * safezoneW + safezoneX";
y = "0.033 * safezoneH + safezoneY";
w = "0.15 * safezoneW";
h = "0.03 * safezoneH";
};
class AttackTitle : RscTitle {
idc = 2000;
type = 0;
style = 0;
colorText[] = {0.5, 0.5, 0.5, 0.9};
text = "Attack - press F";
x = "0 * safezoneW + safezoneX";
y = "-0.42 * safezoneH + safezoneY";
w = "8 * safezoneW";
h = "1 * safezoneH";
};
class PrigTitle : RscTitle {
idc = 2000;
type = 0;
style = 0;
colorText[] = {0.5, 0.5, 0.5, 0.9};
text = "Jump - press SPACE";
x = "0 * safezoneW + safezoneX";
y = "-0.4 * safezoneH + safezoneY";
w = "8 * safezoneW";
h = "1 * safezoneH";
};
class TeleportTitle : RscTitle {
idc = 2000;
type = 0;
style = 0;
colorText[] = {0.5, 0.5, 0.5, 0.9};
text = "Teleport - press C (Yellow)";
x = "0 * safezoneW + safezoneX";
y = "-0.38 * safezoneH + safezoneY";
w = "8 * safezoneW";
h = "1 * safezoneH";
};
class CloneTitle : RscTitle {
idc = 2000;
type = 0;
style = 0;
colorText[] = {0.5, 0.5, 0.5, 0.9};
text = "Spawn Clones - press R (Yellow)";
x = "0 * safezoneW + safezoneX";
y = "-0.36 * safezoneH + safezoneY";
w = "8 * safezoneW";
h = "1 * safezoneH";
};
class FogTitle : RscTitle {
idc = 2000;
type = 0;
style = 0;
colorText[] = {0.5, 0.5, 0.5, 0.9};
text = "Fog - press G (Blue)";
x = "0 * safezoneW + safezoneX";
y = "-0.34 * safezoneH + safezoneY";
w = "8 * safezoneW";
h = "1 * safezoneH";
};
class BoecTitle : RscTitle {
idc = 2000;
type = 0;
style = 0;
colorText[] = {0.5, 0.5, 0.5, 0.9};
text = "Create Soldier - press T (Blue)";
x = "0 * safezoneW + safezoneX";
y = "-0.32 * safezoneH + safezoneY";
w = "8 * safezoneW";
h = "1 * safezoneH";
};
class TelMapTitle : RscTitle {
idc = 2000;
type = 0;
style = 0;
colorText[] = {0.5, 0.5, 0.5, 0.9};
text = "Teleport Map - press B (Blue)";
x = "0 * safezoneW + safezoneX";
y = "-0.3 * safezoneH + safezoneY";
w = "8 * safezoneW";
h = "1 * safezoneH";
};
class VizionTitle : RscTitle {
idc = 2000;
type = 0;
style = 0;
colorText[] = {0.5, 0.5, 0.5, 0.9};
text = "Vizion Human - press N (Blue)";
x = "0 * safezoneW + safezoneX";
y = "-0.28 * safezoneH + safezoneY";
w = "8 * safezoneW";
h = "1 * safezoneH";
};
/*
class ExampleControl {
idc = -1;
type = 0;
style = 0;
x = "0.004 * safezoneW + safezoneX";
y = "0.033 * safezoneH + safezoneY";
w = "0.15 * safezoneW";
h = "0.03 * safezoneH";
font = "EtelkaNarrowMediumPro";
sizeEx = 0.1;
colorBackground[] = {0,0,0,1};
colorText[] = {1,1,1,1};
text = "Example Text";
};
*/
};
};
};