1 Commits

Author SHA1 Message Date
Zupa
c9ec8da3d8 [Core] #1662 Initiate production branch from release 1.0.5.1 2015-07-01 21:55:26 +02:00
190 changed files with 717 additions and 4774 deletions

View File

@@ -1,35 +0,0 @@
[NEW] RedRyder BB Gun by @arma2WillRobinson
[NEW] DB Backup script. @RimBlock
[NEW] Use DayZ_UseSteamID = false; in your init.sqf to use the old PlayerUID, instead of SteamID @icomrade
[NEW] UI Update - Graphical and code changes, enable using Dayz_Dark_UI = true; in init.sqf. @hogscraper http://epochmod.com/forum/index.php?/topic/13654-proposed-ui-change/
[NOTE] It's recommend to convert to the new SteamID system if possible, new servers should not use DayZ_UseSteamID = false;
[NEW] Snap building (disabled by default), use DZE_modularBuild = true; in your init.sqf to enable. @raymix
[NEW] Modular/Function based player_build for addon makers and modders. @raymix (more info and concepts - http://epochmod.com/forum/index.php?/topic/14628-modular-function-based-player-buildsqf/ )
[CHANGED] An infection chance of -1 disables self-transfusion infection. 0 is always infected. (DZE_selfTransfuse_Values) @icomrade
[CHANGED] Removed weapons from Traders hands and made them stand with arms by their side. @SilvDev
[CHANGED] Tweaked fuel capacity variables for vehicles. @RimBlock
[FIXED] Backpack wipes when changing clothes. #1361 @icomrade
[FIXED] CH53 gear when locked #1364 @icomrade
[FIXED] Infinite loop when crafting ore into bars #1351 @icomrade
[FIXED] Only first kill showing on death boards #1362 #1124 @vbawol @icomrade
[FIXED] Crossbow quivers not working #1355 @icomrade
[FIXED] Crash_spawner & Supply_drop modules spawning inaccessible loot piles #1408 #1390 @Uro1
[FIXED] Undefined variable "_weapon" in fnc_plyrHit.sqf when killer is driving a vehicle #1420 @ebaydayz
[FIXED] Fire cleanup diag_log error in server_functions.sqf #1421 @ebaydayz
[FIXED] NearestObjects position error in server_playerSync.sqf #1425 @ebaydayz
[FIXED] Corrected ClassName type for CH53_DZE and BAF_Merlin_DZE. @Cinjun
[FIXED] Some counts reverted to forEach - count loops can not be nested inside other count loops #1491-#1495 @ebaydayz
[FIXED] Safes empty when opening after restart #1467 @ebaydayz
[FIXED] Dynamic_vehicle spawning non-upgradable classes of hilux1 & datsun1. @Uro1
[UPDATED] .hpp files updated in dayz_epoch_b CfgLootPos > CfgBuildingPos. @Uro1
[UPDATED] .bat files updated in Config-Examples @Raziel23x
[UPDATED] Updated all config.cfg in Config-Examples, Added Default Steam Ports and Updated Layout. @Namindu
[UPDATED] Epoch.sql & 1.0.5_Updates.sql with correct classnames for upgradable hilux1 & datsun1 versions. @Uro1
[INFO] (EXTREMELY IMPORTANT) Server owners MUST update their required build and beta to 125548
[INFO] Server admins should add requiredSecureId = 2; to their server.cfg to prevent uid spoofing.
[INFO] Models/textures by Paul Tomany. @Sequisha.
[INFO] Special thanks to http://verthosting.com for hosting our development server.

View File

@@ -1,6 +1,10 @@
**DayZ Epoch** **DayZ Epoch**
================ ================
#Production Branch
This branch is current deployed game code.
Experimental DayZ mod Experimental DayZ mod
http://dayzepoch.com http://dayzepoch.com
@@ -95,8 +99,6 @@ GitHub Contributors (In order of most commits)
* Schmoopiie - https://github.com/Schmoopiie * Schmoopiie - https://github.com/Schmoopiie
* nahkiss - https://github.com/nahkiss * nahkiss - https://github.com/nahkiss
* BlackLA - https://github.com/BlackLA * BlackLA - https://github.com/BlackLA
* Hogscraper - https://github.com/hogscraper
* Raziel23x - https://github.com/Raziel23x
-------------------------- --------------------------
Special thanks Special thanks

View File

@@ -314,7 +314,6 @@ class CfgSurvival {
sex = "female"; sex = "female";
playerModel = "SurvivorWpink_DZ"; playerModel = "SurvivorWpink_DZ";
}; };
/*
class Skin_SurvivorWsequisha_DZ: Default { class Skin_SurvivorWsequisha_DZ: Default {
sex = "female"; sex = "female";
playerModel = "SurvivorWsequisha_DZ"; playerModel = "SurvivorWsequisha_DZ";
@@ -323,7 +322,6 @@ class CfgSurvival {
sex = "female"; sex = "female";
playerModel = "SurvivorWsequishaD_DZ"; playerModel = "SurvivorWsequishaD_DZ";
}; };
*/
class Skin_SurvivorWcombat_DZ: Default { class Skin_SurvivorWcombat_DZ: Default {
sex = "female"; sex = "female";
playerModel = "SurvivorWcombat_DZ"; playerModel = "SurvivorWcombat_DZ";

View File

@@ -1,406 +0,0 @@
/*
Created by Raymix
*/
class SnapBuilding {
//Barriers whitelist
class Barrier {
snapTo[] = {
"Land_HBarrier5_DZ",
"Land_HBarrier3_DZ",
"Land_HBarrier1_DZ",
"Sandbag1_DZ",
"BagFenceRound_DZ",
"Fort_RazorWire"
};
radius = 5;
};
//snap points
class Land_HBarrier5Preview: Barrier{ //fix for broken offsets in ghost
points[] = {
{0,0,0,"Pivot"},
{0,-0.75,0.1,"Back"},
{0,0.75,0.1,"Front"},
{-2.85,0,0.1,"Left"},
{2.85,0,0.1,"Right"},
{0,0,0.9,"Top"}
};
};
class Land_HBarrier5_DZ: Land_HBarrier5Preview {
points[] = {
{0,0,0,"Pivot"},
{0,-0.75,0,"Back"},
{0,0.75,0,"Front"},
{-2.85,0,0,"Left"},
{2.85,0,0,"Right"},
{0,0,0.9,"Top"}
};
};
class Land_HBarrier3ePreview: Barrier { //whitelist inheritance
points[] = {
{0,0,0,"Pivot"},
{0,-0.75,0,"Back"},
{0,0.75,0,"Front"},
{-1.7,0,0,"Left"},
{1.7,0,0,"Right"},
{0,0,0.9,"Top"}
};
};
class Land_HBarrier3_DZ: Land_HBarrier3ePreview{}; //point inheritance
class Land_HBarrier1Preview: Barrier {
points[] = {
{0,0,0,"Pivot"},
{0,-0.75,0,"Back"},
{0,0.75,0,"Front"},
{-0.6,0,0,"Left"},
{0.6,0,0,"Right"},
{0,0,0.9,"Top"}
};
};
class Land_HBarrier1_DZ: Land_HBarrier1Preview{};
class Fort_RazorWirePreview: Barrier {
points[] = {
{0,0,0,"Pivot"},
{0,-0.95,-0.3,"Back"},
{0,0.95,-0.3,"Front"},
{-4.1,0,-0.3,"Left"},
{4.1,0,-0.3,"Right"},
{0,0,1,"Top"}
};
};
class Fort_RazorWire: Fort_RazorWirePreview {};
class Sandbag1_DZ: Barrier {
points[] = {
{0,0,0,"Pivot"},
{-1.5,0,0,"Left"},
{1.5,0,0,"Right"},
{0,0,0.4,"Top"}
};
};
class BagFenceRound_DZ: Barrier {
points[] = {
{0,0,0,"Pivot"},
{-1.295,0.38,0,"Left"},
{1.295,0.38,0,"Right"},
{0,0,0.4,"Top"}
};
};
//Snapping whitelists for Floors, walls and stairs
class FloorsWallsStairs {
snapTo[] = {
"WoodFloorQuarter_DZ",
"WoodFloorHalf_DZ",
"WoodFloor_DZ",
"WoodStairs_DZ",
"WoodStairsSans_DZ",
"WoodSmallWallDoor_DZ",
"WoodSmallWall_DZ",
"WoodSmallWallWin_DZ",
"Land_DZE_WoodDoor",
"Land_DZE_WoodDoorLocked",
"WoodLargeWall_DZ",
"Land_DZE_LargeWoodDoor",
"WoodLargeWallWin_DZ",
"WoodLargeWallDoor_DZ",
"Land_DZE_GarageWoodDoor",
"Land_DZE_GarageWoodDoorLocked",
"Land_DZE_LargeWoodDoorLocked",
"WoodSmallWallThird_DZ",
"CinderWall_DZ",
"CinderWallDoorway_DZ",
"CinderWallDoorLocked_DZ",
"CinderWallDoor_DZ",
"CinderWallSmallDoorway_DZ",
"CinderWallDoorSmallLocked_DZ",
"CinderWallHalf_DZ",
"CinderWallDoorSmall_DZ",
"MetalFloor_DZ"
};
radius = 7;
};
class WoodFloorQuarter_Preview_DZ: FloorsWallsStairs { //fix for broken offsets in ghost
points[] = {
{0,0,0,"Pivot"},
{0,-1.23,0,"Back"},
{0,1.23,0,"Front"},
{-1.24,0,0,"Left"},
{1.24,0,0,"Right"}
};
};
class WoodFloorQuarter_DZ: FloorsWallsStairs {
points[] = {
{0,0,0,"Pivot"},
{0,-1.23,0.137726,"Back"},
{0,1.23,0.137726,"Front"},
{-1.24,0,0.137726,"Left"},
{1.24,0,0.137726,"Right"}
};
};
class WoodFloorHalf_Preview_DZ: FloorsWallsStairs { //fix for broken offsets in ghost
points[] = {
{0,0,0,"Pivot"},
{0,-2.34,0,"Back"},
{0,2.34,0,"Front"},
{-1.25,0,0,"Left"},
{1.25,0,0,"Right"}
};
};
class WoodFloorHalf_DZ: FloorsWallsStairs{
points[] = {
{0,0,0,"Pivot"},
{0,-2.34,0.1407,"Back"},
{0,2.34,0.1407,"Front"},
{-1.25,0,0.1407,"Left"},
{1.25,0,0.1407,"Right"}
};
};
class WoodFloor_Preview_DZ: FloorsWallsStairs {
points[] = {
{0,0,0,"Pivot"},
{0,-2.33,0.130,"Back"},
{0,2.33,0.130,"Front"},
{-2.45,0,0.130,"Left"},
{2.45,0,0.130,"Right"}
};
radius = 10;
};
class WoodFloor_DZ: WoodFloor_Preview_DZ{};
class Stairs_DZE: FloorsWallsStairs {
points[] = {
{0,0,0,"Pivot"},
{1.56055,-0.78,1.5,"Back"},
{1.56055,0.78,1.5,"Front"},
{1.73926,0.05,2.9,"Top"},
{-1.73926,0.05,0,"Bottom"}
};
};
class WoodStairs_DZ: Stairs_DZE {};
class WoodStairs_Preview_DZ: Stairs_DZE {};
class WoodStairsSans_Preview_DZ: Stairs_DZE {};
class WoodStairsSans_DZ: Stairs_DZE {};
class WoodSmall_DZE: FloorsWallsStairs { // Small wood walls
points[] = {
{0,0,0,"Pivot"},
{-2.285, 0, 1.5,"Left"},
{2.285, 0, 1.5,"Right"},
{0, 0, 3,"Top"}
};
};
class WoodSmallWallDoor_Preview_DZ: WoodSmall_DZE {};
class WoodSmallWall_Preview_DZ: WoodSmall_DZE {};
class WoodSmallWallWin_Preview_DZ: WoodSmall_DZE {};
class WoodSmallWallDoor_DZ: WoodSmall_DZE {};
class WoodSmallWall_DZ: WoodSmall_DZE {};
class WoodSmallWallWin_DZ: WoodSmall_DZE {};
class Land_DZE_WoodDoor: WoodSmall_DZE {};
class Land_DZE_WoodDoorLocked: WoodSmall_DZE {};
class WoodDoor_Preview_DZ: WoodSmall_DZE{};
class WoodLarge_DZE: FloorsWallsStairs { //Large wood walls
points[] = {
{0,0,0,"Pivot"},
{-2.45, 0, 1.5,"Left"},
{2.45, 0, 1.5,"Right"},
{0, 0, 3,"Top"}
};
};
class WoodLargeWall_Preview_DZ: WoodLarge_DZE {};
class WoodLargeWallWin_Preview_DZ: WoodLarge_DZE {};
class WoodLargeWallDoor_Preview_DZ: WoodLarge_DZE {};
class WoodSmallWallThird_Preview_DZ: WoodLarge_DZE {
points[] = {
{0,0,0,"Pivot"},
{-2.445, 0, 1.5,"Left"},
{2.445, 0, 1.5,"Right"},
{0, 0, 1.17,"Top"}
};
};
class WoodSmallWallThird_DZ: WoodSmallWallThird_Preview_DZ{};
class WoodLargeWall_DZ: WoodLarge_DZE {};
class Land_DZE_LargeWoodDoor: WoodLarge_DZE {};
class WoodLargeWallWin_DZ: WoodLarge_DZE {};
class WoodLargeWallDoor_DZ: WoodLarge_DZE {};
class Land_DZE_GarageWoodDoor: WoodLarge_DZE {};
class GarageWoodDoor_Preview_DZ: WoodLarge_DZE {};
class Land_DZE_GarageWoodDoorLocked: WoodLarge_DZE {};
class Land_DZE_LargeWoodDoorLocked: WoodLarge_DZE {};
class LargeWoodDoor_Preview_DZ: WoodLarge_DZE {};
class Cinder_DZE: FloorsWallsStairs { //All cinder walls and doors
points[] = {
{0,0,0,"Pivot"},
{-2.752, 0, 1.5,"Left"},
{2.752, 0, 1.5,"Right"},
{0, 0, 3.37042,"Top"}
};
radius = 10;
};
class CinderWall_Preview_DZ: Cinder_DZE {};
class CinderWallDoorway_Preview_DZ: Cinder_DZE {};
class CinderWallSmallDoorway_Preview_DZ: Cinder_DZE {};
class CinderWallHalf_Preview_DZ: Cinder_DZE {
points[] = {
{0,0,0,"Pivot"},
{-2.752, 0, 1.5,"Left"},
{2.752, 0, 1.5,"Right"},
{0, 0, 1.5,"Top"}
};
};
class CinderWall_DZ: Cinder_DZE {};
class CinderWallDoorway_DZ: Cinder_DZE {};
class CinderWallDoorLocked_DZ: Cinder_DZE {};
class CinderWallDoor_DZ: Cinder_DZE {};
class CinderWallSmallDoorway_DZ: Cinder_DZE {};
class CinderWallDoorSmallLocked_DZ: Cinder_DZE {};
class CinderWallHalf_DZ: Cinder_DZE {
points[] = {
{0,0,0,"Pivot"},
{-2.752, 0, 1.5,"Left"},
{2.752, 0, 1.5,"Right"},
{0, 0, 1.5,"Top"}
};
};
class CinderWallDoorSmall_DZ: Cinder_DZE {};
class MetalFloor_Preview_DZ: FloorsWallsStairs { //fix for broken offsets in ghost
points[] = {
{0,0,0.011,"Pivot"},
{0, -2.64, 0.009,"Back"},
{0, 2.64, 0.009,"Front"},
{-2.64, 0, 0.009,"Left"},
{2.64, 0, 0.009,"Right"}
};
radius = 12;
};
class MetalFloor_DZ: FloorsWallsStairs{
points[] = {
{0,0,0,"Pivot"},
{0, -2.64, 0.15,"Back"},
{0, 2.64, 0.15,"Front"},
{-2.64, 0, 0.15,"Left"},
{2.64, 0, 0.15,"Right"}
};
radius = 12;
};
//Non essential Items that only snap to themselves, do whitelist inheritance if you want these to snap
class WoodCrate_DZ {
snapTo[] = {
"WoodCrate_DZ"
};
radius = 5;
points[] = {
{0,0,0,"Pivot"},
{0,-0.47,0,"Back"},
{0,0.47,0,"Front"},
{-0.47,0,0,"Left"},
{0.47,0,0,"Right"},
{0,0,0.47,"Top"}
};
};
class MetalPanel_DZ {
snapTo[] = {
"MetalPanel_DZ"
};
radius = 5;
points[] = {
{0,0,0,"Pivot"},
{-1.5,0,0,"Left"},
{1.5,0,0,"Right"}
};
};
class MetalGate_DZ {
snapTo[] = {
"MetalGate_DZ"
};
radius = 5;
points[] = {
{0,0,0,"Pivot"},
{-4.1,0,0,"Left"}
};
};
class StickFence_DZ {
snapTo[] = {
"StickFence_DZ"
};
radius = 10;
points[] = {
{0,0,0,"Pivot"},
{-2.95,0,0.3,"Left"},
{2.95,0,0.3,"Right"}
};
};
class Fence_corrugated_DZ {
snapTo[] = {
"Fence_corrugated_DZ"
};
radius = 10;
points[] = {
{0,0,0,"Pivot"},
{-1.95,0,0.88,"Left"},
{1.95,0,0.88,"Right"}
};
};
class WoodRamp_Preview_DZ {
snapTo[] = {
"WoodRamp_DZ"
};
radius = 7;
points[] = {
{0,0,0,"Pivot"},
{0.65,-1.7,1.2,"Back"},
{0.65,1.5,1.2,"Front"},
{3.34,-0.115,2.82,"Top"}
};
};
class WoodRamp_DZ: WoodRamp_Preview_DZ{};
class WoodLadder_Preview_DZ {
snapTo[] = {
"WoodLadder_DZ"
};
radius = 5;
points[] = {
{0,0,0,"Pivot"},
{-0.4,0,1.725,"Left"},
{0.4,0,1.725,"Right"}
};
};
class WoodLadder_DZ: WoodLadder_Preview_DZ{};
class VaultStorageLocked {
snapTo[] = {
"VaultStorageLocked",
"VaultStorage"
};
radius = 5;
points[] = {
{0,0,0,"Pivot"},
{0,0.284,0.615,"Back"},
{0,0,1.23,"Top"},
{-0.362,0,0.615,"Left"},
{0.362,0,0.615,"Right"}
};
};
class VaultStorage: VaultStorageLocked {};
};

View File

@@ -1666,8 +1666,6 @@ class CfgMagazines {
#include "CfgMagazines\MeleeSwing.hpp" #include "CfgMagazines\MeleeSwing.hpp"
#include "CfgMagazines\Planting.hpp"
class HandGrenade_Stone; class HandGrenade_Stone;
class ItemTrashToiletpaper : HandGrenade_Stone { class ItemTrashToiletpaper : HandGrenade_Stone {
scope = public; scope = public;
@@ -1709,15 +1707,6 @@ class CfgMagazines {
output[] = {{"ItemCanvas",1}}; output[] = {{"ItemCanvas",1}};
input[] = {{"ItemKiloHemp",1}}; input[] = {{"ItemKiloHemp",1}};
}; };
class Crafting1
{
text = "Craft Hemp Seeds";
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {""};
requiretools[] = {"ItemKnife"};
output[] = {{"ItemHempSeed",5}};
input[] = {{"ItemKiloHemp",1}};
};
}; };
}; };
}; };

View File

@@ -64,18 +64,6 @@ class FoodPumpkin : FoodEdible {
weight = 1; weight = 1;
model = "z\addons\dayz_communityassets\models\pistachio.p3d"; // TODO: model + icon model = "z\addons\dayz_communityassets\models\pistachio.p3d"; // TODO: model + icon
picture = "\z\addons\dayz_communityassets\pictures\equip_pistachios_CA.paa"; picture = "\z\addons\dayz_communityassets\pictures\equip_pistachios_CA.paa";
class ItemActions
{
class Crafting
{
text = "Craft Pumpkin Seeds";
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {""};
requiretools[] = {"ItemKnife"};
output[] = {{"ItemPumpkinSeed",5}};
input[] = {{"FoodPumpkin",1}};
};
};
}; };
class FoodSunFlowerSeed : FoodEdible { class FoodSunFlowerSeed : FoodEdible {
scope = public; scope = public;

View File

@@ -1,93 +0,0 @@
class ItemFertilizer: CA_Magazine {
scope = public;
count = 1;
displayName = "Fertilizer";
descriptionShort = "Fertilizer";
weight = 0.1;
model = "z\addons\dayz_communityassets\models\mre.p3d"; // TODO: model + icon
picture = "\z\addons\dayz_communityassets\pictures\equip_mre_CA.paa";
type = 256;
};
class ItemPumpkinSeed: CA_Magazine {
scope = public;
count = 1;
displayName = "A Pumpkin Seed";
descriptionShort = "A Pumpkin Seed";
weight = 0.1;
model = "\z\addons\dayz_epoch\models\doc_child1.p3d"; // TODO: model + icon
picture = "\z\addons\dayz_epoch\pictures\equip_child1_ca.paa";
type = 256;
class ItemActions {
class Crafting
{
text = "Craft Pumpkin Plant";
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {""};
requiretools[] = {"ItemKnife"};
output[] = {{"ItemPumpkinPlant",1},{"ItemWaterbottleUnfilled",1}};
input[] = {{"ItemPumpkinSeed",1},{"ItemFertilizer",1},{"ItemWaterbottle",1}};
};
};
};
class ItemPumpkinPlant: CA_Magazine {
scope = public;
count = 1;
displayName = "A Pumpkin Plant";
descriptionShort = "A Pumpkin Plant";
weight = 0.1;
model = "\z\addons\dayz_epoch\models\doc_child1.p3d"; // TODO: model + icon
picture = "\z\addons\dayz_epoch\pictures\equip_child1_ca.paa";
type = 256;
class ItemActions {
class Build {
text = "Plant Pumpkin";
script = "spawn player_build;";
require[] = {"ItemEtool"};
create = "Grave"; // TODO: model for Pumpkin Stage 1
};
};
};
class ItemHempSeed: CA_Magazine {
scope = public;
count = 1;
displayName = "A Hemp Seed";
descriptionShort = "A Hemp Seed";
weight = 0.1;
model = "\z\addons\dayz_epoch\models\doc_child2.p3d"; // TODO: model + icon
picture = "\z\addons\dayz_epoch\pictures\equip_child2_ca.paa";
type = 256;
class ItemActions {
class Crafting
{
text = "Craft Hemp Plant";
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {""};
requiretools[] = {"ItemKnife"};
output[] = {{"ItemHempPlant",1},{"ItemWaterbottleUnfilled",1}};
input[] = {{"ItemHempSeed",1},{"ItemFertilizer",1},{"ItemWaterbottle",1}};
};
};
};
class ItemHempPlant: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "A Hemp Plant";
descriptionShort = "A Hemp Plant";
weight = 0.1;
model = "\z\addons\dayz_epoch\models\doc_child2.p3d"; // TODO: model + icon
picture = "\z\addons\dayz_epoch\pictures\equip_child2_ca.paa";
type = 256;
class ItemActions {
class Build {
text = "Plant Hemp";
script = "spawn player_build;";
require[] = {"ItemEtool"};
create = "MAP_c_fern"; // TODO: model for Hemp Stage 1
};
};
};

View File

@@ -155,7 +155,6 @@ class Skin_SurvivorWpink_DZ: SkinBase {
displayName = "Melly (female)"; displayName = "Melly (female)";
descriptionShort = "Purple top with blue pants."; descriptionShort = "Purple top with blue pants.";
}; };
/*
class Skin_SurvivorWsequisha_DZ: SkinBase { class Skin_SurvivorWsequisha_DZ: SkinBase {
scope = 2; scope = 2;
displayName = "Maria (female)"; displayName = "Maria (female)";
@@ -166,7 +165,6 @@ class Skin_SurvivorWsequishaD_DZ: SkinBase {
displayName = "Sequisha (female)"; displayName = "Sequisha (female)";
descriptionShort = "Sequisha Clothes (female)"; descriptionShort = "Sequisha Clothes (female)";
}; };
*/
class Skin_SurvivorWcombat_DZ: SkinBase { class Skin_SurvivorWcombat_DZ: SkinBase {
scope = 2; scope = 2;
displayName = "Alejandria"; displayName = "Alejandria";

View File

@@ -42,7 +42,7 @@ class AH6J_EP1_DZE: AH6J_EP1_DZ
scope = 2; scope = 2;
side = 2; side = 2;
displayName = "AH6J_DZE"; displayName = "AH6J_DZE";
magazines[] = {"60Rnd_CMFlareMagazine"}; magazines[] = {};
}; };
class AH6X_DZ: AH6_Base_EP1 { class AH6X_DZ: AH6_Base_EP1 {
displayname = "AH6X Little Bird"; displayname = "AH6X Little Bird";
@@ -70,7 +70,6 @@ class AH6X_DZ: AH6_Base_EP1 {
transportMaxWeapons = 3; transportMaxWeapons = 3;
transportMaxMagazines = 10; transportMaxMagazines = 10;
transportmaxbackpacks = 2; transportmaxbackpacks = 2;
fuelCapacity = 242;
class Turrets {}; class Turrets {};
}; };
class MH6J_DZ: AH6_Base_EP1 { class MH6J_DZ: AH6_Base_EP1 {

View File

@@ -20,5 +20,4 @@ class AN2_DZ: An2_Base_EP1
transportMaxWeapons = 10; transportMaxWeapons = 10;
transportMaxMagazines = 80; transportMaxMagazines = 80;
transportmaxbackpacks = 15; transportmaxbackpacks = 15;
fuelCapacity = 757;
}; };

View File

@@ -9,5 +9,4 @@ class BAF_Merlin_DZE : BAF_Merlin_HC3_D {
transportMaxWeapons = 15; transportMaxWeapons = 15;
transportMaxMagazines = 150; transportMaxMagazines = 150;
transportmaxbackpacks = 5; transportmaxbackpacks = 5;
fuelCapacity = 3222;
}; };

View File

@@ -3,5 +3,4 @@ class C130J_US_EP1_DZ: C130J_US_EP1 {
transportMaxWeapons = 50; transportMaxWeapons = 50;
transportMaxMagazines = 400; transportMaxMagazines = 400;
transportmaxbackpacks = 20; transportmaxbackpacks = 20;
fuelCapacity = 34095;
}; };

View File

@@ -117,7 +117,6 @@ class CH47_base_EP1: Helicopter
irScanRangeMin = 100; irScanRangeMin = 100;
irScanRangeMax = 1000; irScanRangeMax = 1000;
irScanToEyeFactor = 2; irScanToEyeFactor = 2;
fuelCapacity = 4043;
}; };
class CH_47F_EP1; class CH_47F_EP1;

View File

@@ -1,21 +1,11 @@
class USEC_ch53_E; class USEC_ch53_E;
class CH53_DZE : USEC_ch53_E { class CH53_DZE : USEC_ch53_E {
scope = 2;
side = 2;
displayname = "USEC CH53E DZE"; displayname = "USEC CH53E DZE";
displaynameshort = "CH53_DZE"; displaynameshort = "CH53_DZE";
destrType = "DestructWreck";
enablemanualfire = 0; enablemanualfire = 0;
scope = 2;
side = 2;
crew = ""; crew = "";
soundGetIn[] = {"\ca\Sounds\Air\Noises\heli_door_01",0.316228,1};
soundGetOut[] = {"\ca\Sounds\Air\Noises\heli_door_01",0.316228,1,30};
soundEnviron[] = {"",0.0316228,1};
soundEngineOnInt[] = {"ca\sounds\Air\UH1Y\int\int-start-final",0.1,1};
soundEngineOnExt[] = {"ca\sounds\Air\UH1Y\ext\ext-motor-start",1,1,800};
soundEngineOffInt[] = {"ca\sounds\Air\UH1Y\int\int-stop-final",0.1,1};
soundEngineOffExt[] = {"ca\sounds\Air\UH1Y\ext\ext-motor-stop",1,1,800};
soundGear[] = {"\usec_ch53\sound\ch53_gear", db10, 1, 100};
soundDammage[] = {"\usec_ch53\sound\dws_warning_beeps", 3.16228, 1, 20};
typicalCargo[] = {}; typicalCargo[] = {};
hiddenSelections[] = {}; hiddenSelections[] = {};
radartype = 0; radartype = 0;
@@ -27,5 +17,4 @@ class CH53_DZE : USEC_ch53_E {
transportMaxWeapons = 25; transportMaxWeapons = 25;
transportMaxMagazines = 80; transportMaxMagazines = 80;
transportmaxbackpacks = 15; transportmaxbackpacks = 15;
fuelCapacity = 3849;
}; };

View File

@@ -11,5 +11,4 @@ class MV22_DZ : MV22 {
transportMaxWeapons = 20; transportMaxWeapons = 20;
transportMaxMagazines = 400; transportMaxMagazines = 400;
transportmaxbackpacks = 10; transportmaxbackpacks = 10;
fuelCapacity = 6513;
}; };

View File

@@ -26,7 +26,6 @@ class Mi17_DZ: Mi17_base {
transportMaxWeapons = 10; transportMaxWeapons = 10;
transportMaxMagazines = 50; transportMaxMagazines = 50;
transportmaxbackpacks = 10; transportmaxbackpacks = 10;
fuelCapacity = 1870;
class Turrets : Turrets { class Turrets : Turrets {
class MainTurret : MainTurret { class MainTurret : MainTurret {

View File

@@ -28,7 +28,6 @@ class UH1Y_DZ: UH1_Base {
transportmaxbackpacks = 4; transportmaxbackpacks = 4;
weapons[] = {}; weapons[] = {};
magazines[] = {}; magazines[] = {};
fuelCapacity = 1333;
class Turrets : Turrets { class Turrets : Turrets {
class MainTurret : MainTurret { class MainTurret : MainTurret {
magazines[] = {"2000Rnd_762x51_M134"}; magazines[] = {"2000Rnd_762x51_M134"};
@@ -74,7 +73,6 @@ class UH1H_DZ: UH1H_base {
transportMaxWeapons = 5; transportMaxWeapons = 5;
transportMaxMagazines = 25; transportMaxMagazines = 25;
transportmaxbackpacks = 4; transportmaxbackpacks = 4;
fuelCapacity = 1333;
class Turrets : Turrets { class Turrets : Turrets {
class MainTurret : MainTurret { class MainTurret : MainTurret {
magazines[] = {"100Rnd_762x51_M240"}; magazines[] = {"100Rnd_762x51_M240"};

View File

@@ -11,7 +11,6 @@ class UH60_Base: Helicopter {
magazines[] = {"60Rnd_CMFlareMagazine"}; magazines[] = {"60Rnd_CMFlareMagazine"};
lockDetectionSystem = "8 + 4"; lockDetectionSystem = "8 + 4";
incommingMisslieDetectionSystem = 0; incommingMisslieDetectionSystem = 0;
fuelCapacity = 2760;
}; };
class MH60S_DZ : UH60_Base { class MH60S_DZ : UH60_Base {
crew = ""; crew = "";
@@ -248,13 +247,14 @@ class UH60M_base_EP1: UH60_Base {
icon = "\ca\air_e\data\UI\Icon_uh60m_CA.paa"; icon = "\ca\air_e\data\UI\Icon_uh60m_CA.paa";
mapSize = 17; mapSize = 17;
class Library { class Library {
libTextDesc = "The Blackhawk is the US Army<6D>s front-line utility helicopter used for transport roles, medical evacuation and even air support.<br />It is capable of carrying 11 combat-equipped soldiers. Easy to maintain in the field, the Blackhawk performs well in a variety of roles including air assault and medical evacuation."; libTextDesc = "The Blackhawk is the US Army<6D>s front-line utility helicopter used for transport roles, medical evacuation and even air support.<br />It is capable of carrying 11 combat-equipped soldiers. Easy to maintain in the field, the Blackhawk performs well in a variety of roles including air assault and medical evacuation.";
}; };
crew = "US_Soldier_Pilot_EP1"; crew = "US_Soldier_Pilot_EP1";
typicalCargo[] = {"US_Soldier_Pilot_EP1","US_Soldier_Pilot_EP1"}; typicalCargo[] = {"US_Soldier_Pilot_EP1","US_Soldier_Pilot_EP1"};
gunnerAction = "ManActTestDriver"; gunnerAction = "ManActTestDriver";
transportMaxBackpacks = 10; transportMaxBackpacks = 10;
transportSoldier = 13; transportSoldier = 13;
fuelCapacity = 600;
maxSpeed = 295; maxSpeed = 295;
mainRotorSpeed = 1.2; mainRotorSpeed = 1.2;
backRotorSpeed = 6.1; backRotorSpeed = 6.1;

View File

@@ -24,5 +24,5 @@ class KamazRefuel_DZ: KamazRefuel {
class TransportMagazines{}; class TransportMagazines{};
class TransportWeapons{}; class TransportWeapons{};
transportFuel = 0; transportFuel = 0;
fuelCapacity = 10400; fuelCapacity = 10000;
}; };

View File

@@ -592,7 +592,7 @@ class Lada2_DZE2: Lada2_DZE1 {
}; };
class Upgrades { class Upgrades {
ItemLRK[] = {"Lada2_DZE3",{},{{"ItemLRK",1},{"PartGeneric",1},{"ItemTent",1}}}; ItemLRK[] = {"Lada1_DZE3",{},{{"ItemLRK",1},{"PartGeneric",1},{"ItemTent",1}}};
}; };
}; };
class LadaLM_DZE2: LadaLM_DZE1 { class LadaLM_DZE2: LadaLM_DZE1 {
@@ -639,7 +639,7 @@ class LadaLM_DZE2: LadaLM_DZE1 {
}; };
class Upgrades { class Upgrades {
ItemLRK[] = {"LadaLM_DZE3",{},{{"ItemLRK",1},{"PartGeneric",1},{"ItemTent",1}}}; ItemLRK[] = {"Lada1_DZE3",{},{{"ItemLRK",1},{"PartGeneric",1},{"ItemTent",1}}};
}; };
}; };
class Lada1_TK_CIV_EP1_DZE2: Lada1_TK_CIV_EP1_DZE1 { class Lada1_TK_CIV_EP1_DZE2: Lada1_TK_CIV_EP1_DZE1 {
@@ -686,7 +686,7 @@ class Lada1_TK_CIV_EP1_DZE2: Lada1_TK_CIV_EP1_DZE1 {
}; };
class Upgrades { class Upgrades {
ItemLRK[] = {"Lada1_TK_CIV_EP1_DZE3",{},{{"ItemLRK",1},{"PartGeneric",1},{"ItemTent",1}}}; ItemLRK[] = {"Lada1_DZE3",{},{{"ItemLRK",1},{"PartGeneric",1},{"ItemTent",1}}};
}; };
}; };
class Lada2_TK_CIV_EP1_DZE2: Lada2_TK_CIV_EP1_DZE1 { class Lada2_TK_CIV_EP1_DZE2: Lada2_TK_CIV_EP1_DZE1 {
@@ -733,7 +733,7 @@ class Lada2_TK_CIV_EP1_DZE2: Lada2_TK_CIV_EP1_DZE1 {
}; };
class Upgrades { class Upgrades {
ItemLRK[] = {"Lada2_TK_CIV_EP1_DZE3",{},{{"ItemLRK",1},{"PartGeneric",1},{"ItemTent",1}}}; ItemLRK[] = {"Lada1_DZE3",{},{{"ItemLRK",1},{"PartGeneric",1},{"ItemTent",1}}};
}; };
}; };

View File

@@ -333,95 +333,17 @@ class Offroad_DSHKM_Gue_DZE: Offroad_DSHKM_base
gunnerCompartments = "Compartment2"; gunnerCompartments = "Compartment2";
}; };
}; };
class Upgrades
{
ItemORP[] = {"Offroad_DSHKM_Gue_DZE1",
{ },
{
{ "ItemORP",1 },
{ "PartEngine",2 } }};
};
}; };
// Performance 1 // Performance 1
class Offroad_DSHKM_Gue_DZE1: Offroad_DSHKM_Gue_DZE class Offroad_DSHKM_Gue_DZE1: Offroad_DSHKM_Gue_DZE
{ {
maxspeed = 170; // Offroad_DSHKM_base 150 | car 100 maxspeed = 170; // Offroad_DSHKM_base 150 | car 100
class Upgrades
{
ItemLRK[] = {"Offroad_DSHKM_Gue_DZE2",
{ },
{
{ "ItemLRK",1 },
{ "PartGeneric",2 },
{ "ItemTent",1 } }};
};
}; };
// Armmor 2 // Armmor 2
class Offroad_DSHKM_Gue_DZE2: Offroad_DSHKM_Gue_DZE1 class Offroad_DSHKM_Gue_DZE2: Offroad_DSHKM_Gue_DZE1
{ {
armor = 50; // car 20 armor = 50; // car 20
class HitPoints: HitPoints
{
class HitLFWheel: HitLFWheel
{
armor = 0.3;
};
class HitLBWheel: HitLBWheel
{
armor = 0.3;
};
class HitRFWheel: HitRFWheel
{
armor = 0.3;
};
class HitRBWheel: HitRBWheel
{
armor = 0.3;
};
class HitFuel
{
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine
{
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1
{
armor = 0.1;
};
class HitGlass2: HitGlass2
{
armor = 0.1;
};
class HitGlass3: HitGlass3
{
armor = 0.1;
};
class HitGlass4: HitGlass4
{
armor = 0.1;
};
};
class Upgrades
{
ItemLRK[] = {"Offroad_DSHKM_Gue_DZE3",
{ },
{
{ "ItemLRK",1 },
{ "PartGeneric",2 },
{ "ItemTent",1 } }};
};
}; };
// Cargo 3 // Cargo 3
class Offroad_DSHKM_Gue_DZE3: Offroad_DSHKM_Gue_DZE2 class Offroad_DSHKM_Gue_DZE3: Offroad_DSHKM_Gue_DZE2
@@ -429,16 +351,7 @@ class Offroad_DSHKM_Gue_DZE3: Offroad_DSHKM_Gue_DZE2
transportMaxWeapons = 20; // car 10 transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50 transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2 transportmaxbackpacks = 4; // car 2
class Upgrades
{
ItemTNK[] = {"Offroad_DSHKM_Gue_DZE4",
{ },
{
{ "ItemTNK",1 },
{ "PartFueltank",2 } }};
};
}; };
// Fuel 4 // Fuel 4
class Offroad_DSHKM_Gue_DZE4: Offroad_DSHKM_Gue_DZE3 class Offroad_DSHKM_Gue_DZE4: Offroad_DSHKM_Gue_DZE3
{ {

View File

@@ -219,8 +219,7 @@ class UAZ_Unarmed_TK_CIV_EP1_DZE1: UAZ_Unarmed_TK_CIV_EP1 {
// Armor 2 // Armor 2
class UAZ_CDF_DZE2: UAZ_CDF_DZE1 { class UAZ_CDF_DZE2: UAZ_CDF_DZE1 {
armor = 100; // UAZ 40 armor = 50; // car 20
damageResistance = 0.02099;
class HitPoints: HitPoints { class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel { class HitLFWheel: HitLFWheel {
armor = 0.3; armor = 0.3;
@@ -267,8 +266,7 @@ class UAZ_CDF_DZE2: UAZ_CDF_DZE1 {
}; };
}; };
class UAZ_INS_DZE2: UAZ_INS_DZE1 { class UAZ_INS_DZE2: UAZ_INS_DZE1 {
armor = 100; // UAZ 40 armor = 50; // car 20
damageResistance = 0.02099;
class HitPoints: HitPoints { class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel { class HitLFWheel: HitLFWheel {
armor = 0.3; armor = 0.3;
@@ -315,8 +313,7 @@ class UAZ_INS_DZE2: UAZ_INS_DZE1 {
}; };
}; };
class UAZ_RU_DZE2: UAZ_RU_DZE1 { class UAZ_RU_DZE2: UAZ_RU_DZE1 {
armor = 100; // UAZ 40 armor = 50; // car 20
damageResistance = 0.02099;
class HitPoints: HitPoints { class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel { class HitLFWheel: HitLFWheel {
armor = 0.3; armor = 0.3;
@@ -363,8 +360,7 @@ class UAZ_RU_DZE2: UAZ_RU_DZE1 {
}; };
}; };
class UAZ_Unarmed_TK_EP1_DZE2: UAZ_Unarmed_TK_EP1_DZE1 { class UAZ_Unarmed_TK_EP1_DZE2: UAZ_Unarmed_TK_EP1_DZE1 {
armor = 100; // UAZ 40 armor = 50; // car 20
damageResistance = 0.02099;
class HitPoints: HitPoints { class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel { class HitLFWheel: HitLFWheel {
armor = 0.3; armor = 0.3;
@@ -411,8 +407,7 @@ class UAZ_Unarmed_TK_EP1_DZE2: UAZ_Unarmed_TK_EP1_DZE1 {
}; };
}; };
class UAZ_Unarmed_UN_EP1_DZE2: UAZ_Unarmed_UN_EP1_DZE1 { class UAZ_Unarmed_UN_EP1_DZE2: UAZ_Unarmed_UN_EP1_DZE1 {
armor = 100; // UAZ 40 armor = 50; // car 20
damageResistance = 0.02099;
class HitPoints: HitPoints { class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel { class HitLFWheel: HitLFWheel {
armor = 0.3; armor = 0.3;
@@ -459,8 +454,7 @@ class UAZ_Unarmed_UN_EP1_DZE2: UAZ_Unarmed_UN_EP1_DZE1 {
}; };
}; };
class UAZ_Unarmed_TK_CIV_EP1_DZE2: UAZ_Unarmed_TK_CIV_EP1_DZE1 { class UAZ_Unarmed_TK_CIV_EP1_DZE2: UAZ_Unarmed_TK_CIV_EP1_DZE1 {
armor = 100; // UAZ 40 armor = 50; // car 20
damageResistance = 0.02099;
class HitPoints: HitPoints { class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel { class HitLFWheel: HitLFWheel {
armor = 0.3; armor = 0.3;

View File

@@ -281,7 +281,6 @@ class Volha_2_TK_CIV_EP1_DZE1: Volha_2_TK_CIV_EP1 {
// Armor 2 // Armor 2
class VolhaLimo_TK_CIV_EP1_DZE2: VolhaLimo_TK_CIV_EP1_DZE1 { class VolhaLimo_TK_CIV_EP1_DZE2: VolhaLimo_TK_CIV_EP1_DZE1 {
armor = 50; // car 20 armor = 50; // car 20
damageResistance = 0.02099;
class HitPoints: HitPoints { class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel { class HitLFWheel: HitLFWheel {
armor = 0.3; armor = 0.3;
@@ -329,7 +328,6 @@ class VolhaLimo_TK_CIV_EP1_DZE2: VolhaLimo_TK_CIV_EP1_DZE1 {
}; };
class Volha_1_TK_CIV_EP1_DZE2: Volha_1_TK_CIV_EP1_DZE1 { class Volha_1_TK_CIV_EP1_DZE2: Volha_1_TK_CIV_EP1_DZE1 {
armor = 50; // car 20 armor = 50; // car 20
damageResistance = 0.02099;
class HitPoints: HitPoints { class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel { class HitLFWheel: HitLFWheel {
armor = 0.3; armor = 0.3;
@@ -377,7 +375,6 @@ class Volha_1_TK_CIV_EP1_DZE2: Volha_1_TK_CIV_EP1_DZE1 {
}; };
class Volha_2_TK_CIV_EP1_DZE2: Volha_2_TK_CIV_EP1_DZE1 { class Volha_2_TK_CIV_EP1_DZE2: Volha_2_TK_CIV_EP1_DZE1 {
armor = 50; // car 20 armor = 50; // car 20
damageResistance = 0.02099;
class HitPoints: HitPoints { class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel { class HitLFWheel: HitLFWheel {
armor = 0.3; armor = 0.3;

View File

@@ -26,5 +26,4 @@ class PBX: RubberBoat {
transportMaxMagazines = 50; transportMaxMagazines = 50;
transportMaxWeapons = 5; transportMaxWeapons = 5;
transportMaxBackpacks = 1; transportMaxBackpacks = 1;
fuelCapacity = 23;
}; };

View File

@@ -17,7 +17,7 @@ class Ship : AllVehicles
maxSpeed = 30; maxSpeed = 30;
simulation = "ship"; simulation = "ship";
audible = 6; audible = 6;
fuelCapacity = 250; fuelCapacity = 100;
formationX = 50; formationX = 50;
formationZ = 100; formationZ = 100;
brakeDistance = 50; brakeDistance = 50;

View File

@@ -1,4 +1,7 @@
class Crossbow_DZ : Crossbow { class Crossbow_DZ : Crossbow {
displayName = $STR_EQUIP_CROSSBOW; displayName = $STR_EQUIP_CROSSBOW;
magazines[] ={"Quiver","WoodenArrow"}; magazines[] =
{
"WoodenArrow"
};
}; };

View File

@@ -204,174 +204,6 @@ class CfgVehicles {
}; };
}; };
}; };
class Tank: landvehicle {
class Sounds: Sounds {
class Engine;
class Movement;
};
driverOpticsModel = "\ca\Tracked\optika_tank_driver";
commanderCanSee = 31;
gunnerCanSee = 30;
getInAction = "GetInMedium";
getOutAction = "GetOutMedium";
cargoGetInAction[] = {"GetInLow"};
cargoGetOutAction[] = {"GetOutLow"};
audible = 18;
sensitivityEar = "0.0075 /3";
armorStructural = 2;
class AnimationSources;
class HitPoints {
class HitHull {
armor = 1;
material = -1;
name = "NEtelo";
visual = "telo";
passThrough = 1;
};
class HitLTrack {
armor = 0.15;
material = -1;
name = "pas_L";
visual = "pas_L";
passThrough = 0.3;
};
class HitRTrack {
armor = 0.15;
material = -1;
name = "pas_P";
visual = "pas_P";
passThrough = 0.3;
};
class HitEngine {
armor = 0.35;
material = -1;
name = "motor";
visual = "motor";
passThrough = 0.2;
minimalHit = 0.02;
};
};
weapons[] = {};
magazines[] = {};
class Turrets {
class MainTurret: NewTurret {
gunnerAction = "ManActTestDriverOut";
gunnerOpticsModel = "\ca\Tracked\optika_tank_gunner";
gunnerOutOpticsModel = "\ca\Weapons\optika_empty";
gunBeg = "usti hlavne";
gunEnd = "konec hlavne";
memoryPointsGetInGunner = "pos gunner";
memoryPointsGetInGunnerDir = "pos gunner dir";
gunnerGetInAction = "GetInHigh";
gunnerGetOutAction = "GetOutHigh";
viewGunnerInExternal = 0;
primaryGunner = 1;
gunnerOpticsEffect[] = {"TankGunnerOptics2","OpticsBlur1","OpticsCHAbera1"};
gunnerOutOpticsEffect[] = {};
class HitPoints {
class HitTurret {
armor = 1;
material = -1;
name = "vez";
visual = "vez";
passThrough = 1;
};
class HitGun {
armor = 0.3;
material = -1;
name = "zbran";
visual = "zbran";
passThrough = 0;
};
};
class Turrets {
class CommanderOptics: NewTurret {
proxyType = "CPCommander";
proxyIndex = 1;
gunnerName = "$STR_POSITION_COMMANDER";
primaryGunner = 0;
primaryObserver = 1;
stabilizedInAxes = "StabilizedInAxesNone";
body = "obsTurret";
gun = "obsGun";
animationSourceBody = "obsTurret";
animationSourceGun = "obsGun";
animationSourceHatch = "hatchCommander";
soundServo[] = {"\ca\sounds\vehicles\servos\turret-1",0.01,1,10};
gunBeg = "";
gunEnd = "";
minElev = -4;
maxElev = 20;
initElev = 0;
minTurn = -360;
maxTurn = 360;
initTurn = 0;
commanding = 2;
outGunnerMayFire = 1;
inGunnerMayFire = 1;
viewGunnerInExternal = 0;
gunnerOpticsModel = "\ca\Tracked\optika_tank_driver";
gunnerOutOpticsModel = "\ca\Weapons\optika_empty";
gunnerOutOpticsColor[] = {0,0,0,1};
gunnerOutForceOptics = 0;
gunnerOutOpticsShowCursor = 0;
gunnerOpticsEffect[] = {};
gunnerOutOpticsEffect[] = {};
memoryPointGunnerOutOptics = "commander_weapon_view";
memoryPointGunnerOptics = "commanderview";
memoryPointsGetInGunner = "pos commander";
memoryPointsGetInGunnerDir = "pos commander dir";
gunnerGetInAction = "GetInHigh";
gunnerGetOutAction = "GetOutHigh";
memoryPointGun = "gun_muzzle";
selectionFireAnim = "zasleh_1";
class ViewOptics {
initAngleX = 0;
minAngleX = -30;
maxAngleX = 30;
initAngleY = 0;
minAngleY = -100;
maxAngleY = 100;
initFov = 0.155;
minFov = 0.0625;
maxFov = 0.466;
};
class ViewGunner {
initAngleX = 5;
minAngleX = -65;
maxAngleX = 85;
initAngleY = 0;
minAngleY = -150;
maxAngleY = 150;
initFov = 0.7;
minFov = 0.25;
maxFov = 1.1;
};
};
};
};
};
soundDammage[] = {"\ca\Tracked\Data\Sound\alarm_loop1",0.000316228,1};
supplyRadius = 1.5;
class ViewOptics: ViewOptics {
initAngleX = 0;
minAngleX = -30;
maxAngleX = 30;
initAngleY = 0;
minAngleY = -100;
maxAngleY = 100;
initFov = 0.466;
minFov = 0.466;
maxFov = 0.466;
};
class DefaultEventhandlers;
class Eventhandlers: DefaultEventhandlers{};
smokeLauncherGrenadeCount = 6;
smokeLauncherVelocity = 15;
smokeLauncherOnTurret = 1;
smokeLauncherAngle = 120;
};
// AIR // AIR
#include "CfgVehicles\AIR\AN2.hpp" #include "CfgVehicles\AIR\AN2.hpp"

View File

@@ -181,7 +181,7 @@ class RscDisplayMain : RscStandardDisplay {
class CA_Version; class CA_Version;
class DAYZ_Version : CA_Version { class DAYZ_Version : CA_Version {
idc = -1; idc = -1;
text = "1.0.5.2"; text = "1.0.5.1";
y = "(SafeZoneH + SafeZoneY) - (1 - 0.95)"; y = "(SafeZoneH + SafeZoneY) - (1 - 0.95)";
}; };
delete CA_TitleMainMenu; delete CA_TitleMainMenu;

View File

@@ -84,14 +84,6 @@ if (_dikCode in actionKeys "MoveLeft") exitWith {r_interrupt = true; if (DZE_Sur
if (_dikCode in actionKeys "MoveRight") exitWith {r_interrupt = true; if (DZE_Surrender) then {call dze_surrender_off};}; if (_dikCode in actionKeys "MoveRight") exitWith {r_interrupt = true; if (DZE_Surrender) then {call dze_surrender_off};};
if (_dikCode in actionKeys "MoveBack") exitWith {r_interrupt = true; if (DZE_Surrender) then {call dze_surrender_off};}; if (_dikCode in actionKeys "MoveBack") exitWith {r_interrupt = true; if (DZE_Surrender) then {call dze_surrender_off};};
//Prevent exploit of glitching through doors
if (_dikCode in actionKeys "Prone") then {
_doors = nearestObjects [player, DZE_DoorsLocked, 3];
if (count _doors > 0) then {
_handled = true;
};
};
//Prevent exploit of drag body //Prevent exploit of drag body
if ((_dikCode in actionKeys "Prone") && r_drag_sqf) exitWith { force_dropBody = true; }; if ((_dikCode in actionKeys "Prone") && r_drag_sqf) exitWith { force_dropBody = true; };
if ((_dikCode in actionKeys "Crouch") && r_drag_sqf) exitWith { force_dropBody = true; }; if ((_dikCode in actionKeys "Crouch") && r_drag_sqf) exitWith { force_dropBody = true; };
@@ -197,9 +189,4 @@ if (_dikCode == 0x39 || (_dikCode in actionKeys "User19")) then {
DZE_5 = true; DZE_5 = true;
}; };
// F key
if ((_dikCode == 0x21 && (!_alt && !_ctrl)) || (_dikCode in actionKeys "User6")) then {
DZE_F = true;
};
_handled _handled

View File

@@ -66,7 +66,7 @@ switch _option do {
_countIn = _x select 1; _countIn = _x select 1;
_qty = { (_x == _itemIn) || (configName(inheritsFrom(configFile >> "cfgMagazines" >> _x)) == _itemIn) } count magazines player; _qty = { (_x == _itemIn) || (configName(inheritsFrom(configFile >> "cfgMagazines" >> _x)) == _itemIn) } count magazines player;
if (_qty < _countIn) exitWith { _missing = _itemIn; _missingQty = (_countIn - _qty); _proceed = false; }; if (_qty < _countIn) exitWith { _missing = _itemIn; _missingQty = (_countIn - _qty); _proceed = false; };
} forEach _requirements; } count _requirements;
if (_proceed) then { if (_proceed) then {
player playActionNow "Medic"; player playActionNow "Medic";

View File

@@ -1,88 +0,0 @@
//Check if building already in progress, exit if so.
if(DZE_ActionInProgress) exitWith { cutText [(localize "str_epoch_player_40") , "PLAIN DOWN"]; };
DZE_ActionInProgress = true;
private ["_itemConfig","_classname","_classnametmp","_require","_text","_ghost","_lockable","_requireplot","_isAllowedUnderGround","_offset","_isPole","_isLandFireDZ","_hasRequired","_hasrequireditem","_reason","_buildObject","_location1","_object","_objectHelper","_position","_controls","_cancel","_dir"];
/*Basic Defines*/
DZE_Q = false;
DZE_Z = false;
DZE_Q_alt = false;
DZE_Z_alt = false;
DZE_Q_ctrl = false;
DZE_Z_ctrl = false;
DZE_5 = false;
DZE_4 = false;
DZE_6 = false;
DZE_F = false;
DZE_cancelBuilding = false;
call gear_ui_init;
closeDialog 1;
DZE_buildItem = _this; //This is a magazine! It's global to allow access to it from outside functions
//count nearby objects. Returns [_cnt] number
[] call player_build_countNearby;
//Check illegal player states. Returns [_isFine] string
[] call player_build_states;
//check for nearby requirements (campfire, workshop, fueltank). Returns [_reason] string
[] call player_build_needNearby;
//check config files and gather info about item (if using custom buildables, make your own similar function instead).
_itemConfig = [] call player_build_getConfig;
//define items collected from function
_classname = _itemConfig select 0; //string
_classnametmp = _itemConfig select 1; //string
_require = _itemConfig select 2; // array
_text = _itemConfig select 3; // string
_ghost = _itemConfig select 4; //string
_lockable = _itemConfig select 5; //int -- 0/1=No 2=lockbox, 3=combolock, 4=safe
_requireplot = _itemConfig select 6; //int
_isAllowedUnderGround = _itemConfig select 7; //int
_offset = _itemConfig select 8; //array
_isPole = _itemConfig select 9; //bool
_isLandFireDZ = _itemConfig select 10; //bool
//Check for nearby plotpoles. Returns [_IsNearPlot,_nearestPole,_ownerID,_friendlies] [int,Obj,int,array]
[_isPole, _requireplot, _isLandFireDZ] call player_build_plotCheck;
if (DZE_ActionInProgress) then { //needed otherwise _hasRequired gets RPT error
//Check for build requirements (missing tools and items). Returns [_hasrequireditem,_reason] [bool,string]
_hasRequired = [_require, _text, true, true] call player_build_buildReq;
//define item collected from function
_hasrequireditem = _hasRequired select 0; //bool
if (_hasrequireditem) then {
//Create object that is attached to a player (i.e Ghost preview if available)
_buildObject = [_classname, _ghost, _offset, true] call player_build_create;
//define items collected from function
_location1 = _buildObject select 0; //array
_object = _buildObject select 1; //Obj
_position = _buildObject select 2; // array
_objectHelper = _buildObject select 3; //Obj
_controls = [_object, _isAllowedUnderGround, _location1, _position, _objectHelper] call player_build_controls;
//define items collected from function
_cancel = _controls select 0; //bool
_reason = _controls select 1; //string
_position = _controls select 2; //array
_dir = _controls select 3; //int
//Publish item to a database
[_cancel, _position, _classnametmp,_isAllowedUnderGround, _text, _isPole, _lockable,_dir, _reason] call player_build_publish;
};
};

View File

@@ -137,7 +137,7 @@ _findNearestPole = [];
_IsNearPlot = count (_findNearestPole); _IsNearPlot = count (_findNearestPole);
// If item is plot pole && another one exists within 45m // If item is plot pole && another one exists within 45m
if(_isPole && _IsNearPlot > 0) exitWith { DZE_ActionInProgress = false; cutText [(format [localize "str_epoch_player_44", DZE_PlotPole select 1]) , "PLAIN DOWN"]; }; if(_isPole && _IsNearPlot > 0) exitWith { DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_44") , "PLAIN DOWN"]; };
if(_IsNearPlot == 0) then { if(_IsNearPlot == 0) then {
@@ -337,7 +337,7 @@ if (_hasrequireditem) then {
if(abs(_objHDiff) > 5) exitWith { if(abs(_objHDiff) > 5) exitWith {
_isOk = false; _isOk = false;
_cancel = true; _cancel = true;
_reason = "Cannot move up or down more than 5 meters"; _reason = "Cannot move up || down more than 5 meters";
detach _object; detach _object;
deleteVehicle _object; deleteVehicle _object;
}; };
@@ -521,7 +521,7 @@ if (_hasrequireditem) then {
publicVariableServer "PVDZE_obj_Publish"; publicVariableServer "PVDZE_obj_Publish";
cutText [format[(localize "str_epoch_player_140"),_combinationDisplay,_text], "PLAIN DOWN", 5]; cutText [format[(localize "str_epoch_player_140"),_combinationDisplay,_text], "PLAIN DOWN", 5];
systemChat format [(localize "str_epoch_player_140"),_combinationDisplay,_text];
} else { } else {
_tmpbuilt setVariable ["CharacterID",dayz_characterID,true]; _tmpbuilt setVariable ["CharacterID",dayz_characterID,true];

View File

@@ -1,44 +0,0 @@
if(!DZE_ActionInProgress) exitWith {};
//Check for build requirements like tools and if item is in magazines (check args to disable checks)
private ["_passArray","_missing","_hasrequireditem","_require","_hastoolweapon","_hasbuilditem","_checkMag","_checkTools","_reason"];
_require = _this select 0; //grab passed array of required items from item config function
_text = _this select 1; //grab text string passed from config
_checkMag = _this select 2; //check if item was built from magazine used in config file. Default is true. Set to false if building item from custom script
_checkTools = _this select 3; //same as above, default is true, set to false if you do not need item requirements.
_missing = "";
_hasrequireditem = true;
_reason = "ok";
_passArray = [];
{
_hastoolweapon = _x in weapons player; //check each required item against weapons array on player
if(!_hastoolweapon) exitWith { //if tool was not found, get missing tool's name from config
_hasrequireditem = false; _missing = getText (configFile >> "cfgWeapons" >> _x >> "displayName");
};
} count _require; //count each item in requirements array
_hasbuilditem = DZE_buildItem in magazines player;
_passArray = [_hasrequireditem,_reason];
if (_checkMag) then { //passed argument
if (!_hasbuilditem) exitWith { //End script if magazine was not found
DZE_ActionInProgress = false;
cutText [format[(localize "str_player_31"),_text,"build"] , "PLAIN DOWN"];
_reason = "missing item";
_passArray
};
};
if (_checkTools) then { //passed argument
if (!_hasrequireditem) exitWith { //End script if required item/tool was not found
DZE_ActionInProgress = false;
cutText [format[(localize "str_epoch_player_137"),_missing] , "PLAIN DOWN"];
_reason = "missing tools";
_passArray
};
};
_passArray //[bool,string]

View File

@@ -1,218 +0,0 @@
private ["_canDo","_passArray","_objHDiff","_isOk","_zheightchanged","_zheightdirection","_rotate","_dir","_object","_position","_isAllowedUnderGround","_location1","_location2","_cancel","_reason","_lastDir","_objectHelper","_objectHelperDir","_objectHelperPos"];
_object = _this select 0;
_isAllowedUnderGround = _this select 1;
_location1 = _this select 2;
_position = _this select 3;
_objectHelper = _this select 4;
_passArray = [];
_objHDiff = 0;
_isOk = true;
_cancel = false;
_reason = "";
_dir = getDir player; //required to pass direction when building
helperDetach = false;
_canDo = (!r_drag_sqf and !r_player_unconscious);
while {_isOk} do {
_zheightchanged = false;
_zheightdirection = "";
_rotate = false;
if (DZE_Q) then {
DZE_Q = false;
_zheightdirection = "up";
_zheightchanged = true;
};
if (DZE_Z) then {
DZE_Z = false;
_zheightdirection = "down";
_zheightchanged = true;
};
if (DZE_Q_alt) then {
DZE_Q_alt = false;
_zheightdirection = "up_alt";
_zheightchanged = true;
};
if (DZE_Z_alt) then {
DZE_Z_alt = false;
_zheightdirection = "down_alt";
_zheightchanged = true;
};
if (DZE_Q_ctrl) then {
DZE_Q_ctrl = false;
_zheightdirection = "up_ctrl";
_zheightchanged = true;
};
if (DZE_Z_ctrl) then {
DZE_Z_ctrl = false;
_zheightdirection = "down_ctrl";
_zheightchanged = true;
};
if (DZE_4) then {
_rotate = true;
DZE_4 = false;
if (helperDetach) then {
_dir = -45;
} else {
_dir = 180;
};
};
if (DZE_6) then {
_rotate = true;
DZE_6 = false;
if (helperDetach) then {
_dir = 45;
} else {
_dir = 0;
};
};
if (DZE_F and _canDo) then {
if (helperDetach) then {
_objectHelperDir = getDir _objectHelper;
_objectHelper attachTo [player];
_objectHelper setDir _objectHelperDir-(getDir player);
helperDetach = false;
} else {
_objectHelperPos = getPosATL _objectHelper;
detach _objectHelper;
_objectHelper setPosATL _objectHelperPos;
_objectHelperDir = getDir _objectHelper;
_objectHelper setVelocity [0,0,0]; //fix sliding glitch
helperDetach = true;
};
DZE_F = false;
};
if(_rotate) then {
if (helperDetach) then {
_objectHelperDir = getDir _objectHelper;
_objectHelperPos = getPosATL _objectHelper;
_objectHelper setDir _objectHelperDir+_dir;
_objectHelper setPosATL _objectHelperPos;
} else {
_objectHelper setDir _dir;
_objectHelper setPosATL _position;
};
};
if(_zheightchanged) then {
if (!helperDetach) then {
detach _objectHelper;
};
_position = getPosATL _objectHelper;
if(_zheightdirection == "up") then {
_position set [2,((_position select 2)+0.1)];
_objHDiff = _objHDiff + 0.1;
};
if(_zheightdirection == "down") then {
_position set [2,((_position select 2)-0.1)];
_objHDiff = _objHDiff - 0.1;
};
if(_zheightdirection == "up_alt") then {
_position set [2,((_position select 2)+1)];
_objHDiff = _objHDiff + 1;
};
if(_zheightdirection == "down_alt") then {
_position set [2,((_position select 2)-1)];
_objHDiff = _objHDiff - 1;
};
if(_zheightdirection == "up_ctrl") then {
_position set [2,((_position select 2)+0.01)];
_objHDiff = _objHDiff + 0.01;
};
if(_zheightdirection == "down_ctrl") then {
_position set [2,((_position select 2)-0.01)];
_objHDiff = _objHDiff - 0.01;
};
_objectHelper setDir (getDir _objectHelper);
if((_isAllowedUnderGround == 0) && ((_position select 2) < 0)) then {
_position set [2,0];
};
_objectHelper setPosATL _position;
if (!helperDetach) then {
_objectHelper attachTo [player];
};
};
sleep 0.5;
_location2 = getPosATL player;
_objectHelperPos = getPosATL _objectHelper;
if(DZE_5) exitWith {
_isOk = false;
detach _object;
_position = getPosATL _object;
_dir = getDir _object;
deleteVehicle _object;
detach _objectHelper;
deleteVehicle _objectHelper;
};
if(_location1 distance _location2 > 10) exitWith {
_isOk = false;
_cancel = true;
_reason = "You've moved to far away from where you started building (within 10 meters)";
detach _object;
deleteVehicle _object;
detach _objectHelper;
deleteVehicle _objectHelper;
};
if(_location1 distance _objectHelperPos > 10) exitWith {
_isOk = false;
_cancel = true;
_reason = "Object is placed to far away from where you started building (within 10 meters)";
detach _object;
deleteVehicle _object;
detach _objectHelper;
deleteVehicle _objectHelper;
};
if(abs(_objHDiff) > 10) exitWith {
_isOk = false;
_cancel = true;
_reason = "Cannot move up or down more than 10 meters";
detach _object;
deleteVehicle _object;
detach _objectHelper;
deleteVehicle _objectHelper;
};
if (player getVariable["combattimeout", 0] >= time) exitWith {
_isOk = false;
_cancel = true;
_reason = (localize "str_epoch_player_43");
detach _object;
deleteVehicle _object;
detach _objectHelper;
deleteVehicle _objectHelper;
};
if (DZE_cancelBuilding) exitWith {
_isOk = false;
_cancel = true;
_reason = "Cancelled building.";
detach _object;
deleteVehicle _object;
detach _objectHelper;
deleteVehicle _objectHelper;
};
};
_passArray = [_cancel,_reason,_position,_dir];
_passArray //[bool,string,array,int]

View File

@@ -1,10 +0,0 @@
// disallow building if too many objects are found within 30m (by default)
private ["_cnt"];
_cnt = count ((getPosATL player) nearObjects ["All",DZE_checkNearbyRadius]);
if (_cnt >= DZE_BuildingLimit) exitWith { //end script if too many objects nearby
DZE_ActionInProgress = false;
cutText [(localize "str_epoch_player_41"), "PLAIN DOWN"];
};
_cnt //returns amount of total objects found nearby

View File

@@ -1,38 +0,0 @@
//create an object for default build system style
private ["_passArray","_classname","_enableGhost","_ghost","_location","_location1","_dir","_object","_position","_objectHelper","_helperColor"];
_classname = _this select 0;
_ghost = _this select 1;
_offset = _this select 2;
_enableGhost = _this select 3; //pass false trough args if not using ghost preview
_passArray = [];
_location = [0,0,0]; //create object in debug zone first
_objectHelper = objNull;
// get inital players position
_location1 = getPosATL player;
// if enabled, use ghost preview where available
if (_enableGhost) then {
if (_ghost != "") then {
_classname = _ghost;
};
};
_object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"]; //object preview, not an actual object that will be built
_objectHelper = "Sign_sphere10cm_EP1" createVehicle _location;
_helperColor = "#(argb,8,8,3)color(0,0,0,0,ca)";
_objectHelper setobjecttexture [0,_helperColor];
_objectHelper attachTo [player,_offset];
_object attachTo [_objectHelper,[0,0,0]];
_position = getPosATL _objectHelper;
if (isClass (configFile >> "SnapBuilding" >> _classname)) then {
["","","",["Init",_object,_classname,_objectHelper]] spawn snap_build;
};
_passArray = [_location1,_object,_position,_objectHelper];
_passArray //[array,obj,array]

View File

@@ -1,39 +0,0 @@
if(!DZE_ActionInProgress) exitWith {};
//Build an array of various variables gathered about build object from config files, only applies to legit buildable objects
private ["_passArray","_classname","_classnametmp","_require","_text","_ghost","_lockable","_requireplot","_isAllowedUnderGround","_offset","_isPole","_isLandFireDZ"];
_passArray = [];
_classname = getText (configFile >> "CfgMagazines" >> DZE_buildItem >> "ItemActions" >> "Build" >> "create");
_classnametmp = _classname;
_require = getArray (configFile >> "cfgMagazines" >> DZE_buildItem >> "ItemActions" >> "Build" >> "require");
_text = getText (configFile >> "CfgVehicles" >> _classname >> "displayName");
_ghost = getText (configFile >> "CfgVehicles" >> _classname >> "ghostpreview");
_lockable = 0; //default define if lockable not found in config file below
if(isNumber (configFile >> "CfgVehicles" >> _classname >> "lockable")) then { //find out if item is lockable object
_lockable = getNumber(configFile >> "CfgVehicles" >> _classname >> "lockable"); // 2=lockbox, 3=combolock, 4=safe
};
_requireplot = DZE_requireplot; //check for plotpole requirements defined in init.sqf
if(isNumber (configFile >> "CfgVehicles" >> _classname >> "requireplot")) then {
_requireplot = getNumber(configFile >> "CfgVehicles" >> _classname >> "requireplot");
};
_isAllowedUnderGround = 1; //check if allowed to build under terrain
if(isNumber (configFile >> "CfgVehicles" >> _classname >> "nounderground")) then {
_isAllowedUnderGround = getNumber(configFile >> "CfgVehicles" >> _classname >> "nounderground");
};
_offset = getArray (configFile >> "CfgVehicles" >> _classname >> "offset"); //check default distance offset, define if does not exist
if((count _offset) <= 0) then {
_offset = [0,1.5,0];
};
_isPole = (_classname == "Plastic_Pole_EP1_DZ"); //check if item is plotpole
_isLandFireDZ = (_classname == "Land_Fire_DZ"); //check if item is campfire
_passArray = [_classname,_classnametmp,_require,_text,_ghost,_lockable,_requireplot,_isAllowedUnderGround,_offset,_isPole,_isLandFireDZ]; //create new array to pass to caller
_passArray //[string,string,array,string,string,int,int,int,array,bool,bool]

View File

@@ -1,44 +0,0 @@
if(!DZE_ActionInProgress) exitWith {};
//disallow building if required items (defined in config) are not found nearby
private ["_abort","_reason","_distance","_needNear","_isNear"];
_abort = false; //do not abort by default
_reason = ""; // define to avoid RPT errors
_needNear = getArray (configFile >> "CfgMagazines" >> DZE_buildItem >> "ItemActions" >> "Build" >> "neednearby");
{
switch(_x) do{
case "fire":
{
_distance = 3;
_isNear = {inflamed _x} count (getPosATL player nearObjects _distance);
if(_isNear == 0) then {
_abort = true;
_reason = "fire";
};
};
case "workshop":
{
_distance = 3;
_isNear = count (nearestObjects [player, ["Wooden_shed_DZ","WoodShack_DZ","WorkBench_DZ"], _distance]);
if(_isNear == 0) then {
_abort = true;
_reason = "workshop";
};
};
case "fueltank":
{
_distance = 30;
_isNear = count (nearestObjects [player, dayz_fuelsources, _distance]);
if(_isNear == 0) then {
_abort = true;
_reason = "fuel tank";
};
};
};
} forEach _needNear;
if (_abort) exitWith {
cutText [format[(localize "str_epoch_player_135"),_reason,_distance], "PLAIN DOWN"];
DZE_ActionInProgress = false;
};

View File

@@ -1,79 +0,0 @@
if(!DZE_ActionInProgress) exitWith {};
//Check if nearby plotpoles exists
private ["_passArray","_isPole","_needText","_distance","_findNearestPoles","_findNearestPole","_IsNearPlot","_requireplot","_isLandFireDZ","_canBuildOnPlot","_nearestPole","_ownerID","_friendlies"];
//defines
_isPole = _this select 0;
_requireplot = _this select 1;
_isLandFireDZ = _this select 2;
_needText = localize "str_epoch_player_246"; //text for when requirements not met
_canBuildOnPlot = false;
_nearestPole = objNull;
_ownerID = 0;
_friendlies = [];
if(_isPole) then { //check if object is plotpole and adjust distance accordingly
_distance = DZE_PlotPole select 1;
} else {
_distance = DZE_PlotPole select 0;
};
// check for near plotpoles
_findNearestPoles = nearestObjects [(vehicle player), ["Plastic_Pole_EP1_DZ"], _distance]; //create an array of nearby objects that are plotpoles, nearest will always be first in array
_findNearestPole = []; //must define an empty array to avoid problems
{
if (alive _x) then { //only look for non-destroyed plotpoles
_findNearestPole set [(count _findNearestPole),_x]; //build an array of live plotpoles found nearby
};
} count _findNearestPoles; //count each item in previously created array of nearby plotpoles
_IsNearPlot = count (_findNearestPole); //count our new array of non-destroyed plotpoles. Empty array will return 0
if(_IsNearPlot == 0) then { //No live plotpoles were found nearby
// Allow building of plot
if(_requireplot == 0 || _isLandFireDZ) then {
_canBuildOnPlot = true;
};
} else {
// Since there are plots nearby we check for ownership && then for friend status
// check nearby plots ownership && then for friend status
_nearestPole = _findNearestPole select 0; //nearest is always first in array when using nearestObjects check
// Find owner
_ownerID = _nearestPole getVariable ["CharacterID","0"];
// check if friendly to owner
if(dayz_characterID == _ownerID) then { //Keep ownership
// owner can build anything within his plot except other plots
if(!_isPole) then {
_canBuildOnPlot = true;
};
} else {
// disallow building plot
if(!_isPole) then {
_friendlies = player getVariable ["friendlyTo",[]];
// check if friendly to owner
if(_ownerID in _friendlies) then {
_canBuildOnPlot = true;
};
};
};
};
_passArray = [_IsNearPlot,_nearestPole,_ownerID,_friendlies]; //create new array and pass it to caller
// End script if item is plot pole and another one exists within defined radius
if(_isPole && _IsNearPlot > 0) exitWith {
DZE_ActionInProgress = false;
cutText [(format [localize "str_epoch_player_44", DZE_PlotPole select 1]) , "PLAIN DOWN"];
_passArray
};
if(!_canBuildOnPlot) exitWith { //end script if requirements were not met
DZE_ActionInProgress = false;
cutText [format[(localize "STR_EPOCH_PLAYER_135"),_needText,_distance] , "PLAIN DOWN"];
_passArray
};
_passArray //[int,Obj,int,array]

View File

@@ -1,220 +0,0 @@
private ["_passArray","_cancel","_position","_reason","_classnametmp","_classname","_tmpbuilt","_dir","_location","_text","_limit","_isOk","_proceed","_counter","_dis","_sfx","_started","_finished","_animState","_isMedic","_num_removed","_lockable","_combinationDisplay","_combination_1","_combination_2","_combination_3","_combination_4","_combination","_combination_1_Display"];
//defines
_cancel = _this select 0;
_position = _this select 1;
_classnametmp = _this select 2;
_isAllowedUnderGround = _this select 3;
_text = _this select 4;
_isPole = _this select 5;
_lockable = _this select 6;
_dir = _this select 7;
_reason = _this select 8;
_passArray = [];
_isOk = true;
_proceed = false;
_counter = 0;
_location = [0,0,0];
//No building on roads unless toggled
if (!DZE_BuildOnRoads) then {
if (isOnRoad _position) then {
_cancel = true;
_reason = "Cannot build on a road.";
};
};
// No building in trader zones
if(!canbuild) then {
_cancel = true;
_reason = "Cannot build in a city.";
};
if(!_cancel) then {
_classname = _classnametmp;
// Start Build
_tmpbuilt = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"]; //create actual object that will be published to database
_tmpbuilt setdir _dir; //set direction inherited from passed args from control
// Get position based on object
_location = _position;
if((_isAllowedUnderGround == 0) && ((_location select 2) < 0)) then { //check Z axis if not allowed to build underground
_location set [2,0]; //reset Z axis to zero (above terrain)
};
_tmpbuilt setPosATL _location; //update position passed from args or previous if statement
cutText [format[(localize "str_epoch_player_138"),_text], "PLAIN DOWN"];
_limit = 3; //times it takes to build by default
if (DZE_StaticConstructionCount > 0) then { //if count is manually overridden inside init.sqf, use that instead, else use limits configured in config files
_limit = DZE_StaticConstructionCount;
}
else {
if (isNumber (configFile >> "CfgVehicles" >> _classname >> "constructioncount")) then {
_limit = getNumber(configFile >> "CfgVehicles" >> _classname >> "constructioncount");
};
};
while {_isOk} do { //publish phase
[10,10] call dayz_HungerThirst;
player playActionNow "Medic"; //animation
//alert zombies
_dis=20;
_sfx = "repair";
[player,_sfx,0,false,_dis] call dayz_zombieSpeak;
[player,_dis,true,(getPosATL player)] spawn player_alertZombies;
r_interrupt = false;
r_doLoop = true;
_started = false;
_finished = false;
while {r_doLoop} do { //while player is not interrupted, go trough animations
_animState = animationState player;
_isMedic = ["medic",_animState] call fnc_inString;
if (_isMedic) then {
_started = true;
};
if (_started && !_isMedic) then {
r_doLoop = false;
_finished = true;
};
if (r_interrupt || (player getVariable["combattimeout", 0] >= time)) then {
r_doLoop = false;
};
if (DZE_cancelBuilding) exitWith {
r_doLoop = false;
};
sleep 0.1;
};
r_doLoop = false;
if(!_finished) exitWith { //exit if interrupted
_isOk = false;
_proceed = false;
};
if(_finished) then { //if animation finished, add to build count
_counter = _counter + 1;
};
cutText [format[(localize "str_epoch_player_139"),_text, _counter,_limit], "PLAIN DOWN"]; //report how many steps are done out of total limit
if(_counter == _limit) exitWith { //if all steps done proceed with next step, otherwise cancel publish
_isOk = false;
_proceed = true;
};
};
if (_proceed) then {
_num_removed = ([player,DZE_buildItem] call BIS_fnc_invRemove); //remove item's magazine from inventory
if(_num_removed == 1) then {
cutText [format[localize "str_build_01",_text], "PLAIN DOWN"];
if (_isPole) then { //if item was a plotpole, build a visual radius around it
[] spawn player_plotPreview;
};
_tmpbuilt setVariable ["OEMPos",_location,true]; //store original location as a variable
if(_lockable > 1) then { //if item has code lock on it
_combinationDisplay = ""; //define new display
switch (_lockable) do { //generate random combinations depending on item type
case 2: { // 2 lockbox
_combination_1 = (floor(random 3)) + 100; // 100=red,101=green,102=blue
_combination_2 = floor(random 10);
_combination_3 = floor(random 10);
_combination = format["%1%2%3",_combination_1,_combination_2,_combination_3];
dayz_combination = _combination;
if (_combination_1 == 100) then {
_combination_1_Display = "Red";
};
if (_combination_1 == 101) then {
_combination_1_Display = "Green";
};
if (_combination_1 == 102) then {
_combination_1_Display = "Blue";
};
_combinationDisplay = format["%1%2%3",_combination_1_Display,_combination_2,_combination_3];
};
case 3: { // 3 combolock
_combination_1 = floor(random 10);
_combination_2 = floor(random 10);
_combination_3 = floor(random 10);
_combination = format["%1%2%3",_combination_1,_combination_2,_combination_3];
dayz_combination = _combination;
_combinationDisplay = _combination;
};
case 4: { // 4 safe
_combination_1 = floor(random 10);
_combination_2 = floor(random 10);
_combination_3 = floor(random 10);
_combination_4 = floor(random 10);
_combination = format["%1%2%3%4",_combination_1,_combination_2,_combination_3,_combination_4];
dayz_combination = _combination;
_combinationDisplay = _combination;
};
};
_tmpbuilt setVariable ["CharacterID",_combination,true]; //set combination as a character ID
//call publish precompiled function with given args and send public variable to server to save item to database
PVDZE_obj_Publish = [_combination,_tmpbuilt,[_dir,_location],_classname];
publicVariableServer "PVDZE_obj_Publish";
cutText [format[(localize "str_epoch_player_140"),_combinationDisplay,_text], "PLAIN DOWN", 5]; //display new combination
} else { //if not lockable item
_tmpbuilt setVariable ["CharacterID",dayz_characterID,true];
// fire?
if(_tmpbuilt isKindOf "Land_Fire_DZ") then { //if campfire, then spawn, but do not publish to database
_tmpbuilt spawn player_fireMonitor;
} else {
PVDZE_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location],_classname];
publicVariableServer "PVDZE_obj_Publish";
};
};
} else { //if magazine was not removed, cancel publish
deleteVehicle _tmpbuilt;
cutText [(localize "str_epoch_player_46") , "PLAIN DOWN"];
};
} else { //if player was interrupted, cancel publish and stop build animations
r_interrupt = false;
if (vehicle player == player) then {
[objNull, player, rSwitchMove,""] call RE;
player playActionNow "stop";
};
deleteVehicle _tmpbuilt;
cutText [(localize "str_epoch_player_46") , "PLAIN DOWN"];
};
} else { //cancel build if passed _cancel arg was true or building on roads/trader city
cutText [format[(localize "str_epoch_player_47"),_text,_reason], "PLAIN DOWN"];
};
DZE_ActionInProgress = false; //in any case always finish last function with this to "reset" everything.

View File

@@ -1,39 +0,0 @@
if(!DZE_ActionInProgress) exitWith {};
//disallow building if these conditions are not met
private ["_isFine","_onLadder","_vehicle","_inVehicle"];
_isFine = "ok"; //define variable to avoid RPT errors
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
_vehicle = vehicle player;
_inVehicle = (_vehicle != player);
if (dayz_isSwimming) exitWith { //end script if player is swimming
DZE_ActionInProgress = false;
cutText [localize "str_player_26", "PLAIN DOWN"];
_isFine = "Swimming";
_isFine
};
if (_inVehicle) exitWith { //end script if player is in vehicle
DZE_ActionInProgress = false;
cutText [(localize "str_epoch_player_42"), "PLAIN DOWN"];
_isFine = "In vehicle";
_isFine
};
if (_onLadder) exitWith { //end script if player is climbing on ladder
DZE_ActionInProgress = false;
cutText [localize "str_player_21", "PLAIN DOWN"];
_isFine = "On ladder";
_isFine
};
if (player getVariable["combattimeout", 0] >= time) exitWith { //end script if player is in combat
DZE_ActionInProgress = false;
cutText [(localize "str_epoch_player_43"), "PLAIN DOWN"];
_isFine = "In combat";
_isFine
};
_isFine //returns string to caller, default is "ok" if conditions were not met

View File

@@ -168,13 +168,13 @@ if (_canDo) then {
if ((_x == _itemIn) || (!_selectedRecipeInputStrict && _configParent == _itemIn)) then { if ((_x == _itemIn) || (!_selectedRecipeInputStrict && _configParent == _itemIn)) then {
// Get lowest waterlevel // Get lowest waterlevel
if ((_x == "ItemWaterbottle") ||( _configParent == "ItemWaterbottle")) then { if ((_x == "ItemWaterbottle") ||( _configParent == "ItemWaterbottle")) then {
_waterLevel = getNumber(configFile >> "CfgMagazines" >> _x >> "wateroz"); _waterLevel = floor((getNumber(configFile >> "CfgMagazines" >> _x >> "wateroz")) - 1);
if (_waterLevel_lowest == 0 || _waterLevel < _waterLevel_lowest) then { if (_waterLevel_lowest == 0 || _waterLevel < _waterLevel_lowest) then {
_waterLevel_lowest = _waterLevel; _waterLevel_lowest = _waterLevel;
}; };
}; };
}; };
} forEach (magazines player); } forEach magazines player;
{ {
_configParent = configName(inheritsFrom(configFile >> "cfgMagazines" >> _x)); _configParent = configName(inheritsFrom(configFile >> "cfgMagazines" >> _x));
@@ -195,7 +195,7 @@ if (_canDo) then {
_temp_removed_array set [count _temp_removed_array,_x]; _temp_removed_array set [count _temp_removed_array,_x];
}; };
}; };
} forEach (magazines player); } forEach magazines player;
} forEach _selectedRecipeInput; } forEach _selectedRecipeInput;

View File

@@ -17,7 +17,7 @@ if(!(surfaceIsWater _position)) exitWith {DZE_ActionInProgress = false; cutText
if((currentWeapon player) != "MeleeFishingPole") exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_67"), "PLAIN DOWN"]; }; if((currentWeapon player) != "MeleeFishingPole") exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_67"), "PLAIN DOWN"]; };
if(dayz_isSwimming) exitWith {DZE_ActionInProgress = false; cutText [localize "str_player_26", "PLAIN DOWN"]; }; if(dayz_isSwimming) exitWith {DZE_ActionInProgress = false; cutText [localize "str_player_26", "PLAIN DOWN"]; };
if(player getVariable["combattimeout", 0] >= time) exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_312"), "PLAIN DOWN"];}; if(player getVariable["combattimeout", 0] >= time) exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_68"), "PLAIN DOWN"];};
_isOk = true; _isOk = true;
_counter = 0; _counter = 0;

View File

@@ -1,296 +0,0 @@
/*-----------------------------------*/
// by Raymix //
// July 10 2014 //
/*--------------------------------*/
private ["_object","_objectSnapGizmo","_objColorActive","_objColorInactive","_classname","_whitelist","_points","_radius","_cfg","_cnt","_pos","_findWhitelisted","_nearbyObject","_posNearby","_selectedAction","_newPos","_pointsNearby","_onWater","_waterBase"];
//Args
snapActionState = _this select 3 select 0;
_object = _this select 3 select 1;
_classname = _this select 3 select 2;
_objectHelper = _this select 3 select 3;
_selectedAction = _this select 3 select 4;
//Snap config file
_cfg = (configFile >> "SnapBuilding" >> _classname);
_whitelist = getArray (_cfg >> "snapTo");
_points = getArray (_cfg >> "points");
_radius = getNumber (_cfg >> "radius");
//colors
_objColorActive = "#(argb,8,8,3)color(0,0.92,0.06,1,ca)";
_objColorInactive = "#(argb,8,8,3)color(0.04,0.84,0.92,0.3,ca)";
fnc_snapActionCleanup = {
private ["_s1","_s2","_s3","_cnt"];
_s1 = _this select 0;
_s2 = _this select 1;
_s3 = _this select 2;
player removeAction s_player_toggleSnap; s_player_toggleSnap = -1;
player removeAction s_player_toggleSnapSelect; s_player_toggleSnapSelect = -1;
if (count s_player_toggleSnapSelectPoint != 0) then {{player removeAction _x;} count s_player_toggleSnapSelectPoint; s_player_toggleSnapSelectPoint=[]; snapActions = -1;};
if (_s1 > 0) then {
s_player_toggleSnap = player addaction [format[("<t color=""#ffffff"">" + ("Snap: %1") +"</t>"),snapActionState],"\z\addons\dayz_code\actions\snap_build.sqf",[snapActionState,_object,_classname,_objectHelper],6,false,true];
};
if (_s2 > 0) then {
s_player_toggleSnapSelect = player addaction [format[("<t color=""#ffffff"">" + ("Snap Point: %1") +"</t>"),snapActionStateSelect],"\z\addons\dayz_code\actions\snap_build.sqf",[snapActionStateSelect,_object,_classname,_objectHelper],5,false,true];
};
if (_s3 > 0) then {
s_player_toggleSnapSelectPoint=[];
_cnt = 0;
{snapActions = player addaction [format[("<t color=""#ffffff"">" + ("%1)Select: %2") +"</t>"),_cnt,_x select 3],"\z\addons\dayz_code\actions\snap_build.sqf",["Selected",_object,_classname,_objectHelper,_cnt],4,false,false];
s_player_toggleSnapSelectPoint set [count s_player_toggleSnapSelectPoint,snapActions];
_cnt = _cnt+1;
}count _points;
};
};
fnc_initSnapPoints = {
snapGizmos = [];
{
_objectSnapGizmo = "Sign_sphere10cm_EP1" createVehicleLocal [0,0,0];
_objectSnapGizmo setobjecttexture [0,_objColorInactive];
_objectSnapGizmo attachTo [_object,[_x select 0,_x select 1,_x select 2]];
snapGizmos set [count snapGizmos,_objectSnapGizmo];
} count _points;
};
fnc_initSnapPointsNearby = {
_pos = getPosATL _object;
_findWhitelisted = []; _pointsNearby = []; _waterBase = 0;
_onWater = surfaceIsWater position player;
if (_onWater) then { _waterBase = (getPosATL player select 2);};
_findWhitelisted = nearestObjects [_pos,_whitelist,(_radius + DZE_snapExtraRange + _waterBase)]-[_object];
snapGizmosNearby = [];
{
_nearbyObject = _x;
_pointsNearby = getArray (configFile >> "SnapBuilding" >> (typeOf _x) >> "points");
{
_onWater = surfaceIsWater position _nearbyObject;
_objectSnapGizmo = "Sign_sphere10cm_EP1" createVehicleLocal [0,0,0];
_objectSnapGizmo setobjecttexture [0,_objColorInactive];
_posNearby = _nearbyObject modelToWorld [_x select 0,_x select 1,_x select 2];
if (_onWater) then {
_objectSnapGizmo setPosASL [(_posNearby) select 0,(_posNearby) select 1,(getPosASL _nearbyObject select 2) + (_x select 2)];
} else {
_objectSnapGizmo setPosATL _posNearby;
};
_objectSnapGizmo setDir (getDir _nearbyObject);
snapGizmosNearby set [count snapGizmosNearby,_objectSnapGizmo];
} count _pointsNearby;
} forEach _findWhitelisted;
};
fnc_initSnapPointsCleanup = {
{detach _x;deleteVehicle _x;}count snapGizmos;snapGizmos=[];
{deleteVehicle _x;}count snapGizmosNearby;snapGizmosNearby=[];
snapActionState = "OFF";
};
fnc_snapDistanceCheck = {
while {snapActionState != "OFF"} do {
private ["_distClosestPointFound","_distCheck","_distClosest","_distClosestPoint","_testXPos","_testXDir","_distClosestPointFoundPos","_distClosestPointFoundDir","_distClosestAttached","_distCheckAttached","_distClosestAttachedFoundPos"];
_distClosestPointFound = objNull; _distCheck = 0; _distClosest = 10; _distClosestPoint = objNull; _testXPos = []; _distClosestPointFoundPos =[]; _distClosestPointFoundDir = 0;
{
if (_x !=_distClosestPointFound) then {_x setobjecttexture [0,_objColorInactive];};
_onWater = surfaceIsWater position _x;
if (_onWater) then {
_testXPos = [(getPosASL _x select 0),(getPosASL _x select 1),(getPosASL _x select 2)];
} else {
_testXPos = [(getPosATL _x select 0),(getPosATL _x select 1),(getPosATL _x select 2)];
};
_distCheck = _objectHelper distance _testXPos;
_distClosestPoint = _x;
if (_distCheck < _distClosest) then {
_distClosest = _distCheck;
_distClosestPointFound setobjecttexture [0,_objColorInactive];
_distClosestPointFound = _x;
_distClosestPointFound setobjecttexture [0,_objColorActive];
};
} count snapGizmosNearby;
if (!isNull _distClosestPointFound) then {
if (snapActionStateSelect == "Manual") then {
if (helperDetach) then {
_onWater = surfaceIsWater position _distClosestPointFound;
_distClosestPointFoundDir = getDir _distClosestPointFound;
if (_onWater) then {
_distClosestPointFoundPos = getPosASL _distClosestPointFound;
_objectHelper setPosASL _distClosestPointFoundPos;
} else {
_distClosestPointFoundPos = getPosATL _distClosestPointFound;
_objectHelper setPosATL _distClosestPointFoundPos;
};
_objectHelper setDir _distClosestPointFoundDir;
waitUntil {sleep 0.1; !helperDetach};
};
} else {
_distClosestAttached = objNull; _distCheckAttached = 0; _distClosest = 10; _distClosestAttachedFoundPos = [];
{
if (_x !=_distClosestAttached) then {_x setobjecttexture [0,_objColorInactive];};
_onWater = surfaceIsWater position _x;
if (_onWater) then {
_testXPos = [(getPosASL _x select 0),(getPosASL _x select 1),(getPosASL _x select 2)];
} else {
_testXPos = [(getPosATL _x select 0),(getPosATL _x select 1),(getPosATL _x select 2)];
};
_distCheckAttached = _distClosestPointFound distance _testXPos;
_distClosestPoint = _x;
if (_distCheckAttached < _distClosest) then {
_distClosest = _distCheckAttached;
_distClosestAttached setobjecttexture [0,_objColorInactive];
_distClosestAttached = _x;
_distClosestAttached setobjecttexture [0,_objColorActive];
};
} count snapGizmos;
if (helperDetach) then {
_distClosestPointFoundDir = getDir _distClosestPointFound;
_onWater = surfaceIsWater position _distClosestPointFound;
if (_onWater) then {
_distClosestPointFoundPos = getPosASL _distClosestPointFound;
_distClosestAttachedFoundPos = getPosASL _distClosestAttached;
detach _object;
_objectHelper setPosASL _distClosestAttachedFoundPos;
_object attachTo [_objectHelper];
_objectHelper setPosASL _distClosestPointFoundPos;
} else {
_distClosestPointFoundPos = getPosATL _distClosestPointFound;
_distClosestAttachedFoundPos = getPosATL _distClosestAttached;
detach _object;
_objectHelper setPosATL _distClosestAttachedFoundPos;
_object attachTo [_objectHelper];
_objectHelper setPosATL _distClosestPointFoundPos;
};
_objectHelper setDir _distClosestPointFoundDir;
waitUntil {sleep 0.1; !helperDetach};
};
};
};
sleep 0.1;
};
};
fnc_initSnapTutorial = {
/*
Shows help dialog for player ONCE per log in, explaining controls.
Add snapTutorial = false; to your init.sqf to disable this tutorial completely.
You can also add this bool to the end of this function to only show tutorial once per player login (not recommended)
*/
private ["_bldTxtSwitch","_bldTxtEnable","_bldTxtClrO","_bldTxtClrW","_bldTxtClrR","_bldTxtClrG","_bldTxtSz","_bldTxtSzT","_bldTxtShdw","_bldTxtAlgnL","_bldTxtUndrln","_bldTxtBold","_bldTxtFinal","_bldTxtStringTitle","_bldTxtStringSD","_bldTxtStringSE","_bldTxtStringSA","_bldTxtStringSM","_bldTxtStringPG","_bldTxtStringAPG","_bldTxtStringCPG","_bldTxtStringQE","_bldTxtStringQEF","_bldTxtStringFD","_bldTxtStringFS"];
if (isNil "snapTutorial") then {
_bldTxtSwitch = _this select 0;
_bldTxtEnable = _this select 1;
_bldTxtClrO = "color='#ff8800'"; //orange
_bldTxtClrW = "color='#ffffff'"; //white
_bldTxtClrR = "color='#fd0a05'"; //red
_bldTxtClrG = "color='#11ef00'"; //green
_bldTxtSz = "size='0.76'"; //Title font size
_bldTxtSzT = "size='0.4'"; //Text font size
_bldTxtShdw = "shadow='1'"; //Font shadow
_bldTxtAlgnL = "align='left'"; //Text align left
_bldTxtUndrln = "underline='true'";
_bldTxtBold = "font='Zeppelin33'"; //Bold text
_bldTxtFinal = "";
//Delete on init
800 cutRsc ["Default", "PLAIN"];
sleep 0.1;
//Init Tutorial text
if (_bldTxtEnable) then {
_bldTxtStringTitle = format ["<t %1%2%3%4%6>Epoch<t %5%7> Snap Building</t></t><br />",_bldTxtClrW,_bldTxtSz,_bldTxtShdw,_bldTxtAlgnL,_bldTxtClrO,_bldTxtUndrln,_bldTxtBold];
_bldTxtStringSD = format["<t %1%4%5%6>[Snap]<t %2> Disabled:</t> <t %3>use action menu to enable.</t></t><br /><br />",_bldTxtClrO,_bldTxtClrR,_bldTxtClrW,_bldTxtSzT,_bldTxtShdw,_bldTxtAlgnL];
_bldTxtStringSE = format["<t %1%4%5%6>[Snap]<t %2> Enabled:</t> <t %3>use action menu to disable.</t></t><br /><br />",_bldTxtClrO,_bldTxtClrG,_bldTxtClrW,_bldTxtSzT,_bldTxtShdw,_bldTxtAlgnL];
_bldTxtStringSA = format["<t %1%3%4%5>[Auto]<t %2>: Automatic snap point detection.</t></t><br /><br />",_bldTxtClrO,_bldTxtClrW,_bldTxtSzT,_bldTxtShdw,_bldTxtAlgnL];
_bldTxtStringSM = format["<t %1%3%4%5>[Manual]<t %2>: Select your preferred snap point.</t></t><br /><br />",_bldTxtClrO,_bldTxtClrW,_bldTxtSzT,_bldTxtShdw,_bldTxtAlgnL];
_bldTxtStringPG = format["<t %1%3%4%5>[PgUP / PgDOWN]<t %2>: Adjust height of object by 10cm</t></t><br />",_bldTxtClrO,_bldTxtClrW,_bldTxtSzT,_bldTxtShdw,_bldTxtAlgnL];
_bldTxtStringAPG = format["<t %1%3%4%5>[Alt]+[PgUP / PgDOWN]<t %2>: Adjust height of object by 1m</t></t><br />",_bldTxtClrO,_bldTxtClrW,_bldTxtSzT,_bldTxtShdw,_bldTxtAlgnL];
_bldTxtStringCPG = format["<t %1%3%4%5>[Ctrl]+[PgUP / PgDOWN]<t %2>: Adjust height of object by 1cm</t></t><br />",_bldTxtClrO,_bldTxtClrW,_bldTxtSzT,_bldTxtShdw,_bldTxtAlgnL];
_bldTxtStringQE = format["<t %1%3%4%5>[Q / E]<t %2>: Rotate object 180 degrees while holding.</t></t><br />",_bldTxtClrO,_bldTxtClrW,_bldTxtSzT,_bldTxtShdw,_bldTxtAlgnL];
_bldTxtStringQEF = format["<t %1%3%4%5>[Q / E]<t %2>: Rotate object 45 degrees while dropped or snapped.</t></t><br /><br />",_bldTxtClrO,_bldTxtClrW,_bldTxtSzT,_bldTxtShdw,_bldTxtAlgnL];
_bldTxtStringFD = format["<t %1%3%4%5>[F]<t %2>: Drop / Pick up object.</t></t><br />",_bldTxtClrO,_bldTxtClrW,_bldTxtSzT,_bldTxtShdw,_bldTxtAlgnL];
_bldTxtStringFS = format["<t %1%3%4%5>[F]<t %2>: Snap /Pick up object.</t></t><br />",_bldTxtClrO,_bldTxtClrW,_bldTxtSzT,_bldTxtShdw,_bldTxtAlgnL];
switch (_bldTxtSwitch) do {
case "init": {
_bldTxtFinal = _bldTxtStringTitle + _bldTxtStringSD + _bldTxtStringPG + _bldTxtStringAPG + _bldTxtStringCPG + _bldTxtStringQE + _bldTxtStringQEF + _bldTxtStringFD;
};
case "OnAuto": {
_bldTxtFinal = _bldTxtStringTitle + _bldTxtStringSE + _bldTxtStringSA + _bldTxtStringPG + _bldTxtStringAPG + _bldTxtStringCPG + _bldTxtStringQE + _bldTxtStringQEF + _bldTxtStringFS;
};
case "manual": {
_bldTxtFinal = _bldTxtStringTitle + _bldTxtStringSE + _bldTxtStringSM + _bldTxtStringPG + _bldTxtStringAPG + _bldTxtStringCPG + _bldTxtStringQE + _bldTxtStringQEF + _bldTxtStringFS;
};
};
[
_bldTxtFinal, //structured text
0.73 * safezoneW + safezoneX, //number - x
0.65 * safezoneH + safezoneY, //number - y
30, //number - duration
1, // number - fade in time
0, // number - delta y
800 //number - layer ID
] spawn bis_fnc_dynamicText;
};
};
};
switch (snapActionState) do {
case "Init": {
["init",true] call fnc_initSnapTutorial;
snapActionState = "OFF";
[1,0,0] call fnc_snapActionCleanup;
[] spawn {
while {true} do {
if(!DZE_ActionInProgress || DZE_cancelBuilding) exitWith {call fnc_initSnapPointsCleanup;[0,0,0] call fnc_snapActionCleanup; ["",false] call fnc_initSnapTutorial; snapActionState = "OFF";};
sleep 2;
};
};
};
case "OFF": {
["OnAuto",true] call fnc_initSnapTutorial;
snapActionState = "ON"; snapActionStateSelect = "Auto";
[1,1,0] call fnc_snapActionCleanup;
call fnc_initSnapPoints;
call fnc_initSnapPointsNearby;
sleep 0.25;
call fnc_snapDistanceCheck;
};
case "ON": {
["init",true] call fnc_initSnapTutorial;
snapActionState = "OFF";
[1,0,0] call fnc_snapActionCleanup;
call fnc_initSnapPointsCleanup;
};
case "Auto": {
["manual",true] call fnc_initSnapTutorial;
snapActionState = "ON";snapActionStateSelect = "Manual";
[1,1,1] call fnc_snapActionCleanup;
};
case "Manual": {
["OnAuto",true] call fnc_initSnapTutorial;
snapActionState = "ON";snapActionStateSelect = "Auto";
[1,1,0] call fnc_snapActionCleanup;
};
case "Selected": { _cnt = 0; _newPos = [];
{
_x setobjecttexture [0,_objColorInactive];
if (_cnt == _selectedAction) then {
_newPos = [(getPosATL _x select 0),(getPosATL _x select 1),(getPosATL _x select 2)];
detach _object;
detach _objectHelper;
_objectHelper setPosATL _newPos;
_object attachTo [_objectHelper];
_x setobjecttexture [0,_objColorActive];
if (!helperDetach) then {_objectHelper attachTo [player];};
};
_cnt = _cnt+1;
}count snapGizmos;
};
};

View File

@@ -4,7 +4,7 @@ private ["_part_out","_part_in","_qty_out","_qty_in","_textPartIn","_textPartOut
if(DZE_ActionInProgress) exitWith { cutText [(localize "str_epoch_player_103") , "PLAIN DOWN"]; }; if(DZE_ActionInProgress) exitWith { cutText [(localize "str_epoch_player_103") , "PLAIN DOWN"]; };
DZE_ActionInProgress = true; DZE_ActionInProgress = true;
//_activatingPlayer = [player] call FNC_GetPlayerUID; //_activatingPlayer = getPlayerUID player;
_part_out = (_this select 3) select 0; _part_out = (_this select 3) select 0;
_part_in = (_this select 3) select 1; _part_in = (_this select 3) select 1;

View File

@@ -40,7 +40,7 @@ if(_buy_o_sell == "sell") then {
} else { } else {
// buying item type must NOT exist if rifle || pistol // buying item type must NOT exist if rifle || pistol
_msg = "Drop or sell your current weapon before you can buy a new one."; _msg = "Drop || sell your current weapon before you can buy a new one.";
_config = (configFile >> "CfgWeapons" >> _part_out); _config = (configFile >> "CfgWeapons" >> _part_out);
_configName = configName(_config); _configName = configName(_config);
_wepType = getNumber(_config >> "Type"); _wepType = getNumber(_config >> "Type");
@@ -64,7 +64,7 @@ if(_buy_o_sell == "sell") then {
}; };
if(_isToolBelt || _isBinocs) then { if(_isToolBelt || _isBinocs) then {
_abort = (_configName in (weapons player)); _abort = (_configName in (weapons player));
_msg = "Drop or sell your current toolbelt item before you can buy a new one."; _msg = "Drop || sell your current toolbelt item before you can buy a new one.";
}; };
}; };

View File

@@ -41,5 +41,5 @@ _hasItems = true;
_textMissing = getText(configFile >> "CfgMagazines" >> _missing >> "displayName"); _textMissing = getText(configFile >> "CfgMagazines" >> _missing >> "displayName");
cutText [format[(localize "STR_EPOCH_ACTIONS_12"), _missingQty, _textMissing], "PLAIN DOWN"]; cutText [format[(localize "STR_EPOCH_ACTIONS_12"), _missingQty, _textMissing], "PLAIN DOWN"];
}; };
} forEach _items; } count _items;
_hasItems _hasItems

View File

@@ -76,7 +76,7 @@ if (_inVehicle) then {
if (!isNull _menClose && _hasPatient && !r_drag_sqf && !r_action && !_inVehicle && !r_player_unconscious && _isClose) then { if (!isNull _menClose && _hasPatient && !r_drag_sqf && !r_action && !_inVehicle && !r_player_unconscious && _isClose) then {
_unit = cursorTarget; _unit = cursorTarget;
_isDisallowRefuel = typeOf _unit in ["M240Nest_DZ","MMT_Civ","MMT_USMC","Old_bike_TK_CIV_EP1","Old_bike_TK_INS_EP1"]; _isDisallowRefuel = typeOf _unit in ["M240Nest_DZ"];
// player reveal _unit; // player reveal _unit;
_vehClose = (getPosATL player) nearEntities [["Car","Tank","Helicopter","Plane","StaticWeapon","Ship"],5]; //nearestObjects [player, ["Car","Tank","Helicopter","Plane","StaticWeapon","Ship"], 5]; _vehClose = (getPosATL player) nearEntities [["Car","Tank","Helicopter","Plane","StaticWeapon","Ship"],5]; //nearestObjects [player, ["Car","Tank","Helicopter","Plane","StaticWeapon","Ship"], 5];
_hasVehicle = ({alive _x} count _vehClose > 0); _hasVehicle = ({alive _x} count _vehClose > 0);

View File

@@ -1,4 +1,4 @@
private ["_cTarget","_isOk","_Dis","_display","_inVehicle"]; private ["_cTarget","_isOk","_display","_inVehicle"];
disableSerialization; disableSerialization;
_display = (_this select 0); _display = (_this select 0);
_inVehicle = (vehicle player) != player; _inVehicle = (vehicle player) != player;
@@ -13,8 +13,8 @@ _isOk = false;
_isOk = _cTarget isKindOf _x; _isOk = _cTarget isKindOf _x;
}; };
} count ["LandVehicle","Air", "Ship"]; } count ["LandVehicle","Air", "Ship"];
_Dis = if (_cTarget isKindOf "USEC_ch53_E") then {25;} else {12;};
if((locked _cTarget) && _isOk && (((vehicle player) distance _cTarget) < _Dis)) then { if((locked _cTarget) && _isOk && (((vehicle player) distance _cTarget) < 12)) then {
cutText [(localize "str_epoch_player_7") , "PLAIN DOWN"]; cutText [(localize "str_epoch_player_7") , "PLAIN DOWN"];
_display closeDisplay 1; _display closeDisplay 1;
}; };

View File

@@ -866,10 +866,6 @@ if (!isNull cursorTarget && !_inVehicle && !_isPZombie && (player distance curso
s_player_SurrenderedGear = -1; s_player_SurrenderedGear = -1;
//Others //Others
player removeAction s_player_maintain_area;
s_player_maintain_area = -1;
player removeAction s_player_maintain_area_preview;
s_player_maintain_area_preview = -1;
player removeAction s_player_forceSave; player removeAction s_player_forceSave;
s_player_forceSave = -1; s_player_forceSave = -1;
player removeAction s_player_flipveh; player removeAction s_player_flipveh;

View File

@@ -11,9 +11,7 @@ if ((!r_player_handler1) && (r_handlerCount == 0)) then {
_timeout = 0; _timeout = 0;
r_handlerCount = r_handlerCount + 1; r_handlerCount = r_handlerCount + 1;
r_player_handler1 = true; r_player_handler1 = true;
if (vehicle player == player) then {
player playAction "CanNotMove"; player playAction "CanNotMove";
};
"dynamicBlur" ppEffectEnable true;"dynamicBlur" ppEffectAdjust [2]; "dynamicBlur" ppEffectCommit 0; "dynamicBlur" ppEffectEnable true;"dynamicBlur" ppEffectAdjust [2]; "dynamicBlur" ppEffectCommit 0;
"colorCorrections" ppEffectEnable true;"colorCorrections" ppEffectEnable true;"colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 0.1], [1, 1, 1, 0.0]];"colorCorrections" ppEffectCommit 0; "colorCorrections" ppEffectEnable true;"colorCorrections" ppEffectEnable true;"colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 0.1], [1, 1, 1, 0.0]];"colorCorrections" ppEffectCommit 0;
0 fadeSound 0.05; 0 fadeSound 0.05;

View File

@@ -137,7 +137,7 @@ if(isServer)then{
}; };
}; };
sleep 0.001; sleep 0.001;
} forEach _missonLights; } count _missonLights;
if (_delQtyLights > 0) then { if (_delQtyLights > 0) then {
_qty = count _missonLights; _qty = count _missonLights;
diag_log (format["CLEANUP: Deleted %1 Lights out of %2",_delQtyLights,_qty]); diag_log (format["CLEANUP: Deleted %1 Lights out of %2",_delQtyLights,_qty]);

View File

@@ -1,45 +1,51 @@
private ["_animalssupported","_type","_agent","_favouritezones","_randrefpoint","_PosList","_PosSelect","_Pos","_list"];
_list = (getposATL player) nearEntities [["CAAnimalBase"],dayz_animalDistance]; private ["_list","_animalssupported","_type","_root","_favouritezones","_randrefpoint","_PosList","_PosSelect","_Pos","_agent","_id"];
if ((count _list) < dayz_maxAnimals) then { _list = getposATL player nearEntities [["CAAnimalBase"],dayz_animalDistance];
if (count _list < dayz_maxAnimals) then {
//Find where animal likes
_animalssupported = ["Chicken","Cow","Sheep","WildBoar","WildBoar","WildBoar","Goat","Rabbit","Rabbit","Dog"]; _animalssupported = ["Chicken","Cow","Sheep","WildBoar","WildBoar","WildBoar","Goat","Rabbit","Rabbit","Dog"];
_type = (_animalssupported select (floor(random(count _animalssupported))));
Switch (_type) do { _type = (_animalssupported select floor(random(count _animalssupported)));
case "Cow" : { if (_type == "Cow") then {
_animalssupported = ["Cow01","Cow02","Cow03","Cow04","Cow01_EP1"]; _animalssupported = ["Cow01","Cow02","Cow03","Cow04","Cow01_EP1"];
_type = (_animalssupported select (floor(random(count _animalssupported)))); _type = (_animalssupported select floor(random(count _animalssupported)));
}; };
case "Goat" : { if (_type == "Goat") then {
_animalssupported = ["Goat01_EP1","Goat02_EP1","Goat"]; _animalssupported = ["Goat01_EP1","Goat02_EP1","Goat"];
_type = (_animalssupported select (floor(random(count _animalssupported)))); _type = (_animalssupported select floor(random(count _animalssupported)));
}; };
case "Sheep" : { if (_type == "Sheep") then {
_animalssupported = ["Sheep","Sheep02_EP1","Sheep01_EP1"]; _animalssupported = ["Sheep","Sheep02_EP1","Sheep01_EP1"];
_type = (_animalssupported select (floor(random(count _animalssupported)))); _type = (_animalssupported select floor(random(count _animalssupported)));
}; };
case "Chicken" : { if (_type == "Chicken") then {
_animalssupported = ["Hen","Cock"]; _animalssupported = ["Hen","Cock"];
_type = (_animalssupported select (floor(random(count _animalssupported)))); _type = (_animalssupported select floor(random(count _animalssupported)));
}; };
case "Dog" : { if (_type == "Dog") then {
_animalssupported = ["DZ_Fin","DZ_Pastor"]; _animalssupported = ["DZ_Fin","DZ_Pastor"];
_type = (_animalssupported select (floor(random(count _animalssupported)))); _type = (_animalssupported select floor(random(count _animalssupported)));
}; };
};
_favouritezones = getText (configFile >> "CfgVehicles" >> _type >> "favouritezones"); _root = configFile >> "CfgVehicles" >> _type;
_favouritezones = getText ( _root >> "favouritezones");
//_randrefpoint = [position player, 10, dayz_animalDistance, 1, 0, 50, 0] call BIS_fnc_findSafePos;
_randrefpoint = getposATL player; _randrefpoint = getposATL player;
_PosList = selectBestPlaces [_randrefpoint,dayz_animalDistance,_favouritezones,10,5]; _PosList = selectbestplaces [_randrefpoint,dayz_animalDistance,_favouritezones,10,5];
_PosSelect = _PosList select (floor(random(count _PosList))); _PosSelect = _PosList select (floor random (count _PosList));
_Pos = _PosSelect select 0; _Pos = _PosSelect select 0;
_list = _Pos nearEntities [["CAAnimalBase","Man"],50]; _list = _Pos nearEntities [["CAAnimalBase","Man"],50];
if (((player distance _Pos) < dayz_animalDistance) && {!(surfaceIsWater _Pos)} && {(count _list) <= 1}) then { if (player distance _Pos < dayz_animalDistance && NOT surfaceIsWater _Pos && (count _list <= 1)) then {
if (_type == "DZ_Pastor") then { _agent = createAgent [_type, _Pos, [], 0, "NONE"]; } else { _agent = createAgent [_type, _Pos, [], 0, "FORM"]; }; if (_type == "DZ_Pastor") then { _agent = createAgent [_type, _Pos, [], 0, "NONE"]; } else { _agent = createAgent [_type, _Pos, [], 0, "FORM"]; };
sleep 0.001; _agent setpos _Pos;
_agent setPos _Pos;
_id = [_pos,_agent] execFSM "\z\addons\dayz_code\system\animal_agent.fsm";
PVDZE_zed_Spawn = [_agent]; PVDZE_zed_Spawn = [_agent];
publicVariableServer "PVDZE_zed_Spawn"; publicVariableServer "PVDZE_zed_Spawn";
_id = [_pos,_agent] execFSM "\z\addons\dayz_code\system\animal_agent.fsm";
}; };
sleep 1; sleep 1;
}; };

View File

@@ -12,7 +12,7 @@ if (dialog) then {closeDialog 0;};
if (visibleMap) then {openMap false;}; if (visibleMap) then {openMap false;};
_body = player; _body = player;
_playerID = [player] call FNC_GetPlayerUID; _playerID = getPlayerUID player;
disableUserInput true; disableUserInput true;
//add weapon on back to player... //add weapon on back to player...

View File

@@ -22,7 +22,7 @@ EpochDeathBoardLoad = {
];*/ ];*/
{ {
lbAdd [EpochDeathBoardDialogList, (_x select 0)]; lbAdd [EpochDeathBoardDialogList, (_x select 0)];
} forEach PVDZE_plr_DeathBResult; } count PVDZE_plr_DeathBResult;
}; };
@@ -34,7 +34,7 @@ EpochDeathBoardClick = {
"What happens if you get scared half to death, twice?", "What happens if you get scared half to death, twice?",
"Don't upset me.. I'm running out of places to hide the bodies.", "Don't upset me.. I'm running out of places to hide the bodies.",
"Don't run, you'll just die tired.", "Don't run, you'll just die tired.",
"Give me immortality or give me death.", "Give me immortality || give me death.",
"I can't live with death; he's always leaving the toilet seat up.", "I can't live with death; he's always leaving the toilet seat up.",
"Why won't you die?!?!", "Why won't you die?!?!",
"Guns don't kill people; death kills people. It's a proven medical fact." "Guns don't kill people; death kills people. It's a proven medical fact."
@@ -77,7 +77,5 @@ EpochDeathBoardClick = {
_record_stxt = format["%1<t font='Bitstream'>%2</t>", _record_stxt, (_quotes call BIS_fnc_selectRandom)]; _record_stxt = format["%1<t font='Bitstream'>%2</t>", _record_stxt, (_quotes call BIS_fnc_selectRandom)];
call compile format["epoch_death_board_record_%1 = ""%2"";" ,_i , _record_stxt]; call compile format["epoch_death_board_record_%1 = ""%2"";" ,_i , _record_stxt];
}; };
if (!isNil "_record_stxt") then { _output ctrlSetStructuredText parseText _record_stxt;
_output ctrlSetStructuredText (parseText _record_stxt);
};
}; };

View File

@@ -150,4 +150,4 @@ if (_nearbyCount < 1) exitwith
}; };
}; };
}; };
} forEach _nearby; } count _nearby;

View File

@@ -1,11 +1,11 @@
private ["_weapons","_backpackWpn","_backpackMag","_currentWpn","_isWeapon","_backpackWpnTypes","_backpackWpnQtys","_countr","_class","_position","_dir","_currentAnim","_tagSetting","_playerUID","_countMags","_magazines","_primweapon","_secweapon","_newBackpackType","_muzzles","_oldUnit","_group","_newUnit","_playerObjName","_wpnType","_ismelee"]; private ["_weapons","_backpackWpn","_backpackMag","_currentWpn","_backpackWpnTypes","_backpackWpnQtys","_countr","_class","_position","_dir","_currentAnim","_tagSetting","_playerUID","_countMags","_magazines","_primweapon","_secweapon","_newBackpackType","_muzzles","_oldUnit","_group","_newUnit","_playerObjName","_wpnType","_ismelee"];
if (gear_done) then {disableUserInput true;};
_class = _this; _class = _this;
_position = getPosATL player; _position = getPosATL player;
_dir = getDir player; _dir = getDir player;
_currentAnim = animationState player; _currentAnim = animationState player;
_tagSetting = player getVariable["DZE_display_name",false]; _tagSetting = player getVariable["DZE_display_name",false];
_playerUID = [player] call FNC_GetPlayerUID; _playerUID = getPlayerUID player;
_weapons = weapons player; _weapons = weapons player;
_countMags = call player_countMagazines; _countMags = call player_countMagazines;
_magazines = _countMags select 0; _magazines = _countMags select 0;
@@ -16,11 +16,11 @@ _primweapon = primaryWeapon player;
_secweapon = secondaryWeapon player; _secweapon = secondaryWeapon player;
if(!(_primweapon in _weapons) && _primweapon != "") then { if(!(_primweapon in _weapons) && _primweapon != "") then {
_weapons set [(count _weapons), _primweapon]; _weapons = _weapons + [_primweapon];
}; };
if(!(_secweapon in _weapons) && _secweapon != "") then { if(!(_secweapon in _weapons) && _secweapon != "") then {
_weapons set [(count _weapons), _secweapon]; _weapons = _weapons + [_secweapon];
}; };
//BackUp Backpack //BackUp Backpack
@@ -127,16 +127,10 @@ if (!isNil "_newBackpackType") then {
[] call _switchUnit; [] call _switchUnit;
if (gear_done) then {sleep 0.001;}; if (gear_done) then {sleep 0.001;};
["1"] call gearDialog_create; ["1"] call gearDialog_create;
if (gear_done) then {sleep 0.001;};
//magazines //magazines
_countr = 0; _countr = 0;
{ {
if ((typeName _x) != "STRING") then { if (!(isClass(configFile >> "CfgWeapons" >> _x))) then {
_isWeapon = (isClass(configFile >> "CfgWeapons" >> (_x select 0)));
} else {
_isWeapon = (isClass(configFile >> "CfgWeapons" >> _x));
};
if (!_isWeapon) then {
_countr = _countr + 1; _countr = _countr + 1;
if ((typeName _x) != "STRING") then { if ((typeName _x) != "STRING") then {
(unitBackpack player) addMagazineCargoGlobal [(_x select 0), 1]; (unitBackpack player) addMagazineCargoGlobal [(_x select 0), 1];
@@ -148,7 +142,6 @@ if (!isNil "_newBackpackType") then {
}; };
} count _backpackMag; } count _backpackMag;
(findDisplay 106) closeDisplay 0; (findDisplay 106) closeDisplay 0;
if (gear_done) then {sleep 0.001; disableUserInput false;};
_countr = 0; _countr = 0;
{ {
(unitBackpack player) addWeaponCargoGlobal [_x,(_backpackWpnQtys select _countr)]; (unitBackpack player) addWeaponCargoGlobal [_x,(_backpackWpnQtys select _countr)];
@@ -158,14 +151,24 @@ if (!isNil "_newBackpackType") then {
} else { [] call _switchUnit; }; } else { [] call _switchUnit; };
[objNull, player, rSwitchMove,_currentAnim] call RE; [objNull, player, rSwitchMove,_currentAnim] call RE;
player disableConversation true; player disableConversation true;
//player setVariable ["bodyName",dayz_playerName,true]; //Outcommit (Issue #991) - Also removed in DayZ Mod 1.8
if (_tagSetting) then { if (_tagSetting) then {
DZE_ForceNameTags = true; DZE_ForceNameTags = true;
}; };
_playerUID = getPlayerUID player;
_playerObjName = format["PVDZE_player%1",_playerUID];
call compile format["%1 = player;",_playerObjName];
publicVariableServer _playerObjName; //Outcommit in DayZ 1.8 No clue for what this is - Skaronator
//melee check
_wpnType = primaryWeapon player; _wpnType = primaryWeapon player;
_ismelee = (gettext (configFile >> "CfgWeapons" >> _wpnType >> "melee")); _ismelee = (gettext (configFile >> "CfgWeapons" >> _wpnType >> "melee"));
if (_ismelee == "true") then { if (_ismelee == "true") then {
call dayz_meleeMagazineCheck; call dayz_meleeMagazineCheck;
}; };
//reveal the same objects we do on login
{player reveal _x} count (nearestObjects [getPosATL player, dayz_reveal, 50]); {player reveal _x} count (nearestObjects [getPosATL player, dayz_reveal, 50]);

View File

@@ -39,7 +39,7 @@ if ((_ownerID == dayz_combination) || (_ownerID == dayz_playerUID)) then {
// Check if any players are nearby if not allow player to claim item. // Check if any players are nearby if not allow player to claim item.
_playerNear = {isPlayer _x} count (player nearEntities ["CAManBase", 6]) > 1; _playerNear = {isPlayer _x} count (player nearEntities ["CAManBase", 6]) > 1;
_playerID = [player] call FNC_GetPlayerUID; _playerID = getPlayerUID player;
// Only allow if not already claimed. // Only allow if not already claimed.
if (_claimedBy == "0" || !_playerNear) then { if (_claimedBy == "0" || !_playerNear) then {

View File

@@ -1,139 +1,6 @@
private ["_display","_ctrlBlood","_ctrlBleed","_bloodVal","_humanityName","_ctrlFood","_ctrlThirst","_thirstVal","_foodVal","_ctrlTemp","_tempVal","_combatVal","_array","_ctrlEar","_ctrlEye","_ctrlCombat","_ctrlFracture","_visualText","_visual","_audibleText","_audible","_blood","_thirstLvl","_foodLvl","_tempImg","_thirst","_food","_temp","_bloodLvl","_tempLvl","_color","_string","_humanity","_size","_friendlies","_charID","_rcharID","_rfriendlies","_rfriendlyTo","_distance","_targetControl","_combattimeout","_timeleft"]; private ["_display","_ctrlBlood","_ctrlBleed","_bloodVal","_humanityName","_ctrlFood","_ctrlThirst","_thirstVal","_foodVal","_ctrlTemp","_tempVal","_combatVal","_array","_ctrlEar","_ctrlEye","_ctrlCombat","_ctrlFracture","_visualText","_visual","_audibleText","_audible","_blood","_thirstLvl","_foodLvl","_tempImg","_thirst","_food","_temp","_bloodLvl","_tempLvl","_color","_string","_humanity","_size","_friendlies","_charID","_rcharID","_rfriendlies","_rfriendlyTo","_distance","_targetControl"];
disableSerialization; disableSerialization;
if(Dayz_Dark_UI) then {
_foodVal = (dayz_hunger / SleepFood);
_thirstVal = (dayz_thirst / SleepWater);
if (uiNamespace getVariable ["DZ_displayUI", 0] == 1) exitWith {
_array = [_foodVal,_thirstVal];
_array
};
if(dayz_combat == 1) then {
_combattimeout = player getVariable["combattimeout",0];
_timeleft = _combattimeout - time;
_combatVal = (_timeleft/30);
}
else {
_combatVal = 0;
};
_tempVal = ((dayz_temperatur - dayz_temperaturmin)/(dayz_temperaturmax - dayz_temperaturmin)); // Normalise to [0,1]
_audible = (dayz_disAudial / 50);
_visual = (dayz_disVisual / 100);
_bloodVal = r_player_blood / r_player_bloodTotal;
_display = uiNamespace getVariable 'DAYZ_GUI_display';
_ctrlBlood = _display displayCtrl 1300;
_ctrlBleed = _display displayCtrl 1303;
_ctrlFood = _display displayCtrl 1301;
_ctrlThirst = _display displayCtrl 1302;
_ctrlTemp = _display displayCtrl 1306; //TeeChange
_ctrlEar = _display displayCtrl 1304;
_ctrlEye = _display displayCtrl 1305;
//_ctrlHumanity = _display displayCtrl 1207;
_ctrlCombat = _display displayCtrl 1307;
_ctrlFracture = _display displayCtrl 1203;
//Food/Water/Blood
_ctrlBlood ctrlSetTextColor [(1 - _bloodVal),(1 - _bloodVal),(1 - _bloodVal), 0.5];
_ctrlFood ctrlSetTextColor [ _foodVal,_foodVal,_foodVal, 0.5];
_ctrlThirst ctrlSetTextColor [ _thirstVal, _thirstVal, _thirstVal, 0.5];
_ctrlTemp ctrlSetTextColor [(1 - _tempVal),(1 - _tempVal), (1 - _tempVal), 0.5]; // Color ranges from iceblue (cold) to red (hot)
_ctrlCombat ctrlSetTextColor [ _combatVal, _combatVal, _combatVal, 0.5];
_ctrlEye ctrlSetTextColor [ _visual, _visual, _visual, 0.5];
_ctrlEar ctrlSetTextColor [ _audible, _audible, _audible, 0.5];
/*
Blood: round((r_player_blood / 2) / 1000) = _bloodLvl (6 = full, 1 = empty)
Thirst: round(_thirstVal / 0.25) = _thirstLvl (4 = full, 0 = empty)
Hunger: round(_foodVal / 0.25) = _foodLvl (4 = full, 0 = empty)
Temp: round(dayz_temperatur) = tempLvl (>= 36 = full <= 28 = empty)
*/
/*
diag_log format["DEBUG: bloodlvl: %1 r_player_blood: %2 bloodval: %3",_bloodLvl, r_player_blood, _bloodVal];
diag_log format["DEBUG: thirstlvl: %1 dayz_thirst: %2 thirstval: %3",_thirstLvl, dayz_thirst, _thirstVal];
diag_log format["DEBUG: foodlvl: %1 dayz_hunger: %2 foodval: %3",_foodLvl, dayz_hunger, _foodVal];
diag_log format["DEBUG: templvl: %1 dayz_temperatur: %2 tempval: %3",_tempLvl, dayz_temperatur, _tempVal];
*/
//left naming conventions the same in case other files are re-introduced at a later time
_blood = "\z\addons\dayz_code\gui\status_blood_inside_6_ca.paa";
_thirst = "\z\addons\dayz_code\gui\status_thirst_inside_4_ca.paa";
_food = "\z\addons\dayz_code\gui\status_food_inside_4_ca.paa";
_temp = "\z\addons\dayz_code\gui\status_temp_4_ca.paa";
_visualtext = "\z\addons\dayz_code\gui\status_eye_ca.paa";
_audibletext = "\z\addons\dayz_code\gui\status_ear_ca.paa";
_ctrlBlood ctrlSetText _blood;
_ctrlThirst ctrlSetText _thirst;
_ctrlFood ctrlSetText _food;
_ctrlTemp ctrlSetText _temp;
_ctrlEye ctrlSetText _visualtext;
_ctrlEar ctrlSetText _audibletext;
/*
Fracture:
*/
if (!canStand player) then {
if (!(ctrlShown _ctrlFracture)) then {
r_fracture_legs = true;
_ctrlFracture ctrlShow true;
};
};
/*
Flashing:
*/
_ctrl_Array=[];
if (_combatVal > 0) then {
_ctrl_Array=_ctrl_Array + [_ctrlCombat];
}else {
_ctrlCombat ctrlShow true;
};
if (_bloodVal < 0.4) then {
_ctrl_Array=_ctrl_Array + [_ctrlBlood];
}else {
_ctrlBlood ctrlShow true;
};
if (_thirstVal > 0.8) then {
_ctrl_Array=_ctrl_Array + [_ctrlThirst];
}else {
_ctrlThirst ctrlShow true;
};
if (_foodVal > 0.8) then {
_ctrl_Array=_ctrl_Array + [_ctrlFood];
}else {
_ctrlFood ctrlShow true;
};
if (_tempVal < 0.2) then { //TeeChange
_ctrl_Array=_ctrl_Array + [_ctrlTemp];
} else {
_ctrlTemp ctrlShow true;
};
if (r_player_injured) then {
_ctrl_Array=_ctrl_Array + [_ctrlBleed];
}else {
_ctrlBleed ctrlShow false;
};
if((count _ctrl_Array) > 0) then
{
_ctrl_Array call player_guiControlFlash;
};
}
else {
_foodVal = 1 - (dayz_hunger / SleepFood); _foodVal = 1 - (dayz_hunger / SleepFood);
_thirstVal = 1 - (dayz_thirst / SleepWater); _thirstVal = 1 - (dayz_thirst / SleepWater);
_tempVal = 1 - ((dayz_temperatur - dayz_temperaturmin)/(dayz_temperaturmax - dayz_temperaturmin)); // Normalise to [0,1] _tempVal = 1 - ((dayz_temperatur - dayz_temperaturmin)/(dayz_temperaturmax - dayz_temperaturmin)); // Normalise to [0,1]
@@ -243,51 +110,30 @@ if (!canStand player) then {
/* /*
Flashing: Flashing:
*/ */
_ctrl_Array=[];
if (_combatVal == 0) then { if (_combatVal == 0) then {
_ctrl_Array=_ctrl_Array + [_ctrlCombat]; _ctrlCombat call player_guiControlFlash;
}else {
_ctrlCombat ctrlShow true;
}; };
if (_bloodVal < 0.2) then {
if (_bloodVal < 0.4) then { _ctrlBlood call player_guiControlFlash;
_ctrl_Array=_ctrl_Array + [_ctrlBlood];
}else {
_ctrlBlood ctrlShow true;
}; };
if (_thirstVal < 0.2) then { if (_thirstVal < 0.2) then {
_ctrl_Array=_ctrl_Array + [_ctrlThirst]; _ctrlThirst call player_guiControlFlash;
}else {
_ctrlThirst ctrlShow true;
}; };
if (_foodVal < 0.2) then { if (_foodVal < 0.2) then {
_ctrl_Array=_ctrl_Array + [_ctrlFood]; _ctrlFood call player_guiControlFlash;
}else {
_ctrlFood ctrlShow true;
}; };
if (_tempVal > 0.8) then { //TeeChange if (_tempVal > 0.8) then { //TeeChange
_ctrl_Array=_ctrl_Array + [_ctrlTemp]; _ctrlTemp call player_guiControlFlash;
} else { } else {
_ctrlTemp ctrlShow true; _ctrlTemp ctrlShow true;
}; };
if (r_player_injured) then { if (r_player_injured) then {
_ctrl_Array=_ctrl_Array + [_ctrlBleed]; _ctrlBleed call player_guiControlFlash;
}else {
_ctrlBleed ctrlShow false;
};
if((count _ctrl_Array) > 0) then
{
_ctrl_Array call player_guiControlFlash;
};
}; };
/* /*

View File

@@ -17,6 +17,7 @@ if (isServer) then {
PVDZE_veh_Update = [_unit, "killed",_killer]; PVDZE_veh_Update = [_unit, "killed",_killer];
_killerVeh = if (vehicle _killer != _killer) then { format["[KILLER IN VEHICLE %1 OF TYPE %2]", (vehicle _killer), (typeOf (vehicle _killer))]; } else {""}; _killerVeh = if (vehicle _killer != _killer) then { format["[KILLER IN VEHICLE %1 OF TYPE %2]", (vehicle _killer), (typeOf (vehicle _killer))]; } else {""};
_name = if (alive _killer) then { name _killer; } else { format["OBJECT %1", _killer]; }; _name = if (alive _killer) then { name _killer; } else { format["OBJECT %1", _killer]; };
// diag_log format["DAMAGE: Vehicle %1 (TYPE: %2) Killed by player %3 (UID: %4) %5",_unit, (typeOf _unit), _name, (getPlayerUID _killer), _killerVeh];
} else { } else {
PVDZE_veh_Update = [_unit, "killed"]; PVDZE_veh_Update = [_unit, "killed"];
}; };

View File

@@ -91,7 +91,7 @@ if ((dayz_spawnZombies < _maxControlledZombies) && (dayz_CurrentNearByZombies <
_array = []; _array = [];
{ {
_array set [count _array, _x select 0] _array set [count _array, _x select 0]
} forEach getArray (configFile >> "cfgLoot" >> getText(_lootType)); } count getArray (configFile >> "cfgLoot" >> getText(_lootType));
if (count _array > 0) then { if (count _array > 0) then {
_index = dayz_CLBase find getText(_lootType); _index = dayz_CLBase find getText(_lootType);
_weights = dayz_CLChances select _index; _weights = dayz_CLChances select _index;

View File

@@ -41,7 +41,7 @@ class CfgMods
hidePicture = 0; hidePicture = 0;
hideName = 0; hideName = 0;
action = "http://www.dayzepoch.com"; action = "http://www.dayzepoch.com";
version = "1.0.5.2"; version = "1.0.5.1";
hiveVersion = 0.96; //0.93 hiveVersion = 0.96; //0.93
}; };
}; };
@@ -97,6 +97,5 @@ class CfgAddons
#include "Configs\CfgAmmo.hpp" #include "Configs\CfgAmmo.hpp"
#include "Configs\CfgLoot\CfgBuildingLoot.hpp" #include "Configs\CfgLoot\CfgBuildingLoot.hpp"
#include "Configs\CfgArma.hpp" #include "Configs\CfgArma.hpp"
#include "Configs\CfgExtra\snappoints.hpp"
#include "external\R3F_Realism\R3F_Weight\R3F_CfgWeight.h" #include "external\R3F_Realism\R3F_Weight\R3F_CfgWeight.h"

View File

@@ -35,15 +35,14 @@ if (!isDedicated) then {
[["Hedgehog_DZ"], 1,"STR_EPOCH_ACTIONS_14"] call player_removeNearby; [["Hedgehog_DZ"], 1,"STR_EPOCH_ACTIONS_14"] call player_removeNearby;
}; };
player_removeNet = { player_removeNet = {
[["DesertCamoNet_DZ","ForestCamoNet_DZ","DesertLargeCamoNet_DZ","ForestLargeCamoNet_DZ"], 5,"str_epoch_player_8"] call player_removeNearby; [["DesertLargeCamoNet","ForestCamoNet_DZ","DesertLargeCamoNet_DZ","ForestLargeCamoNet_DZ"], 5,"str_epoch_player_8"] call player_removeNearby;
}; };
player_login = { player_login = {
private ["_unit","_detail","_PUID"]; private ["_unit","_detail"];
_unit = _this select 0; _unit = _this select 0;
_detail = _this select 1; _detail = _this select 1;
_PUID = [player] call FNC_GetPlayerUID; if(_unit == getPlayerUID player) then {
if(_unit == _PUID) then {
player setVariable["publish",_detail]; player setVariable["publish",_detail];
}; };
}; };
@@ -99,23 +98,7 @@ if (!isDedicated) then {
player_makeFire = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_makefire.sqf"; player_makeFire = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_makefire.sqf";
player_harvestPlant = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_harvestPlant.sqf"; player_harvestPlant = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_harvestPlant.sqf";
player_goFishing = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_goFishing.sqf"; player_goFishing = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_goFishing.sqf";
if (DZE_modularBuild) then {
player_build = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\modular_build.sqf";
player_build_countNearby = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_build_countNearby.sqf";
player_build_states = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_build_states.sqf";
player_build_needNearby = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_build_needNearby.sqf";
player_build_getConfig = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_build_getConfig.sqf";
player_build_plotCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_build_plotCheck.sqf";
player_build_buildReq = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_build_buildReq.sqf";
player_build_create = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_build_create.sqf";
player_build_controls = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_build_controls.sqf";
player_build_publish = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_build_publish.sqf";
snap_build = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\snap_build.sqf";
} else {
player_build = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_build.sqf"; player_build = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_build.sqf";
};
player_wearClothes = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_wearClothes.sqf"; player_wearClothes = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_wearClothes.sqf";
object_pickup = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\object_pickup.sqf"; object_pickup = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\object_pickup.sqf";
player_flipvehicle = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_flipvehicle.sqf"; player_flipvehicle = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_flipvehicle.sqf";
@@ -298,10 +281,10 @@ if (!isDedicated) then {
player_guiControlFlash = { player_guiControlFlash = {
private["_control"]; private["_control"];
_control = _this; _control = _this;
if (ctrlShown (_control select 0)) then { if (ctrlShown _control) then {
{_x ctrlShow false} foreach _control; _control ctrlShow false;
} else { } else {
{_x ctrlShow true} foreach _control; _control ctrlShow true;
}; };
}; };
@@ -544,22 +527,6 @@ if (!isDedicated) then {
spawn_loot = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\spawn_loot.sqf"; spawn_loot = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\spawn_loot.sqf";
spawn_loot_small = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\spawn_loot_small.sqf"; spawn_loot_small = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\spawn_loot_small.sqf";
// player_projectileNear = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_projectileNear.sqf"; // player_projectileNear = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_projectileNear.sqf";
FNC_GetPlayerUID = {
private ["_object","_version","_PID"];
_object = _this select 0;
_version = productVersion select 3;
if (DayZ_UseSteamID) then {
_PID = GetPlayerUID _object;
} else {
if (_version >= 125548) then {
_PID = call (compile "GetPlayerUIDOld _object");
} else {
_PID = GetPlayerUID _object;
diag_log format["Your game version, %1, is less than the required for the old UID system; using Steam ID system instead. Update to 1.63.125548 (or latest steam beta)", _version];
};
};
_PID;
};
FNC_GetSetPos = { //DO NOT USE IF YOU NEED ANGLE COMPENSATION!!!! FNC_GetSetPos = { //DO NOT USE IF YOU NEED ANGLE COMPENSATION!!!!
private "_pos"; private "_pos";
_thingy = _this select 0; _thingy = _this select 0;

View File

@@ -6,13 +6,12 @@ _classname = _this select 2;
// Exit if player zombie // Exit if player zombie
if(player isKindOf "PZombie_VB") exitWith {}; if(player isKindOf "PZombie_VB") exitWith {};
if (!isNull _holder) then { _name = getText (configFile >> _type >> _classname >> "displayName");
_name = getText(configFile >> _type >> _classname >> "displayName");
_actionSet = _holder getVariable["actionSet", false];
if (!_actionSet) then { _actionSet = _holder getVariable["actionSet", false];
if (!_actionSet) then {
s_player_holderPickup = _holder addAction [format[(localize "STR_DAYZ_CODE_1"),_name], "\z\addons\dayz_code\actions\object_pickup.sqf",[_type,_classname,_holder], 20, true, true]; s_player_holderPickup = _holder addAction [format[(localize "STR_DAYZ_CODE_1"),_name], "\z\addons\dayz_code\actions\object_pickup.sqf",[_type,_classname,_holder], 20, true, true];
player reveal _holder; player reveal _holder;
_holder setVariable["actionSet", true]; _holder setVariable["actionSet", true];
};
}; };

View File

@@ -1,7 +1,5 @@
disableSerialization; disableSerialization;
if (isNil "DayZ_UseSteamID") then {
DayZ_UseSteamID = true;
};
//Model Variables //Model Variables
Bandit1_DZ = "Bandit1_DZ"; Bandit1_DZ = "Bandit1_DZ";
Bandit2_DZ = "Bandit2_DZ"; Bandit2_DZ = "Bandit2_DZ";
@@ -190,9 +188,6 @@ dayz_locationsActive = [];
Dayz_GUI_R = 0.38; // 0.7 Dayz_GUI_R = 0.38; // 0.7
Dayz_GUI_G = 0.63; // -0.63 Dayz_GUI_G = 0.63; // -0.63
Dayz_GUI_B = 0.26; // -0.26 Dayz_GUI_B = 0.26; // -0.26
if (isNil "Dayz_Dark_UI") then {
Dayz_Dark_UI = false;
};
//Player self-action handles //Player self-action handles
dayz_resetSelfActions = { dayz_resetSelfActions = {
@@ -209,7 +204,6 @@ dayz_resetSelfActions = {
s_player_fillwater2 = -1; s_player_fillwater2 = -1;
s_player_fillfuel = -1; s_player_fillfuel = -1;
s_player_grabflare = -1; s_player_grabflare = -1;
s_player_dropflare = -1;
s_player_callzombies = -1; s_player_callzombies = -1;
s_player_showname = -1; s_player_showname = -1;
s_player_debuglootpos = -1; s_player_debuglootpos = -1;
@@ -257,10 +251,6 @@ dayz_resetSelfActions = {
s_player_heli_lift = -1; s_player_heli_lift = -1;
s_player_heli_detach = -1; s_player_heli_detach = -1;
s_player_lockUnlock_crtl = -1; s_player_lockUnlock_crtl = -1;
s_player_toggleSnap = -1;
s_player_toggleSnapSelect = -1;
s_player_toggleSnapSelectPoint=[];
snapActions = -1;
}; };
call dayz_resetSelfActions; call dayz_resetSelfActions;
@@ -274,10 +264,6 @@ s_player_madsci = [];
s_player_parts = []; s_player_parts = [];
s_player_combi = []; s_player_combi = [];
//Modular player_build
snapGizmos = [];
snapGizmosNearby = [];
//Initialize Medical Variables //Initialize Medical Variables
r_interrupt = false; r_interrupt = false;
r_doLoop = false; r_doLoop = false;
@@ -542,18 +528,6 @@ if(isNil "DZE_StaticConstructionCount") then {
if (isNil "DZE_selfTransfuse_Values") then { if (isNil "DZE_selfTransfuse_Values") then {
DZE_selfTransfuse_Values = [12000, 15, 300]; DZE_selfTransfuse_Values = [12000, 15, 300];
}; };
if (isNil "helperDetach") then {
helperDetach = false;
};
if (isNil "DZE_modularBuild") then {
DZE_modularBuild = false;
};
if (isNil "DZE_snapExtraRange") then {
DZE_snapExtraRange = 0;
};
if (isNil "DZE_checkNearbyRadius") then {
DZE_checkNearbyRadius = 30;
};
// needed on server // needed on server
if(isNil "DZE_PlotPole") then { if(isNil "DZE_PlotPole") then {
@@ -709,24 +683,18 @@ if(!isDedicated) then {
dayz_spawnZombies = 0; dayz_spawnZombies = 0;
dayz_swarmSpawnZombies = 0; dayz_swarmSpawnZombies = 0;
//Max local //Max local
dayz_maxLocalZombies = 30; // max quantity of Z controlled by local gameclient, used by player_spawnCheck. Below this limit we can spawn Z
//Current NearBy
dayz_CurrentNearByZombies = 0; dayz_CurrentNearByZombies = 0;
//Max NearBy //Max NearBy
if (isNil "dayz_maxNearByZombies") then {
dayz_maxNearByZombies = 60; // max quantity of Z controlled by local gameclient, used by player_spawnCheck. Below this limit we can spawn Z dayz_maxNearByZombies = 60; // max quantity of Z controlled by local gameclient, used by player_spawnCheck. Below this limit we can spawn Z
//Current total //Current total
};
dayz_currentGlobalZombies = 0; dayz_currentGlobalZombies = 0;
//Max global zeds. //Max global zeds.
if (isNil "dayz_maxGlobalZeds") then {
dayz_maxGlobalZeds = 3000; dayz_maxGlobalZeds = 3000;
};
if (isNil "dayz_spawnDelay") then {
dayz_spawnDelay = 120; dayz_spawnDelay = 120;
}; dayz_spawnWait = -120;
dayz_spawnWait = -(dayz_spawnDelay);
if (isNil "dayz_lootDelay") then {
dayz_lootDelay = 3; dayz_lootDelay = 3;
};
dayz_lootWait = -300; dayz_lootWait = -300;
//used to count global zeds around players //used to count global zeds around players
dayz_CurrentZombies = 0; dayz_CurrentZombies = 0;
@@ -803,8 +771,6 @@ if(!isDedicated) then {
DZE_4 = false; DZE_4 = false;
DZE_6 = false; DZE_6 = false;
DZE_F = false;
DZE_cancelBuilding = false; DZE_cancelBuilding = false;
DZE_PZATTACK = false; DZE_PZATTACK = false;

View File

@@ -9,11 +9,7 @@ if (_unit == player) then {
_selfTransValues = _this select 1; _selfTransValues = _this select 1;
r_player_blood = r_player_blood + (_selfTransValues select 0); r_player_blood = r_player_blood + (_selfTransValues select 0);
if (r_player_blood > 12000) then {r_player_blood = 12000;}; if (r_player_blood > 12000) then {r_player_blood = 12000;};
if ((_selfTransValues select 1) < 0) then {
_TransfusionInfection = false;
} else {
_TransfusionInfection = ((random (_selfTransValues select 1)) < 1); _TransfusionInfection = ((random (_selfTransValues select 1)) < 1);
};
} else { } else {
r_player_blood = r_player_bloodTotal; r_player_blood = r_player_bloodTotal;
}; };

View File

@@ -0,0 +1,6 @@
// promptRName.sqf
private ["_unit"];
_unit = _this select 0;
call compile format ["server globalChat reviver_%1", _unit];

View File

@@ -260,9 +260,7 @@ fnc_usec_recoverUncons = {
sleep 1; sleep 1;
disableUserInput false; disableUserInput false;
if (vehicle player == player) then {
[objNull,player,rSwitchMove,"AinjPpneMstpSnonWnonDnon"] call RE; [objNull,player,rSwitchMove,"AinjPpneMstpSnonWnonDnon"] call RE;
player switchMove "AinjPpneMstpSnonWnonDnon"; player switchMove "AinjPpneMstpSnonWnonDnon";
player playMoveNow "AmovPpneMstpSnonWnonDnon_healed"; player playMoveNow "AmovPpneMstpSnonWnonDnon_healed";
};
}; };

View File

@@ -2,14 +2,14 @@
Anti-Teleport - Created By Razor / Refactored By Alby & CopyPasted to Epoch by Skaronator Anti-Teleport - Created By Razor / Refactored By Alby & CopyPasted to Epoch by Skaronator
*/ */
private ["_log","_playerName","_playerUID","_PUID","_al1veOnce","_debug","_lastpos","_lastheight","_lasttime","_lastVehicle","_v","_h","_topv","_toph","_curpos","_distance","_acceptableDistance","_curtime","_difftime","_plant","_curheight","_speed","_topSpeed","_terrainHeight","_differenceCheck","_lastPosVar","_safetyVehicle","_curPos"]; private ["_log","_playerName","_playerUID","_al1veOnce","_debug","_lastpos","_lastheight","_lasttime","_lastVehicle","_v","_h","_topv","_toph","_curpos","_distance","_acceptableDistance","_curtime","_difftime","_plant","_curheight","_speed","_topSpeed","_terrainHeight","_differenceCheck","_lastPosVar","_safetyVehicle","_curPos"];
waitUntil {vehicle player == player}; waitUntil {vehicle player == player};
[] spawn { [] spawn {
private ["_playerName","_playerUID"]; private ["_playerName","_playerUID"];
_playerName = name player; _playerName = name player;
_playerUID = [player] call FNC_GetPlayerUID; _playerUID = getPlayerUID player;
while {1 == 1} do { while {1 == 1} do {
if (typeName player != "OBJECT") then { if (typeName player != "OBJECT") then {
PVDZE_atp = format["WARNING typename error for player UID#%1", _playerUID]; PVDZE_atp = format["WARNING typename error for player UID#%1", _playerUID];
@@ -24,7 +24,7 @@ waitUntil {vehicle player == player};
[] spawn { [] spawn {
_playerName = name player; _playerName = name player;
_playerUID = [player] call FNC_GetPlayerUID; _playerUID = getPlayerUID player;
while {true} do { while {true} do {
sleep 5; sleep 5;
}; };
@@ -93,8 +93,7 @@ while {1 == 1} do {
if (_lastVehicle == vehicle player) then { if (_lastVehicle == vehicle player) then {
if ((_speed > _topSpeed) && (alive player) && ((driver (vehicle player) == player) || (isNull (driver (vehicle player)))) && (_debug distance _lastpos > 3000) && !((vehicle player == player) && (_curheight < _lastheight) && ((_curheight - _terrainHeight) > 1))) then { if ((_speed > _topSpeed) && (alive player) && ((driver (vehicle player) == player) || (isNull (driver (vehicle player)))) && (_debug distance _lastpos > 3000) && !((vehicle player == player) && (_curheight < _lastheight) && ((_curheight - _terrainHeight) > 1))) then {
(vehicle player) setposATL _lastpos; (vehicle player) setposATL _lastpos;
_PUID = [player] call FNC_GetPlayerUID; PVDZE_atp = format["TELEPORT REVERT for player UID#%1 from %2 to %3, %4 meters, now at %5", getPlayerUID player, _lastpos, _curPos, round(_lastpos distance _curpos), getPosATL player];
PVDZE_atp = format["TELEPORT REVERT for player UID#%1 from %2 to %3, %4 meters, now at %5", _PUID, _lastpos, _curPos, round(_lastpos distance _curpos), getPosATL player];
publicVariableServer "PVDZE_atp"; publicVariableServer "PVDZE_atp";
} else { } else {
_lastpos = _curpos; _lastpos = _curpos;

View File

@@ -20,7 +20,7 @@ item15[] = {"Parse_Login",2,250,-75.000000,500.000000,25.000000,550.000000,0.000
item16[] = {"Hive_Bad",4,218,50.000000,500.000000,150.000000,550.000000,10.000000,"Hive" \n "Bad"}; item16[] = {"Hive_Bad",4,218,50.000000,500.000000,150.000000,550.000000,10.000000,"Hive" \n "Bad"};
item17[] = {"ERROR__Wrong_HIVE",2,250,175.000000,500.000000,275.000000,550.000000,0.000000,"ERROR:" \n "Wrong HIVE" \n "Version"}; item17[] = {"ERROR__Wrong_HIVE",2,250,175.000000,500.000000,275.000000,550.000000,0.000000,"ERROR:" \n "Wrong HIVE" \n "Version"};
item18[] = {"Hive_Ok",4,218,-175.000000,550.000000,-75.000000,600.000000,0.000000,"Hive" \n "Ok"}; item18[] = {"Hive_Ok",4,218,-175.000000,550.000000,-75.000000,600.000000,0.000000,"Hive" \n "Ok"};
item19[] = {"Phase_One",2,4346,-75.000000,600.000000,25.000000,650.000000,0.000000,"Phase One"}; item19[] = {"Phase_One",2,250,-75.000000,600.000000,25.000000,650.000000,0.000000,"Phase One"};
item20[] = {"Response",4,218,-175.000000,650.000000,-75.000000,700.000000,0.000000,"Response"}; item20[] = {"Response",4,218,-175.000000,650.000000,-75.000000,700.000000,0.000000,"Response"};
item21[] = {"Phase_Two",2,250,-75.000000,700.000000,25.000000,750.000000,0.000000,"Phase Two"}; item21[] = {"Phase_Two",2,250,-75.000000,700.000000,25.000000,750.000000,0.000000,"Phase Two"};
item22[] = {"Dead_Player",4,218,50.000000,700.000000,150.000000,750.000000,0.000000,"Dead" \n "Player"}; item22[] = {"Dead_Player",4,218,50.000000,700.000000,150.000000,750.000000,0.000000,"Dead" \n "Player"};
@@ -34,7 +34,7 @@ item29[] = {"ERROR__Bad_Versi",2,250,175.000000,800.000000,275.000000,850.000000
item30[] = {"Display_Ready",4,218,-175.000000,1050.000000,-75.000000,1100.000000,0.000000,"Display" \n "Ready"}; item30[] = {"Display_Ready",4,218,-175.000000,1050.000000,-75.000000,1100.000000,0.000000,"Display" \n "Ready"};
item31[] = {"Preload_Display",2,250,-75.000000,1100.000000,25.000000,1150.000000,0.000000,"Preload" \n "Display"}; item31[] = {"Preload_Display",2,250,-75.000000,1100.000000,25.000000,1150.000000,0.000000,"Preload" \n "Display"};
item32[] = {"Preload_Done",4,218,-175.000000,1150.000000,-75.000000,1200.000000,0.000000,"Preload" \n "Done"}; item32[] = {"Preload_Done",4,218,-175.000000,1150.000000,-75.000000,1200.000000,0.000000,"Preload" \n "Done"};
item33[] = {"Initialize",2,250,-75.000000,1200.000000,25.000000,1250.000000,0.000000,"Initialize"}; item33[] = {"Initialize",2,4346,-75.000000,1200.000000,25.000000,1250.000000,0.000000,"Initialize"};
item34[] = {"Finish",1,250,-75.000000,1300.000000,25.000000,1350.000000,0.000000,"Finish"}; item34[] = {"Finish",1,250,-75.000000,1300.000000,25.000000,1350.000000,0.000000,"Finish"};
item35[] = {"True",8,218,25.000000,1250.000000,125.000000,1300.000000,0.000000,"True"}; item35[] = {"True",8,218,25.000000,1250.000000,125.000000,1300.000000,0.000000,"True"};
item36[] = {"Too_Long",4,218,300.000000,150.000000,400.000000,200.000000,0.000000,"Too" \n "Long"}; item36[] = {"Too_Long",4,218,300.000000,150.000000,400.000000,200.000000,0.000000,"Too" \n "Long"};
@@ -169,8 +169,8 @@ link85[] = {75,57};
link86[] = {76,78}; link86[] = {76,78};
link87[] = {77,76}; link87[] = {77,76};
link88[] = {78,57}; link88[] = {78,57};
globals[] = {25.000000,1,0,0,0,640,480,1,143,6316128,1,-648.860474,646.549011,954.039734,36.458042,864,612,1}; globals[] = {25.000000,1,0,0,0,640,480,1,143,6316128,1,-280.065002,277.754272,1315.142944,920.020874,864,612,1};
window[] = {0,-1,-1,-32000,-32000,1018,260,1749,260,1,882}; window[] = {0,-1,-1,-1,-1,966,208,1697,208,1,882};
*//*%FSM</HEAD>*/ *//*%FSM</HEAD>*/
class FSM class FSM
{ {
@@ -408,7 +408,7 @@ class FSM
"" \n "" \n
"progressLoadingScreen 0.3;" \n "progressLoadingScreen 0.3;" \n
"" \n "" \n
"_playerUID = [player] call FNC_GetPlayerUID;"/*%FSM</STATEINIT""">*/; "_playerUID = getPlayerUID player;"/*%FSM</STATEINIT""">*/;
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/; precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
class Links class Links
{ {
@@ -638,17 +638,11 @@ class FSM
name = "Phase_One"; name = "Phase_One";
init = /*%FSM<STATEINIT""">*/"if ((!isNil ""DZE_defaultSkin"") && _isNew && (_isInfected == 0)) then {" \n init = /*%FSM<STATEINIT""">*/"if ((!isNil ""DZE_defaultSkin"") && _isNew && (_isInfected == 0)) then {" \n
" if (dayz_selectGender == ""Survivor2_DZ"") then {" \n " if (dayz_selectGender == ""Survivor2_DZ"") then {" \n
" _rand = (DZE_defaultSkin select 0) call BIS_fnc_selectRandom;" \n " _rand = floor(random (count (DZE_defaultSkin select 0)));" \n
" _model = getText (configFile >> ""CfgMagazines"" >> ""Skins"" >> _rand >> ""playerModel""); //MALE" \n " _model = getText (configFile >> ""CfgSurvival"" >> ""Skins"" >> ((DZE_defaultSkin select 0) select _rand) >> ""playerModel""); //MALE" \n
" if (_model == """") then {" \n
" _model = _rand;" \n
" };" \n
" } else {" \n " } else {" \n
" _rand = (DZE_defaultSkin select 1) call BIS_fnc_selectRandom;" \n " _rand = floor(random (count (DZE_defaultSkin select 1)));" \n
" _model = getText (configFile >> ""CfgMagazines"" >> ""Skins"" >> _rand >> ""playerModel""); //FEMALE" \n " _model = getText (configFile >> ""CfgSurvival"" >> ""Skins"" >> ((DZE_defaultSkin select 1) select _rand) >> ""playerModel""); //FEMALE" \n
" if (_model == """") then {" \n
" _model = _rand;" \n
" };" \n
" };" \n " };" \n
"};" \n "};" \n
"" \n "" \n
@@ -1383,7 +1377,7 @@ class FSM
priority = 2.000000; priority = 2.000000;
to="ERROR__version_c"; to="ERROR__version_c";
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/; precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
condition=/*%FSM<CONDITION""">*/"(_myEpochAnim != ""1.0.5"") || (_myEpoch != ""1.0.4.2"") || (_myEpochB != ""1.0.5.2"") || (_myEpochSfx != ""1.0.5"") || (_myEpochDayZ != ""1.0.5"")"/*%FSM</CONDITION""">*/; condition=/*%FSM<CONDITION""">*/"(_myEpochAnim != ""1.0.5"") || (_myEpoch != ""1.0.4.2"") || (_myEpochB != ""1.0.5"") || (_myEpochSfx != ""1.0.5"") || (_myEpochDayZ != ""1.0.5"")"/*%FSM</CONDITION""">*/;
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/; action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
}; };
/*%FSM</LINK>*/ /*%FSM</LINK>*/

View File

@@ -144,12 +144,12 @@ class Land_HouseB_Tenement: Office {
lootPosZombie[] = {{-10.75,5.90088,-19.9095},{-9.99756,5.92529,-19.9095},{-8.12207,5.97852,-19.9095},{-7.31445,6.00879,-19.9095},{5.53882,10.6328,-19.9095},{4.28247,8.729,-19.9095}}; lootPosZombie[] = {{-10.75,5.90088,-19.9095},{-9.99756,5.92529,-19.9095},{-8.12207,5.97852,-19.9095},{-7.31445,6.00879,-19.9095},{5.53882,10.6328,-19.9095},{4.28247,8.729,-19.9095}};
lootPosSmall[] = {{-1.7771,4.57861,-19.8245},{-0.338623,4.80322,-19.8245},{-11.0986,-0.365234,-20.3445},{2.38574,5.15869,-20.2245},{14.2202,4.91895,-20.3945},{6.7251,11.6895,-20.3445},{3.2915,-1.90088,-20.3445},{12.9602,10.0479,-20.8045},{13.3726,0.939453,-20.8045}}; lootPosSmall[] = {{-1.7771,4.57861,-19.8245},{-0.338623,4.80322,-19.8245},{-11.0986,-0.365234,-20.3445},{2.38574,5.15869,-20.2245},{14.2202,4.91895,-20.3945},{6.7251,11.6895,-20.3445},{3.2915,-1.90088,-20.3445},{12.9602,10.0479,-20.8045},{13.3726,0.939453,-20.8045}};
}; };
class land_a_hospital: hospital { class Land_A_Hospital: hospital {
lootPos[] = {{17.665,-4.67188,-7.2566},{-20.7139,-1.48047,-7.2566},{-15.6924,8.60889,-7.2566},{-15.6064,1.95557,-6.8266},{-16.2139,2.27051,-7.2566},{-8.68652,4.19189,-3.7576},{14.2441,-3.98535,-3.7576},{21.5693,5.16455,1.19051},{18.3779,2.40869,6.2524},{-15.3359,-1.25439,3.40458},{-20.3252,0.410156,-3.82761}}; lootChance = 0.8;
lootPosZombie[] = {{9.84473,0.953613,-6.3816},{0.540039,1.20801,-6.3816},{-20.7822,1.93555,-6.3816},{-9.54004,8.61279,-6.3816},{15.8838,3.41699,-2.8826},{-8.08691,1.40674,-2.8826},{11.0088,-1.44775,-2.8826}}; lootPos[] = {{6.34253,-2.0498,-7.34966},{1.20044,-3.17676,-7.34966},{-6.09375,-1.32227,-7.34966},{-12.1106,-1.1416,-7.34966}};
lootPosSmall[] = {{9.97754,-0.814453,-7.2566},{-19.6143,1.83887,-7.1666},{-19.6055,1.6084,-6.7866},{-19.583,4.91748,-6.7866},{-19.5576,4.7417,-6.0266},{-22.1982,9.59033,-7.2566},{-12.3379,9.53857,-6.8266},{-3.23438,6.01758,-6.8266},{-13.626,3.04248,-6.0466},{2.86426,-1.68604,-6.6466},{-5.58594,1.38232,-3.7576},{-4.05762,-2.48584,-3.7576},{-11.8428,5.15576,-2.5976},{-5.57129,-3.17236,-2.5976},{-5.65332,5.01416,-2.5976},{-12.5439,-2.33838,-3.6876},{-12.5801,-1.32617,-3.3076},{-12.5928,-1.56299,-2.9276},{-12.6162,-2.24805,-2.1676},{-12.5654,2.4126,-2.5476},{14.8721,3.96875,3.66054},{16.9033,-1.33838,4.01669},{21.3174,4.88916,6.2524},{-4.00488,7.89893,-3.82761}}; lootPosZombie[] = {{-1.05542,-7.77393,-6.57103},{1.37695,-7.51074,-6.57103},{-18.5427,-3.37891,-6.57896},{-1.56226,3.03711,-6.57103},{13.3225,3.51172,-6.57103},{20.2839,-3.38281,-6.58154}};
lootPosSmall[] = {{-13.2749,-1.99512,-7.34966},{-11.0256,-2.84473,-6.89966},{-14.729,-1.21484,-7.34966},{-4.55444,-3.34229,-6.35966},{-1.68921,-4.03125,-6.35966},{2.29761,-3.49756,-6.75966},{2.92163,-0.976074,-6.89966},{4.47095,-0.858887,-7.34966},{7.62231,-0.94873,-7.34966},{9.41187,-0.902832,-6.89966},{16.623,-3.96729,-6.89966},{-15.7454,-0.918945,-6.89966}};
}; };
class Land_Panelak: Office { class Land_Panelak: Office {
lootPos[] = {{-3.76709,-5.5791,0.0714226},{-6,-5.1709,0.0714226},{-4.86719,-3.30518,0.0714226},{-5.75098,1.51172,0.0714226},{3.95483,-4.83008,2.77144},{4.8728,1.51855,2.77144},{6.07324,-5.4668,2.77144}}; lootPos[] = {{-3.76709,-5.5791,0.0714226},{-6,-5.1709,0.0714226},{-4.86719,-3.30518,0.0714226},{-5.75098,1.51172,0.0714226},{3.95483,-4.83008,2.77144},{4.8728,1.51855,2.77144},{6.07324,-5.4668,2.77144}};
lootPosZombie[] = {{0.657227,-3.12109,0.946423},{-2.28564,-6.88281,0.946423},{-6.31055,-5.41943,0.946423},{-4.51709,3.01758,0.946423},{-0.828613,-3.01465,3.64644},{2.23975,-6.20801,3.64644},{6.84961,-4.8125,3.64644},{4.64917,2.84668,3.64644},{4.59229,-2.55957,3.64644}}; lootPosZombie[] = {{0.657227,-3.12109,0.946423},{-2.28564,-6.88281,0.946423},{-6.31055,-5.41943,0.946423},{-4.51709,3.01758,0.946423},{-0.828613,-3.01465,3.64644},{2.23975,-6.20801,3.64644},{6.84961,-4.8125,3.64644},{4.64917,2.84668,3.64644},{4.59229,-2.55957,3.64644}};
@@ -257,12 +257,10 @@ class Land_Mil_Barracks_i: MilitarySpecial {
class Land_A_TVTower_Base: Industrial { class Land_A_TVTower_Base: Industrial {
lootPos[] = {{-0.982422,-1.92627,-2.21573},{-2.01782,-4.2417,-2.21918},{-0.759277,1.42139,-2.21573}}; lootPos[] = {{-0.982422,-1.92627,-2.21573},{-2.01782,-4.2417,-2.21918},{-0.759277,1.42139,-2.21573}};
}; };
class land_mil_house: Military { class Land_Mil_House: Military {
lootPos[] = {{-14.3345,1.24414,-4.94623},{-7.87842,1.45117,-4.15622},{-7.77686,-5.34277,-0.88623},{-4.43506,-5.33594,-0.88623}}; vehPos[] = {{13.439,3.25244,-5.71244,84}};
lootPosZombie[] = {{-11.2925,2.85059,-4.03122},{-9.33154,-1.83496,-4.03122},{-10.5005,-4.77051,-0.0112305},{-2.37695,-1.71973,-0.0112305}}; lootPos[] = {{12.457,1.4248,-5.81439},{11.0391,4.85278,-5.81439},{13.667,4.42139,-5.81439}};
lootPosSmall[] = {{-10.4692,4.4082,-4.94623},{-10.3696,1.2627,-4.46622},{-6.47998,4.92871,-4.98621},{-13.3208,-0.803711,-4.98621},{-13.791,-6.27832,-0.88623},{-13.2046,-5.36426,-0.196228},{-9.45166,-6.02832,-0.88623},{-0.253418,-4.12402,-0.88623},{-4.75635,-0.0224609,-0.88623},{-6.02002,-0.0410156,-0.426239},{-2.28857,0.575195,-0.876221}};
}; };
class Land_Misc_Cargo1Ao: Industrial { class Land_Misc_Cargo1Ao: Industrial {
lootPos[] = {{0.48877,-1.61377,-1.09224},{0.012207,2.19263,-1.09224},{0.00976563,0.19043,-1.09224}}; lootPos[] = {{0.48877,-1.61377,-1.09224},{0.012207,2.19263,-1.09224},{0.00976563,0.19043,-1.09224}};
}; };
@@ -307,9 +305,8 @@ class Land_A_Castle_Gate: Residential {
lootPos[] = {{0.244141,-4.48486,-3.14362},{-1.25293,2.98779,-3.07028},{4.50684,-3.31152,-2.94885},{4.55176,3.29834,-2.94858},{7.94824,1.4082,-2.91003}}; lootPos[] = {{0.244141,-4.48486,-3.14362},{-1.25293,2.98779,-3.07028},{4.50684,-3.31152,-2.94885},{4.55176,3.29834,-2.94858},{7.94824,1.4082,-2.91003}};
}; // Qty: 3 }; // Qty: 3
class Land_Mil_Barracks: Military { class Land_Mil_Barracks: Military {
lootPos[] = {{-0.891113,-3.48926,-1.51633},{-1.09204,2.88672,-1.51633},{-3.55591,3.42871,-1.51633},{-6.31299,3.7041,-1.51633},{-7.68262,-3.54102,-1.93634},{-5.11475,-2.09961,-1.93634},{0.24707,3.57324,-1.93634},{6.72217,-2.47949,-1.93634},{5.41602,3.99316,-1.93634},{-6.34912,3.90137,-0.726349},{-3.58691,2.8252,-0.726349},{-1.04224,3.39941,-0.726349},{-3.75195,-3.25977,-0.726349},{-0.864746,-3.88672,-0.726349},{-3.52563,-2.44824,-1.93634},{-6.06396,2.57422,-1.93634},{-0.935059,-4.05078,-1.93634},{-1.39502,3.89941,-1.93634}}; lootPos[] = {};
lootPosZombie[] = {{-2.15845,-3.12793,-1.06134},{2.13281,3.24316,-1.06134},{-6.20679,-0.125,-1.06134},{2.09521,-3.36719,-1.06134}}; lootPosZombie[] = {{9.02515,-0.694336,-1.16602},{9.01538,0.856445,-1.16602}};
lootPosSmall[] = {{-6.45703,2.03125,-1.79633},{-3.5127,1.98242,-1.79633},{-1.14746,1.9873,-1.79633},{-0.911621,-1.87598,-1.79633},{-3.81567,-1.90234,-1.79633},{-6.5249,-1.86426,-1.79633},{3.78979,-4.17773,-1.13635},{5.32861,-4.19043,-1.13635},{5.20923,-1.99805,-1.65634},{6.54175,-1.99707,-1.65634},{3.82324,-1.96582,-1.65634},{6.89209,2.93457,-1.84634},{6.98877,1.95215,-1.84634},{6.98291,2.23145,-1.46634},{7.00391,2.73438,-1.46634},{6.96729,3.01953,-1.08633},{6.94824,2.04785,-0.706329},{4.36768,3.13086,-0.396332},{3.86768,3.49316,-0.396332},{3.84521,3.49609,-1.86633},{4.33984,3.1748,-1.86633}};
}; // Qty: 8 }; // Qty: 8
class Land_Mil_Barracks_L: Military { class Land_Mil_Barracks_L: Military {
lootPos[] = {}; lootPos[] = {};
@@ -543,33 +540,28 @@ class GraveCrossHelmet: Military {
maxRoaming = 4; maxRoaming = 4;
}; };
class land_housev_1l2: Residential { class Land_HouseV_1L2: Residential {
lootPos[] = {{-2.58887,-4.8584,-0.789368},{-2.58887,-4.8584,-0.789368},{-2.37646,0.373047,-0.799377}}; maxRoaming = 3;
lootPosZombie[] = {{1.88721,-3.35938,0.0856323},{1.88721,-3.35938,0.0856323},{1.68408,-0.298828,0.0856323}}; lootPosZombie[] = {{-2.88257,4.3457,-2.1376},{2.77734,-5.9126,-2.14038}};
lootPosSmall[] = {{-1.37354,-3.26465,-0.789368},{4.48389,-3.06348,0.0406189},{4.53271,-3.61328,0.590637},{-1.37354,-3.26465,-0.789368},{4.48389,-3.06348,0.0406189},{4.53271,-3.61328,0.590637},{4.29126,-1.02441,0.0606384},{-0.199707,3.28711,-2.9292}}; lootPosSmall[] = {{0.183594,-5.47998,-1.08436}};
}; // Qty: 101
class Land_Misc_PowerStation: Industrial {
lootPos[] = {{4.22314,1.09888,-1.2678}};
lootPosZombie[] = {{3.88232,-2.35083,-0.393564},{-6.12842,3.4292,-1.1761}};
lootPosSmall[] = {{3.67725,4.86694,-1.2576}};
}; };
class land_misc_powerstation: Industrial { class Land_HouseV_3I3: HouseRoaming{
lootPos[] = {{2.98767,-5.02051,1.54777},{3.67371,5.62207,-2.04407}}; lootPosZombie[] = {{0.915527,3.53455,-1.24826},{4.38135,3.39111,-1.36197}};
lootPosZombie[] = {{-1.06372,6.63672,-1.11913},{0.224365,-2.4873,-0.377583},{-0.857544,3.08789,-1.11905}};
lootPosSmall[] = {{4.92017,6.24707,-1.26179},{1.62573,-6.4541,-1.13445},{1.33667,-6.37207,-0.374413},{-3.20825,-6.50195,0.315748},{-3.84949,-6.2627,-1.16402},{-1.35608,-6.3877,-0.374122},{-0.895142,-6.39453,-0.37413},{2.30383,2.21387,-2.04394},{0.0808105,-0.0566406,-1.204},{1.98657,3.49121,-0.623982}};
}; };
class Land_Mil_Guardhouse: Military {
class land_housev_3i3: Residential { lootPos[] = {{-2.43457,3.06396,-1.69939},{-2.36816,-0.151855,-1.69939}};
lootPos[] = {{-4.2334,0.291992,-1.47064},{1.10059,-2.99854,-0.790649},{3.53027,-2.34033,-1.74265}}; lootPosZombie[] = {{-2.56885,0.749512,-0.794393},{5.69531,0.884766,-1.12091}};
lootPosZombie[] = {{-4.18457,-1.68164,-0.525635},{0.419922,-1.00781,-0.525635},{4.35059,-1.37939,-0.98764}}; lootPosSmall[] = {{-2.14746,1.94531,-1.69939}};
lootPosSmall[] = {{-4.85645,0.550293,-0.340637},{2.21289,0.783691,-0.160645},{-0.833008,0.554199,-0.620636},{1.79785,-2.99902,-1.09064},{5.06055,-2.68164,-1.56265}};
}; };
class land_mil_guardhouse: Military {
lootPos[] = {{4.65381,-3.61914,-1.46277},{2.99756,3.54102,-0.712769}};
lootPosZombie[] = {{-1.73193,-1.90625,-0.56778},{3.26025,-1.55859,-0.56778}};
lootPosSmall[] = {{-0.798828,-3.51758,-1.46277},{3.73047,-3.95996,-1.32278},{-0.283203,-3.15723,-1.32278},{-0.996582,3.81445,-1.14279},{-1.33008,2.26563,-0.762787},{0.289063,3.66211,-0.0827942},{-1.17383,-0.112305,-1.48279}};
};
// DAYZ AMP More buildings // DAYZ AMP More buildings
class Land_Shed_W02_EP1: FarmRoaming{}; class Land_Shed_W02_EP1: FarmRoaming{};
class Land_MBG_ApartmentsOne_W: HouseRoaming{}; class Land_MBG_ApartmentsOne_W: HouseRoaming{};
@@ -696,11 +688,9 @@ class Land_Ind_PowerStation_EP1: Industrial {
lootPos[] = {{4.04248,-3.4917,-1.26547},{3.8645,3.5249,-1.28112}}; lootPos[] = {{4.04248,-3.4917,-1.26547},{3.8645,3.5249,-1.28112}};
}; };
class land_repair_center: Industrial { class land_repair_center: Industrial {
lootPos[] = {{0.327148,1.65479,-2.37888},{-2.35547,-0.163574,-1.71927},{-2.41016,4.45654,-1.71927}}; lootPosZombie[] = {{0.629883,-3.35498,-1.64651},{-2.61719,3.68213,-0.653473}};
lootPosZombie[] = {{0.982422,-0.634277,-1.51389}}; lootPosSmall[] = {{-2.52832,1.68213,-1.54846}};
lootPosSmall[] = {{1.80469,2.01709,-1.6489},{1.60352,4.57178,-0.862885},{0.771484,4.55713,-0.48288},{1.56348,4.50439,-1.24289}};
}; };
class Land_Ind_TankBig: Industrial class Land_Ind_TankBig: Industrial
{ {
lootChance = 0.1; lootChance = 0.1;

View File

@@ -29,9 +29,4 @@ class Category_512 {
buy[] = {4,"ItemBriefcase100oz"}; buy[] = {4,"ItemBriefcase100oz"};
sell[] = {1,"ItemBriefcase100oz"}; sell[] = {1,"ItemBriefcase100oz"};
}; };
class CH53_DZE {
type = "trade_any_vehicle";
buy[] = {3,"ItemBriefcase100oz"};
sell[] = {2,"ItemBriefcase100oz"};
};
}; };

View File

@@ -29,9 +29,4 @@ class Category_493 {
buy[] = {2,"ItemBriefcase100oz"}; buy[] = {2,"ItemBriefcase100oz"};
sell[] = {1,"ItemBriefcase100oz"}; sell[] = {1,"ItemBriefcase100oz"};
}; };
class CH53_DZE {
type = "trade_any_vehicle";
buy[] = {2,"ItemBriefcase100oz"};
sell[] = {1,"ItemBriefcase100oz"};
};
}; };

View File

@@ -3,7 +3,7 @@ class CfgPatches {
units[] = {}; units[] = {};
weapons[] = {}; weapons[] = {};
requiredVersion = 0.1; requiredVersion = 0.1;
dayzVersion = "1.0.5.2"; dayzVersion = "1.0.5";
requiredAddons[] = {"dayz_code"}; requiredAddons[] = {"dayz_code"};
}; };
}; };

View File

@@ -3147,14 +3147,14 @@
<Czech>Nelze stavět v boji.</Czech> <Czech>Nelze stavět v boji.</Czech>
</Key> </Key>
<Key ID="STR_EPOCH_PLAYER_44"> <Key ID="STR_EPOCH_PLAYER_44">
<Original>Cannot build plot pole within %1m of an existing plot.</Original> <Original>Cannot build plot pole within 45m of an existing plot.</Original>
<English>Cannot build plot pole within %1m of an existing plot.</English> <English>Cannot build plot pole within 45m of an existing plot.</English>
<German>Grundstück-Markierung kann nicht innerhalb %1m von einem bestehenden Grundstück erbaut werden.</German> <German>Grundstück-Markierung kann nicht innerhalb 45m von einem bestehenden Grundstück erbaut werden.</German>
<Russian>Нельзя построить столб в пределах %1м. от существующего столба.</Russian> <Russian>Нельзя построить столб в пределах 45м. от существующего столба.</Russian>
<!-- <Spanish></Spanish> --> <!-- <Spanish></Spanish> -->
<Dutch>Kan bouw-paal niet bouwen op minder als %1m afstand van een bestaand bouwterrein.</Dutch> <Dutch>Kan bouw-paal niet bouwen op minder als 45m afstand van een bestaand bouwterrein.</Dutch>
<French>Impossible de construire un panneau de propriété privée à moins de %1m d'un autre panneau du genre.</French> <French>Impossible de construire un panneau de propriété privée à moins de 45m d'un autre panneau du genre.</French>
<Czech>Nelze postavit hraniční značku ve vzdálenosti %1 metrů od jiné značky.</Czech> <Czech>Nelze postavit hraniční značku ve vzdálenosti 45 metrů od jiné značky.</Czech>
</Key> </Key>
<Key ID="STR_EPOCH_PLAYER_45"> <Key ID="STR_EPOCH_PLAYER_45">
<Original>PgUp to raise or PgDn to lower (Hold ALT to raise faster or CTRL slower), Q or E to flip 180. Space-Bar to build.</Original> <Original>PgUp to raise or PgDn to lower (Hold ALT to raise faster or CTRL slower), Q or E to flip 180. Space-Bar to build.</Original>
@@ -6056,16 +6056,6 @@
<!-- <Dutch></Dutch> --> <!-- <Dutch></Dutch> -->
<!-- <German></German> --> <!-- <German></German> -->
</Key> </Key>
<Key ID="STR_EPOCH_PLAYER_312">
<Original>\n\nCannot fish while in combat.</Original>
<English>\n\nCannot fish while in combat.</English>
<German>\n\nSie können nicht im Kampf zu fischen.</German>
<Russian>\n\nВы не можете ловить рыбу в то время как в бою.</Russian>
<!-- <Spanish></Spanish> -->
<Dutch>\n\nVissen is niet mogelijk tijdens een conflictsituatie.</Dutch>
<French>\n\nVous ne pouvez pas pêcher pendant les combats.</French>
<Czech>Nemůžete ryby, když v boji.</Czech>
</Key>
<Key ID="STR_EPOCH_PLAYER_REPAIRV"> <Key ID="STR_EPOCH_PLAYER_REPAIRV">
<Original>Repair Vehicle</Original> <Original>Repair Vehicle</Original>
<English>Repair Vehicle</English> <English>Repair Vehicle</English>

View File

@@ -9,17 +9,13 @@ if ((owner _victim) == (owner _attacker)) exitWith {
}; };
_weapon = weaponState _attacker; _weapon = weaponState _attacker;
if (!isNil "_weapon") then { if (_weapon select 0 == "Throw") then
if (count _weapon != 0) then { {
if (_weapon select 0 == "Throw") then
{
_weapon = _weapon select 3; _weapon = _weapon select 3;
} }
else else
{ {
_weapon = _weapon select 0; _weapon = _weapon select 0;
};
};
}; };
_vehicle = typeOf (vehicle _attacker); _vehicle = typeOf (vehicle _attacker);

View File

@@ -1,11 +1,10 @@
private ["_invehicle","_isplayernearby","_playerObj","_myGroup","_PUID","_id","_playerUID","_playerName","_characterID","_timeout","_message","_magazines","_playerPos"]; private ["_invehicle","_isplayernearby","_playerObj","_myGroup","_id","_playerUID","_playerName","_characterID","_timeout","_message","_magazines","_playerPos"];
_playerUID = _this select 0; _playerUID = _this select 0;
_playerName = _this select 1; _playerName = _this select 1;
_playerObj = nil; _playerObj = nil;
_playerPos = []; _playerPos = [];
{ {
_PUID = [_x] call FNC_GetPlayerUID; if ((getPlayerUID _x) == _playerUID) exitWith {_playerObj = _x;};
if (_PUID == _playerUID) exitWith {_playerObj = _x;};
} count playableUnits; } count playableUnits;
if (isNil "_playerObj") then { if (isNil "_playerObj") then {
@@ -18,8 +17,8 @@ if (isNil "_playerObj") then {
if (isNil "_playerObj") exitWith { if (isNil "_playerObj") exitWith {
diag_log format["%1: nil player object, _this:%2", __FILE__, _this]; diag_log format["%1: nil player object, _this:%2", __FILE__, _this];
}; };
_PUID = [_playerObj] call FNC_GetPlayerUID;
diag_log format["get: %1 (%2), sent: %3 (%4)",typeName _PUID, _PUID, typeName _playerUID, _playerUID]; diag_log format["get: %1 (%2), sent: %3 (%4)",typeName (getPlayerUID _playerObj), getPlayerUID _playerObj, typeName _playerUID, _playerUID];
if (!isNull _playerObj) then { if (!isNull _playerObj) then {

View File

@@ -28,7 +28,7 @@ _isInfected = 0;
_model = ""; _model = "";
if (_playerID == "") then { if (_playerID == "") then {
_playerID = [_playerObj] call FNC_GetPlayerUID; _playerID = getPlayerUID _playerObj;
}; };
if ((_playerID == "") || (isNil "_playerID")) exitWith { if ((_playerID == "") || (isNil "_playerID")) exitWith {

View File

@@ -4,7 +4,7 @@ private ["_characterID","_playerObj","_playerID","_dummy","_worldspace","_state"
_characterID = _this select 0; _characterID = _this select 0;
_playerObj = _this select 1; _playerObj = _this select 1;
_playerID = [_playerObj] call FNC_GetPlayerUID; _playerID = getPlayerUID _playerObj;
if (isNull _playerObj) exitWith { if (isNull _playerObj) exitWith {
diag_log ("SETUP INIT FAILED: Exiting, player object null: " + str(_playerObj)); diag_log ("SETUP INIT FAILED: Exiting, player object null: " + str(_playerObj));
@@ -15,7 +15,7 @@ if (isNull _playerObj) exitWith {
_playerObj addMPEventHandler ["MPHit", {_this spawn fnc_plyrHit;}]; _playerObj addMPEventHandler ["MPHit", {_this spawn fnc_plyrHit;}];
if (_playerID == "") then { if (_playerID == "") then {
_playerID = [_playerObj] call FNC_GetPlayerUID; _playerID = getPlayerUID _playerObj;
}; };
if (_playerID == "") exitWith { if (_playerID == "") exitWith {
@@ -23,7 +23,7 @@ if (_playerID == "") exitWith {
}; };
private["_dummy"]; private["_dummy"];
_dummy = [_playerObj] call FNC_GetPlayerUID; _dummy = getPlayerUID _playerObj;
if ( _playerID != _dummy ) then { if ( _playerID != _dummy ) then {
diag_log format["DEBUG: _playerID miscompare with UID! _playerID:%1",_playerID]; diag_log format["DEBUG: _playerID miscompare with UID! _playerID:%1",_playerID];
_playerID = _dummy; _playerID = _dummy;

View File

@@ -203,9 +203,10 @@ if (_characterID != "0") then {
}; };
// Force gear updates for nearby vehicles/tents // Force gear updates for nearby vehicles/tents
_pos = _this select 0;
{ {
[_x, "gear"] call server_updateObject; [_x, "gear"] call server_updateObject;
} count (nearestObjects [_charPos, dayz_updateObjects, 10]); } count nearestObjects [_pos, dayz_updateObjects, 10];
//[_charPos] call server_updateNearbyObjects; //[_charPos] call server_updateNearbyObjects;
//Reset timer //Reset timer

View File

@@ -6,7 +6,8 @@ _worldspace = _this select 2;
_class = _this select 3; _class = _this select 3;
_obj = _this select 4; _obj = _this select 4;
_activatingplayer = _this select 5; _activatingplayer = _this select 5;
_activatingplayerUID = [_activatingplayer] call FNC_GetPlayerUID; _activatingplayerUID = (getPlayerUID _activatingplayer);
_proceed = false; _proceed = false;
_objectID = "0"; _objectID = "0";

View File

@@ -1,4 +1,4 @@
private ["_player","_PUID","_name","_traderid","_buyorsell","_data","_result","_key","_outcome","_clientID"]; private ["_player","_name","_traderid","_buyorsell","_data","_result","_key","_outcome","_clientID"];
_player = _this select 0; _player = _this select 0;
_traderID = _this select 1; _traderID = _this select 1;
@@ -10,12 +10,11 @@ _qty = _this select 6;
_clientID = owner _player; _clientID = owner _player;
_price = format ["%2x %1",_currency,_qty]; _price = format ["%2x %1",_currency,_qty];
_name = if (alive _player) then { name _player; } else { "Dead Player"; }; _name = if (alive _player) then { name _player; } else { "Dead Player"; };
_PUID = [_player] call FNC_GetPlayerUID;
if (_buyorsell == 0) then { //Buy if (_buyorsell == 0) then { //Buy
diag_log format["EPOCH SERVERTRADE: Player: %1 (%2) bought a %3 in/at %4 for %5", _name, _PUID, _classname, _traderCity, _price]; diag_log format["EPOCH SERVERTRADE: Player: %1 (%2) bought a %3 in/at %4 for %5", _name, (getPlayerUID _player), _classname, _traderCity, _price];
} else { //SELL } else { //SELL
diag_log format["EPOCH SERVERTRADE: Player: %1 (%2) sold a %3 in/at %4 for %5",_name, _PUID, _classname, _traderCity, _price]; diag_log format["EPOCH SERVERTRADE: Player: %1 (%2) sold a %3 in/at %4 for %5",_name, (getPlayerUID _player), _classname, _traderCity, _price];
}; };
if (DZE_ConfigTrader) then { if (DZE_ConfigTrader) then {

View File

@@ -99,7 +99,7 @@ _object_damage = {
}; };
_object_killed = { _object_killed = {
private["_hitpoints","_array","_hit","_PUID","_selection","_key","_damage"]; private["_hitpoints","_array","_hit","_selection","_key","_damage"];
_hitpoints = _object call vehicle_getHitpoints; _hitpoints = _object call vehicle_getHitpoints;
//_damage = damage _object; //_damage = damage _object;
_damage = 1; _damage = 1;
@@ -126,10 +126,9 @@ _object_killed = {
_objID = _object getVariable['ObjectID','0']; _objID = _object getVariable['ObjectID','0'];
_objUID = _object getVariable['ObjectUID','0']; _objUID = _object getVariable['ObjectUID','0'];
_worldSpace = getPosATL _object; _worldSpace = getPosATL _object;
_PUID = [_killer] call FNC_GetPlayerUID; if (getPlayerUID _killer != "") then {
if (_PUID != "") then {
_name = if (alive _killer) then { name _killer; } else { format["OBJECT %1", _killer]; }; _name = if (alive _killer) then { name _killer; } else { format["OBJECT %1", _killer]; };
diag_log format["Vehicle killed: Vehicle %1 (TYPE: %2), CharacterID: %3, ObjectID: %4, ObjectUID: %5, Position: %6, Killer: %7 (UID: %8)", _object, (typeOf _object), _charID, _objID, _objUID, _worldSpace, _name, _PUID]; diag_log format["Vehicle killed: Vehicle %1 (TYPE: %2), CharacterID: %3, ObjectID: %4, ObjectUID: %5, Position: %6, Killer: %7 (UID: %8)", _object, (typeOf _object), _charID, _objID, _objUID, _worldSpace, _name, (getPlayerUID _killer)];
} else { } else {
diag_log format["Vehicle killed: Vehicle %1 (TYPE: %2), CharacterID: %3, ObjectID: %4, ObjectUID: %5, Position: %6", _object, (typeOf _object), _charID, _objID, _objUID, _worldSpace]; diag_log format["Vehicle killed: Vehicle %1 (TYPE: %2), CharacterID: %3, ObjectID: %4, ObjectUID: %5, Position: %6", _object, (typeOf _object), _charID, _objID, _objUID, _worldSpace];
}; };

View File

@@ -815,7 +815,7 @@ server_checkHackers = {
}; };
server_spawnCleanFire = { server_spawnCleanFire = {
private ["_delQtyFP","_qty","_missionFires"]; private ["_delQtyFP","_qty","_delQtyNull","_missionFires"];
_missionFires = allMissionObjects "Land_Fire_DZ"; _missionFires = allMissionObjects "Land_Fire_DZ";
_delQtyFP = 0; _delQtyFP = 0;
{ {
@@ -828,7 +828,7 @@ server_spawnCleanFire = {
} count _missionFires; } count _missionFires;
if (_delQtyFP > 0) then { if (_delQtyFP > 0) then {
_qty = count _missionFires; _qty = count _missionFires;
diag_log (format["CLEANUP: Deleted %1 fireplaces out of %2",_delQtyFP,_qty]); diag_log (format["CLEANUP: Deleted %1 fireplaces out of %2",_delQtyNull,_qty]);
}; };
}; };
server_spawnCleanLoot = { server_spawnCleanLoot = {
@@ -863,7 +863,7 @@ server_spawnCleanLoot = {
}; };
}; };
sleep 0.001; sleep 0.001;
} forEach _missionObjs; } count _missionObjs;
if (_delQty > 0) then { if (_delQty > 0) then {
_qty = count _missionObjs; _qty = count _missionObjs;
diag_log (format["CLEANUP: Deleted %1 Loot Piles out of %2",_delQty,_qty]); diag_log (format["CLEANUP: Deleted %1 Loot Piles out of %2",_delQty,_qty]);
@@ -894,7 +894,7 @@ server_spawnCleanAnimals = {
}; };
}; };
sleep 0.001; sleep 0.001;
} forEach _missonAnimals; } count _missonAnimals;
if (_delQtyAnimal > 0) then { if (_delQtyAnimal > 0) then {
_qty = count _missonAnimals; _qty = count _missonAnimals;
diag_log (format["CLEANUP: Deleted %1 Animals out of %2",_delQtyAnimal,_qty]); diag_log (format["CLEANUP: Deleted %1 Animals out of %2",_delQtyAnimal,_qty]);
@@ -902,7 +902,7 @@ server_spawnCleanAnimals = {
}; };
server_logUnlockLockEvent = { server_logUnlockLockEvent = {
private["_player", "_obj", "_objectID", "_objectUID", "_statusText", "_PUID", "_status"]; private["_player", "_obj", "_objectID", "_objectUID", "_statusText", "_status"];
_player = _this select 0; _player = _this select 0;
_obj = _this select 1; _obj = _this select 1;
_status = _this select 2; _status = _this select 2;
@@ -914,7 +914,6 @@ server_logUnlockLockEvent = {
[_obj, "gear"] call server_updateObject; [_obj, "gear"] call server_updateObject;
_statusText = "LOCKED"; _statusText = "LOCKED";
}; };
_PUID = [_player] call FNC_GetPlayerUID; diag_log format["SAFE %5: ID:%1 UID:%2 BY %3(%4)", _objectID, _objectUID, (name _player), (getPlayerUID _player), _statusText];
diag_log format["SAFE %5: ID:%1 UID:%2 BY %3(%4)", _objectID, _objectUID, (name _player), _PUID, _statusText];
}; };
}; };

View File

@@ -11,9 +11,9 @@ AllowedVehiclesList = [
["CSJ_GyroC",3], ["CSJ_GyroC",3],
["CSJ_GyroCover",3], ["CSJ_GyroCover",3],
["CSJ_GyroP",3], ["CSJ_GyroP",3],
["datsun1_civil_1_open_DZE",3], ["datsun1_civil_1_open",3],
["datsun1_civil_2_covered_DZE",3], ["datsun1_civil_2_covered",3],
["datsun1_civil_3_open_DZE",3], ["datsun1_civil_3_open",3],
["GAZ_Vodnik_DZE",1], ["GAZ_Vodnik_DZE",1],
["GAZ_Vodnik_MedEvac",1], ["GAZ_Vodnik_MedEvac",1],
["GLT_M300_LT",3], ["GLT_M300_LT",3],
@@ -22,9 +22,9 @@ AllowedVehiclesList = [
["GNT_C185C",1], ["GNT_C185C",1],
["GNT_C185R",1], ["GNT_C185R",1],
["GNT_C185U",1], ["GNT_C185U",1],
["hilux1_civil_1_open_DZE",3], ["hilux1_civil_1_open",3],
["hilux1_civil_2_covered_DZE",3], ["hilux1_civil_2_covered",3],
["hilux1_civil_3_open_DZE",3], ["hilux1_civil_3_open_EP1",3],
["HMMWV_Ambulance",1], ["HMMWV_Ambulance",1],
["HMMWV_Ambulance_CZ_DES_EP1",1], ["HMMWV_Ambulance_CZ_DES_EP1",1],
["HMMWV_DES_EP1",3], ["HMMWV_DES_EP1",3],

View File

@@ -182,9 +182,6 @@ _unit_5 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["TK_CIV_Takistani03_EP1", [1963.8654, 12560.453, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["TK_CIV_Takistani03_EP1", [1963.8654, 12560.453, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_5 = _this; _unit_5 = _this;
_this setDir 404.32175; _this setDir 404.32175;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -214,9 +211,6 @@ _unit_7 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["TK_CIV_Woman03_EP1", [1957.4203, 12568.211, 9.1552734e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["TK_CIV_Woman03_EP1", [1957.4203, 12568.211, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_7 = _this; _unit_7 = _this;
_this setDir 39.660408; _this setDir 39.660408;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -237,9 +231,6 @@ _unit_9 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["TK_CIV_Woman02_EP1", [1953.5016, 12571.835], [], 0, "CAN_COLLIDE"]; _this = createAgent ["TK_CIV_Woman02_EP1", [1953.5016, 12571.835], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_9 = _this; _unit_9 = _this;
_this setDir 40.850948; _this setDir 40.850948;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -646,9 +637,6 @@ _unit_32 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Woodlander2", [433.19955, 5568.5366, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Woodlander2", [433.19955, 5568.5366, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_32 = _this; _unit_32 = _this;
_this setDir 68.34314; _this setDir 68.34314;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -723,9 +711,6 @@ _unit_35 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["TK_CIV_Takistani05_EP1", [386.61227, 5569.4438, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["TK_CIV_Takistani05_EP1", [386.61227, 5569.4438, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_35 = _this; _unit_35 = _this;
_this setDir 50.112614; _this setDir 50.112614;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -737,9 +722,6 @@ _unit_39 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Dr_Annie_Baker_EP1", [384.03485, 5573.4668, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Dr_Annie_Baker_EP1", [384.03485, 5573.4668, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_39 = _this; _unit_39 = _this;
_this setDir 58.586422; _this setDir 58.586422;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -885,9 +867,6 @@ _unit_40 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Profiteer3", [417.94049, 5591.2446], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Profiteer3", [417.94049, 5591.2446], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_40 = _this; _unit_40 = _this;
_this setDir 184.40666; _this setDir 184.40666;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -899,9 +878,6 @@ _unit_42 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Profiteer1", [423.12558, 5590.04, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Profiteer1", [423.12558, 5590.04, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_42 = _this; _unit_42 = _this;
_this setDir 191.358; _this setDir 191.358;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -1047,9 +1023,6 @@ _unit_47 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Functionary1", [431.4043, 5574.6333, 0.091463022], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Functionary1", [431.4043, 5574.6333, 0.091463022], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_47 = _this; _unit_47 = _this;
_this setDir 89.942528; _this setDir 89.942528;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -1133,9 +1106,6 @@ _unit_52 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Profiteer2", [10863.553, 6316.834, 7.0390654], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Profiteer2", [10863.553, 6316.834, 7.0390654], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_52 = _this; _unit_52 = _this;
_this setDir 686.38519; _this setDir 686.38519;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -1147,9 +1117,6 @@ _unit_53 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Damsel4", [10855.335, 6322.541, 7.0167804], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Damsel4", [10855.335, 6322.541, 7.0167804], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_53 = _this; _unit_53 = _this;
_this setDir 470.62384; _this setDir 470.62384;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -1251,9 +1218,6 @@ _unit_55 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["TK_CIV_Takistani06_EP1", [1954.4617, 12580.146, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["TK_CIV_Takistani06_EP1", [1954.4617, 12580.146, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_55 = _this; _unit_55 = _this;
_this setDir -211.49269; _this setDir -211.49269;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -1265,9 +1229,6 @@ _unit_56 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["TK_CIV_Takistani04_EP1", [1959.4484, 12580.087, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["TK_CIV_Takistani04_EP1", [1959.4484, 12580.087, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_56 = _this; _unit_56 = _this;
_this setDir -123.33997; _this setDir -123.33997;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -1360,9 +1321,6 @@ _unit_59 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["TK_CIV_Takistani02_EP1", [10848.938, 6320.2627, 8.0427837], [], 0, "CAN_COLLIDE"]; _this = createAgent ["TK_CIV_Takistani02_EP1", [10848.938, 6320.2627, 8.0427837], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_59 = _this; _unit_59 = _this;
_this setDir 77.728821; _this setDir 77.728821;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -1579,9 +1537,6 @@ _unit_65 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Pilot", [5288.4131, 11156.97, 2.2888184e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Pilot", [5288.4131, 11156.97, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_65 = _this; _unit_65 = _this;
_this setDir 135.34708; _this setDir 135.34708;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -1898,9 +1853,6 @@ _unit_74 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Sportswoman5", [392.18158, 5563.1147, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Sportswoman5", [392.18158, 5563.1147, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_74 = _this; _unit_74 = _this;
_this setDir 58.114418; _this setDir 58.114418;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -1921,9 +1873,6 @@ _unit_79 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Woodlander3", [7408.4741, 96.801483, 0.24309185], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Woodlander3", [7408.4741, 96.801483, 0.24309185], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_79 = _this; _unit_79 = _this;
_this setDir 122.68694; _this setDir 122.68694;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -1971,9 +1920,6 @@ _unit_81 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Citizen4", [11127.252, 12662.867, -0.010949398], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Citizen4", [11127.252, 12662.867, -0.010949398], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_81 = _this; _unit_81 = _this;
_this setDir 198.31847; _this setDir 198.31847;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -2663,9 +2609,6 @@ _unit_119 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["TK_GUE_Soldier_Sniper_EP1", [748.84283, 10485.521, 0.00012207031], [], 0, "CAN_COLLIDE"]; _this = createAgent ["TK_GUE_Soldier_Sniper_EP1", [748.84283, 10485.521, 0.00012207031], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_119 = _this; _unit_119 = _this;
_this setDir 138.18484; _this setDir 138.18484;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2884,9 +2827,6 @@ _unit_121 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Soldier_MG_PKM_PMC", [8030.7441, 2005.8091, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Soldier_MG_PKM_PMC", [8030.7441, 2005.8091, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_121 = _this; _unit_121 = _this;
_this setDir 175.9279; _this setDir 175.9279;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";

View File

@@ -11,9 +11,9 @@ AllowedVehiclesList = [
["CSJ_GyroC",3], ["CSJ_GyroC",3],
["CSJ_GyroCover",3], ["CSJ_GyroCover",3],
["CSJ_GyroP",3], ["CSJ_GyroP",3],
["datsun1_civil_1_open_DZE",3], ["datsun1_civil_1_open",3],
["datsun1_civil_2_covered_DZE",3], ["datsun1_civil_2_covered",3],
["datsun1_civil_3_open_DZE",3], ["datsun1_civil_3_open",3],
["GAZ_Vodnik_DZE",1], ["GAZ_Vodnik_DZE",1],
["GAZ_Vodnik_MedEvac",1], ["GAZ_Vodnik_MedEvac",1],
["GLT_M300_LT",3], ["GLT_M300_LT",3],
@@ -22,9 +22,9 @@ AllowedVehiclesList = [
["GNT_C185C",1], ["GNT_C185C",1],
["GNT_C185R",1], ["GNT_C185R",1],
["GNT_C185U",1], ["GNT_C185U",1],
["hilux1_civil_1_open_DZE",3], ["hilux1_civil_1_open",3],
["hilux1_civil_2_covered_DZE",3], ["hilux1_civil_2_covered",3],
["hilux1_civil_3_open_DZE",3], ["hilux1_civil_3_open_EP1",3],
["HMMWV_Ambulance",1], ["HMMWV_Ambulance",1],
["HMMWV_Ambulance_CZ_DES_EP1",1], ["HMMWV_Ambulance_CZ_DES_EP1",1],
["HMMWV_DES_EP1",3], ["HMMWV_DES_EP1",3],

View File

@@ -11,9 +11,9 @@ AllowedVehiclesList = [
["CSJ_GyroC",3], ["CSJ_GyroC",3],
["CSJ_GyroCover",3], ["CSJ_GyroCover",3],
["CSJ_GyroP",3], ["CSJ_GyroP",3],
["datsun1_civil_1_open_DZE",3], ["datsun1_civil_1_open",3],
["datsun1_civil_2_covered_DZE",3], ["datsun1_civil_2_covered",3],
["datsun1_civil_3_open_DZE",3], ["datsun1_civil_3_open",3],
["Fishing_Boat",3], ["Fishing_Boat",3],
["GAZ_Vodnik_DZE",1], ["GAZ_Vodnik_DZE",1],
["GAZ_Vodnik_MedEvac",1], ["GAZ_Vodnik_MedEvac",1],
@@ -23,9 +23,9 @@ AllowedVehiclesList = [
["GNT_C185C",1], ["GNT_C185C",1],
["GNT_C185R",1], ["GNT_C185R",1],
["GNT_C185U",1], ["GNT_C185U",1],
["hilux1_civil_1_open_DZE",3], ["hilux1_civil_1_open",3],
["hilux1_civil_2_covered_DZE",3], ["hilux1_civil_2_covered",3],
["hilux1_civil_3_open_DZE",3], ["hilux1_civil_3_open_EP1",3],
["HMMWV_Ambulance",1], ["HMMWV_Ambulance",1],
["HMMWV_Ambulance_CZ_DES_EP1",1], ["HMMWV_Ambulance_CZ_DES_EP1",1],
["HMMWV_DES_EP1",3], ["HMMWV_DES_EP1",3],

View File

@@ -64,9 +64,6 @@ _unit_13 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Profiteer4", [11449.484, 11341.03, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Profiteer4", [11449.484, 11341.03, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_13 = _this; _unit_13 = _this;
_this setDir 34.525925; _this setDir 34.525925;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -77,9 +74,6 @@ _unit_17 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Villager3", [7996.1021, 2899.0759, 0.6355527], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Villager3", [7996.1021, 2899.0759, 0.6355527], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_17 = _this; _unit_17 = _this;
_this setDir 86.85891; _this setDir 86.85891;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -145,9 +139,6 @@ _unit_56 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Worker3", [4041.6206, 11668.891, 0.23954971], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Worker3", [4041.6206, 11668.891, 0.23954971], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_56 = _this; _unit_56 = _this;
_this setDir 24.912832; _this setDir 24.912832;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -158,9 +149,6 @@ _unit_57 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["CIV_EuroMan01_EP1", [4064.0681, 11680.065, -0.038146973], [], 0, "CAN_COLLIDE"]; _this = createAgent ["CIV_EuroMan01_EP1", [4064.0681, 11680.065, -0.038146973], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_57 = _this; _unit_57 = _this;
_this setDir 231.00745; _this setDir 231.00745;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -171,9 +159,6 @@ _unit_58 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_WorkWoman5", [4071.9915, 11676.731, 0.54440308], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_WorkWoman5", [4071.9915, 11676.731, 0.54440308], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_58 = _this; _unit_58 = _this;
_this setDir 566.81744; _this setDir 566.81744;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -184,9 +169,6 @@ _unit_59 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["TK_GUE_Soldier_5_EP1", [4054.218, 11664.668, -0.51617432], [], 0, "CAN_COLLIDE"]; _this = createAgent ["TK_GUE_Soldier_5_EP1", [4054.218, 11664.668, -0.51617432], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_59 = _this; _unit_59 = _this;
_this setDir 422.9967; _this setDir 422.9967;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -197,9 +179,6 @@ _unit_60 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["CIV_EuroMan02_EP1", [4058.0457, 11678.723, 0.33944702], [], 0, "CAN_COLLIDE"]; _this = createAgent ["CIV_EuroMan02_EP1", [4058.0457, 11678.723, 0.33944702], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_60 = _this; _unit_60 = _this;
_this setDir 89.890854; _this setDir 89.890854;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -210,9 +189,6 @@ _unit_62 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Dr_Hladik_EP1", [6314.0962, 7791.5308, 0.51730686], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Dr_Hladik_EP1", [6314.0962, 7791.5308, 0.51730686], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_62 = _this; _unit_62 = _this;
_this setDir 577.32629; _this setDir 577.32629;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -689,9 +665,6 @@ _unit_73 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Functionary1", [12946.349, 12766.593, 2.0980835e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Functionary1", [12946.349, 12766.593, 2.0980835e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_73 = _this; _unit_73 = _this;
_this setDir 194.24156; _this setDir 194.24156;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -702,9 +675,6 @@ _unit_74 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Woodlander1", [11471.179, 11361.226, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Woodlander1", [11471.179, 11361.226, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_74 = _this; _unit_74 = _this;
_this setDir 250.1544; _this setDir 250.1544;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -715,9 +685,6 @@ _unit_75 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_WorkWoman1", [11463.931, 11351.671, 0.94462103], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_WorkWoman1", [11463.931, 11351.671, 0.94462103], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_75 = _this; _unit_75 = _this;
_this setDir 261.27719; _this setDir 261.27719;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -728,9 +695,6 @@ _unit_78 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Rocker4", [11465.548, 11354.459], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Rocker4", [11465.548, 11354.459], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_78 = _this; _unit_78 = _this;
_this setDir 310.03851; _this setDir 310.03851;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -741,9 +705,6 @@ _unit_79 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Citizen3", [11462.307, 11365.972, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Citizen3", [11462.307, 11365.972, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_79 = _this; _unit_79 = _this;
_this setDir 125.74001; _this setDir 125.74001;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -754,9 +715,6 @@ _unit_82 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Dr_Annie_Baker_EP1", [11472.008, 11370.638], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Dr_Annie_Baker_EP1", [11472.008, 11370.638], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_82 = _this; _unit_82 = _this;
_this setDir 208.20467; _this setDir 208.20467;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -767,9 +725,6 @@ _unit_84 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["TK_CIV_Takistani04_EP1", [6321.0005, 7794.4478, 0.98069924], [], 0, "CAN_COLLIDE"]; _this = createAgent ["TK_CIV_Takistani04_EP1", [6321.0005, 7794.4478, 0.98069924], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_84 = _this; _unit_84 = _this;
_this setDir 359.64191; _this setDir 359.64191;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -878,9 +833,6 @@ _unit_90 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Citizen4", [13530.905, 6356.7388, 1.7166138e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Citizen4", [13530.905, 6356.7388, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_90 = _this; _unit_90 = _this;
_this setDir 102.75758; _this setDir 102.75758;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -891,9 +843,6 @@ _unit_91 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Citizen1", [4360.6211, 2260.9841, 3.8146973e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Citizen1", [4360.6211, 2260.9841, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_91 = _this; _unit_91 = _this;
_this setDir 196.69872; _this setDir 196.69872;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -921,9 +870,6 @@ _unit_94 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Pilot_EP1", [6317.0498, 7797.918, -0.28563881], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Pilot_EP1", [6317.0498, 7797.918, -0.28563881], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_94 = _this; _unit_94 = _this;
_this setDir 464.17493; _this setDir 464.17493;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -934,9 +880,6 @@ _unit_95 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Rita_Ensler_EP1", [6310.7803, 7794.5054, 0.88001078], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Rita_Ensler_EP1", [6310.7803, 7794.5054, 0.88001078], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_95 = _this; _unit_95 = _this;
_this setDir -114.43345; _this setDir -114.43345;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1099,9 +1042,6 @@ _unit_97 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Worker2", [12061.648, 12636.292, 0.020880492], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Worker2", [12061.648, 12636.292, 0.020880492], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_97 = _this; _unit_97 = _this;
_this setDir 19.92712; _this setDir 19.92712;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1168,9 +1108,6 @@ _unit_108 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_MG", [1623.1722, 7797.7886, 0.25734121], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_MG", [1623.1722, 7797.7886, 0.25734121], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_108 = _this; _unit_108 = _this;
_this setDir 274.59872; _this setDir 274.59872;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1305,9 +1242,6 @@ _unit_118 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Profiteer4", [6300.312, 7800.5874, -0.034530878], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Profiteer4", [6300.312, 7800.5874, -0.034530878], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_118 = _this; _unit_118 = _this;
_this setDir -49.359165; _this setDir -49.359165;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1335,9 +1269,6 @@ _unit_122 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Woodlander3", [6317.9883, 7789.3345, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Woodlander3", [6317.9883, 7789.3345, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_122 = _this; _unit_122 = _this;
_this setDir -130.79149; _this setDir -130.79149;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1368,9 +1299,6 @@ _unit_124 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["HouseWife1", [13468.382, 5439.5752, 2.8821261], [], 0, "CAN_COLLIDE"]; _this = createAgent ["HouseWife1", [13468.382, 5439.5752, 2.8821261], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_124 = _this; _unit_124 = _this;
_this setDir -91.741302; _this setDir -91.741302;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1407,9 +1335,6 @@ _unit_128 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Doctor", [4059.437, 11660.436], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Doctor", [4059.437, 11660.436], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_128 = _this; _unit_128 = _this;
_this setDir 24.266853; _this setDir 24.266853;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1554,9 +1479,6 @@ _unit_132 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Woodlander2", [6321.0439, 7781.0288], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Woodlander2", [6321.0439, 7781.0288], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_132 = _this; _unit_132 = _this;
_this setDir 9.6638927; _this setDir 9.6638927;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";

View File

@@ -11,9 +11,9 @@ AllowedVehiclesList = [
["CSJ_GyroC",3], ["CSJ_GyroC",3],
["CSJ_GyroCover",3], ["CSJ_GyroCover",3],
["CSJ_GyroP",3], ["CSJ_GyroP",3],
["datsun1_civil_1_open_DZE",3], ["datsun1_civil_1_open",3],
["datsun1_civil_2_covered_DZE",3], ["datsun1_civil_2_covered",3],
["datsun1_civil_3_open_DZE",3], ["datsun1_civil_3_open",3],
["Fishing_Boat",3], ["Fishing_Boat",3],
["GAZ_Vodnik_DZE",1], ["GAZ_Vodnik_DZE",1],
["GAZ_Vodnik_MedEvac",1], ["GAZ_Vodnik_MedEvac",1],
@@ -23,9 +23,9 @@ AllowedVehiclesList = [
["GNT_C185C",1], ["GNT_C185C",1],
["GNT_C185R",1], ["GNT_C185R",1],
["GNT_C185U",1], ["GNT_C185U",1],
["hilux1_civil_1_open_DZE",3], ["hilux1_civil_1_open",3],
["hilux1_civil_2_covered_DZE",3], ["hilux1_civil_2_covered",3],
["hilux1_civil_3_open_DZE",3], ["hilux1_civil_3_open_EP1",3],
["HMMWV_Ambulance",1], ["HMMWV_Ambulance",1],
["HMMWV_Ambulance_CZ_DES_EP1",1], ["HMMWV_Ambulance_CZ_DES_EP1",1],
["HMMWV_DES_EP1",3], ["HMMWV_DES_EP1",3],

View File

@@ -2635,9 +2635,6 @@ _unit_45 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Worker2", [5976.3008, 6163.7275, 1.9073486e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Worker2", [5976.3008, 6163.7275, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_45 = _this; _unit_45 = _this;
_this setDir -140.00029; _this setDir -140.00029;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2649,9 +2646,6 @@ _unit_47 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_MG", [8414.8604, 3368.6594, -2.8610229e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_MG", [8414.8604, 3368.6594, -2.8610229e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_47 = _this; _unit_47 = _this;
_this setDir -27.777979; _this setDir -27.777979;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2663,9 +2657,6 @@ _unit_49 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Soldier_GL_M16A2_PMC", [7222.3716, 2132.9478, 1.5258789e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Soldier_GL_M16A2_PMC", [7222.3716, 2132.9478, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_49 = _this; _unit_49 = _this;
_this setDir -293.24121; _this setDir -293.24121;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2677,9 +2668,6 @@ _unit_51 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Villager3", [2648.3003, 7122.5845, -1.9073486e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Villager3", [2648.3003, 7122.5845, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_51 = _this; _unit_51 = _this;
_this setDir -22.2006; _this setDir -22.2006;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2691,9 +2679,6 @@ _unit_53 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["HouseWife1", [8781.6064, 5191.5684, 4.7326088e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["HouseWife1", [8781.6064, 5191.5684, 4.7326088e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_53 = _this; _unit_53 = _this;
_this setDir -187.81914; _this setDir -187.81914;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2705,9 +2690,6 @@ _unit_55 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["US_Delta_Force_Assault_EP1", [6272.8584, 1274.2034, -1.9073486e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["US_Delta_Force_Assault_EP1", [6272.8584, 1274.2034, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_55 = _this; _unit_55 = _this;
_this setDir -93.52697; _this setDir -93.52697;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2719,9 +2701,6 @@ _unit_57 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Citizen4", [6286.2813, 1298.1885, 1.9073486e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Citizen4", [6286.2813, 1298.1885, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_57 = _this; _unit_57 = _this;
_this setDir -108.68906; _this setDir -108.68906;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2733,9 +2712,6 @@ _unit_59 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Citizen1", [8407.6299, 3378.7595, 1.6212463e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Citizen1", [8407.6299, 3378.7595, 1.6212463e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_59 = _this; _unit_59 = _this;
_this setDir -253.03992; _this setDir -253.03992;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2763,9 +2739,6 @@ _unit_62 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Citizen3", [4971.9692, 5114.3472], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Citizen3", [4971.9692, 5114.3472], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_62 = _this; _unit_62 = _this;
_this setDir -83.308296; _this setDir -83.308296;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2777,9 +2750,6 @@ _unit_64 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Woodlander1", [4979.2168, 5139.1733, 6.6757202e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Woodlander1", [4979.2168, 5139.1733, 6.6757202e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_64 = _this; _unit_64 = _this;
_this setDir -181.55573; _this setDir -181.55573;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2791,9 +2761,6 @@ _unit_66 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_WorkWoman1", [4965.9014, 5108.644, 1.9073486e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_WorkWoman1", [4965.9014, 5108.644, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_66 = _this; _unit_66 = _this;
_this setDir 2.7557797; _this setDir 2.7557797;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2805,9 +2772,6 @@ _unit_68 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Dr_Annie_Baker_EP1", [4965.6421, 5115.1631, 1.1444092e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Dr_Annie_Baker_EP1", [4965.6421, 5115.1631, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_68 = _this; _unit_68 = _this;
_this setDir 73.497513; _this setDir 73.497513;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2819,9 +2783,6 @@ _unit_70 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Profiteer4", [4957.1533, 5126.5654, 7.6293945e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Profiteer4", [4957.1533, 5126.5654, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_70 = _this; _unit_70 = _this;
_this setDir 110.76637; _this setDir 110.76637;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2833,9 +2794,6 @@ _unit_72 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Rocker4", [4971.4492, 5109.6177, 9.5367432e-007], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Rocker4", [4971.4492, 5109.6177, 9.5367432e-007], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_72 = _this; _unit_72 = _this;
_this setDir -40.860092; _this setDir -40.860092;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2847,9 +2805,6 @@ _unit_74 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["CIV_EuroMan02_EP1", [1277.3499, 9078.915], [], 0, "CAN_COLLIDE"]; _this = createAgent ["CIV_EuroMan02_EP1", [1277.3499, 9078.915], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_74 = _this; _unit_74 = _this;
_this setDir 171.43173; _this setDir 171.43173;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2861,9 +2816,6 @@ _unit_76 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Woodlander3", [1288.8369, 9070.9072], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Woodlander3", [1288.8369, 9070.9072], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_76 = _this; _unit_76 = _this;
_this setDir -157.63625; _this setDir -157.63625;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2875,9 +2827,6 @@ _unit_78 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Rita_Ensler_EP1", [1272.0219, 9076.0498, 8.7738037e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Rita_Ensler_EP1", [1272.0219, 9076.0498, 8.7738037e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_78 = _this; _unit_78 = _this;
_this setDir 116.10448; _this setDir 116.10448;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2889,9 +2838,6 @@ _unit_80 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Dr_Hladik_EP1", [1271.2402, 9071.4688, 7.6293945e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Dr_Hladik_EP1", [1271.2402, 9071.4688, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_80 = _this; _unit_80 = _this;
_this setDir 66.620392; _this setDir 66.620392;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2903,9 +2849,6 @@ _unit_82 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Worker3", [1289.3068, 9065.6982, 1.9073486e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Worker3", [1289.3068, 9065.6982, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_82 = _this; _unit_82 = _this;
_this setDir -110.7572; _this setDir -110.7572;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2917,9 +2860,6 @@ _unit_84 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["CIV_EuroMan01_EP1", [1280.7538, 9076.2578, 3.8146973e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["CIV_EuroMan01_EP1", [1280.7538, 9076.2578, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_84 = _this; _unit_84 = _this;
_this setDir -110.97326; _this setDir -110.97326;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2931,9 +2871,6 @@ _unit_86 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Pilot_EP1", [1996.1123, 1202.0564, 2.3841858e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Pilot_EP1", [1996.1123, 1202.0564, 2.3841858e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_86 = _this; _unit_86 = _this;
_this setDir 86.784157; _this setDir 86.784157;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2945,9 +2882,6 @@ _unit_88 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["TK_GUE_Soldier_5_EP1", [1995.3817, 1153.9949, 1.7642975e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["TK_GUE_Soldier_5_EP1", [1995.3817, 1153.9949, 1.7642975e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_88 = _this; _unit_88 = _this;
_this setDir 56.780041; _this setDir 56.780041;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2959,9 +2893,6 @@ _unit_90 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_WorkWoman5", [2002.8221, 1203.0331, -4.529953e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_WorkWoman5", [2002.8221, 1203.0331, -4.529953e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_90 = _this; _unit_90 = _this;
_this setDir -105.09073; _this setDir -105.09073;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2973,9 +2904,6 @@ _unit_92 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Doctor", [1998.7803, 1197.3105, 3.3378601e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Doctor", [1998.7803, 1197.3105, 3.3378601e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_92 = _this; _unit_92 = _this;
_this setDir 9.4260817; _this setDir 9.4260817;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2987,9 +2915,6 @@ _unit_94 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["UN_CDF_Soldier_Pilot_EP1", [1988.5029, 1124.8167, 4.7683716e-007], [], 0, "CAN_COLLIDE"]; _this = createAgent ["UN_CDF_Soldier_Pilot_EP1", [1988.5029, 1124.8167, 4.7683716e-007], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_94 = _this; _unit_94 = _this;
_this setDir 78.213387; _this setDir 78.213387;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -3001,9 +2926,6 @@ _unit_96 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["TK_CIV_Takistani04_EP1", [1999.0026, 1207.135, 6.1988831e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["TK_CIV_Takistani04_EP1", [1999.0026, 1207.135, 6.1988831e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_96 = _this; _unit_96 = _this;
_this setDir -170.20198; _this setDir -170.20198;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";

View File

@@ -11,9 +11,9 @@ AllowedVehiclesList = [
["CSJ_GyroC",3], ["CSJ_GyroC",3],
["CSJ_GyroCover",3], ["CSJ_GyroCover",3],
["CSJ_GyroP",3], ["CSJ_GyroP",3],
["datsun1_civil_1_open_DZE",3], ["datsun1_civil_1_open",3],
["datsun1_civil_2_covered_DZE",3], ["datsun1_civil_2_covered",3],
["datsun1_civil_3_open_DZE",3], ["datsun1_civil_3_open",3],
["Fishing_Boat",3], ["Fishing_Boat",3],
["GAZ_Vodnik_DZE",1], ["GAZ_Vodnik_DZE",1],
["GAZ_Vodnik_MedEvac",1], ["GAZ_Vodnik_MedEvac",1],
@@ -23,9 +23,9 @@ AllowedVehiclesList = [
["GNT_C185C",1], ["GNT_C185C",1],
["GNT_C185R",1], ["GNT_C185R",1],
["GNT_C185U",1], ["GNT_C185U",1],
["hilux1_civil_1_open_DZE",3], ["hilux1_civil_1_open",3],
["hilux1_civil_2_covered_DZE",3], ["hilux1_civil_2_covered",3],
["hilux1_civil_3_open_DZE",3], ["hilux1_civil_3_open_EP1",3],
["HMMWV_Ambulance",1], ["HMMWV_Ambulance",1],
["HMMWV_Ambulance_CZ_DES_EP1",1], ["HMMWV_Ambulance_CZ_DES_EP1",1],
["HMMWV_DES_EP1",3], ["HMMWV_DES_EP1",3],

View File

@@ -37,9 +37,6 @@ _unit_112 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_3", [7344.2422, 4301.9624], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_3", [7344.2422, 4301.9624], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_112 = _this; _unit_112 = _this;
_this setDir 70.416916; _this setDir 70.416916;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -59,9 +56,6 @@ _unit_128 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Soldier_Sniper_PMC", [15598.164, 16402.732, -7.6293945e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Soldier_Sniper_PMC", [15598.164, 16402.732, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_128 = _this; _unit_128 = _this;
_this setDir -94.840897; _this setDir -94.840897;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -73,9 +67,6 @@ _unit_131 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Woodlander3", [15579.386, 16376.245], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Woodlander3", [15579.386, 16376.245], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_131 = _this; _unit_131 = _this;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
_this setUnitAbility 0.60000002; _this setUnitAbility 0.60000002;
@@ -94,9 +85,6 @@ _unit_133 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_Pilot", [16555.693, 10161.202, -2.6702881e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_Pilot", [16555.693, 10161.202, -2.6702881e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_133 = _this; _unit_133 = _this;
_this setDir -4.1776338; _this setDir -4.1776338;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -108,9 +96,6 @@ _unit_140 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Worker2", [17503.697, 7155.4609, -1.5258789e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Worker2", [17503.697, 7155.4609, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_140 = _this; _unit_140 = _this;
_this setDir -88.219208; _this setDir -88.219208;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -122,9 +107,6 @@ _unit_143 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Worker2", [4075.8738, 7263.9927, -0.15314865], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Worker2", [4075.8738, 7263.9927, -0.15314865], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_143 = _this; _unit_143 = _this;
_this setDir -94.388802; _this setDir -94.388802;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -136,9 +118,6 @@ _unit_145 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Reynolds_PMC", [9864.4287, 7471.3115, 1.5258789e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Reynolds_PMC", [9864.4287, 7471.3115, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_144 = _this; _unit_144 = _this;
_this setDir -76.576241; _this setDir -76.576241;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -163,9 +142,6 @@ _unit_100 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Doctor", [11710.82, 15222.83, 4.5776367e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Doctor", [11710.82, 15222.83, 4.5776367e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_27 = _this; _unit_27 = _this;
_this setDir 230.87508; _this setDir 230.87508;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -177,9 +153,6 @@ _unit_101 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Soldier_Sniper_KSVK_PMC", [11686.63, 15193.147, -2.2888184e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Soldier_Sniper_KSVK_PMC", [11686.63, 15193.147, -2.2888184e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_101 = _this; _unit_101 = _this;
_this setDir 19.652651; _this setDir 19.652651;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -191,9 +164,6 @@ _unit_102 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Soldier_GL_PMC", [11684.132, 15195.753, 2.2888184e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Soldier_GL_PMC", [11684.132, 15195.753, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_102 = _this; _unit_102 = _this;
_this setDir -299.2114; _this setDir -299.2114;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -205,9 +175,6 @@ _unit_103 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Citizen3", [11707.938, 15225.799], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Citizen3", [11707.938, 15225.799], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_103 = _this; _unit_103 = _this;
_this setDir 222.93503; _this setDir 222.93503;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -219,9 +186,6 @@ _unit_104 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Worker4", [11701.782, 15231.117, 7.6293945e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Worker4", [11701.782, 15231.117, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_104 = _this; _unit_104 = _this;
_this setDir 222.73032; _this setDir 222.73032;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -233,9 +197,6 @@ _unit_105 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Woodlander4", [11687.524, 15226.847, 1.5258789e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Woodlander4", [11687.524, 15226.847, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_105 = _this; _unit_105 = _this;
_this setDir -50.854939; _this setDir -50.854939;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -255,9 +216,6 @@ _unit_106 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Woodlander4", [5552.4077, 8770.1514, -3.8146973e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Woodlander4", [5552.4077, 8770.1514, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_106 = _this; _unit_106 = _this;
_this setDir -379.36389; _this setDir -379.36389;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -269,9 +227,6 @@ _unit_107 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Worker4", [5542.8452, 8758.9189, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Worker4", [5542.8452, 8758.9189, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_107 = _this; _unit_107 = _this;
_this setDir -20.602602; _this setDir -20.602602;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -283,9 +238,6 @@ _unit_108 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Citizen3", [5538.1587, 8755.9873, -2.2888184e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Citizen3", [5538.1587, 8755.9873, -2.2888184e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_108 = _this; _unit_108 = _this;
_this setDir -25.471672; _this setDir -25.471672;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -297,9 +249,6 @@ _unit_109 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Soldier_Sniper_KSVK_PMC", [5531.3525, 8754.4307, 1.1444092e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Soldier_Sniper_KSVK_PMC", [5531.3525, 8754.4307, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_109 = _this; _unit_109 = _this;
_this setDir -55.216373; _this setDir -55.216373;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -311,9 +260,6 @@ _unit_110 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Soldier_GL_PMC", [5528.4814, 8753.5547, 1.1444092e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Soldier_GL_PMC", [5528.4814, 8753.5547, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_110 = _this; _unit_110 = _this;
_this setDir 16.056473; _this setDir 16.056473;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -325,9 +271,6 @@ _unit_111 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Doctor", [5523.5796, 8750.2285, 3.8146973e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Doctor", [5523.5796, 8750.2285, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_111 = _this; _unit_111 = _this;
_this setDir -18.214668; _this setDir -18.214668;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -347,9 +290,6 @@ _unit_113 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Citizen3", [7357.0015, 4325.874, 3.8146973e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Citizen3", [7357.0015, 4325.874, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_113 = _this; _unit_113 = _this;
_this setDir 27.519766; _this setDir 27.519766;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -361,9 +301,6 @@ _unit_114 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Worker4", [7350.311, 4331.0913, 7.6293945e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Worker4", [7350.311, 4331.0913, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_114 = _this; _unit_114 = _this;
_this setDir 51.095901; _this setDir 51.095901;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -375,9 +312,6 @@ _unit_115 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Soldier_GL_PMC", [7361.0786, 4331.8047, -3.8146973e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Soldier_GL_PMC", [7361.0786, 4331.8047, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_115 = _this; _unit_115 = _this;
_this setDir -158.64336; _this setDir -158.64336;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -389,9 +323,6 @@ _unit_116 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Soldier_Sniper_KSVK_PMC", [7358.4722, 4332.5903, 3.8146973e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Soldier_Sniper_KSVK_PMC", [7358.4722, 4332.5903, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_116 = _this; _unit_116 = _this;
_this setDir 170.36325; _this setDir 170.36325;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -403,9 +334,6 @@ _unit_117 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Doctor", [7398.853, 4296.9365, -7.6293945e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Doctor", [7398.853, 4296.9365, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_117 = _this; _unit_117 = _this;
_this setDir -106.97213; _this setDir -106.97213;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -425,9 +353,6 @@ _unit_118 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Doctor", [15295.845, 9287.3516, 1.7166138e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Doctor", [15295.845, 9287.3516, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_118 = _this; _unit_118 = _this;
_this setDir 82.842331; _this setDir 82.842331;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -439,9 +364,6 @@ _unit_119 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Soldier_Sniper_KSVK_PMC", [15318.384, 9304.9199, -4.7683716e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Soldier_Sniper_KSVK_PMC", [15318.384, 9304.9199, -4.7683716e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_119 = _this; _unit_119 = _this;
_this setDir 186.42917; _this setDir 186.42917;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -453,9 +375,6 @@ _unit_120 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Soldier_GL_PMC", [15313.905, 9304.9209, -5.7220459e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Soldier_GL_PMC", [15313.905, 9304.9209, -5.7220459e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_120 = _this; _unit_120 = _this;
_this setDir -180.25139; _this setDir -180.25139;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -467,9 +386,6 @@ _unit_121 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Woodlander4", [15318.999, 9260.8164, 1.7166138e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Woodlander4", [15318.999, 9260.8164, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_121 = _this; _unit_121 = _this;
_this setDir -92.110161; _this setDir -92.110161;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -481,9 +397,6 @@ _unit_122 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Citizen3", [15299.092, 9303.5088, 1.6212463e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Citizen3", [15299.092, 9303.5088, 1.6212463e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_122 = _this; _unit_122 = _this;
_this setDir 180.97282; _this setDir 180.97282;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -495,9 +408,6 @@ _unit_123 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Worker4", [15306.199, 9303.7803, 2.9563904e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Worker4", [15306.199, 9303.7803, 2.9563904e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_123 = _this; _unit_123 = _this;
_this setDir -179.09961; _this setDir -179.09961;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -517,9 +427,6 @@ _unit_124 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Woodlander1", [10938.677, 651.23663, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Woodlander1", [10938.677, 651.23663, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_124 = _this; _unit_124 = _this;
_this setDir 28.1598; _this setDir 28.1598;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -531,9 +438,6 @@ _unit_125 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Worker1", [10966.954, 654.58276, 0.97554183], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Worker1", [10966.954, 654.58276, 0.97554183], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_125 = _this; _unit_125 = _this;
_this setDir 224.19429; _this setDir 224.19429;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -545,9 +449,6 @@ _unit_126 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Farmwife5", [10954.223, 658.16821, 0.22649978], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Farmwife5", [10954.223, 658.16821, 0.22649978], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_126 = _this; _unit_126 = _this;
_this setDir 124.9443; _this setDir 124.9443;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -559,9 +460,6 @@ _unit_127 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Dr_Hladik_EP1", [10958.092, 663.19617, 2.0027161e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Dr_Hladik_EP1", [10958.092, 663.19617, 2.0027161e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_127 = _this; _unit_127 = _this;
_this setDir 138.0876; _this setDir 138.0876;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -581,9 +479,6 @@ _unit_129 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Damsel5", [15595.011, 16378.547, 0.10890254], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Damsel5", [15595.011, 16378.547, 0.10890254], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_129 = _this; _unit_129 = _this;
_this setDir -43.61562; _this setDir -43.61562;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -595,9 +490,6 @@ _unit_130 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Doctor", [15576.031, 16377.422, 1.1444092e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Doctor", [15576.031, 16377.422, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_130 = _this; _unit_130 = _this;
_this setDir 33.437065; _this setDir 33.437065;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -617,9 +509,6 @@ _unit_132 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["UN_CDF_Soldier_Pilot_EP1", [6813.0103, 8539.0498, 0.24721491], [], 0, "CAN_COLLIDE"]; _this = createAgent ["UN_CDF_Soldier_Pilot_EP1", [6813.0103, 8539.0498, 0.24721491], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_132 = _this; _unit_132 = _this;
_this setDir -139.99222; _this setDir -139.99222;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -631,9 +520,6 @@ _unit_134 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Profiteer2_EP1", [5418.9609, 9503.3301, -8.1300735e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Profiteer2_EP1", [5418.9609, 9503.3301, -8.1300735e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_134 = _this; _unit_134 = _this;
_this setDir 96.513527; _this setDir 96.513527;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -645,9 +531,6 @@ _unit_135 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Worker4", [10577.302, 16777.303, 0.00029063225], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Worker4", [10577.302, 16777.303, 0.00029063225], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_135 = _this; _unit_135 = _this;
_this setDir 30.918655; _this setDir 30.918655;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -659,9 +542,6 @@ _unit_136 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Worker4", [17331.977, 12930.315, 0.026711226], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Worker4", [17331.977, 12930.315, 0.026711226], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_136 = _this; _unit_136 = _this;
_this setDir -50.771896; _this setDir -50.771896;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -673,9 +553,6 @@ _unit_137 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Profiteer2_EP1", [10698.253, 5983.9556, 1.2587931], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Profiteer2_EP1", [10698.253, 5983.9556, 1.2587931], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_137 = _this; _unit_137 = _this;
_this setDir -40.017792; _this setDir -40.017792;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -687,9 +564,6 @@ _unit_138 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Commander", [17503.266, 7163.0801], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Commander", [17503.266, 7163.0801], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_138 = _this; _unit_138 = _this;
_this setDir -120.11973; _this setDir -120.11973;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -701,9 +575,6 @@ _unit_139 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_CO", [17503.395, 7159.9517, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_CO", [17503.395, 7159.9517, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_139 = _this; _unit_139 = _this;
_this setDir -70.523041; _this setDir -70.523041;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -715,9 +586,6 @@ _unit_141 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Commander", [4073.061, 7257.9731, 1.1444092e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Commander", [4073.061, 7257.9731, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_141 = _this; _unit_141 = _this;
_this setDir -36.958515; _this setDir -36.958515;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -729,9 +597,6 @@ _unit_142 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_CO", [4074.7593, 7260.0825, -0.062282562], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_CO", [4074.7593, 7260.0825, -0.062282562], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_142 = _this; _unit_142 = _this;
_this setDir -83.040123; _this setDir -83.040123;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -743,9 +608,6 @@ _unit_144 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_2", [13340.847, 8610.9043], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_2", [13340.847, 8610.9043], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_144 = _this; _unit_144 = _this;
_this setDir 38.779274; _this setDir 38.779274;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";

View File

@@ -11,9 +11,9 @@ AllowedVehiclesList = [
["CSJ_GyroC",3], ["CSJ_GyroC",3],
["CSJ_GyroCover",3], ["CSJ_GyroCover",3],
["CSJ_GyroP",3], ["CSJ_GyroP",3],
["datsun1_civil_1_open_DZE",3], ["datsun1_civil_1_open",3],
["datsun1_civil_2_covered_DZE",3], ["datsun1_civil_2_covered",3],
["datsun1_civil_3_open_DZE",3], ["datsun1_civil_3_open",3],
["Fishing_Boat",3], ["Fishing_Boat",3],
["GAZ_Vodnik_DZE",1], ["GAZ_Vodnik_DZE",1],
["GAZ_Vodnik_MedEvac",1], ["GAZ_Vodnik_MedEvac",1],
@@ -23,9 +23,9 @@ AllowedVehiclesList = [
["GNT_C185C",1], ["GNT_C185C",1],
["GNT_C185R",1], ["GNT_C185R",1],
["GNT_C185U",1], ["GNT_C185U",1],
["hilux1_civil_1_open_DZE",3], ["hilux1_civil_1_open",3],
["hilux1_civil_2_covered_DZE",3], ["hilux1_civil_2_covered",3],
["hilux1_civil_3_open_DZE",3], ["hilux1_civil_3_open_EP1",3],
["HMMWV_Ambulance",1], ["HMMWV_Ambulance",1],
["HMMWV_Ambulance_CZ_DES_EP1",1], ["HMMWV_Ambulance_CZ_DES_EP1",1],
["HMMWV_DES_EP1",3], ["HMMWV_DES_EP1",3],

View File

@@ -310,9 +310,6 @@ _unit_3 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Villager4", [5764.4902, 10776.697, 1.5258789e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Villager4", [5764.4902, 10776.697, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_3 = _this; _unit_3 = _this;
_this setDir -2.7836955; _this setDir -2.7836955;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -372,9 +369,6 @@ _unit_7 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Farmwife4", [5776.187, 10776.037, -1.9073486e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Farmwife4", [5776.187, 10776.037, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_7 = _this; _unit_7 = _this;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
_this setUnitAbility 0.60000002; _this setUnitAbility 0.60000002;
@@ -404,9 +398,6 @@ _unit_10 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Soldier_Sniper_PMC", [4700.2485, 8918.9072, 3.8798354], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Soldier_Sniper_PMC", [4700.2485, 8918.9072, 3.8798354], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_10 = _this; _unit_10 = _this;
_this setDir 78.773201; _this setDir 78.773201;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -534,9 +525,6 @@ _unit_96 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Dr_Hladik_EP1", [5564, 10344.479, 0.064233989], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Dr_Hladik_EP1", [5564, 10344.479, 0.064233989], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_96 = _this; _unit_96 = _this;
_this setDir 276.83997; _this setDir 276.83997;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -680,9 +668,6 @@ _unit_121 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Woodlander2", [7719.583, 5856.1743, 3.4332275e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Woodlander2", [7719.583, 5856.1743, 3.4332275e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_121 = _this; _unit_121 = _this;
_this setDir 14.189513; _this setDir 14.189513;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -694,9 +679,6 @@ _unit_122 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["CIV_Contractor2_BAF", [4705.4658, 8924.2959, -4.7683716e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["CIV_Contractor2_BAF", [4705.4658, 8924.2959, -4.7683716e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_122 = _this; _unit_122 = _this;
_this setDir -20.240097; _this setDir -20.240097;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -743,9 +725,6 @@ _unit_137 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_Pilot", [7318.0981, 8022.7432, 2.9222913], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_Pilot", [7318.0981, 8022.7432, 2.9222913], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_137 = _this; _unit_137 = _this;
_this setDir -106.67235; _this setDir -106.67235;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -810,9 +789,6 @@ _unit_156 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_CO", [7238.9297, 7046.7632], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_CO", [7238.9297, 7046.7632], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_156 = _this; _unit_156 = _this;
_this setDir 137.64249; _this setDir 137.64249;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -824,9 +800,6 @@ _unit_161 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["nac_soldier_2", [8885.5391, 10756.329, 8.9604874], [], 0, "CAN_COLLIDE"]; _this = createAgent ["nac_soldier_2", [8885.5391, 10756.329, 8.9604874], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_161 = _this; _unit_161 = _this;
_this setDir 80.769196; _this setDir 80.769196;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -880,9 +853,6 @@ _unit_167 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_Crew", [4296.8467, 4772.5088, -0.46098599], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_Crew", [4296.8467, 4772.5088, -0.46098599], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_167 = _this; _unit_167 = _this;
_this setDir -35.82135; _this setDir -35.82135;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -947,9 +917,6 @@ _unit_172 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_2", [5031.3525, 8233.0391, 4.8950696], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_2", [5031.3525, 8233.0391, 4.8950696], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_172 = _this; _unit_172 = _this;
_this setDir 157.8391; _this setDir 157.8391;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -961,9 +928,6 @@ _unit_173 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_1", [5032.7378, 8232.7119, 4.8950772], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_1", [5032.7378, 8232.7119, 4.8950772], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_173 = _this; _unit_173 = _this;
_this setDir 185.29475; _this setDir 185.29475;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1037,9 +1001,6 @@ _unit_176 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Woodlander2", [4312.3286, 4779.0835, 3.0994415e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Woodlander2", [4312.3286, 4779.0835, 3.0994415e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_176 = _this; _unit_176 = _this;
_this setDir 41.202724; _this setDir 41.202724;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1110,9 +1071,6 @@ _unit_194 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Tanny_PMC", [3605.6016, 8037.0762, 4.9591064e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Tanny_PMC", [3605.6016, 8037.0762, 4.9591064e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_194 = _this; _unit_194 = _this;
_this setDir -172.49802; _this setDir -172.49802;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1124,9 +1082,6 @@ _unit_203 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["UN_CDF_Soldier_EP1", [2188.5654, 5768.103, 0.0677872], [], 0, "CAN_COLLIDE"]; _this = createAgent ["UN_CDF_Soldier_EP1", [2188.5654, 5768.103, 0.0677872], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_203 = _this; _unit_203 = _this;
_this setDir -161.52242; _this setDir -161.52242;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1138,9 +1093,6 @@ _unit_206 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["UN_CDF_Soldier_MG_EP1", [8885.9033, 10755.449, -1.335144e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["UN_CDF_Soldier_MG_EP1", [8885.9033, 10755.449, -1.335144e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_206 = _this; _unit_206 = _this;
_this setDir 84.480438; _this setDir 84.480438;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1203,9 +1155,6 @@ _unit_209 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Farmwife3", [4297.9097, 4782.6987, 2.0503998e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Farmwife3", [4297.9097, 4782.6987, 2.0503998e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_209 = _this; _unit_209 = _this;
_this setDir -57.135807; _this setDir -57.135807;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1234,9 +1183,6 @@ _unit_220 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["UN_CDF_Soldier_Pilot_EP1", [6280.8374, 9403.417, 0.18137954], [], 0, "CAN_COLLIDE"]; _this = createAgent ["UN_CDF_Soldier_Pilot_EP1", [6280.8374, 9403.417, 0.18137954], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_220 = _this; _unit_220 = _this;
_this setDir -235.56369; _this setDir -235.56369;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";

View File

@@ -11,9 +11,9 @@ AllowedVehiclesList = [
["CSJ_GyroC",3], ["CSJ_GyroC",3],
["CSJ_GyroCover",3], ["CSJ_GyroCover",3],
["CSJ_GyroP",3], ["CSJ_GyroP",3],
["datsun1_civil_1_open_DZE",3], ["datsun1_civil_1_open",3],
["datsun1_civil_2_covered_DZE",3], ["datsun1_civil_2_covered",3],
["datsun1_civil_3_open_DZE",3], ["datsun1_civil_3_open",3],
["Fishing_Boat",3], ["Fishing_Boat",3],
["GAZ_Vodnik_DZE",1], ["GAZ_Vodnik_DZE",1],
["GAZ_Vodnik_MedEvac",1], ["GAZ_Vodnik_MedEvac",1],
@@ -23,9 +23,9 @@ AllowedVehiclesList = [
["GNT_C185C",1], ["GNT_C185C",1],
["GNT_C185R",1], ["GNT_C185R",1],
["GNT_C185U",1], ["GNT_C185U",1],
["hilux1_civil_1_open_DZE",3], ["hilux1_civil_1_open",3],
["hilux1_civil_2_covered_DZE",3], ["hilux1_civil_2_covered",3],
["hilux1_civil_3_open_DZE",3], ["hilux1_civil_3_open_EP1",3],
["HMMWV_Ambulance",1], ["HMMWV_Ambulance",1],
["HMMWV_Ambulance_CZ_DES_EP1",1], ["HMMWV_Ambulance_CZ_DES_EP1",1],
["HMMWV_DES_EP1",3], ["HMMWV_DES_EP1",3],

View File

@@ -3,9 +3,6 @@ _unit_63 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_Pilot", [4767.6304, 7481.7207, 0.0088642277], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_Pilot", [4767.6304, 7481.7207, 0.0088642277], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_63 = _this; _unit_63 = _this;
_this setDir -20.303209; _this setDir -20.303209;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -16,9 +13,6 @@ _unit_65 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["UN_CDF_Soldier_MG_EP1", [5229.5488, 8228.6309, 0.11357399], [], 0, "CAN_COLLIDE"]; _this = createAgent ["UN_CDF_Soldier_MG_EP1", [5229.5488, 8228.6309, 0.11357399], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_65 = _this; _unit_65 = _this;
_this setDir -131.58987; _this setDir -131.58987;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -48,9 +42,6 @@ _unit_67 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Woodlander3", [8681.8027, 3145.0779, 2.8371811e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Woodlander3", [8681.8027, 3145.0779, 2.8371811e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_67 = _this; _unit_67 = _this;
_this setDir 108.46211; _this setDir 108.46211;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -89,9 +80,6 @@ _unit_69 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Damsel5", [8681.4404, 3139.7356, 0.00013637543], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Damsel5", [8681.4404, 3139.7356, 0.00013637543], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_69 = _this; _unit_69 = _this;
_this setDir 101.61608; _this setDir 101.61608;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -129,9 +117,6 @@ _unit_78 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_Sab", [1909.8895, 3622.9905, 0.89042556], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_Sab", [1909.8895, 3622.9905, 0.89042556], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_78 = _this; _unit_78 = _this;
_this setDir -176.86101; _this setDir -176.86101;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -159,9 +144,6 @@ _unit_83 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Tanny_PMC", [9050.6455, 4055.2571, 0.072279952], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Tanny_PMC", [9050.6455, 4055.2571, 0.072279952], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_83 = _this; _unit_83 = _this;
_this setDir 35.298309; _this setDir 35.298309;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -172,9 +154,6 @@ _unit_88 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Commander", [4431.647, 1623.0857, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Commander", [4431.647, 1623.0857, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_88 = _this; _unit_88 = _this;
_this setDir -78.908539; _this setDir -78.908539;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -185,9 +164,6 @@ _unit_91 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Woodlander1", [4430.9897, 1620.7772, -1.1444092e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Woodlander1", [4430.9897, 1620.7772, -1.1444092e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_91 = _this; _unit_91 = _this;
_this setDir -55.83704; _this setDir -55.83704;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -272,9 +248,6 @@ _unit_107 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["UN_CDF_Soldier_AAT_EP1", [7221.9956, 732.79102, -4.6730042e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["UN_CDF_Soldier_AAT_EP1", [7221.9956, 732.79102, -4.6730042e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_107 = _this; _unit_107 = _this;
_this setDir -51.914528; _this setDir -51.914528;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -312,9 +285,6 @@ _unit_125 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["BAF_Soldier_AMG_W", [8674.4561, 3121.7769, -0.79090881], [], 0, "CAN_COLLIDE"]; _this = createAgent ["BAF_Soldier_AMG_W", [8674.4561, 3121.7769, -0.79090881], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_125 = _this; _unit_125 = _this;
_this setDir 33.73344; _this setDir 33.73344;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -362,9 +332,6 @@ _unit_133 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Citizen2_EP1", [4425.9014, 1629.2626, 3.4332275e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Citizen2_EP1", [4425.9014, 1629.2626, 3.4332275e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_133 = _this; _unit_133 = _this;
_this setDir 6.1045218; _this setDir 6.1045218;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -375,9 +342,6 @@ _unit_134 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Farmwife1", [4421.1494, 1631.6565], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Farmwife1", [4421.1494, 1631.6565], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_134 = _this; _unit_134 = _this;
_this setDir 11.297326; _this setDir 11.297326;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -408,9 +372,6 @@ _unit_142 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["CZ_Special_Forces_MG_DES_EP1", [8676.0801, 3126.2759, -3.3378601e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["CZ_Special_Forces_MG_DES_EP1", [8676.0801, 3126.2759, -3.3378601e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_142 = _this; _unit_142 = _this;
_this setDir -236.02379; _this setDir -236.02379;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -430,9 +391,6 @@ _unit_143 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["US_Soldier_Medic_EP1", [8690.042, 3130.854, 2.5272369e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["US_Soldier_Medic_EP1", [8690.042, 3130.854, 2.5272369e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_143 = _this; _unit_143 = _this;
_this setDir -121.9497; _this setDir -121.9497;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -443,9 +401,6 @@ _unit_150 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["BAF_Soldier_AAA_DDPM", [8675.6895, 3120.5398, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["BAF_Soldier_AAA_DDPM", [8675.6895, 3120.5398, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_150 = _this; _unit_150 = _this;
_this setDir 48.440151; _this setDir 48.440151;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -553,9 +508,6 @@ _unit_164 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_2", [4405.0391, 1629.9131, -3.8146973e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_2", [4405.0391, 1629.9131, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_164 = _this; _unit_164 = _this;
_this setDir 11.333591; _this setDir 11.333591;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -689,9 +641,6 @@ _unit_167 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_1", [3357.1387, 2294.5918, 4.5130548], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_1", [3357.1387, 2294.5918, 4.5130548], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_167 = _this; _unit_167 = _this;
_this setDir 65.974861; _this setDir 65.974861;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -766,9 +715,6 @@ _unit_187 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Rita_Ensler_EP1", [4329.2837, 6316.9658, 1.021734], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Rita_Ensler_EP1", [4329.2837, 6316.9658, 1.021734], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_187 = _this; _unit_187 = _this;
_this setDir 301.59369; _this setDir 301.59369;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -779,9 +725,6 @@ _unit_193 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["ValentinaVictim", [4329.7354, 6320.0952, 1.0539727], [], 0, "CAN_COLLIDE"]; _this = createAgent ["ValentinaVictim", [4329.7354, 6320.0952, 1.0539727], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_193 = _this; _unit_193 = _this;
_this setDir 212.50203; _this setDir 212.50203;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -962,9 +905,6 @@ _unit_202 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["USMC_SoldierS_Engineer", [4341.6519, 6319.353, -1.5258789e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["USMC_SoldierS_Engineer", [4341.6519, 6319.353, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_202 = _this; _unit_202 = _this;
_this setDir 161.61288; _this setDir 161.61288;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -975,9 +915,6 @@ _unit_204 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["USMC_Soldier_TL", [4338.6743, 6319.2251, -7.6293945e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["USMC_Soldier_TL", [4338.6743, 6319.2251, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_204 = _this; _unit_204 = _this;
_this setDir 165.64389; _this setDir 165.64389;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1034,9 +971,6 @@ _unit_205 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Reynolds_PMC", [4322.5977, 6313.9746, -2.2888184e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Reynolds_PMC", [4322.5977, 6313.9746, -2.2888184e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_205 = _this; _unit_205 = _this;
_this setDir 115.78899; _this setDir 115.78899;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1056,9 +990,6 @@ _unit_213 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["FR_Corpsman", [2240.3418, 9481.8193, 2.6702881e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["FR_Corpsman", [2240.3418, 9481.8193, 2.6702881e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_213 = _this; _unit_213 = _this;
_this setDir 107.45454; _this setDir 107.45454;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1069,9 +1000,6 @@ _unit_216 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_AR", [2236.7632, 9477.0029, 1.5258789e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_AR", [2236.7632, 9477.0029, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_216 = _this; _unit_216 = _this;
_this setDir 59.489071; _this setDir 59.489071;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1306,9 +1234,6 @@ _unit_219 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Dr_Hladik_EP1", [4430.7876, 1627.1011, 5.7220459e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Dr_Hladik_EP1", [4430.7876, 1627.1011, 5.7220459e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_219 = _this; _unit_219 = _this;
_this setDir -6.011806; _this setDir -6.011806;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1346,9 +1271,6 @@ _unit_220 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Soldier_PMC", [4422.8799, 1619.8151, 0.015900498], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Soldier_PMC", [4422.8799, 1619.8151, 0.015900498], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_220 = _this; _unit_220 = _this;
_this setDir -76.864822; _this setDir -76.864822;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1384,9 +1306,6 @@ _unit_221 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Villager1", [3794.375, 7651.1772, 3.1557264], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Villager1", [3794.375, 7651.1772, 3.1557264], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_221 = _this; _unit_221 = _this;
_this setDir -237.80453; _this setDir -237.80453;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";

View File

@@ -11,9 +11,9 @@ AllowedVehiclesList = [
["CSJ_GyroC",3], ["CSJ_GyroC",3],
["CSJ_GyroCover",3], ["CSJ_GyroCover",3],
["CSJ_GyroP",3], ["CSJ_GyroP",3],
["datsun1_civil_1_open_DZE",3], ["datsun1_civil_1_open",3],
["datsun1_civil_2_covered_DZE",3], ["datsun1_civil_2_covered",3],
["datsun1_civil_3_open_DZE",3], ["datsun1_civil_3_open",3],
["Fishing_Boat",3], ["Fishing_Boat",3],
["GAZ_Vodnik_DZE",1], ["GAZ_Vodnik_DZE",1],
["GAZ_Vodnik_MedEvac",1], ["GAZ_Vodnik_MedEvac",1],
@@ -23,9 +23,9 @@ AllowedVehiclesList = [
["GNT_C185C",1], ["GNT_C185C",1],
["GNT_C185R",1], ["GNT_C185R",1],
["GNT_C185U",1], ["GNT_C185U",1],
["hilux1_civil_1_open_DZE",3], ["hilux1_civil_1_open",3],
["hilux1_civil_2_covered_DZE",3], ["hilux1_civil_2_covered",3],
["hilux1_civil_3_open_DZE",3], ["hilux1_civil_3_open_EP1",3],
["HMMWV_Ambulance",1], ["HMMWV_Ambulance",1],
["HMMWV_Ambulance_CZ_DES_EP1",1], ["HMMWV_Ambulance_CZ_DES_EP1",1],
["HMMWV_DES_EP1",3], ["HMMWV_DES_EP1",3],

View File

@@ -998,9 +998,6 @@ _unit_26 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["FR_Sykes", [1100.2645, 2854.3738, 2.3841858e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["FR_Sykes", [1100.2645, 2854.3738, 2.3841858e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_26 = _this; _unit_26 = _this;
_this setDir -180.34883; _this setDir -180.34883;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1199,9 +1196,6 @@ _unit_36 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Villager4", [8387.1025, 2369.3113, 0.61760527], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Villager4", [8387.1025, 2369.3113, 0.61760527], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_36 = _this; _unit_36 = _this;
_this setDir 171.99826; _this setDir 171.99826;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1212,9 +1206,6 @@ _unit_39 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_CO", [13246.219, 6071.3926, -1.4305115e-006], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_CO", [13246.219, 6071.3926, -1.4305115e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_39 = _this; _unit_39 = _this;
_this setDir 5.4346404; _this setDir 5.4346404;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1225,9 +1216,6 @@ _unit_42 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["UN_CDF_Soldier_Crew_EP1", [6391.7827, 7791.1045, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["UN_CDF_Soldier_Crew_EP1", [6391.7827, 7791.1045, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_42 = _this; _unit_42 = _this;
_this setDir -65.443085; _this setDir -65.443085;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1399,9 +1387,6 @@ _unit_46 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["UN_CDF_Soldier_Pilot_EP1", [6381.814, 7767.4775], [], 0, "CAN_COLLIDE"]; _this = createAgent ["UN_CDF_Soldier_Pilot_EP1", [6381.814, 7767.4775], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_46 = _this; _unit_46 = _this;
_this setDir 121.08885; _this setDir 121.08885;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1412,9 +1397,6 @@ _unit_48 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Soldier_MG_PMC", [6329.1069, 7790.7651], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Soldier_MG_PMC", [6329.1069, 7790.7651], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_48 = _this; _unit_48 = _this;
_this setDir 111.3273; _this setDir 111.3273;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1425,9 +1407,6 @@ _unit_49 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Soldier_MG_PKM_PMC", [6330.1953, 7792.3398, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Soldier_MG_PKM_PMC", [6330.1953, 7792.3398, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_49 = _this; _unit_49 = _this;
_this setDir 127.65099; _this setDir 127.65099;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1438,9 +1417,6 @@ _unit_50 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Worker2", [6308.3994, 7801.2329], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Worker2", [6308.3994, 7801.2329], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_50 = _this; _unit_50 = _this;
_this setDir -79.43615; _this setDir -79.43615;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1451,9 +1427,6 @@ _unit_52 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Dr_Annie_Baker_EP1", [6307.5947, 7793.2104, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Dr_Annie_Baker_EP1", [6307.5947, 7793.2104, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_52 = _this; _unit_52 = _this;
_this setDir -53.402554; _this setDir -53.402554;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1541,9 +1514,6 @@ _unit_75 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["TK_GUE_Soldier_5_EP1", [4078.2898, 11688.561, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["TK_GUE_Soldier_5_EP1", [4078.2898, 11688.561, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_75 = _this; _unit_75 = _this;
_this setDir 550.82233; _this setDir 550.82233;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1572,9 +1542,6 @@ _unit_84 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_2", [4086.22, 11679.781, -0.00012207031], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_2", [4086.22, 11679.781, -0.00012207031], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_84 = _this; _unit_84 = _this;
_this setDir 205.64085; _this setDir 205.64085;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1585,9 +1552,6 @@ _unit_92 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Drake", [11459.7, 11385.781], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Drake", [11459.7, 11385.781], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_92 = _this; _unit_92 = _this;
_this setDir 44.980869; _this setDir 44.980869;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1598,9 +1562,6 @@ _unit_94 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["BAF_Soldier_AAR_DDPM", [11458.045, 11387.044, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["BAF_Soldier_AAR_DDPM", [11458.045, 11387.044, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_94 = _this; _unit_94 = _this;
_this setDir 38.94429; _this setDir 38.94429;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1611,9 +1572,6 @@ _unit_97 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["US_Delta_Force_AR_EP1", [11473.452, 11383.101, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["US_Delta_Force_AR_EP1", [11473.452, 11383.101, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_97 = _this; _unit_97 = _this;
_this setDir 154.96759; _this setDir 154.96759;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1723,9 +1681,6 @@ _unit_105 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Soldier_Sniper_PMC", [5066.8984, 9729.3574], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Soldier_Sniper_PMC", [5066.8984, 9729.3574], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_105 = _this; _unit_105 = _this;
_this setDir -40.290977; _this setDir -40.290977;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1781,9 +1736,6 @@ _unit_113 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Tanny_PMC", [12947.661, 12763.261, -1.2341257], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Tanny_PMC", [12947.661, 12763.261, -1.2341257], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_113 = _this; _unit_113 = _this;
_this setDir 273.25204; _this setDir 273.25204;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1857,9 +1809,6 @@ _unit_123 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_3", [6319.7461, 7780.3867, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_3", [6319.7461, 7780.3867, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_123 = _this; _unit_123 = _this;
_this setDir 471.17383; _this setDir 471.17383;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1966,9 +1915,6 @@ _unit_134 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_Crew", [13106.087, 8253.1543, 3.9812155], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_Crew", [13106.087, 8253.1543, 3.9812155], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_134 = _this; _unit_134 = _this;
_this setDir 78.321281; _this setDir 78.321281;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2006,9 +1952,6 @@ _unit_137 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Commander", [4063.4075, 11665.369, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Commander", [4063.4075, 11665.369, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_137 = _this; _unit_137 = _this;
_this setDir 364.06381; _this setDir 364.06381;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2019,9 +1962,6 @@ _unit_138 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["TK_GUE_Warlord_EP1", [4065.97, 11664.666, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["TK_GUE_Warlord_EP1", [4065.97, 11664.666, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_138 = _this; _unit_138 = _this;
_this setDir 373.22098; _this setDir 373.22098;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2032,9 +1972,6 @@ _unit_139 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["CIV_EuroWoman02_EP1", [4059.1609, 11671.943, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["CIV_EuroWoman02_EP1", [4059.1609, 11671.943, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_139 = _this; _unit_139 = _this;
_this setDir 69.660759; _this setDir 69.660759;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2088,9 +2025,6 @@ _unit_142 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["RU_Damsel4", [4059.3625, 11681.246, -0.00018310547], [], 0, "CAN_COLLIDE"]; _this = createAgent ["RU_Damsel4", [4059.3625, 11681.246, -0.00018310547], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_142 = _this; _unit_142 = _this;
_this setDir 495.77243; _this setDir 495.77243;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2163,9 +2097,6 @@ _unit_150 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["GUE_Soldier_1", [1607.4941, 7780.2427], [], 0, "CAN_COLLIDE"]; _this = createAgent ["GUE_Soldier_1", [1607.4941, 7780.2427], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_150 = _this; _unit_150 = _this;
_this setDir -153.01509; _this setDir -153.01509;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2748,9 +2679,6 @@ _unit_190 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["BAF_Soldier_EN_MTP", [11460.588, 11395.914, 0.00015258789], [], 0, "CAN_COLLIDE"]; _this = createAgent ["BAF_Soldier_EN_MTP", [11460.588, 11395.914, 0.00015258789], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_190 = _this; _unit_190 = _this;
_this setDir 151.44485; _this setDir 151.44485;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2761,9 +2689,6 @@ _unit_195 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["Herrera_Light", [11467.993, 11394.931, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; _this = createAgent ["Herrera_Light", [11467.993, 11394.931, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_195 = _this; _unit_195 = _this;
_this setDir -162.6622; _this setDir -162.6622;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2774,9 +2699,6 @@ _unit_199 = objNull;
if (true) then if (true) then
{ {
_this = createAgent ["US_Delta_Force_Medic_EP1", [11474.346, 11389.572, -0.00012207031], [], 0, "CAN_COLLIDE"]; _this = createAgent ["US_Delta_Force_Medic_EP1", [11474.346, 11389.572, -0.00012207031], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_199 = _this; _unit_199 = _this;
_this setDir -116.26833; _this setDir -116.26833;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";

Some files were not shown because too many files have changed in this diff Show More