diff --git a/.gitignore b/.gitignore index cba12bdd..701db44e 100644 --- a/.gitignore +++ b/.gitignore @@ -6,5 +6,7 @@ /@Dayz /@Legacy /ARMA2Tools +/SQF/Missions/dayz_1337.chernarus/manifest +/SQF/Missions/dayz_1337.chernarus/mfstsign DayZ.bat *-old \ No newline at end of file diff --git a/Binaries/DatabaseMySql.dll b/Binaries/DatabaseMySql.dll index 0ca636ca..efd7afa0 100644 Binary files a/Binaries/DatabaseMySql.dll and b/Binaries/DatabaseMySql.dll differ diff --git a/Binaries/DatabasePostgre.dll b/Binaries/DatabasePostgre.dll index 922b821f..c62bf707 100644 Binary files a/Binaries/DatabasePostgre.dll and b/Binaries/DatabasePostgre.dll differ diff --git a/Binaries/HiveEXT.dll b/Binaries/HiveEXT.dll index 7d0d2395..03b156d6 100644 Binary files a/Binaries/HiveEXT.dll and b/Binaries/HiveEXT.dll differ diff --git a/BuildScript.bat b/BuildScript.bat deleted file mode 100644 index 6b382a7a..00000000 --- a/BuildScript.bat +++ /dev/null @@ -1,265 +0,0 @@ -@echo off -SETLOCAL ENABLEEXTENSIONS -SETLOCAL ENABLEDELAYEDEXPANSION -cls -::=================================================================================:: -:: Dayz Deployment Tool :: -:: R4Z0R49 :: -::=================================================================================:: - -::if not exist Config.cfg goto NoConfig -::=================================================================================:: -:: SET YOUR VARIABLES! :: -::=================================================================================:: -::for /f "delims=" %%x in (Config.cfg) do (set "%%x") - -IF "%time:~0,1%" LSS "1" ( - SET DATETIME=%date:~6,4%%date:~3,2%%date:~0,2%0%time:~1,1%%time:~3,2%%time:~6,2% -) ELSE ( - SET DATETIME=%date:~6,4%%date:~3,2%%date:~0,2%%time:~0,2%%time:~3,2%%time:~6,2% -) - -set version=1. -set build=8.3 - -set home=F:\Github\DayzMod-Public\DayZ -set tools=F:\Github\ARMA2Tools\ -Set Deploy=F:\Github\Deployed\DayZ -:: set Dayz=%home%\@Dayz Not used -Set ServerHive=%home%\SQF -Set ClientCode=%home%\SQF -Set Binaries=%home%\Binaries -set ModName=@DayZ -set HiveName=@Hive - - -::=================================================================================:: -:: STOP EDITING HERE :: -::=================================================================================:: - -TITLE Dayz Deploy tool %version%%build% - -:menuLOOP -IF "%time:~0,1%" LSS "1" ( - SET DATETIME=%date:~6,4%%date:~3,2%%date:~0,2%0%time:~1,1%%time:~3,2%%time:~6,2% -) ELSE ( - SET DATETIME=%date:~6,4%%date:~3,2%%date:~0,2%%time:~0,2%%time:~3,2%%time:~6,2% -) - -TITLE Dayz Deploy tool %version%%build% -cls -echo. -echo.= Menu ================================================= -echo. -for /f "tokens=1,2,* delims=_ " %%A in ('"findstr /b /c:":menu_" "%~f0""') do echo. %%B %%C -set choice= -echo.&set /p choice=Make a choice or hit ENTER to quit: ||GOTO:EOF -echo.&call:menu_%choice% - -GOTO:menuLOOP - -::----------------------------------------------------------- -:: menu functions follow below here -::----------------------------------------------------------- - -:menu_c Cleanup -RMDIR /S /Q %Deploy% -mkdir %Deploy% -TIMEOUT /T 5 -GOTO:menuLOOP - -:menu_1 Dayz -mkdir %Deploy% -mkdir %deploy%\Addons - -echo (%date%) (%time%) ATTENTION: Creating Client side .PBO's -%tools%\cpbo.exe -y -p %ClientCode%\dayz %Deploy%\Addons\dayz.pbo - - -cd %home% -TIMEOUT /T 2 -GOTO:menuLOOP - -:menu_2 Code -mkdir %Deploy% -mkdir %deploy%\Addons - -echo (%date%) (%time%) ATTENTION: Creating Client side .PBO's -%tools%\cpbo.exe -y -p %ClientCode%\dayz_code %Deploy%\Addons\dayz_code.pbo - - -cd %home% -TIMEOUT /T 2 -GOTO:menuLOOP - -:menu_3 anim -mkdir %Deploy% -mkdir %deploy%\Addons - -echo (%date%) (%time%) ATTENTION: Creating Client side .PBO's -%tools%\cpbo.exe -y -p %ClientCode%\dayz_anim %Deploy%\Addons\dayz_anim.pbo - -cd %home% -TIMEOUT /T 5 -GOTO:menuLOOP - -:menu_4 SFX -mkdir %Deploy% -mkdir %deploy%\Addons - -echo (%date%) (%time%) ATTENTION: Creating Client side .PBO's -%tools%\cpbo.exe -y -p %ClientCode%\dayz_sfx %Deploy%\Addons\dayz_sfx.pbo - -cd %home% -TIMEOUT /T 2 -GOTO:menuLOOP - -:menu_5 CommunityAssets -mkdir %Deploy% -mkdir %deploy%\Addons - -echo (%date%) (%time%) ATTENTION: Creating Client side .PBO's -%tools%\cpbo.exe -y -p %ClientCode%\dayz_communityassets %Deploy%\Addons\dayz_communityassets.pbo - -cd %home% -TIMEOUT /T 2 -GOTO:menuLOOP - -:menu_6 Equip -mkdir %Deploy% -mkdir %deploy%\Addons - -echo (%date%) (%time%) ATTENTION: Creating Client side .PBO's -%tools%\cpbo.exe -y -p %ClientCode%\dayz_equip %Deploy%\Addons\dayz_equip.pbo - -cd %home% -TIMEOUT /T 2 -GOTO:menuLOOP - -:menu_7 Vehicles -mkdir %Deploy% -mkdir %deploy%\Addons - -echo (%date%) (%time%) ATTENTION: Creating Client side .PBO's -%tools%\cpbo.exe -y -p %ClientCode%\dayz_vehicles %Deploy%\Addons\dayz_vehicles.pbo - -cd %home% -TIMEOUT /T 2 -GOTO:menuLOOP - -:menu_8 Weapons -mkdir %Deploy% -mkdir %deploy%\Addons - -echo (%date%) (%time%) ATTENTION: Creating Client side .PBO's -%tools%\cpbo.exe -y -p %ClientCode%\dayz_weapons %Deploy%\Addons\dayz_weapons.pbo - -cd %home% -TIMEOUT /T 2 -GOTO:menuLOOP - - -:menu_9 Server -mkdir %Deploy% - -echo (%date%) (%time%) ATTENTION: Creating Server side .PBO's -%tools%\cpbo.exe -y -p %ServerHive%\dayz_server %Deploy%\dayz_server.pbo - -cd %home% -TIMEOUT /T 5 -GOTO:menuLOOP - -:menu_10 Crossbow -mkdir %Deploy% -mkdir %deploy%\Addons - -echo (%date%) (%time%) ATTENTION: Creating Client side community_crossbow.PBO's -%tools%\cpbo.exe -y -p %ClientCode%\community_crossbow %Deploy%\Addons\community_crossbow.pbo - -cd %home% -TIMEOUT /T 5 -GOTO:menuLOOP - - -:menu_11 Builings -mkdir %Deploy% -mkdir %deploy%\Addons - -echo (%date%) (%time%) ATTENTION: Creating Client side dayz_buildings.PBO's -%tools%\cpbo.exe -y -p %ClientCode%\dayz_buildings %Deploy%\Addons\dayz_buildings.pbo - -cd %home% -TIMEOUT /T 5 -GOTO:menuLOOP - -:menu_0 Full -mkdir %Deploy% -:: mkdir %ModName% - Folder not used -mkdir %deploy%\@Hive -mkdir %deploy%\%ModName%\Addons -mkdir %deploy%\@Hive\Addons -mkDir %deploy%\Keys -mkDir %deploy%\cfgdayz -mkDir %Deploy%\cfgdayz\BattlEye\ -mkDir %deploy%\Battleye-Filters - - -echo (%date%) (%time%) ATTENTION: Creating Client side .PBO's -%tools%\cpbo.exe -y -p %ClientCode%\dayz_weapons %Deploy%\%ModName%\Addons\dayz_weapons.pbo -%tools%\cpbo.exe -y -p %ClientCode%\dayz_vehicles %Deploy%\%ModName%\Addons\dayz_vehicles.pbo -%tools%\cpbo.exe -y -p %ClientCode%\dayz_equip %Deploy%\%ModName%\Addons\dayz_equip.pbo -%tools%\cpbo.exe -y -p %ClientCode%\dayz_sfx %Deploy%\%ModName%\Addons\dayz_sfx.pbo -%tools%\cpbo.exe -y -p %ClientCode%\dayz_anim %Deploy%\%ModName%\Addons\dayz_anim.pbo -%tools%\cpbo.exe -y -p %ClientCode%\dayz_code %Deploy%\%ModName%\Addons\dayz_code.pbo -%tools%\cpbo.exe -y -p %ClientCode%\dayz %Deploy%\%ModName%\Addons\dayz.pbo -%tools%\cpbo.exe -y -p %ClientCode%\dayz_communityassets %Deploy%\%ModName%\Addons\dayz_communityassets.pbo -%tools%\cpbo.exe -y -p %ClientCode%\community_crossbow %Deploy%\%ModName%\Addons\community_crossbow.pbo -%tools%\cpbo.exe -y -p %ClientCode%\dayz_buildings %Deploy%\%ModName%\Addons\dayz_buildings.pbo - -%tools%\cpbo.exe -y -p %ClientCode%\st_collision %Deploy%\%ModName%\Addons\st_collision.pbo -%tools%\cpbo.exe -y -p %ClientCode%\st_evasive %Deploy%\%ModName%\Addons\st_evasive.pbo -%tools%\cpbo.exe -y -p %ClientCode%\st_bunnyhop %Deploy%\%ModName%\Addons\st_bunnyhop.pbo -%tools%\cpbo.exe -y -p %ClientCode%\map_eu %Deploy%\%ModName%\Addons\map_eu.pbo - - -echo (%date%) (%time%) ATTENTION: Creating Server side .PBO's -%tools%\cpbo.exe -y -p %ClientCode%\dayz_server %Deploy%\%HiveName%\Addons\dayz_server.pbo - - -echo (%date%) (%time%) ATTENTION: Getting Files -cd %home% -:: copy Binaries\Database.dll %Deploy%\ - Not in folder -copy Binaries\tbb.dll %Deploy%\ -copy Binaries\tbbmalloc.dll %Deploy%\ -copy Binaries\DatabaseMySql.dll %Deploy%\ -copy Binaries\DatabasePostgre.dll %Deploy%\ -copy Binaries\HiveEXT.dll %Deploy%\%HiveName% -copy Binaries\HiveEXT.ini %Deploy%\cfgdayz\ -copy Documentation\PRIVACY.txt %Deploy%\ -copy Documentation\README.txt %Deploy%\ -copy SQF\mod.cpp %Deploy%\%ModName% -:: copy SQF\mod.paa %Deploy%\%ModName% - Not in folder -copy SQF\do_not_use_without_permissions.txt %Deploy%\%ModName% -copy SQF\credits.txt %Deploy%\%ModName% -copy BattlEye-Filters\ %Deploy%\cfgdayz\BattlEye\ -copy BattlEye-Filters\ %Deploy%\Battleye-Filters - - -cd %home% -TIMEOUT /T 5 -GOTO:menuLOOP - - -:menu_o Open Deploy -%SystemRoot%\explorer.exe "%deploy%" -TIMEOUT /T 3 -GOTO:menuLOOP - -:menu_q Quit -cd %home% -TIMEOUT /T 3 -exit - - -GOTO:menuLOOP - diff --git a/Documentation/Changelog.md b/Documentation/Changelog.md deleted file mode 100644 index 8faba156..00000000 --- a/Documentation/Changelog.md +++ /dev/null @@ -1,1311 +0,0 @@ -============ -DayZ Mod Changelog -============ - -Version 1.8.1 ---------------- - -* TBA - Release Date - -Client: - -* dayz_code -* dayz_communityassets - -Server: - -* dayz_server (server admins only) -* mission (server admins only) (Prerequisites) Downloaded from http://www.silentspy.net/utility/dayz/mission-generator/ -* BattEye Filters (server admins only) -* SQL Files (server admins only) - - Changes: - * [NEW] - Mechanic - Nutrition system for all food types. - * [NEW] - Mechanic - Hunger and Thirst is now based on the new nutrition system. - * [NEW] - Mechanic - Salvage Parts from Vehicles (Players with a toolbox can now remove undamaged parts from vehicles in world) - * [NEW] - Storage - Dome Tent has now been added. - * [NEW] - Loot bias is now controlled by the server admin. - * [NEW] - Private SQL - Cleanup updated to move dead bodies(character_dead) to a new table before removal from main table(character_data). - * [NEW] - 1 new model (feather). - * [NEW] - Wooden arrows can now be created. (Wood,FeatherX2) - * [NEW] - Feathers added to Hens as you gut. - * [NEW] - Action menu update to destroy tents. (all items pile up outside) - * [NEW] - Blood types/blood system - - You may now fill bloodbags (filled blood bags only take 4k blood and give back 4k) - - incompatible blood transfusions will result in extended unconsciousness of the recipient. - - Ability to take blood from yourself and other players - - Blood types + Rh types are based off real world statistics - - ability to take a bit of blood off a recently dead corpes (may yield infection) - * [NEW] - Blood testing kit (to determine blood type) and disposable transfusion kit. - - * [FIXED] - Infected Camps no longer repeatedly spawn infected. - * [FIXED] - Infected Camps Loot updated to be more in line with crash sites. - * [FIXED] - LOOT - Building locks have been moved to after the building has spawned loot. (hopefully this should allow the bias to sometimes fail but allow other pass's if no loot has spawned. - * [FIXED] - You can no longer refuel a destroyed vehicle using a 5l fuel can. - * [FIXED] - Humanity gain from blood transfusion moved to end of transfusion process. (Due to issues with skin change breaking the transfusion) - * [FIXED] - Zeds will no longer target vehicles. If the player is targeted before entering a vehicle Zeds will continue to engage the player - * [FIXED] - Carry slot, addToToolbelt/drop fixes - * [FIXED] - Ability to fly a helicopter with no main rotor on restart - * [FIXED] - Antihack (again) - - * [UPDATED] - Thirst and hunger updated to no longer be a instant fill on eating/drinking. - * [UPDATED] - Melee weapons updated Range and shot count. - * [UPDATED] - Full moon nights is now select-able by the server admins. - * [UPDATED] - Salvage system updated to provide a chance some items like glass,engine and fuel can break during salvage - * [UPDATED] - View switched to first person on knock out/unconcious. - -______________________ -Version 1.8.0.1 ----------------- - -* TBA - Release Date - -Affected Addons: - -Client: - -* dayz_code -* dayz_communityassets - -Server: - -* dayz_server (server admins only) -* mission (server admins only) (Prerequisites) Downloaded from http://www.silentspy.net/utility/dayz/mission-generator/ -* BattEye Filters (server admins only) -* SQL Files (server admins only) - - Changes: - - * [FIXED] - Database cleanup has now been fixed and camo net added. - * [FIXED] - Date sync has now been fixed to provide night time again. - * [FIXED] - SVD and SVD_CAMO firemodes now working as they should. - * [FIXED] - Motocycle tt650 now has modified hitpart system should hopefully fix repair issues with it. - * [FIXED] - Backpack sounds not playing for opening the backpack of other players. - * [FIXED] - Building Delays Fixed. (Buildings will now only have 1 pass per the timer. Zeds 5 mins, Loot 15 mins) - Should provide FPS boost. - * [FIXED] - Loot Bias system Fixed. (Limits the amount of Piles within a building every 15 mins) - Should lower overall loot spawned, Should provide FPS Boost - * [FIXED] - Potential fix for the action menu issues. - * [FIXED] - Fixed duping of meat while gutting animals and removing fuel/parts from a vehicle - * [FIXED] - Remove gas, repair etc. options from incorrect object. - * [FIXED] - Time sync on login - * [FIXED] - Siphon Fuel mechanic - * [FIXED] - Incorrect right click menu in gear if a melee object is on a player's back. - * [FIXED] - Removed refuel option on destroyed vehicles and study body option on animals. - * [FIXED] - Gutting animals works properly now - * [FIXED] - Humanity system and kills displaying incorrect. - * [FIXED] - Blood level is now synced direct to server every 10 secs. (No more sending to all players on server) Performance Boost. - - * [UPDATED] - Mechanic - Sepsis chance from "bleeding" raised from 1% to 30% (More like 3% once 10% bleeding effect is taken into account). - * [UPDATED] - System - Zed Aggro on all Weapon fire now changed to a more dynamic system to allow the overall distance the shot was hered to changes the way and amount of zeds responce. ((50 Meters and below = Run to location),( 50-71 = 50% chance they walk to location), (70 meters and up = walk to location)) - * [UPDATED] - System - Zed Damage output base scale lowered (from 300 Normal/400 Viral to 250 Normal/350 Viral) - * [UPDATED] - PBX Boat speed reduced from 125 to 85. - * [UPDATED] - Login time has now been reduced. - -______________________ -VERSION 1.8.0.0 ---------------- - -* 16-Sep-2013 - Release Date - -Affected Addons/New Addons:: - -Client: - -* dayz -* dayz_anim -* dayz_code -* dayz_communityassets -* dayz_sfx -* st_bunnyhop - *NEW* Very Special Thanks to Dslyecxi of Shack Tactical for allowing us include it with DayZ! -* st_collision - *NEW* Very Special Thanks to Dslyecxi of Shack Tactical for allowing us include it with DayZ! -* st_evasive - *NEW* Very Special Thanks to Dslyecxi of Shack Tactical for allowing us include it with DayZ! - -Server: - -* dayz_server (server admins only) -* mission (server admins only) (Prerequisites) Downloaded from http://www.silentspy.net/utility/dayz/mission-generator/ -* BattEye Filters (server admins only) -* SQL Files (server admins only) - - Changes: - - * [NEW] - Feature - "In Combat" System - (Disconnect in x seconds has been removed. Combat icon has been removed. Countdown is now on the abort button itself) - * [NEW] - Feature - BattlEye Log - Suspicious weapons, kills with local vehicles and one shot kills - * [NEW] - Feature - Gear Menu - Player/Vehicle/Body Inventory System completely redesigned - * [NEW] - Feature - Gear/Inventory Menu -Carry Slot has been added to Player Inventory (Allows quick switching between melee, primary, and secondary weapons) - * [NEW] - Feature - HUD (Blood, Eat, Drink, Icons + Audio/Visual Alert Level Icons). - * [NEW] - Feature - Map - Unused Aram Menus Removed - * [NEW] - Feature - Plants model antihack - * [NEW] - Feature - Real Time Visual Placement of "Deployables" (You can now see tents, stash, camo nets, tanktraps, sandbags, wirefence in world before you build them) - * [NEW] - Feature - Simplified Settings for Server Admins - * [NEW] - Feature - Spawn selection Screen - (Balota, Berenzino, Cherno, Elektro, Kamenka, Solnichniy and Random) Server admins can choose to enable/disable. (Default: disabled) - * [NEW] - Item - Backpacks have a new sound on opening. - * [NEW] - Item - Camo net - will be removed within 24 hours of owner’s death - * [NEW] - Item - Camo net (Helicrash, Military) - Can be deployed to help camouflage a vehicle from Helicopters while parked) - * [NEW] - Item - Compass is now twice as big. - * [NEW] - Item - Crafted Medical. (Makeshift Bandage, Makeshift Splint (Wood), Makeshift Splint (Metal), Bloodbag (Transfusion Ready)) - * [NEW] - Item - Crafted Traps. (Punji Trap, Tripwire (Cans), Tripwire (Flare), Tripwire (Smoke), Tripwire (Grenade), Bear Trap (Grenade), Bear Trap (Flare), Bear Trap (Smoke)) - * [NEW] - Item - Fishing Pole - From DayZ Epoch (Saltwater fishing only must have fishing pole) Big Thanks to [VB]AWOL and Paul Tomany! - * [NEW] - Item - Twinkies (cake snack) 1 New melee weapon, New fish models, Many new crafting models. - * [NEW] - Loot - Beartrap Re-added to loot tables. (More information in "[FIXED]") - * [NEW] - Loot - Hospital - Medbox1 added to Building Loot - * [NEW] - Loot - Infected Camps - Medbox1 and FoodBox0 added to Building loot - * [NEW] - Loot Positions - (Land_a_stationhouse, (FIreStation) Land_HouseV2_04_interier (Residential House), Land_Mil_Barracks_i (Barracks), Land_SS_hangar (Aircraft Hangers)) - * [NEW] - Mechanic - Camo Nets will be removed 24 hours after owner’s death - * [NEW] - Mechanic - Crafting (Recipes are listed in the Crafting Menu accessible from the Journal UI (default key: insert)). - * [NEW] - Mechanic - Death Screen Timeout (Player will be moved to lobby after a 5 second timeout.) - * [NEW] - Mechanic - Fishing - From DayZ Epoch (Saltwater fishing only must have fishing pole) Big Thanks to [VB]AWOL and Paul Tomany! - * [NEW] - Mechanic - Inventory of unconscious players are now accessible by other players (You can "loot" knocked out players) - * [NEW] - Mechanic - Sepsis - Delayed infection - Player is warned, must clean wounds with disinfectant wipes in order to prevent infection onset - Stage 1: - The first 15 minutes - You cannot pass the infection to others - You do not take blood damage - You have a warning blood icon to show infection - Stage 2: - 15 minutes - 22.5 minutes - You cannot pass the infection on - You lose 1 blood per second - You have the normal blood loss icon - Stage 3: - 22.5 minutes to 30 minutes - You cannot pass the infection to others - You lose 2 bloods per second - Normal blood loss icon - Final Stage/Transition to Infection: - After 30 minutes you become fully infected, can transmit the infection to others, you lose 3 blood per second and your screen will shake. On disconnect you will become infected. - * [NEW] - Mechanic - ShackTac Movement addons - From Shack Tactical - This addon causes your weapon collision with the environment to be significantly toned down, meaning that you can now move sideways through doorways and generally find CQB to be enjoyable, versus feel like a rusted robot trying to navigate a terrifying alien world called 'indoors'. Try it out and see, it's simple and very noticeable. - * [NEW] - Mechanic - ShackTac Movement addons - st_bunnyhop - more realistic replacement for "Combat Roll" allows player to "hop" over fences etc. - * [NEW] - Mechanic - Siphon Fuel from vehicle - * [NEW] - Mechanic - Weapon Hotkey Switching - Default : 1 = rifle, 2 = pistol, 3 = melee - * [NEW] - Weapon - Crafted Weapons. (Nailed Bat, Barbed Wire Bat, Chloroform Rag) - * [NEW] - Weapon - SVD Dragunov (MilitarySpecial) - - * [FIXED] - Bug - BattleFieldClearance Antihack - * [FIXED] - Bug - Bear Trap state not syncing or saving to the server - * [FIXED] - Bug - BIS_Effects AirDestruction bug that sets the world on fire - * [FIXED] - Bug - Could not administer Antibiotics to other players (now you can) - * [FIXED] - Bug - Could not refuel while swimming (now you can) - * [FIXED] - Bug - DayZ Loading Screen Hang due to ACR mod install - * [FIXED] - Bug - Dead Player body does not disappear if player "combat logs" (Disconnects too quickly or by force after being killed) - * [FIXED] - Bug - General Antihack system fixes - * [FIXED] - Bug - Hospital Wall Hack - * [FIXED] - Bug - Infection not being cured at tents after log out - * [FIXED] - Bug - Player getting stuck after tackle animation - * [FIXED] - Bug - Repeat loot in loot piles - * [FIXED] - Bug - Zed path finding under chase condition (should not turn so often) - * [FIXED] - Errors - Various No Entry errors fixed - * [FIXED] - Exploit - "Reconnect Dupe" & "Body Dupe" - Duplication of items under certain conditions fixed - * [FIXED] - Mechanic - Players are able to perform self actions in vehicles (Drink, Eat, Bandage, Etc) - * [FIXED] - Object Placement - Bench at NWAF South Barracks - - * [UPDATED] - Feature - "Combat Roll" replaced by Shack Tactical's Bunnyhop - * [UPDATED] - Feature - Players may now switch seats while in a helicopter (back seat, gunner, pilot) - * [UPDATED] - Humanity System - Humanity Gain over time for Bandits - * [UPDATED] - Loot - Hospital loot tables - * [UPDATED] - Loot - Removed trash items from building loot tables and replaced with generic trash table (better organization) - * [UPDATED] - Stringtables - Czech, German, Spanish, and Russian - * [UPDATED] - System - Anti "Wall Hack" - * [UPDATED] - System - Auto Continue on 1st Mission Load - * [UPDATED] - System - Gear is only accessible in vehicles with "G" key due to removal of Arma Map Menus - * [UPDATED] - System - Loot Spawning Radius increased from 120m to 125m - * [UPDATED] - System - Max smoke target range to 50m - * [UPDATED] - System - Mission file size reduction - * [UPDATED] - System - PV Optimization (reduces unneeded network traffic) - * [UPDATED] - System - Removed attack call from FSM due to latency Player who spawned the zed may not be the player the zed is attacking - * [UPDATED] - System - Various Security updates - * [UPDATED] - System - Viral Zeds - Viral Villager Zeds called only at Supermarket,Farm,Residential buildings (easy to spot) - * [UPDATED] - System - Viral Zeds - Viral Worker Zeds called only at MilitarySpecial,Military,Industrial buildings (hard to spot) - * [UPDATED] - System - Zed Angle of attack increased - * [UPDATED] - System - Zed Movement, Targeting, LOS, and Angle of Attack Systems (This should improve Zed reaction times & make sure target is within range) - * [UPDATED] - System - Zed Overall Damage output (small update) - * [UPDATED] - System - Zed Spawning - Land_Mil_Guardhouse reduced max from 6 to 3 - * [UPDATED] - Weapon - DMR - Fire Rate lowered (fewer shots per minute) - * [UPDATED] - Weapon - Melee weapon Damage values updated (Machete > 15, Hatchet > 12,Crowbar > 10,Bat > 9,BatBarbed > 12, BatNailed > 12) - * [UPDATED] - Weapon - Quick Switch by action menu - * [UPDATED] - Weapon - SD/Non-SD magazine compatibility changes (WIP) (nonSD mags removed from SD weapons/SD mags removed from nonSD weapons) - * [UPDATED] - Weapon - SVD Dragunov - Fire Rate lowered (fewer shots per minute) - - * [REMOVED] - System - Collision system from tents, stash's, camo nets (Should allow storage system to be placed in better locations) - * [REMOVED] - System - Difficulty system (Due to issues with official hive. Official hive cannot track/store multiple difficulty levels) - * [REMOVED] - System - Map markers for other players and empty vehicles (blue/orange/green dots & vehicles) - * [REMOVED] - System - Removed Arma 2 squad command menu (0-9 or F1-F12) - * [REMOVED] - System - Vehicle damage spam log - - -Notes: -Fishing - We are still trying to decide about fishing the current system is fine but we have an issue with the fishing rod facing the wrong way. -______________________ -Version 1.7.7.1 ---------------- - -* Release date 18 June 2013 - - -Affected addons: -* dayz_anim -* dayz_code -* dayz_communityassets - -Server side affected addons: -* dayz_server (server admins only) -* Mission (server admins only) (Prerequisites) Downloaded from http://www.silentspy.net/utility/dayz/mission-generator/ -* BattlEye-Filters (server admins only) -* SQL Files (server admins only) - - - Changes: - - - * [NEW] - Server owners can now toggle server side debugging (Server RPT) for many options by editing /compile/server_toggle_debug.hpp) - - * [FIXED] - Crash site loot spawn fixed. - * [FIXED] - LOS should now reset correct. - * [FIXED] - Updated Chopper Repair system to include hull and missiles. - * [FIXED] - Blood transfusion should now work properly. - * [FIXED] - Zeds can knock you unconscious again. - * [FIXED] - Issue with built items not display properly over the network. - * [FIXED] - Changing clothes while in a gear menu of a pile/vehicle/tent will no longer crash your game. - * [FIXED] - Fixed duplication of mags via combining/converting and duplication of tents/built items. - * [FIXED] - 100% damaged vehicles do not respawn anymore. - * [FIXED] - Added check to make sure no one is within 30 meters of zed spawning. - * [FIXED] - Fixed bandit detection for kills and humanity changes. - * [FIXED] - Fixed an issue where you wouldn't be able to pick up any loot. - * [FIXED] - Fixed an issue where bandaging another player wouldn't bandage them. - * [FIXED] - Added a range check to zed attacks, no more 5-10m hits. (We Hope) - * [FIXED] - Fixed issue where your player's body would be deleted if aborting too quickly. - * [FIXED] - Shadow LODs on soda cans. - * [FIXED] - Zeds full scale dmg has been readded. - - * [UPDATED] - Color saturation starts to fade out at blood level 9000 - * [UPDATED] - Rest to provide a 1% chance to cure infection (Can only be done once every 5 mins) - * [UPDATED] - Zed will now attack again while prone with animation. - * [UPDATED] - Updated tackle animations to an actual stumble/trip animation for back, left and right of player (holding a pistol remains unchanged). Players hit from the front will be stopped in their tracks. - * [UPDATED] - Reported bike damage is divided by 10. - * [UPDATED] - Much quicker login/loading. - * [UPDATED] - More reliable loot spawns. - * [UPDATED] - player knockdown by zeds should be less common. - * [UPDATED] - SUV has been unbanned and readded under SUV_DZ Server admins must update there database. - * [UPDATED] - fishing_Boat speed update from 15 to 45. - * [UPDATED] - SQL files for private database users Included all hitpoints and inventory systems. - * [UPDATED] - Updated pMain to now include extra setting --execute="call pMain(serverinstance) example. --execute="call pMain(1) would spawn all vehicles for instance 1 - * [UPDATED] - Zed Target system updated to include movement speed changes. aboue 10m = full speed, aboue 2.2m and below 10m = Approch speed, below 2.2 = attack speed. - * [UPDATED] - Attack system updated to include LOS & Angle of attack checks as the animation is run to make sure player is only damaged/knockdown if they meet both conditions. - * [UPDATED] - RoadBlocks/Trash should now spawn quicker based on the current speed of the player. - - Both removed so we can debug fps issues: - * [REMOVED] - Wild Zeds while we try to debug issues with FPS. - * [REMOVED] - Zeds will no longer spawn while in vehicles. - -______________________ -Version 1.7.7 ---------------- - -* Releasedate 10 June 2013 - - -Affected addons: -* dayz_anim -* dayz_code -* dayz_communityassets -* dayz_sfx - -Serverside affected addons: -* dayz_server (server admins only) -* Mission (server admins only) (Prerequisites) Downloaded from http://www.silentspy.net/utility/dayz/mission-generator/ -* SQL Files (server admins only) -* BattlEye-Filters (server admins only) - - - Changes: - - * [NEW] - Removed annoying "re-arm" option from actions menu. - * [NEW] - Models and textures for mutton. - * [NEW] - Separate meat for goats, same blood regen as mutton. - * [NEW] - Can now combine magazines. - * [NEW] - Added new loot & loot table for church. - * [NEW] - Added new food and drink items (only found in supermarkets). - * [NEW] - Added model for a dropped map and watch. - * [NEW] - Weapon MakarovSD (Military and Military Special). - * [NEW] - Weapon RPK_74 (Mi8 Helicrash). - * [NEW] - Vehicle damage displayed in percent (With a Toolbox). - * [NEW] - 5L Fuel can takes 1 inv slot. - * [NEW] - Added auth retry system to make sure clients are auth'ed before they spawn (should stop seagull issue). - * [NEW] - Added force end mission for players joining with wrong version/failed auth. (Will replace timeout later). - * [NEW] - Mi8 crash site model. - * [NEW] - 2 New background tracks. - * [NEW] - 6 New "Viral" zeds - They are harder to kill, they do more damage, and they have a higher chance of causing an infection... be afraid. (Headshot will kill in one shot) - * [NEW] - Added optional watermark for servername (Server admins can choose to enable/disable. (See Mission prerequisites)). Shows servername in the bottom right of screen max 6 letters. - * [NEW] - Remote exec security. Should prevent all major RE exploits - * [NEW] - Clear Ground around loot at crash sites added but disabled by default, server admins can enable. Adds a small circle around each loot pile - * [NEW] - Vehicles and tents now report free gear slots. Example: Old Camping Tent (weapons/others/backpacks). http://ziellos2k.net/images/20130417141327522.png - * [NEW] - Weapons spawns now have a chance to spawn with 0 mags up to a max of 2. - * [NEW] - Melee weapons can now be dropped and picked up using the normal a2 system. (This means you can now store in backpack and tents, without swapping to toolbelt) No need to take itemslots. - * [NEW] - New starting gear added. Guaranteed Start Items: ("ItemBandage","HandRoadFlare") + 1 RandomStartItem: ("ItemBandage","ItemPainkiller"). - * [NEW] - Servers date has been locked to give full moon nights. - * [NEW] - Zeds hitting through Walls/Buildings should now be fixed. - * [NEW] - Mainmenu Intro. - * [NEW] - Loadingscreen (Small changes). - * [NEW] - 2 new stash sites. (tools required = Etool or Shovel. Items required = 1 sandbog for small, 2 sandbags for medium) - Small Stash = 12 object slots, 0 Weapon, 0 bags. - Medium Stash = 25 object slots, 1 Weapon, 0 bags. - * [NEW] - Infected survivor camps. Three types (small). - * [NEW] - FPS Monitor this will dynamicly change how/total amount of zeds/loot/trash is spawning to keep the players base fps up. - * [NEW] - 1 New Melee weapon.(BaseBallBat) - * [NEW] - Wild Spawning of zeds has been redone and readded. - * [NEW] - Zed Spawning fully updated to spawn outside the players field of view. (Excludes Infected camps, due to trigger zones being tested). - * [NEW] - Zeds can now tackle players to the ground when attacked. - * [NEW] - Epeen UI has now been updated and renamed journal. - * [NEW] - All blood gained from food is now added into a regenreation pool that players will regenerate over time - * [NEW] - All food types now have a diminishing effect so the more you try and eat at once, the less blood you will get in return. - * [NEW] - Blood UI updated to indicate the player's blood loss / gain rate and will also indicate when you're sick (infected). - * [NEW] - Bloodbags will no longer transfer 12000 blood instantly, it's now done over 12 seconds (1000 blood per second). If the medic breaks away from the transfusion animation or the recipient moves out of range, the transfer stops and the remaining amount is lost along with the bloodbag in use. - - * [FIXED] - Vehicle repair should now work correctly. - * [FIXED] - Humanity skin change can now change during gameplay in all directions. (No longer have to die/logout to change from hero to normal to bandit and vice versa) - * [FIXED] - StudyBody should now work. (Describing wounds accurately) - * [FIXED] - Crashsite loot should now spawn correctly for all types of Crash models. - * [FIXED] - Hero Skin teleport issue. - * [FIXED] - BAF Bags so they don't set on fire. :-) (no moaning it was a bug) - * [FIXED] - Updated timeout timer from 40 secs to 3000 secs, Should allow lower end systems to keep up. (Something went wrong, please disconnect and try again!) - * [FIXED] - Zeds spawning underground. - * [FIXED] - Loot spawning underground. - * [FIXED] - Melee weapons having no ammo on login/skin change. (Open close gear menu will always reset ammo count to 10000) - * [FIXED] - Loot Spawns have now been fully resolved. Buildings are now tagged and will not spawn any new loot for 15 minutes. - * [FIXED] - Loot Cleanup has now been fully resolved. Old loot piles will now be cleaned every 60 minutes and no players within 250 meters(WIP). (Server performance boost) - * [FIXED] - Gear menu exploit to force respawn. - * [FIXED] - Optimized some destruction effects for security and performance. - * [FIXED] - Unconscious damage scale to only happen if hit by zeds. (reduces damage while unconscious) - * [FIXED] - Dayz Date/Time public var will now end mission on failed attempt. - * [FIXED] - Can no longer break legs by anything other than players/zeds/falling/getting out of moving vehicle. - * [FIXED] - A lot of duping issues should now be resolved. - * [FIXED] - Most wallhack exploits should now be resolved. - * [FIXED] - No more 3x get up Animation loop when recovering from unconscious - * [FIXED] - You can no longer get into vehicles while dragging players - * [FIXED] - Peripheral Vision. (Peripheral Dots) - - * [UPDATED] - Zed sight limited to 100 meters. - * [UPDATED] - Updated rabbit to drop 2 raw food items. Lowered hp gain to Raw - 200 each / Cooked - 1000 each. - * [UPDATED] - Updated chicken - hp gain. Raw - 200 each / Cooked - 1000 each. - * [UPDATED] - Moved anti teleport system to mission. Server admins can choose to enable/disable. (See prerequisites) - * [UPDATED] - ALL loot table weights have been updated. - * [UPDATED] - ALL loot table weights have been rebalanced. - * [UPDATED] - Updated Czech, German, Spanish, French and Russian stringtable. - * [UPDATED] - Makarov and 1911 Pistol dmg updated. - * [UPDATED] - CrashSite Loot should now represent each type of model more. (("MilitaryWEST","HeliCrashWEST") Two new crash site loot tables) - * [UPDATED] - Re-added the "save" option to tents and vehicles. This is a fail-safe option, not required. (Due to a small amount of servers reporting issues with tents saving. With no info for us to recreate we re-added this option to save tents/vehicles) - * [UPDATED] - Zed generate system. has now been fully rewrote should stop zeds spawning in view of players then being deleted. - * [UPDATED] - Zeds overall dmg has been updated per hit/per zed (Old Type: Max possible dmg = body 600, Legs 100, Hands 50, Head 1200 New Type: Body 1200, Head 2400) - * [UPDATED] - Bleed from zed attacks will now only happen if the initial dmg is above 0.7 or the zed gives a head shot. (should reduce the amount of bandages needed) - * [UPDATED] - Zeds knocking players unconscious now has a 50/50 chance if damage multiplier is above > 0.8 - * [UPDATED] - When unconscious all damage is reduced to 50 blood for each hit zeds do no matter the part they hit. (Should allow some survivability) - * [UPDATED] - Zeds sight and sound chance has been re-added so there is a chance they can ignore you. - * [UPDATED] - Sight and sound rebalanced to make them a little more even from movement. - * [UPDATED] - Call extension calls for vehicle damage. - * [UPDATED] - Zeds will no longer spawn for air vehicles. - * [UPDATED] - Hunters loot table adjusted with more weapons. - * [UPDATED] - SQL files working on Linux. - * [UPDATED] - Add crawl animation damage. Players will now take dmg from crawling zeds. - * [UPDATED] - Updated zed speed to default. - * [UPDATED] - Melee systems updated. - * [UPDATED] - Old Bandit skin for male characters. - * [UPDATED] - Lowered action sound for refuel from 10 meters to 5. - * [UPDATED] - Lowered Direct comms action sound. - * [UPDATED] - Vehicle damage syncs updated to reduce call extension spam. - * [UPDATED] - Lowered Transfusion infection rate. - * [UPDATED] - Quiver acts as a quiver, you now have to take an arrow out of the quiver. - * [UPDATED] - You can now only have 1 useable quiver in your main inventory and unlimited in your backpack. - * [UPDATED] - Melee range has been updated. - * [UPDATED] - HMMWV Cargo updated. (10 weapons, 50 slots and 2 backpack) - * [UPDATED] - AH6 & MH6 Cargo updated. (AH6 3 weapons, 30 slots and 2 backpacks) (MH6J 3 weapons, 20 slots and 3 backpacks) - * [UPDATED] - Fire Places will no longer act as storage systems. - * [UPDATED] - Fireplace can now only be lit once without adding new wood inside the fireplace. - * [UPDATED] - Fireplace can no longer be picked up after lighting. - * [UPDATED] - Vehicles speeds HMMWV, PBX and UAZ - Faster / ATV's - Slower - * [UPDATED] - Tanktraps, sandbags and razor-wires won't spawn in buildings. Tents will always spawn in a safe place. - * [UPDATED] - Up to +/-2000 Humanity gain/loss according to "humanKills" counter from killed character. - * [UPDATED] - Refuel now locks the player in place for the time to fill. - * [UPDATED] - More lootable buildings (Iron barn, car wrecks, several non enterable buildings...) - * [UPDATED] - 3 Chopper crash sites spawn on server start + 2-3 infected Camps. - * [UPDATED] - Sickness(Infection) can now cause death. - - * [REMOVED] - M107 and AS50(Banned) from all loot tables and removed all damage from bullets so they do 0 damage even if spawned in. - -______________________ -Version 1.7.6.1 ---------------- - -* Releasedate 26 February 2013 - - -Affected addons: -* dayz_code - - Changes: - - * [UPDATED] - Fixed version issues. - * [UPDATED] - Updated Spanish StringTables - * [UPDATED] - Force save updated. - * [REMOVED] - New models by JoeysLucky22: - - (Soda) Long's Island Iced Tea (Clayton) - - (Soda) Dr. Wasteland (Dr. wasteland) - - (Soda) Mikhail Made Lemonade (-=PA=-Mikhail) - - (Soda) LVG Root Beer (LVG) - - (Soda) Mountain Green - - (Soda) mZLY yZLY (mZLY) - - (Soda) R4Z0R soda (R4Z0R) - - (Soda) Smasht (Smasht) - - (Beer) Rabbitman (Rabbitman) - - (Can) Bad Guy's Ubiquitous Peaches (UbiquitousBadGuy) - - (Can) Chef Boneboy Ravioli (Boneboys) - - (Can) Curgon's Chicken Noodle Soup (Curgon) - - (Can) Demon Groves Green Beans (DemonGroover) - - (Can) FraggleOs (Fraggle) - - (Can) Griff Black Beans (Griff) - - (Can) Herpy Dooves Canned Muffins (DerpyHooves) - - (Can) Orlok Mixed Fruit (orlok) - - (Can) Powell's New England Clam Chowder (Powell) - - (Can) Unlabeled Can - - (Can) Tyler's Kidney Beans - - (Can) Conrad's Whole Kernel Corn - - -______________________ -Version 1.7.6 ---------------- - -* Releasedate 26 February 2013 - - -Affected addons: -* dayz_code -* dayz_sfx -* dayz_communityassets - -Serverside affected addons: -* dayz_server (server admins only) -* Mission (server admins only) - - Changes: - - * [NEW] - Added a 2 minite delay to new zeds spawning once MaxLocal zeds fall's below the acceptable level. - * [NEW] - Added new sfx for chopping wood. - * [NEW] - Started Update for Cherno intro. (map intro) - * [NEW] - Zed attraction, this will draw zeds to loiter closer to players over time. - * [NEW] - BAF_L85A2_RIS_SUSAT - (Heilcrash - HeliCrash_No50s) - * [NEW] - Crossbow Quiver added - 6 arrow mag size. - * [NEW] - WoodenArrow added 6 arrows can be turned into a quiver. - * [NEW] - WoodenArrow can be picked up after use. - * [NEW] - 20% of breaking WoodenArrow when firing it. - * [NEW] - Crowbar now attaches to toolbelt. - * [NEW] - Added Anti teleport script. Reported to server's RPT log - - * [NEW] - New models by JoeysLucky22: - - (Soda) Long's Island Iced Tea (Clayton) - - (Soda) Dr. Wasteland (Dr. wasteland) - - (Soda) Mikhail Made Lemonade (-=PA=-Mikhail) - - (Soda) LVG Root Beer (LVG) - - (Soda) Mountain Green - - (Soda) mZLY yZLY (mZLY) - - (Soda) R4Z0R soda (R4Z0R) - - (Soda) Smasht (Smasht) - - (Beer) Rabbitman (Rabbitman) - - (Can) Bad Guy's Ubiquitous Peaches (UbiquitousBadGuy) - - (Can) Chef Boneboy Ravioli (Boneboys) - - (Can) Curgon's Chicken Noodle Soup (Curgon) - - (Can) Demon Groves Green Beans (DemonGroover) - - (Can) FraggleOs (Fraggle) - - (Can) Griff Black Beans (Griff) - - (Can) Herpy Dooves Canned Muffins (DerpyHooves) - - (Can) Orlok Mixed Fruit (orlok) - - (Can) Powell's New England Clam Chowder (Powell) - - (Can) Unlabeled Can - - (Can) Tyler's Kidney Beans - - (Can) Conrad's Whole Kernel Corn - - * [NEW] - New models by Elvaron: - - New melee weapon: Machete - (Farm - Hunting) - - New Food: Pack of pistachios - - New Food: Pack of trail mix - - New Food: MRE military rations (Military Loot) - - New junk loot - - Model for Compass instead of green pouch in loot pile - - 2rnd shells for pellet and slugshot shotgun ammunition (no more 8 bullets shown on ground when it's actually 2 bullets) - - New models and textures for FoodBaconRaw and FoodBaconCooked. - - Model and textures for Quiver. - - * [UPDATED] - BoltsSteel replaced with WoodenArrows. - * [UPDATED] - BAF_L85A2_RIS_Holo Removed from crash site's added to Military tables - * [UPDATED] - loot weighted array generation fixed. - * [UPDATED] - Updated logout system to check radius of zeds from 50 meters to 35 meters (30 sec count) - * [UPDATED] - Player range on logout to 6 meters. (30 Sec count) - * [UPDATED] - Max Range of targets 120 meters down from 300 meters. (this should help long range agro, This is zeds max target range). - * [UPDATED] - AI behavior updated to try making them zigzag less. - * [UPDATED] - Added push bikes to the zeds pull from vehicle list. - * [UPDATED] - Epeen key moved to Custom Controls - Use action key 20 (No default key needs setting up) - * [UPDATED] - Zeds Targets array modified - * [UPDATED] - Weapon fire sounds divided by 2 (This will help us settle zeds hearing a little more) (107_DZ Zed pull range 450 meters / 2 = 225 meters (capped 120 meters about for now)) - * [UPDATED] - Max local zeds per client now fixed at 40 zeds, Global at 40 +10 for each player within 400 meters and total 500 zeds max. - * [UPDATED] - Added some czech language - * [UPDATED] - Updated zed attraction to dead players from 50 meters to 20 meters. - * [UPDATED] - Players will now drop empty cans after consumption to nearest lootpile or creates new one. - * [UPDATED] - Updated Infection to cough, shake camera and loose blood. - * [UPDATED] - Updated Russian string tables. - * [UPDATED] - Backpack Spawns should now see higher grade backpacks more. - * [UPDATED] - Deer stands has its own loot table (Hunting). - * [UPDATED] - Reduced Zed Running Speed. - - * [FIXED] - Zeds talk, lowed to 80 meters down from 200 meters this will stop any zeds targeting for sight/noise outside of this radius - * [FIXED] - CookedBeef StringTables now added. - * [FIXED] - Spanish, French StringTables updated. - * [FIXED] - logout timers updated from sleep 3 to sleep 1 this should now fix long logout timers. - * [FIXED] - Zeds should no longer walk though all objects. (Some objects can still be walked thought) - * [FIXED] - Updated refuel to attract zeds. (3-6 Meters) - * [FIXED] - EH's updated to work with BattlEye filters. - * [FIXED] - Ammo counts now fixed on dc. - * [FIXED] - Zeds will no longer magically hit players just because there within 3 meters. ( Zeds can no longer dmg without running the attack animations. (running into zeds will no longer dmg the player)) - * [FIXED] - Fixed some base class's for vehicles reporting issues with crew - * [FIXED] - You can now logout with a broken leg. - * [FIXED] - Temperature icon should not disappear anymore. - * [FIXED] - Humanity should now work increase again. - * [FIXED] - Chemlights and flares now work again. - * [FIXED] - time is now set on startup. - * [FIXED] - Hatchet and crowbar don't require reload anymore. - * [FIXED] - Hatchet and crowbar no longer overwrite each other. - * [FIXED] - Exploit when converting Mags into other mags (Example - DMR to M24 then back) - * [FIXED] - Blood particles not shown for player. - * [FIXED] - Hide body animation not shown for player. - - * [REMOVED] - Chase combat logging systems removed. (Removed due to early warning of aggro) - * [REMOVED] - Debriefing window has started to be cleaned up. (blank box on dc) - * [REMOVED] - BearTrap Due to issues with the trap still staying active after removal. - * [REMOVED] - Removed DZ_Patrol_Pack_EP1 Due to us no longer planning to remove backpacks from new spawns. - * [REMOVED] - Removed all chance based systems for sight and sound from zeds they will now only agro if in view or your making noise. Should allow more freedom to move. - - * [NOT FIXED] - Zombies attacking through objects (This won't be anything we can fix without a massive fps cost). - - Combat Roll: - - * [FIXED] - No longer possible to combat roll with broken leg - * [FIXED] - Added 4 sec delay to multiple rolls. - * [FIXED] - No longer possible to combat roll over player created objects (tents, sandbags so on) - * [FIXED] - No longer combat roll in buildings. - - - -______________________ -Version 1.7.5.1 ---------------- - -* Releasedate 04 February 2013 - - -Affected addons: -* dayz_code -* dayz_anim - - Changes: - - * [UPDATED] - STR_ITEMWATERBOTTLEBOILED_CODE_DESC - German (Eine Flasche mit abgekochten Wasser) - * [UPDATED] - STR_ITEMWATERBOTTLEBOILED_CODE_DESC - French (Une bouteille a �t� remplie d'eau bouillie qui peut �tre consomm�e.) - * [UPDATED] - HMMWV Stroage has been updated to 4 weapons, 12 slots and 4 backpacks. - - * [FIXED] - HMMWV Should now be able to be repaired fully. - * [FIXED] - Gut object should be working without errors. - * [FIXED] - Repair option should now only work on vehicles. - * [FIXED] - AS50 was mistakenly banned now unbanned. - -______________________ -Version 1.7.5 ---------------- - -* Releasedate 04 February 2013 - - -Affected addons: -* dayz_code -* dayz_anim - -Serverside affected addons: -* dayz_server (server admins only) -* Mission (server admins only) - - Changes: - - * [NEW] Weapon - Sa58P_EP1. (Military) - * [NEW] Weapon - Sa58V_EP1. (Military) - * [NEW] Weapon - Sa58V_RCO_EP1. (MilitaryS) - * [NEW] Weapon - Sa58V_CCO_EP1. (MilitaryS) - * [NEW] Weapon - G36C. (HeliCrash) - * [NEW] Weapon - G36C_camo. (HeliCrash) - * [NEW] Weapon - G36A_camo. (HeliCrash) - * [NEW] Weapon - G36K_camo. (HeliCrash) - * [NEW] Weapon - M40A3 (MilitaryS) - * [NEW] Vehicle - HMMWV_DZ. - * [NEW] Vehicle - MH6J_DZ. - * [NEW] - Ability to flip ATV's. - * [NEW] - Zeds spawn while in vehicles. - * [NEW] - Zeds now have the ability to damage vehicles. This is limited to glass only once glass is destroyed players within will be damaged. - * [NEW] - Zeds now have the ability to pull you from open vehicles. - * [NEW] - New Load screens added. - * [NEW] - Chopper weapons can now be reloaded. - * [NEW] - UH60Wreck added - * [NEW] - New zed & loot spawn systems rewrote Phase 1. - * [NEW] - Revamped GUI icons to now empty as you lose the relevant item (blood,food,water) Thanks Des - * [NEW] - Infection changes when eating food and drinking water. (tin and canned items don't count) - * [NEW] - Epeen monitor added to display player stats. (Zombies Killed, Headshots, Murders, Bandits Killed, Humanity) - Press Scroll Lock to use - * [NEW] - Toolbox is now needed to build Wire,tanktrap. - * [NEW] - Etool is now needed to build Sandbags. - * [NEW] - 5 New types of food ("FoodmuttonCooked","FoodchickenCooked","FoodBaconCooked","HIDDEN","FooedRabbitCooked"). - * [NEW] - 4 New Raw food. ("FoodbaconRaw","FoodchickenRaw","FoodmuttonRaw","foodrabbitRaw") - * [NEW] - Bloodbags can now give an infection. - * [NEW] - Added moving combat roll (KK's Volt). - * [NEW] - Survived Dayz added to Epeen monitor. - - * [NEW] - Cutting down trees now attracts zeds. - * [NEW] - After you have eaten a canned product you now get an empty tincan back. - * [NEW] - Added definition of arrays for meatraw / meatcooked - * [NEW] - You can now eat raw meat (low hp add + possible infection), and Cooked meat (high hp add w/o infection) - - * [NEW] - RawMeat blood values (beef-100,rabbit-400,bacon-150,chicken-100,mutton-100). - * [NEW] - Cookedmeat blood values (beef-600,rabbit-1600,bacon-400,chicken-400,mutton-400). - - * [NEW] - You can now boil water using a fire,TrashTinCan or ItemSodaEmpty and fullwaterbottle - * [NEW] - Water (possible infection), and Boiled Water (w/o infection) - - - * [UPDATED] - BAF_L85A2_RIS_CWS replaced with BAF_L85A2_RIS_Holo. (HeliCrash) - * [UPDATED] - Added a much faster login process. (Advantages: Login Speed up) - * [UPDATED] - Limited amount of ammo found with weapons. - * [UPDATED] - Gender selection images updated thanks Des. - * [UPDATED] - Updated infection chance during zed attacks from 1/1000 to 1/500. - * [UPDATED] - Changed Loot tables to increase the supply of Antibiotic drops. - * [UPDATED] - Combat Mode is now affected by everything you do and everything done to you (example any kind of damage). - * [UPDATED] - Updated Mi17_DZ and UH1H_DZ to max ammo Max 100 rounds per gun. - * [UPDATED] - UH1 Crash sites no longer all spawn on server start but throughout the game. - * [UPDATED] - Damage processing for zombie attacks with prebuilt weighted arrays. (Advantages: speedup and saves a lot of cpu cycles) - * [UPDATED] - Much faster fn_instring. - * [UPDATED] - Cargo space redo. - MI17_DZ ( transportMaxWeapons = 10;, transportMaxMagazines = 50;, transportmaxbackpacks = 10; ) - UH1H_DZ ( transportMaxWeapons = 5;, transportMaxMagazines = 25;, transportmaxbackpacks = 4; ) - AH6_DZ ( transportMaxWeapons = 3;, transportMaxMagazines = 10;, transportmaxbackpacks = 2; ) - Mh6J_DZ ( transportMaxWeapons = 3;, transportMaxMagazines = 20;, transportmaxbackpacks = 0; ) - AN2_DZ ( transportMaxWeapons = 10;, transportMaxMagazines = 80;, transportmaxbackpacks = 15; ) - * [UPDATED] - CZ_VestPouch_EP1 to be more useful 12 slots 0 weapon slots. - * [UPDATED] - Zeds will talk to other zeds within 80 meter. - * [UPDATED] - Combat Logging is now active during Zombie chase. - * [UPDATED] - Backpacks updated. (https://github.com/R4Z0R49/DayZMod/wiki/Backpacks) - * [UPDATED] - Animal Meat reset. 6(cow),4(goat),4(sheep),4(boar),2(Hen),1(Rabbit) - * [UPDATED] - Epeen monitor moved to scroll lock key and work started on moving to diary - * [UPDATED] - Massive cleanup remove all useless files. - * [UPDATED] - Redone all public EH's - * [UPDATED] - Combat/zombie logout + anti-duping overhaul - (https://github.com/R4Z0R49/DayZMod/commit/44321a6856f5fd2d5544d1293c2450f9b2df6fbd) - * [UPDATED] - String tables to include = English, German, Russian, Spanish, Dutch, French - * [UPDATED] - All base class's have been updated to match the dayz removal proc's (weapons) - - * [FIXED] - Zeds hearing should now be fixed. - * [FIXED] - Temperature icon color now ranges from iceblue (cold) to red (hot) - * [FIXED] - German Tranlations updated. - * [FIXED] - Mi17 gunner seat is now fixed. (you no longer stand outside) - * [FIXED] - Bloodbag glitch fixed. - * [FIXED] - UH1Y_DZ animation issues. - * [FIXED] - Infection is now fixed loss of blood 3 per sec (will not drop below 3k blood) - * [FIXED] - Epeen monitor animation should now work correct without the fps drop. - * [FIXED] - DZ_Czech_Vest_Puch backpack class config. (Warning Message: No entry 'bin\config.bin/CfgMagazines.DZ_Czech_Vest_Puch'.) - * [FIXED] - Variable spelling mistakes should be corrected now. - * [FIXED] - Moved all new foods to stringtable. - * [FIXED] - Fixed infection chance when giving blood.(No longer applies to player giving blood) :-( - * [FIXED] - ALT F4 Sync issue now fixed - * [FIXED] - Pause menu can no longer be assigned to mouse keys to bypass respawn. - - * [REMOVED] - BAF_L85A2_RIS_CWS (Based on poll) - * [REMOVED] - Banned m136 as it never really worked and served no real purpose. - * [REMOVED] - In Combat bot removed while we work on speed improvements. - * [REMOVED] - Peripheral Vision. (Peripheral Dots) - * [REMOVED] - MPTable Removed. - * [REMOVED] - Axes now have a small chance to fail due to them being blunt (others later) 9% Chance. ** Can still be used as weapon ** - * [REMOVED] - Matches can now run out (others later) 9% Chance. (at this time this is a random chance) - * [REMOVED] - Knife will now have a chance to go blunt causing it to give less food from gutting animals 9% chance(Blunt), 50% less food(Gutting) - * [REMOVED] - You can no longer apply more than one bloodbag per 10 mins per player - * [REMOVED] - You can no longer regain blood from cooked food for 1 hour after eating. (ie spamming cooked meat to regain hp) - * [REMOVED] - No longer need tool box to place bear traps. - * [REMOVED] - You can no longer consume food while your not hungry (within 3 mins of eating) - * [REMOVED] - You can no longer drink while your not thirsty (within 3 mins of drinking) - * [REMOVED] - 6 New items added to loot tables. (Inplace of item lockup or braking) - * [REMOVED] - Food models removed - - Hive: - * [NEW] - Added new constraint to block non Dayz items from being written to the db - - * [UPDATED] - Publish Object will now only publish items allowed. (tents, other deployables) - * [UPDATED] - Updated Basic SQL Procs. - - * [FIXED] - Crash issue on stale child calls - - * [REMOVED] Upstream hive (public hive): - -______________________ -Version 1.7.4.4 ---------------- - -* Releasedate 21 November 2012 - - -Affected addons: -* dayz_anim -* dayz_code -* dayz_sfx -* dayz_communityassets - -Serverside affected addons: -* dayz_server (server admins only) -* Mission (server admins only) - - Changes: - - * [NEW] class Mi17_TK_EP1 Now Unbanned. (Mi17_DZ) - * [NEW] An2_TK_EP1 Now Unbanned.(AN2_DZ) - * [NEW] AH6X Now Unbanned. (AH6X_DZ) - * [NEW] BAF_Offroad_D Now Unbanned. - * [NEW] BAF_Offroad_W Now Added. - * [NEW] Fully Removed Save button from action menu. - * [NEW] New combat mode icon (G17) thanks Alexander. - * [NEW] Gender section screen thanks F0rt. - * [NEW] You can no longer place tents in ponds. - * [NEW] Disabled greeting menu . - * [NEW] Disabled radio messages to be heard and shown in the left lower corner of the screen. - * [NEW] General speed up of the login process. - * [NEW] (*.2 Hotfix)Added some Anti-cheat. - * [NEW] (*.3 Hotfix)Added local copy of cert if it cant get one online, version checks. - - - * [UPDATED] Combat Logging "Fired Near" checks are now limited to 8 metre radius. - * [UPDATED] Combat Logging "Projectile Near" Have now been removed while we look for a less intensive way to track projectiles. - * [UPDATED] Combat Logging is now removed on death. - * [UPDATED] Corrected legs and hands fractures they must be set with actual value. - * [UPDATED] (*.1 Hotfix)Updated hive .dlls to fix a reconnect issue with prepared statements. - * [UPDATED] (*.1 Hotfix)Increased m107 loot chance to 0.02. - * [UPDATED] (*.1 Hotfix)Lowered As50 loot chance to 0.01 - - * [FIXED] Adding checks for female skin humanity/login. - * [FIXED] Adding female skin to variables. - * [FIXED] Fixed Parachute so jumping out of choppers won?t kill you. - * [FIXED] Event Handle for wrecked choppers this should allow the smoke on wrecks to work all the time. - * [FIXED] Event Handle for Vehicles this fix's problems with local vehicle damage calls. - * [FIXED] Remove objects from DB by objectID and objectUID only. (Should fix Deployable problems) - * [FIXED] Debug menu options are no longer editable. - * [FIXED] Locked Singleplayer Menu - * [FIXED] (*.1 Hotfix) Players with high CharacterID weren't dying properly. - * [FIXED] (*.2 Hotfix) Fixed 2nd Parachute removal issue. - - * [REMOVED] Damaged logging to .rpt removed all traces of dmg to a player. - * [REMOVED] An2_1_TK_CIV_EP1 Got removed during testing devs felt it lacked purpose in the game. - * [REMOVED] An2_2_TK_CIV_EP1 Got removed during testing devs felt it lacked purpose in the game. - * [REMOVED] MV22 Got removed during testing devs felt it lacked perpose in the game. - * [REMOVED] S1203_ambulance_EP1 Got replaced during testing to a hmmv class vehicle. - * [REMOVED] BAF_L85A2_RIS_CWS From Loot table. - * [REMOVED] UH60_wreck_EP1. - * [REMOVED] HMMWV_Ambulance_CZ_DES_EP1 Removed due to its heal abilty. - * [REMOVED] Dogs Removed while we rewrite the hud and correct a few other issues. (attak, Getin/out of vehicles) - * [REMOVED] UH60M_MEV_EP1 Removed due to its heal abilty. - * [REMOVED] (*.4 Hotfix) Street Lights Removed. - - - Upstream hive (public hive): - - Adjusted the respawn rates of vehicles. Previously all vehicles had pretty long respawn time making them a bit too rare. - Still requires a server restart for vehicles to show up in-game. - * [UPDATED] Destroyed low-end (boats, bicycles) vehicles now respawn after 3h. - * [UPDATED] Destroyed medium-end (normal cars, motorcycle, quads) vehicles respawn after 12h. - * [UPDATED] Destroyed high-end ( aircraft, all-terrain) vehicles respawn after 24h. - Note: Respawn rates are our recommended rule set, they may differ on some private hive servers. - -______________________ -Version 1.7.3 ---------------- - -* Releasedate 31 October 2012 - - -Affected addons: -* dayz_code - -Serverside affected addons: -* dayz_server (server admins only) - - - Changes: - - * [NEW] Tents can no longer be placed on concrete. - * [NEW] Vehicle menus now list all damaged parts no matter if you have the item or not. - * [NEW] Vehicle repair menus will now let you know the exact item you need to repair on failed repair attempts. - * [NEW] New Combat System If you fire a weapon, then you go into combat. During combat, "ABORT" is disabled. (Need to look at the effects with high player counts) - * [NEW] Combat 30 sec timer on all combat actions. - * [NEW] Toolbox is now needed for all repairs. - * [NEW] Alt-f4 is now locked and will only open your status menu. - * [NEW] combat 30 sec timer on all combat actions. - - * [UPDATED] Vehicle repair menus now all replaced. - * [UPDATED] Updated UI control bug. - * [UPDATED] ItemWire reduced from 0.06 to 0.01 - * [UPDATED] PartEngine updated from 0.01 to 0.06 - * [UPDATED] Version info is now displayed correct - - * [FIXED] Zombie death animation is delayed (now it plays instantly) - * [FIXED] Building checks for tent placement (No longer place tents in buildings). - * [FIXED] Tents now are one click place. - * [FIXED] Fixed function for checking if in buildings - * [FIXED] Vehicle Damage is now fully working. - * [FIXED] Vehicle Killed is now in effect fully destroyed vehicles will now set correct in db. - * [FIXED] Tents Now add and remove from db. - * [FIXED] Food can no longer be consumed if the player does not have in inventory. - * [FIXED] water can no longer be consumed if the player does not have in inventory. - * [FIXED] No longer possible to drink/eat/pitch a tent/put on clothes/build sand bags/cat wire/hedgehogs/consume medical supplies/free filled water without consuming the item. - * [FIXED] No longer possible to create axes out of thin air if you already have one - * [FIXED] Switching skins no longer repairs pain shakes/broken legs/resets/dupes/screws/resets ammo - * [FIXED] Duping no longer possible through zombie corpses/etc - * [FIXED] It should now be impossible for a new players spawns to spawn unconscious. - * [FIXED] You can no longer cook infinite free meat from camp fires - * [FIXED] Survivors should no longer pickup a single item at the same time and both receive it. - * [FIXED] You can no longer generate multiple tents while packing up a deployed tent. - * [FIXED] You can no longer change clothes/eat/drink/etc. while in a vehicle - - Hive: - * [NEW] HiveEXT.dll updated with new optimized version that supports both private and public hive. - * [NEW] Official public Hive login is now hard coded into the .dll (Outgoing TCP port 80 and 3306 has to be allowed to use public hive) - * [NEW] New Hive can now set ingame time to custom, local(local server time), static - * [FIXED] Object Gear syncs happen based on radius not just on menu. - * [FIXED] Vehicle Position is now updated with client position. - * [FIXED] Vehicles save fuel properly -______________________ -Version 1.7.2.6 ---------------- - -* Releasedate 6 September 2012 - - -Affected addons: -* dayz -* dayz_code - -Serverside affected addons: -* dayz_server (server admins only) - - Changes: - - * [NEW] Bear trap has chance to spawn on infected hunters - * [NEW] Three UI options available: Default (indicators only), Debug (indicators + debug window), None (only base ArmA2 UI) - - * [FIXED] Graphical glitches with dead bodies (Bodies should now not display graphical glitches) - * [FIXED] Converting between magazine types resets ammo count (Now only contains previous number of rounds) -______________________ -Version 1.7.2.5 ---------------- - -* Releasedate 8 August 2012 - - -Affected addons: -* dayz_code - -Serverside affected addons: -* dayz_server (server admins only) - - Changes: - - * [NEW] Additional optimizations to login process (further use of publicVariableClient to reduce network transmission) - - * [FIXED] Ammunition amounts not loaded in properly (Now records used ammunition correctly) - * [FIXED] Graphical glitches with barbed wire (Rebinarized file should no longer produce graphical artifacts) - * [FIXED] Respawn button not enabled when legs fractured (Now enables for fractured legs https://dev-heaven.net/issues/39161 ) - * [FIXED] Excessive logging of player data in server logs (Disabled https://dev-heaven.net/issues/38784 ) - * [FIXED] Graphical glitches with dead bodies (Rebinarized file should no longer produce graphical artifacts) -______________________ -Version 1.7.2.4 ---------------- - -* Releasedate 26 July 2012 - - -Affected addons: -* dayz -* dayz_code -* dayz_anim - -Serverside affected addons: -* dayz_server (server admins only) - - - Changes: - - * [NEW] Respawn button is disabled during DayZ play - * [NEW] Optimized authentication process on login - * [NEW] Singleplayer mode disabled when DayZ is loaded - * [NEW] DayZ Logo and Version Number appear in game when DayZ is loaded - * [NEW] Hive now tracks login/logout (to assist in analysis for an ALT+F4 solution) - * [NEW] Respawn button is enabled if the player has a fracture - * [NEW] Players spawning in debug area or "water world" will spawn on beach on next login (with their gear) - * [NEW] Client will automatically spawn player out of debug and waterworld to last known position - * [NEW] Radar removed from helicopter (UH1H will be added back to vehicle spawns) - - * [FIXED] Infected cannot hear weapon firing (now they actually hear again) - * [FIXED] Clothing no longer spawning (now it spawns as it used too) - * [FIXED] Tents and items with ID's above 1 million don't syncronize (now it should syncronize, players to confirm) - * [FIXED] Players switched to non-player skins (by hackers) sync to database (updates no longer saved for objects non-authorized skins) - -______________________ -Version 1.7.2.2 ---------------- - -* Releasedate 13 July 2012 - - -Affected addons: -* dayz_code -* dayz_anim - -Serverside affected addons: -* dayz_server (server admins only) - - Changes: - - * [NEW] Server side performance tweaks and improvments - - * [FIXED] Ghillie and skin removal on login ( https://dev-heaven.net/issues/36666 ) - * [FIXED] Arma X stuck on loading screen ( https://dev-heaven.net/issues/36647 ) - * [FIXED] AKS_74_kobra classname incorrectly named ( https://dev-heaven.net/issues/36680 ) - * [FIXED] Infected detect players from too far away (reduced by about 20%) - * [FIXED] Disconnect updates not being correctly applied (caused inventory issues) - * [FIXED] Bear traps not appearing for spawn (low spawn) -______________________ -Version 1.7.2.1 ---------------- - -* Releasedate 10 July 2012 - - -Affected addons: -* dayz_code -* dayz_anim - -Serverside affected addons: -* dayz_server (server admins only) - - Changes: - - * [FIXED] Infected attack those they cannot see ( https://dev-heaven.net/issues/36375 ) - * [FIXED] Wearing clothes makes you invisible ( https://dev-heaven.net/issues/36371 ) - * [FIXED] New authentication method causing lockups on full servers (Reverted use of publicVariableServer) - * [FIXED] Pressing ALT key caused spamming of server sync ( No longer spams for sync'ing a character ) -______________________ -Version 1.7.2 ---------------- - -* Releasedate 9 July 2012 - - -Affected addons: -* dayz -* dayz_code -* dayz_anim -* dayz_equip - - Changes: - - * [NEW] Player Syncing system replaced (increased performance and ammo quantity tracking) - * [NEW] Visibility now smoothly alters based on sun, moon, cloud, rain, and fog state - * [NEW] Aubility now dampened in rain and increased by fog - * [NEW] Exponent driven probability introduced into visibility calculation - * [NEW] Set Bear Traps that break player and infected legs, kills animals, when activated - * [NEW] Authentication process streamlined with new ArmA2 Beta commands (publicVariableServer and publicVariableClient) - * [NEW] Authentication for duplicate IDs supportive of the new beta patch (ArmAX users) - - * [FIXED] Hatchet/Crowbar requires reloading ( https://dev-heaven.net/issues/34903 ) - * [FIXED] Unlimited Wire fence/Sandbag/Tank Trap Bug ( https://dev-heaven.net/issues/34283 ) - * [FIXED] Duplication Exploit on object pickup ( https://dev-heaven.net/issues/34031 ) - * [FIXED] Not full magazines disappear when you reconnect ( https://dev-heaven.net/issues/33998 ) - * [FIXED] Dead bodies still have the heart beat for low humanity ( https://dev-heaven.net/issues/35050 ) - * [FIXED] Object cleanup causing significant (huge) performance issue on servers (reduced by up to 50%, means more players + zombies possible) - * [FIXED] Use of "allMissionObjects" causing performance issue on clients (new engine command "entities" used to improve FPS on clients) - * [FIXED] Too easy to break legs due to infected (reduced probability of leg damage, reduced amount of leg damage) - * [FIXED] Inspection of dead bodies does not work (fix only applies with ArmA2 Beta 94033 and above) - * [FIXED] Error reports are almost invisible (has now been fixed) - * [FIXED] Daylight calculations causing slight FPS issue - * [FIXED] Infected hear perfectly through objects (noise reduced by 50% through an object) - * [FIXED] Animal bodies despawn way too fast (now despawn automatically after 2 minutes) - * [FIXED] Corrupted update data causes people to spawn in debug forest (now will not save corrupted position data) - * [FIXED] States where animal might stop walking around (now should walk around more) - * [FIXED] Animal AI routines consuming large amounts of FPS (now in line with Infected AI routines, reduced FPS usage) - -______________________ -Version 1.7.1.5 ---------------- - -* Releasedate 20 June 2012 - - -Affected addons: -* dayz_code -* dayz_weapons -* dayz_equip - - Changes: - - * [NEW] Infected raycast for line-of-sight less often (improves performance) - * [NEW] Infected bodies will despawn after 5 minutes of their death (improves performance) - * [NEW] Flashlights can now be packed to toolbelt also (gear action) - * [NEW] New players will spawn with flashlight added to their toolbelt not backpack - * [NEW] Flashlights can now be packed to toolbelt also (gear action) - * [NEW] New players will spawn with flashlight added to their toolbelt not backpack - - * [FIXED] Infected can see through terrain ( https://dev-heaven.net/issues/33787 ) - * [FIXED] Raycasting being taken from wrong body position (ensured it is from eye level) - * [FIXED] Infected sometimes spawn close to a player (previous check once, now up to ten times) - * [FIXED] Sometimes infected will stand still after loosing line-of-sight ( https://dev-heaven.net/issues/33715 ) - * [FIXED] Can dupe tent's by right clicking (forgot to close the window) - * [FIXED] Poor performance caused by infected search behavior (MAJOR performance increase during closed testing) - * [FIXED] Audibility is far to high (completely rebalanced, in line with how it was in previous updates) - * [FIXED] Can dupe food during cooking if click really fast (now you cannot) - * [FIXED] Trying to pick up a hatchet would create fake ammo (now will not) - * [FIXED] Hatchet takes up too much room (can now be transferred between toolbelt and primary slot through gear action) - * [FIXED] Infected sometimes not inspecting thrown items (they will walk to the location of a noise, 20-40m away) - * [FIXED] Unlimited Infected spawning (now has a cooldown enabled so it won't spawn too many at once) - * [FIXED] Melee weapon sounds non-existent/terrible (now has placeholder sounds) - - * [REVERT] Hatchet now collected as an Item (toolbelt) and can be equipped to primary (gear action) -______________________ -Version 1.7.1.4 ---------------- - -* Releasedate 19 June 2012 - - -Affected addons: -* dayz_code -* dayz_equip - - Changes: - - * [FIXED] Performance issue with equipment proxies (improves FPS) -______________________ -Version 1.7.1.3 ---------------- - -* Releasedate 19 June 2012 - - -Affected addons: -* dayz_code -* dayz_weapons -* dayz_equip - -Serverside affected addons: -* dayz_server (server admins only) - - Changes: - - * [NEW] Once infected lose line-of-sight they will try investigate where you are - * [NEW] Significant loot rebalancing - - * [FIXED] Melee items causing magazine glitching and eventual server death (fixed) - * [FIXED] Unconscious UI Image displays incorrectly - * [FIXED] Bleeding never stops unless bandaged (chance of spontanious bleeding stopping now works) - * [FIXED] Interior infected spawning inside of building walls etc... (interior infected now spawn inside correctly) - * [FIXED] Speed not correctly utilized for checking stealth levels ( https://dev-heaven.net/issues/33630 ) - * [FIXED] Posture error can occur on stealth check ( https://dev-heaven.net/issues/33628 ) - * [FIXED] Config error messages on popup (Caused by legacy classnames, error handling implemented to prevent this) - * [FIXED] Unable to repair helicopter fuel leak (repair all parts to 95% or above and fuel leak will stop) - * [FIXED] Massive lag and desync on some servers (mostly caused by the invisible replicating magazines) - * [FIXED] Losing blood from starvation/dehydration cannot receive transfusion ( https://dev-heaven.net/issues/33677 ) - * [FIXED] Hunger and Thirst no longer continue to drop while you are offline (only ingame time counts) - * [FIXED] Flies still heard around removed/hidden bodies ( https://dev-heaven.net/issues/33472 ) - * [FIXED] "Fus ro dah" melee (now should be the correct release files) - - * [REVERT] Nerf of sickness damage (now will reduce your blood to 6000 rather than 10000) -______________________ -Version 1.7.1.2 ---------------- - -* Releasedate 19 June 2012 - - -Affected addons: -* dayz_code -* dayz_weapons -* dayz_equip - -Serverside affected addons: -* dayz_server (server admins only) - - Changes: - - * [NEW] Tone Mapping to enhance nightlighting conditions - * [NEW] Melee Weapon introduced: Hatchet (can only drop through right click in gear menu) - * [NEW] Maximum animals increased - * [NEW] Melee Weapon introduced: Crowbar (can only drop through right click in gear menu) - * [NEW] Double Barrelled shotgun sound - - * [FIXED] Generic Loot not spawning (such as food etc...) - * [FIXED] Animals stand still and HURR DURRR (they now walk around) - * [FIXED] New blood values not being saved when a player eats (they do now) - * [FIXED] Duplicate players not being removed (should now be removed on login) - * [FIXED] Gender assignment broken (working correctly) -______________________ -Version 1.7.1.1 ---------------- - -* Releasedate 17 June 2012 - - -Affected addons: -* dayz_code - -Serverside affected addons: -* dayz_server (server admins only) - - Changes: - - * [NEW] Can select gender for each new character - * [NEW] Small tweaks to AI zombie routines to improve performance - * [NEW] Marakov spawn rate increased - * [NEW] Tweaked audibility and visibility values for kneel walking - * [NEW] Small chance Mararov ammo will spawn on an infected - - * [FIXED] Server item cleanup error (thanks Dwarden for identifying) - * [FIXED] Server weighted random object error (thanks Dwarden for identifying) - * [FIXED] Area not checked for existing infected before spawning new ones ("blind faith" that it had not made a mistake didn't work) - * [FIXED] Crippling performance issues caused by loot items never being cleaned up (loot now cleaned up) - * [FIXED] Tent pitching (Who the hell codes tent location checks TWICE before pitching? Oh apparently I do) - * [FIXED] Infected will stay in one place after losing line-of-sight (now will loiter) - * [FIXED] Converting magazines didn't work if you had MORE than one of that magazine type (now works as intended) - * [FIXED] Toolboxes aren't spawning (classname error in loot table) - - * [REVERT] Secret nerf of prone (you noticed) - * [REVERT] New spawn timer mechanism (back to the old one for now) - * [REVERT] 5 second delay for disconnecting (will need to wait till new method developed) - * [REVERT] Disabling of interior raycasting (will mean some buildings you will be invisible/can't be hit in for the moment as they don't have view LODs) - * [REVERT] Infected sight based on head not body direction (infected glace around alot, this meant that they had super view directions. Now locked at body direction) - -______________________ -Version 1.7.1 ---------------- - -* Releasedate 17 June 2012 - - -Affected addons: -* dayz -* dayz_code -* dayz_sfx -* dayz_equip -* dayz_anim -* dayz_weapons - - Changes: - - * [NEW] Infected can't see through objects any more - * [NEW] Infected visibility increased (but limited by LOS) - * [NEW] Infected attack range increased (but limited by LOS) - * [NEW] Infected can cause greater damage when they hit you - * [NEW] You can hide from an infected chasing you - * [NEW] Optimized server cleanup routine - * [NEW] Player body exists for five seconds after disconnect (UNCONFIRMED IF WORKING) - * [NEW] Infected see based on eye direction, not on body direction as before - * [NEW] 30Rnd_545x39_AK added to loot table - * [NEW] More infected attack animations - * [NEW] More infected feeding animations - * [NEW] Replaced monkey infected crawing run animation - * [NEW] Heartbeat when cursor on a player with very low humanity (heart beats faster the lower it is) - * [NEW] Humanity GUI indicator removed - * [NEW] New Infected and Action sound effects (more AWESOME stuff by Michael Manning) - * [NEW] Initial version of double-barreled shotgun added (by Artyom) - * [NEW] Infected can't attack through walls - * [NEW] Recombine shotgun rounds between 2 and 8 rounds - * [NEW] Recombine 45ACP rounds between M1911 and Revolver rounds - * [NEW] DayZ: Now with additional cruelty! Spawn with only a bandage, painkillers, and a torch. - - * [FIXED] CZ550 spawning far too often in farms - * [FIXED] Winchester decreased spawnrate (% given to double barrel shotty) - * [FIXED] Wire Spools, Toolboxes, hedgehog (tank trap) kits not spawning - * [FIXED] Bodies still being deleted too quickly sometimes - * [FIXED] No backpacks or medical boxes spawning - * [FIXED] "No Speaker..." debug report spam - * [FIXED] Infected spawning too close to players (minimum 30m now) - * [FIXED] Infected not spawning inside buildings any more - * [FIXED] General Server Script Errors (big thanks to Dwarden for fixing these!) - * [FIXED] Loot/Infected spawning time delay desync'ing with server - * [FIXED] Tent placement is completely screwed (now can place anywhere except in building) - * [FIXED] Items for Eating and Drinking not removed instantly (allowed some duping) - -______________________ -Version 1.7.0 ---------------- - -* Releasedate 27 May 2012 - - -Affected addons: -* dayz_code - - Changes: - - * [NEW] Server Side Architecture completely rewritten - - * [FIXED] Long (sometimes infinite) loading times - * [FIXED] Saving sometimes will not happen - * [FIXED] Vehicles not initialized reliably on servers running multiple instances - * [FIXED] Very poor framerate on servers after some time (dead bodies causing it) - -______________________ -Version 1.6.0 ---------------- - -* Releasedate 27 May 2012 - - -Affected addons: -* dayz -* dayz_equip -* dayz_code -* dayz_sfx -* dayz_weapons - - Changes: - - * [NEW] Hatchet for chopping wood in forests - * [NEW] Wire Fencing kit model by Artyom Troshin - * [NEW] Tank Trap kit model by Artyom Troshin - * [NEW] Construction options moved to items in gear menu (right click wire fencing kit to use etc...) - * [NEW] Hospital Loot Spawn probabilities changed - * [NEW] Players can choose to be a female survivor (once only per CD-Key) - * [NEW] Heat packs for increasing temperature in an emergency - * [NEW] Bandit Skin transition for low humanity is removed - * [NEW] Players will receive an error message if the server they are on is running an incorrect HIVE version - - * [FIXED] Bodies being deleted immediately (now will stay around for 15 minutes) - * [FIXED] Player profiles sometimes corrupting and causing stuck in loading issues (error handling by engine) - * [FIXED] Temperature listed in percent and not degrees (now displayed in degrees) - * [FIXED] Loosing temperature inside vehicles (now will slowly gain or be static in vehicles) - * [FIXED] ItemPainkillers popup error (no longer happens: thanks Norbert!) - * [FIXED] Spawning in Ocean when switching models (player morphing optimized by TeeTime) - * [FIXED] Loosing gear when switching models (player morphing optimized by TeeTime) - * [FIXED] Wrong M107 is spawning on occasion (Correct one spawns) - * [FIXED] Crashed heli uber-loot not spawning (does now thanks to GhostBear!) - * [FIXED] Wire Fencing Kit caused graphical glitches (new model) - * [FIXED] Tank Trap Kit caused graphical glitches (new model) - * [FIXED] Invisible character models occuring (No longer invisible models) - * [FIXED] Panic not being activated (Your character will sometimes panic) - * [FIXED] Blood washout sometimes not being displayed (now will always wash out color depending on blood level) -______________________ -Version 1.5.8.4 ---------------- - -* Releasedate 24 May 2012 - - -Affected addons: -* dayz_code - - Changes: - - * [NEW] Support for more than 1,000,000 characters -______________________________________ diff --git a/Documentation/Credits.md b/Documentation/Credits.md index ae49f8ca..0880abe9 100644 --- a/Documentation/Credits.md +++ b/Documentation/Credits.md @@ -74,7 +74,7 @@ feature. * Shauneh * [Nick Chow] (https://github.com/Purplish) * bittedanke (https://github.com/bittedanke) - fixing a problem with chances. - * ebaydayz (https://github.com/ebaydayz) + * [ebayShopper](https://github.com/ebayShopper) * xyberviri (https://github.com/xyberviri) - ((action_open_backpack_0.ogg - action_open_backpack_4.ogg), (action_open_inventory_0.ogg - action_open_inventory_4.ogg)) License Info - https://github.com/DayZMod/DayZ/issues/696 ------------------------ diff --git a/Documentation/DayZ_Changelog.xlsx b/Documentation/DayZ_Changelog.xlsx deleted file mode 100644 index 2c7892ec..00000000 Binary files a/Documentation/DayZ_Changelog.xlsx and /dev/null differ diff --git a/Documentation/Suggestions.md b/Documentation/Suggestions.md deleted file mode 100644 index 4d047b2e..00000000 --- a/Documentation/Suggestions.md +++ /dev/null @@ -1,32 +0,0 @@ -Suggestions -=========== - -[Server] --------- - -* Add a location reset for players that get stuck in debug (force). - -[Client] --------- - -* Different bandit skins to indicate different danger levels: - - Humanity > -2500 : Bandit_Skin1 - - Humanity > -5000 : Bandit_Skin2 - - Humanity > -7500 : Bandit_Skin3 - -* Different hero skins to indicate friend levels: - - Humanity > 2500 : Hero_Skin1 - - Humanity > 5000 : Hero_Skin2 - - Humanity > 7500 : Hero_skin3 - -* Humanity starting level change to '0' to further support above changes. - -* Add visual representation for humanity level. (normal humanity indicator will be removed together with the debug screen) -* Can we please have street lights? -* Improve FPS diff --git a/Documentation/weapons_Attachments b/Documentation/weapons_Attachments deleted file mode 100644 index 72557800..00000000 --- a/Documentation/weapons_Attachments +++ /dev/null @@ -1 +0,0 @@ -https://www.dropbox.com/s/aaoaxhuwcboxe6l/weapons_Attachments.xlsx \ No newline at end of file diff --git a/README.md b/README.md index 939ee6d0..4b41af40 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Current Version ================================== - - DayZMod Dev-1.8.8-2fc83af + - https://github.com/DayZMod/DayZ/releases Current License ================================= @@ -31,16 +31,6 @@ Requirements (server admins only) - ArmA 2 Combined Operations Dedicated Server (Steam users must merge ArmA2 and ArmA2 OA Directories) - Microsoft Visual C++ 2010 SP1 x86 Redistributable (http://www.microsoft.com/en-us/download/details.aspx?id=8328) -Releases --------- -- **Release_1.8.4.1** Released: Feb/11 **Latest Version**
-**[Public Files](https://github.com/DayZMod/DayZ/releases/tag/1.8.4.1)**
-**[BattlEye-Filters](https://github.com/DayZMod/Battleye-Filters/releases/tag/1.8.4)**
- -- **Release_1.8.4** Released: Feb/11 **Latest Version**
-**[Public Files](https://github.com/DayZMod/DayZ/releases/tag/1.8.4)**
-**[BattlEye-Filters](https://github.com/DayZMod/Battleye-Filters/releases/tag/1.8.4)**
- Directories ----------- @@ -51,8 +41,105 @@ Directories - **Legacy** - Legacy Code of DayZMod - **SQF** - Source Code for DayZMod - **SQL** - Database Layout & Vehicle SQL + +Included Custom Addons +----------- + + - DayZero Enterable Buildings - https://zombies.nu/ + - MAP Editorupgrade (EU) http://www.armaholic.com/page.php?id=6194 + - st_movement by ShackTac https://dev-heaven.net/projects/shacktac/files + - st_bunnyhop by ShackTac https://dev-heaven.net/projects/shacktac/files + +GitHub Contributors +----------- + +These contributors have made specific changes for a particular bug fix or +feature. + + * [Dienark7] ( https://github.com/Dienark7) + * [Skaronator](https://github.com/Skaronator) + * [ziellos2k](https://github.com/ziellos2k) + * [JoeysLucky22](https://github.com/JoeysLucky22) + * [AlexAFlorov](https://github.com/AlexAFlorov) + * [facoptere](https://github.com/facoptere) + * [icomrade](https://github.com/icomrade) + * [thevisad](https://github.com/thevisad) + * [DDesmond] (https://github.com/ddesmond) + * [Sharkiller](https://github.com/Sharkiller) (Spanish Tranlations) + * [Defwen](https://github.com/Defwen) (Czech Translations) + * [[VB]AWOL](https://github.com/vbawol) + * [Paul Tomany](https://github.com/Sequisha) + * [M1lkM8n](https://github.com/M1lkm8n) + * [JST](https://github.com/Cybersam248) + * [NonovUrbizniz](https://github.com/NonovUrbizniz) + * [MattzFiber](https://github.com/MattzFiber) + * [Elvaron](https://github.com/Elvaron) + * [Silentspy](https://github.com/Silentspy) + * [EHDSeven](https://github.com/EHDSeven) + * [Tansien](https://github.com/Tansien) + * [wriley](https://github.com/wriley) + * [fred41](https://github.com/fred41) + * [Killzone_kid](https://github.com/Killzonekid) + * [Alex Grosse (Inch)](http://opendayz.net/...bers/inch.1011/) + * [Sumrak](http://www.nightstal...en_index_nc.php) + * [f0rt](https://github.com/ashfor03) + * [Ayan4m1](https://github.com/Ayan4m1) + * [Rajko](https://github.com/rajkosto) + * [Venthos](https://github.com/Venthos) + * [VRShiva](https://github.com/VRShiva) + * [DasAttorney](https://github.com/DasAttorney) + * [ddesmond](https://github.com/ddesmond) + * [dayz10k (Harlan)](https://github.com/dayz10k) + * [Ingasmeeg](https://github.com/Ingasmeeg) + * [caleywoods](https://github.com/caleywoods) + * [Markolie](https://github.com/Markolie) (Dutch Translations) + * [LordGoF](https://github.com/LordGoF) + * [soapmak3r](https://github.com/soapmak3r) (Background Music) + * [Hangender](https://github.com/hangender) + * Aj (Leadz) + * Ander + * Shauneh + * [Nick Chow] (https://github.com/Purplish) + * bittedanke (https://github.com/bittedanke) - fixing a problem with chances. + * [ebayShopper](https://github.com/ebayShopper) + * xyberviri (https://github.com/xyberviri) - ((action_open_backpack_0.ogg - action_open_backpack_4.ogg), (action_open_inventory_0.ogg - action_open_inventory_4.ogg)) License Info - https://github.com/DayZMod/DayZ/issues/696 + * AsFoxy + * Flamberg + * skigoggles + * kichilron + * nsonP + * CoftSock + * Streatman + * Bruce-LXXVI + * HeroSmurf + * romanongit + * dayzjarhead + * Adaptivity + * NPG-Soul + * Joe Horan + * Defwen + * Elvaron + * AlbyBDPK + * Aleks * Des + Bugs/Issues ----------- -- Please report any bugs/issues by submitting a Issue [here] (https://github.com/DayZMod/DayZ/issues). + * Please report any bugs/issues by submitting a Issue [here] (https://github.com/DayZMod/DayZ/issues). + +Special thanks +----------- + + * Special thanks to Tansien and Zac - for providing and creating DayZero Enterable Buildings https://zombies.nu/ + * Special thanks to TOPMO3 and GenesisCrys for the outstanding work with retexturing the Viral infected. + * Special thanks to David Foltyn for the support during the community build with his constent moaning and presure to do everything different :-). + * Special thanks to Matt Lightfoot for his incredible logic we all love to hate :-). + * Special thanks to shinkicker who has listened to all of the ideas and who has always been there to bounce ideas back and forth Thanks. + * Special thanks to Shacktac for his incredable work within the Arma 2 community. + * Special thanks to AWOL and Paul Tomany for sharing awesome features from DayZ Epoch. + * Special thanks to JoeysLucky22 for the awesome art work. + * Special thanks to the Aftermath team for sharing features/models from Atfermath. + * Special thanks to BMRF, TMW, MUSTY for providing test machines before release. + * Special thanks to Lester for providing access to use his addon. MAP Editorupgrade (EU) + * Thanks to all the beta testers, you know who you are! \ No newline at end of file diff --git a/SQF/Missions/dayz_1337.chernarus/description.ext b/SQF/Missions/dayz_1337.chernarus/description.ext index 5f4d25a4..7ffd3d4f 100644 --- a/SQF/Missions/dayz_1337.chernarus/description.ext +++ b/SQF/Missions/dayz_1337.chernarus/description.ext @@ -1,11 +1,25 @@ respawn = "BASE"; -respawndelay = 5; +respawnDelay = 0; +respawnDialog = 0; onLoadMission= "DayZ Chernarus"; OnLoadIntro = "Welcome to Chernarus"; OnLoadIntroTime = False; OnLoadMissionTime = False; disabledAI = true; + +/* + Disable global, side, command and system chat. MOTD and admin say have exception and will show in global. + Channel number correspondence: + 0 = Global + 1 = Side + 2 = Command + 3 = Group + 4 = Vehicle + 5 = Direct + 6 = System +*/ disableChannels[] = {0,1,2,6}; + enableItemsDropping = 0; onPauseScript = ""; briefing = 0; diff --git a/SQF/Missions/dayz_1337.chernarus/init.sqf b/SQF/Missions/dayz_1337.chernarus/init.sqf index 2ea15773..8d0b63fb 100644 --- a/SQF/Missions/dayz_1337.chernarus/init.sqf +++ b/SQF/Missions/dayz_1337.chernarus/init.sqf @@ -26,8 +26,9 @@ if (dayz_presets == "Custom") then { dayz_spawnInfectedSite_clutterCutter = 2; // infected base spawn 0 = loot hidden in grass, 1 = loot lifted, 2 = no grass dayz_bleedingeffect = 3; //1 = blood on the ground, 2 = partical effect, 3 = both dayz_OpenTarget_TimerTicks = 60 * 10; //how long can a player be freely attacked for after attacking someone unprovoked - dayz_nutritionValuesSystem = false; //Enables nutrition system + dayz_nutritionValuesSystem = false; //true, Enables nutrition system, false, disables nutrition system. dayz_classicBloodBagSystem = false; // removes all blood type bloodbags (not implmented yet) + dayz_enableFlies = true; // Enable flies on dead bodies (negatively impacts FPS). }; //Temp settings @@ -62,8 +63,6 @@ progressLoadingScreen 0.1; call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; progressLoadingScreen 0.15; call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; -progressLoadingScreen 0.2; -call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf"; progressLoadingScreen 0.25; initialized = true; @@ -72,32 +71,32 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { + if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; execVM "\z\addons\dayz_server\system\server_monitor.sqf"; + + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -//Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) -if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; - //Enables Plant lib fixes - call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; }; + //Enables Plant lib fixes + execVM "\z\addons\dayz_code\system\antihack.sqf"; + if (toLower(worldName) == "chernarus") then { diag_log "WARNING: Clearing annoying benches from Chernarus"; ([4654,9595,0] nearestObject 145259) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1; }; - if (dayz_enableRules) then { execVM "rules.sqf"; }; - if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; - execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; waitUntil {scriptDone progress_monitor}; cutText ["","BLACK IN", 3]; diff --git a/SQF/Missions/dayz_1337.chernarus/mission.sqm b/SQF/Missions/dayz_1337.chernarus/mission.sqm index 0eb1b38d..c3ca0687 100644 --- a/SQF/Missions/dayz_1337.chernarus/mission.sqm +++ b/SQF/Missions/dayz_1337.chernarus/mission.sqm @@ -34,14 +34,14 @@ class Mission }; class Groups { - items=2; + items=3; class Item0 { side="WEST"; class Vehicles { items=100; -#define PLRDEF position[]={-18700,0,25800};azimut=0;side="WEST";vehicle="Survivor1_DZ";skill=0.6;init="this enableSimulation false;this allowDammage false;this disableAI 'FSM';this disableAI 'ANIM';this disableAI 'MOVE';";player="PLAY CDG"; +#define PLRDEF position[]={-18700,0,25800};azimut=0;side="WEST";vehicle="Survivor1_DZ";skill=0.6;init="this enableSimulation false;this allowDamage false;this disableAI 'FSM';this disableAI 'ANIM';this disableAI 'MOVE';";player="PLAY CDG"; class Item0{id=0;PLRDEF}; class Item1{ position[]={-18700,0,25800}; @@ -53,7 +53,7 @@ class Mission leader=1; rank="SERGEANT"; skill=0.6; - init="this enableSimulation false;this allowDammage false;this disableAI 'FSM';this disableAI 'ANIM';this disableAI 'MOVE';"; + init="this enableSimulation false;this allowDamage false;this disableAI 'FSM';this disableAI 'ANIM';this disableAI 'MOVE';"; }; class Item2{id=2;PLRDEF}; class Item3{id=3;PLRDEF}; @@ -173,6 +173,24 @@ class Mission }; }; }; + class Item2 + { + side="LOGIC"; + class Vehicles + { + items=1; + class Item0 + { + position[]={708,35,3533}; + id=50; + side="LOGIC"; + vehicle="FileSignature_DZ"; + leader=1; + lock="UNLOCKED"; + skill=0.6; + }; + }; + }; }; class Markers { diff --git a/SQF/Missions/dayz_1337.chernarus/rules.sqf b/SQF/Missions/dayz_1337.chernarus/rules.sqf index 18de53e9..838dda16 100644 --- a/SQF/Missions/dayz_1337.chernarus/rules.sqf +++ b/SQF/Missions/dayz_1337.chernarus/rules.sqf @@ -1,8 +1,5 @@ private ["_messages","_timeout"]; -if (isServer) exitWith {}; -waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; - _messages = [ ["DayZMod", "Welcome "+(name player)], ["World", worldName], diff --git a/SQF/dayz_anim/CfgBanned/CfgVehicles.hpp b/SQF/dayz_anim/CfgBanned/CfgVehicles.hpp index 892d1b1e..3ffb2a87 100644 --- a/SQF/dayz_anim/CfgBanned/CfgVehicles.hpp +++ b/SQF/dayz_anim/CfgBanned/CfgVehicles.hpp @@ -945,6 +945,7 @@ class CfgVehicles { class M113Ambul_UN_EP1: Banned {}; class M113_UN_EP1: Banned {}; class M113Ambul_TK_EP1: Banned {}; + class M113_PMC: Banned {}; class M113_TK_EP1: Banned {}; class M2A2_EP1: Banned {}; class M2A3_EP1: Banned {}; diff --git a/SQF/dayz_buildings/configs/CommonActions.hpp b/SQF/dayz_buildings/configs/CommonActions.hpp new file mode 100644 index 00000000..b49abc4a --- /dev/null +++ b/SQF/dayz_buildings/configs/CommonActions.hpp @@ -0,0 +1,39 @@ +#define ACTION_UPGRADE displayName = $STR_UPGRADE;\ + displayNameDefault = $STR_UPGRADE;\ + radius = 3;\ + position = "";\ + onlyForPlayer = 1;\ + condition = "(['ObjectUpgrade',this] call userActionConditions)";\ + statement = "this execVM '\z\addons\dayz_code\actions\object_upgradebuilding.sqf'"; + +#define ACTION_MAINTENANCE displayName = $STR_MAINTENANCE;\ + displayNameDefault = $STR_MAINTENANCE;\ + radius = 3;\ + position = "";\ + onlyForPlayer = 1;\ + condition = "(['ObjectMaintenance',this] call userActionConditions)";\ + statement = "this execVM '\z\addons\dayz_code\actions\object_maintenance.sqf'"; + +#define ACTION_DISASSEMBLY displayName = $STR_DISASSEMBLY;\ + displayNameDefault = $STR_DISASSEMBLY;\ + radius = 3;\ + position = "";\ + onlyForPlayer = 1;\ + condition = "(['ObjectDisassembly',this] call userActionConditions)";\ + statement = "this execVM '\z\addons\dayz_code\actions\object_disassembly.sqf'"; + +#define ACTION_OPEN_DOORS displayName = $STR_DN_OUT_O_DOOR;\ + displayNameDefault = $STR_DN_OUT_O_DOOR_DEFAULT;\ + radius = 3;\ + position = "DoorL";\ + onlyForPlayer = 1;\ + condition = "this animationPhase 'DoorR' < 0.5";\ + statement = "this animate ['DoorR', 1];this animate ['DoorL', 1]"; + +#define ACTION_CLOSE_DOORS displayName = $STR_DN_OUT_C_DOOR;\ + displayNameDefault = $STR_DN_OUT_C_DOOR_DEFAULT;\ + radius = 3;\ + position = "DoorL";\ + onlyForPlayer = 1;\ + condition = "this animationPhase 'DoorR' >= 0.5";\ + statement = "this animate ['DoorR', 0];this animate ['DoorL', 0]"; \ No newline at end of file diff --git a/SQF/dayz_buildings/configs/ItemDIYBooks.hpp b/SQF/dayz_buildings/configs/ItemDIYBooks.hpp index 99084f43..ce724a2e 100644 --- a/SQF/dayz_buildings/configs/ItemDIYBooks.hpp +++ b/SQF/dayz_buildings/configs/ItemDIYBooks.hpp @@ -1,6 +1,3 @@ -// Devlopment only system - Comment out for stable (Search KeyWord - VERSION) -#define _Devlopment_ - class ItemDIY_wood: ItemCore { scope = 2; picture = "\z\addons\dayz_buildings\equip\icon_diy_wood.paa"; @@ -9,18 +6,16 @@ class ItemDIY_wood: ItemCore { displayName = $STR_BLD_name_ItemDIY_wood;//"DIY Manual (Wood)" descriptionShort = $STR_BLD_desc_ItemDIY_wood;//"For wooden fences" -#ifdef _Devlopment_ class ItemActions { class Build { text = $STR_BLD_build_ItemDIY_wood;//"Wooden fence" - script = "; ['ItemDIY_wood','Build'] spawn player_build; r_action_count = r_action_count + 1;"; + script = "; ['ItemDIY_wood','Build'] spawn player_build;"; require[] = {"ItemEtool"}; consume[] = {"ItemLog", "ItemStone", "ItemStone"}; ghost = "WoodenFence_ghost"; create = "WoodenFence_1_foundation"; }; }; -#endif }; class ItemDIY_Gate: ItemCore { @@ -31,21 +26,18 @@ class ItemDIY_Gate: ItemCore { displayName = $STR_BLD_name_ItemDIY_woodGate;//"DIY Manual (Gate's)" descriptionShort = $STR_BLD_desc_ItemDIY_woodGate;//"For wooden Gates" -#ifdef _Devlopment_ class ItemActions { class Build { text = $STR_BLD_build_ItemDIY_woodGate;//"Wooden Gate" - script = "; ['ItemDIY_Gate','Build'] spawn player_build; r_action_count = r_action_count + 1;"; + script = "; ['ItemDIY_Gate','Build'] spawn player_build;"; require[] = {"ItemEtool"}; consume[] = {"ItemLog"}; ghost = "WoodenGate_ghost"; //Ghost model needs to be changed to WoodenGate4 so the player sees the finished fully upgrade model as the ghost create = "WoodenGate_foundation"; //Foundation model is using wooden fence foundation (needs to change) }; }; -#endif }; - //Left in place to stop problems with dbs class ItemDIY_metal: ItemCore { scope = 2; @@ -54,18 +46,15 @@ class ItemDIY_metal: ItemCore { icon = "Ca\misc\data\icons\i_danger_CA.paa"; displayName = $STR_BLD_name_ItemDIY_metal;//"DIY Manual (Metal)" descriptionShort = $STR_BLD_desc_ItemDIY_metal;//"For Metal fences" -/* - #ifdef _Devlopment_ - class ItemActions { - class Build { - text = $STR_BLD_build_ItemDIY_metal;//"Metal fence" - script = "; ['ItemDIY_metal','Build'] spawn player_build; r_action_count = r_action_count + 1;"; - require[] = {"ItemEtool"}; - consume[] = {"ItemRSJ", "ItemStone", "ItemStone" }; - ghost = "MetalFence_ghost"; - create = "MetalFence_1_foundation"; - }; + + class ItemActions { + class Build { + text = $STR_BLD_build_ItemDIY_metal;//"Metal fence" + script = "; ['ItemDIY_metal','Build'] spawn player_build;"; + require[] = {"ItemEtool"}; + consume[] = {"ItemRSJ", "ItemConcreteBlock", "ItemConcreteBlock"}; + ghost = "MetalFence_ghost"; + create = "MetalFence_1_foundation"; }; - #endif -*/ + }; }; diff --git a/SQF/dayz_buildings/configs/metalFence.hpp b/SQF/dayz_buildings/configs/metalFence.hpp index 42db10aa..dee0c35d 100644 --- a/SQF/dayz_buildings/configs/metalFence.hpp +++ b/SQF/dayz_buildings/configs/metalFence.hpp @@ -1,10 +1,12 @@ +#include "CommonActions.hpp" + class MetalFence_base: DZ_buildables { scope = 1; canbevertical = 1; armor = 1000; class Upgrade { - requiredParts[] = {"ItemRSJ", "ItemStone", "ItemStone"}; // copy of DIY_metal upgrade section + requiredParts[] = {"ItemRSJ", "ItemConcreteBlock", "ItemConcreteBlock"}; // copy of DIY_metal upgrade section require[] = {"ItemEtool"}; }; class Maintenance { @@ -13,7 +15,12 @@ class MetalFence_base: DZ_buildables }; class eventHandlers { - HandleDamage = "if ((_this select 4) == 'PipeBomb') then {_this call fnc_Obj_handleDam;} else { false };"; + HandleDamage = "_this call fnc_Obj_FenceHandleDam;"; + }; + class UserActions { + class Upgrade {ACTION_UPGRADE}; + class Maintenance {ACTION_MAINTENANCE}; + class Disassembly {ACTION_DISASSEMBLY}; }; }; class MetalFence_ghost: MetalFence_base @@ -21,6 +28,7 @@ class MetalFence_ghost: MetalFence_base scope = 2; model = "z\addons\dayz_buildings\models\metal_fence_ghost.p3d"; displayName = $STR_BLD_name_MetalFence_ghost;//"Metal Fence (Ghost)" + class UserActions {}; }; class MetalFence_1_foundation: MetalFence_base @@ -30,7 +38,7 @@ class MetalFence_1_foundation: MetalFence_base displayName = $STR_BLD_name_MetalFence_1_foundation;//"Metal Fence Foundation" class Upgrade { //to next stage requiredTools[] = {"ItemEtool"}; - requiredParts[] = {"ItemRSJ","ItemLog","ItemStone"}; + requiredParts[] = {"ItemRSJ","ItemMetalSheet","ItemConcreteBlock"}; create = "MetalFence_1_frame"; }; class Disassembly { @@ -60,7 +68,7 @@ class MetalFence_halfpanel: MetalFence_1_frame displayName = $STR_BLD_name_MetalFence_halfpanel;//"Metal Fence one third" class Upgrade { requiredTools[] = {"ItemToolbox"}; - requiredParts[] = {"equip_metal_sheet_rusted","ItemMetalSheet","ItemScrews"}; + requiredParts[] = {"equip_metal_sheet_rusted","ItemScrews"}; create = "MetalFence_thirdpanel"; }; class Disassembly { @@ -75,7 +83,7 @@ class MetalFence_thirdpanel: MetalFence_halfpanel displayName = $STR_BLD_name_MetalFence_thirdpanel;//"Metal Fence two third" class Upgrade { requiredTools[] = {"ItemToolbox"}; - requiredParts[] = {"equip_metal_sheet_rusted","ItemMetalSheet","ItemScrews"}; + requiredParts[] = {"ItemMetalSheet","ItemScrews"}; create = "MetalFence_1"; }; class Disassembly { @@ -108,7 +116,6 @@ class MetalFence_2: MetalFence_1 requiredTools[] = {"ItemToolbox"}; requiredParts[] = {"ItemRSJ","ItemRSJ"}; create = "MetalFence_3"; - produce[] = {"ItemLog", "ItemLog"}; // will be put in a weaponholder }; class Disassembly { requiredTools[] = {"ItemToolbox"}; @@ -122,7 +129,7 @@ class MetalFence_3: MetalFence_2 displayName = $STR_BLD_name_MetalFence_3;//"Metal Fence Level 3" class Upgrade { requiredTools[] = {"ItemToolbox"}; - requiredParts[] = {"ItemScrews","equip_metal_sheet_rusted","equip_metal_sheet_rusted","equip_metal_sheet_rusted","equip_metal_sheet_rusted"}; + requiredParts[] = {"ItemScrews","equip_metal_sheet_rusted","equip_metal_sheet_rusted"}; create = "MetalFence_4"; }; class Disassembly { @@ -152,7 +159,7 @@ class MetalFence_5: MetalFence_4 displayName = $STR_BLD_name_MetalFence_5;//"Metal Fence Level 5" class Upgrade { requiredTools[] = {"ItemToolbox"}; - requiredParts[] = {"ItemScrews","equip_metal_sheet","equip_metal_sheet","equip_2inch_metal_pipe","equip_2inch_metal_pipe","equip_2inch_metal_pipe"}; + requiredParts[] = {"ItemScrews","ItemMetalSheet"}; create = "MetalFence_6"; }; class Disassembly { @@ -187,4 +194,8 @@ class MetalFence_7: MetalFence_6 class Upgrade { delete create; }; + class UserActions { + class Maintenance {ACTION_MAINTENANCE}; + class Disassembly {ACTION_DISASSEMBLY}; + }; }; \ No newline at end of file diff --git a/SQF/dayz_buildings/configs/metalGate.hpp b/SQF/dayz_buildings/configs/metalGate.hpp index 0e0bcb3f..0d7093cc 100644 --- a/SQF/dayz_buildings/configs/metalGate.hpp +++ b/SQF/dayz_buildings/configs/metalGate.hpp @@ -1,3 +1,5 @@ +#include "CommonActions.hpp" + class MetalGate_Base: Land_Gate_IndVar2_5 { scope = 1; @@ -25,22 +27,11 @@ class MetalGate_Base: Land_Gate_IndVar2_5 }; }; class UserActions { - class OpenDoors { - displayNameDefault = $STR_DN_OUT_O_DOOR_DEFAULT; - displayName = $STR_DN_OUT_O_DOOR; - position = "DoorL"; - radius = 3; - onlyForPlayer = 0; - condition = "this animationPhase ""DoorR"" < 0.5"; - statement = "this animate [""DoorR"", 1];this animate [""DoorL"", 1]"; - }; - - class CloseDoors : OpenDoors { - displayNameDefault = $STR_DN_OUT_C_DOOR_DEFAULT; - displayName = $STR_DN_OUT_C_DOOR; - condition = "this animationPhase ""DoorR"" >= 0.5"; - statement = "this animate [""DoorR"", 0];this animate [""DoorL"", 0]"; - }; + class OpenDoors {ACTION_OPEN_DOORS}; + class CloseDoors {ACTION_CLOSE_DOORS}; + class Upgrade {ACTION_UPGRADE}; + class Maintenance {ACTION_MAINTENANCE}; + class Disassembly {ACTION_DISASSEMBLY}; }; actionBegin1 = "OpenDoors"; @@ -57,13 +48,15 @@ class MetalGate_Base: Land_Gate_IndVar2_5 requiredParts[] = {"ItemMetalSheet","ItemScrews"}; }; class eventHandlers { - HandleDamage = "if ((_this select 4) == 'PipeBomb') then {_this call fnc_Obj_handleDam;} else { false };"; + HandleDamage = "this call fnc_Obj_handleDam;"; }; }; class MetalGate_ghost: MetalGate_Base { displayName = $STR_BLD_name_MetalGate_1_ghost;//"Metal Gate (Ghost)" model = "z\addons\dayz_buildings\models\gates\gate1_metal_dzam_ghost.p3d"; + class UserActions {}; + delete Disassembly; }; class MetalGate_foundation: MetalGate_Base { @@ -77,7 +70,12 @@ class MetalGate_foundation: MetalGate_Base }; class Disassembly { requiredTools[] = {"ItemEtool"}; - }; + }; + class UserActions { + class Upgrade {ACTION_UPGRADE}; + class Maintenance {ACTION_MAINTENANCE}; + class Disassembly {ACTION_DISASSEMBLY}; + }; }; class MetalGate_1: MetalGate_Base { @@ -91,7 +89,7 @@ class MetalGate_1: MetalGate_Base }; class Disassembly { requiredTools[] = {"ItemEtool"}; - }; + }; }; class MetalGate_2: MetalGate_Base { diff --git a/SQF/dayz_buildings/configs/woodenFence.hpp b/SQF/dayz_buildings/configs/woodenFence.hpp index d41df832..ad238baa 100644 --- a/SQF/dayz_buildings/configs/woodenFence.hpp +++ b/SQF/dayz_buildings/configs/woodenFence.hpp @@ -1,3 +1,5 @@ +#include "CommonActions.hpp" + //////Base buildings items class WoodenFence_base: DZ_buildables { @@ -9,12 +11,25 @@ class WoodenFence_base: DZ_buildables requiredParts[] = {"ItemLog", "ItemStone", "ItemStone"}; // copy of ItemDIY_wood upgrade section require[] = {"ItemEtool"}; }; + class Disassembly { + //Items to never return if they exist + removedParts[] = {"equip_nails", "ItemStone"}; + //Chance other items will be returned. + removedChance = 0.3; + requiredTools[] = {"ItemEtool"}; + }; class Maintenance { requiredTools[] = {"ItemToolbox"}; requiredParts[] = {"ItemPlank","equip_nails"}; }; class eventHandlers { - HandleDamage = "if (((_this select 4) == 'PipeBomb') or ((_this select 4) == '1Rnd_Bolt_Explosive')) then { _this call fnc_Obj_FenceHandleDam; } else { false };"; + //[Object,[High Explosive Damage, Medium Explosive Damage, Melee Damage]] + HandleDamage = "[_this,[1,0.5,random(0.0005)]] call fnc_Obj_FenceHandleDam;"; + }; + class UserActions { + class Upgrade {ACTION_UPGRADE}; + class Maintenance {ACTION_MAINTENANCE}; + class Disassembly {ACTION_DISASSEMBLY}; }; }; class WoodenFence_ghost: WoodenFence_base @@ -24,6 +39,8 @@ class WoodenFence_ghost: WoodenFence_base displayName = $STR_BLD_name_WoodenFence_ghost;//"Wooden Fence (Ghost)" buildCollisionPoints = 4; buildCollisionPaths[] = {{0,1,3,2,0,3},{1,2}}; + class UserActions {}; + delete Disassembly; }; class WoodenFence_1_foundation: WoodenFence_base // <-- ItemDIY_wood { @@ -32,12 +49,14 @@ class WoodenFence_1_foundation: WoodenFence_base // <-- ItemDIY_wood displayName = $STR_BLD_name_WoodenFence_1_foundation;//"Wooden Fence Frame" class Upgrade { //to next stage requiredTools[] = {"ItemEtool","ItemToolbox"}; - requiredParts[] = {"ItemLog","ItemStone"}; + requiredParts[] = {"ItemLog","ItemLog","ItemStone"}; create = "WoodenFence_1_frame"; }; - class Disassembly { - requiredTools[] = {"ItemEtool"}; + class UserActions { + class Upgrade {ACTION_UPGRADE}; + class Maintenance {ACTION_MAINTENANCE}; }; + delete Disassembly; }; class WoodenFence_1_frame: WoodenFence_1_foundation { @@ -49,9 +68,11 @@ class WoodenFence_1_frame: WoodenFence_1_foundation requiredParts[] = {"ItemPlank","equip_nails"}; create = "WoodenFence_quaterpanel"; }; - class Disassembly { - requiredTools[] = {"ItemToolbox"}; - }; + class UserActions { + class Upgrade {ACTION_UPGRADE}; + class Maintenance {ACTION_MAINTENANCE}; + class Disassembly {ACTION_DISASSEMBLY}; + }; }; class WoodenFence_quaterpanel: WoodenFence_1_frame { @@ -63,9 +84,6 @@ class WoodenFence_quaterpanel: WoodenFence_1_frame requiredParts[] = {"ItemPlank","ItemPlank"}; create = "WoodenFence_halfpanel"; }; - class Disassembly { - requiredTools[] = {"ItemToolbox"}; - }; }; class WoodenFence_halfpanel: WoodenFence_quaterpanel { @@ -77,9 +95,6 @@ class WoodenFence_halfpanel: WoodenFence_quaterpanel requiredParts[] = {"ItemPlank","ItemPlank"}; create = "WoodenFence_thirdpanel"; }; - class Disassembly { - requiredTools[] = {"ItemToolbox"}; - }; }; class WoodenFence_thirdpanel: WoodenFence_halfpanel { @@ -91,9 +106,6 @@ class WoodenFence_thirdpanel: WoodenFence_halfpanel requiredParts[] = {"ItemPlank","ItemPlank"}; create = "WoodenFence_1"; }; - class Disassembly { - requiredTools[] = {"ItemToolbox"}; - }; }; class WoodenFence_1: WoodenFence_thirdpanel { @@ -106,9 +118,6 @@ class WoodenFence_1: WoodenFence_thirdpanel requiredParts[] = {"equip_nails","ItemPlank","ItemPlank","ItemPlank"}; create = "WoodenFence_2"; }; - class Disassembly { - requiredTools[] = {"ItemToolbox"}; - }; }; class WoodenFence_2: WoodenFence_1 @@ -122,9 +131,6 @@ class WoodenFence_2: WoodenFence_1 requiredParts[] = {"equip_nails","ItemPlank","ItemPlank","ItemPlank"}; create = "WoodenFence_3"; }; - class Disassembly { - requiredTools[] = {"ItemToolbox"}; - }; }; class WoodenFence_3: WoodenFence_2 { @@ -134,15 +140,9 @@ class WoodenFence_3: WoodenFence_2 displayName = $STR_BLD_name_WoodenFence_3;//"Wooden Fence Level 3" class Upgrade { requiredTools[] = {"ItemToolbox"}; - requiredParts[] = {"equip_nails","ItemLog","ItemLog","ItemLog"}; + requiredParts[] = {"equip_nails","ItemPlank","ItemPlank","ItemPlank"}; create = "WoodenFence_4"; }; - class Disassembly { - requiredTools[] = {"ItemToolbox"}; - }; -// class eventHandlers { -// HandleDamage = "diag_log (_this); if ((_this select 4) == 'PipeBomb') then { [_this select 0,0.5] call fnc_Obj_handleDam; } else { false };"; -// }; }; class WoodenFence_4: WoodenFence_3 { @@ -152,12 +152,9 @@ class WoodenFence_4: WoodenFence_3 displayName = $STR_BLD_name_WoodenFence_4;//"Wooden Fence Level 4" class Upgrade { requiredTools[] = {"ItemToolbox"}; - requiredParts[] = {"equip_nails","ItemPlank","ItemPlank","ItemPlank"}; + requiredParts[] = {"ItemScrews","ItemScrews","ItemLog","ItemLog","ItemLog","ItemLog"}; create = "WoodenFence_5"; }; - class Disassembly { - requiredTools[] = {"ItemToolbox"}; - }; }; class WoodenFence_5: WoodenFence_4 { @@ -167,11 +164,12 @@ class WoodenFence_5: WoodenFence_4 displayName = $STR_BLD_name_WoodenFence_5;//"Wooden Fence Level 5" class Upgrade { requiredTools[] = {"ItemToolbox"}; - requiredParts[] = {"equip_nails","ItemPlank","ItemPlank","ItemPlank"}; + requiredParts[] = {"ItemLog","ItemLog","ItemLog","ItemLog","ItemPlank","ItemScrews","ItemScrews"}; create = "WoodenFence_6"; }; - class Disassembly { - requiredTools[] = {"ItemToolbox"}; + class eventHandlers { + //[Object,[High Explosive Damage, Medium Explosive Damage, Melee Damage]] + HandleDamage = "[_this,[0.5,0.25,0]] call fnc_Obj_FenceHandleDam;"; }; }; @@ -183,15 +181,9 @@ class WoodenFence_6: WoodenFence_5 displayName = $STR_BLD_name_WoodenFence_6;//"Wooden Fence Level 6" class Upgrade { requiredTools[] = {"ItemToolbox"}; - requiredParts[] = {"equip_nails","ItemPlank","ItemPlank","ItemPlank"}; + requiredParts[] = {"ItemScrews","ItemScrews","ItemPlank","ItemPlank","ItemPlank","ItemLog","ItemLog"}; create = "WoodenFence_7"; }; - class Disassembly { - requiredTools[] = {"ItemToolbox"}; - }; -// class eventHandlers { -// HandleDamage = "diag_log (_this); if ((_this select 4) == 'PipeBomb') then { [_this select 0,0.35] call fnc_Obj_handleDam; } else { false };"; -// }; }; class WoodenFence_7: WoodenFence_6 @@ -206,4 +198,8 @@ class WoodenFence_7: WoodenFence_6 class Upgrade { delete create; }; + class UserActions { + class Maintenance {ACTION_MAINTENANCE}; + class Disassembly {ACTION_DISASSEMBLY}; + }; }; diff --git a/SQF/dayz_buildings/configs/woodenGate.hpp b/SQF/dayz_buildings/configs/woodenGate.hpp index 22f961d7..f97221c7 100644 --- a/SQF/dayz_buildings/configs/woodenGate.hpp +++ b/SQF/dayz_buildings/configs/woodenGate.hpp @@ -1,3 +1,5 @@ +#include "CommonActions.hpp" + class WoodenGate_Base: DZ_buildables { //Not Used Just Base Class @@ -32,14 +34,23 @@ class WoodenGate_Base: DZ_buildables requiredParts[] = {"ItemLog"}; }; class Disassembly { - requiredTools[] = {"ItemEtool"}; - }; + //Items to never return if they exist + removedParts[] = {"ItemPadlock", "ItemStone","equip_nails"}; + //Chance other items will be returned. + removedChance = 0.3; + }; class Maintenance { requiredTools[] = {"ItemToolbox"}; requiredParts[] = {"ItemPlank","equip_nails"}; }; class eventHandlers { - HandleDamage = "if (((_this select 4) == 'PipeBomb') or ((_this select 4) == '1Rnd_Bolt_Explosive')) then { _this call fnc_Obj_FenceHandleDam; } else { false };"; + //[Object,[High Explosive Damage, Medium Explosive Damage, Melee Damage]] + HandleDamage = "[_this,[1,0.5,random(0.0005)]] call fnc_Obj_FenceHandleDam;"; + }; + class UserActions { + class Upgrade {ACTION_UPGRADE}; + class Maintenance {ACTION_MAINTENANCE}; + class Disassembly {ACTION_DISASSEMBLY}; }; }; @@ -50,6 +61,7 @@ class WoodenGate_ghost: WoodenGate_Base model = "z\addons\dayz_buildings\models\gates\gate_wood_ghost.p3d"; //Model needs updating to be the ghost of the final model. buildCollisionPoints = 4; buildCollisionPaths[] = {{0,1,3,2,0,3},{1,2}}; + class UserActions {}; }; //Stage Foundation class WoodenGate_foundation: WoodenGate_Base @@ -62,9 +74,6 @@ class WoodenGate_foundation: WoodenGate_Base requiredTools[] = {"ItemEtool","ItemToolbox"}; requiredParts[] = {"ItemLog","ItemStone"}; create = "WoodenGate_1"; - }; - class Disassembly { - requiredTools[] = {"ItemToolbox"}; }; }; //Stage 1 Not Locked, Access by anyone @@ -88,22 +97,11 @@ class WoodenGate_1: WoodenGate_Base }; class UserActions { - class OpenDoors { - displayNameDefault = $STR_DN_OUT_O_DOOR_DEFAULT; - displayName = $STR_DN_OUT_O_DOOR; - position = "DoorL"; - radius = 3; - onlyForPlayer = 0; - condition = "this animationPhase ""DoorR"" < 0.5"; - statement = "this animate [""DoorR"", 1];this animate [""DoorL"", 1]"; - }; - - class CloseDoors : OpenDoors { - displayNameDefault = $STR_DN_OUT_C_DOOR_DEFAULT; - displayName = $STR_DN_OUT_C_DOOR; - condition = "this animationPhase ""DoorR"" >= 0.5"; - statement = "this animate [""DoorR"", 0];this animate [""DoorL"", 0]"; - }; + class OpenDoors {ACTION_OPEN_DOORS}; + class CloseDoors {ACTION_CLOSE_DOORS}; + class Upgrade {ACTION_UPGRADE}; + class Maintenance {ACTION_MAINTENANCE}; + class Disassembly {ACTION_DISASSEMBLY}; }; actionBegin1 = "OpenDoors"; actionEnd1 = "OpenDoors"; @@ -113,48 +111,51 @@ class WoodenGate_1: WoodenGate_Base requiredParts[] = {"ItemLog","ItemPadlock"}; create = "WoodenGate_2"; }; - class Disassembly { - requiredTools[] = {"ItemToolbox"}; - }; }; //stage 2, Locked, Only accessed by the owner (still need to add others?) -class WoodenGate_2: WoodenGate_Base +class WoodenGate_2: WoodenGate_1 { scope = 2; displayName = $STR_BLD_name_WoodenGate_2;//"Wooden Gate Level 2" model = "z\addons\dayz_buildings\models\gates\gate2_dzam.p3d"; class Upgrade { //to next stage requiredTools[] = {"ItemEtool","ItemToolbox"}; - requiredParts[] = {"ItemLog","ItemPlank","equip_nails"}; + requiredParts[] = {"ItemLog","ItemPlank","ItemScrews"}; create = "WoodenGate_3"; }; - class Disassembly { - requiredTools[] = {"ItemToolbox"}; + + class UserActions { + class Upgrade {ACTION_UPGRADE}; + class Maintenance {ACTION_MAINTENANCE}; + class Disassembly {ACTION_DISASSEMBLY}; }; }; -class WoodenGate_3: WoodenGate_Base +class WoodenGate_3: WoodenGate_2 { scope = 2; displayName = $STR_BLD_name_WoodenGate_3;//"Wooden Gate Level 3" model = "z\addons\dayz_buildings\models\gates\gate3_dzam.p3d"; class Upgrade { //to next stage requiredTools[] = {"ItemEtool","ItemToolbox"}; - requiredParts[] = {"ItemLog","ItemLog","ItemPlank"}; + requiredParts[] = {"ItemLog","ItemLog","ItemPlank","ItemScrews"}; create = "WoodenGate_4"; }; - class Disassembly { - requiredTools[] = {"ItemToolbox"}; - }; }; -class WoodenGate_4: WoodenGate_Base +class WoodenGate_4: WoodenGate_3 { armor =1000; scope = 2; displayName = $STR_BLD_name_WoodenGate_4;//"Wooden Gate Level 4" model = "z\addons\dayz_buildings\models\gates\gate4_dzam.p3d"; - class Disassembly { - requiredTools[] = {"ItemToolbox"}; + + class UserActions { + class Maintenance {ACTION_MAINTENANCE}; + class Disassembly {ACTION_DISASSEMBLY}; + }; + class eventHandlers { + //[Object,[High Explosive Damage, Medium Explosive Damage, Melee Damage]] + HandleDamage = "[_this,[0.5,0.25,0]] call fnc_Obj_FenceHandleDam;"; }; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgAmmo.hpp b/SQF/dayz_code/Configs/CfgAmmo.hpp index 6f1110b0..895d7b12 100644 --- a/SQF/dayz_code/Configs/CfgAmmo.hpp +++ b/SQF/dayz_code/Configs/CfgAmmo.hpp @@ -217,17 +217,17 @@ class CfgAmmo class Bat_Swing_Ammo : Melee { - hit = 1; + hit = 2; }; class BatBarbed_Swing_Ammo : Melee { - hit = 2; + hit = 3; }; class BatNailed_Swing_Ammo : Melee { - hit = 2; + hit = 3; }; @@ -257,7 +257,7 @@ class CfgAmmo class tranquiliser_bolt : BulletBase { - hit = 0.1; + hit = 1; indirectHit = 0; indirectHitRange = 0; maxRange = 100; diff --git a/SQF/dayz_code/Configs/CfgCrafting/CfgCrafting.hpp b/SQF/dayz_code/Configs/CfgCrafting/CfgCrafting.hpp index 0e424bf1..3a6a2b92 100644 --- a/SQF/dayz_code/Configs/CfgCrafting/CfgCrafting.hpp +++ b/SQF/dayz_code/Configs/CfgCrafting/CfgCrafting.hpp @@ -12,20 +12,6 @@ class CfgCrafting { #include "Recipes\Weapons\BaseBallBatBarbed.hpp" #include "Recipes\Weapons\Crossbow.hpp" - //Not Ready - /* - #include "Recipes\Weapons\M9SD.hpp" - #include "Recipes\Weapons\M4A1_AIM.hpp" - #include "Recipes\Weapons\MAKAROVSD.hpp" - #include "Recipes\Weapons\bizonSD.hpp" - #include "Recipes\Weapons\SVD_CAMO.hpp" - #include "Recipes\Weapons\M4A1_Aim_CAMO.hpp" - #include "Recipes\Weapons\M4A1_HWS_GL_CAMO.hpp" - #include "Recipes\Weapons\G36C_camo.hpp" - #include "Recipes\Weapons\G36A_camo.hpp" - #include "Recipes\Weapons\G36K_camo.hpp" - */ - //Medical #include "Recipes\Medical\Bandage.hpp" #include "Recipes\Medical\sepsisBandage.hpp" diff --git a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/G36A_camo.hpp b/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/G36A_camo.hpp deleted file mode 100644 index 3ab37fe2..00000000 --- a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/G36A_camo.hpp +++ /dev/null @@ -1,17 +0,0 @@ -class Blueprint_G36A_camo : Recipe { - displayName = $STR_CRAFT_NAME_G36A_CAMO; - descriptionShort = $STR_CRAFT_DESC_G36A_CAMO; - input[] = - { - {"G36A","CfgWeapons",1}, - {"Attachment_CAMO","CfgMagazines",1} - }; - output[] = - { - {"G36A_CAMO","CfgWeapons",1} - }; - required[] = - { - {"ItemToolbox","CfgWeapons",1} - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/G36C_camo.hpp b/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/G36C_camo.hpp deleted file mode 100644 index f757bf14..00000000 --- a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/G36C_camo.hpp +++ /dev/null @@ -1,17 +0,0 @@ -class Blueprint_G36C_camo : Recipe { - displayName = $STR_CRAFT_NAME_G36C_CAMO; - descriptionShort = $STR_CRAFT_DESC_G36C_CAMO; - input[] = - { - {"G36C","CfgWeapons",1}, - {"Attachment_CAMO","CfgMagazines",1} - }; - output[] = - { - {"G36C_CAMO","CfgWeapons",1} - }; - required[] = - { - {"ItemToolbox","CfgWeapons",1} - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/G36K_camo.hpp b/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/G36K_camo.hpp deleted file mode 100644 index a4797e86..00000000 --- a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/G36K_camo.hpp +++ /dev/null @@ -1,17 +0,0 @@ -class Blueprint_G36K_camo : Recipe { - displayName = $STR_CRAFT_NAME_G36K_CAMO; - descriptionShort = $STR_CRAFT_DESC_G36K_CAMO; - input[] = - { - {"G36K","CfgWeapons",1}, - {"Attachment_CAMO","CfgMagazines",1} - }; - output[] = - { - {"G36K_CAMO","CfgWeapons",1} - }; - required[] = - { - {"ItemToolbox","CfgWeapons",1} - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/M4A1_AIM.hpp b/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/M4A1_AIM.hpp deleted file mode 100644 index 552a47d2..00000000 --- a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/M4A1_AIM.hpp +++ /dev/null @@ -1,19 +0,0 @@ -class Blueprint_M4A1_AIM : Recipe { - displayName = $STR_CRAFT_NAME_M4A1_AIM; - descriptionShort = $STR_CRAFT_DESC_M4A1_AIM; - input[] = - { - {"M4A1","CfgWeapons",1}, - {"Attachment_AIM","CfgMagazines",1}, - {"equip_rail_screws","CfgMagazines",2}, - {"equip_weapon_rails","CfgMagazines",1} - }; - output[] = - { - {"M4A1_AIM","CfgWeapons",1} - }; - required[] = - { - {"ItemToolbox","CfgWeapons",1} - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/M4A1_Aim_CAMO.hpp b/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/M4A1_Aim_CAMO.hpp deleted file mode 100644 index 0ac1401f..00000000 --- a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/M4A1_Aim_CAMO.hpp +++ /dev/null @@ -1,17 +0,0 @@ -class Blueprint_M4A1_Aim_CAMO : Recipe { - displayName = $STR_CRAFT_NAME_M4A1_Aim_CAMO; - descriptionShort = $STR_CRAFT_DESC_M4A1_Aim_CAMO; - input[] = - { - {"M4A1_Aim","CfgWeapons",1}, - {"Attachment_CAMO","CfgMagazines",1} - }; - output[] = - { - {"M4A1_Aim_CAMO","CfgWeapons",1} - }; - required[] = - { - {"ItemToolbox","CfgWeapons",1} - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/M4A1_HWS_GL_CAMO.hpp b/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/M4A1_HWS_GL_CAMO.hpp deleted file mode 100644 index 39da69ee..00000000 --- a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/M4A1_HWS_GL_CAMO.hpp +++ /dev/null @@ -1,17 +0,0 @@ -class Blueprint_M4A1_HWS_GL_CAMO : Recipe { - displayName = $STR_CRAFT_NAME_M4A1_HWS_GL_CAMO; - descriptionShort = $STR_CRAFT_DESC_M4A1_HWS_GL_CAMO; - input[] = - { - {"M4A1_HWS_GL","CfgWeapons",1}, - {"Attachment_CAMO","CfgMagazines",1} - }; - output[] = - { - {"M4A1_HWS_GL_CAMO","CfgWeapons",1} - }; - required[] = - { - {"ItemToolbox","CfgWeapons",1} - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/M9SD.hpp b/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/M9SD.hpp deleted file mode 100644 index 4071d5ed..00000000 --- a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/M9SD.hpp +++ /dev/null @@ -1,17 +0,0 @@ -class Blueprint_M9SD : Recipe { - displayName = $STR_CRAFT_NAME_M9SD; - descriptionShort = $STR_CRAFT_DESC_M9SD; - input[] = - { - {"M9","CfgWeapons",1}, - {"Attachment_Silencer","CfgMagazines",1} - }; - output[] = - { - {"M9SD","CfgWeapons",1} - }; - required[] = - { - {"ItemToolbox","CfgWeapons",1} - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/MAKAROVSD.hpp b/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/MAKAROVSD.hpp deleted file mode 100644 index 045ba43f..00000000 --- a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/MAKAROVSD.hpp +++ /dev/null @@ -1,17 +0,0 @@ -class Blueprint_MAKAROVSD : Recipe { - displayName = $STR_CRAFT_NAME_MAKAROVSD; - descriptionShort = $STR_CRAFT_DESC_MAKAROVSD; - input[] = - { - {"Makarov","CfgWeapons",1}, - {"Attachment_Silencer","CfgMagazines",1} - }; - output[] = - { - {"MakarovSD","CfgWeapons",1} - }; - required[] = - { - {"ItemToolbox","CfgWeapons",1} - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/SVD_CAMO.hpp b/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/SVD_CAMO.hpp deleted file mode 100644 index ca10723d..00000000 --- a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/SVD_CAMO.hpp +++ /dev/null @@ -1,18 +0,0 @@ -class Blueprint_SVD_CAMO : Recipe { - displayName = $STR_CRAFT_NAME_SVD_CAMO; - descriptionShort = $STR_CRAFT_DESC_SVD_CAMO; - input[] = - { - {"SVD_DZ","CfgWeapons",1}, - {"Skin_Sniper1_DZ","CfgMagazines",1}, - {"Attachment_CAMO","CfgMagazines",1} - }; - output[] = - { - {"SVD_CAMO_DZ","CfgWeapons",1} - }; - required[] = - { - {"ItemToolbox","CfgWeapons",1} - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/bizonSD.hpp b/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/bizonSD.hpp deleted file mode 100644 index 2c9ceaca..00000000 --- a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/bizonSD.hpp +++ /dev/null @@ -1,17 +0,0 @@ -class Blueprint_bizonSD : Recipe { - displayName = $STR_CRAFT_NAME_bizonSD; - descriptionShort = $STR_CRAFT_DESC_bizonSD; - input[] = - { - {"bizon","CfgWeapons",1}, - {"Attachment_Silencer","CfgMagazines",1} - }; - output[] = - { - {"bizon_silenced","CfgWeapons",1} - }; - required[] = - { - {"ItemToolbox","CfgWeapons",1} - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgLoot/Buildings/Boat.hpp b/SQF/dayz_code/Configs/CfgLoot/Buildings/Boat.hpp index f2618686..470cd412 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Buildings/Boat.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Buildings/Boat.hpp @@ -14,4 +14,11 @@ class Land_BoatSmall_2b : Default lootChance = 0.1; lootPos[] = {{0.00390625,-0.250977,-0.348389}}; lootGroup = Boat; -}; \ No newline at end of file +}; +// ALT-MAP +class land_molo : Default +{ + lootChance = 0.3; + lootPos[] = {{-0.94043,2.16602,3.30015}}; + lootGroup = Boat; +}; diff --git a/SQF/dayz_code/Configs/CfgLoot/Buildings/Church.hpp b/SQF/dayz_code/Configs/CfgLoot/Buildings/Church.hpp index 166ff597..8b6ac272 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Buildings/Church.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Buildings/Church.hpp @@ -112,4 +112,18 @@ class Land_Church_05R : Church {7.66,-6.82,-8}, {-4.85,8.19,-8} }; -}; \ No newline at end of file +}; +//ALT-MAP suport +class land_kostelik_final_2122: Church //nm whitewashed wooden slats +{ + lootPos[] = {{-2.57373, -0.982422, -5.57918}, {2.58398, -1.81641, -5.57918}, {4.28906, -0.308594, -5.57918}, {0.134277, -7.25488, -5.57918}, {0.643555, 3.81348, -5.57918}, {2.30859, 8.36914, -5.55281}, {-1.29248, 8.80762, -5.2312}, {-0.166016, 7.44531, 1.55548}}; +}; +class Land_A_Mosque_small_2_EP1 : Church // tak +{ + zedPos[] = { {1.86914,2.21582,-2.48536} }; + lootPos[] = { {-0.302734,-0.848633,-2.42157}, {-2.14551,1.41553,-2.38644}, {1.86914,2.21582,-2.48536} }; +}; +class Land_A_Minaret_EP1 : Church // tak +{ + lootPos[] = { {0.158691,0.131836,5.13947}, {1.86914,-2.97461,5.1394} }; +}; diff --git a/SQF/dayz_code/Configs/CfgLoot/Buildings/Construction.hpp b/SQF/dayz_code/Configs/CfgLoot/Buildings/Construction.hpp index e7237244..2d9b8962 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Buildings/Construction.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Buildings/Construction.hpp @@ -41,4 +41,21 @@ class MAP_Misc_Greenhouse : Construction class Misc_Cargo1Bo_military : Construction { lootPos[] = {{0.35,-1.66,-1.09},{-0.06,0.27,-1.09},{-0.34,1.84,-1.09}}; -}; \ No newline at end of file +}; +// ALT-MAP Support +class land_jzd_bezstrechy : Construction // multi-story concrete bars on windows +{ + zedPos[] = {{6.62451,1.67969,-5.22504},{5.60889,6.54102,-5.10962}}; + lootPos[] = {{6.62451,1.67969,-5.22504},{1.70166,3.48828,-5.22504},{5.60889,6.54102,-5.10962},{-5.21094,7.38477,-5.10962}}; +}; +class land_f_b1 : Construction // one story garage and ramp +{ + zedPos[] = {{2.6582,-3.80225,-3.08734},{3.87988,2.10889,-3.1054}}; + lootPos[] = {{-3.18848,-0.702148,-2.21533},{-2.42188,-4.46582,-2.21533}}; +}; +class land_x_skladiste_low_tex : Construction // concrete, arc roof, borken doors +{ + zedPos[] = {{12.5835,2.05273,-2.73836},{-10.9365,2.72217,-2.85032}}; + lootPos[] = {{12.5835,2.05273,-2.73836},{-2.45117,8.69385,-1.62253},{-10.9365,2.72217,-2.85032},{-9.50781,-9.54053,-2.85108},{-12.1572,-6.07861,-2.8506}}; +}; +// ALT-MAP Support diff --git a/SQF/dayz_code/Configs/CfgLoot/Buildings/Farm.hpp b/SQF/dayz_code/Configs/CfgLoot/Buildings/Farm.hpp index c60f6f35..e03c21ee 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Buildings/Farm.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Buildings/Farm.hpp @@ -46,4 +46,94 @@ class Land_Shed_W02: Farm { maxRoaming = 0; zedPos[] = {{0.688232,1.88281,-0.00292969}}; lootPos[] = {{0.688232,1.88281,-0.00292969}}; -}; \ No newline at end of file +}; +// ALT-MAP Support +class Land_sara_stodola: Farm { // brown wooden barn one story + zedPos[] = {{-0.637695,2.9707,-2.19523},{0.459961,0.398438,-2.19523}}; + lootPos[] = {{2.72266,-1.14648,-2.19523},{4.06152,3.59375,-2.19523},{-3.32324,3.92969,-2.19523},{-3.99219,-0.698242,-2.19523}}; +}; +class land_domek_podhradi_1: Farm { // brown wooden barn one story + zedPos[] = {{-2.18018,-3.02637,-2.75047},{-0.874756,3.29346,-2.7391}}; + lootPos[] = {{5.11816,0.963867,-2.73913},{1.84717,-0.317383,-2.73914},{-5.66992,0.883789,-2.75047},{0.924805,-2.87988,-2.75047},{2.50977,-0.691406,-2.73915}, + {-0.874756,3.29346,-2.7391}, {-2.71924,0.0463867,-2.73914}}; +}; +class land_jzd_stodola2: Farm { // one story cement, sliding wooe doors, hay bales inside + zedPos[] = {{5.2832,-11.1592,-2.0262},{-2.20215,-0.935547,-2.0262}}; + lootPos[] = {{5.2832,-11.1592,-2.0262},{4.56445,10.0796,-2.0262},{-2.20215,-0.935547,-2.0262},{4.02734,4.24463,-2.0262}}; +}; +class land_jzd_kr2: Farm { // one story cement barn + zedPos[] = {{2.12061,-22.3691,-6.30976},{2.86523,-3.03125,-6.17321},{0.813965,4.67188,-6.17321}}; + lootPos[] = {{3.86279,9.33008,-2.05339},{-2.43359,-9.56152,-2.0534},{2.12061,-22.3691,-6.30976},{2.13379,17.9229,-6.30976},{2.86523,-3.03125,-6.17321},{0.813965,4.67188,-6.17321}}; +}; +class land_jzd_kr1: Farm { // one story cement barn + zedPos[] = {{0.0078125,-1.14941,-2.14676},{-4.2085,-12.3887,-2.14676},{0.878906,-9.51953,-6.26657}}; + lootPos[] = {{-2.42578,6.77832,-2.14676},{0.0078125,-1.14941,-2.14676},{-4.2085,-12.3887,-2.14676},{0.878906,-9.51953,-6.26657},{-0.756348,0.71875,-6.26657}}; +}; +class land_hut02: Farm { // grass hut + lootPos[] = {{0.338867,0.525391,-0.445763}}; +}; +class land_hut01: Farm { // grass hut + zedPos[] = {{1.9834,-3.39844,-0.44834}}; + lootPos[] = {{0.223633,-0.512695,-0.44834},{3.22607,1.40723,-0.44834}}; +}; +class land_hut04: Farm { // grass hut + lootPos[] = {{0.250977,1.02734,-0.437198}}; +}; +class Land_House_L_8_EP1: Farm { // cement house + lootPos[] = {{-1.85681,-2.46582,-1.56421},{1.15369,5.98193,-1.0673},{-2.93506,-2.51758,1.32122},{2.70032,0.82959,1.73622}}; +}; +class Land_House_L_3_EP1: Farm { // cement house + zedPos[] = {{2.53833,2.18945,-0.222477}}; + lootPos[] = {{-3.42786,2.24805,-0.229824},{1.94885,2.58398,-0.222477},{0.940063,1.30273,-0.222477},{-3.54138,1.76172,2.64835},{0.0098877,1.38477,2.19653}}; +}; +class Land_House_L_4_EP1: Farm { // cement house + zedPos[] = {{-5.92676,-0.776123,-1.2925}}; + lootPos[] = {{5.2959,1.39056,-1.0661},{-5.78711,1.00104,1.70834},{4.01758,1.07196,1.39523}}; +}; +class Land_House_L_6_EP1: Farm { // cement house + zedPos[] = {{-1.69336,1.02246,-1.45482}}; + lootPos[] = {{-1.69336,1.02246,-1.45482},{5.38647,1.63184,-1.509},{5.96606,-0.157227,1.281},{-0.0715332,-0.113281,1.131}}; +}; +class land_smd_hut02: Farm { // grass hut + lootPos[] = {{0.338867,0.525391,-0.445763}}; +}; +class land_smd_hut01: Farm { // grass hut + zedPos[] = {{1.9834,-3.39844,-0.44834}}; + lootPos[] = {{0.223633,-0.512695,-0.44834},{3.22607,1.40723,-0.44834}}; +}; +class land_smd_hut04: Farm { // grass hut + lootPos[] = {{0.250977,1.02734,-0.437198}}; +}; +class Land_bouda2_vnitrek: Farm { // wooden shed + zedPos[] = {{1.26172,-0.179688,-0.610506}}; + lootPos[] = {{-1.99414,1.18945,-0.610508},{0.804688,-1.06348,-0.610506}}; +}; +class Land_smd_sara_stodola2: Farm { // brown open barn + zedPos[] = {{1.01563,-0.325195,-2.16877}}; + lootPos[] = {{4.57617,0.255859,-2.16877},{-4.61133,-1.60156,-2.16877},{-5.38281,2.94336,-2.16877}}; +}; +// ALT-MAP Support +class land_jzd_stodola1: Farm // nm +{ + lootPos[] = {{-3.70947, -14.4727, -2.0262}, {0.915527, -5.84473, -2.0262}, {-1.78857, 4.88379, -2.0262}, {0.88916, 12.8643, -2.0262}, {-3.30518, -8.11523, -2.0262}, {-3.80664, 10.9365, -2.0262}, {-3.31738, -0.101563, -2.0262}, {3.67676, 13.4238, -2.20501}, {-5.84619, -2.69043, -2.20501}}; +}; +class land_plynom: Farm // nm tower +{ + lootPos[] = {{0.0927734,-0.945313,-2.60304}, {-1.5791,-3.05566,-0.259501}, {-0.300781,-0.078125,2.21929}}; +}; +class land_zd_2: Farm // nm shed +{ + zedPos[] = {{-0.195313,0.174805,-1.82467}}; + lootPos[] = {{0.630859,0.280273,-1.82467}, {-1.48145,1.44141,-1.82466}}; +}; +class land_zd_1: Farm // nm farmhouse +{ + zedPos[] = {{-5.47461,-1.92969,-4.04225},{-4.10059,2.43848,-4.04225}}; + lootPos[] = {{1.34229,2.58594,-3.67255}, {-1.16846,-1.10156,-3.67255},{2.94971,-1.92969,-3.67255}}; +}; +class land_marsh1: Farm // nm farmhouse +{ + zedPos[] = {{-2.80371,6.06055,-4.01366}}; + lootPos[] = {{3.55566,6.28076,-3.95897}, {4.83398,-0.0605469,-3.95897},{3.70898,-4.39307,-3.95897},{-0.000976563,-5.05078,-3.95897}}; +}; + diff --git a/SQF/dayz_code/Configs/CfgLoot/Buildings/Industrial.hpp b/SQF/dayz_code/Configs/CfgLoot/Buildings/Industrial.hpp index 93676c73..990890a2 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Buildings/Industrial.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Buildings/Industrial.hpp @@ -721,4 +721,179 @@ class Land_Ind_Quarry : Industrial {-7.11,3.25,-7.48} }; lootPos[] = {{-4.53,-6.8,5.25},{-4.36,16.23,5.26},{0.74,-10.68,-7.48},{-2.97,-15.79,-7.48},{-7.11,3.25,-7.48},{6.12,6.62,-7.48},{6.38,9.22,-7.48},{-7.12,13.38,-7.48},{-4.55,6.12,5.29}}; -}; \ No newline at end of file +}; +// ALT-MAP Support +class Land_MBG_Warehouse : Industrial // cement garage with roll up doors +{ + zombieChance =1; + zedPos[] = { {18.6279,-11.8701,-6.14345},{18.7441,-3.52979,-6.14345},{19.6816,10.3794,-6.14345} }; + lootPos[] = { + {18.6279,-11.8701,-6.14345}, + {18.7441,-3.52979,-6.14345}, + {19.6816,10.3794,-6.14345}, + {19.3037,-4.68115,-2.84345}, + {20.1992,9.28613,-2.84345}, + {-14.5117,-11.2427,5.15655}, + {19.957,-11.1582,5.15655}, + {4.71289,1.58838,5.15655} + }; +}; +class Land_aif_tovarna1 : Industrial // concrete, blue sliding doors, generators upstairs +{ + zombieChance =1; + zedPos[] = { {0.583008,-5.31641,-6.33001},{-9.15723,0.269531,-6.33001} }; + lootPos[] = { {-10.3301,-8.71875,-0.352261}, {2.54883,3.63672,-0.352261},{-5.18652,-8.57422,2.39782},{2.47559,0.566406,2.39782},{-0.111328,0.832031,5.31266},{-8.40918,-5.96484,5.31261} }; +}; +class Land_MBG_Radiotelescope : Industrial // radio telescope +{ + zedPos[] = { {1.30273,-5.41602,-8.95671},{-5.34375,2.29785,-9.72141},{-0.125,6.33398,-9.952} }; +}; +class Land_House_C_10_EP1 : Industrial // concrete, doorway, 2 garages +{ + zombieChance =1; + zedPos[] = { {-2.13477,2.8623,-4.17834},{-1.79102,-6.39355,-4.19764} }; + lootPos[] = { {-1.4043,7.41895,-4.16707}, {-2.47852,-2.16504,-4.19077},{2.69043,-6.97852,-4.18234},{-1.06641,-8.16797,-4.19676},{-1.79102,-6.39355,-4.19764}}; +}; +class Land_MBG_Garage_Single_B : Industrial // concrete 2 garages +{ + zombieChance =1; + zedPos[] = { {-0.0576172,2.22266,-1.03965},{0.0341797,2.55176,-1.039660.0341797,2.55176,-1.03966} }; + lootPos[] = { {-0.0576172,2.22266,-1.03965}, {0.0341797,2.55176,-1.03966}}; +}; +class Land_seb_bouda_plech : Industrial // shed +{ + zedPos[] = {{0.587891,-0.694336,-1.25855},{-1.32471,2.75488,-1.72853}}; + lootPos[] = {{0.518555,-1.09863,-1.24038},{0.78418,0.317871,-1.30457},{-1.39551,-1.56641,-1.72854},{1.45264,1.75,-1.72855}}; +}; +class Land_hut_old01 : Industrial // medium sized corrugated barn +{ + zedPos[] = {{-5.85156,-6.29785,-3.01431},{0.0522461,7.68945,-3.01434}}; + lootPos[] = {{0.114258,3.97949,-3.01434},{-1.58154,-5.11133,-3.01434},{-6.06348,5.97266,-3.01433}}; +}; +class land_bunka : Industrial // small free standing office +{ + zedPos[] = {{0.902344,2.01514,-1.51244},{-0.229492,2.83521,-1.51244}}; + lootPos[] = {{0.902344,2.01514,-1.51244},{-0.229492,2.83521,-1.51244}}; +}; +class land_molovabud2 : Industrial // brick and concrete +{ + zedPos[] = {{0.902344,2.01514,-1.51244},{-0.229492,2.83521,-1.51244}}; + lootPos[] = {{-1.29492,4.75195,-2.46292},{2.67529,3.74512,-2.46296},{2.27832,-6.29395,-2.46296},{-1.73779,-6.27246,-2.46292},{0.274902,-5.6543,-2.46294}, + {-0.87793,4.93457,-2.46293},{-7.5376,4.89258,1.41187}}; +}; +class land_molovabud1 : Industrial // brick and concrete +{ + zedPos[] = {{-7.86621,0.259766,1.41187},{-2.56592,0.334961,1.41187}}; + lootPos[] = {{-7.86621,0.259766,1.41187},{-2.56592,0.334961,1.41187}}; +}; +class land_seb_rozvodna : Industrial // brick wooden stairs +{ + lootPos[] = {{-0.582031,3.20508,0.582415}}; +}; +class land_provoz2 : Industrial // brick with metal roof +{ + zedPos[] = {{-3.44727,-2.83105,-2.30756},{3.27734,1.92676,-2.30756}}; + lootPos[] = {{3,0.40332,-2.51849},{-4.00488,0.662598,-2.51849},{3.23877,-2.76855,-2.30756},{-3.35352,1.86328,-2.30756}}; +}; +class land_sklad2 : Industrial // brick garage with metal roof +{ + zedPos[] = {{2.60986,-1.60938,-2.38225},{3.19336,2.91602,-2.38225},{-2.04541,-0.470703,-2.38225}}; + lootPos[] = {{2.60986,-1.60938,-2.38225},{3.19336,2.91602,-2.38225},{-2.04541,-0.470703,-2.38225}}; +}; +class land_hala1 : Industrial // brick factory with tanks inside +{ + zedPos[] = {{2.23096,-5.30859,-3.98352},{1.9248,-3.57227,4.05042},{3.47656,1.4502,4.04957}}; + lootPos[] = {{2.23096,-5.30859,-3.98352},{1.9248,-3.57227,4.05042},{3.47656,1.4502,4.04957}}; +}; +class land_seb_main_fac : Industrial // large concrete factory +{ + zedPos[] = {{2.23096,-5.30859,-3.98352},{1.9248,-3.57227,4.05042},{3.47656,1.4502,4.04957}}; + lootPos[] = {{4.19727,-1.7002,-5.81592},{13.6123,-3.59717,-5.75059},{18.8447,-0.019043,-5.83285},{4.12305,15.0049,8.63872},{2.93262,5.25195,8.63872}, + {19.748,12.3213,8.63872},{20.1475,5.85547,8.63872},{-6.57617,4.96094,4.16873},{-4.16797,9.9248,4.16873}}; +}; +class land_garaze : Industrial // one story garage 1 broken wood door +{ + zedPos[] = {{5.57129,-4.15234,-2.09256},{4.67871,0.528564,-2.09256},{5.05273,4.5957,-2.09255}}; + lootPos[] = {{5.57129,-4.15234,-2.09256},{4.67871,0.528564,-2.09256},{5.05273,4.5957,-2.09255}}; +}; +class Land_vys_budova_p1 : Industrial // one story garage 1 broken wood door +{ + zedPos[] = {{5.57129,-4.15234,-2.09256},{4.67871,0.528564,-2.09256},{5.05273,4.5957,-2.09255}}; + lootPos[] = {{-4.2168,-3.61816,-2.96085},{-4.59521,3.25635,-2.96088},{3.84375,2.55566,-2.96088},{1.14941,8.65527,5.59122},{-5.85205,2.18896,5.59122}, + {-3.25635,-9.58398,5.59122},{-2.90771,-0.239746,5.59869},{-1.104,-0.294434,2.12335},{-1.09863,0.403809,-0.407806},{4.30469,-1.36182,-2.96088}}; +}; +class Land_Ind_Oil_Tower_EP1 : Industrial //oil derrick +{ + lootPos[] = {{2.51416,-6.37646,-12.9744},{2.79297,0.470947,-8.00402},{2.19385,-5.54688,-8.01227},{4.2146,-3.7749,16.7859}}; +}; +class Land_tovarna1 : Industrial // white multistory industrial blue doors +{ + zedPos[] = {{-1.27808,-0.66748,-5.75442}}; + lootPos[] = {{-1.27808,-0.66748,-5.75442},{-11.2869,-7.73242,-0.320107},{3.62134,2.69971,-0.320107},{-4.94751,-7.87256,2.17997},{2.49707,0.435547,2.17997}, + {-2.96704,1.13965,4.82979},{-9.83594,-4.396,4.8297}}; +}; +class Land_Fort_Watchtower : Industrial // +{ + zedPos[] = {{0.271973,0.984497,-2.21036}}; + lootPos[] = {{0.126953,-0.00146484,-2.21036}}; +}; +class Land_ibr_FuelStation_Build : Industrial // gas station +{ + zedPos[] = {{2.19458,-0.13916,-1.33611}}; + lootPos[] = {{-0.919922,-0.575684,-1.33602}}; +}; +class Land_House_C_12_EP1 : Industrial // makeshift repair shop w/car ramps +{ + zedPos[] = {{-0.805176,-1.12061,-3.51101}}; + lootPos[] = {{-0.805176,-1.12061,-3.51101},{5.1228,-1.2085,-3.51101},{-0.202881,-7.99072,-3.51101},{2.56348,-1.16968,0.141033},{-1.41382,-7.68042,3.45577}}; +}; +class Land_garaz_bez_tanku : Industrial // barrier garage thing walk up sides +{ + lootPos[] = {{2.31543,0.586914,3.41651},{-5.07959,3.18555,3.41651}}; +}; +class Land_leseni2x: Industrial +{ + lootPos[] = {{1.15625,-0.206055,2.55466}}; + zedPos[] = {{1.15625,-0.206055,2.55466}}; +}; +class Land_smd_garaz_open: Industrial // garage with 3 green doors +{ + lootPos[] = {{-5.10742,-0.351563,-1.22162},{-1.11328,-0.112305,-1.22162},{3.65039,-0.338867,-1.22162}}; +}; +// ALT-MAP Support +class Land_Ind_Oil_Pump_EP1: Industrial // tak oil pump +{ + lootPos[] = {{-1.85352,-3.17261,-2.08472},{1.3916,-2.21655,2.54156}}; +}; +class land_provoz1: Industrial // nm brick garage +{ + zedPos[] = {{-0.134766,2.26465,-2.30756},{3.37305,1.97266,-2.30756},{-4.29297,-1.39258,-2.30756},{4.35107,-1.93945,-2.30756}}; + lootPos[] = {{1.60449,1.63086,-2.30756},{-2.98193,2.74121,-2.30756},{-1.59277,-2.30273,-2.30756},{1.97852,-2.03613,-2.30756}}; +}; +class land_b_small1: Industrial // nm cinder blocks +{ + zedPos[] = {{-1.56445,0.760498,-1.50033}}; + lootPos[] = {{-1.47754,-3.43457,-1.50033},{-1.0791,0.142334,-1.50033}}; +}; +class land_seb_nasypka: Industrial // nm cement + metal +{ + zedPos[] = {{7.96338,0.114258,-6.50023}}; + lootPos[] = {{-0.00878906,8.66797,-6.59387},{-0.1875,4.55859,-6.59387},{10.5996,4.24609,-6.52272},{10.7554,1.3623,-6.52408},{9.08057,-6.9873,-0.134289},{2.66699,-7.53906,-0.134289}}; +}; +class land_kontejner_des: Industrial // nm dumpster +{ + lootPos[] = {{-2.17334,-0.0615234,-0.729944}}; +}; +class land_f_b2: Industrial { // nm + lootPos[] = {{-7.11816, 2.13281, -4.99346}, {-2.95898, 2.8457, -5.00836}, {0.927246, -1.60645, -4.24147}, {6.79736, -2.41211, -5.00836}, {4.63672, 3.35547, -5.00836}}; +}; +class land_bud2: Industrial { // nm + lootPos[] = {{-1.46094, 1.78418, -1.79692}, {2.05908, 0.480469, -1.79291}, {-0.447266, -2.32617, -1.78519}, {-3.6936, -1.18359, -1.79216}}; +}; +class land_seb_mine_main_opt: Industrial { // nm + lootPos[] = {{6.5918, -0.612793, -4.79192}, {-5.88281, 4.51221, -4.71998}, {0.225098, 4.50293, -4.72003}, {-5.97461, -0.39502, -4.747}, {0.21875, 1.4585, -0.995667}, {0.443359, 3.97266, -0.990997}, {-3.64307, 4.96094, -0.989159}, {4.25928, 2.02979, 5.09215}, {0.400879, -0.485352, 7.8684}, {-0.702148, -4.14941, 7.8684}, {-5.52832, -2.8252, 7.8684}, {-4.75391, 1.5752, 7.8684}, {-2.1416, 1.20703, 11.2794}, {1.23779, 1.45752, 14.6913}, {-5.53662, -2.33301, 14.6913}, {0.824219, -3.91943, 14.6913}, {2.94971, -0.760254, 14.6913}}; +}; +class land_seb_mine_near: Industrial { // nm + lootPos[] = {{8.26221, -6.49414, -8.8979}, {4.95752, -5.74219, -8.8979}, {6.75049, 9.6665, -11.9873}}; +}; + diff --git a/SQF/dayz_code/Configs/CfgLoot/Buildings/Military.hpp b/SQF/dayz_code/Configs/CfgLoot/Buildings/Military.hpp index 780cca78..a194bb13 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Buildings/Military.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Buildings/Military.hpp @@ -134,4 +134,153 @@ class Land_Vysilac_FM: Military { class Land_Mil_Barracks_L: Military { zedPos[] = {{4,-5.22,-2.21},{7.3,-4.04,-2.21},{-0.82,-4.72,-2.2}}; lootPos[] = {{-0.82,-4.72,-2.2},{4,-5.22,-2.21},{7.3,-4.04,-2.21}}; -}; \ No newline at end of file +}; +// ALT-MAP Support +class Land_budova4_in: MilitarySpecial // barracks broken blue front door. cannot enter inner rooms +{ + zedPos[] = {{-3.94531,2.27344,-1.88723},{-0.0566406,2.2666,-1.88723},{6.27148,2.5752,-1.88723}}; + lootPos[] = {{-5.49609,2.13135,-1.88723},{-1.57031,2.29199,-1.88723},{2.43945,2.21387,-1.88723},{5.92383,-2.44678,-1.88723}}; +}; +class Land_kostel_trosky: MilitarySpecial // church ruins +{ + zedPos[] = {{-0.388672,10.0176,-5.37072},{-2.97852,-0.816406,-5.55207}}; + lootPos[] = {{0.386719,13.5918,-5.54349},{3.81055,2.98828,-5.30816}}; +}; +class Land_MBG_Killhouse_3: Military // cement 2 story +{ + zedPos[] = {{-4.10547,-0.466797,0.451439},{-2.06152,3.2168,0.451439},{-10.7031,3.0293,0.451439},{-8.07715,-1.2168,0.451439}}; + lootPos[] = {{-4.10547,-0.466797,0.451439},{-2.06152,3.2168,0.451439},{-10.7031,3.0293,0.451439},{-8.07715,-1.2168,0.451439}}; +}; +class Land_MBG_Killhouse_4: Military // cement 2 story +{ + zedPos[] = {{2.97949,2.16211,-3.84318},{-3.87012,5.46484,-3.84317},{6.9248,2.49219,-0.543175}}; + lootPos[] = {{2.97949,2.16211,-3.84318},{6.88184,-3.24219,-3.84317},{-3.87012,5.46484,-3.84317},{0.474609,-5.08398,-0.543175},{6.9248,2.49219,-0.543175},{-2.39063,-0.128906,-0.543179}}; +}; +class Land_aif_strazni_vez: Military // metal platform-overlook +{ + lootPos[] = {{0.113281,0.859375,1.46157},{-1.24023,1.25195,1.46157}}; +}; +class Land_MBG_Killhouse_2: Military // cement 2 story +{ + zedPos[] = {{-4.58887,-4.49023,-2.79856},{1.78516,1.58887,3.80144}}; + lootPos[] = {{-4.58887,-4.49023,-2.79856},{6.50488,5.86328,-2.79856},{-6.24365,-4.69336,0.501437},{-4.99805,-4.63281,3.80144},{5.48828,-3.87793,3.80144}}; +}; +class Land_A_Villa_EP1: Military // takistani villa 2 story multi-wing +{ + zedPos[] = {{5.5332,2.70361,-5.06721},{13.2578,-14.3623,-5.06719}}; + lootPos[] = {{-15.002,9.06104,1.97169},{10.3047,10.7178,1.97146},{17.4824,-15.3862,1.99229},{10.1855,-0.722656,-1.4844},{-2.54688,14.5698,-1.4844},{-14.8945,12.7236,-1.4844},{-8.51953,14.1064,-1.4844}}; +}; + +class Land_budova4_winter: Land_Mil_Barracks_i {}; // winter version of chernarus barracks + +class land_pozorovatelna: Military // concrete tower +{ + lootChance = 0.3; + lootPos[] = {{-0.717773,-3.02612,-2.49767},{2.99414,2.67017,-2.49767},{0.761719,-2.20044,7.54509},{-0.482422,1.19702,7.54508},{1.85156,1.9812,7.54508}}; +}; +class land_hlaska: Military // metal platform +{ + lootChance = 0.3; + lootPos[] = {{-0.802246,0.614258,3.77092},{0.917969,0.9375,3.77093}}; +}; +class Land_MBG_Killhouse_1: Military // cement block building +{ + lootChance = 0.25; + lootPos[] = {{-1.98071,5.50488,1.25144},{-2.79443,0.65625,-2.04856},{2.88354,2.7627,-2.04856}}; +}; +class land_army_hut2_int: Military // beige hut on blocks +{ + zedPos[] = {{-0.770508,-3.1189,-0.948334}}; + lootPos[] = {{1.39404,0.541992,-0.948334},{0.625977,-2.95581,-0.948334}}; +}; +class land_army_hut_int: Military // beige hut on blocks +{ + zedPos[] = {{-0.82373,-6.07861,-1.33057},{0.433105,1.00537,-1.35434}}; + lootPos[] = {{1.44287,-5.43945,-1.33057},{1.2793,-2.66577,-1.33057},{0.0180664,-2.15015,-1.33057},{0.679199,1.88672,-1.36224},{0.641113,1.84229,-1.36244}}; +}; +class Land_army_hut3_long_int: Military // beige hut on blocks +{ + zedPos[] = {{-0.763184,3.76611,-1.23617},{-0.182617,-4.67529,-1.23617}}; + lootPos[] = {{-0.763184,3.76611,-1.23617},{-1.90137,-0.530273,-1.23617},{-1.61182,-4.4043,-1.23617}}; +}; +class Land_ibr_terminal: Military // airport terminal +{ + zedPos[] = {{8.07959,-13.2017,-4.04974},{13.0786,16.0371,-4.04974},{-7.51855,14.5576,-4.04974},{-28.2988,-0.0410156,-4.04986}}; + lootPos[] = {{26.3521,-8.23682,-4.04974},{-2.71729,-5.14893,-4.04974},{28.2046,15.0664,-0.949741},{-4.24121,-9.82861,-0.949741}}; +}; +class Land_smd_garaz_s_tankem: Military // garage - blockade - ladder +{ + zedPos[] = {{5.83203,2.34961,-2.49103}}; + lootPos[] = {{5.83203,2.34961,-2.49103},{-0.569336,3.00684,3.4697}}; +}; +class land_smd_army_hut2_int: Military // beige hut on blocks +{ + zedPos[] = {{-0.770508,-3.1189,-0.948334}}; + lootPos[] = {{1.39404,0.541992,-0.948334},{0.625977,-2.95581,-0.948334}}; +}; +class land_smd_army_hut2: Military // beige hut on blocks +{ + zedPos[] = {{1.01172,-5.03711,-1.33057}}; + lootPos[] = {{1.01172,-5.03711,-1.33057},{0.0957031,-2.06934,-1.33057},{1.87695,-2.59961,-1.33057},{0.697266,1.95605,-1.36212},{-1.31641,4.38672,-1.36211}}; +}; +class Land_smd_SS_hangar_withdoor: Military +{ + maxRoaming = 3; + zedPos[] = {{10.957,-16.6943,-5.87254},{-11.3311,-15.499,-5.87254},{-9.27832,2.05566,-5.87254}}; + lootChance = 0.4; + lootPos[] = {{10.957,-16.6943,-5.87254},{-11.3311,-15.499,-5.87254},{-9.27832,2.05566,-5.87254},{-11.0947,21.3438,-5.87254},{10.7002,17.6221,-5.87254},{11.4658,1.51367,-5.87254},{12.9443,-15.6855,-5.87254}}; + lootGroup = Hangar; +}; +class Land_smd_budova4_in: MilitarySpecial // barracks blue doors internal rooms +{ + zedPos[] = {{5.9375,1.33496,-1.88723}}; + lootChance = 0.3; + lootPos[] = {{5.68359,-1.41211,-1.88723},{-7.21484,2.17285,-1.88723},{-4.04492,2.07227,-1.88723},{-0.4375,1.95898,-1.88723},{3.23633,2.06348,-1.88723},{0.804688,-0.614258,-1.88723},{-1.2793,-1.0791,-1.88723},{-6.87695,-1.35156,-1.88723}}; +}; +class Land_smd_army_hut3_long_int: Military // wide 3 doors bunks +{ + lootChance = 0.3; + lootPos[] = {{-1.4375,-4.67578,-1.27391},{-1.00098,-1.19043,-1.27391},{-1.6377,3.71875,-1.27391}}; +}; +class Land_smd_hlaska: Military // wide 3 doors bunks +{ + lootChance = 0.3; + lootPos[] = {{0.00585938,0.799316,3.77093}}; +}; +class Land_smd_kostel_trosky: MilitarySpecial // church ruins +{ + lootPos[] = {{3.83789,0.8125,-4.81671},{0.206055,12.3555,-5.09952}}; +}; +// ALT-MAP Support +class Land_Mil_hangar_EP1 : Land_SS_hangar{}; // tak hangar +class Land_Mil_ControlTower_EP1 : Land_Mil_ControlTower{}; // tak atc +class Land_Mil_Barracks_i_EP1 : Land_Mil_Barracks_i{}; // tak barracks +class Land_Mil_House_EP1 : Land_Mil_House{}; // tak + +class land_st_vez: Military // nm tower +{ + lootPos[] = {{4.17334, 2.979, -8.50825}, {0.560059, -3.90039, -3.31476}, {-4.95117, 2.4668, -3.31476}, {-0.0102539, 3.81152, -3.31476}, {3.91357, 3.83203, 2.42772}, + {-2.75635, -0.899902, 6.40834}, {-1.84229, 2.28027, 6.40834}, }; +}; +class Land_mi8_crashed: Military // nm wreck +{ + lootPos[] = {{0.238281, -2.89746, -1.65002}, {0.0, -4.06982, -1.7}, {-0.245117, -6.06982, -1.74091}}; +}; +class land_AII_last_floor: MilitarySpecial +{ + lootPos[] = {{7.45215, 18.2671, 3.26546}, {-0.255859, 6.55225, 4.61291}, {-10.5859, 10.2637, 5.43586}, {-12.3218, 17.8242, 4.61173}, {-11.9854, 5.8252, 5.44754}, + {-20.6099, -10.4277, 5.44901}, {-9.85449, -18.7148, 3.43609}, {5.52246, -19.4976, 5.50764}, {5.47461, -8.59082, 6.4439}}; +}; + +class land_AII_middle_floor: Military +{ + lootPos[] = {{-8.04248, 2.97803, 0.513313}, {-6.04932, 7.77393, 0.514614}, {-14.0049, -0.404297, 0.520267}, {-10.5947, 5.01855, 0.511402}, {-12.9834, 3.98926, -4.63377}, + {-7.92627, 0.418945, -4.63377}, {-6.61279, 16.6152, -4.63377}, {-3.50928, 16.2002, -4.63377}, {6.85645, 16.7383, -4.63377}, {5.38086, 12.8862, -4.63377}, + {-3.99414, -8.67432, -4.63377}, {-0.178711, -17.5605, -4.63377}, {5.88232, -17.9092, -4.63377}, {5.50195, -3.75342, -4.63377}, {8.64844, -4.30127, -4.52865}, + {9.25049, 7.09912, -4.63377}}; +}; + +class Land_AII_upper_part: Military +{ + lootPos[] = {{-0.616211, -3.80762, -2.31434}, {-2.62158, -1.05127, -2.32196}, {-2.30322, 2.0415, -2.32196}}; +}; diff --git a/SQF/dayz_code/Configs/CfgLoot/Buildings/Office.hpp b/SQF/dayz_code/Configs/CfgLoot/Buildings/Office.hpp index 77fca1d3..699ca0d6 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Buildings/Office.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Buildings/Office.hpp @@ -36,9 +36,125 @@ class Land_A_Office01 : Office lootPos[] = {{-2.5,-2.47,-4.53},{4.11,-0.69,-4.53},{4.11,6.11,-4.53},{0.24,6.06,-4.53},{4.32,3.74,-4.53},{5.09,0.22,-4.53},{11.8,-1.78,-4.53},{14.58,-4.11,-4.53},{13.82,-0.73,-4.53},{-7.76,5.59,-4.53},{1.81,1,-2.03},{4.93,4.32,-2.03},{0.52,6.76,-2.03},{2.23,3.76,-2.03},{-4.89,-2.55,-2},{-14.56,-3.41,-1.99},{-15.27,5.93,-1.95},{-10.91,6.04,0.45},{-6.31,3.3,0.48},{7.64,6.39,0.47},{13.67,6.6,0.45},{13.19,-2.59,0.49},{3.09,2.44,6.2},{-1.46,-2.28,6.19},{-2.29,4.54,0.47},{4.77,-4.56,-2.02},{8.35,-1.11,-2.03},{9.95,-3.74,-2.01},{7.14,-2.51,-2.03},{12.87,4.71,-2.03},{15.37,3.42,-2.03},{-0.74,3.17,-4.53},{15.57,1.33,-2.03},{-0.07,-6.44,-2},{-7.93,3.18,-2.03},{-6.05,6.27,-2.03},{-13.11,1.06,-2.03},{-3.3,4.18,6.2}}; zedPos[] = {{0.242188,6.06348,-4.52798},{11.8037,-1.77832,-4.52798},{13.8174,-0.731445,-4.52798},{14.5811,-4.1123,-4.52798},{-2.50391,-2.46875,-4.52798},{4.11133,6.11328,-4.52798},{4.11279,-0.686523,-4.52798},{4.31641,3.74121,-4.52798},{5.08887,0.219727,-4.52798},{-7.76221,5.59082,-4.52798},{1.18945,6.07129,-2.02802},{12.8701,4.70996,-2.02802},{15.3721,3.42383,-2.02802},{1.81152,0.994141,-2.02802},{2.23145,3.76563,-2.02802},{4.93164,4.32031,-2.02802},{7.13867,-2.50684,-2.02802},{8.3457,-1.10645,-2.02802},{4.7666,-4.55859,-2.02487},{9.94727,-3.74023,-2.008},{-4.89111,-2.54785,-1.99799},{-14.5596,-3.40625,-1.98798},{-15.2705,5.92871,-1.94794},{13.6729,6.59668,0.451965},{-10.9063,6.04199,0.451996},{-2.12988,4.5166,0.472015},{7.6416,6.3877,0.472015},{-6.30762,3.30078,0.482025},{13.1924,-2.58594,0.492004},{-1.45654,-2.2832,6.19489},{3.09229,2.4375,6.2049}}; }; +class land_vysoky1: Office // nm multi-story apt +{ + lootPos[] = {{8.81641, -17.2803, -15.5254}, {-0.660156, -2.63379, 13.25}, {-7.39355, -13.4785, 13.25}, {11.2715, -0.967773, 13.25}, {6.90039, 6.90723, 13.25}, + {-9.56348, 6.26123, 13.25}, {-9.90576, 11.7939, -15.5769}, {3.35693, 13.1055, -15.4161}, {14.9209, 8.21875, -15.3368}, {11.5151, -4.53906, -15.387}, {-2.26367, 2.88477, 13.25}, + {0.880127, 8.7168, 13.25}, {-6.36328, -7.15039, 13.25}}; +}; +class land_dlouhy2: Office // nm multi-story apt +{ + lootPos[] = {{-0.75293, -5.73242, -9.31644}, {0.761719, 3.16992, -9.32053}}; +}; +class land_hotel_p2: Office { // nm + lootPos[] = {{1.7373, -1.21582, -7.29951}, {3.5498, 2.6499, -7.29951}, {-2.84766, 1.29834, -7.29951}, {-2.84766, 1.29834, -7.29951}, {-3.00488, 21.2642, 0.684233}, + {-3.27148, -21.9717, 0.777111}, {2.49902, -12.6963, 6.06893}, {3.89648, -3.06299, 6.06893}, {4.45898, 7.17822, 6.06893}}; +}; +class land_hotel_p1: Office { // nm + lootPos[] = {{11.1982, -9.37549, -4.93991}, {12.4316, -3.05078, -4.93373}, {11.6904, 3.1167, -4.92771}, {11.1943, 10.3149, -4.92068}, {12.0996, -0.190918, -3.22923}, + {12.876, -5.11084, -1.40247}, {13.4766, 4.81396, -1.39091}, {-2.47949, 3.646, -4.92429}, {-3.5957, -0.545898, -4.92429}, {-7.79395, 3.78857, -4.92428}, + {-10.4756, -1.93018, -4.92428}, {-14.8115, -0.187012, -4.89486}}; +}; + class Land_A_Office02 : Office { lootPos[] = {{4.72266,-5.74219,-8.15109},{0.961426,-5.16992,-8.15076}}; zedPos[] = {{4.72266,-5.74219,-8.15109},{0.961426,-5.16992,-8.15076}}; -}; \ No newline at end of file +}; +// ALT-MAP Support +class Land_aif_hotel : Office //multi-story hotel with balconies +{ + lootPos[] = {{14.0938,-4.38281,6.24485},{4.53711,12.8853,6.24484},{-20.623,-7.3584,2.74056},{-20.9375,-15.0547,-0.759435},{-20.4102,-4.95166,-4.25943},{20.8555,6.60156,-4.25943}}; +}; +class Land_aif_hotel_bio : Office // multi-story hotel with balconies +{ + zedPos[] = {{-18.5781,4.20801,-8.5215},{-17.8848,-6.33398,-8.52153}}; + lootPos[] = {{-17.8848,-6.33398,-8.52153},{16.8477,-12.5811,-8.52153},{17.8984,12.9102,-8.52153},{-1.51172,11.0117,-8.52153},{-23.4453,-5.7998,-0.835522}, + {-22.4063,-16.8887,3.01448},{-5.8418,5.27832,6.86919},{16.7227,16.8076,6.86919},{18.2676,-14.2627,6.86919},{-16.8984,-16.3701,6.86919}}; +}; +class land_mbg_apartments_big_04 : Office // multi-story cement, 3 non-enterable garages +{ + zedPos[] = {{0.592773,-0.105469,-7.46618},{0.290039,1.49023,-7.43577}}; + lootPos[] = {{-3.8877,1.5293,-3.19898},{4.02832,0.519531,-3.19898},{3.97266,1.04883,-0.15098},{-3.33691,1.17188,-0.15098},{3.7002,0.867188,2.89702}, + {-3.55762,0.628906,2.89702},{-6.69922,2.30859,5.94502},{8.12402,-1.16211,5.94502}}; +}; + +class land_vysoky2 : Office // multi-story cement apt buildings. no room access +{ + zedPos[] = {{-0.219727,2.5332,13.2833}}; + lootPos[] = {{-0.219727,2.5332,13.2833},{-1.83179,7.09766,13.2833},{-7.15039,-8.02441,13.2833},{4.60986,-8.9209,13.2833},{12.3555,5.91992,13.2833}}; +}; +class land_dlouhy1 : Office // multi-story cement apt buildings. some room access +{ + zedPos[] = {{-3.36914,7.95166,-4.95796},{-3.00684,-1.46973,-9.47917}}; + lootPos[] = {{-3.36914,7.95166,-4.95796},{-4.4248,-1.81055,-4.96283},{25.0264,-1.64648,-4.96281},{25.6738,8.21387,-4.95789},{15.626,11.2983,-4.95636}, + {6.11328,6.86816,-9.48532}, {-13.5742,-1.67822,-9.47203}, {-3.00684,-1.46973,-9.47917}}; +}; +class Land_ibrPanelak: Land_Panelak{}; +class Land_ibrPanelak2: Land_Panelak2{}; +class LAND_konecna : Office +{ + lootPos[] = {{14.8423,-0.987793,-1.59364}, + {16.873,-2.86865,-1.59364}, + {13.3672,-9.11377,-1.59364}, + {5.09497,-9.98682,-1.59364}, + {-24.8281,-1.17871,-1.59364}, + {-14.0747,-7.3042,-1.59364}, + {-19.0789,0.98291,-1.59364}, + {4.67944,0.805176,-1.59364}, + {-11.4639,-10.1475,-1.59364}}; + zedPos[] = {{14.8423,-0.987793,-1.59364}, + {16.873,-2.86865,-1.59364}, + {13.3672,-9.11377,-1.59364}, + {5.09497,-9.98682,-1.59364}, + {-24.8281,-1.17871,-1.59364}, + {-14.0747,-7.3042,-1.59364}, + {-19.0789,0.98291,-1.59364}, + {4.67944,0.805176,-1.59364}, + {-11.4639,-10.1475,-1.59364}}; +}; +// ALT-MAP Tavi +// ALT-MAP SAHRANI +class Land_smd_dum_olez_istan1_open2 : Office // same as Land_Panelak2 +{ + zedPos[] = {{-3.77344,1.99414,-1.84398},{1.31641,-2.06934,-1.84399}}; + lootPos[] = {{-5.99023,-5.60449,-1.84398},{6.73145,1.43555,-1.84399},{4.90332,-3.25098,1.37497},{-1.73145,-3.67773,1.37497},{-7.09375,-3.92773,1.37497}}; +}; +class Land_smd_hotel_riviera2 : Office // 2 story motel blue tiles +{ + zedPos[] = {{-9.32324,-7.52173,-0.321464},{2.03027,-6.70923,-0.321464}}; + lootPos[] = {{-9.32324,-7.52173,-0.321464},{2.03027,-6.70923,-0.321464}}; +}; +class Land_smd_hotel_riviera1 : Office // 2 story motel blue tiles +{ + zedPos[] = {{-10.7217,-6.02148,-0.322234},{-4.7041,-6.77051,-0.321464},{8.9541,-6.33838,-0.321464}}; + lootPos[] = {{-10.7217,-6.02148,-0.322234},{-4.7041,-6.77051,-0.321464},{8.9541,-6.33838,-0.321464}}; +}; +class Land_smd_hotel : Office // 4 story apartment building +{ + zedPos[] = {{-16.1006,0.519043,-7.74672},{-0.744141,10.0884,-7.74672}}; + lootPos[] = {{-0.744141,10.0884,-7.74672},{14.6982,-16.9382,-7.74672},{4.86719,14.0911,-7.74672},{-20.9121,-5.11133,-0.759434},{-20.6094,-6.26953,2.74057},{-20.6172,-15.1313,2.74057}, + {-17.0537,17.2102,6.24485},{14.3779,2.7583,6.24485},{20.75,6.71948,-0.759434},{20.9033,14.7278,-4.25943},{20.541,5.12622,-4.25943}}; +}; +class Land_smd_dum_istan4_detaily1 : Office // 4 story hotel +{ + zedPos[] = {{-2.51367,6.55078,-7.28588},{4.54834,6.33984,-7.28588},{2.58838,-3.21289,-4.33588}}; + lootPos[] = {{2.58838,-3.21289,-4.33588}}; +}; +class Land_smd_dum_istan4 : Office // 4 story apt +{ + zedPos[] = {{3.53711,5.80078,-7.29236},{-6.13379,5.7168,-7.29236}}; +}; +class Land_smd_hospoda_mesto : Office // pub HOSTINEC +{ + zedPos[] = {{4.85254,-4.82422,-5.17996},{3.28711,6.78125,-1.2485}}; + lootPos[] = {{3.05957,-2.43555,-5.18104},{2.88574,5.32422,-5.19056},{3.27246,1.20703,-5.19001},{1.75098,-1.28906,-5.17993},{-7.48535,-4.07617,-1.2291},{2.63184,-1.78516,-1.2417}}; +}; + +//Members already defined. +//class LAND_Tav_panelak: Land_Panelak{}; // for white Tavi variant +//class LAND_Tav_panelak2: Land_Panelak2{}; // for white Tavi variant +//class LAND_Hotel: Land_smd_hotel{}; // for white Tavi variant + +// ALT-MAP Support diff --git a/SQF/dayz_code/Configs/CfgLoot/Buildings/Residential.hpp b/SQF/dayz_code/Configs/CfgLoot/Buildings/Residential.hpp index 7f7272f0..a6ef7a81 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Buildings/Residential.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Buildings/Residential.hpp @@ -275,4 +275,506 @@ class Land_Panelak3 : Residential { zedPos[] = {}; lootPos[]={{0.54,-0.71,-8.11},{2.51,-1.84,12.38},{2.8,-0.67,12.38},{3.98,-1.49,12.38}}; -}; \ No newline at end of file +}; +// ALT-MAP Support +class Land_sara_Domek_sedy : Residential // single story stucko #39 +{ + zedPos[] = {{1.72266,2.12744,-2.14196}}; + lootPos[]={{4.39453,3.2583,-2.14196},{-5.47656,1.50586,-2.14196},{-1.81445,1.95605,-2.14196}}; +}; + +class land_mbg_brickhouse_01 : Residential // 2 story brick outer staircase stripped +{ + zedPos[] = {{2.13965,2.89258,-3.35652}}; + lootPos[]={{2.13965,2.89258,-3.35652},{-3.04443,1.43359,-3.35652},{1.77637,1.81055,-0.051506}}; +}; + +class Land_dum_mesto_in : Residential // 2 story some boarded windows estate +{ + zedPos[] = {{4.85645,1.62305,-1.28095}}; + lootPos[]={{-4.05469,4.21289,-4.26331},{4.85645,1.62305,-1.28095},{-3.86035,-4.19531,-1.11247}}; +}; +class Land_dum_mesto2 : Residential // 2 stucco red/orage light by door +{ + zedPos[] = {{-3.01074,1.48145,-0.945732}}; + lootPos[]={{1.31836,4.90625,-4.34475},{-3.01074,1.48145,-0.945732},{-1.86816,4.46582,-0.944004},{-1.43652,-1.51563,-0.944004},{1.40234,-7.55664,-0.944},{1.05273,5.43994,-4.34475}}; +}; +class Land_MBG_GER_ESTATE_2 : Residential // 2 stucco red/orage light by door +{ + zedPos[] = {{2.38281,-1.03418,-2.13187}}; + lootPos[]={{5.34766,-0.882813,-2.13187},{2.38281,-1.03418,-2.13187},{2.54688,-4.41602,-2.13187},{-7.71094,-2.73242,-2.13187},{-2.22656,5.91602,-2.13187},{-5.36328,4.46387,-2.13187}}; +}; +class Land_MBG_GER_HUS_4 : Residential // 2 stucco red/orage light by door +{ + zedPos[] = {{-3.01074,1.48145,-0.945732}}; + lootPos[]={{-4.05176,0.607422,-0.112886},{4.31885,2.46094,-0.112885},{4.58203,-2.88672,-0.112886},{5.85449,1.11523,-3.11289},{3.30811,-5.375,-3.11289},{-3.5708,6.20703,-3.11288}}; +}; +class Land_dum_rasovna : Residential // old stucco window-dor-door tile roof +{ + zedPos[] = {{-1.11914,0.794922,-2.66958}}; + lootPos[]={{-1.11914,0.794922,-2.66958},{-0.580078,-3.34766,-2.66958},{1.80664,2.07227,0.272606}}; +}; +class Land_cihlovej_dum_in : Residential // door, red-blu light, 2 windows +{ + zedPos[] = {{-1.69922,0.681641,-1.8147}}; + lootPos[]={{-1.69922,0.681641,-1.8147},{1.97852,1.83496,-5.27588},{-1.44531,0.173828,-1.81471},{-0.0527344,-1.43359,-1.81472}}; +}; +class Land_MBG_GER_RHUS_1 : Residential // brick 1 door 4 windows +{ + zedPos[] = {{-1.69922,0.681641,-1.8147}}; + lootPos[]={{-1.69922,0.681641,-1.8147},{1.97852,1.83496,-5.27588},{-1.44531,0.173828,-1.81471},{-0.0527344,-1.43359,-1.81472}}; +}; +class Land_MBG_GER_RHUS_2 : Residential // cement 1 door 4 windows +{ + zedPos[] = {{-2.77441,-3.31738,-3.36569}}; + lootPos[]={{2.33398,-1.23145,-3.36569},{2.08203,-1.7998,-0.465693},{-0.678711,-4.04883,-0.465693},{2.33008,3.3291,-0.465692}}; +}; +class Land_MBG_GER_PUB_2 : Residential // fionas irish pub +{ + zedPos[] = {{4.20264,-3.15381,-3.53086},{-6.24268,-4.08228,-3.53085}}; + lootPos[]={{-0.338867,-5.44336,-3.53086},{-2.61182,-4.51978,-3.53086},{-6.23779,-2.42676,-3.53085},{4.42334,-4.17285,-0.630859},{3.15088,4.45898,-0.630852}}; +}; +class Land_sara_domek_vilka : Residential // reddish villa - no entry +{ + lootPos[]={{-5.53467,-1.77637,-4.17358},{3.11279,6.25879,-4.1599},{0.339844,7.14258,-4.1599}}; +}; +class Land_mbg_apartments_big_01 : Residential // brick with archways, limited access +{ + lootPos[]={{-4.7915,4.07861,4.80171},{-6.07764,-4.86182,4.80168},{9.38916,-7.12158,-1.05012},{-11.3857,-5.63916,-1.05012},{-11.2231,8.8335,-1.05013},{11.4961,7.89697,-1.05012},{4.59082,-5.81592,-4.34196}}; +}; +class Land_dum_ras : Residential // stucco 1 window, 2 doors +{ + zedPos[] = {{0.891602,2.02539,-2.66959},{0.189453,-3.6333,-2.66958},{0.952148,2.08594,0.272604}}; + lootPos[] = {{0.891602,2.02539,-2.66959},{0.189453,-3.6333,-2.66958},{0.952148,2.08594,0.272604}}; +}; +class Land_deutshe_mini : Residential // stucco 3 windows, doorway +{ + zedPos[] = {{2.51074,-2.4657,-2.74846},{2.51953,1.31262,-2.74846}}; + lootPos[] = {{2.51074,-2.4657,-2.74846},{2.51953,1.31262,-2.74846}}; +}; +class land_seb_bouda1 : Residential // cement floor1, wooden floor2 +{ + zedPos[] = {{-2.27832,0.0546875,0.573326},{-0.192871,-2.34766,1.13067}}; + lootPos[] = {{-2.27832,0.0546875,0.573326},{-0.192871,-2.34766,1.13067}}; +}; +class land_x_vez_tex : Residential // brick tower +{ + zedPos[] = {{-0.80957,1.62183,-4.59428}}; + lootPos[] = {{-0.80957,1.62183,-4.59428},{-1.18555,0.894531,-4.59901},{-0.114258,1.20581,-0.273163},{-3.95801,5.15552,-0.271477}}; +}; +class Land_House_K_3_EP1 : Residential // beige stucco +{ + zedPos[] = {{0.510254,0.844727,2.98969}}; + lootPos[] = {{-1.27661,5.95703,-0.537671},{0.510254,0.844727,2.98969},{-5.37305,1.13379,2.06888},{-4.18359,0.335693,1.48434},{-3.16992,1.97803,4.41596},{1.85449,0.0739746,7.37541}}; +}; +class Land_House_C_5_V2_EP1 : Residential // beige stucco +{ + lootPos[] = {{2.80371,2.10449,-1.36692},{-2.93921,-0.624023,-1.36692}}; +}; +class Land_House_C_5_V3_EP1 : Residential // beige stucco +{ + lootPos[] = {{-2.94141,-0.604736,-1.4715},{1.50977,3.43945,-1.4715}}; +}; +class Land_House_L_1_EP1 : Residential // beige stucco +{ + zedPos[] = {{0.450195,0.440674,-0.602669}}; + lootPos[] = {{-0.196289,-0.788086,-0.605874}}; +} +class Land_House_C_5_V1_EP1 : Residential // beige stucco +{ + lootPos[] = {{-2.52344,-1.32263,-1.4715},{2.51953,3.46631,-1.4715}}; +}; +class Land_House_C_2_EP1 : Residential // beige stucco 2 rollup doors on right., blue door on left +{ + zedPos[] = {{2.54175,-1.31506,-2.31269}}; + lootPos[] = {{0.698975,2.37585,-2.30393},{-3.36646,0.386719,0.547501},{2.58179,-4.30444,0.808586},{5.20459,2.83118,0.764496}}; +}; +class Land_House_K_7_EP1 : Residential // beige stucco +{ + zedPos[] = {{-7.3396,2.26685,-0.218369}}; + lootPos[] = {{-7.3396,2.26685,-0.218369},{-7.77991,1.25049,3.29032},{-1.7948,4.49707,3.32767},{-1.06494,1.22388,6.52805},{-5.67395,1.74756,6.52805}}; +}; +class Land_House_C_4_EP1 : Residential // beige stucco +{ + zedPos[] = {{-4.46118,-0.365112,-3.48355}}; + lootPos[] = {{-4.46118,-0.365112,-3.48355},{5.28979,-0.619751,-3.48355},{-5.14575,-2.38733,-0.350571},{-3.15259,2.37488,2.77978},{-2.18457,-4.203,2.80865}, + {5.64478,1.86035,2.79369}}; +}; +class Land_House_C_11_EP1 : Residential // 2 story wood railings +{ + zedPos[] = {{4.677,2.36658,-2.08453}}; + lootPos[] = {{6.32324,2.50964,-2.08453},{-0.41626,-2.88489,-2.08453},{5.4292,1.52686,0.972969},{4.75293,-2.96155,0.972969}}; +}; +class Land_House_C_1_EP1 : Residential // +{ + zedPos[] = {{6.95361,-0.499756,-0.927746}}; + lootPos[] = {{6.95361,-0.499756,-0.927746},{5.08594,-3.28662,-0.927746},{-5.49121,0.735107,-0.927746},{-7.29883,-0.112061,-0.927746},{7.37158,-1.21387,3.66758}}; +}; +class Land_dum_istan3_hromada2 : Residential // brick 2 story +{ + zedPos[] = {{6.95361,-0.499756,-0.927746}}; + lootPos[] = {{6.36035,-5.50195,2.08801},{0.35791,2.87939,2.08801},{-6.51294,1.10254,-1.28517},{-1.73999,3.7168,-1.28517}}; +}; +class Land_House_C_3_EP1 : Residential // +{ + zedPos[] = {{5.27441,-2.22119,-3.91483}}; + lootPos[] = {{6.31348,2.77441,-3.91483},{-0.25293,-2.20093,1.93362},{-5.75098,0.645996,4.38845},{-5.69043,-0.0236816,0.576138},{-7.58984,-0.866943,-3.86868}}; +}; +class Land_House_C_1_v2_EP1 : Residential // +{ + lootPos[] = {{6.24365,-0.537109,-1.30966},{4.14746,1.3584,-1.31308}}; +}; +class Land_House_C_9_EP1 : Residential // +{ + zedPos[] = {{-2.45605,-1.96484,-3.74547}}; + lootPos[] = {{-0.637695,4.77246,-3.74925},{-2.45605,-1.96484,-3.74547},{2.46387,-5.54102,-0.152166},{-3.35986,-5.38086,-0.152166},{5.96436,-0.922363,2.58488}}; +}; +class Land_House_K_1_EP1 : Residential // +{ + lootPos[] = {{-3.49609,3.95941,1.54511},{-0.168945,4.21155,1.56626}}; +}; +class Land_House_K_8_EP1 : Residential // +{ + zedPos[] = {{-0.846069,-3.47266,-2.53287}}; + lootPos[] = {{-0.846069,-3.47266,-2.53287},{-0.502625,-0.395508,-2.56585},{1.90704,0.25293,0.250847},{1.33685,5.20801,0.366202},{-2.16797,0.402344,3.35996}, + {1.93939,-1.36816,3.35996},{-1.46851,1.52539,6.12626}}; +}; +class Land_House_C_5_EP1 : Residential // +{ + zedPos[] = {{-0.846069,-3.47266,-2.53287}}; + lootPos[] = {{-0.846069,-3.47266,-2.53287},{-3.8877,-3.41077,-0.802206},{-2.99829,0.612793,-0.802206}}; +}; +class Land_dum_istan3_pumpa : Residential // brick +{ + lootPos[] = {{3.53687,1.09668,1.47485},{0.770752,0.611816,1.47485},{-2.95117,1.18604,1.47485}}; + zedPos[] = {{0.918945,-5.70605,-1.7704}}; +}; +class land_sara_domek_kovarna: Residential +{ + zedPos[] = {{0.0998535,-0.891602,-0.880356}}; +}; +class land_sara_domek_hospoda: Residential +{ + lootPos[] = {{-2.14844,-3.56396,-2.74878},{-1.16064,-4.72485,-2.75951}}; + zedPos[] = {{1.48291,-3.28223,-1.85291}}; + +}; +class LAND_vokzal_big: Residential // Train Station +{ + lootPos[] = {{7.28613,-0.216797,-7.96283},{6.84961,2.56152,-7.96283},{6.9834,-4.98047,-7.96283},{-7.07227,1.28223,-7.96283}}; + zedPos[] = {{7.28613,-0.216797,-7.96283},{6.84961,2.56152,-7.96283},{6.9834,-4.98047,-7.96283},{-7.07227,1.28223,-7.96283}}; +}; +class LAND_Zachytka : Residential +{ + lootPos[] = { + {3.79492,-4.12891,-2.02697}, + {-4.92285,-6.8584,-2.02697}, + {-3.6543,-6.7002,-2.02697}, + {-2.60449,-6.87891,-2.02697}, + {-1.82422,0.0361328,-2.02697}, + {-6.2832,-4.51074,-2.02697}, + {-3.60547,5.1875,-2.02697}, + {4.42188,11.2158,-2.02697}}; + zedPos[] = { + {3.79492,-4.12891,-2.02697}, + {-4.92285,-6.8584,-2.02697}, + {-3.6543,-6.7002,-2.02697}, + {-2.60449,-6.87891,-2.02697}, + {-1.82422,0.0361328,-2.02697}, + {-6.2832,-4.51074,-2.02697}, + {-3.60547,5.1875,-2.02697}, + {4.42188,11.2158,-2.02697}}; +}; +class LAND_hospoda : Residential +{ + lootPos[] = { + {3.46094,-1.42871,-1.80302}, + {2.40137,-1.22656,-1.80307}, + {7.81836,-1.63281,-1.80282}, + {2.04004,-6.71777,-1.80289}, + {-5.56641,0.793945,-1.80295}, + {-4.18164,8.64063,-1.80286}, + {1.16602,5.0791,-1.80348}, + {1.21582,3.73242,-1.8034}, + {0.248047,5.55176,-1.80324}, + {-1.84766,3.92969,-1.80313}, + {-1.85254,0.222656,-1.80321}}; + zedPos[] = { + {3.46094,-1.42871,-1.80302}, + {2.40137,-1.22656,-1.80307}, + {7.81836,-1.63281,-1.80282}, + {2.04004,-6.71777,-1.80289}, + {-5.56641,0.793945,-1.80295}, + {-4.18164,8.64063,-1.80286}, + {1.16602,5.0791,-1.80348}, + {1.21582,3.73242,-1.8034}, + {0.248047,5.55176,-1.80324}, + {-1.84766,3.92969,-1.80313}, + {-1.85254,0.222656,-1.80321}}; +}; +class LAND_Kiosk2 : Residential +{ + lootPos[] = {{-20.7441,45.2878,3.05876},{-3.80933,-33.6328,3.02246},{-3.57007,-22.666,3.02246},{4.76587,-24.3711,-0.618923},{-1.10449,43.1938,-0.58263}, + {8.77441,23.7346,-0.845428},{-9.86914,41.6533,3.05876}, {7.84668,20.991,4.76736},{6.91211,27.9067,10.1178}}; + zedPos[] = {{-20.7441,45.2878,3.05876}, {-3.80933,-33.6328,3.02246}, {-3.57007,-22.666,3.02246}, {4.76587,-24.3711,-0.618923},{-1.10449,43.1938,-0.58263}, + {8.77441,23.7346,-0.845428},{-9.86914,41.6533,3.05876}, {7.84668,20.991,4.76736},{6.91211,27.9067,10.1178}}; +}; + + +class LAND_skola : Residential +{ + lootPos[] = { + {15.8508,20.459,-2.00361}, + {29.0132,22.3887,-2.00361}, + {30.6335,16.1104,-2.00361}, + {30.7412,5.33691,-2.00361}, + {18.7554,5.07324,-2.00361}, + {2.84912,14.2744,-2.00361}, + {-1.27197,12.2324,-2.00361}, + {-5.66699,16.6445,-2.00361}, + {-2.93408,22.0967,-2.00361}, + {5.48535,21.7969,-2.00361}, + {-9.52954,-8.64063,-2.00361}, + {-18.5305,-9.60449,-2.00361}, + {-23.9783,-0.905273,-2.00361}, + {-8.50586,13.9482,-2.00361}, + {5.84448,0.175781,-2.00361}, + {2.56885,-14.167,-2.00361}, + {-3.15063,-14.084,-2.00361}, + {-3.76294,-21.2754,-2.00361}, + {5.4397,-24.5635,-2.00361}, + {18.5049,-11.9141,-2.00361}, + {10.7795,-18.4443,-2.00361}, + {18.3979,-21.9854,1.22083}, + {20.1707,-14.1572,1.22083}, + {30.334,5.12402,1.22083}, + {22.9521,12.1387,1.22083}, + {1.45825,18.208,1.22083}, + {-5.56128,20.1572,1.22083}, + {-6.19165,15.4678,1.22083}, + {-1.05029,9.69141,1.22083}, + {6.17896,5.19434,1.22083}, + {5.00513,2.78711,1.22083}, + {5.81836,-5.65625,1.22083}, + {-0.54541,-15.1104,1.22083}, + {1.8418,-19.8584,1.22083}, + {-2.10864,-21.9961,1.22083}, + {-5.78857,-24.9277,1.22083}, + {16.3679,-15.4463,1.22083}, + {28.0537,-17.1328,1.22083}, + {22.1833,11.416,-2.00361}}; + zedPos[] = { + {15.8508,20.459,-2.00361}, + {29.0132,22.3887,-2.00361}, + {30.6335,16.1104,-2.00361}, + {30.7412,5.33691,-2.00361}, + {18.7554,5.07324,-2.00361}, + {2.84912,14.2744,-2.00361}, + {-1.27197,12.2324,-2.00361}, + {-5.66699,16.6445,-2.00361}, + {-2.93408,22.0967,-2.00361}, + {5.48535,21.7969,-2.00361}, + {-9.52954,-8.64063,-2.00361}, + {-18.5305,-9.60449,-2.00361}, + {-23.9783,-0.905273,-2.00361}, + {-8.50586,13.9482,-2.00361}, + {5.84448,0.175781,-2.00361}, + {2.56885,-14.167,-2.00361}, + {-3.15063,-14.084,-2.00361}, + {-3.76294,-21.2754,-2.00361}, + {5.4397,-24.5635,-2.00361}, + {18.5049,-11.9141,-2.00361}, + {10.7795,-18.4443,-2.00361}, + {18.3979,-21.9854,1.22083}, + {20.1707,-14.1572,1.22083}, + {30.334,5.12402,1.22083}, + {22.9521,12.1387,1.22083}, + {1.45825,18.208,1.22083}, + {-5.56128,20.1572,1.22083}, + {-6.19165,15.4678,1.22083}, + {-1.05029,9.69141,1.22083}, + {6.17896,5.19434,1.22083}, + {5.00513,2.78711,1.22083}, + {5.81836,-5.65625,1.22083}, + {-0.54541,-15.1104,1.22083}, + {1.8418,-19.8584,1.22083}, + {-2.10864,-21.9961,1.22083}, + {-5.78857,-24.9277,1.22083}, + {16.3679,-15.4463,1.22083}, + {28.0537,-17.1328,1.22083}, + {22.1833,11.416,-2.00361}}; +}; +class LAND_Tav_Panelak2 : Residential +{ + lootPos[] = {{2.7627,-5.62524,5.43665}, + {2.63867,-0.156494,5.43665}, + {3.4873,2.76855,5.43665}, + {6.06152,3.64966,5.43665}, + {6.70996,0.734619,5.43665}, + {4.71875,-1.69263,5.43665}, + {-0.347656,-2.23315,5.43665}, + {0.814453,-1.73901,2.71097}, + {-0.545898,-2.29468,2.71097}, + {-0.415039,4.25122,1.32864}, + {0.75,-2.01318,0.0714264}, + {0.644531,-1.86401,-2.62859}}; + zedPos[] = {{2.7627,-5.62524,5.43665}, + {2.63867,-0.156494,5.43665}, + {3.4873,2.76855,5.43665}, + {6.06152,3.64966,5.43665}, + {6.70996,0.734619,5.43665}, + {4.71875,-1.69263,5.43665}, + {-0.347656,-2.23315,5.43665}, + {0.814453,-1.73901,2.71097}, + {-0.545898,-2.29468,2.71097}, + {-0.415039,4.25122,1.32864}, + {0.75,-2.01318,0.0714264}, + {0.644531,-1.86401,-2.62859}}; +}; +class LAND_Tav_panelak : Residential +{ + lootPos[] = {{5.24121,-6.39453,2.77144}, + {6.71191,-5.43262,2.77144}, + {4.65625,-1.83838,2.77144}, + {6.69531,0.225586,2.77144}, + {6.54395,3.06519,2.77144}, + {3.40234,3.32324,2.77144}, + {2.61523,0.798096,2.77144}, + {2.7041,-4.98389,2.77144}, + {3.66016,-6.17651,2.77144}, + {-0.982422,-1.86328,2.77144}, + {-0.904297,4.13086,1.32864}, + {0.942383,-2.10474,0.0714226}, + {-2.56836,-1.68628,0.0714226}, + {-2.69531,3.42407,0.0714226}, + {-6.24902,3.01392,0.0714226}, + {-6.07227,0.556396,0.0714226}, + {-5.75488,-2.03857,0.0714226}, + {-6.66406,-4.34497,0.0714226}, + {-5.49219,-6.70581,0.0714226}, + {-2.41602,-4.19434,0.0714226}, + {-3.70801,-6.17212,0.0714226}}; + zedPos[] = {{5.24121,-6.39453,2.77144}, + {6.71191,-5.43262,2.77144}, + {4.65625,-1.83838,2.77144}, + {6.69531,0.225586,2.77144}, + {6.54395,3.06519,2.77144}, + {3.40234,3.32324,2.77144}, + {2.61523,0.798096,2.77144}, + {2.7041,-4.98389,2.77144}, + {3.66016,-6.17651,2.77144}, + {-0.982422,-1.86328,2.77144}, + {-0.904297,4.13086,1.32864}, + {0.942383,-2.10474,0.0714226}, + {-2.56836,-1.68628,0.0714226}, + {-2.69531,3.42407,0.0714226}, + {-6.24902,3.01392,0.0714226}, + {-6.07227,0.556396,0.0714226}, + {-5.75488,-2.03857,0.0714226}, + {-6.66406,-4.34497,0.0714226}, + {-5.49219,-6.70581,0.0714226}, + {-2.41602,-4.19434,0.0714226}, + {-3.70801,-6.17212,0.0714226}}; +}; +class LAND_Tav_Panelak3 : Residential +{ + lootPos[] = {{0.0878906,0.793457,-10.8154}, {-0.810547,3.44824,-10.8154}}; + zedPos[] = {{0.0878906,0.793457,-10.8154}, {-0.810547,3.44824,-10.8154}}; +}; +class LAND_Big_Panelak : Residential +{ + lootPos[] = {{3.30566,-9.23413,-14.7521}, {3.10059,-7.05005,-14.7521}, {5.36914,0.495361,-14.7521}, {-0.236328,-3.16772,-14.7521}, {3.05078,-0.838379,-14.7521}}; + zedPos[] = {{3.30566,-9.23413,-14.7521}, {3.10059,-7.05005,-14.7521}, {5.36914,0.495361,-14.7521}, {-0.236328,-3.16772,-14.7521}, {3.05078,-0.838379,-14.7521}}; +}; +class LAND_Posta : Residential +{ + lootPos[] = {{-17.4678,-9.28809,1.00044},{-16.5732,-1.32227,1.00044},{-3.60254,-5.11377,1.00044},{9.72168,-6.61035,1.00044},{17.333,-8.2085,1.00044}, + {13.3633,7.1958,1.00044},{1.56445,8.49707,1.00044}}; + zedPos[] = {{-17.4678,-9.28809,1.00044},{-16.5732,-1.32227,1.00044},{-3.60254,-5.11377,1.00044},{9.72168,-6.61035,1.00044}, {17.333,-8.2085,1.00044}, + {13.3633,7.1958,1.00044},{1.56445,8.49707,1.00044}}; +}; +class Land_smd_dum_istan2b : Residential // stucco 4 windows up, 2 down on left +{ + zedPos[] = {{-2.41797,2.20996,-2.34969}}; + lootPos[] = {{5.30371,-3.37402,0.822983},{-2.41504,-4.07617,0.823578},{-3.25977,-2.8623,3.80017},{-3.63574,1.1543,3.8002}}; +}; +class Land_smd_dum_olez_istan1_open : Residential // worn stucco 3 windows up, stairs-door on left, 1 window down +{ + zedPos[] = {{2.61328,-3.07422,-1.84399},{-4.4043,2.40918,-1.84398}}; + lootPos[] = {{1.50391,1.4043,-1.84399},{-6.95117,-5.76855,-1.84398},{4.18652,-3.46045,1.37497}}; +}; +class Land_smd_dum_olez_istan2_maly_open : Residential // worn stucco 3 windows up, stairs-door on left, 1 window down +{ + zedPos[] = {{-2.6709,-1.38867,-1.87241}}; + lootPos[] = {{-2.33594,2.87939,-1.87241},{-0.493164,-1.98486,1.34656}}; +}; +class Land_smd_dum_olez_istan2_open : Residential // cement open door shutter window wood canopy +{ + zedPos[] = {{2.34082,-2.22852,-0.229703}}; + lootPos[] = {{-2.41406,-4.83887,-0.229703},{-3.9834,3.29883,-0.229703}}; +}; +class Land_smd_house_y_open : Residential // cement open door, AC, blue roof +{ + zedPos[] = {{-0.40625,3.14844,-1.40688}}; + lootPos[] = {{2.68066,-3.13281,-1.40688},{2.41504,3.57764,-1.40688},{-3.43652,2.75293,-1.40688}}; +}; +class Land_majak : Residential // stone lighthouse +{ + zedPos[] = {{-0.756836,1.10938,-8.07302}}; + lootPos[] = {{-0.756836,1.10938,-8.07302},{-0.483398,-0.784668,-8.07302},{0.208984,-1.5918,1.72248}}; +}; +class Land_smd_sara_zluty_statek_in : Residential // +{ + zedPos[] = {{4.76367,-2.59277,-2.91795}}; + lootPos[] = {{3.50293,-2.22168,-2.91434},{8.08105,2.90723,-2.8938},{3.50586,3.97852,-2.88629},{-1.37305,1.58594,-2.88646}}; +}; +class Land_smd_dum_olezlina_open : Residential // 4 windows up 3 down and door +{ + zedPos[] = {{3.68604,1.09766,-3.83481}}; + lootPos[] = {{3.68604,1.09766,-3.83481},{-2.39355,-2.43457,-3.83481},{-4.78809,-2.15039,-0.434065}}; +}; +class Land_majak2 : Residential // stone lighthouse +{ + zedPos[] = {{0.125977,1.02539,-8.07302}}; + lootPos[] = {{-0.570801,1.09668,-8.07302},{1.74023,1.0752,1.72248}}; +}; +class Land_smd_budova3_open : Residential // blue doors + fireplace +{ + zedPos[] = {{1.44531,-0.165039,-1.91334}}; + lootPos[] = {{-0.738281,-1.79004,-1.9121},{-1.49609,2.75537,-1.9142}}; +}; +class Land_budova5 : Residential // guardhouse stoop +{ + lootPos[] = {{-2.24902,0.361328,-1.95059},{-2.25098,3.33887,-1.95059}}; +}; +class Land_smd_dum_istan3_hromada : Residential //brick 2 story with awning +{ + zedPos[] = {{0.521973,2.65039,-3.328}}; + lootPos[] = {{-1.12988,-2.4541,-3.328},{0.297852,0.660156,-3.328}}; +}; +class Land_smd_kasarna : Residential // +{ + zedPos[] = {{6.47363,20.6445,-8.77723},{-14.2305,16.1533,-8.77723}}; +}; +// ALT-MAP Support +class Land_House_L_7_EP1 : Residential // tak adobe open door on left 1 window on right +{ + zedPos[] = {{5.14258,0.34082,-0.169495}}; + lootPos[] = {{5.14258,0.34082,-0.169495},{-4.36523,2.34766,-0.649666},{-4.22705,-4.20996,-0.930611}}; +}; +class Land_House_K_6_EP1 : Residential // tak 3 story cement open door red blanket on second balcony +{ + zedPos[] = {{-3.42285,0.123291,1.48813},{1.25244,3.29688,4.42145}}; + lootPos[] = {{1.6333,4.93286,-1.60791},{0.728516,2.53174,1.47144},{-3.42285,0.123291,1.48813},{1.25244,3.29688,4.42145},{-3.85645,0.323242,4.3952}}; +}; +class Land_Mil_Guardhouse_EP1 : Land_Mil_Guardhouse{}; // tak + +class land_seb_bouda3 : Residential // nm house +{ + zedPos[] = {{-0.324219,4.1377,-1.72852},{1.2998,-3.30176,-1.72853},{-1.80664,-3.65234,-1.7286}}; + lootPos[] = {{1.83545,-2.07031,-1.72861},{-2.51172,-3.19824,-1.7287},{2.03906,-1.02344,-1.72863},{-2.31543,-0.154297,-1.72868},{-2.37695,3.83887,-1.72868},{2.21289,3.88965,-1.72866}}; +}; +class land_seb_mine_maringotka: Residential { // Nm + lootPos[] = {{0.291992, 0.46582, -0.644005}, {-0.0292969, -1.37817, -0.644009}}; +}; + diff --git a/SQF/dayz_code/Configs/CfgLoot/Buildings/ResidentialRuins.hpp b/SQF/dayz_code/Configs/CfgLoot/Buildings/ResidentialRuins.hpp index 4b43fac6..218d330a 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Buildings/ResidentialRuins.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Buildings/ResidentialRuins.hpp @@ -46,4 +46,28 @@ class MAP_sara_domek_vilka_ruins: ResidentialRuins { class Land_ruin_01: ResidentialRuins { lootPos[] = {{-4.26,-0.18,-1.46},{3.41,0.27,-1.71},{3,3.43,-1.5},{0.62,-1.74,-1.36},{4.55,-2.17,-1.73},{-5.05,3.07,-1.73}}; zedPos[] = {{3.41309,0.271484,-1.71381},{3.00293,3.42773,-1.49768},{-4.25708,-0.181641,-1.45575},{0.622559,-1.73828,-1.36047}}; -}; \ No newline at end of file +}; +// ALT-MAP Support +class Land_afbarabizna: ResidentialRuins { + lootPos[] = {{-1.29395,-2.97461,-4.22117}}; + zedPos[] = {{-4.08594,2.62402,-4.22117},{4.95557,6.03857,-4.22117},{4.60156,5.50098,-0.168262},{-0.87793,-3.41406,-0.168266},{-0.065918,-1.86523,-0.512926}}; +}; +class Land_dum_zboreny: ResidentialRuins { //ruins + lootPos[] = {{3.74902,4.38379,-2.37675}}; + zedPos[] = {{3.74902,4.38379,-2.37675},{-3.16797,3.21484,-2.37675},{-3.31787,3.25781,1.40384},{-5.35791,-1.67676,1.41383}}; +}; +class land_seb_residental: ResidentialRuins { //ruins + lootPos[] = {{3.74902,4.38379,-2.37675}}; + zedPos[] = {{-4.70215,6.14648,-3.70411},{2.15479,8.1123,-3.7844},{-4.03955,6.47949,0.530872},{-4.41943,-7.93652,0.397972},{-1.40479,-7.99414,0.394527}}; +}; +class Land_House_L_9_EP1: ResidentialRuins { //ruins + lootPos[] = {{-0.693848,0.973145,-0.620227}}; + zedPos[] = {{-0.693848,0.973145,-0.620227},{3.47729,1.06152,-0.620036}}; +}; +class Land_dum_zboreny_total: ResidentialRuins { //ruins + lootPos[] = {{-4.32422,-1.71094,-2.31456}}; +}; +class Land_dulni_bs: ResidentialRuins { //ruins + lootPos[] = {{1.51758,-1.98926,-1.75205},{-0.611328,2.30859,-1.75205}}; +}; +// ALT-MAP Support diff --git a/SQF/dayz_code/Configs/CfgLoot/Buildings/Supermarket.hpp b/SQF/dayz_code/Configs/CfgLoot/Buildings/Supermarket.hpp index fbe89163..91bd9198 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Buildings/Supermarket.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Buildings/Supermarket.hpp @@ -28,4 +28,162 @@ class Land_A_GeneralStore_01 : Supermarket { zedPos[] = {{0.105713,-9.60449,-1.21088},{10.5925,-9.94238,-1.21088},{-4.85986,-10.4199,-1.21082},{13.3127,-7.64941,-1.2016},{-3.57446,4.46777,-1.2016},{11.1685,-3.7334,-1.20154},{13.3013,-1.77441,-1.20154},{-3.33813,0.615234,-1.20154},{-7.97754,-5.78418,-1.20154},{1.12256,-1.58691,-1.20148},{-6.80884,-1.23926,-1.20148},{-8.2251,-7.32227,-1.20148},{1.31885,1.4668,-1.20142},{1.6499,5.14746,-1.20142},{-2.02612,-7.64844,-1.20142},{3.78979,-5.69238,-1.20142},{8.89404,-8.37207,-1.20142},{-9.38428,4.46094,-1.20142},{-9.38843,-3.30176,-1.20142},{9.81201,1.43066,-1.20142},{-3.77539,-3.86621,-1.20135},{0.753906,-3.69336,-1.20129},{9.01367,3.84961,-1.20129}}; lootPos[] = {{-9.38843,-3.30176,-1.20142},{-3.77539,-3.86621,-1.20135},{1.31885,1.4668,-1.20142},{9.01367,3.84961,-1.20129},{13.3013,-1.77441,-1.20154},{9.81201,1.43066,-1.20142},{1.6499,5.14746,-1.20142},{0.753906,-3.69336,-1.20129},{13.3127,-7.64941,-1.2016},{11.1685,-3.7334,-1.20154},{8.89404,-8.37207,-1.20142},{-2.02612,-7.64844,-1.20142},{-7.97754,-5.78418,-1.20154},{-8.2251,-7.32227,-1.20148},{3.78979,-5.69238,-1.20142},{-9.38428,4.46094,-1.20142},{-3.57446,4.46777,-1.2016},{-3.33813,0.615234,-1.20154},{10.5925,-9.94238,-1.21088},{0.105713,-9.60449,-1.21088},{-4.85986,-10.4199,-1.21082},{-6.80884,-1.23926,-1.20148},{1.12256,-1.58691,-1.20148}}; -}; \ No newline at end of file +}; +// ALT-MAP Support +class LAND_shopping_sab5: Supermarket +{ + lootPos[] = { + {-21.1367,-1.94238,-2.18279}, + {-22.1387,5.40918,-2.18285}, + {-5.17383,-1.17773,-2.1828}, + {2,-12.3975,-2.18271}, + {-4.03906,-11.5391,-2.18272}, + {-9.62109,-11.6016,-2.18272}, + {-15.1699,-11.5225,-2.18272}, + {-18.5156,-12.9307,-2.18271}, + {-20.3633,-10.1182,-2.18273}, + {-17.1367,-6.3623,-2.18276}, + {-12.0098,-3.98535,-2.18277}, + {-14.1758,4.46973,-2.18284}, + {-15.7285,-1.02539,-2.1828}, + {3.40625,4.30664,-2.18284}, + {6.83789,-3.75391,-1.36222}, + {-1.27344,10.9521,-1.36222}, + {-22.4199,9.1084,-1.36222}, + {1.22461,8.13672,-2.18285}, + {-3.18164,8.71484,-2.18285}, + {-7.77344,7.51563,-2.18285}}; + zedPos[] = { + {-21.1367,-1.94238,-2.18279}, + {-22.1387,5.40918,-2.18285}, + {-5.17383,-1.17773,-2.1828}, + {2,-12.3975,-2.18271}, + {-4.03906,-11.5391,-2.18272}, + {-9.62109,-11.6016,-2.18272}, + {-15.1699,-11.5225,-2.18272}, + {-18.5156,-12.9307,-2.18271}, + {-20.3633,-10.1182,-2.18273}, + {-17.1367,-6.3623,-2.18276}, + {-12.0098,-3.98535,-2.18277}, + {-14.1758,4.46973,-2.18284}, + {-15.7285,-1.02539,-2.1828}, + {3.40625,4.30664,-2.18284}, + {6.83789,-3.75391,-1.36222}, + {-1.27344,10.9521,-1.36222}, + {-22.4199,9.1084,-1.36222}, + {1.22461,8.13672,-2.18285}, + {-3.18164,8.71484,-2.18285}, + {-7.77344,7.51563,-2.18285}}; +}; +class LAND_shopping_sab1 : Supermarket +{ + lootPos[] = { + {-30.0442,28.7891,-6.25663}, + {-18.561,23.7578,-6.25663}, + {1.32031,24.5879,-6.25663}, + {-7.86792,15.1182,-6.25663}, + {-22.3628,16.8828,-6.25663}, + {-26.7896,-24.9424,-6.25663}, + {-22.4546,-17.333,-6.25663}, + {-30.6628,-11.0195,-6.25663}, + {-2.51978,-23.1719,-6.25663}, + {0.889893,-14.1914,-6.25663}, + {23.3015,-15.1357,-6.25663}, + {42.353,-13.5322,-6.25663}, + {37.3396,-22.9014,-6.34278}, + {14.5388,-26.2158,-6.25663}, + {9.93091,-18.2871,-6.25663}, + {7.23315,24.9834,-6.25663}, + {8.8877,16.46,-6.25663}, + {16.9697,11.9541,-6.25663}, + {27.3679,21.3857,-6.25663}, + {-28.7632,27.7227,-2.38664}, + {33.5342,16.8047,-6.25663}, + {-31.0317,12.626,-2.38664}, + {-22.1975,16.3066,-2.38664}, + {-17.7339,21.0166,-2.38664}, + {-8.78564,27.5811,-2.38664}, + {-7.71826,15.2012,-2.38664}, + {1.65771,16.3496,-2.38664}, + {-36.4099,8.60352,-2.38664}, + {-43.6084,8.64258,-2.38664}, + {-41.8218,-2.6748,-2.38664}, + {-35.7854,-5.95313,-2.38664}, + {-16.2727,-13.2295,-2.38664}, + {-23.0032,-13.2764,-2.38664}, + {-25.6714,-25.6045,-2.38664}, + {-10.1611,-26.001,-2.38664}, + {2.98145,-26.7119,-2.38664}, + {2.59131,-13.5352,-2.38664}, + {10.7913,-16.2617,-2.38664}, + {17.1582,-27.3232,-2.38664}, + {26.3887,-25.0986,-2.38664}, + {30.8889,-22.1074,-2.38664}, + {42.4817,-21.6602,-2.47279}, + {41.8726,-13.7373,-2.38664}, + {32.7183,-12.5967,-2.38664}, + {34.2241,-5.04199,-2.38664}, + {40.2024,-7.14941,-2.38664}, + {39.8079,-0.0917969,-2.38664}, + {43.5059,6.59766,-2.38664}, + {33.3914,3.02148,-2.38664}, + {29.0322,11.1025,-2.38664}, + {33.1868,17.4531,-2.38664}, + {22.3228,26.3857,-2.38664}, + {7.32861,23.8564,-2.38664}}; + zedPos[] = { + {-30.0442,28.7891,-6.25663}, + {-18.561,23.7578,-6.25663}, + {1.32031,24.5879,-6.25663}, + {-7.86792,15.1182,-6.25663}, + {-22.3628,16.8828,-6.25663}, + {-26.7896,-24.9424,-6.25663}, + {-22.4546,-17.333,-6.25663}, + {-30.6628,-11.0195,-6.25663}, + {-2.51978,-23.1719,-6.25663}, + {0.889893,-14.1914,-6.25663}, + {23.3015,-15.1357,-6.25663}, + {42.353,-13.5322,-6.25663}, + {37.3396,-22.9014,-6.34278}, + {14.5388,-26.2158,-6.25663}, + {9.93091,-18.2871,-6.25663}, + {7.23315,24.9834,-6.25663}, + {8.8877,16.46,-6.25663}, + {16.9697,11.9541,-6.25663}, + {27.3679,21.3857,-6.25663}, + {-28.7632,27.7227,-2.38664}, + {33.5342,16.8047,-6.25663}, + {-31.0317,12.626,-2.38664}, + {-22.1975,16.3066,-2.38664}, + {-17.7339,21.0166,-2.38664}, + {-8.78564,27.5811,-2.38664}, + {-7.71826,15.2012,-2.38664}, + {1.65771,16.3496,-2.38664}, + {-36.4099,8.60352,-2.38664}, + {-43.6084,8.64258,-2.38664}, + {-41.8218,-2.6748,-2.38664}, + {-35.7854,-5.95313,-2.38664}, + {-16.2727,-13.2295,-2.38664}, + {-23.0032,-13.2764,-2.38664}, + {-25.6714,-25.6045,-2.38664}, + {-10.1611,-26.001,-2.38664}, + {2.98145,-26.7119,-2.38664}, + {2.59131,-13.5352,-2.38664}, + {10.7913,-16.2617,-2.38664}, + {17.1582,-27.3232,-2.38664}, + {26.3887,-25.0986,-2.38664}, + {30.8889,-22.1074,-2.38664}, + {42.4817,-21.6602,-2.47279}, + {41.8726,-13.7373,-2.38664}, + {32.7183,-12.5967,-2.38664}, + {34.2241,-5.04199,-2.38664}, + {40.2024,-7.14941,-2.38664}, + {39.8079,-0.0917969,-2.38664}, + {43.5059,6.59766,-2.38664}, + {33.3914,3.02148,-2.38664}, + {29.0322,11.1025,-2.38664}, + {33.1868,17.4531,-2.38664}, + {22.3228,26.3857,-2.38664}, + {7.32861,23.8564,-2.38664}}; +}; +// ALT-MAP Support diff --git a/SQF/dayz_code/Configs/CfgLoot/Buildings/Zero.hpp b/SQF/dayz_code/Configs/CfgLoot/Buildings/Zero.hpp new file mode 100644 index 00000000..96ffca9a --- /dev/null +++ b/SQF/dayz_code/Configs/CfgLoot/Buildings/Zero.hpp @@ -0,0 +1,38 @@ +class Land_a_stationhouse: Military +{ + lootPos[] = {{-2.7,-7.57,-9.46},{-0.87,-6.08,-9.47},{-3.24,-6.62,-4.65},{-1.36,-8.36,-4.65},{-1.99,-7.24,-0.04},{-4.13,-7.71,-0.04},{-1.4,-7.8,4.41},{-1.38,-5.79,4.41},{1.51,1.96,-9.47},{17.79,-4.36,-9.47},{-14.4,3.29,-0.51},{1.33,0.89,-0.51},{-2.37,-8.4,8.49},{12.44,2.54,-9.47},{-14.83,-7.58,-0.51},{-1.8,8.87,-0.51},{5.61,0.89,-0.51},{3.65,-6.54,-4.51},{16.29,-6.57,-4.51},{18.39,2.37,-4.51},{9.28,-1.25,-4.51},{-2.08,-4.74,8.49}}; +}; + +class Land_Mil_Barracks: Military +{ + lootPos[] = {{-5.67,-0.1,-1.94},{0.18,3.5,-1.94},{5.24,-2.68,-1.94},{5.8,4.01,-1.94},{2.53,3.57,-1.94},{4.04,0.01,-1.94}}; +}; + +class Land_HouseV_1L2: Residential +{ + lootPos[] = {{-0.45,5.3,-2.97},{3.73,1.74,-0.79},{-2.38,0.29,-0.79},{3.93,-4.8,-0.79},{-1.31,-3.28,-0.3},{3.28,-2.46,-0.79}}; +}; + +class Land_HouseV_3I3: Residential +{ + lootPos[] = {{4.81,-1.53,-1.86},{1.15,-3.01,-0.76},{-4.43,-0.18,-1.4},{-2.64,-0.08,-1.4},{-4.39,-2.98,-1.4},{-0.83,-0.6,-1.4}}; +}; + +class Land_Mil_Guardhouse: Residential +{ + lootPos[] = {{3.25,0.71,-1.44},{-2.43,-3.24,-1.44},{4.52,-3.51,-1.44},{1.52,-1.81,-1.44},{3.06,3.55,-0.71},{-0.94,3.2,-1.44},{-2.41,3.28,-1.44}}; +}; + +class Land_Misc_PowerStation: Industrial { + lootPos[] = {{3.52,5.87,-2.05},{4.23,-1.2,-1.29},{0.29,-2.23,-1.25},{-2.94,-5.09,-1.25},{-2.31,4.52,1.59},{1.22,-2.59,1.61}}; +}; + +class Land_repair_center: Industrial { + lootPos[] = {{1.04,3.42,-1.62},{-1.2,-0.68,-2.39},{0.43,-0.07,-2.39},{0.71,-4.61,-2.95},{-2.43,-1.16,-1.6},{-2.3,2.11,-1.6}}; +}; + +class Land_Mil_House: Military +{ + zedPos[] = {{13.67,4.42,-5.67},{-2.05,-1.3,-4.91},{-7.45,3.97,-4.91},{-14.65,1.08,-4.91},{-13.96,-2.5,-4.91},{-8.89,-0.99,-0.89},{-4.41,-5.75,-0.11},{-13.72,-7.24,-0.89}}; + lootPos[] = {{13.67,4.42,-5.67},{-2.05,-1.3,-4.91},{-7.45,3.97,-4.91},{-14.65,1.08,-4.91},{-13.96,-2.5,-4.91},{-8.89,-0.99,-0.89},{-4.41,-5.75,-0.11},{-13.72,-7.24,-0.89}}; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp b/SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp index 160d585d..5b46ad16 100644 --- a/SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp @@ -5,7 +5,7 @@ class CfgLoot class Groups { //Not renamed yet - #define DZ_BP_VestPouch DZ_Czech_Vest_Puch + #define DZ_BP_VestPouch DZ_Czech_Vest_Pouch #define DZ_BP_Patrol DZ_Patrol_Pack_EP1 #define DZ_BP_Assault DZ_Assault_Pack_EP1 #define DZ_BP_Survival DZ_TK_Assault_Pack_EP1 @@ -36,6 +36,7 @@ class CfgLoot #include "Groups\Trash.hpp" #include "Groups\Consumable.hpp" #include "Groups\ConsumableItems.hpp" + #include "Groups\Fuel.hpp" #include "Groups\Parts.hpp" // Points of interest @@ -113,6 +114,7 @@ class CfgLoot }; lootChance = 0; + lootRefreshTimer = 900; lootGroup = ""; lootPos[] = {}; }; @@ -137,5 +139,6 @@ class CfgLoot #include "Buildings\Toilet.hpp" #include "Buildings\Roaming.hpp" #include "Buildings\Misc.hpp" + //#include "Buildings\Zero.hpp" }; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Attachments.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Attachments.hpp index bc0ddfd3..b2180ca6 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Attachments.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Attachments.hpp @@ -26,5 +26,7 @@ AttachmentsWest[] = {Loot_MAGAZINE, 2, Attachment_M203}, {Loot_MAGAZINE, 1, Attachment_Sup556}, {Loot_MAGAZINE, 3, Attachment_Sup9}, - {Loot_MAGAZINE, 3, Attachment_SA58RIS} -}; \ No newline at end of file + {Loot_MAGAZINE, 3, Attachment_SA58RIS}, + {Loot_MAGAZINE, 3, Attachment_MFL}, + {Loot_MAGAZINE, 3, Attachment_MFL_Pist} +}; diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Castle.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Castle.hpp index 1703d2af..a138f090 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Castle.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Castle.hpp @@ -7,7 +7,7 @@ Castle[] = {Loot_WEAPON, 2, ItemFlashlight}, {Loot_WEAPON, 1, ItemPickaxe}, {Loot_WEAPON, 2, ItemPickaxeBroken}, -// {Loot_WEAPON, 2, ItemShovel}, + {Loot_WEAPON, 2, ItemShovel}, // {Loot_WEAPON, 1, ItemHatchet}, {Loot_VEHICLE, 1, WeaponHolder_ItemHatchet}, @@ -21,7 +21,7 @@ Castle[] = //Items {Loot_MAGAZINE, 4, ItemSandbag}, - {Loot_MAGAZINE, 1, equip_Crossbow_Kit}, +// {Loot_MAGAZINE, 1, equip_Crossbow_Kit}, //not functional yet {Loot_MAGAZINE, 3, equip_rope}, {Loot_MAGAZINE, 4, PartWoodPile}, {Loot_MAGAZINE, 2, ItemPadlock}, diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Church.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Church.hpp index d2b894aa..8d68e4dd 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Church.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Church.hpp @@ -13,7 +13,7 @@ Church[] = {Loot_BACKPACK, 0.5, DZ_BP_Assault}, //Items - {Loot_MAGAZINE, 1, equip_Crossbow_Kit}, +// {Loot_MAGAZINE, 1, equip_Crossbow_Kit}, //not functional yet {Loot_MAGAZINE, 4, ItemBookBible}, {Loot_MAGAZINE, 2, equip_rag}, diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Construction.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Construction.hpp index 48fe0eee..fc0b375d 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Construction.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Construction.hpp @@ -3,17 +3,18 @@ Construction[] = {Loot_MAGAZINE, 9, ItemLog}, {Loot_MAGAZINE, 9, ItemPlank}, {Loot_MAGAZINE, 5, ItemStone}, - {Loot_MAGAZINE, 8, equip_nails}, + {Loot_MAGAZINE, 4, equip_nails}, + {Loot_MAGAZINE, 1.5, ItemScrews}, {Loot_MAGAZINE, 9, equip_metal_sheet_rusted}, {Loot_MAGAZINE, 9, equip_metal_sheet}, {Loot_MAGAZINE, 1, equip_lever}, - {Loot_MAGAZINE, 1, ItemPadlock}, + //{Loot_MAGAZINE, 1, ItemPadlock}, {Loot_WEAPON, 1, ItemPickaxe}, {Loot_WEAPON, 2, ItemPickaxeBroken}, {Loot_WEAPON, 1, ItemSledgeHammer}, {Loot_WEAPON, 2, ItemSledgeHammerBroken}, -// {Loot_WEAPON, 2, ItemShovel}, + {Loot_WEAPON, 2, ItemShovel}, {Loot_GROUP, 10, Trash}, //{Loot_GROUP, 6, Parts}, diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Farm.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Farm.hpp index 938f7115..0894c61e 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Farm.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Farm.hpp @@ -16,13 +16,11 @@ Farm[] = //Items {Loot_MAGAZINE, 4, ItemSandbag}, - {Loot_MAGAZINE, 3, ItemJerryCan}, - {Loot_MAGAZINE, 4, ItemFuelCan}, {Loot_MAGAZINE, 1, TrapBear}, {Loot_MAGAZINE, 8, PartWoodPile}, {Loot_MAGAZINE, 3, equip_rope}, {Loot_MAGAZINE, 3, equip_duct_tape}, - {Loot_MAGAZINE, 6, equip_nails}, + {Loot_MAGAZINE, 3, equip_nails}, {Loot_MAGAZINE, 4, equip_string}, {Loot_MAGAZINE, 2, equip_lever}, @@ -32,5 +30,7 @@ Farm[] = {Loot_GROUP, 3, AttachmentsGeneric}, {Loot_GROUP, 8, Consumable}, {Loot_GROUP, 4, Matchbox}, + {Loot_GROUP, 3, JerryCan}, + {Loot_GROUP, 4, FuelCan}, {Loot_GROUP, 8, Generic} }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Industrial.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Industrial.hpp index 089e28bc..907287b1 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Industrial.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Industrial.hpp @@ -15,14 +15,13 @@ Industrial[] = //Items {Loot_MAGAZINE, 6, ItemSandbag}, - {Loot_MAGAZINE, 4, ItemJerryCan}, {Loot_MAGAZINE, 1, ItemWire}, {Loot_MAGAZINE, 4, ItemTankTrap}, {Loot_MAGAZINE, 1, equip_brick}, {Loot_MAGAZINE, 3, equip_duct_tape}, {Loot_MAGAZINE, 2, equip_hose}, - {Loot_MAGAZINE, 6, equip_nails}, -// {Loot_MAGAZINE, 3, ItemScrews}, + {Loot_MAGAZINE, 3, equip_nails}, + {Loot_MAGAZINE, 1.5, ItemScrews}, {Loot_MAGAZINE, 1, equip_scrapelectronics}, {Loot_MAGAZINE, 2, equip_metal_sheet}, {Loot_MAGAZINE, 2, equip_1inch_metal_pipe}, @@ -33,6 +32,7 @@ Industrial[] = {Loot_GROUP, 15, Parts}, {Loot_PILE, 10, Trash, 1, 3}, {Loot_PILE, 4, Consumable, 1, 2}, + {Loot_GROUP, 4, JerryCan}, {Loot_GROUP, 8, Generic} }; diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Military.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Military.hpp index 6ec8abeb..487d73c6 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Military.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Military.hpp @@ -3,7 +3,7 @@ Military[] = //Pistols {Loot_WEAPON, 3, Makarov_DZ}, {Loot_WEAPON, 2, M1911_DZ}, - {Loot_WEAPON, 1, M9_DZ}, +//Mill Special - {Loot_WEAPON, 1, M9_DZ}, {Loot_WEAPON, 1, G17_DZ}, //Submachineguns @@ -14,17 +14,17 @@ Military[] = //Assault rifles {Loot_WEAPON, 2, M16A2_DZ}, //{Loot_WEAPON, 1, M16A2_GL_DZ}, //added to attachments system - {Loot_WEAPON, 1.5, M16A4_DZ}, - {Loot_WEAPON, 0.5, M4A1_DZ}, +//Mill Special - {Loot_WEAPON, 1.5, M16A4_DZ}, +//Mill Special - {Loot_WEAPON, 0.5, M4A1_DZ}, // {Loot_WEAPON, 3, G36C_DZ}, {Loot_WEAPON, 3, AK74_DZ}, - {Loot_WEAPON, 3, AKS74U_DZ}, +//Mill Special - {Loot_WEAPON, 3, AKS74U_DZ}, {Loot_WEAPON, 1, AKM_DZ}, - {Loot_WEAPON, 1, SA58_DZ}, +//Mill Special - {Loot_WEAPON, 1, SA58_DZ}, //Shotguns {Loot_WEAPON, 2, Remington870_DZ}, - {Loot_WEAPON, 1, M1014_DZ}, +//Mill Special - {Loot_WEAPON, 0.5, M1014_DZ}, //Tools {Loot_TOOL, 3, Binocular}, @@ -86,13 +86,17 @@ MilitarySpecial[] = {Loot_WEAPON, 1, SA58_RIS_DZ}, //Shotguns - {Loot_WEAPON, 1, Remington870_DZ}, - {Loot_WEAPON, 2, M1014_DZ}, + {Loot_WEAPON, 2, Remington870_DZ}, + {Loot_WEAPON, 1, M1014_DZ}, //Machine guns {Loot_WEAPON, 1, RPK74_DZ}, {Loot_WEAPON, 0.5, UK59_DZ}, // {Loot_WEAPON, 0.5, PKM_DZ}, + {Loot_WEAPON, 0.5, M249_DZ}, + +//Sniper Rifles + {Loot_WEAPON, 0.2, SVD_DZ}, //Tools {Loot_TOOL, 4, Binocular}, @@ -101,6 +105,8 @@ MilitarySpecial[] = {Loot_TOOL, 1.3, ItemGPS}, {Loot_TOOL, 4, ItemMap}, {Loot_TOOL, 2, ItemEtool}, + {Loot_TOOL, 0.5, Binocular_Vector}, + {Loot_MAGAZINE, 0.5, PipeBomb}, //Backpacks {Loot_BACKPACK, 3, DZ_BP_Alice}, @@ -119,13 +125,13 @@ MilitarySpecial[] = {Loot_CONTAINER, 2, DZ_AmmoBoxRU, AmmoBoxCZ1, 7, 14}, //7.62x39 {Loot_CONTAINER, 1, DZ_AmmoBoxRU, AmmoBoxCZ2, 2, 5}, //7.62x54R // {Loot_CONTAINER, 0.5, DZ_AmmoBoxRU, AmmoBoxRU3, 3, 7}, //7.62x54R - {Loot_CONTAINER, 0.5, DZ_ExplosivesBoxRU, AmmoBoxRU4, 5, 15}, //GP-25 - {Loot_CONTAINER, 0.5, DZ_ExplosivesBoxRU, AmmoBoxRU5, 3, 7}, //Grenades + {Loot_CONTAINER, 0.5, DZ_ExplosiveBoxRU, AmmoBoxRU4, 5, 15}, //GP-25 + {Loot_CONTAINER, 0.5, DZ_ExplosiveBoxRU, AmmoBoxRU5, 3, 7}, //Grenades //Other {Loot_MAGAZINE, 3, FoodMRE}, {Loot_MAGAZINE, 2, ItemSandbag}, - {Loot_MAGAZINE, 0.5, PipeBomb}, + {Loot_TOOL, 0.5, NVGoggles}, {Loot_PILE, 15, AmmoMilitaryLow, 1, 4}, {Loot_PILE, 10, AmmoMilitaryHigh, 1, 3}, {Loot_GROUP, 2, AttachmentsGeneric}, diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Residential.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Residential.hpp index 2879049e..5c8ae7cb 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Residential.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Residential.hpp @@ -15,7 +15,7 @@ Residential[] = {Loot_WEAPON, 5, ItemWatch}, {Loot_WEAPON, 6, ItemFlashlight}, {Loot_WEAPON, 5, ItemKnife}, -// {Loot_WEAPON, 3, ItemShovel}, + {Loot_WEAPON, 3, ItemShovel}, {Loot_WEAPON, 1, ItemDIY_wood}, {Loot_WEAPON, 1, ItemDIY_Gate}, diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Supermarket.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Supermarket.hpp index 732de6bb..e4a49272 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Supermarket.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Supermarket.hpp @@ -36,7 +36,7 @@ Supermarket[] = {Loot_MAGAZINE, 3, ItemBandage}, {Loot_MAGAZINE, 2, ItemPainkiller}, {Loot_MAGAZINE, 2, ItemAntibacterialWipe}, - {Loot_MAGAZINE, 5, equip_nails}, + {Loot_MAGAZINE, 2, equip_nails}, //Groups {Loot_GROUP, 70, Consumable}, diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Consumable.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Consumable.hpp index 153fa876..baf49c13 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Consumable.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Consumable.hpp @@ -1,10 +1,5 @@ Consumable[] = { -/* {Loot_MAGAZINE, 8, ItemBandage}, - {Loot_MAGAZINE, 4, ItemHeatPack}, - {Loot_MAGAZINE, 3, ItemPainkiller}, - {Loot_MAGAZINE, 3, ItemAntibacterialWipe},*/ - {Loot_MAGAZINE, 3, ItemWaterBottleUnfilled}, {Loot_MAGAZINE, 1, ItemWaterBottleSafe}, {Loot_MAGAZINE, 1, ItemWaterBottle}, diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/CrashSite.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/CrashSite.hpp index 014dc0c7..a1394500 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/CrashSite.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/CrashSite.hpp @@ -31,7 +31,7 @@ CrashSiteRU[] = //Tools {Loot_WEAPON, 1.5, ItemGPS}, {Loot_WEAPON, 1, Binocular_Vector}, - {Loot_WEAPON, 0.5, NVGoggles}, + {Loot_MAGAZINE, 0.5, PipeBomb}, //Backpacks @@ -92,7 +92,7 @@ CrashSiteUS[] = //Tools {Loot_WEAPON, 1.5, ItemGPS}, {Loot_WEAPON, 1, Binocular_Vector}, - {Loot_WEAPON, 0.5, NVGoggles}, + {Loot_MAGAZINE, 0.7, PipeBomb}, //Backpacks @@ -153,7 +153,7 @@ CrashSiteEU[] = //Tools {Loot_WEAPON, 1.5, ItemGPS}, {Loot_WEAPON, 1, Binocular_Vector}, - {Loot_WEAPON, 0.5, NVGoggles}, + {Loot_MAGAZINE, 0.8, PipeBomb}, //Backpacks @@ -214,6 +214,7 @@ CrashSiteUN[] = //Tools {Loot_WEAPON, 2, ItemGPS}, + {Loot_MAGAZINE, 1, PipeBomb}, //Clothing {Loot_MAGAZINE, 2, Skin_Camo1_DZ}, diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Fuel.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Fuel.hpp new file mode 100644 index 00000000..90120018 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Fuel.hpp @@ -0,0 +1,11 @@ +JerryCan[] = +{ + {Loot_MAGAZINE, 1, ItemJerryCan}, + {Loot_MAGAZINE, 1, ItemJerryCanEmpty} +}; + +FuelCan[] = +{ + {Loot_MAGAZINE, 1, ItemFuelcan}, + {Loot_MAGAZINE, 1, ItemFuelcanEmpty} +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Generic.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Generic.hpp index c6a37db1..c29a5534 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Generic.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Generic.hpp @@ -16,7 +16,8 @@ Generic[] = {Loot_MAGAZINE, 1, equip_pvc_box}, {Loot_MAGAZINE, 1, equip_lever}, {Loot_MAGAZINE, 1, equip_rag}, - {Loot_MAGAZINE, 1, equip_nails}, - {Loot_MAGAZINE, 1, ItemFuelCan}, - {Loot_MAGAZINE, 1, PartWoodPile} + {Loot_MAGAZINE, 0.3, equip_nails}, + {Loot_MAGAZINE, 1, PartWoodPile}, + + {Loot_GROUP, 1, FuelCan} }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Attachments/Attachments.hpp b/SQF/dayz_code/Configs/CfgMagazines/Attachments/Attachments.hpp index 35cfc369..a583d2d8 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Attachments/Attachments.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Attachments/Attachments.hpp @@ -4,6 +4,9 @@ #include "FL.hpp" #include "FL_Pist.hpp" +#include "MFL.hpp" +#include "MFL_Pist.hpp" + #include "CCO.hpp" #include "Holo.hpp" #include "ACOG.hpp" @@ -21,4 +24,4 @@ #include "Ghillie.hpp" -#include "SA58RIS.hpp" \ No newline at end of file +#include "SA58RIS.hpp" diff --git a/SQF/dayz_code/Configs/CfgMagazines/Attachments/MFL.hpp b/SQF/dayz_code/Configs/CfgMagazines/Attachments/MFL.hpp new file mode 100644 index 00000000..f1d3babb --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Attachments/MFL.hpp @@ -0,0 +1,21 @@ +class Attachment_MFL : CA_Magazine +{ + scope = public; + count = 1; + type = WeaponSlotItem; + + model = "\z\addons\dayz_communityweapons\attachments\flashlight_rifle\flashlight_rifle.p3d"; + picture = "\z\addons\dayz_communityweapons\attachments\flashlight_rifle\data\m_flashlight_rifle_ca.paa"; + + displayName = $STR_DZ_ATT_MFL_RFL_NAME; + descriptionShort = $STR_DZ_ATT_MFL_RFL_DESC; + + class ItemActions + { + class AttachToPrimary + { + text = $STR_DZ_ATT_ACT_TO_PRIMARY; + script = "; [_id,1] call player_attachAttachment"; + }; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Attachments/MFL_Pist.hpp b/SQF/dayz_code/Configs/CfgMagazines/Attachments/MFL_Pist.hpp new file mode 100644 index 00000000..5320650e --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Attachments/MFL_Pist.hpp @@ -0,0 +1,21 @@ +class Attachment_MFL_Pist : CA_Magazine +{ + scope = public; + count = 1; + type = WeaponSlotItem; + + model = "\z\addons\dayz_communityweapons\attachments\flashlight_pistol\flashlight_pistol.p3d"; + picture = "\z\addons\dayz_communityweapons\attachments\flashlight_pistol\data\m_flashlight_pistol_ca.paa"; + + displayName = $STR_DZ_ATT_MFL_PST_NAME; + descriptionShort = $STR_DZ_ATT_MFL_PST_DESC; + + class ItemActions + { + class AttachToSecondary + { + text = $STR_DZ_ATT_ACT_TO_SECONDARY; + script = "; [_id,0] call player_attachAttachment"; + }; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Clothing/Clothing.hpp b/SQF/dayz_code/Configs/CfgMagazines/Clothing/Clothing.hpp index 5c7d28d9..94b7c930 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Clothing/Clothing.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Clothing/Clothing.hpp @@ -18,7 +18,7 @@ class SkinBase : CA_Magazine class tearClothes { - text = "Tear Clothes"; + text = $STR_TEAR_CLOTHES; script = "spawn player_tearClothes;"; }; }; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/BearTrap.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/BearTrap.hpp index 88bbf25d..654d9515 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/BearTrap.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/BearTrap.hpp @@ -14,7 +14,7 @@ class TrapBear : CA_Magazine class Build { text = $STR_ACTION_BUILD; - script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;"; + script = "; [_id,'Build'] spawn player_build;"; require[] = {"ItemToolbox"}; consume[] = {"TrapBear"}; create = "BearTrap_DZ"; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/CamoNet.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/CamoNet.hpp index 6025444e..871c6f39 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/CamoNet.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/CamoNet.hpp @@ -14,7 +14,7 @@ class ItemCamoNet : CA_Magazine class Build { text = $STR_BUILD_CAMONET; - script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;"; + script = "; [_id,'Build'] spawn player_build;"; require[] = {"ItemToolbox"}; consume[] = {"ItemCamoNet"}; create = "CamoNet_DZ"; @@ -34,7 +34,7 @@ class ItemCamoNet : CA_Magazine class Build { text = $STR_BUILD_CAMONET; - script = "; ['ItemCamoNetGrey','Build'] spawn player_build; r_action_count = r_action_count + 1;"; + script = "; ['ItemCamoNetGrey','Build'] spawn player_build;"; require[] = {"ItemToolbox"}; consume[] = {"ItemCamoNetGrey"}; create = "CamoNet_DZ"; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Generator.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Generator.hpp index fa0da7ac..34104d59 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Generator.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Generator.hpp @@ -14,8 +14,8 @@ class ItemGenerator : CA_Magazine class Build { text = $STR_ACTION_BUILD; - script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;"; - require[] = {"ItemEtool"}; + script = "; [_id,'Build'] spawn player_build;"; + require[] = {"ItemShovel"}; consume[] = {"ItemGenerator"}; create = "Generator_DZ"; }; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/MetalFenceItems.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/MetalFenceItems.hpp index 70c0aa47..5ea25740 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/MetalFenceItems.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/MetalFenceItems.hpp @@ -1,4 +1,4 @@ -class ItemMetalSheet: CA_Magazine +class ItemMetalSheet: CA_Magazine //Construection,farm,indestrial,castle { scope = 2; count = 1; @@ -7,8 +7,9 @@ class ItemMetalSheet: CA_Magazine picture = "\z\addons\dayz_buildings\equip\item_sheetmetal.paa"; model = "z\addons\dayz_buildings\models\sheet_metal.p3d"; descriptionShort = $STR_BLD_desc_ItemMetalSheet;//"Metal Sheeting" -}; -class ItemConcreteBlock: CA_Magazine +}; + +class ItemConcreteBlock: CA_Magazine //Construection,indestrial { scope = 2; count = 1; @@ -17,8 +18,9 @@ class ItemConcreteBlock: CA_Magazine picture = "\z\addons\dayz_buildings\equip\concreteblock.paa"; model = "z\addons\dayz_buildings\models\concreteblock.p3d"; descriptionShort = $STR_BLD_desc_ItemConcreteBlock;//"Concrete Block" -}; -class ItemRSJ: CA_Magazine +}; + +class ItemRSJ: CA_Magazine //Construection,farm,indestrial,castle { scope = 2; count = 1; @@ -27,8 +29,9 @@ class ItemRSJ: CA_Magazine picture = "\z\addons\dayz_buildings\equip\item_rsj.paa"; model = "z\addons\dayz_buildings\models\rsj.p3d"; descriptionShort = $STR_BLD_desc_ItemRSJ;//"Steel RSJ Support Beam" -}; -class ItemScrews: CA_Magazine +}; + +class ItemScrews: CA_Magazine //Construection,farm,indestrial,castle,residential { scope = 2; count = 1; @@ -37,4 +40,31 @@ class ItemScrews: CA_Magazine picture = "\z\addons\dayz_buildings\equip\item_screws.paa"; model = "z\addons\dayz_buildings\models\screws.p3d"; descriptionShort = $STR_BLD_desc_ItemScrews;//"Box of screws" -}; \ No newline at end of file +}; + +/* +class ItemBagScrews: CA_Magazine//Construection,indestrial,supermarket +{ + scope = 2; + count = 1; + type = 256; + displayName = $STR_BLD_name_ItemScrews;//"Box of screws for metal" + picture = "\z\addons\dayz_buildings\equip\item_screws.paa"; + model = "z\addons\dayz_buildings\models\screws.p3d"; + descriptionShort = $STR_BLD_desc_ItemScrews;//"Box of screws" + + class ItemActions { + class Spilt { + text = "Spilt Box"; + script = "; [_this] call fn_spiltBag;"; + }; + }; + +}; + +ItemScrews //Construection,farm,indestrial,castle,residential +ItemBagScrews //(LowChance)Construection,(LowChance)indestrial,supermarket +ItemRSJ //Construection,farm,indestrial,castle +ItemConcreteBlock //Construection,indestrial +ItemMetalSheet //Construection,farm,indestrial,castle +*/ \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Sandbag.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Sandbag.hpp index dbaa2135..bff391c5 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Sandbag.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Sandbag.hpp @@ -14,8 +14,8 @@ class ItemSandbag : CA_Magazine class Build { text = $STR_ACTION_BUILD; - script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;"; - require[] = {"ItemEtool"}; + script = "; [_id,'Build'] spawn player_build;"; + require[] = {"ItemShovel"}; consume[] = {"ItemSandbag"}; create = "Sandbag1_DZ"; //bypass RoadCheck @@ -25,8 +25,8 @@ class ItemSandbag : CA_Magazine class Build2 { text = $STR_CREATE_STASH; - script = "; [_id,'Build2'] spawn player_build; r_action_count = r_action_count + 1;"; - require[] = {"ItemEtool"}; + script = "; [_id,'Build2'] spawn player_build;"; + require[] = {"ItemShovel"}; consume[] = {"ItemSandbag"}; create = "StashSmall"; //Bypass collision test diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/TankTrap.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/TankTrap.hpp index ba9461ab..c131755c 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/TankTrap.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/TankTrap.hpp @@ -14,7 +14,7 @@ class ItemTankTrap : CA_Magazine class Build { text = $STR_ACTION_BUILD; - script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;"; + script = "; [_id,'Build'] spawn player_build;"; require[] = {"ItemToolbox"}; consume[] = {"ItemTankTrap"}; create = "Hedgehog_DZ"; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Tent.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Tent.hpp index 927ecdca..a8414360 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Tent.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Tent.hpp @@ -13,10 +13,11 @@ class ItemTent : CA_Magazine class Build { text = $STR_PITCH_TENT; - script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;"; + script = "; [_id,'Build'] spawn player_build;"; require[] = {}; consume[] = {"ItemTent"}; create = "TentStorage"; + ghost = "TentStorage_Ghost"; //Bypass collision test bypassCollision = "true"; }; @@ -39,10 +40,11 @@ class ItemDomeTent : CA_Magazine class Build { text = $STR_PITCH_DOME_TENT; - script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;"; + script = "; [_id,'Build'] spawn player_build;"; require[] = {}; consume[] = {"ItemDomeTent"}; create = "DomeTentStorage"; + ghost = "DomeTentStorage_Ghost"; //Bypass collision test bypassCollision = "true"; }; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/TripWire.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/TripWire.hpp index 448382c2..f25d0d38 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/TripWire.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/TripWire.hpp @@ -14,7 +14,7 @@ class ItemTrapTripwireCans : CA_Magazine class Build { text = $STR_ACTION_BUILD; - script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;"; + script = "; [_id,'Build'] spawn player_build;"; require[] = {"ItemToolbox"}; consume[] = {"ItemTrapTripwireCans"}; create = "Trap_Cans"; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/WireFence.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/WireFence.hpp index 19cb8665..c0c2ea35 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/WireFence.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/WireFence.hpp @@ -9,16 +9,19 @@ class ItemWire : CA_Magazine displayName = $STR_EQUIP_NAME_23; descriptionShort = $STR_EQUIP_DESC_23; + /* + //Due to issues with some players and graphic glitches this item has been removed. class ItemActions { class Build { text = $STR_ACTION_BUILD; - script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;"; + script = "; [_id,'Build'] spawn player_build;"; require[] = {"ItemToolbox"}; consume[] = {"ItemWire"}; create = "Wire_cat1"; byPass = "byPassRoadCheck"; }; }; + */ }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Workbench.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Workbench.hpp index a407a11f..1e7cb4b6 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Workbench.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Workbench.hpp @@ -1,6 +1,6 @@ class ItemWorkBench : CA_Magazine { - scope = 2; + scope = public; count = 1; type = 256; displayName = $STR_BLD_name_ItemWorkBench;//"Work Bench (Packed)" @@ -12,7 +12,7 @@ class ItemWorkBench : CA_Magazine class ItemActions { class Build { text = $STR_BLD_build_ItemWorkBench;//"place WorkBench" - script = "; ['ItemWorkBench','Build'] spawn player_build; r_action_count = r_action_count + 1;"; + script = "; ['ItemWorkBench','Build'] spawn player_build;"; require[] = {}; consume[] = {"ItemWorkBench"}; create = "WorkBench"; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/equip_brick.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/equip_brick.hpp index 174de96c..6a15aa17 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/equip_brick.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/equip_brick.hpp @@ -8,13 +8,4 @@ class equip_brick : CA_Magazine picture = "\z\addons\dayz_communityassets\pictures\equip_brick.paa"; displayName = $STR_ITEM_NAME_equip_brick; descriptionShort = $STR_ITEM_DESC_equip_brick; - - class ItemActions - { - class FixKnife - { - text = $STR_ACTIONS_FIX_KNIFE; - script = "; ['ItemKnifeBlunt','ItemKnife'] spawn player_sharpen;"; - }; - }; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Magazines/Magazines.hpp b/SQF/dayz_code/Configs/CfgMagazines/Magazines/Magazines.hpp index 2b7b539d..e8c30590 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Magazines/Magazines.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Magazines/Magazines.hpp @@ -3,7 +3,7 @@ #define COMBINE_MAG class CombineMag\ {\ text = $STR_MAG_COMBINE;\ - script = "spawn player_combineMag; r_action_count = r_action_count + 1;";\ + script = "spawn player_combineMag;";\ }; #include "9x18.hpp" //Makarov diff --git a/SQF/dayz_code/Configs/CfgMagazines/Medical/BloodBags.hpp b/SQF/dayz_code/Configs/CfgMagazines/Medical/BloodBags.hpp index f1000e0d..88ddc85b 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Medical/BloodBags.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Medical/BloodBags.hpp @@ -71,8 +71,6 @@ class bloodBagOPOS : bloodBagBase descriptionShort = $STR_BLD_desc_bloodBagOPOS; }; - - //Whole blood bags -- Can only be obtained by taking blood from another player. class wholeBloodBagBase : bloodBagBase { @@ -206,3 +204,21 @@ class emptyBloodBag : CA_Magazine }; }; }; + +//Classic blood bag +class ItemBloodbag: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = "$STR_EQUIP_NAME_16"; + model = "\dayz_equip\models\bloodbag.p3d"; + picture = "\dayz_equip\textures\equip_bloodbag_ca.paa"; + descriptionShort = "$STR_EQUIP_DESC_16"; + class ItemActions { + class use { + text = $STR_BLD_use; + script = "spawn player_useMeds;"; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Throwable.hpp b/SQF/dayz_code/Configs/CfgMagazines/Throwable.hpp index 5d42e154..ed591dde 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Throwable.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Throwable.hpp @@ -15,7 +15,7 @@ class HandRoadFlare : HandGrenade class CombineMag { text = $STR_MAG_COMBINE; - script = "spawn player_combineMag; r_action_count = r_action_count + 1;"; + script = "spawn player_combineMag;"; }; }; }; @@ -37,7 +37,7 @@ class HandChemBlue : HandGrenade class CombineMag { text = $STR_MAG_COMBINE; - script = "spawn player_combineMag; r_action_count = r_action_count + 1;"; + script = "spawn player_combineMag;"; }; }; }; @@ -59,7 +59,7 @@ class HandChemGreen : HandGrenade class CombineMag { text = $STR_MAG_COMBINE; - script = "spawn player_combineMag; r_action_count = r_action_count + 1;"; + script = "spawn player_combineMag;"; }; }; }; @@ -81,7 +81,7 @@ class HandChemRed : HandGrenade class CombineMag { text = $STR_MAG_COMBINE; - script = "spawn player_combineMag; r_action_count = r_action_count + 1;"; + script = "spawn player_combineMag;"; }; }; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Trash/Misc.hpp b/SQF/dayz_code/Configs/CfgMagazines/Trash/Misc.hpp index 0fdd1c60..296d9ea5 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Trash/Misc.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Trash/Misc.hpp @@ -105,3 +105,39 @@ class ItemTrashToiletpaper : CA_Magazine displayName = $STR_JUNK_NAME_TOILETPAPER; descriptionShort = $STR_JUNK_DESC_TOILETPAPER; }; + +class FoodChipsSulahoopsEmpty : CA_Magazine +{ + scope = public; + count = 1; + type = WeaponSlotItem; + + model = "z\addons\dayz_communityassets\models\bag_chips_small_sulahoops_opened.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_sulahoops_opened_ca.paa"; + displayName = $STR_FOOD_NAME_CHIPS_EMPTY; + descriptionShort = $STR_FOOD_DESC_CHIPS_EMPTY; +}; + +class FoodChipsMysticalesEmpty : CA_Magazine +{ + scope = public; + count = 1; + type = WeaponSlotItem; + + model = "z\addons\dayz_communityassets\models\bag_chips_small_mysticales_opened.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_mysticales_opened_ca.paa"; + displayName = $STR_FOOD_NAME_CHIPS_EMPTY; + descriptionShort = $STR_FOOD_DESC_CHIPS_EMPTY; +}; + +class FoodChipsChocolateEmpty : CA_Magazine +{ + scope = public; + count = 1; + type = WeaponSlotItem; + + model = "z\addons\dayz_communityassets\models\bag_chips_small_chocolate_opened.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_chocolate_empty_ca.paa"; + displayName = $STR_FOOD_NAME_CHIPS_EMPTY; + descriptionShort = $STR_FOOD_DESC_CHIPS_EMPTY; +}; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Trash/TinCan.hpp b/SQF/dayz_code/Configs/CfgMagazines/Trash/TinCan.hpp index 6befd676..569adf83 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Trash/TinCan.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Trash/TinCan.hpp @@ -172,28 +172,4 @@ class FoodCanRusCornEmpty : TrashTinCan picture = "\z\addons\dayz_communityassets\pictures\equip_can_small_rus_corn_clean_empty_ca.paa"; displayName = $STR_FOOD_NAME_CAN_EMPTY; descriptionShort = $STR_FOOD_DESC_CAN_EMPTY; -}; - -class FoodChipsSulahoopsEmpty : TrashTinCan -{ - model = "z\addons\dayz_communityassets\models\bag_chips_small_sulahoops_opened.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_sulahoops_opened_ca.paa"; - displayName = $STR_FOOD_NAME_CHIPS_EMPTY; - descriptionShort = $STR_FOOD_DESC_CHIPS_EMPTY; -}; - -class FoodChipsMysticalesEmpty : TrashTinCan -{ - model = "z\addons\dayz_communityassets\models\bag_chips_small_mysticales_opened.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_mysticales_opened_ca.paa"; - displayName = $STR_FOOD_NAME_CHIPS_EMPTY; - descriptionShort = $STR_FOOD_DESC_CHIPS_EMPTY; -}; - -class FoodChipsChocolateEmpty : TrashTinCan -{ - model = "z\addons\dayz_communityassets\models\bag_chips_small_chocolate_opened.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_chocolate_empty_ca.paa"; - displayName = $STR_FOOD_NAME_CHIPS_EMPTY; - descriptionShort = $STR_FOOD_DESC_CHIPS_EMPTY; -}; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Trash/Trash.hpp b/SQF/dayz_code/Configs/CfgMagazines/Trash/Trash.hpp index f5a5fa02..a5e59fc3 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Trash/Trash.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Trash/Trash.hpp @@ -14,7 +14,7 @@ class ItemSodaEmpty : HandGrenade class Drink { text = $STR_ACTIONS_DRINK2; - script = "spawn player_drinkWater;"; + script = ";[_id] spawn player_fillWater;"; }; }; }; @@ -35,7 +35,7 @@ class TrashTinCan : HandGrenade class Drink { text = $STR_ACTIONS_DRINK2; - script = "spawn player_drinkWater;"; + script = ";[_id] spawn player_fillWater;"; }; }; }; diff --git a/SQF/dayz_code/Configs/CfgMoves.hpp b/SQF/dayz_code/Configs/CfgMoves.hpp index 0ba353a1..f37f7aa6 100644 --- a/SQF/dayz_code/Configs/CfgMoves.hpp +++ b/SQF/dayz_code/Configs/CfgMoves.hpp @@ -3,4 +3,27 @@ class CfgMovesAnimalsBase { class StandBase; class DefaultDie; class BlendAnims; +}; + +class CfgMovesBasic; //Fix for server CTD +class CfgMovesMaleSdr: CfgMovesBasic +{ + class States + { + class TransAnimBase_noIK; + class AwopPercMstpSoptWbinDnon_AwopPknlMstpSoptWbinDnon_lnr: TransAnimBase_noIK + { + rightHandIKCurve[] = {}; + leftHandIKCurve[] = {}; + ConnectTo[] = {"AwopPknlMstpSoptWbinDnon_lnr",0.02}; + InterpolateTo[] = {"AwopPknlMstpSoptWbinDnon_AwopPercMstpSoptWbinDnon_lnr",0.02}; + actions = "BinocKneelLnrActions"; + rightHandIKEnd = 0; + rightHandIKBeg = 0; + leftHandIKEnd = 0; + leftHandIKBeg = 0; + canPullTrigger = 0; + file = "\ca\Anims\Characters\data\Anim\Sdr\wop\erc\stp\opt\bin\AwopPercMstpSoptWbinDnon_AwopPknlMstpSoptWbinDnon_una"; + }; + }; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgPlayerStats/p__cover.hpp b/SQF/dayz_code/Configs/CfgPlayerStats/p_cover.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgPlayerStats/p__cover.hpp rename to SQF/dayz_code/Configs/CfgPlayerStats/p_cover.hpp diff --git a/SQF/dayz_code/Configs/CfgPlayerStats/sound.hpp b/SQF/dayz_code/Configs/CfgPlayerStats/sound.hpp index 0cc3c0cb..b91216da 100644 --- a/SQF/dayz_code/Configs/CfgPlayerStats/sound.hpp +++ b/SQF/dayz_code/Configs/CfgPlayerStats/sound.hpp @@ -16,7 +16,7 @@ class CfgSounds class horde_sound_close_book: Vas_yessir { name = "horde_sound_close_book"; - sound[] = {"\z\addons\dayz_communityassets\sounds\close.wss", 1, 1}; + sound[] = {"\z\addons\dayz_communityassets\sounds\close.wss", 0.5, 1}; titles[] = {}; }; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgTownGenerator/chernarusWaters.hpp b/SQF/dayz_code/Configs/CfgTownGenerator/chernarusWaters.hpp index fabca2b9..003c31d8 100644 --- a/SQF/dayz_code/Configs/CfgTownGenerator/chernarusWaters.hpp +++ b/SQF/dayz_code/Configs/CfgTownGenerator/chernarusWaters.hpp @@ -2362,5 +2362,4 @@ onFire = 0; }; - }; - + }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/Animal.hpp b/SQF/dayz_code/Configs/CfgVehicles/Animal.hpp index 9e2a1229..4ba63d65 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Animal.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Animal.hpp @@ -1,16 +1,31 @@ - -class CAAnimalBase; -class animal_DZ: CAAnimalBase +class Animal; +class CAAnimalBase: Animal { class Eventhandlers { - local = "_z = _this select 0; if ((!isServer and !isNull _z) and {(side _z != civilian)}) exitWith { PVDZ_sec_atp = [ 'wrong side', player ]; publicVariableServer 'PVDZ_sec_atp'; deleteVehicle _z; }; if ((_this select 1) and isServer) exitWith { _z call sched_co_deleteVehicle; };"; + local = "_z = _this select 0; if ((!isServer and !isNull _z) and {(side _z != civilian)}) exitWith { PVDZ_sec_atp = [ 'wrong side', player ]; publicVariableServer 'PVDZ_sec_atp'; deleteVehicle _z; }; if ((_this select 1) && isServer && (({isPlayer _x} count (_z nearEntities ['CAManBase',150])) == 0)) exitWith { _z call sched_co_deleteVehicle; };"; + }; + class UserActions + { + class Butcher + { + displayName = $STR_ACTIONS_SELF_04; + displayNameDefault = $STR_ACTIONS_SELF_04; + priority = 3; + radius = 3; + position = ""; + showWindow = 1; + onlyForPlayer = 1; + shortcut = ""; + condition = "(['Butcher',this] call userActionConditions)"; + statement = "this spawn player_butcher;"; + }; }; }; -class Cow: animal_DZ +class Cow: CAAnimalBase { - scope = 0; + scope = private; model = "\ca\animals2\cow\cow"; displayName = "$STR_DN_COW"; moves = "CfgMovesCow"; @@ -43,7 +58,7 @@ class Cow: animal_DZ }; class Cow01: Cow { - scope = 2; + scope = public; accuracy = 1000; model = "\ca\animals2\cow\cow"; displayName = "$STR_DN_COW01"; @@ -65,9 +80,9 @@ class Cow04: Cow01 hiddenSelectionsTextures[] = {"ca\animals2\cow\data\cow4_co.PAA"}; }; -class Goat: animal_DZ +class Goat: CAAnimalBase { - scope = 2; + scope = public; model = "\ca\animals2\Goat\Goat"; displayName = "$STR_DN_GOAT"; moves = "CfgMovesGoat"; @@ -90,9 +105,9 @@ class Goat: animal_DZ }; }; -class Rabbit: animal_DZ +class Rabbit: CAAnimalBase { - scope = 2; + scope = public; side = 3; model = "\ca\animals2\rabbit\rabbit"; displayName = "$STR_DN_RABBIT"; @@ -124,9 +139,9 @@ class Rabbit: animal_DZ }; }; -class Sheep: animal_DZ +class Sheep: CAAnimalBase { - scope = 2; + scope = public; model = "\ca\animals2\Sheep\Sheep"; displayName = "$STR_DN_SHEEP"; moves = "CfgMovesSheep"; @@ -151,9 +166,9 @@ class Sheep: animal_DZ }; -class WildBoar: animal_DZ +class WildBoar: CAAnimalBase { - scope = 2; + scope = public; model = "\ca\animals2\WildBoar\WildBoar"; displayName = "$STR_DN_WILDBOAR"; moves = "CfgMovesWildBoar"; @@ -171,3 +186,4 @@ class WildBoar: animal_DZ }; }; +class Hen : CAAnimalBase {}; diff --git a/SQF/dayz_code/Configs/CfgVehicles/Bags.hpp b/SQF/dayz_code/Configs/CfgVehicles/Bags.hpp index ef515362..0c16987e 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Bags.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Bags.hpp @@ -52,7 +52,7 @@ class DZ_Assault_Pack_EP1: Bag_Base_EP1 }; }; -class DZ_Czech_Vest_Puch: Bag_Base_EP1 +class DZ_Czech_Vest_Pouch: Bag_Base_EP1 { displayname = $STR_BACKPACK_NAME_VEST; descriptionShort = $STR_BACKPACK_DESC_VEST; @@ -65,7 +65,7 @@ class DZ_Czech_Vest_Puch: Bag_Base_EP1 transportmaxweapons = 0; class eventHandlers { - init="[(_this select 0),'CfgVehicles','DZ_Czech_Vest_Puch'] execVM '\z\addons\dayz_code\init\object_BackpackAction.sqf';"; + init="[(_this select 0),'CfgVehicles','DZ_Czech_Vest_Pouch'] execVM '\z\addons\dayz_code\init\object_BackpackAction.sqf';"; }; }; diff --git a/SQF/dayz_code/Configs/CfgVehicles/Bikes/ATV_CZ_EP1.hpp b/SQF/dayz_code/Configs/CfgVehicles/Bikes/ATV_CZ_EP1.hpp index c9a6daa8..b9748f31 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Bikes/ATV_CZ_EP1.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Bikes/ATV_CZ_EP1.hpp @@ -3,9 +3,11 @@ class ATV_CZ_EP1: ATV_Base_EP1 { faction = ""; displayname = $STR_VEH_NAME_ATV; maxspeed = 80; - scope = 2; + scope = public; side = 1; - typicalcargo[] = {""}; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; class HitPoints: Hitpoints { class HitBody { armor = 1; diff --git a/SQF/dayz_code/Configs/CfgVehicles/Bikes/ATV_US_EP1.hpp b/SQF/dayz_code/Configs/CfgVehicles/Bikes/ATV_US_EP1.hpp index e03d5f61..331629af 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Bikes/ATV_US_EP1.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Bikes/ATV_US_EP1.hpp @@ -3,9 +3,11 @@ class ATV_US_EP1: ATV_Base_EP1 { faction = ""; displayname = $STR_VEH_NAME_ATV; maxspeed = 80; - scope = 2; + scope = public; side = 1; - typicalcargo[] = {""}; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; class HitPoints: Hitpoints { class HitBody { armor = 1; diff --git a/SQF/dayz_code/Configs/CfgVehicles/Bikes/M1030.hpp b/SQF/dayz_code/Configs/CfgVehicles/Bikes/M1030.hpp index ec240b50..c0019769 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Bikes/M1030.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Bikes/M1030.hpp @@ -1,4 +1,8 @@ class M1030: Motorcycle { + crew = ""; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; class HitPoints { class HitEngine { armor = 1.2; diff --git a/SQF/dayz_code/Configs/CfgVehicles/Bikes/Old_bike.hpp b/SQF/dayz_code/Configs/CfgVehicles/Bikes/Old_bike.hpp new file mode 100644 index 00000000..8ead6df3 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgVehicles/Bikes/Old_bike.hpp @@ -0,0 +1,23 @@ +class Old_bike_TK_CIV_EP1: Old_bike_base_EP1 { + crew = ""; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; + class UserActions + { + class Repair {ACTION_REPAIR; radius = 4;}; + delete Salvage; + }; +}; + +class Old_bike_TK_INS_EP1: Old_bike_base_EP1 { + crew = ""; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; + class UserActions + { + class Repair {ACTION_REPAIR; radius = 4;}; + delete Salvage; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/Bikes/Old_moto.hpp b/SQF/dayz_code/Configs/CfgVehicles/Bikes/Old_moto.hpp new file mode 100644 index 00000000..e3436f25 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgVehicles/Bikes/Old_moto.hpp @@ -0,0 +1,6 @@ +class Old_moto_TK_Civ_EP1 : Old_moto_base { + crew = ""; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/Bikes/TT650_Civ.hpp b/SQF/dayz_code/Configs/CfgVehicles/Bikes/TT650_Civ.hpp index 5cee9bc9..fa7f6e4b 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Bikes/TT650_Civ.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Bikes/TT650_Civ.hpp @@ -2,9 +2,11 @@ class TT650_Civ: TT650_Base { crew = ""; faction = "CIV"; rarityurban = 0.8; - scope = 2; + scope = public; side = 3; - typicalcargo[] = {}; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; maxspeed = 180; class HitPoints { @@ -60,4 +62,16 @@ class TT650_Civ: TT650_Base { visual = "Pravy zadni"; }; }; +}; + +class TT650_TK_CIV_EP1: TT650_Base { + faction = "CIV"; + rarityurban = 0.8; + scope = public; + side = 3; + maxspeed = 180; + crew = ""; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/Bikes/TT650_Ins.hpp b/SQF/dayz_code/Configs/CfgVehicles/Bikes/TT650_Ins.hpp index 8c6cab03..aa26f5f7 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Bikes/TT650_Ins.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Bikes/TT650_Ins.hpp @@ -4,9 +4,11 @@ class TT650_Ins: TT650_Base { displayname = $STR_VEH_NAME_TT650_INS; hiddenselectionstextures[] = {"\ca\wheeled3\tt650\data\Yam650_skin1_CO.paa"}; maxspeed = 180; - scope = 2; + scope = public; side = 0; - typicalcargo[] = {}; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; class HitPoints { class HitEngine { diff --git a/SQF/dayz_code/Configs/CfgVehicles/Boat/Fishing_Boat.hpp b/SQF/dayz_code/Configs/CfgVehicles/Boat/Fishing_Boat.hpp index 73734aad..afb2d8cc 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Boat/Fishing_Boat.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Boat/Fishing_Boat.hpp @@ -23,7 +23,7 @@ class Fishing_Boat: Ship { mapsize = 8; model = "\CA\water2\Fishing_boat\fishing_boat"; picture = "\ca\water2\data\ui\picture_fishboat_CA.paa"; - scope = 2; + scope = public; side = 3; soundengineoffext[] = {"ca\sounds\vehicles\Water\FISHING_BOAT\ext-slowboat-engine-stop-02", 0.177828, 1, 100}; soundengineoffint[] = {"ca\sounds\vehicles\Water\FISHING_BOAT\ext-slowboat-engine-stop-02", 0.177828, 1, 100}; @@ -33,7 +33,9 @@ class Fishing_Boat: Ship { textplural = "Ships"; textsingular = "Ship"; transportsoldier = 7; - typicalcargo[] = {}; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; vehicleclass = "Ship"; class Library { libtextdesc = "Simple boat used to catch fish in the sea. According to the international Food and Agriculture Organization there are about 4 million of commercial fishing boats worldwide. This is one of them."; diff --git a/SQF/dayz_code/Configs/CfgVehicles/Boat/PBX.hpp b/SQF/dayz_code/Configs/CfgVehicles/Boat/PBX.hpp index 01a229e6..db5b2e1e 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Boat/PBX.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Boat/PBX.hpp @@ -10,11 +10,12 @@ class PBX: RubberBoat { maxspeed = 68; model = "\ca\water\PBX"; picture = "\ca\water\data\ico\pbx_CA.paa"; - scope = 2; + scope = public; side = 0; transportsoldier = 3; - typicalcargo[] = {}; + typicalCargo[] = {}; class TransportMagazines {}; + class TransportWeapons {}; class Library { libtextdesc = "The PBX is a Combat Rubber Craft very similar to the CRRC in design. It is intended to be used for maritime raids and infiltration, as well as riverine operations."; }; diff --git a/SQF/dayz_code/Configs/CfgVehicles/Boat/smallboat.hpp b/SQF/dayz_code/Configs/CfgVehicles/Boat/smallboat.hpp index 68869278..09b8b784 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Boat/smallboat.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Boat/smallboat.hpp @@ -2,8 +2,10 @@ class Smallboat_1: Ship { displayName = "$STR_DN_SMALLBOATA"; - crew = "Worker1"; - typicalCargo[] = {"Worker1"}; + crew = ""; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; class Library { libTextDesc = "$STR_LIB_SMALLBOAT"; @@ -26,7 +28,7 @@ class Smallboat_1: Ship damageResistance = 0.00882; class Turrets{}; vehicleClass = "Ship"; - scope = 2; + scope = public; accuracy = 0.5; soundEnviron[] = {"",0.0056234132,1.0}; class SoundEvents{}; diff --git a/SQF/dayz_code/Configs/CfgVehicles/Buildings/Land_Fire.hpp b/SQF/dayz_code/Configs/CfgVehicles/Buildings/Land_Fire.hpp index 3951a1f9..94d78010 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Buildings/Land_Fire.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Buildings/Land_Fire.hpp @@ -137,7 +137,7 @@ class Land_Fire_DZ : Land_Fire { }; /* class Upgrade { - requiredTools[] = {"ItemEtool"}; + requiredTools[] = {"ItemShovel"}; requiredParts[] = {"ItemLog", "ItemLog", "ItemStone", "ItemStone", "ItemStone"}; create = "Base_Fire_DZ"; }; diff --git a/SQF/dayz_code/Configs/CfgVehicles/Buildings/WaterSources.hpp b/SQF/dayz_code/Configs/CfgVehicles/Buildings/WaterSources.hpp new file mode 100644 index 00000000..8bde0b66 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgVehicles/Buildings/WaterSources.hpp @@ -0,0 +1,35 @@ +#define ACTION_DRINK class Drink\ +{\ + displayName = $STR_ACTIONS_DRINK2;\ + displayNameDefault = $STR_ACTIONS_DRINK2;\ + priority = 3;\ + radius = 3;\ + position = "";\ + showWindow = 1;\ + onlyForPlayer = 1;\ + shortcut = "";\ + condition = "(['Drink',this] call userActionConditions)";\ + statement = "['hands'] spawn player_fillWater;";\ +}; + +class Land_pumpa: House +{ + class UserActions {ACTION_DRINK}; +}; + +class Land_Misc_Well_C_EP1: House_EP1 +{ + class UserActions {ACTION_DRINK}; +}; + +class Land_Misc_Well_L_EP1: House_EP1 +{ + class UserActions {ACTION_DRINK}; +}; + +class Land_Barrel_water: Thing +{ + class UserActions {ACTION_DRINK}; +}; + +#undef ACTION_DRINK \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/CamoNetting.hpp b/SQF/dayz_code/Configs/CfgVehicles/CamoNetting.hpp index c006b003..43701653 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/CamoNetting.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/CamoNetting.hpp @@ -8,4 +8,27 @@ class CamoNet_DZ: BuiltItems { model = "\Ca\misc3\CamoNet_EAST"; scope = 2; vehicleclass = "Military"; + class dismantle { + requiredtools[] = + { + //{"Item","Chance","ReturnedPart"} + {"ItemShovel",0.08,"ItemShovelBroken"} + }; //Tools needed + dismantleToo = "ItemCamoNet"; //Returned magazine item + attemps = 2; //Random number + }; + + class UserActions { + class Dismantle { + displayNameDefault = $STR_BUILT_CAMONET_Dismantle; + showWindow = 0; + hideOnUse = 1; + displayName = $STR_BUILT_CAMONET_Dismantle; + position="action"; + radius = 3.0; + onlyForPlayer = 1; + condition = "!dayz_actionInProgress && (alive this)"; + statement = "this spawn object_dismantle;"; + }; + }; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/Car/CAR_HATCHBACK.hpp b/SQF/dayz_code/Configs/CfgVehicles/Car/CAR_HATCHBACK.hpp index 7b60bb70..37cf84db 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Car/CAR_HATCHBACK.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Car/CAR_HATCHBACK.hpp @@ -3,6 +3,8 @@ displayname = $STR_VEH_NAME_OLD_HATCHBACK; faction = "CIV"; maxspeed = 125; - scope = 2; - typicalcargo[] = {}; + scope = public; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/Car/CAR_SEDAN.hpp b/SQF/dayz_code/Configs/CfgVehicles/Car/CAR_SEDAN.hpp index c1efa55c..96194ec2 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Car/CAR_SEDAN.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Car/CAR_SEDAN.hpp @@ -3,6 +3,8 @@ class car_sedan: SkodaBase { displayname = $STR_VEH_NAME_SEDAN; faction = "CIV"; maxspeed = 125; - scope = 2; - typicalcargo[] = {}; + scope = public; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/Car/HMMWV.hpp b/SQF/dayz_code/Configs/CfgVehicles/Car/HMMWV.hpp index e85838c9..a37e247f 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Car/HMMWV.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Car/HMMWV.hpp @@ -9,10 +9,12 @@ class HMMWV_DZ: HMMWV_Base { mapsize = 5; model = "ca\wheeled_E\HMMWV\HMMWV"; picture = "\Ca\wheeled\data\ico\HMMWV_CA.paa"; - scope = 2; + scope = public; side = 2; crew = ""; typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; transportMaxWeapons = 10; transportMaxMagazines = 50; transportmaxbackpacks = 2; diff --git a/SQF/dayz_code/Configs/CfgVehicles/Car/Ikarus.hpp b/SQF/dayz_code/Configs/CfgVehicles/Car/Ikarus.hpp new file mode 100644 index 00000000..a78cc175 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgVehicles/Car/Ikarus.hpp @@ -0,0 +1,13 @@ +class Ikarus: Car { + crew = ""; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; +}; + +class Ikarus_TK_CIV_EP1: Ikarus_base { + crew = ""; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/Car/Offroad_DSHKM_INS.hpp b/SQF/dayz_code/Configs/CfgVehicles/Car/Offroad_DSHKM_INS.hpp index be468c8f..77957c93 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Car/Offroad_DSHKM_INS.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Car/Offroad_DSHKM_INS.hpp @@ -8,6 +8,7 @@ class Offroad_DSHKM_base : Car class Offroad_DSHKM_INS : Offroad_DSHKM_base { + typicalcargo[] = {}; class Turrets : Turrets { class MainTurret : MainTurret diff --git a/SQF/dayz_code/Configs/CfgVehicles/Car/Pickup_PK_INS.hpp b/SQF/dayz_code/Configs/CfgVehicles/Car/Pickup_PK_INS.hpp index f0c63123..47392a59 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Car/Pickup_PK_INS.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Car/Pickup_PK_INS.hpp @@ -1,4 +1,6 @@ class Pickup_PK_base: Car { + class UserActions; //Inherit external + class HitPoints; class Turrets { @@ -53,4 +55,17 @@ class Pickup_PK_INS: Pickup_PK_DZ_base { gunnerCompartments = "Compartment2"; }; }; + class UserActions : UserActions + { + class RearmVehicle + { + displayName = "Add Ammo to PKT"; + displayNameDefault = "Add Ammo to PKT"; + ACTION_REARM; + /* + For some reason weaponTurrent isnt reporting this vehicle having a weapon. + */ + statement = "[this,'PKT',[0]] execVM ""\z\addons\dayz_code\actions\ammo.sqf"";"; + }; + }; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/Car/S1203.hpp b/SQF/dayz_code/Configs/CfgVehicles/Car/S1203.hpp new file mode 100644 index 00000000..3a02a0ab --- /dev/null +++ b/SQF/dayz_code/Configs/CfgVehicles/Car/S1203.hpp @@ -0,0 +1,6 @@ +class S1203_TK_CIV_EP1: Car { + crew = ""; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/Car/SUV_DZ.hpp b/SQF/dayz_code/Configs/CfgVehicles/Car/SUV_DZ.hpp index 796484da..6dc0ec9c 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Car/SUV_DZ.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Car/SUV_DZ.hpp @@ -2,9 +2,11 @@ class SUV_DZ: SUV_Base_EP1 { crew = ""; faction = "BIS_TK_CIV"; rarityurban = 0.8; - scope = 2; + scope = public; side = 3; - typicalcargo[] = {}; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; class HitPoints : HitPoints { class HitLFWheel:HitLFWheel { armor = 0.15; diff --git a/SQF/dayz_code/Configs/CfgVehicles/Car/Tractor.hpp b/SQF/dayz_code/Configs/CfgVehicles/Car/Tractor.hpp new file mode 100644 index 00000000..606227c4 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgVehicles/Car/Tractor.hpp @@ -0,0 +1,6 @@ +class Tractor: Car { + crew = ""; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/Car/UAZ.hpp b/SQF/dayz_code/Configs/CfgVehicles/Car/UAZ.hpp new file mode 100644 index 00000000..de4cd5b1 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgVehicles/Car/UAZ.hpp @@ -0,0 +1,31 @@ +class UAZ_Unarmed_TK_EP1: UAZ_Unarmed_Base { + crew = ""; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; +}; +class UAZ_Unarmed_TK_CIV_EP1: UAZ_Unarmed_Base { + crew = ""; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; +}; +class UAZ_RU: UAZ_Unarmed_Base { + crew = ""; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; +}; + +class UAZ_CDF: UAZ_Unarmed_Base { + accuracy = 0.3; + maxspeed = 190; + crew = ""; + faction = "CDF"; + hiddenselectionstextures[] = {"\ca\wheeled\data\Uaz_main_002_CO.paa"}; + scope = public; + side = 1; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/Car/UAZ_CDF.hpp b/SQF/dayz_code/Configs/CfgVehicles/Car/UAZ_CDF.hpp deleted file mode 100644 index d455a532..00000000 --- a/SQF/dayz_code/Configs/CfgVehicles/Car/UAZ_CDF.hpp +++ /dev/null @@ -1,10 +0,0 @@ -class UAZ_CDF: UAZ_Unarmed_Base { - accuracy = 0.3; - maxspeed = 190; - crew = ""; - faction = "CDF"; - hiddenselectionstextures[] = {"\ca\wheeled\data\Uaz_main_002_CO.paa"}; - scope = 2; - side = 1; - typicalcargo[] = {}; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/Car/UralCivil_DZ.hpp b/SQF/dayz_code/Configs/CfgVehicles/Car/UralCivil_DZ.hpp index 925bce9a..dbba864e 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Car/UralCivil_DZ.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Car/UralCivil_DZ.hpp @@ -1,5 +1,24 @@ +class UralCivil: Ural_Base { + crew = ""; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; +}; +class Ural_CDF: Ural_Base { + crew = ""; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; +}; +class Ural_TK_CIV_EP1: Ural_Base { + crew = ""; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; +}; + class UralCivil_DZ: UralCivil { - scope=public; + scope = public; side=TCivilian; faction=CIV; displayName= $STR_DN_URAL_CIV; @@ -8,7 +27,7 @@ class UralCivil_DZ: UralCivil { transportMaxWeapons = 40; transportMaxMagazines = 200; transportmaxbackpacks = 10; - + crew = ""; typicalCargo[]={}; model=\ca\wheeled\ural; diff --git a/SQF/dayz_code/Configs/CfgVehicles/Car/V3S_Civ.hpp b/SQF/dayz_code/Configs/CfgVehicles/Car/V3S_Civ.hpp index 0ea453e3..331607f0 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Car/V3S_Civ.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Car/V3S_Civ.hpp @@ -2,9 +2,11 @@ class V3S_Civ: V3S_Base { crew = ""; faction = "CIV"; rarityurban = 0.3; - scope = 2; + scope = public; side = 3; - typicalcargo[] = {}; + typicalCargo[] = {}; + class TransportMagazines {}; + class TransportWeapons {}; class Library { libtextdesc = $STR_EP1_LIB_V3S; }; diff --git a/SQF/dayz_code/Configs/CfgVehicles/CfgVehicles.hpp b/SQF/dayz_code/Configs/CfgVehicles/CfgVehicles.hpp index 59f571d6..9e03b8ac 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/CfgVehicles.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/CfgVehicles.hpp @@ -1,8 +1,15 @@ +#include "CommonActions.hpp" + class CfgVehicles { class ALL; class AllVehicles : ALL { class NewTurret; + class DefaultEventhandlers; + class EventHandlers: DefaultEventhandlers + { + killed = "_this call BIS_Effects_EH_Killed;"; + }; }; class Air : AllVehicles { @@ -21,6 +28,28 @@ class CfgVehicles { class ViewOptics; }; }; + class UserActions + { + class Repair {ACTION_REPAIR; radius = 8;}; + class Salvage {ACTION_SALVAGE; radius = 8;}; + }; + }; + class Plane: Air + { + class ViewPilot; + class ViewOptics; + class AirplaneHUD; + class HitPoints + { + class HitHull; + }; + class AnimationSources; + class UserActions + { + class Repair {ACTION_REPAIR; radius = 8;}; + class Salvage {ACTION_SALVAGE; radius = 8;}; + class PushPlane {ACTION_PUSH;}; + }; }; class Land: AllVehicles { @@ -30,6 +59,11 @@ class CfgVehicles { { class HitPoints; class NewTurret; + class UserActions + { + class Repair {ACTION_REPAIR; radius = 4;}; + class Salvage {ACTION_SALVAGE; radius = 4;}; + }; }; class Car : LandVehicle { class HitPoints @@ -103,8 +137,14 @@ class CfgVehicles { }; }; - class UralCivil; - class Ship; + class Ship: AllVehicles + { + class UserActions + { + class Repair {ACTION_REPAIR; radius = 8;}; + class Salvage {ACTION_SALVAGE; radius = 8;}; + }; + }; //class Bag_Base_EP1; //class Bag_Base_BAF; class HouseBase; @@ -112,15 +152,29 @@ class CfgVehicles { { class DestructionEffects; }; + class House_EP1; class SpawnableWreck : House {}; class Strategic; class NonStrategic; + class Thing; // class Land_Fire; - class Animal; - class Pastor; class BuiltItems; class Building; class ReammoBox; + + class Old_bike_base_EP1; + class Old_moto_base; + class Ikarus_base; + class Volha_TK_CIV_Base_EP1; + class LandRover_CZ_EP1; + class Ural_Base; + + class BAF_Offroad_D:LandRover_CZ_EP1 { typicalcargo[] = {}; }; + class BAF_Offroad_W:BAF_Offroad_D { typicalcargo[] = {}; }; + class SkodaBlue:SkodaBase { typicalcargo[] = {}; }; + class SkodaGreen:SkodaBase { typicalcargo[] = {}; }; + class Volha_1_TK_CIV_EP1:Volha_TK_CIV_Base_EP1 { typicalcargo[] = {}; }; + class Volha_2_TK_CIV_EP1:Volha_TK_CIV_Base_EP1 { typicalcargo[] = {}; }; #include "RepairParts.hpp" //names for all reapir parts. Needs moving to hitpoints //ZEDS @@ -138,8 +192,11 @@ class CfgVehicles { //Includes all DayZ Vehilces //Car's #include "Car\HMMWV.hpp" + #include "Car\Ikarus.hpp" + #include "Car\S1203.hpp" + #include "Car\Tractor.hpp" #include "Car\CAR_HATCHBACK.hpp" - #include "Car\UAZ_CDF.hpp" + #include "Car\UAZ.hpp" #include "Car\CAR_SEDAN.hpp" #include "Car\V3S_Civ.hpp" #include "Car\SUV_DZ.hpp" @@ -151,16 +208,14 @@ class CfgVehicles { #include "Helicopter\UH1H.hpp" #include "Helicopter\AH6X.hpp" #include "Helicopter\MH6J_DZ.hpp" - //Wreck's - //#include "Helicopter\MI8Wreck.hpp" - //#include "Helicopter\UH1Wreck.hpp" - //#include "Helicopter\UH60Wreck.hpp" #include "CrashSite.hpp" - //Plane's + //Planes #include "Plane\AN2_DZ.hpp" //Bikes #include "Bikes\ATV_US_EP1.hpp" #include "Bikes\ATV_CZ_EP1.hpp" + #include "Bikes\Old_bike.hpp" + #include "Bikes\Old_moto.hpp" #include "Bikes\TT650_Ins.hpp" #include "Bikes\TT650_Civ.hpp" #include "Bikes\M1030.hpp" @@ -194,9 +249,12 @@ class CfgVehicles { #include "Buildings\Land_telek1.hpp" #include "Buildings\Land_VASICore.hpp" #include "Buildings\Land_Vysilac_FM.hpp" + #include "Buildings\WaterSources.hpp" //camo #include "CamoNetting.hpp" + #include "Hedgehog.hpp" + #include "Sandbag.hpp" //WeaponHolder @@ -217,6 +275,26 @@ class CfgVehicles { #include "antihack_plants.hpp" #include "antihack_weaponholders.hpp" + class Land_CncBlock_AntiHack: NonStrategic + { + scope=public; + vehicleClass="Misc"; + //model = \Ca\misc3\CncBlock_D; + model = "z\addons\dayz_communityassets\models\CncBlock_D.p3d"; + Icon = "\Ca\misc3\Data\Icons\icon_cnc_con_barrier_CA.paa"; + mapSize = 4; + displayName=$STR_MISC_CNCBLOCK_D; + armor=150; + }; + + class FileSignature_DZ : Logic + { + class EventHandlers + { + init = "diag_log ('WARNING: Spawning FileSignature_DZ'); if (isServer) then { [] execVM '\z\addons\dayz_server\init\server_setKey.sqf' } else { [] execVM '\z\addons\dayz_code\system\filesign\verify_mission.sqf' }; "; + }; + }; + //Blood Trail #include "Buildings\Blood_Trail_DZ.hpp" @@ -229,7 +307,7 @@ class CfgVehicles { class WeaponHolder; class Plant_Base: WeaponHolder { - scope = 2; + scope = public; icon = ""; mapSize = 0; transportMaxWeapons = 0; diff --git a/SQF/dayz_code/Configs/CfgVehicles/CommonActions.hpp b/SQF/dayz_code/Configs/CfgVehicles/CommonActions.hpp new file mode 100644 index 00000000..823cd676 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgVehicles/CommonActions.hpp @@ -0,0 +1,41 @@ +#define ACTION_REPAIR displayName = $STR_ACTIONS_REPAIRVEH;\ + displayNameDefault = $STR_ACTIONS_REPAIRVEH;\ + priority = 0;\ + position = "";\ + showWindow = 0;\ + onlyForPlayer = 1;\ + shortcut = "";\ + condition = "(['Repair',this] call userActionConditions)";\ + statement = "this call player_repairVehicle;";\ + hideOnUse = 0 + +#define ACTION_SALVAGE displayName = $STR_ACTIONS_SALVAGEVEH;\ + displayNameDefault = $STR_ACTIONS_SALVAGEVEH;\ + priority = 0;\ + position = "";\ + showWindow = 0;\ + onlyForPlayer = 1;\ + shortcut = "";\ + condition = "(['Salvage',this] call userActionConditions)";\ + statement = "this call player_salvageVehicle;";\ + hideOnUse = 0 + +#define ACTION_PUSH displayName = $STR_ACTIONS_PUSH;\ + displayNameDefault = $STR_ACTIONS_PUSH;\ + priority = 0;\ + radius = 8;\ + position = "";\ + showWindow = 0;\ + onlyForPlayer = 1;\ + shortcut = "";\ + condition = "(['PushPlane',this] call userActionConditions)";\ + statement = "this call player_pushPlane;" + +#define ACTION_REARM priority = 3;\ + radius = 3;\ + position = "camera";\ + showWindow = 0;\ + onlyForPlayer = 1;\ + shortcut = "reloadMagazine";\ + condition = "(vehicle player != player) && (((assignedVehicleRole player) select 0) == 'Turret') && (alive this)";\ + hideOnUse = 1 \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/Hedgehog.hpp b/SQF/dayz_code/Configs/CfgVehicles/Hedgehog.hpp new file mode 100644 index 00000000..d9ea86b9 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgVehicles/Hedgehog.hpp @@ -0,0 +1,35 @@ +class Hedgehog_DZ : BuiltItems { + scope = public; + destrType = "DestructNo"; + cost = 100; + model = "\ca\misc\jezek_kov"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 400; + displayName = $STR_BUILT_HEDGEHOG; + vehicleClass = "Fortifications"; + class dismantle { + requiredtools[] = + { + //{"Item","Chance","ReturnedPart"} + {"ItemSledgeHammer",0.02,"ItemSledgeHammerBroken"}, + {"ItemCrowbar",0.04,"ItemCrowbarBent"} + }; //Tools needed + dismantleToo = "ItemTankTrap"; //Returned magazine item + attemps = 3; //Random number + }; + + class UserActions { + class Dismantle { + displayNameDefault = $STR_BUILT_HEDGEHOG_Dismantle; + showWindow = 0; + hideOnUse = 1; + displayName = $STR_BUILT_HEDGEHOG_Dismantle; + position="action"; + radius = 2.7; + onlyForPlayer = 1; + condition = "!dayz_actionInProgress && (alive this)"; + statement = "this spawn object_dismantle;"; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/Helicopter/MI8Wreck.hpp b/SQF/dayz_code/Configs/CfgVehicles/Helicopter/MI8Wreck.hpp deleted file mode 100644 index 93f3303d..00000000 --- a/SQF/dayz_code/Configs/CfgVehicles/Helicopter/MI8Wreck.hpp +++ /dev/null @@ -1,10 +0,0 @@ -class Mi8Wreck_DZ: SpawnableWreck - { - model = "\Ca\air\MI8Wreck.p3d"; - icon = "ca\Misc_E\data\Icons\Icon_uh60_wreck_CA"; - mapSize = 15; - displayName = $STR_VEH_NAME_MI8_WRECK; - vehicleClass = "Wrecks"; - heightAdjustment = 1; - class AnimationSources {}; - }; diff --git a/SQF/dayz_code/Configs/CfgVehicles/Helicopter/UH1H.hpp b/SQF/dayz_code/Configs/CfgVehicles/Helicopter/UH1H.hpp index 1cb63520..a0495f6e 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Helicopter/UH1H.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Helicopter/UH1H.hpp @@ -1,5 +1,8 @@ +#include "\z\addons\dayz_code\Configs\CfgVehicles\CommonActions.hpp" + class UH1H_base: Helicopter { + class UserActions; //Inherit external class Turrets: Turrets { class MainTurret: MainTurret @@ -41,6 +44,16 @@ class UH1H_DZ: UH1H_base magazines[] = {"100Rnd_762x51_M240"}; }; }; + class UserActions: UserActions + { + class RearmVehicle + { + displayName = "Add Ammo to M240"; + displayNameDefault = "Add Ammo to M240"; + ACTION_REARM; + statement = "[this,(vehicle player) weaponsTurret ((assignedVehicleRole player) select 1) select 0,((assignedVehicleRole player) select 1)] execVM ""\z\addons\dayz_code\actions\ammo.sqf"";";\ + }; + }; }; class UH1H_2_DZ : UH1H_DZ diff --git a/SQF/dayz_code/Configs/CfgVehicles/Helicopter/UH1Wreck.hpp b/SQF/dayz_code/Configs/CfgVehicles/Helicopter/UH1Wreck.hpp deleted file mode 100644 index 293ec0ef..00000000 --- a/SQF/dayz_code/Configs/CfgVehicles/Helicopter/UH1Wreck.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class UH1Wreck_DZ: SpawnableWreck - { - model = "\ca\air2\UH1Y\UH1Y_Crashed.p3d"; - icon = "\ca\air2\data\UI\icon_UH1Y_CA.paa"; - mapSize = 15; - displayName = $STR_VEH_NAME_UH1Y_WRECK; - vehicleClass = "Wrecks"; - class AnimationSources {}; - }; diff --git a/SQF/dayz_code/Configs/CfgVehicles/Helicopter/UH60Wreck.hpp b/SQF/dayz_code/Configs/CfgVehicles/Helicopter/UH60Wreck.hpp deleted file mode 100644 index 5b8e00e4..00000000 --- a/SQF/dayz_code/Configs/CfgVehicles/Helicopter/UH60Wreck.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class UH60Wreck_DZ: SpawnableWreck - { - model = "\Ca\Misc_E\Wreck_UH60_EP1.p3d"; - icon = "ca\Misc_E\data\Icons\Icon_uh60_wreck_CA"; - mapSize = 15; - displayName = $STR_VEH_NAME_UH60_WRECK; - vehicleClass = "Wrecks"; - class AnimationSources {}; - }; diff --git a/SQF/dayz_code/Configs/CfgVehicles/RepairParts.hpp b/SQF/dayz_code/Configs/CfgVehicles/RepairParts.hpp index 9f4deda3..fe08d720 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/RepairParts.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/RepairParts.hpp @@ -69,6 +69,48 @@ class RepairParts : AllVehicles class HitGlass6 { part = "PartGlass"; }; + class HitGlass7 { + part = "PartGlass"; + }; + class HitGlass8 { + part = "PartGlass"; + }; + class HitGlass9 { + part = "PartGlass"; + }; + class HitGlass10 { + part = "PartGlass"; + }; + class HitGlass11 { + part = "PartGlass"; + }; + class HitGlass12 { + part = "PartGlass"; + }; + class HitGlass13 { + part = "PartGlass"; + }; + class HitGlass14 { + part = "PartGlass"; + }; + class HitGlass15 { + part = "PartGlass"; + }; + class HitGlass16 { + part = "PartGlass"; + }; + class HitGlass17 { + part = "PartGlass"; + }; + class HitGlass18 { + part = "PartGlass"; + }; + class HitGlass19 { + part = "PartGlass"; + }; + class HitGlass20 { + part = "PartGlass"; + }; class HitVRotor { part = "PartGeneric"; }; @@ -84,4 +126,10 @@ class RepairParts : AllVehicles class HitHull { part = "PartGeneric"; }; + class HitLTrack { + part = "PartGeneric"; + }; + class HitRTrack { + part = "PartGeneric"; + }; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/Sandbag.hpp b/SQF/dayz_code/Configs/CfgVehicles/Sandbag.hpp new file mode 100644 index 00000000..08f08055 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgVehicles/Sandbag.hpp @@ -0,0 +1,33 @@ +class Sandbag1_DZ : BuiltItems { + scope = public; + destrType = "DestructNo"; + cost = 100; + model = "\ca\misc2\BagFenceLong.p3d"; + icon = "\Ca\misc3\data\Icons\icon_fortBagFenceLong_ca.paa"; + mapSize = 2; + armor = 400; + displayName = $STR_BUILT_SANDBAG; + vehicleClass = "Fortifications"; + class dismantle { + requiredtools[] = + { + //{"Item","Chance","ReturnedPart"} + {"ItemShovel",0.02,"ItemShovelBroken"} + }; //Tools needed + dismantleToo = "ItemSandbag"; //Returned magazine item + attemps = 4; //Random number + }; + class UserActions { + class Dismantle { + displayNameDefault = $STR_BUILT_SANDBAG_Dismantle; + showWindow = 0; + hideOnUse = 1; + displayName = $STR_BUILT_SANDBAG_Dismantle; + position="action"; + radius = 3.0; + onlyForPlayer = 1; + condition = "!dayz_actionInProgress && (alive this)"; + statement = "this spawn object_dismantle;"; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/Skins.hpp b/SQF/dayz_code/Configs/CfgVehicles/Skins.hpp index 2b6e08cc..bd9162c7 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Skins.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Skins.hpp @@ -1,6 +1,6 @@ -class Man; -class CAManBase: Man +class Man; //includes animals and zombies +class CAManBase: Man //includes all skins except animals { class TalkTopics; class HitPoints @@ -12,7 +12,7 @@ class CAManBase: Man class Civilian: CAManBase { rarityUrban = -1; - scope = 0; + scope = private; faction = "CIV"; genericNames = "CzechMen"; portrait = "\Ca\characters\data\portraits\comBarHead_civ_man_ca.paa"; @@ -68,7 +68,7 @@ class Civilian: CAManBase }; class Survivor_DZ : Civilian { - scope = 1; + scope = protected; side = TWest; weapons[] = {"Throw", "Put"}; magazines[] = {}; @@ -86,17 +86,40 @@ class Survivor_DZ : Civilian { }; }; + +//Hidden proxy used during mission class Survivor1_DZ : Survivor_DZ { - scope = 2; + scope = public; displayName = $STR_CHAR_1; model = "\dayz\objects\proxy_man"; }; - +//General Player skin class Survivor2_DZ : Survivor_DZ { + scope = public; + displayName = $STR_CHAR_1; + model = "\dayz\characters\man_survivor"; +}; +/* +//Not Used +//General Player Black skin "Survivor2Black_DZ" call player_switchModel; +class Survivor2Black_DZ : Survivor1_DZ { scope = 2; displayName = $STR_CHAR_1; model = "\dayz\characters\man_survivor"; + //model = "\Ca\Characters_PMC\Frost\Frost.p3d"; + HiddenSelections[] = {"camo"}; + HiddenSelectionsTextures[] = {"ca\characters_pmc\frost\data\frost_co.paa"}; + class EventHandlers: EventHandlers + { + init = "(_this select 0) setObjectTexture [0,[""\Ca\Characters_PMC\Frost\Data\Frost_1_co.paa"",""\Ca\Characters_PMC\Frost\Data\Frost_2_co.paa"",""\Ca\Characters_PMC\Frost\Data\Frost_3_co.paa""] select floor random 3];"; + }; + class Wounds + { + tex[] = {}; + mat[] = {"Ca\Characters_PMC\Frost\Data\frost.rvmat","Ca\Characters_PMC\Frost\Data\w1_frost.rvmat","Ca\Characters_PMC\Frost\Data\w2_frost.rvmat"}; + }; }; +*/ class Survivor3_DZ : Survivor2_DZ { model = "\dayz\characters\man_hero"; diff --git a/SQF/dayz_code/Configs/CfgVehicles/Traps.hpp b/SQF/dayz_code/Configs/CfgVehicles/Traps.hpp index 58c5998f..d27e85f9 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Traps.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Traps.hpp @@ -8,7 +8,7 @@ class BearTrap_DZ : TrapItems { model = "\dayz_equip\models\bear_trap.p3d"; script = "beartrap"; // compiled script variable name (used by server side loop) - initState = 0; // initial armed state + initState = 0; // initial armed state (>0 is not currently working) singleUse = 0; class Eventhandlers { @@ -122,7 +122,7 @@ class TrapBearTrapFlare : TrapItems { vehicleClass = "Fortifications"; script = "beartrapflare"; // compiled script variable name (used by server side loop) - initState = 1; // initial armed state + initState = 0; // initial armed state (>0 is not currently working) singleUse = 1; // gets replaced by BearTrap_DZ due to animation issues class Eventhandlers { @@ -171,7 +171,7 @@ class TrapBearTrapSmoke : TrapItems { vehicleClass = "Fortifications"; script = "beartrapsmoke"; // compiled script variable name (used by server side loop) - initState = 1; // initial armed state + initState = 0; // initial armed state (>0 is not currently working) singleUse = 1; // gets replaced by BearTrap_DZ due to animation issues class Eventhandlers { @@ -220,7 +220,7 @@ class Trap_Cans : TrapItems { vehicleClass = "Fortifications"; script = "tripcans"; // compiled script variable name (used by server side loop) - initState = 1; // initial armed state + initState = 0; // initial armed state (>0 is not currently working) singleUse = 0; class Eventhandlers { @@ -269,7 +269,7 @@ class TrapTripwireFlare : TrapItems { vehicleClass = "Fortifications"; script = "tripflare"; // compiled script variable name (used by server side loop) - initState = 1; // initial armed state + initState = 0; // initial armed state (>0 is not currently working) singleUse = 0; class Eventhandlers { @@ -318,8 +318,8 @@ class TrapTripwireGrenade : TrapItems { vehicleClass = "Fortifications"; script = "tripgrenade"; // compiled script variable name (used by server side loop) - initState = 1; // initial armed state - singleUse = 0; + initState = 0; // initial armed state (>0 is not currently working) + singleUse = 0; //Trap can now be rearmed with another grenade class Eventhandlers { init = "['init', _this select 0] spawn tripgrenade;"; @@ -367,8 +367,8 @@ class TrapTripwireSmoke : TrapItems { vehicleClass = "Fortifications"; script = "tripsmoke"; // compiled script variable name (used by server side loop) - initState = 1; // initial armed state - singleUse = 0; + initState = 0; // initial armed state (>0 is not currently working) + singleUse = 0; //Trap can now be rearmed with another smoke class Eventhandlers { init = "['init', _this select 0] spawn tripsmoke;"; diff --git a/SQF/dayz_code/Configs/CfgVehicles/WeaponHolder.hpp b/SQF/dayz_code/Configs/CfgVehicles/WeaponHolder.hpp index 4531757d..a369170b 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/WeaponHolder.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/WeaponHolder.hpp @@ -3,6 +3,7 @@ class WoodenArrowF : WeaponHolderBase { scope = public; displayName = $STR_ITEMWOODENARROW_CODE_NAME; model = "\dayz_weapons\models\bolt"; + destrType = "DestructNo"; class eventHandlers { @@ -14,6 +15,8 @@ class WeaponHolder_ItemCrowbar: WeaponHolderBase scope=2; displayName=$STR_EQUIP_NAME_CROWBAR; model="\dayz_equip\models\crowbar.p3d"; + destrType = "DestructNo"; + class eventHandlers { init="[(_this select 0),'cfgWeapons','ItemCrowbar'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';"; @@ -25,6 +28,8 @@ class WeaponHolder_MeleeBaseBallBat: WeaponHolderBase scope=2; displayName=$STR_EQUIP_NAME_BASEBALLBAT; model="\z\addons\dayz_communityassets\models\baseball_bat.p3d"; + destrType = "DestructNo"; + class eventHandlers { init="[(_this select 0),'cfgWeapons','MeleeBaseBallBat'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';"; @@ -35,6 +40,8 @@ class WeaponHolder_MeleeBatBarbed: WeaponHolderBase scope=2; displayName=$STR_CRAFT_NAME_BaseBallBatBarbed; model="\z\addons\dayz_communityassets\models\baseball_bat.p3d"; + destrType = "DestructNo"; + class eventHandlers { init="[(_this select 0),'cfgWeapons','MeleeBaseBallBatBarbed'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';"; @@ -45,6 +52,8 @@ class WeaponHolder_MeleeBaseBallBatNails: WeaponHolderBase scope=2; displayName=$STR_CRAFT_NAME_NailedBaseballBat; model="\z\addons\dayz_communityassets\models\baseball_bat_nails.p3d"; + destrType = "DestructNo"; + class eventHandlers { init="[(_this select 0),'cfgWeapons','MeleeBaseBallBatNails'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';"; @@ -56,6 +65,8 @@ class WeaponHolder_MeleeMachete: WeaponHolderBase scope=2; displayName=$STR_EQUIP_NAME_MACHETE; model="\z\addons\dayz_communityassets\models\machete.p3d"; + destrType = "DestructNo"; + class eventHandlers { init="[(_this select 0),'cfgWeapons','MeleeMachete'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';"; @@ -65,6 +76,8 @@ class WeaponHolder_ItemJerrycanEmpty : WeaponHolderBase { scope = public; displayName = "$STR_EQUIP_NAME_39"; model = "\dayz_equip\proxy\jerrycan_side.p3d"; + destrType = "DestructNo"; + class eventHandlers { init = "[(_this select 0),'cfgMagazines','ItemJerrycanEmpty'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';"; }; @@ -73,6 +86,7 @@ class WeaponHolder_ItemFuelcanEmpty : WeaponHolderBase { scope = public; displayName = $STR_ITEM_NAME_FUELCAN_EMPTY; model = "z\addons\dayz_communityassets\models\fuelcan.p3d"; + destrType = "DestructNo"; class eventHandlers { init = "[(_this select 0),'cfgMagazines','ItemFuelcanEmpty'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';"; @@ -82,6 +96,7 @@ class WeaponHolder_ItemFuelcan : WeaponHolderBase { scope = public; displayName = $STR_ITEM_NAME_FUELCAN; model = "z\addons\dayz_communityassets\models\fuelcan.p3d"; + destrType = "DestructNo"; class eventHandlers { init = "[(_this select 0),'cfgMagazines','ItemFuelcan'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';"; @@ -92,6 +107,7 @@ class WeaponHolder_ItemCamoNet : WeaponHolderBase { displayName = $STR_ITEM_NAME_CAMONET; // model = "dayz_equip\proxy\tentbag.p3d"; // was models\tentbag_gear.prd ... model = "z\addons\dayz_communityassets\models\packed_net_green.p3d"; // was models\tentbag_gear.prd ... + destrType = "DestructNo"; class eventHandlers { init = "[(_this select 0),'cfgMagazines','ItemCamoNet'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';"; @@ -102,6 +118,7 @@ class WeaponHolder_ItemDomeTent : WeaponHolderBase { scope = public; displayName = $STR_VEH_NAME_DOME_TENT; model = "\dayz_equip\proxy\tentbag.p3d"; + destrType = "DestructNo"; class eventHandlers { init = "[(_this select 0),'cfgMagazines','ItemDomeTent'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';"; @@ -112,6 +129,7 @@ class WeaponHolder_ItemCrate : WeaponHolderBase { scope = public; displayName = $STR_ITEM_NAME_equip_crate; model = "\z\addons\dayz_communityassets\models\crate.p3d"; + destrType = "DestructNo"; class eventHandlers { init = "[(_this select 0),'cfgMagazines','equip_crate'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';"; diff --git a/SQF/dayz_code/Configs/CfgVehicles/Zeds/SwarmZeds.hpp b/SQF/dayz_code/Configs/CfgVehicles/Zeds/SwarmZeds.hpp index 5cabc92b..c2736baf 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Zeds/SwarmZeds.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Zeds/SwarmZeds.hpp @@ -22,8 +22,10 @@ class Swarm_Base : Citizen1 { forcedSpeed = 6; class Eventhandlers { - init = "_this call zombie_initialize;"; - //local = "if(_this select 1) then {[(position (_this select 0)),(_this select 0),true] execFSM '\z\AddOns\dayz_code\system\fn_swarmagent.fsm'};"; + init = "['',(_this select 0)] execFSM '\z\AddOns\dayz_code\system\zombie_agent.fsm'"; + local = "_z = _this select 0; if (!(_this select 1)) exitWith {}; if (isServer) exitWith { _z call sched_co_deleteVehicle; }; ['',_z,true] execFSM '\z\AddOns\dayz_code\system\zombie_agent.fsm';"; + HandleDamage = "_this call local_zombieDamage;"; + Killed = "[_this,'zombieKills'] call local_eventKill;"; }; class HitPoints { diff --git a/SQF/dayz_code/Configs/CfgVehicles/Zeds/ViralZeds.hpp b/SQF/dayz_code/Configs/CfgVehicles/Zeds/ViralZeds.hpp index 65a7180f..1a715bf6 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Zeds/ViralZeds.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Zeds/ViralZeds.hpp @@ -21,11 +21,7 @@ BleedChance = 30; forcedSpeed = 6; - class Eventhandlers - { - init = "_this call zombie_initialize;"; - local = "_z = _this select 0; if ((!isServer and !isNull _z) and {(side _z != civilian)}) exitWith { PVDZ_sec_atp = [ 'wrong side', player ]; publicVariableServer 'PVDZ_sec_atp'; deleteVehicle _z; }; if (!(_this select 1)) exitWith {}; if (isServer) exitWith { _z call sched_co_deleteVehicle; }; [(position _z), _z, true] execFSM '\z\AddOns\dayz_code\system\zombie_agent.fsm';"; - }; + //Inherits eventHandlers from zZombie_Base class HitPoints { class HitHead { diff --git a/SQF/dayz_code/Configs/CfgVehicles/Zeds/WildZeds.hpp b/SQF/dayz_code/Configs/CfgVehicles/Zeds/WildZeds.hpp index e0af21ec..1e3dfca3 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Zeds/WildZeds.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Zeds/WildZeds.hpp @@ -23,14 +23,10 @@ class WildZombie_Base : Zed_Base { forcedSpeed = 6; class Eventhandlers { - init = "_this call zombie_initialize;"; - local = "_z = _this select 0;" \n - "if ((!isServer and !isNull _z) and {(side _z != civilian)}) exitWith { " \n - "PVDZ_sec_atp = [ 'wrong side', player ]; publicVariableServer 'PVDZ_sec_atp'; deleteVehicle _z; };" \n - "if (!(_this select 1)) exitWith {};" \n - "if (isServer) exitWith { _z call sched_co_deleteVehicle; };" \n - "[(position _z), _z, true] execFSM '\z\AddOns\dayz_code\system\zombie_wildagent.fsm';"; - //if(_this select 1) then {[(position (_this select 0)),(_this select 0),true] execFSM '\z\AddOns\dayz_code\system\zombie_wildagent.fsm'};"; + init = "_this execFSM ""\z\AddOns\dayz_code\system\zombie_wildagent.fsm"""; + local = "_z = _this select 0; if ((!isServer and !isNull _z) and {(side _z != civilian)}) exitWith { PVDZ_sec_atp = [ 'wrong side', player ]; publicVariableServer 'PVDZ_sec_atp'; deleteVehicle _z; }; if (!(_this select 1)) exitWith {}; if (isServer) exitWith { _z call sched_co_deleteVehicle; }; [_z,true] execFSM '\z\AddOns\dayz_code\system\zombie_wildagent.fsm';"; + HandleDamage = "_this call local_zombieDamage;"; + Killed = "[_this,'zombieKills'] call local_eventKill;"; }; class HitPoints { diff --git a/SQF/dayz_code/Configs/CfgVehicles/Zeds/Zeds.hpp b/SQF/dayz_code/Configs/CfgVehicles/Zeds/Zeds.hpp index d8337b76..f4c28676 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Zeds/Zeds.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Zeds/Zeds.hpp @@ -26,7 +26,8 @@ class Citizen1: Citizen { class Zed_Base : Citizen1 { scope = public; class HitDamage {}; - armor = 3; + armor = 3; + agentTasks[] = {}; }; class zZombie_Base : Zed_Base { scope = public; @@ -52,8 +53,10 @@ class zZombie_Base : Zed_Base { class Eventhandlers { - init = "_this call zombie_initialize;"; - local = "_z = _this select 0; if ((!isServer and !isNull _z) and {(side _z != civilian)}) exitWith { PVDZ_sec_atp = [ 'wrong side', player ]; publicVariableServer 'PVDZ_sec_atp'; deleteVehicle _z; }; if (!(_this select 1)) exitWith {}; if (isServer) exitWith { _z call sched_co_deleteVehicle; }; [(position _z), _z, true] execFSM '\z\AddOns\dayz_code\system\zombie_agent.fsm';"; + init = "['',(_this select 0)] execFSM '\z\AddOns\dayz_code\system\zombie_agent.fsm'"; + local = "_z = _this select 0; if ((!isServer and !isNull _z) and {(side _z != civilian)}) exitWith { PVDZ_sec_atp = [ 'wrong side', player ]; publicVariableServer 'PVDZ_sec_atp'; deleteVehicle _z; }; if (!(_this select 1)) exitWith {}; if (isServer) exitWith { _z call sched_co_deleteVehicle; }; ['',_z,true] execFSM '\z\AddOns\dayz_code\system\zombie_agent.fsm';"; + HandleDamage = "_this call local_zombieDamage;"; + Killed = "[_this,'zombieKills'] call local_eventKill;"; }; class HitPoints { @@ -161,6 +164,16 @@ class z_villager3 : z_villager1 { hiddenSelectionsTextures[] = {"\ca\characters2\civil\villager\data\villager_v3_co.paa"}; }; +class z_villagertest : z_villager1 { + hiddenSelectionsTextures[] = {"\ca\characters2\civil\villager\data\villager_v3_co.paa"}; + class Eventhandlers + { + local = "_z = _this select 0; if ((!isServer and !isNull _z) and {(side _z != civilian)}) exitWith { PVDZ_sec_atp = [ 'wrong side', player ]; publicVariableServer 'PVDZ_sec_atp'; deleteVehicle _z; }; if (!(_this select 1)) exitWith {}; if (isServer) exitWith { _z call sched_co_deleteVehicle; }; ['',_z,true] execFSM '\z\AddOns\dayz_code\system\zombie_agent.fsm';"; + HandleDamage = "_this call local_zombieDamage;"; + Killed = "[_this,'zombieKills'] call local_eventKill;"; + }; +}; + class z_priest : zZombie_Base { displayName = $STR_ZNAME_PRIEST; zombieLoot = ZombieCivilian; @@ -355,6 +368,7 @@ class z_hunter : zZombie_Base { zombieLoot = ZombieHunter; model = "\ca\characters2\civil\Woodlander\Woodlander"; hiddenSelections[] = {"Camo"}; + hiddenSelectionsTextures[] = {"\ca\characters2\civil\woodlander\data\woodlander_v3_co.paa"}; class Wounds { tex[] = {}; diff --git a/SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp b/SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp index 0a45e1f0..35ffefb7 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp @@ -71,7 +71,13 @@ class CfgWeapons class M14_EP1; #include "Rifles\M14.hpp" - class M24; + class M24 : Rifle + { + class OpticsModes + { + class StepScope; + }; + }; #include "Rifles\M24.hpp" class M40A3; @@ -130,7 +136,7 @@ class CfgWeapons class bizon_silenced; #include "Rifles\Bizon.hpp" - class huntingrifle; + class huntingrifle : M24 {}; #include "Rifles\CZ550.hpp" class LeeEnfield; @@ -274,8 +280,8 @@ class CfgWeapons { class Drink { - text = "Drink"; - script = "spawn player_drinkWater;"; + text = $STR_ACTIONS_DRINK2; + script = ";[_id] spawn player_fillWater;"; }; }; }; @@ -292,8 +298,8 @@ class CfgWeapons { class Drink { - text = "Drink"; - script = "spawn player_drinkWater;"; + text = $STR_ACTIONS_DRINK2; + script = ";[_id] spawn player_fillWater;"; }; }; };*/ diff --git a/SQF/dayz_code/Configs/CfgWeapons/Melee/Crowbar.hpp b/SQF/dayz_code/Configs/CfgWeapons/Melee/Crowbar.hpp index 3ee12b85..b29dcda0 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Melee/Crowbar.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Melee/Crowbar.hpp @@ -24,7 +24,7 @@ class MeleeCrowbar : MeleeWeapon class Drop { text = $STR_ACTIONS_DROP; - script = "spawn player_dropWeapon; r_action_count = r_action_count + 1;"; + script = "spawn player_dropWeapon;"; use[] = {"Crowbar_Swing"}; }; }; diff --git a/SQF/dayz_code/Configs/CfgWeapons/Melee/Hatchet.hpp b/SQF/dayz_code/Configs/CfgWeapons/Melee/Hatchet.hpp index 5a5e5a77..c158f2d8 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Melee/Hatchet.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Melee/Hatchet.hpp @@ -30,7 +30,7 @@ class MeleeHatchet : MeleeWeapon class Drop { text = $STR_ACTIONS_DROP; - script = "spawn player_dropWeapon; r_action_count = r_action_count + 1;"; + script = "spawn player_dropWeapon;"; use[] = {"Hatchet_Swing"}; }; }; diff --git a/SQF/dayz_code/Configs/CfgWeapons/Melee/Machete.hpp b/SQF/dayz_code/Configs/CfgWeapons/Melee/Machete.hpp index cca91e4a..a1607784 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Melee/Machete.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Melee/Machete.hpp @@ -24,7 +24,7 @@ class MeleeMachete: MeleeWeapon class Drop { text = $STR_ACTIONS_DROP; - script = "spawn player_dropWeapon; r_action_count = r_action_count + 1;"; + script = "spawn player_dropWeapon;"; use[] = {"Machete_Swing"}; }; }; diff --git a/SQF/dayz_code/Configs/CfgWeapons/Pistols/G17.hpp b/SQF/dayz_code/Configs/CfgWeapons/Pistols/G17.hpp index 488a4b91..92d88e35 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Pistols/G17.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Pistols/G17.hpp @@ -16,6 +16,7 @@ class G17_DZ : glock17_EP1 { Attachment_Sup9 = "G17_SD_DZ"; Attachment_FL_Pist = "G17_FL_DZ"; + Attachment_MFL_Pist = "G17_MFL_DZ"; }; }; @@ -51,6 +52,38 @@ class G17_FL_DZ : G17_DZ }; }; +class G17_MFL_DZ : G17_DZ +{ + model = "z\addons\dayz_communityweapons\g17\g17_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\g17\data\w_g17_fl_ca.paa"; + displayName = $STR_DZ_WPN_G17_MFL_NAME; + + class FlashLight + { + color[] = {0.9, 0.0, 0.0, 0.9}; + ambient[] = {0.1, 0.0, 0.0, 1.0}; + position = "flash dir"; + direction = "flash"; + angle = 30; + scale[] = {1, 1, 0.5}; + brightness = 0.08; + }; + + class Attachments + { + Attachment_Sup9 = "G17_SD_MFL_DZ"; + }; + + class ItemActions + { + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_PST_RMVE; + script = "; ['Attachment_MFL_Pist',_id,'G17_DZ'] call player_removeAttachment"; + }; + }; +}; + class G17_SD_DZ : M9SD { model = "z\addons\dayz_communityweapons\g17\g17_sd.p3d"; @@ -74,6 +107,7 @@ class G17_SD_DZ : M9SD class Attachments { Attachment_FL_Pist = "G17_SD_FL_DZ"; + Attachment_MFL_Pist = "G17_SD_MFL_DZ"; }; class ItemActions @@ -119,4 +153,39 @@ class G17_SD_FL_DZ : G17_SD_DZ script = "; ['Attachment_FL_Pist',_id,'G17_SD_DZ'] call player_removeAttachment"; }; }; -}; \ No newline at end of file +}; + +class G17_SD_MFL_DZ : G17_SD_DZ +{ + model = "z\addons\dayz_communityweapons\g17\g17_sd_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\g17\data\w_g17_sd_fl_ca.paa"; + displayName = $STR_DZ_WPN_G17_SD_MFL_NAME; + + class FlashLight + { + color[] = {0.9, 0.0, 0.0, 0.9}; + ambient[] = {0.1, 0.0, 0.0, 1.0}; + position = "flash dir"; + direction = "flash"; + angle = 30; + scale[] = {1, 1, 0.5}; + brightness = 0.08; + }; + + class Attachments {}; + + class ItemActions + { + class RemoveSuppressor + { + text = $STR_ATTACHMENT_RMVE_Silencer; + script = "; ['Attachment_Sup9',_id,'G17_MFL_DZ'] call player_removeAttachment"; + }; + + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_PST_RMVE; + script = "; ['Attachment_MFL_Pist',_id,'G17_SD_DZ'] call player_removeAttachment"; + }; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/AK74.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/AK74.hpp index f59757c4..f128b31c 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/AK74.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/AK74.hpp @@ -36,8 +36,8 @@ class AK74_Kobra_SD_DZ : AKS_74_UN_kobra magazines[] = { - 30Rnd_545x39_AKSD, - 30Rnd_545x39_AK + // 30Rnd_545x39_AK, + 30Rnd_545x39_AKSD }; class Attachments diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/AKS74U.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/AKS74U.hpp index 6eb83f55..575fafa1 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/AKS74U.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/AKS74U.hpp @@ -33,8 +33,8 @@ class AKS74U_Kobra_SD_DZ : AKS_74_UN_kobra magazines[] = { - 30Rnd_545x39_AKSD, - 30Rnd_545x39_AK + // 30Rnd_545x39_AK, + 30Rnd_545x39_AKSD }; class ItemActions diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/CZ550.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/CZ550.hpp index 4d1e94b0..faf1d416 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/CZ550.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/CZ550.hpp @@ -1,4 +1,31 @@ class CZ550_DZ : Huntingrifle { + model = "z\addons\dayz_communityweapons\CZ550\CZ550.p3d"; magazines[] = {5Rnd_17HMR}; + + //CZ550_SCOPE + optics = true; + modelOptics = "\ca\weapons\2Dscope_Hunter_12"; + + class OpticsModes : OpticsModes + { + class StepScope : StepScope {}; + class Ironsights + { + opticsID = 2; + useModelOptics = false; + opticsFlare = false; + opticsDisablePeripherialVision = false; + opticsZoomMin = 0.25; + opticsZoomMax = 1.1; + opticsZoomInit = 0.5; + distanceZoomMin = 100; + distanceZoomMax = 100; + memoryPointCamera = "eye"; + visionMode[] = {}; + opticsPPEffects[] = {}; + cameraDir = ""; + }; + }; + //CZ550_SCOPE end }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/Crossbow.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/Crossbow.hpp index 4f748a0c..9e6c35cf 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/Crossbow.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/Crossbow.hpp @@ -9,6 +9,17 @@ brightness = 0.1;\ }; +#define CROSSBOW_MFLASHLIGHT class FlashLight\ +{\ + color[] = {0.9, 0.0, 0.0, 0.9};\ + ambient[] = {0.1, 0.0, 0.0, 1.0};\ + position = "fl_start";\ + direction = "fl_dir";\ + angle = 40;\ + scale[] = {1, 1, 0.5};\ + brightness = 0.08;\ +}; + class Crossbow_Base : Rifle @@ -23,7 +34,10 @@ class Crossbow_Base : Rifle dexterity = 1.6; magazineReloadTime = 0; - reloadMagazineSound[] = {"", 1, 1}; + //reloadMagazineSound[] = {"", 1, 1}; + //reloadMagazineSound[] = {"\ca\Weapons\Data\Sound\FAL_reload", 0.316228, 1, 20}; + //reloadMagazineSound[] = {"\ca\sounds\weapons\rifles\M1014-reload", 0.316228, 1, 20}; + reloadMagazineSound[] = {"ca\sounds\weapons\rifles\reload-m16-3", 0.0562341, 1, 20}; handAnim[] = {"OFP2_ManSkeleton", "\Ca\weapons\data\Anim\Bizon.rtm"}; distanceZoomMin = 20; distanceZoomMax = 20; @@ -53,6 +67,7 @@ class Crossbow_DZ : Crossbow_Base { Attachment_CCO = "Crossbow_CCO_DZ"; Attachment_FL = "Crossbow_FL_DZ"; + Attachment_MFL = "Crossbow_MFL_DZ"; Attachment_SCOPED = "Crossbow_Scope_DZ"; }; }; @@ -81,6 +96,30 @@ class Crossbow_FL_DZ : Crossbow_DZ }; }; +class Crossbow_MFL_DZ : Crossbow_DZ +{ + model = "z\addons\community_crossbow\models\crossbow_fl.p3d"; + picture = "\z\addons\community_crossbow\icons\crossbow_fl.paa"; + displayName = $STR_DZ_WPN_CROSSBOW_MFL_NAME; + + CROSSBOW_MFLASHLIGHT + + class Attachments + { + Attachment_CCO = "Crossbow_CCO_MFL_DZ"; + Attachment_SCOPED = "Crossbow_Scope_MFL_DZ"; + }; + + class ItemActions + { + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'Crossbow_DZ'] call player_removeAttachment"; + }; + }; +}; + /*CCO*/ @@ -94,6 +133,7 @@ class Crossbow_CCO_DZ : Crossbow_DZ class Attachments { Attachment_FL = "Crossbow_CCO_FL_DZ"; + Attachment_MFL = "Crossbow_CCO_MFL_DZ"; }; class ItemActions @@ -132,6 +172,32 @@ class Crossbow_CCO_FL_DZ : Crossbow_CCO_DZ }; }; +class Crossbow_CCO_MFL_DZ : Crossbow_CCO_DZ +{ + model = "z\addons\community_crossbow\models\crossbow_cco_fl.p3d"; + picture = "\z\addons\community_crossbow\icons\crossbow_scoped.paa"; + displayName = $STR_DZ_WPN_CROSSBOW_CCO_MFL_NAME; + + CROSSBOW_MFLASHLIGHT + + class Attachments {}; + + class ItemActions + { + class RemoveCCO + { + text = $STR_DZ_ATT_CCO_RMVE; + script = "; ['Attachment_CCO',_id,'Crossbow_MFL_DZ'] call player_removeAttachment"; + }; + + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'Crossbow_CCO_DZ'] call player_removeAttachment"; + }; + }; +}; + /*Scope*/ @@ -152,6 +218,7 @@ class Crossbow_Scope_DZ : Crossbow_DZ class Attachments { Attachment_FL = "Crossbow_Scope_FL_DZ"; + Attachment_MFL = "Crossbow_Scope_MFL_DZ"; }; class ItemActions @@ -190,4 +257,32 @@ class Crossbow_Scope_FL_DZ : Crossbow_Scope_DZ }; }; -#undef CROSSBOW_FLASHLIGHT \ No newline at end of file +class Crossbow_Scope_MFL_DZ : Crossbow_Scope_DZ +{ + model = "z\addons\community_crossbow\models\crossbow_scoped_fl.p3d"; + picture = "\z\addons\community_crossbow\icons\crossbow_scoped_fl.paa"; + displayName = $STR_DZ_WPN_CROSSBOW_SCOPE_MFL_NAME; + + CROSSBOW_MFLASHLIGHT + + class Attachments {}; + + class ItemActions + { + class RemoveScope + { + text = $STR_DZ_ATT_PU_RMVE; + script = "; ['Attachment_SCOPED',_id,'Crossbow_MFL_DZ'] call player_removeAttachment"; + }; + + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'Crossbow_Scope_DZ'] call player_removeAttachment"; + }; + }; +}; + +#undef CROSSBOW_FLASHLIGHT + +#undef CROSSBOW_MFLASHLIGHT diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/G36.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/G36.hpp index 993dd6c5..bff29499 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/G36.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/G36.hpp @@ -87,8 +87,8 @@ class G36K_Camo_SD_DZ : G36_C_SD_eotech magazines[] = { - 30Rnd_556x45_G36SD, - 30Rnd_556x45_G36 + // 30Rnd_556x45_G36, + 30Rnd_556x45_G36SD }; //G36 Optic diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/G36C.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/G36C.hpp index 8ca077b3..e414e73f 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/G36C.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/G36C.hpp @@ -52,6 +52,7 @@ class G36C_DZ : G36C { Attachment_CCO = "G36C_CCO_DZ"; Attachment_Holo = "G36C_Holo_DZ"; + Attachment_ACOG = "G36C_ACOG_DZ"; Attachment_Sup556 = "G36C_SD_DZ"; }; }; @@ -64,14 +65,15 @@ class G36C_SD_DZ : G36_C_SD_eotech magazines[] = { - 30Rnd_556x45_G36SD, - 30Rnd_556x45_G36 + // 30Rnd_556x45_G36, + 30Rnd_556x45_G36SD }; class Attachments { Attachment_CCO = "G36C_CCO_SD_DZ"; Attachment_Holo = "G36C_Holo_SD_DZ"; + Attachment_ACOG = "G36C_ACOG_SD_DZ"; }; class ItemActions diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/L110A1.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/L110A1.hpp index b755b9ba..0ad5767b 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/L110A1.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/L110A1.hpp @@ -3,7 +3,7 @@ class L110A1_CCO_DZ : BAF_L110A1_Aim model = "z\addons\dayz_communityweapons\l110a1\l110a1_cco.p3d"; picture = "\z\addons\dayz_communityweapons\l110a1\data\w_l110a1_cco_ca.paa"; displayName = $STR_DZ_WPN_L110A1_CCO_NAME; - + irDistance = 0; type = WeaponSlotPrimary; magazines[] = @@ -29,7 +29,7 @@ class L110A1_Holo_DZ : L110A1_CCO_DZ model = "z\addons\dayz_communityweapons\l110a1\l110a1_holo.p3d"; picture = "\z\addons\dayz_communityweapons\l110a1\data\w_l110a1_holo_ca.paa"; displayName = $STR_DZ_WPN_L110A1_HOLO_NAME; - + class ItemActions { class RemoveHolo diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/LeeEnfield.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/LeeEnfield.hpp index 464a6a9d..2476cdb0 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/LeeEnfield.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/LeeEnfield.hpp @@ -1,4 +1,5 @@ class LeeEnfield_DZ : LeeEnfield { + model = "z\addons\dayz_communityweapons\LeeEnfield\LeeEnfield.p3d"; magazines[] = {10Rnd_303British}; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/M16A4.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/M16A4.hpp index 03d271df..4d614527 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/M16A4.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/M16A4.hpp @@ -9,6 +9,17 @@ brightness = 0.1;\ } +#define M16A4_MFLASHLIGHT class FlashLight\ +{\ + color[] = {0.9, 0.0, 0.0, 0.9};\ + ambient[] = {0.1, 0.0, 0.0, 1.0};\ + position = "flash dir";\ + direction = "flash";\ + angle = 30;\ + scale[] = {1, 1, 0.5};\ + brightness = 0.08;\ +} + #define M16A4_ACOG modelOptics = "\Ca\weapons_E\SCAR\ACOG_TA31_optic_4x.p3d";\ class OpticsModes\ {\ @@ -67,6 +78,7 @@ class M16A4_DZ : M16A2 Attachment_ACOG = "M16A4_ACOG_DZ"; Attachment_M203 = "M16A4_GL_DZ"; Attachment_FL = "M16A4_FL_DZ"; + Attachment_MFL = "M16A4_MFL_DZ"; }; }; @@ -96,6 +108,32 @@ class M16A4_FL_DZ : M16A4_DZ }; }; +class M16A4_MFL_DZ : M16A4_DZ +{ + model = "z\addons\dayz_communityweapons\m16a4\m16a4_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_fl_ca.paa"; + displayName = $STR_DZ_WPN_M16A4_MFL; + + M16A4_MFLASHLIGHT; + + class Attachments + { + Attachment_CCO = "M16A4_CCO_MFL_DZ"; + Attachment_Holo = "M16A4_Holo_MFL_DZ"; + Attachment_ACOG = "M16A4_ACOG_MFL_DZ"; + Attachment_M203 = "M16A4_GL_MFL_DZ"; + }; + + class ItemActions + { + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M16A4_DZ'] call player_removeAttachment"; + }; + }; +}; + class M16A4_GL_DZ : M16A4_DZ { model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl.p3d"; @@ -111,6 +149,7 @@ class M16A4_GL_DZ : M16A4_DZ Attachment_Holo = "M16A4_GL_Holo_DZ"; Attachment_ACOG = "M16A4_GL_ACOG_DZ"; Attachment_FL = "M16A4_GL_FL_DZ"; + Attachment_MFL = "M16A4_GL_MFL_DZ"; }; class ItemActions @@ -153,6 +192,36 @@ class M16A4_GL_FL_DZ : M16A4_GL_DZ }; }; +class M16A4_GL_MFL_DZ : M16A4_GL_DZ +{ + model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_gl_fl_ca.paa"; + displayName = $STR_DZ_WPN_M16A4_GL_MFL; + + M16A4_MFLASHLIGHT; + + class Attachments + { + Attachment_CCO = "M16A4_GL_CCO_MFL_DZ"; + Attachment_Holo = "M16A4_GL_Holo_MFL_DZ"; + Attachment_ACOG = "M16A4_GL_ACOG_MFL_DZ"; + }; + + class ItemActions + { + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'M16A4_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M16A4_GL_DZ'] call player_removeAttachment"; + }; + }; +}; + //CCO @@ -166,6 +235,7 @@ class M16A4_CCO_DZ : M16A4_DZ { Attachment_M203 = "M16A4_GL_CCO_DZ"; Attachment_FL = "M16A4_CCO_FL_DZ"; + Attachment_MFL = "M16A4_CCO_MFL_DZ"; }; class ItemActions @@ -204,6 +274,32 @@ class M16A4_CCO_FL_DZ : M16A4_FL_DZ }; }; +class M16A4_CCO_MFL_DZ : M16A4_MFL_DZ +{ + model = "z\addons\dayz_communityweapons\m16a4\m16a4_cco_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_cco_fl_ca.paa"; + displayName = $STR_DZ_WPN_M16A4_CCO_MFL; + + class Attachments + { + Attachment_M203 = "M16A4_GL_CCO_MFL_DZ"; + }; + + class ItemActions + { + class RemoveCCO + { + text = $STR_DZ_ATT_CCO_RMVE; + script = "; ['Attachment_CCO',_id,'M16A4_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M16A4_CCO_DZ'] call player_removeAttachment"; + }; + }; +}; + class M16A4_GL_CCO_DZ : M16A4_GL_DZ { model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_cco.p3d"; @@ -213,6 +309,7 @@ class M16A4_GL_CCO_DZ : M16A4_GL_DZ class Attachments { Attachment_FL = "M16A4_GL_CCO_FL_DZ"; + Attachment_MFL = "M16A4_GL_CCO_MFL_DZ"; }; class ItemActions @@ -258,6 +355,34 @@ class M16A4_GL_CCO_FL_DZ : M16A4_GL_FL_DZ }; }; +class M16A4_GL_CCO_MFL_DZ : M16A4_GL_MFL_DZ +{ + model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_cco_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_gl_cco_fl_ca.paa"; + displayName = $STR_DZ_WPN_M16A4_GL_CCO_MFL; + + class Attachments {}; + + class ItemActions + { + class RemoveCCO + { + text = $STR_DZ_ATT_CCO_RMVE; + script = "; ['Attachment_CCO',_id,'M16A4_GL_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'M16A4_CCO_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M16A4_GL_CCO_DZ'] call player_removeAttachment"; + }; + }; +}; + //Holo @@ -271,6 +396,7 @@ class M16A4_Holo_DZ : M16A4_DZ { Attachment_M203 = "M16A4_GL_Holo_DZ"; Attachment_FL = "M16A4_Holo_FL_DZ"; + Attachment_MFL = "M16A4_Holo_MFL_DZ"; }; class ItemActions @@ -309,6 +435,32 @@ class M16A4_Holo_FL_DZ : M16A4_FL_DZ }; }; +class M16A4_Holo_MFL_DZ : M16A4_MFL_DZ +{ + model = "z\addons\dayz_communityweapons\m16a4\m16a4_holo_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_holo_fl_ca.paa"; + displayName = $STR_DZ_WPN_M16A4_HOLO_MFL; + + class Attachments + { + Attachment_M203 = "M16A4_GL_Holo_MFL_DZ"; + }; + + class ItemActions + { + class RemoveHolo + { + text = $STR_DZ_ATT_HOLO_RMVE; + script = "; ['Attachment_Holo',_id,'M16A4_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M16A4_Holo_DZ'] call player_removeAttachment"; + }; + }; +}; + class M16A4_GL_Holo_DZ : M16A4_GL_DZ { model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_holo.p3d"; @@ -318,6 +470,7 @@ class M16A4_GL_Holo_DZ : M16A4_GL_DZ class Attachments { Attachment_FL = "M16A4_GL_Holo_FL_DZ"; + Attachment_MFL = "M16A4_GL_Holo_MFL_DZ"; }; class ItemActions @@ -363,6 +516,34 @@ class M16A4_GL_Holo_FL_DZ : M16A4_GL_FL_DZ }; }; +class M16A4_GL_Holo_MFL_DZ : M16A4_GL_MFL_DZ +{ + model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_holo_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_gl_holo_fl_ca.paa"; + displayName = $STR_DZ_WPN_M16A4_GL_HOLO_MFL; + + class Attachments {}; + + class ItemActions + { + class RemoveHolo + { + text = $STR_DZ_ATT_HOLO_RMVE; + script = "; ['Attachment_Holo',_id,'M16A4_GL_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'M16A4_Holo_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M16A4_GL_Holo_DZ'] call player_removeAttachment"; + }; + }; +}; + //ACOG @@ -377,8 +558,9 @@ class M16A4_ACOG_DZ : M16A4_DZ class Attachments { - Attachment_M203 = M16A4_GL_ACOG_DZ; - Attachment_FL = M16A4_ACOG_FL_DZ; + Attachment_M203 = "M16A4_GL_ACOG_DZ"; + Attachment_FL = "M16A4_ACOG_FL_DZ"; + Attachment_MFL = "M16A4_ACOG_MFL_DZ"; }; class ItemActions @@ -401,7 +583,7 @@ class M16A4_ACOG_FL_DZ : M16A4_FL_DZ class Attachments { - Attachment_M203 = M16A4_GL_ACOG_FL_DZ; + Attachment_M203 = "M16A4_GL_ACOG_FL_DZ"; }; class ItemActions @@ -419,6 +601,34 @@ class M16A4_ACOG_FL_DZ : M16A4_FL_DZ }; }; +class M16A4_ACOG_MFL_DZ : M16A4_MFL_DZ +{ + model = "z\addons\dayz_communityweapons\m16a4\m16a4_acog_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_acog_fl_ca.paa"; + displayName = $STR_DZ_WPN_M16A4_ACOG_MFL_NAME; + + M16A4_ACOG; + + class Attachments + { + Attachment_M203 = "M16A4_GL_ACOG_MFL_DZ"; + }; + + class ItemActions + { + class RemoveACOG + { + text = $STR_DZ_ATT_ACOG_RMVE; + script = "; ['Attachment_ACOG',_id,'M16A4_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M16A4_ACOG_DZ'] call player_removeAttachment"; + }; + }; +}; + class M16A4_GL_ACOG_DZ : M16A4_GL_DZ { model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_acog.p3d"; @@ -429,7 +639,8 @@ class M16A4_GL_ACOG_DZ : M16A4_GL_DZ class Attachments { - Attachment_FL = M16A4_GL_ACOG_FL_DZ; + Attachment_FL = "M16A4_GL_ACOG_FL_DZ"; + Attachment_MFL = "M16A4_GL_ACOG_MFL_DZ"; }; class ItemActions @@ -475,4 +686,34 @@ class M16A4_GL_ACOG_FL_DZ : M16A4_GL_FL_DZ script = "; ['Attachment_FL',_id,'M16A4_GL_ACOG_DZ'] call player_removeAttachment"; }; }; -}; \ No newline at end of file +}; + +class M16A4_GL_ACOG_MFL_DZ : M16A4_GL_MFL_DZ +{ + model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_acog_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_gl_acog_fl_ca.paa"; + displayName = $STR_DZ_WPN_M16A4_GL_ACOG_MFL_NAME; + + M16A4_ACOG; + + class Attachments {}; + + class ItemActions + { + class RemoveACOG + { + text = $STR_DZ_ATT_ACOG_RMVE; + script = "; ['Attachment_ACOG',_id,'M16A4_GL_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'M16A4_ACOG_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M16A4_GL_ACOG_DZ'] call player_removeAttachment"; + }; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/M4A1.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/M4A1.hpp index bbfcbf2c..5df55b80 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/M4A1.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/M4A1.hpp @@ -9,6 +9,17 @@ brightness = 0.1;\ } +#define M4A1_MFLASHLIGHT class FlashLight\ +{\ + color[] = {0.9, 0.0, 0.0, 0.9};\ + ambient[] = {0.1, 0.0, 0.0, 1.0};\ + position = "flash dir";\ + direction = "flash";\ + angle = 30;\ + scale[] = {1, 1, 0.5};\ + brightness = 0.08;\ +} + #define M4A1_M203 muzzles[] = {this, M203Muzzle};\ handAnim[]={"OFP2_ManSkeleton","\Ca\weapons\data\Anim\M16GL.rtm"} @@ -74,6 +85,7 @@ class M4A1_DZ : M4A1 Attachment_M203 = "M4A1_GL_DZ"; Attachment_Sup556 = "M4A1_SD_DZ"; Attachment_FL = "M4A1_FL_DZ"; + Attachment_MFL = "M4A1_MFL_DZ"; }; }; @@ -110,6 +122,39 @@ class M4A1_FL_DZ : M4A1_DZ }; }; +class M4A1_MFL_DZ : M4A1_DZ +{ + model = "z\addons\dayz_communityweapons\m4a1\m4a1_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m4a1\data\w_m4a1_fl_ca.paa"; + displayName = $STR_DZ_WPN_M4A1_MFL_NAME; + + M4A1_MFLASHLIGHT; + + class Attachments + { + Attachment_CCO = "M4A1_CCO_MFL_DZ"; + Attachment_Holo = "M4A1_Holo_MFL_DZ"; + Attachment_ACOG = "M4A1_ACOG_MFL_DZ"; + Attachment_M203 = "M4A1_GL_MFL_DZ"; + Attachment_Sup556 = "M4A1_SD_MFL_DZ"; + }; + + class ItemActions + { + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M4A1_DZ'] call player_removeAttachment"; + //script is formatted by ui_selectSlot to: + //"_id = 'M4A1_MFL_DZ' ; ['Attachment_MFL',_id,'M4A1_DZ'] call player_removeAttachment;" + + //REGEX + //script = "\[Attachment_([_a-zA-Z0-9]+)\,[_a-zA-Z0-9]+\,([_a-zA-Z0-9]+)\] call player_removeAttachment"; + //script = "; \['Attachment_$1',_id,'$2'\] call player_removeAttachment"; + }; + }; +}; + class M4A1_SD_DZ : M4A1_AIM_SD_camo { model = "z\addons\dayz_communityweapons\m4a1\m4a1_sd.p3d"; @@ -120,8 +165,8 @@ class M4A1_SD_DZ : M4A1_AIM_SD_camo magazines[] = { - 30Rnd_556x45_StanagSD, - 30Rnd_556x45_Stanag + // 30Rnd_556x45_Stanag, + 30Rnd_556x45_StanagSD }; class Attachments @@ -131,6 +176,7 @@ class M4A1_SD_DZ : M4A1_AIM_SD_camo Attachment_ACOG = "M4A1_ACOG_SD_DZ"; Attachment_M203 = "M4A1_GL_SD_DZ"; Attachment_FL = "M4A1_SD_FL_DZ"; + Attachment_MFL = "M4A1_SD_MFL_DZ"; }; class ItemActions @@ -174,6 +220,37 @@ class M4A1_SD_FL_DZ : M4A1_SD_DZ }; }; +class M4A1_SD_MFL_DZ : M4A1_SD_DZ +{ + model = "z\addons\dayz_communityweapons\m4a1\m4a1_sd_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m4a1\data\w_m4a1_sd_fl_ca.paa"; + displayName = $STR_DZ_WPN_M4A1_SD_MFL_NAME; + + M4A1_MFLASHLIGHT; + + class Attachments + { + Attachment_CCO = "M4A1_CCO_SD_MFL_DZ"; + Attachment_Holo = "M4A1_Holo_SD_MFL_DZ"; + Attachment_ACOG = "M4A1_ACOG_SD_MFL_DZ"; + Attachment_M203 = "M4A1_GL_SD_MFL_DZ"; + }; + + class ItemActions + { + class RemoveSuppressor + { + text = $STR_ATTACHMENT_RMVE_Silencer; + script = "; ['Attachment_Sup556',_id,'M4A1_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M4A1_SD_DZ'] call player_removeAttachment"; + }; + }; +}; + //Grenade launcher class M4A1_GL_DZ : M4A1_DZ @@ -191,6 +268,7 @@ class M4A1_GL_DZ : M4A1_DZ Attachment_ACOG = "M4A1_GL_ACOG_DZ"; Attachment_Sup556 = "M4A1_GL_SD_DZ"; Attachment_FL = "M4A1_GL_FL_DZ"; + Attachment_MFL = "M4A1_GL_MFL_DZ"; }; class ItemActions @@ -234,6 +312,37 @@ class M4A1_GL_FL_DZ : M4A1_GL_DZ }; }; +class M4A1_GL_MFL_DZ : M4A1_GL_DZ +{ + model = "z\addons\dayz_communityweapons\m4a1\m4a1_gl_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m4a1\data\w_m4a1_gl_fl_ca.paa"; + displayName = $STR_DZ_WPN_M4A1_GL_MFL_NAME; + + M4A1_MFLASHLIGHT; + + class Attachments + { + Attachment_CCO = "M4A1_GL_CCO_MFL_DZ"; + Attachment_Holo = "M4A1_GL_Holo_MFL_DZ"; + Attachment_ACOG = "M4A1_GL_ACOG_MFL_DZ"; + Attachment_Sup556 = "M4A1_GL_SD_MFL_DZ"; + }; + + class ItemActions + { + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'M4A1_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M4A1_GL_DZ'] call player_removeAttachment"; + }; + }; +}; + class M4A1_GL_SD_DZ : M4A1_SD_DZ { model = "z\addons\dayz_communityweapons\m4a1\m4a1_gl_sd.p3d"; @@ -248,6 +357,7 @@ class M4A1_GL_SD_DZ : M4A1_SD_DZ Attachment_Holo = "M4A1_GL_Holo_SD_DZ"; Attachment_ACOG = "M4A1_GL_ACOG_SD_DZ"; Attachment_FL = "M4A1_GL_SD_FL_DZ"; + Attachment_MFL = "M4A1_GL_SD_MFL_DZ"; }; class ItemActions @@ -300,6 +410,41 @@ class M4A1_GL_SD_FL_DZ : M4A1_GL_SD_DZ }; }; +class M4A1_GL_SD_MFL_DZ : M4A1_GL_SD_DZ +{ + model = "z\addons\dayz_communityweapons\m4a1\m4a1_gl_sd_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m4a1\data\w_m4a1_gl_sd_fl_ca.paa"; + displayName = $STR_DZ_WPN_M4A1_GL_SD_MFL_NAME; + + M4A1_MFLASHLIGHT; + + class Attachments + { + Attachment_CCO = "M4A1_GL_CCO_SD_MFL_DZ"; + Attachment_Holo = "M4A1_GL_Holo_SD_MFL_DZ"; + Attachment_ACOG = "M4A1_GL_ACOG_SD_MFL_DZ"; + }; + + class ItemActions + { + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'M4A1_SD_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveSuppressor + { + text = $STR_ATTACHMENT_RMVE_Silencer; + script = "; ['Attachment_Sup556',_id,'M4A1_GL_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M4A1_GL_SD_DZ'] call player_removeAttachment"; + }; + }; +}; + //CCO @@ -315,6 +460,7 @@ class M4A1_CCO_DZ : M4A1_DZ Attachment_M203 = "M4A1_GL_CCO_DZ"; Attachment_Sup556 = "M4A1_CCO_SD_DZ"; Attachment_FL = "M4A1_CCO_FL_DZ"; + Attachment_MFL = "M4A1_CCO_MFL_DZ"; }; class ItemActions @@ -354,6 +500,33 @@ class M4A1_CCO_FL_DZ : M4A1_FL_DZ }; }; +class M4A1_CCO_MFL_DZ : M4A1_MFL_DZ +{ + model = "z\addons\dayz_communityweapons\m4a1\m4a1_cco_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m4a1\data\w_m4a1_cco_fl_ca.paa"; + displayName = $STR_DZ_WPN_M4A1_CCO_MFL_NAME; + + class Attachments + { + Attachment_M203 = "M4A1_GL_CCO_MFL_DZ"; + Attachment_Sup556 = "M4A1_CCO_SD_MFL_DZ"; + }; + + class ItemActions + { + class RemoveCCO + { + text = $STR_DZ_ATT_CCO_RMVE; + script = "; ['Attachment_CCO',_id,'M4A1_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M4A1_CCO_DZ'] call player_removeAttachment"; + }; + }; +}; + class M4A1_CCO_SD_DZ : M4A1_SD_DZ { model = "z\addons\dayz_communityweapons\m4a1\m4a1_cco_sd.p3d"; @@ -364,6 +537,7 @@ class M4A1_CCO_SD_DZ : M4A1_SD_DZ { Attachment_M203 = "M4A1_GL_CCO_SD_DZ"; Attachment_FL = "M4A1_CCO_SD_FL_DZ"; + Attachment_MFL = "M4A1_CCO_SD_MFL_DZ"; }; class ItemActions @@ -412,6 +586,37 @@ class M4A1_CCO_SD_FL_DZ : M4A1_SD_FL_DZ }; }; +class M4A1_CCO_SD_MFL_DZ : M4A1_SD_MFL_DZ +{ + model = "z\addons\dayz_communityweapons\m4a1\m4a1_cco_sd_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m4a1\data\w_m4a1_cco_sd_fl_ca.paa"; + displayName = $STR_DZ_WPN_M4A1_CCO_SD_MFL_NAME; + + class Attachments + { + Attachment_M203 = "M4A1_GL_CCO_SD_MFL_DZ"; + }; + + class ItemActions + { + class RemoveCCO + { + text = $STR_DZ_ATT_CCO_RMVE; + script = "; ['Attachment_CCO',_id,'M4A1_SD_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveSuppressor + { + text = $STR_ATTACHMENT_RMVE_Silencer; + script = "; ['Attachment_Sup556',_id,'M4A1_CCO_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M4A1_CCO_SD_DZ'] call player_removeAttachment"; + }; + }; +}; + //Grenade launcher class M4A1_GL_CCO_DZ : M4A1_GL_DZ @@ -424,6 +629,7 @@ class M4A1_GL_CCO_DZ : M4A1_GL_DZ { Attachment_Sup556 = "M4A1_GL_CCO_SD_DZ"; Attachment_FL = "M4A1_GL_CCO_FL_DZ"; + Attachment_MFL = "M4A1_GL_CCO_MFL_DZ"; }; class ItemActions @@ -472,6 +678,37 @@ class M4A1_GL_CCO_FL_DZ : M4A1_GL_FL_DZ }; }; +class M4A1_GL_CCO_MFL_DZ : M4A1_GL_MFL_DZ +{ + model = "z\addons\dayz_communityweapons\m4a1\m4a1_gl_cco_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m4a1\data\w_m4a1_gl_cco_fl_ca.paa"; + displayName = $STR_DZ_WPN_M4A1_GL_CCO_MFL_NAME; + + class Attachments + { + Attachment_Sup556 = "M4A1_GL_CCO_SD_MFL_DZ"; + }; + + class ItemActions + { + class RemoveCCO + { + text = $STR_DZ_ATT_CCO_RMVE; + script = "; ['Attachment_CCO',_id,'M4A1_GL_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'M4A1_CCO_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M4A1_GL_CCO_DZ'] call player_removeAttachment"; + }; + }; +}; + class M4A1_GL_CCO_SD_DZ : M4A1_GL_SD_DZ { model = "z\addons\dayz_communityweapons\m4a1\m4a1_gl_cco_sd.p3d"; @@ -481,6 +718,7 @@ class M4A1_GL_CCO_SD_DZ : M4A1_GL_SD_DZ class Attachments { Attachment_FL = "M4A1_GL_CCO_SD_FL_DZ"; + Attachment_MFL = "M4A1_GL_CCO_SD_MFL_DZ"; }; class ItemActions @@ -536,6 +774,40 @@ class M4A1_GL_CCO_SD_FL_DZ : M4A1_GL_SD_FL_DZ }; }; +class M4A1_GL_CCO_SD_MFL_DZ : M4A1_GL_SD_MFL_DZ +{ + model = "z\addons\dayz_communityweapons\m4a1\m4a1_gl_cco_sd_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m4a1\data\w_m4a1_gl_cco_sd_fl_ca.paa"; + displayName = $STR_DZ_WPN_M4A1_GL_CCO_SD_MFL_NAME; + + class Attachments {}; + + class ItemActions + { + class RemoveCCO + { + text = $STR_DZ_ATT_CCO_RMVE; + script = "; ['Attachment_CCO',_id,'M4A1_GL_SD_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'M4A1_CCO_SD_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveSuppressor + { + text = $STR_ATTACHMENT_RMVE_Silencer; + script = "; ['Attachment_Sup556',_id,'M4A1_GL_CCO_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M4A1_GL_CCO_SD_DZ'] call player_removeAttachment"; + }; + }; +}; + + //Holo @@ -551,6 +823,7 @@ class M4A1_Holo_DZ : M4A1_DZ Attachment_M203 = "M4A1_GL_Holo_DZ"; Attachment_Sup556 = "M4A1_Holo_SD_DZ"; Attachment_FL = "M4A1_Holo_FL_DZ"; + Attachment_MFL = "M4A1_Holo_MFL_DZ"; }; class ItemActions @@ -590,6 +863,33 @@ class M4A1_Holo_FL_DZ : M4A1_FL_DZ }; }; +class M4A1_Holo_MFL_DZ : M4A1_MFL_DZ +{ + model = "z\addons\dayz_communityweapons\m4a1\m4a1_holo_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m4a1\data\w_m4a1_holo_fl_ca.paa"; + displayName = $STR_DZ_WPN_M4A1_HOLO_MFL_NAME; + + class Attachments + { + Attachment_M203 = "M4A1_GL_Holo_MFL_DZ"; + Attachment_Sup556 = "M4A1_Holo_SD_MFL_DZ"; + }; + + class ItemActions + { + class RemoveHolo + { + text = $STR_DZ_ATT_HOLO_RMVE; + script = "; ['Attachment_Holo',_id,'M4A1_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M4A1_Holo_DZ'] call player_removeAttachment"; + }; + }; +}; + class M4A1_Holo_SD_DZ : M4A1_SD_DZ { model = "z\addons\dayz_communityweapons\m4a1\m4a1_holo_sd.p3d"; @@ -600,6 +900,7 @@ class M4A1_Holo_SD_DZ : M4A1_SD_DZ { Attachment_M203 = "M4A1_GL_Holo_SD_DZ"; Attachment_FL = "M4A1_Holo_SD_FL_DZ"; + Attachment_MFL = "M4A1_Holo_SD_MFL_DZ"; }; class ItemActions @@ -648,6 +949,37 @@ class M4A1_Holo_SD_FL_DZ : M4A1_SD_FL_DZ }; }; +class M4A1_Holo_SD_MFL_DZ : M4A1_SD_MFL_DZ +{ + model = "z\addons\dayz_communityweapons\m4a1\m4a1_holo_sd_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m4a1\data\w_m4a1_holo_sd_fl_ca.paa"; + displayName = $STR_DZ_WPN_M4A1_HOLO_SD_MFL_NAME; + + class Attachments + { + Attachment_M203 = "M4A1_GL_Holo_SD_MFL_DZ"; + }; + + class ItemActions + { + class RemoveHolo + { + text = $STR_DZ_ATT_HOLO_RMVE; + script = "; ['Attachment_Holo',_id,'M4A1_SD_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveSuppressor + { + text = $STR_ATTACHMENT_RMVE_Silencer; + script = "; ['Attachment_Sup556',_id,'M4A1_Holo_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M4A1_Holo_SD_DZ'] call player_removeAttachment"; + }; + }; +}; + //Grenade launcher class M4A1_GL_Holo_DZ : M4A1_GL_DZ @@ -660,6 +992,7 @@ class M4A1_GL_Holo_DZ : M4A1_GL_DZ { Attachment_Sup556 = "M4A1_GL_Holo_SD_DZ"; Attachment_FL = "M4A1_GL_Holo_FL_DZ"; + Attachment_MFL = "M4A1_GL_Holo_MFL_DZ"; }; class ItemActions @@ -708,6 +1041,37 @@ class M4A1_GL_Holo_FL_DZ : M4A1_GL_FL_DZ }; }; +class M4A1_GL_Holo_MFL_DZ : M4A1_GL_MFL_DZ +{ + model = "z\addons\dayz_communityweapons\m4a1\m4a1_gl_holo_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m4a1\data\w_m4a1_gl_holo_fl_ca.paa"; + displayName = $STR_DZ_WPN_M4A1_GL_HOLO_MFL_NAME; + + class Attachments + { + Attachment_Sup556 = "M4A1_GL_Holo_SD_MFL_DZ"; + }; + + class ItemActions + { + class RemoveHolo + { + text = $STR_DZ_ATT_HOLO_RMVE; + script = "; ['Attachment_Holo',_id,'M4A1_GL_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'M4A1_Holo_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M4A1_GL_Holo_DZ'] call player_removeAttachment"; + }; + }; +}; + class M4A1_GL_Holo_SD_DZ : M4A1_GL_SD_DZ { model = "z\addons\dayz_communityweapons\m4a1\m4a1_gl_holo_sd.p3d"; @@ -717,6 +1081,7 @@ class M4A1_GL_Holo_SD_DZ : M4A1_GL_SD_DZ class Attachments { Attachment_FL = "M4A1_GL_Holo_SD_FL_DZ"; + Attachment_MFL = "M4A1_GL_Holo_SD_MFL_DZ"; }; class ItemActions @@ -772,6 +1137,39 @@ class M4A1_GL_Holo_SD_FL_DZ : M4A1_GL_SD_FL_DZ }; }; +class M4A1_GL_Holo_SD_MFL_DZ : M4A1_GL_SD_MFL_DZ +{ + model = "z\addons\dayz_communityweapons\m4a1\m4a1_gl_holo_sd_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m4a1\data\w_m4a1_gl_holo_sd_fl_ca.paa"; + displayName = $STR_DZ_WPN_M4A1_GL_HOLO_SD_MFL_NAME; + + class Attachments {}; + + class ItemActions + { + class RemoveHolo + { + text = $STR_DZ_ATT_HOLO_RMVE; + script = "; ['Attachment_Holo',_id,'M4A1_GL_SD_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'M4A1_Holo_SD_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveSuppressor + { + text = $STR_ATTACHMENT_RMVE_Silencer; + script = "; ['Attachment_Sup556',_id,'M4A1_GL_Holo_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M4A1_GL_Holo_SD_DZ'] call player_removeAttachment"; + }; + }; +}; + //ACOG @@ -786,9 +1184,10 @@ class M4A1_ACOG_DZ : M4A1_DZ class Attachments { - Attachment_M203 = M4A1_GL_ACOG_DZ; - Attachment_Sup556 = M4A1_ACOG_SD_DZ; - Attachment_FL = M4A1_ACOG_FL_DZ; + Attachment_M203 = "M4A1_GL_ACOG_DZ"; + Attachment_Sup556 = "M4A1_ACOG_SD_DZ"; + Attachment_FL = "M4A1_ACOG_FL_DZ"; + Attachment_MFL = "M4A1_ACOG_MFL_DZ"; }; class ItemActions @@ -811,8 +1210,8 @@ class M4A1_ACOG_FL_DZ : M4A1_FL_DZ class Attachments { - Attachment_M203 = M4A1_GL_ACOG_FL_DZ; - Attachment_Sup556 = M4A1_ACOG_SD_FL_DZ; + Attachment_M203 = "M4A1_GL_ACOG_FL_DZ"; + Attachment_Sup556 = "M4A1_ACOG_SD_FL_DZ"; }; class ItemActions @@ -830,6 +1229,35 @@ class M4A1_ACOG_FL_DZ : M4A1_FL_DZ }; }; +class M4A1_ACOG_MFL_DZ : M4A1_MFL_DZ +{ + model = "z\addons\dayz_communityweapons\m4a1\m4a1_acog_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m4a1\data\w_m4a1_acog_fl_ca.paa"; + displayName = $STR_DZ_WPN_M4A1_ACOG_MFL_NAME; + + M4A1_ACOG; + + class Attachments + { + Attachment_M203 = "M4A1_GL_ACOG_MFL_DZ"; + Attachment_Sup556 = "M4A1_ACOG_SD_MFL_DZ"; + }; + + class ItemActions + { + class RemoveACOG + { + text = $STR_DZ_ATT_ACOG_RMVE; + script = "; ['Attachment_ACOG',_id,'M4A1_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M4A1_ACOG_DZ'] call player_removeAttachment"; + }; + }; +}; + class M4A1_ACOG_SD_DZ : M4A1_SD_DZ { model = "z\addons\dayz_communityweapons\m4a1\m4a1_acog_sd.p3d"; @@ -840,8 +1268,9 @@ class M4A1_ACOG_SD_DZ : M4A1_SD_DZ class Attachments { - Attachment_M203 = M4A1_GL_ACOG_SD_DZ; - Attachment_FL = M4A1_ACOG_SD_FL_DZ; + Attachment_M203 = "M4A1_GL_ACOG_SD_DZ"; + Attachment_FL = "M4A1_ACOG_SD_FL_DZ"; + Attachment_MFL = "M4A1_ACOG_SD_MFL_DZ"; }; class ItemActions @@ -869,7 +1298,7 @@ class M4A1_ACOG_SD_FL_DZ : M4A1_SD_FL_DZ class Attachments { - Attachment_M203 = M4A1_GL_ACOG_SD_FL_DZ; + Attachment_M203 = "M4A1_GL_ACOG_SD_FL_DZ"; }; class ItemActions @@ -892,6 +1321,39 @@ class M4A1_ACOG_SD_FL_DZ : M4A1_SD_FL_DZ }; }; +class M4A1_ACOG_SD_MFL_DZ : M4A1_SD_MFL_DZ +{ + model = "z\addons\dayz_communityweapons\m4a1\m4a1_acog_sd_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m4a1\data\w_m4a1_acog_sd_fl_ca.paa"; + displayName = $STR_DZ_WPN_M4A1_ACOG_SD_MFL_NAME; + + M4A1_ACOG; + + class Attachments + { + Attachment_M203 = "M4A1_GL_ACOG_SD_MFL_DZ"; + }; + + class ItemActions + { + class RemoveACOG + { + text = $STR_DZ_ATT_ACOG_RMVE; + script = "; ['Attachment_ACOG',_id,'M4A1_SD_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveSuppressor + { + text = $STR_ATTACHMENT_RMVE_Silencer; + script = "; ['Attachment_Sup556',_id,'M4A1_ACOG_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M4A1_ACOG_SD_DZ'] call player_removeAttachment"; + }; + }; +}; + //Grenade launcher class M4A1_GL_ACOG_DZ : M4A1_GL_DZ @@ -904,8 +1366,9 @@ class M4A1_GL_ACOG_DZ : M4A1_GL_DZ class Attachments { - Attachment_Sup556 = M4A1_GL_ACOG_SD_DZ; - Attachment_FL = M4A1_GL_ACOG_FL_DZ; + Attachment_Sup556 = "M4A1_GL_ACOG_SD_DZ"; + Attachment_FL = "M4A1_GL_ACOG_FL_DZ"; + Attachment_MFL = "M4A1_GL_ACOG_MFL_DZ"; }; class ItemActions @@ -933,7 +1396,7 @@ class M4A1_GL_ACOG_FL_DZ : M4A1_GL_FL_DZ class Attachments { - Attachment_Sup556 = M4A1_GL_ACOG_SD_FL_DZ; + Attachment_Sup556 = "M4A1_GL_ACOG_SD_FL_DZ"; }; class ItemActions @@ -956,6 +1419,39 @@ class M4A1_GL_ACOG_FL_DZ : M4A1_GL_FL_DZ }; }; +class M4A1_GL_ACOG_MFL_DZ : M4A1_GL_MFL_DZ +{ + model = "z\addons\dayz_communityweapons\m4a1\m4a1_gl_acog_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m4a1\data\w_m4a1_gl_acog_fl_ca.paa"; + displayName = $STR_DZ_WPN_M4A1_GL_ACOG_MFL_NAME; + + M4A1_ACOG; + + class Attachments + { + Attachment_Sup556 = "M4A1_GL_ACOG_SD_MFL_DZ"; + }; + + class ItemActions + { + class RemoveACOG + { + text = $STR_DZ_ATT_ACOG_RMVE; + script = "; ['Attachment_ACOG',_id,'M4A1_GL_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'M4A1_ACOG_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M4A1_GL_ACOG_DZ'] call player_removeAttachment"; + }; + }; +}; + class M4A1_GL_ACOG_SD_DZ : M4A1_GL_SD_DZ { model = "z\addons\dayz_communityweapons\m4a1\m4a1_gl_acog_sd.p3d"; @@ -966,7 +1462,8 @@ class M4A1_GL_ACOG_SD_DZ : M4A1_GL_SD_DZ class Attachments { - Attachment_FL = M4A1_GL_ACOG_SD_FL_DZ; + Attachment_FL = "M4A1_GL_ACOG_SD_FL_DZ"; + Attachment_MFL = "M4A1_GL_ACOG_SD_MFL_DZ"; }; class ItemActions @@ -1024,6 +1521,42 @@ class M4A1_GL_ACOG_SD_FL_DZ : M4A1_GL_SD_FL_DZ }; }; +class M4A1_GL_ACOG_SD_MFL_DZ : M4A1_GL_SD_MFL_DZ +{ + model = "z\addons\dayz_communityweapons\m4a1\m4a1_gl_acog_sd_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\m4a1\data\w_m4a1_gl_acog_sd_fl_ca.paa"; + displayName = $STR_DZ_WPN_M4A1_GL_ACOG_SD_MFL_NAME; + + M4A1_ACOG; + + class Attachments {}; + + class ItemActions + { + class RemoveACOG + { + text = $STR_DZ_ATT_ACOG_RMVE; + script = "; ['Attachment_ACOG',_id,'M4A1_GL_SD_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'M4A1_ACOG_SD_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveSuppressor + { + text = $STR_ATTACHMENT_RMVE_Silencer; + script = "; ['Attachment_Sup556',_id,'M4A1_GL_ACOG_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'M4A1_GL_ACOG_SD_DZ'] call player_removeAttachment"; + }; + }; +}; + #undef M4A1_FLASHLIGHT +#undef M4A1_MFLASHLIGHT #undef M4A1_M203 -#undef M4A1_ACOG \ No newline at end of file +#undef M4A1_ACOG diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/Mosin.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/Mosin.hpp index c4c34fdd..8bad16c9 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/Mosin.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/Mosin.hpp @@ -9,6 +9,17 @@ brightness = 0.1;\ }; +#define MOSIN_MFLASHLIGHT class FlashLight\ +{\ + color[] = {0.9, 0.0, 0.0, 0.9};\ + ambient[] = {0.1, 0.0, 0.0, 1.0};\ + position = "fl_start";\ + direction = "fl_dir";\ + angle = 40;\ + scale[] = {1, 1, 0.5};\ + brightness = 0.08;\ +}; + #define MOSIN_BELT magazineReloadTime = 4.7; #define MOSIN_BROKEN magazines[] = {}; @@ -57,6 +68,7 @@ class Mosin_DZ : Mosin_Base { Attachment_SCOPED = "Mosin_PU_DZ"; Attachment_FL = "Mosin_FL_DZ"; + Attachment_MFL = "Mosin_MFL_DZ"; Attachment_BELT = "Mosin_Belt_DZ"; }; }; @@ -91,6 +103,31 @@ class Mosin_FL_DZ : Mosin_DZ }; }; +class Mosin_MFL_DZ : Mosin_DZ +{ + model = "z\addons\dayz_communityweapons\models\mosin_nagant\mosin_1891_FL_animated"; + picture = "\z\addons\dayz_communityweapons\models\mosin_nagant\images\1891_FL.paa"; + displayName = $STR_DZ_WPN_MOSIN_MFL_NAME; + descriptionShort = $STR_DZ_WPN_MOSIN_DESC; + + MOSIN_MFLASHLIGHT + + class Attachments + { + Attachment_SCOPED = "Mosin_PU_MFL_DZ"; + Attachment_BELT = "Mosin_Belt_MFL_DZ"; + }; + + class ItemActions + { + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'Mosin_DZ'] call player_removeAttachment"; + }; + }; +}; + class Mosin_Belt_DZ : Mosin_DZ { model = "z\addons\dayz_communityweapons\models\mosin_nagant\mosin_1891_belt_animated"; @@ -104,6 +141,7 @@ class Mosin_Belt_DZ : Mosin_DZ { Attachment_SCOPED = "Mosin_PU_Belt_DZ"; Attachment_FL = "Mosin_Belt_FL_DZ"; + Attachment_MFL = "Mosin_Belt_MFL_DZ"; }; class ItemActions @@ -146,6 +184,36 @@ class Mosin_Belt_FL_DZ : Mosin_FL_DZ }; }; +class Mosin_Belt_MFL_DZ : Mosin_MFL_DZ +{ + model = "z\addons\dayz_communityweapons\models\mosin_nagant\mosin_1891_belt_FL_animated"; + picture = "\z\addons\dayz_communityweapons\models\mosin_nagant\images\1891B_FL.paa"; + displayName = $STR_DZ_WPN_MOSIN_BELT_MFL_NAME; + descriptionShort = $STR_DZ_WPN_MOSIN_DESC; + + MOSIN_BELT + + class Attachments + { + Attachment_SCOPED = "Mosin_PU_Belt_MFL_DZ"; + }; + + class ItemActions + { + class RemoveBelt + { + text = $STR_DZ_ATT_BELT_RMVE; + script = "; ['Attachment_BELT',_id,'Mosin_MFL_DZ'] call player_removeAttachment"; + }; + + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'Mosin_Belt_DZ'] call player_removeAttachment"; + }; + }; +}; + /* PU Scope */ @@ -171,6 +239,7 @@ class Mosin_PU_DZ : Mosin_Base class Attachments { Attachment_FL = "Mosin_PU_FL_DZ"; + Attachment_MFL = "Mosin_PU_MFL_DZ"; Attachment_BELT = "Mosin_PU_Belt_DZ"; }; @@ -214,6 +283,36 @@ class Mosin_PU_FL_DZ : Mosin_PU_DZ }; }; +class Mosin_PU_MFL_DZ : Mosin_PU_DZ +{ + model = "z\addons\dayz_communityweapons\models\mosin_nagant\mosin_1891_scoped_FL_animated"; + picture = "\z\addons\dayz_communityweapons\models\mosin_nagant\images\1891S_FL.paa"; + displayName = $STR_DZ_WPN_MOSIN_PU_MFL_NAME; + descriptionShort = $STR_DZ_WPN_MOSIN_DESC; + + MOSIN_MFLASHLIGHT + + class Attachments + { + Attachment_BELT = "Mosin_PU_Belt_MFL_DZ"; + }; + + class ItemActions + { + class RemoveScope + { + text = $STR_DZ_ATT_PU_RMVE; + script = "; ['Attachment_SCOPED',_id,'Mosin_MFL_DZ'] call player_removeAttachment"; + }; + + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'Mosin_PU_DZ'] call player_removeAttachment"; + }; + }; +}; + class Mosin_PU_Belt_DZ : Mosin_PU_DZ { model = "z\addons\dayz_communityweapons\models\mosin_nagant\mosin_1891_belt_scoped_animated"; @@ -226,6 +325,7 @@ class Mosin_PU_Belt_DZ : Mosin_PU_DZ class Attachments { Attachment_FL = "Mosin_PU_Belt_FL_DZ"; + Attachment_MFL = "Mosin_PU_Belt_MFL_DZ"; }; class ItemActions @@ -277,5 +377,39 @@ class Mosin_PU_Belt_FL_DZ : Mosin_PU_FL_DZ }; }; +class Mosin_PU_Belt_MFL_DZ : Mosin_PU_MFL_DZ +{ + model = "z\addons\dayz_communityweapons\models\mosin_nagant\mosin_1891_belt_scoped_FL_animated"; + picture = "\z\addons\dayz_communityweapons\models\mosin_nagant\images\1891SB_FL.paa"; + displayName = $STR_DZ_WPN_MOSIN_PU_BELT_MFL_NAME; + descriptionShort = $STR_DZ_WPN_MOSIN_DESC; + + MOSIN_BELT + + class Attachments {}; + + class ItemActions + { + class RemoveScope + { + text = $STR_DZ_ATT_PU_RMVE; + script = "; ['Attachment_SCOPED',_id,'Mosin_Belt_MFL_DZ'] call player_removeAttachment"; + }; + + class RemoveBelt + { + text = $STR_DZ_ATT_BELT_RMVE; + script = "; ['Attachment_BELT',_id,'Mosin_PU_MFL_DZ'] call player_removeAttachment"; + }; + + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'Mosin_PU_Belt_DZ'] call player_removeAttachment"; + }; + }; +}; + #undef MOSIN_FLASHLIGHT -#undef MOSIN_BELT \ No newline at end of file +#undef MOSIN_MFLASHLIGHT +#undef MOSIN_BELT diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/Remington870.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/Remington870.hpp index 1f09a74e..02714dd7 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/Remington870.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/Remington870.hpp @@ -9,6 +9,17 @@ brightness = 0.1;\ } +#define R870_MFLASHLIGHT class FlashLight\ +{\ + color[] = {0.9, 0.0, 0.0, 0.9};\ + ambient[] = {0.1, 0.0, 0.0, 1.0};\ + position = "flash dir";\ + direction = "flash";\ + angle = 30;\ + scale[] = {1, 1, 0.5};\ + brightness = 0.08;\ +} + class Remington870_DZ : Rifle { scope = public; @@ -49,6 +60,7 @@ class Remington870_DZ : Rifle class Attachments { Attachment_FL = "Remington870_FL_DZ"; + Attachment_MFL = "Remington870_MFL_DZ"; }; }; @@ -68,4 +80,22 @@ class Remington870_FL_DZ : Remington870_DZ script = "; ['Attachment_FL',_id,'Remington870_DZ'] call player_removeAttachment"; }; }; -}; \ No newline at end of file +}; + +class Remington870_MFL_DZ : Remington870_DZ +{ + model = "\dayz_weapons\models\Remington870_lamp.p3d"; + displayname = $STR_DZ_WPN_R870_MFL_NAME; + descriptionShort = $STR_DZ_WPN_R870_FL_DESC; + + R870_MFLASHLIGHT; + + class ItemActions + { + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'Remington870_DZ'] call player_removeAttachment"; + }; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/SA58.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/SA58.hpp index 409aa29f..3ebab18f 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/SA58.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/SA58.hpp @@ -9,6 +9,17 @@ brightness = 0.1;\ } +#define MFLASHLIGHT class FlashLight\ +{\ + color[] = {0.9, 0.0, 0.0, 0.9};\ + ambient[] = {0.1, 0.0, 0.0, 1.0};\ + position = "flash dir";\ + direction = "flash";\ + angle = 30;\ + scale[] = {1, 1, 0.5};\ + brightness = 0.08;\ +} + class SA58_DZ : Sa58V_EP1 { model = "z\addons\dayz_communityweapons\sa58\sa58.p3d"; @@ -24,7 +35,7 @@ class SA58_DZ : Sa58V_EP1 class Attachments { - Attachment_SA58RIS = SA58_RIS_DZ; + Attachment_SA58RIS = "SA58_RIS_DZ"; }; }; @@ -36,10 +47,20 @@ class SA58_RIS_DZ : SA58_DZ class Attachments { - Attachment_CCO = SA58_CCO_DZ; - Attachment_Holo = SA58_Holo_DZ; - Attachment_ACOG = SA58_ACOG_DZ; - Attachment_FL = SA58_RIS_FL_DZ; + Attachment_CCO = "SA58_CCO_DZ"; + Attachment_Holo = "SA58_Holo_DZ"; + Attachment_ACOG = "SA58_ACOG_DZ"; + Attachment_FL = "SA58_RIS_FL_DZ"; + Attachment_MFL = "SA58_RIS_MFL_DZ"; + }; + + class ItemActions + { + class RemoveRIS + { + text = $STR_DZ_ATT_RIS_RMVE; + script = "; ['Attachment_SA58RIS',_id,'SA58_DZ'] call player_removeAttachment"; + }; }; }; @@ -53,9 +74,9 @@ class SA58_RIS_FL_DZ : SA58_RIS_DZ class Attachments { - Attachment_CCO = SA58_CCO_FL_DZ; - Attachment_Holo = SA58_Holo_FL_DZ; - Attachment_ACOG = SA58_ACOG_FL_DZ; + Attachment_CCO = "SA58_CCO_FL_DZ"; + Attachment_Holo = "SA58_Holo_FL_DZ"; + Attachment_ACOG = "SA58_ACOG_FL_DZ"; }; class ItemActions @@ -68,6 +89,31 @@ class SA58_RIS_FL_DZ : SA58_RIS_DZ }; }; +class SA58_RIS_MFL_DZ : SA58_RIS_DZ +{ + model = "z\addons\dayz_communityweapons\sa58\sa58_ris_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\sa58\data\w_sa58_ris_fl_ca.paa"; + displayName = $STR_DZ_WPN_SA58_RIS_MFL_NAME; + + MFLASHLIGHT; + + class Attachments + { + Attachment_CCO = "SA58_CCO_MFL_DZ"; + Attachment_Holo = "SA58_Holo_MFL_DZ"; + Attachment_ACOG = "SA58_ACOG_MFL_DZ"; + }; + + class ItemActions + { + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'SA58_RIS_DZ'] call player_removeAttachment"; + }; + }; +}; + class SA58_CCO_DZ : SA58_RIS_DZ { model = "z\addons\dayz_communityweapons\sa58\sa58_cco.p3d"; @@ -82,7 +128,8 @@ class SA58_CCO_DZ : SA58_RIS_DZ class Attachments { - Attachment_FL = SA58_CCO_FL_DZ; + Attachment_FL = "SA58_CCO_FL_DZ"; + Attachment_MFL = "SA58_CCO_MFL_DZ"; }; class ItemActions @@ -120,6 +167,31 @@ class SA58_CCO_FL_DZ : SA58_CCO_DZ }; }; +class SA58_CCO_MFL_DZ : SA58_CCO_DZ +{ + model = "z\addons\dayz_communityweapons\sa58\sa58_cco_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\sa58\data\w_sa58_cco_fl_ca.paa"; + displayName = $STR_DZ_WPN_SA58_CCO_MFL_NAME; + + MFLASHLIGHT; + + class Attachments {}; + + class ItemActions + { + class RemoveCCO + { + text = $STR_DZ_ATT_CCO_RMVE; + script = "; ['Attachment_CCO',_id,'SA58_RIS_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'SA58_CCO_DZ'] call player_removeAttachment"; + }; + }; +}; + class SA58_Holo_DZ : SA58_CCO_DZ { model = "z\addons\dayz_communityweapons\sa58\sa58_holo.p3d"; @@ -128,7 +200,8 @@ class SA58_Holo_DZ : SA58_CCO_DZ class Attachments { - Attachment_FL = SA58_Holo_FL_DZ; + Attachment_FL = "SA58_Holo_FL_DZ"; + Attachment_MFL = "SA58_Holo_MFL_DZ"; }; class ItemActions @@ -166,6 +239,31 @@ class SA58_Holo_FL_DZ : SA58_Holo_DZ }; }; +class SA58_Holo_MFL_DZ : SA58_Holo_DZ +{ + model = "z\addons\dayz_communityweapons\sa58\sa58_holo_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\sa58\data\w_sa58_holo_fl_ca.paa"; + displayName = $STR_DZ_WPN_SA58_HOLO_MFL_NAME; + + MFLASHLIGHT; + + class Attachments {}; + + class ItemActions + { + class RemoveHolo + { + text = $STR_DZ_ATT_HOLO_RMVE; + script = "; ['Attachment_Holo',_id,'SA58_RIS_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'SA58_Holo_DZ'] call player_removeAttachment"; + }; + }; +}; + class SA58_ACOG_DZ : SA58_CCO_DZ { model = "z\addons\dayz_communityweapons\sa58\sa58_acog.p3d"; @@ -213,7 +311,8 @@ class SA58_ACOG_DZ : SA58_CCO_DZ class Attachments { - Attachment_FL = SA58_ACOG_FL_DZ; + Attachment_FL = "SA58_ACOG_FL_DZ"; + Attachment_MFL = "SA58_ACOG_MFL_DZ"; }; class ItemActions @@ -249,4 +348,29 @@ class SA58_ACOG_FL_DZ : SA58_ACOG_DZ script = "; ['Attachment_FL',_id,'SA58_ACOG_DZ'] call player_removeAttachment"; }; }; -}; \ No newline at end of file +}; + +class SA58_ACOG_MFL_DZ : SA58_ACOG_DZ +{ + model = "z\addons\dayz_communityweapons\sa58\sa58_acog_fl.p3d"; + picture = "\z\addons\dayz_communityweapons\sa58\data\w_sa58_acog_fl_ca.paa"; + displayName = $STR_DZ_WPN_SA58_ACOG_MFL_NAME; + + MFLASHLIGHT; + + class Attachments {}; + + class ItemActions + { + class RemoveACOG + { + text = $STR_DZ_ATT_ACOG_RMVE; + script = "; ['Attachment_ACOG',_id,'SA58_RIS_MFL_DZ'] call player_removeAttachment"; + }; + class RemoveFlashlight + { + text = $STR_DZ_ATT_FL_RFL_RMVE; + script = "; ['Attachment_MFL',_id,'SA58_ACOG_DZ'] call player_removeAttachment"; + }; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgWeapons/Tools/Etool.hpp b/SQF/dayz_code/Configs/CfgWeapons/Tools/Etool.hpp index 0f697f2e..dbbb61df 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Tools/Etool.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Tools/Etool.hpp @@ -9,22 +9,4 @@ class ItemEtool : ItemCore stashsmall = "StashSmall"; stashmedium = "StashMedium"; consume = "ItemSandbag"; - - class ItemActions - { - class Build - { - text = "Build Sandbag Fence"; - script = "; ['ItemEtool','Build'] spawn player_build; r_action_count = r_action_count + 1;"; - require[] = {"ItemEtool"}; - consume[] = {"ItemSandbag"}; - create = "Sandbag1_DZ"; - }; - - /*class Use - { - text=$STR_CREATE_STASH; - script="spawn player_createstash; r_action_count = r_action_count + 1;"; - };*/ - }; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgWeapons/Tools/Knife.hpp b/SQF/dayz_code/Configs/CfgWeapons/Tools/Knife.hpp index b29bc922..abf0b933 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Tools/Knife.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Tools/Knife.hpp @@ -53,4 +53,13 @@ class ItemKnifeBlunt : ItemKnife_Base { scope = public; descriptionShort = $STR_EQUIP_CODE_DESC_4; + sharpnessRemaining = "ItemKnifeBlunt"; + class ItemActions + { + class FixKnife + { + text = $STR_ACTIONS_FIX_KNIFE; + script = "; ['ItemKnifeBlunt','ItemKnife'] spawn player_sharpen;"; + }; + }; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgWeapons/Tools/Matchbox.hpp b/SQF/dayz_code/Configs/CfgWeapons/Tools/Matchbox.hpp index 35fb84fc..861f2d26 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Tools/Matchbox.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Tools/Matchbox.hpp @@ -17,14 +17,9 @@ class ItemMatchboxEmpty : ItemMatchbox_base //Loot Spawn Table. class ItemMatchbox : ItemMatchbox_base { - scope = public; - - class Ignators - { - chance = 0.12; - matches = -1; - qtyRemaining = "Item5Matchbox"; - }; + scope = public; + matches = -1; + qtyRemaining = "Item5Matchbox"; class ItemActions { @@ -41,50 +36,30 @@ class ItemMatchbox : ItemMatchbox_base class Item5Matchbox : ItemMatchbox { descriptionShort = $STR_EQUIP_DESC_3_A; - - class Ignators - { - matches = 5; - qtyRemaining = "Item4Matchbox"; - }; + matches = 5; + qtyRemaining = "Item4Matchbox"; }; class Item4Matchbox : ItemMatchbox { descriptionShort = $STR_EQUIP_DESC_3_B; - - class Ignators - { - qtyRemaining = "Item3Matchbox"; - matches = 4; - }; + qtyRemaining = "Item3Matchbox"; + matches = 4; }; class Item3Matchbox : ItemMatchbox { descriptionShort = $STR_EQUIP_DESC_3_C; - - class Ignators - { - qtyRemaining = "Item2Matchbox"; - matches = 3; - }; + qtyRemaining = "Item2Matchbox"; + matches = 3; }; class Item2Matchbox : ItemMatchbox { descriptionShort = $STR_EQUIP_DESC_3_D; - - class Ignators - { - qtyRemaining = "Item1Matchbox"; - matches = 2; - }; + qtyRemaining = "Item1Matchbox"; + matches = 2; }; class Item1Matchbox : ItemMatchbox { descriptionShort = $STR_EQUIP_DESC_3_E; - - class Ignators - { - qtyRemaining = "ItemMatchboxEmpty"; - matches = 1; - }; + qtyRemaining = "ItemMatchboxEmpty"; + matches = 1; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgWeapons/Tools/Shovel.hpp b/SQF/dayz_code/Configs/CfgWeapons/Tools/Shovel.hpp index 842aa8bb..a7c41069 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Tools/Shovel.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Tools/Shovel.hpp @@ -10,15 +10,7 @@ class ItemShovel : ItemCore stashsmall = "StashSmall"; stashmedium = "StashMedium"; consume = "ItemSandbag"; - - class ItemActions - { - class Use - { - text = $STR_CREATE_STASH; - script = "spawn player_createstash; r_action_count = r_action_count + 1;"; - }; - }; + }; class ItemShovelBroken : ItemCore @@ -27,6 +19,6 @@ class ItemShovelBroken : ItemCore model = "\z\addons\dayz_communityassets\models\shovel.p3d"; picture = "\z\addons\dayz_communityassets\pictures\equip_shovel_ca.paa"; - displayName = "Broken Shovel"; - descriptionShort = $STR_EQUIP_DESC_1b; + displayName = $STR_EQUIP_NAME_1b_BROKEN; + descriptionShort = $STR_EQUIP_DESC_1b_BROKEN; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/RscDisplay/RscDisplayGear.hpp b/SQF/dayz_code/Configs/RscDisplay/RscDisplayGear.hpp index c8b479e2..96574271 100644 --- a/SQF/dayz_code/Configs/RscDisplay/RscDisplayGear.hpp +++ b/SQF/dayz_code/Configs/RscDisplay/RscDisplayGear.hpp @@ -4,10 +4,8 @@ class RscDisplayGear enableDisplay = 1; movingEnable = 0; - //onLoad = "[] spawn object_monitorGear; {player removeMagazines _x} count MeleeMagazines; call gear_ui_init; call ui_gear_sound; if (isNil('IGUI_GEAR_activeFilter')) then { IGUI_GEAR_activeFilter = 0;}; [_this,'onLoad'] execVM '\z\addons\dayz_code\system\handleGear.sqf'";/* diag_log 'RscDisplayGear : : onLoad'; */ - //onUnload = "{player removeMagazines _x} count MeleeMagazines; call player_forceSave; call dayz_meleeMagazineCheck;"; /* diag_log 'RscDisplayGear : : onunLoad'; */ - onLoad = "false call dz_fn_meleeMagazines; [] spawn object_monitorGear; call gear_ui_init; call ui_gear_sound; if (isNil 'IGUI_GEAR_activeFilter') then {IGUI_GEAR_activeFilter = 0}; [_this, 'onLoad'] execVM '\z\addons\dayz_code\system\handleGear.sqf'"; - onUnload = "true call dz_fn_meleeMagazines; call player_selectWeapon; call player_forceSave;"; + onLoad = "false call dz_fn_meleeMagazines; dayz_gearThread = cursorTarget spawn object_monitorGear; call gear_ui_init; call ui_gear_sound; if (isNil 'IGUI_GEAR_activeFilter') then {IGUI_GEAR_activeFilter = 0}; [_this, 'onLoad'] execVM '\z\addons\dayz_code\system\handleGear.sqf'"; + onUnload = "true call dz_fn_meleeMagazines; terminate dayz_gearThread; call player_selectWeapon; call player_forceSave;"; onMouseMoving = "[] call gear_ui_hide;"; onMouseHolding = "[] call gear_ui_hide;"; @@ -316,7 +314,7 @@ class RscDisplayGear x = -2; style = 2048; onSetFocus = "[_this,'onFocus'] execVM '\z\addons\dayz_code\system\handleGear.sqf'"; - onButtonClick = "{player removeMagazines _x} count MeleeMagazines; [_this,'onLBListSelChanged'] execVM '\z\addons\dayz_code\system\handleGear.sqf'"; + onButtonClick = "false call dz_fn_meleeMagazines; [_this,'onLBListSelChanged'] execVM '\z\addons\dayz_code\system\handleGear.sqf'"; text = "<"; }; @@ -351,7 +349,7 @@ class RscDisplayGear idc = 147; x = -2; onSetFocus = "[_this,""onFocus""] execVM '\z\addons\dayz_code\system\handleGear.sqf'"; - onButtonClick = "{player removeMagazines _x} count MeleeMagazines; [_this,""onLBListSelChanged""] execVM '\z\addons\dayz_code\system\handleGear.sqf'"; + onButtonClick = "false call dz_fn_meleeMagazines; [_this,""onLBListSelChanged""] execVM '\z\addons\dayz_code\system\handleGear.sqf'"; text = ">"; }; }; diff --git a/SQF/dayz_code/Configs/RscDisplay/RscDisplayGearMinimal.hpp b/SQF/dayz_code/Configs/RscDisplay/RscDisplayGearMinimal.hpp new file mode 100644 index 00000000..4210d202 --- /dev/null +++ b/SQF/dayz_code/Configs/RscDisplay/RscDisplayGearMinimal.hpp @@ -0,0 +1,237 @@ +/* + createGearDialog [player, "RscDisplayGearMinimal"]; +*/ + +class RscDisplayGearMinimal +{ + idd = 106; + enableDisplay = 0; + movingEnable = 0; + + emptyGun = ""; + emptySec = ""; + emptyEq = ""; + emptyMag = ""; + emptyMag2 = ""; + emptyHGun = ""; + emptyHGunMag = ""; + class controlsBackground { + }; + class objects { + }; + class controls + { + class G_GearItems : RscControlsGroup + { + idc = 160; + x = 0.465; + y = 0.104; + w = 0.533; + h = 0.928; + + class Controls + { + delete B_Close; + delete B_Rearm; + delete B_OpenBag; + delete B_CloseBag; + delete Title; + delete SoldiersValue; + delete Pool; + delete Skill; + delete Vehicle; + delete Weapons; + delete B_Remove; + delete B_Add; + class CA_Gear_slot_item1 : RscActiveText + { + idc = 109; + x = 0; + y = 0; + w = 0.064; + h = 0.085; + style = "0x30 + 0x800"; + onMouseButtonDown = "_this call player_selectSlot;"; + soundDoubleClick[] = {"",0.1,1}; + color[] = {1,1,1,1}; + colorBackground[] = {0.84,0.8,0.72,0.2}; + colorBackgroundSelected[] = {0.84,0.8,0.72,0.2}; + colorFocused[] = {0,0,0,0}; + }; + + class CA_Gear_slot_item2 : CA_Gear_slot_item1 + { + idc = 110; + x = 0.069; + y = 0; + w = 0.064; + h = 0.085; + }; + + class CA_Gear_slot_item3 : CA_Gear_slot_item1 + { + idc = 111; + x = 0; + y = 0.091; + w = 0.064; + h = 0.085; + }; + + class CA_Gear_slot_item4 : CA_Gear_slot_item1 + { + idc = 112; + x = 0.069; + y = 0.091; + w = 0.064; + h = 0.085; + }; + + class CA_Gear_slot_item5 : CA_Gear_slot_item1 + { + idc = 113; + x = 0; + y = 0.181; + w = 0.064; + h = 0.085; + }; + + class CA_Gear_slot_item6 : CA_Gear_slot_item1 + { + idc = 114; + x = 0.069; + y = 0.181; + w = 0.064; + h = 0.085; + }; + + class CA_Gear_slot_item7 : CA_Gear_slot_item1 + { + idc = 115; + x = 0; + y = 0.272; + w = 0.064; + h = 0.085; + }; + + class CA_Gear_slot_item8 : CA_Gear_slot_item1 + { + idc = 116; + x = 0.069; + y = 0.272; + w = 0.064; + h = 0.085; + }; + + class CA_Gear_slot_item9 : CA_Gear_slot_item1 + { + idc = 117; + x = 0; + y = 0.364; + w = 0.064; + h = 0.085; + }; + + class CA_Gear_slot_item10 : CA_Gear_slot_item1 + { + idc = 118; + x = 0.069; + y = 0.364; + w = 0.064; + h = 0.085; + }; + + class CA_Gear_slot_item11 : CA_Gear_slot_item1 + { + idc = 119; + x = 0; + y = 0.457; + w = 0.064; + h = 0.085; + }; + + class CA_Gear_slot_item12 : CA_Gear_slot_item1 + { + idc = 120; + x = 0.069; + y = 0.457; + w = 0.064; + h = 0.085; + }; + + class CA_Gear_slot_handgun_item1 : CA_Gear_slot_item1 + { + idc = 122; + x = 0.138; + y = 0.559; + w = 0.064; + h = 0.085; + colorBackground[] = {0.69,0.86,0.38,0.2}; + colorBackgroundSelected[] = {0.5,0.58,0.38,0.8}; + }; + + class CA_Gear_slot_handgun_item2 : CA_Gear_slot_handgun_item1 + { + idc = 123; + x = 0.207; + y = 0.559; + w = 0.064; + h = 0.085; + }; + + class CA_Gear_slot_handgun_item3 : CA_Gear_slot_handgun_item1 + { + idc = 124; + x = 0.275; + y = 0.559; + w = 0.064; + h = 0.085; + }; + + class CA_Gear_slot_handgun_item4 : CA_Gear_slot_handgun_item1 + { + idc = 125; + x = 0.345; + y = 0.559; + w = 0.064; + h = 0.085; + }; + + class CA_Gear_slot_handgun_item5 : CA_Gear_slot_handgun_item1 + { + idc = 126; + x = 0.138; + y = 0.65; + w = 0.064; + h = 0.085; + }; + + class CA_Gear_slot_handgun_item6 : CA_Gear_slot_handgun_item1 + { + idc = 127; + x = 0.207; + y = 0.65; + w = 0.064; + h = 0.085; + }; + + class CA_Gear_slot_handgun_item7 : CA_Gear_slot_handgun_item1 + { + idc = 128; + x = 0.275; + y = 0.65; + w = 0.064; + h = 0.085; + }; + + class CA_Gear_slot_handgun_item8 : CA_Gear_slot_handgun_item1 + { + idc = 129; + x = 0.345; + y = 0.65; + w = 0.064; + h = 0.085; + }; + }; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/RscDisplay/RscMap.hpp b/SQF/dayz_code/Configs/RscDisplay/RscMap.hpp index 9d77d01b..c2e917dc 100644 --- a/SQF/dayz_code/Configs/RscDisplay/RscMap.hpp +++ b/SQF/dayz_code/Configs/RscDisplay/RscMap.hpp @@ -27,8 +27,6 @@ class RscDisplayMainMap h = "0.832"; colorBackground[] = {0.30,0.30,0.30,0.85}; }; - - class DiaryList: RscIGUIListBox { idc = 1001; @@ -42,4 +40,10 @@ class RscDisplayMainMap h = "0"; }; }; +}; + +class RscDisplayInsertMarker +{ + idd = 54; + onUnload = "if (!isNil 'player_markMap') then {(_this select 0) call player_markMap;};"; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/RscDisplay/RscPlayerUI.hpp b/SQF/dayz_code/Configs/RscDisplay/RscPlayerUI.hpp index 05b7cbf6..a8470c0b 100644 --- a/SQF/dayz_code/Configs/RscDisplay/RscPlayerUI.hpp +++ b/SQF/dayz_code/Configs/RscDisplay/RscPlayerUI.hpp @@ -315,4 +315,69 @@ class RscTitles }; }; }; -}; + class DZ_BlackScreen { + idd = -1; + movingEnable = 0; + enableSimulation = 1; + enableDisplay = 1; + onLoad = "uiNamespace setVariable ['DZ_BlackScreen', _this select 0];"; + duration = 1e+011; + fadein = 0; + fadeout = 0; + + class controls { + class Background: RscText { + idc = -1; + x = safezoneX; + y = safezoneY; + w = safezoneW; + h = safezoneH; + text = ""; + colorText[] = {0,0,0,0}; + colorBackground[] = {0,0,0,1}; + }; + class Text: RscText { + idc = 1; + x = 0.3 * safezoneW + safezoneX; + y = 0.859137 * safezoneH + safezoneY; + w = 0.400445 * safezoneW; + h = 0.139148 * safezoneH; + text = ""; + style = 0x02 + 0x10 + 0x200; + lineSpacing = 1; + sizeEx = 0.034; + }; + }; + }; + class RSC_DZ_Messages { + idd = -1; + movingEnable = 0; + fadein = 0; + fadeout = 5; + duration = 6; + onLoad = "uinamespace setvariable ['DZ_Messages',_this select 0]"; + onUnLoad = "uinamespace setvariable ['DZ_Messages',nil]"; + class Controls { + class Message_Text: RscStructuredText + { + idc = 3; + text = ""; + x = 0.3 * safezoneW + safezoneX; + y = 0.859137 * safezoneH + safezoneY; + w = 0.400445 * safezoneW; + h = 0.139148 * safezoneH; + colorText[] = {0,0,0,1}; + colorBackground[] = {0,0,0,0}; + sizeEx = 14 * GUI_GRID_H; + shadow = 1; + class Attributes + { + color = "#FFFFFF"; + shadow = 1; + valign = "top"; + align = "center"; + }; + }; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/RscDisplay/includes.hpp b/SQF/dayz_code/Configs/RscDisplay/includes.hpp index 3ca94418..f7fc7023 100644 --- a/SQF/dayz_code/Configs/RscDisplay/includes.hpp +++ b/SQF/dayz_code/Configs/RscDisplay/includes.hpp @@ -1,5 +1,6 @@ #include "RscDisplayCraftingMenu.hpp" #include "RscDisplayGear.hpp" +#include "RscDisplayGearMinimal.hpp" #include "RscDisplayGenderSelect.hpp" #include "RscDisplaySpawnSelecter.hpp" #include "RscPlayerUI.hpp" diff --git a/SQF/dayz_code/Configs/rscTitles.hpp b/SQF/dayz_code/Configs/rscTitles.hpp index a766d51b..83d530f9 100644 --- a/SQF/dayz_code/Configs/rscTitles.hpp +++ b/SQF/dayz_code/Configs/rscTitles.hpp @@ -9,7 +9,6 @@ class RscIGUIShortcutButton; class RscGearShortcutButton; class RscIGUIListNBox; class RscActiveText; - class RscPictureKeepAspect; class RscStandardDisplay; class RscProgress; @@ -18,11 +17,13 @@ class RscButtonTextOnly; class RscObject; class IGUIBack; class RscIGUIListBox; +class RscXListBox; +class RscShortcutButton; class RscHTML; class RscDisplayEmpty; #include "CfgPlayerStats\defines.hpp" -#include "CfgPlayerStats\p__cover.hpp" +#include "CfgPlayerStats\p_cover.hpp" #include "CfgPlayerStats\p_journal_humanity.hpp" #include "CfgPlayerStats\p_humanity_art.hpp" #include "CfgPlayerStats\p_zombies_killed.hpp" @@ -35,7 +36,58 @@ class RscDisplayMission: RscDisplayEmpty { access = 0; idd = 46; - onKeyDown = "if (!isNil 'DZ_KeyDown_EH') then {_this call DZ_KeyDown_EH;};"; //assigned much quicker than spawning init_keyboard + onKeyDown = "_handled = if (isNil 'DZ_KeyDown_EH') then {false} else {_this call DZ_KeyDown_EH}; _handled"; //assigned much quicker than spawning init_keyboard +}; +class RscDisplayConfigure { + idd = 4; + onUnload = "if (!isNil 'updateControlsHandle') then {terminate updateControlsHandle;}; if (!isNil 'ui_updateControls') then {updateControlsHandle = true spawn ui_updateControls;};"; +}; +class RscDisplayGameOptions { + onLoad = "{(_this select 0) displayCtrl 140 lbAdd _x;} forEach [localize 'STR_DISABLED',localize 'STR_ENABLED']; (_this select 0) displayCtrl 140 lbSetCurSel (profileNamespace getVariable ['streamerMode',0]); uiNamespace setVariable ['streamerMode',(profileNamespace getVariable ['streamerMode',0])];"; + onUnload = "call ui_changeDisplay;"; + class controls { + delete CA_ButtonDefault; //Opens non-functional difficulty selection dialog, player can not select difficulty in MP + class CA_TextLanguage : RscText { + x = 0.159803; + y = (0.420549 + -2*0.069854); + text = $STR_DISP_OPT_LANGUAGE; + }; + class CA_ValueLanguage : RscXListBox { + idc = 135; + x = 0.400534; + y = (0.420549 + -2*0.069854); + w = 0.3; + }; + class CA_TextStreamerMode : CA_TextLanguage { + x = 0.159803; + y = (0.420549 + 4*0.069854); + text = $STR_UI_STREAMER_MODE; + }; + class CA_ValueStreamerMode : CA_ValueLanguage { + idc = 140; + y = (0.420549 + 4*0.069854); + tooltip = $STR_UI_STREAMER_MODE_TOOLTIP; + onLBSelChanged = "profileNamespace setVariable ['streamerMode',(lbCurSel (_this select 0))];"; + }; + class CA_ButtonCancel : RscShortcutButton { + idc = 2; + shortcuts[] = {0x00050000 + 1}; + x = 0.151; + y = 0.7625; + text = $STR_DISP_CANCEL; + //reset to original value + onButtonClick = "profileNamespace setVariable ['streamerMode',(uiNamespace getVariable 'streamerMode')]; saveProfileNamespace; if (!isNil 'player_toggleStreamerMode') then {call player_toggleStreamerMode;};"; + }; + class CA_ButtonContinue : RscShortcutButton { + idc = 1; + shortcuts[] = {0x00050000 + 0, 28, 57, 156}; + x = 0.525; + y = 0.7625; + text = $STR_DISP_OK; + default = 1; + onButtonClick = "saveProfileNamespace; if (!isNil 'player_toggleStreamerMode') then {call player_toggleStreamerMode;};"; + }; + }; }; class RscPictureGUI @@ -138,7 +190,6 @@ class RscDisplayDebriefing: RscStandardDisplay delete Mainback; }; }; -class RscShortcutButton; class RscShortcutButtonMain; @@ -157,6 +208,9 @@ class RscDisplayMultiplayerSetup: RscStandardDisplay guerLocked = "ca\ui\data\flag_none_ca.paa"; civlUnlocked = "ca\ui\data\flag_none_ca.paa"; civlLocked = "ca\ui\data\flag_none_ca.paa"; + colorNotAssigned[] = {0, 1, 0, 1}; + colorAssigned[] = {0, 1, 0, 1}; + colorConfirmed[] = {0, 1, 0, 1}; onload = "with uiNameSpace do{RscDisplayMultiplayerSetup=_this select 0};"; //#70 onMouseHolding = "with uiNameSpace do { switch (1 == 1) do { case(isNil 'RscDMSLoad'): { RscDMSLoad = diag_tickTime; }; case(RscDMSLoad == -1): {}; case(RscDMSLoad == -2): {}; case(diag_tickTime - RscDMSLoad > 7): { RscDMSLoad = diag_tickTime; }; case(diag_tickTime - RscDMSLoad > 5): { ctrlActivate ((_this select 0) displayCtrl 1); RscDMSLoad = -1; }; }; };"; @@ -299,19 +353,18 @@ class RscDisplayMultiplayerSetup: RscStandardDisplay class CA_ValuePool: RscIGUIListBox { idc = 114; - text = "Players"; + text = $STR_MP_PLAYERS; x = "(2/100) * SafeZoneW + SafeZoneX"; // to left w = "(96/100) * SafeZoneW"; // wide }; - class CA_ButtonCancel: RscShortcutButton - { + class CA_ButtonCancel: RscShortcutButton { idc = 2; default = 0; - shortcuts[] = {"0x00050000 + 1"}; + shortcuts[] = {0x00050000 + 1}; x = "(68/100) * SafeZoneW + SafeZoneX"; y = "(93/100) * SafeZoneH + SafeZoneY"; w = 0.203825; - text = "$STR_DISP_BACK"; + text = $STR_DISP_BACK; onButtonClick = "with uiNameSpace do {RscDMSLoad=nil;};"; // autologon at logon on next server }; }; @@ -358,33 +411,6 @@ class RscDisplayMissionFail: RscStandardDisplay }; }; - -class CA_TextLanguage; -class RscXListBox; - -class RscDisplayGameOptions -{ - //onLoad = "((_this select 0) displayCtrl 140) lbAdd 'Default';((_this select 0) displayCtrl 140) lbAdd 'Debug';((_this select 0) displayCtrl 140) lbAdd 'None';((_this select 0) displayCtrl 140) lbSetCurSel (uiNamespace getVariable ['DZ_displayUI', 0]);"; - onUnload = "call ui_changeDisplay;"; /*diag_log[diag_tickTime,'RscDisplayGameOptions'];*/ - /*class controls - { - class CA_TextUIDisplay: CA_TextLanguage - { - x = 0.159803; - y = "(0.420549 + 4*0.069854)"; - text = "DayZ UI:"; - }; - class CA_ValueUIDisplay: RscXListBox - { - idc = 140; - x = 0.400534; - y = "(0.420549 + 4*0.069854)"; - w = 0.3; - onLBSelChanged = "(uiNamespace setVariable ['DZ_displayUI', (_this select 1)]);"; - }; - };*/ -}; - class RscDisplayMain : RscStandardDisplay { class controlsBackground @@ -402,7 +428,7 @@ class RscDisplayMain : RscStandardDisplay text = "z\addons\dayz_code\gui\mod.paa"; }; }; - + class controls { class CA_Version; @@ -492,7 +518,7 @@ class RscDisplayMPInterrupt : RscStandardDisplay { movingEnable = 0; enableSimulation = 1; //onLoad = "_dummy = ['Init', _this] execVM '\ca\ui\scripts\pauseLoadinit.sqf'; [(_this select 0)] execVM '\z\addons\dayz_code\compile\player_onPause.sqf';"; _respawn = (_this select 0) displayCtrl 1010); _respawn ctrlEnable false; _abort = (_this select 0) displayCtrl 104); _abort ctrlEnable false; - onLoad = "uiNamespace setVariable ['RscDisplayMPInterrupt', _this select 0];[] execVM '\z\addons\dayz_code\compile\player_onPause.sqf'; _dummy = ['Init', _this] execVM '\ca\ui\scripts\pauseLoadinit.sqf';"; /*diag_log[diag_tickTime,'RscDisplayMPInterrupt'];*/ + onLoad = "uiNamespace setVariable ['RscDisplayMPInterrupt', _this select 0]; {(_this select 0 displayCtrl _x) ctrlEnable false} count [1010,104]; [] execVM '\z\addons\dayz_code\compile\player_onPause.sqf'; _dummy = ['Init', _this] execVM '\ca\ui\scripts\pauseLoadinit.sqf';"; /*diag_log[diag_tickTime,'RscDisplayMPInterrupt'];*/ onUnload = "uiNamespace setVariable ['RscDisplayMPInterrupt', nil];['Unload', _this] execVM '\ca\ui\scripts\pauseOnUnload.sqf';"; class controlsBackground { @@ -563,7 +589,7 @@ class RscDisplayMPInterrupt : RscStandardDisplay { class CA_B_Respawn : CA_B_SAVE { idc = 1010; //onButtonClick = "hint str (_this select 0);"; - onButtonClick = "if ((alive player) && (r_fracture_legs)) then { player SetDamage 1;};"; + onButtonClick = "if ((alive player) && (r_fracture_legs)) then { [player,'suicide'] call player_death; };"; y = 0.2537 + 0.101903 * 2; text = $STR_DISP_INT_RESPAWN; default = 0; diff --git a/SQF/dayz_code/actions/ammo.sqf b/SQF/dayz_code/actions/ammo.sqf index d72f9fab..ff7dfc08 100644 --- a/SQF/dayz_code/actions/ammo.sqf +++ b/SQF/dayz_code/actions/ammo.sqf @@ -1,9 +1,9 @@ private ["_array","_vehicle","_weapon","_turret","_ammo","_text","_magazines","_ammoType"]; -_array = _this select 3; -_vehicle = _array select 0; -_weapon = _array select 1; -_turret = _array select 2; +//_array = _this select 3; +_vehicle = _this select 0; +_weapon = _this select 1; +_turret = _this select 2; _ammo = ""; _text = []; @@ -20,7 +20,7 @@ if (_ammo != "") then { _vehicle removeMagazineTurret [_ammo,_turret]; _vehicle addMagazineTurret [_ammo,_turret]; player removeMagazine _ammo; - cutText [format [localize "str_player_ammo_successful",_ammoType], "PLAIN DOWN"]; + format[localize "str_player_ammo_successful",_ammoType] call dayz_rollingMessages; } else { - cutText [format [localize "str_player_ammo_fail",_text], "PLAIN DOWN"]; + format[localize "str_player_ammo_fail",_text] call dayz_rollingMessages; }; \ No newline at end of file diff --git a/SQF/dayz_code/actions/boil.sqf b/SQF/dayz_code/actions/boil.sqf index 31bcc075..9f6c0d2c 100644 --- a/SQF/dayz_code/actions/boil.sqf +++ b/SQF/dayz_code/actions/boil.sqf @@ -1,66 +1,51 @@ -private ["_bottletext","_tin1text","_tin2text","_tintext","_hasbottleitem","_hastinitem","_qty","_dis","_sfx","_bottleInfected","_msg"]; +private ["_bottletext","_tin1text","_tin2text","_tintext","_hastinitem","_qty","_dis","_sfx","_finished"]; + +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; _bottletext = getText (configFile >> "CfgMagazines" >> "ItemWaterBottle" >> "displayName"); _tin1text = getText (configFile >> "CfgMagazines" >> "TrashTinCan" >> "displayName"); _tin2text = getText (configFile >> "CfgMagazines" >> "ItemSodaEmpty" >> "displayName"); _tintext = format["%1 / %2",_tin1text,_tin2text]; -_hasbottleitem = (("ItemWaterBottle" in magazines player) || {"ItemWaterBottleInfected" in magazines player} || {"ItemWaterBottleSafe" in magazines player}); -_hastinitem = false; +_qty = {_x in ["ItemWaterBottleInfected","ItemWaterBottle","ItemWaterBottleSafe"]} count magazines player; a_player_boil = true; player removeAction s_player_boil; //s_player_boil = -1; -_bottleInfected = if ("ItemWaterBottleInfected" in magazines player) then {true} else {false}; - -{ - if (_x in magazines player) exitWith {_hastinitem = true;}; -} count boil_tin_cans; +_hastinitem = {_x in magazines player} count boil_tin_cans > 0; +if (!_hastinitem) exitWith {format[localize "str_player_31",_tintext,localize "str_player_31_fill"] call dayz_rollingMessages; a_player_boil = false; dayz_actionInProgress = false;}; -if (!_hasbottleitem) exitWith {cutText [format [localize "str_player_31",_bottletext,localize "str_player_31_fill"] , "PLAIN DOWN"]; a_player_boil = false;}; -if (!_hastinitem) exitWith {cutText [format [localize "str_player_31",_tintext,localize "str_player_31_fill"] , "PLAIN DOWN"]; a_player_boil = false;}; - -if (_hasbottleitem and _hastinitem) then { - _qty = 0; - _qty = _qty + ({_x == "ItemWaterBottleInfected"} count magazines player); - _qty = _qty + ({_x == "ItemWaterBottle"} count magazines player); - _qty = _qty + ({_x == "ItemWaterBottleSafe"} count magazines player); - - player playActionNow "Medic"; - uiSleep 1; +if (_qty > 0) then { _dis=10; _sfx = "cook"; [player,_sfx,0,false,_dis] call dayz_zombieSpeak; [player,_dis,true,(getPosATL player)] call player_alertZombies; - uiSleep 5; + _finished = ["Medic",1] call fn_loopAction; + + // Double check player did not drop item + _qty = {_x in ["ItemWaterBottleInfected","ItemWaterBottle","ItemWaterBottleSafe"]} count magazines player; + + if (_qty == 0 or !_finished) exitWith {}; + for "_x" from 1 to _qty do { - if ("ItemWaterBottleInfected" in magazines player) then { - player removeMagazine "ItemWaterBottleInfected"; - } else { - if ("ItemWaterBottleSafe" in magazines player) then { - player removeMagazine "ItemWaterBottleSafe"; - } else { - player removeMagazine "ItemWaterBottle"; - }; + switch (true) do { + case ("ItemWaterBottleInfected" in magazines player): { player removeMagazine "ItemWaterBottleInfected"; }; + case ("ItemWaterBottleSafe" in magazines player): { player removeMagazine "ItemWaterBottleSafe"; }; + case ("ItemWaterBottle" in magazines player): { player removeMagazine "ItemWaterBottle"; }; }; if ([0.1] call fn_chance) then { player addMagazine "ItemWaterBottleDmg"; - //systemChat (localize ("str_waterbottle_broke")); - _msg = localize "str_waterbottle_broke"; - _msg call dayz_rollingMessages; + localize "str_waterbottle_broke" call dayz_rollingMessages; } else { player addMagazine "ItemWaterBottleBoiled"; }; }; - //cutText [format [localize "str_player_boiledwater",_qty], "PLAIN DOWN"]; - _msg = format [localize "str_player_boiledwater",_qty]; - _msg call dayz_rollingMessages; + format [localize "str_player_boiledwater",_qty] call dayz_rollingMessages; } else { - //cutText [localize "str_player_02", "PLAIN DOWN"]; - _msg = format [localize "str_player_boiledwater",_qty]; - _msg = localize "str_player_02"; - _msg call dayz_rollingMessages; + format[localize "str_player_31",_bottletext,localize "str_player_31_fill"] call dayz_rollingMessages; }; -a_player_boil = false; \ No newline at end of file +a_player_boil = false; +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/checkclass.sqf b/SQF/dayz_code/actions/checkclass.sqf deleted file mode 100644 index f2e2fa93..00000000 --- a/SQF/dayz_code/actions/checkclass.sqf +++ /dev/null @@ -1,12 +0,0 @@ -private ["_object_type","_fuellevels","_dmglevels"]; - -_object_type = typeOf cursorTarget; -_fuellevels = fuel cursorTarget; -_dmglevels = damage cursorTarget; - -//remove action menu -player removeAction s_player_debugCheck; -s_player_debugCheck = -1; - -hintSilent format ["Object: %1, Fuel: %2, Damage: %3", _object_type, _fuellevels, _dmglevels]; -diag_log format ["Object: %1, Fuel: %2, Damage: %3", _object_type, _fuellevels, _dmglevels]; \ No newline at end of file diff --git a/SQF/dayz_code/actions/cook.sqf b/SQF/dayz_code/actions/cook.sqf index 4ed649da..5dfb72d5 100644 --- a/SQF/dayz_code/actions/cook.sqf +++ b/SQF/dayz_code/actions/cook.sqf @@ -1,5 +1,6 @@ -private ["_rawmeat","_cookedmeat","_meat","_meatcooked","_text","_qty","_dis","_sfx"]; - +private ["_rawmeat","_cookedmeat","_meat","_meatcooked","_text","_qty","_dis","_sfx","_finished"]; +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; //diag_log ("Cook Enabled"); player removeAction s_player_cook; s_player_cook = -1; @@ -7,28 +8,35 @@ s_player_cook = -1; _rawmeat = Dayz_meatraw; _cookedmeat = Dayz_meatcooked; a_player_cooking = true; +_finished = true; { _meat = _x; _meatcooked = _cookedmeat select (_rawmeat find _meat); if (_meat in magazines player) then { _text = getText (configFile >> "CfgMagazines" >> _meatcooked >> "displayName"); - _qty = {_x == _meat} count magazines player; - player playActionNow "Medic"; _dis=6; _sfx = "cook"; [player,_sfx,0,false,_dis] call dayz_zombieSpeak; [player,_dis,true,(getPosATL player)] call player_alertZombies; - - uiSleep _qty; + + _finished = ["Medic",1] call fn_loopAction; + if (!_finished) exitWith {}; + + _qty = {_x == _meat} count magazines player; + for "_x" from 1 to _qty do { player removeMagazine _meat; player addMagazine _meatcooked; - if !(_meat in magazines player) exitWith {cutText [format [localize "str_player_31",_text,localize "str_player_31_cook"] , "PLAIN DOWN"]}; + // "xMeat must be in your main inventory to cook it" - Doesn't make sense here since meat was already cooked successfully. + if !(_meat in magazines player) exitWith {}; }; - cutText [format [localize "str_success_cooked",_qty,_text], "PLAIN DOWN"]; + format[localize "str_success_cooked",_qty,_text] call dayz_rollingMessages; }; + + if (!_finished) exitWith {}; } forEach _rawmeat; -a_player_cooking = false; \ No newline at end of file +a_player_cooking = false; +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/fire_pack.sqf b/SQF/dayz_code/actions/fire_pack.sqf deleted file mode 100644 index ab9aaa63..00000000 --- a/SQF/dayz_code/actions/fire_pack.sqf +++ /dev/null @@ -1,14 +0,0 @@ -private "_obj"; -_obj = _this select 3; - -player playActionNow "Medic"; -uiSleep 6; - -if (_obj isKindOf "Land_fire") then { - dayz_hasFire = objNull; - deleteVehicle _obj; -}; - -cutText [localize "str_fireplace_removed", "PLAIN DOWN"]; -player removeAction s_player_fireout; -s_player_fireout = -1; \ No newline at end of file diff --git a/SQF/dayz_code/actions/gather_meat.sqf b/SQF/dayz_code/actions/gather_meat.sqf index 7b3b568d..9291962d 100644 --- a/SQF/dayz_code/actions/gather_meat.sqf +++ b/SQF/dayz_code/actions/gather_meat.sqf @@ -1,17 +1,18 @@ -private ["_item","_type","_hasHarvested","_config","_knifeArray","_PlayerNear","_isListed","_activeKnife","_text","_dis","_sfx","_sharpnessRemaining","_qty","_chance","_msg","_string"]; +private ["_item","_type","_hasHarvested","_knifeArray","_PlayerNear","_isListed","_activeKnife","_text","_dis","_sfx","_qty","_string","_finished"]; -_item = _this select 3; +if (dayz_actionInProgress) exitWith { + localize "str_player_actionslimit" call dayz_rollingMessages; +}; +dayz_actionInProgress = true; + +_item = _this; _type = typeOf _item; _hasHarvested = _item getVariable["meatHarvested",false]; -_config = configFile >> "CfgSurvival" >> "Meat" >> _type; _knifeArray = []; -player removeAction s_player_butcher; -s_player_butcher = -1; - _PlayerNear = {isPlayer _x} count ((getPosATL _item) nearEntities ["CAManBase", 10]) > 1; -if (_PlayerNear) exitWith {cutText [localize "str_pickup_limit_5", "PLAIN DOWN"]}; +if (_PlayerNear) exitWith {localize "str_pickup_limit_5" call dayz_rollingMessages; dayz_actionInProgress = false;}; //Count how many active tools the player has { @@ -20,31 +21,33 @@ if (_PlayerNear) exitWith {cutText [localize "str_pickup_limit_5", "PLAIN DOWN"] }; } count Dayz_Gutting; -if ((count _knifeArray) < 1) exitwith { cutText [localize "str_cannotgut", "PLAIN DOWN"] }; - +if ((count _knifeArray) < 1) exitWith { + localize "str_cannotgut" call dayz_rollingMessages; + dayz_actionInProgress = false; +}; if ((count _knifeArray > 0) and !_hasHarvested) then { - private "_qty"; - - //Select random can from array - _activeKnife = _knifeArray call BIS_fnc_selectRandom; + //Use sharpest knife player has + _activeKnife = _knifeArray select 0; //Get Animal Type - _isListed = isClass _config; + _isListed = isClass (configFile >> "CfgSurvival" >> "Meat" >> _type); _text = getText (configFile >> "CfgVehicles" >> _type >> "displayName"); - player playActionNow "Medic"; _dis=10; _sfx = "gut"; [player,_sfx,0,false,_dis] call dayz_zombieSpeak; [player,_dis,true,(getPosATL player)] call player_alertZombies; + + _finished = ["Medic",1] call fn_loopAction; + if (!_finished) exitWith {}; // Added Nutrition-Factor for work ["Working",0,[20,40,15,0]] call dayz_NutritionSystem; _item setVariable ["meatHarvested",true,true]; - _qty = if (_isListed) then {getNumber (_config >> "yield")} else {2}; + _qty = if (_isListed) then {getNumber (configFile >> "CfgSurvival" >> "Meat" >> _type >> "yield")} else {2}; if (_activeKnife == "ItemKnifeBlunt") then { _qty = round(_qty / 2); }; if (local _item) then { @@ -53,39 +56,14 @@ if ((count _knifeArray > 0) and !_hasHarvested) then { PVCDZ_obj_GutBody =[_item,_qty]; publicVariable "PVCDZ_obj_GutBody"; - //achievement system - if (!achievement_Gut) then { - achievement_Gut = true; - }; + //if (!achievement_Gut) then {achievement_Gut = true;}; }; - _sharpnessRemaining = getText (configFile >> "cfgWeapons" >> _activeKnife >> "sharpnessRemaining"); - - switch _activeKnife do { - case "ItemKnife" : { - //_chance = getNumber (configFile >> "cfgWeapons" >> _activeKnife >> "chance"); - if ([0.2] call fn_chance) then { - player removeWeapon _activeKnife; - player addWeapon _sharpnessRemaining; - - //systemChat (localize "str_info_bluntknife"); - _msg = localize "str_info_bluntknife"; - _msg call dayz_rollingMessages; - }; - }; - case "ItemKnifeBlunt" : { - //do nothing - }; - default { - player removeWeapon _activeKnife; - player addWeapon _sharpnessRemaining; - }; - }; + ["knives",0.2] call fn_dynamicTool; - uiSleep 6; _string = format[localize "str_success_gutted_animal",_text,_qty]; closeDialog 0; uiSleep 0.02; - //cutText [_string, "PLAIN DOWN"]; _string call dayz_rollingMessages; -}; \ No newline at end of file +}; +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/jerry_fill.sqf b/SQF/dayz_code/actions/jerry_fill.sqf index c8904dbf..1a032544 100644 --- a/SQF/dayz_code/actions/jerry_fill.sqf +++ b/SQF/dayz_code/actions/jerry_fill.sqf @@ -1,4 +1,6 @@ -private ["_qty","_dis","_sfx","_started","_finished","_animState","_isRefuel","_fuelcans","_qty20","_qty5","_magazines","_cursorTarget","_fuelAmount"]; +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; +private ["_qty","_dis","_sfx","_finished","_qty20","_qty5","_magazines","_cursorTarget","_fuelAmount","_fuelNeeded"]; player removeAction s_player_fillfuel; //s_player_fillfuel = -1; @@ -13,79 +15,59 @@ if (isNil "_fuelAmount") then { _cursorTarget setVariable ["FuelAmount",_fuelAmount,true]; }; -if (_fuelAmount < 5) exitWith { format[localize "str_fill_notenough",typeOf _cursorTarget,_fuelAmount] call dayz_rollingMessages; }; - -diag_log format["Fill Jerry, %1 - %2",_cursorTarget,_fuelAmount]; - -_fuelcans = ["ItemFuelcanEmpty","ItemJerrycanEmpty"]; +_qty5 = {_x == "ItemFuelcanEmpty"} count _magazines; +_qty20 = {_x == "ItemJerrycanEmpty"} count _magazines; +_qty = _qty5 + _qty20; -_qty = 0; -_qty = {_x in _fuelcans} count _magazines; +_fuelNeeded = (_qty5 * 5) + (_qty20 * 20); -_qty20 = {_x == "ItemJerrycanEmpty"} count _magazines; -_qty5 = {_x == "ItemFuelcanEmpty"} count _magazines; +//Inform if there is not enough to fill all containers in inventory, then proceed to fill available containers +if (_fuelAmount < _fuelNeeded) then {format[localize "str_fill_notenough",typeOf _cursorTarget,_fuelAmount,_fuelNeeded] call dayz_rollingMessages;}; -if (("ItemJerrycanEmpty" in _magazines) or ("ItemFuelcanEmpty" in _magazines)) then { - player playActionNow "Medic"; +//If there is not enough to fill any of their cans then exit +if (_fuelAmount < 5 or (_fuelAmount < 20 && _qty5 == 0)) exitWith {dayz_actionInProgress = false;}; +if (_qty > 0) then { _dis=5; _sfx = "refuel"; [player,_sfx,0,false,_dis] call dayz_zombieSpeak; [player,_dis,true,(getPosATL player)] call player_alertZombies; - + + _finished = ["Medic",1] call fn_loopAction; + if (!_finished) exitWith {}; + // Added Nutrition-Factor for work ["Working",0,[20,40,15,0]] call dayz_NutritionSystem; - - r_doLoop = true; - _started = false; - _finished = false; - while {r_doLoop} do { - _animState = animationState player; - _isRefuel = ["medic",_animState] call fnc_inString; - if (_isRefuel) then { - _started = true; - }; - if (_started and !_isRefuel) then { - r_doLoop = false; - _finished = true; + + for "_x" from 1 to _qty5 do { + _fuelAmount = _cursorTarget getVariable "FuelAmount"; + + if (_fuelAmount >= 5) then { + _fuelAmount = _fuelAmount - 5; + _cursorTarget setVariable ["FuelAmount",_fuelAmount,true]; + player removeMagazine "ItemFuelcanEmpty"; + player addMagazine "ItemFuelcan"; + } else { + _qty = _qty - 1; }; - sleep 0.1; }; - - r_doLoop = false; - - if (_finished) then { - for "_x" from 1 to _qty20 do { - _fuelAmount = _cursorTarget getVariable "FuelAmount"; - - if (_fuelAmount >= 20) then { - _fuelAmount = _fuelAmount - 20; - _cursorTarget setVariable ["FuelAmount",_fuelAmount,true]; - player removeMagazine "ItemJerrycanEmpty"; - player addMagazine "ItemJerrycan"; - } else { - _qty = _qty - 1; - }; - }; - for "_x" from 1 to _qty5 do { - _fuelAmount = _cursorTarget getVariable "FuelAmount"; - - if (_fuelAmount >= 5) then { - _fuelAmount = _fuelAmount - 5; - _cursorTarget setVariable ["FuelAmount",_fuelAmount,true]; - player removeMagazine "ItemFuelcanEmpty"; - player addMagazine "ItemFuelcan"; - } else { - _qty = _qty - 1; - }; + for "_x" from 1 to _qty20 do { + _fuelAmount = _cursorTarget getVariable "FuelAmount"; + + if (_fuelAmount >= 20) then { + _fuelAmount = _fuelAmount - 20; + _cursorTarget setVariable ["FuelAmount",_fuelAmount,true]; + player removeMagazine "ItemJerrycanEmpty"; + player addMagazine "ItemJerrycan"; + } else { + _qty = _qty - 1; }; }; - //cutText [format [localize "str_player_09",_qty], "PLAIN DOWN"]; //format[localize "str_player_09",_qty] call dayz_rollingMessages; format[localize "str_fill_success",_qty,typeOf _cursorTarget,_fuelAmount] call dayz_rollingMessages; //diag_log format[localize "str_fill_success",_qty,typeOf _cursorTarget,_fuelAmount]; } else { - //cutText [localize "str_player_10", "PLAIN DOWN"]; localize "str_player_10" call dayz_rollingMessages; }; +dayz_actionInProgress = false; diff --git a/SQF/dayz_code/actions/object_build.sqf b/SQF/dayz_code/actions/object_build.sqf index 42ba2a9e..5ebb0dc1 100644 --- a/SQF/dayz_code/actions/object_build.sqf +++ b/SQF/dayz_code/actions/object_build.sqf @@ -15,6 +15,8 @@ _uid = getPlayerUID player; _keepOnSlope = 0 == (getNumber (configFile >> "CfgVehicles" >> _classname >> "canbevertical")); +//_damageArray = (getArray (configFile >> "CfgVehicles" >> _classname >> "damageValues")); + Dayz_constructionContext set [ 4, false ]; // Stop the construction mode, cf. player_build.sqf //if (count Dayz_constructionContext < 5) then { Dayz_constructionContext set [ 5, false ]; // }; @@ -61,8 +63,8 @@ if (_build) then { _variables set [ count _variables, ["ownerArray", [getPlayerUID player]]]; _variables set [ count _variables, ["padlockCombination", _passcode]]; - _object removeAllEventHandlers "HandleDamage"; - _object addeventhandler ["HandleDamage",{ diag_log (_this); if ((_this select 4) == 'PipeBomb') then { _this call fnc_Obj_FenceHandleDam; } else { false }; } ]; + //_object removeAllEventHandlers "HandleDamage"; + //_object addeventhandler ["HandleDamage",{ [_this,_damageArray] call fnc_Obj_FenceHandleDam; } ]; }; _object setVariable ["characterID",dayz_characterID, true]; @@ -76,7 +78,7 @@ if (_build) then { }; /* //set fuel, Later use Generator - if (_object isKindOf "Generator_DZ") then { + if (typeOf _object == "Generator_DZ") then { diag_log format["Object: %1, Fuel: %2",_object,fuel _object]; if (local _object) then { _object setFuel 0; @@ -93,11 +95,8 @@ if (_build) then { diag_log [diag_ticktime, __FILE__, "New Networked object, request to save to hive. PVDZ_obj_Publish:", PVDZ_obj_Publish]; - cutText [format [localize "str_build_01",_text], "PLAIN DOWN"]; - r_action_count = 0; -} else { - r_action_count = 0; - + format[localize "str_build_01",_text] call dayz_rollingMessages; +} else { if ((!isNil "_ghost") and {(!isNull _ghost)}) then { deleteVehicle _ghost; }; { @@ -105,5 +104,5 @@ if (_build) then { player addMagazine _x; }; } foreach _items; - cutText [format [localize "str_build_failed_02",_text], "PLAIN DOWN"]; + format[localize "str_build_failed_02",_text] call dayz_rollingMessages; }; \ No newline at end of file diff --git a/SQF/dayz_code/actions/object_disassembly.sqf b/SQF/dayz_code/actions/object_disassembly.sqf index 05235fc3..e830d465 100644 --- a/SQF/dayz_code/actions/object_disassembly.sqf +++ b/SQF/dayz_code/actions/object_disassembly.sqf @@ -1,9 +1,9 @@ private ["_cursorTarget","_onLadder","_isWater","_alreadyRemoving","_characterID","_objectID","_objectUID","_ownerArray","_dir", "_realObjectStillThere","_upgrade","_entry","_parent","_requiredParts","_requiredTools","_model","_toolsOK","_displayname", - "_whpos","_i","_wh","_object","_msg","_vector","_dis","__FILE__","_puid","_variables"]; + "_whpos","_wh","_object","_vector","_dis","_puid","_variables"]; -_cursorTarget = _this select 3; +_cursorTarget = _this; // ArmaA2 bug workaround: sometimes the object is null if ((isNil "_cursorTarget") or {(isNull _cursorTarget)}) then { @@ -11,29 +11,18 @@ if ((isNil "_cursorTarget") or {(isNull _cursorTarget)}) then { _cursorTarget = if (count _cursorTarget == 0) then { objNull } else { _cursorTarget select 0 }; }; -if(isNull _cursorTarget) exitWith { - //cutText [localize "str_disassembleNoOption", "PLAIN DOWN"]; - _msg = localize "str_disassembleNoOption"; - _msg call dayz_rollingMessages; -}; - -//Remove action Menu -player removeAction s_player_disassembly; -s_player_disassembly = -1; +if(isNull _cursorTarget) exitWith { localize "str_disassembleNoOption" call dayz_rollingMessages; }; //Normal blocked stuff _onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1; _isWater = (surfaceIsWater (getPosATL player)) or dayz_isSwimming; -if(_isWater or _onLadder) exitWith { - _msg = localize "str_water_ladder_cant_do"; - _msg call dayz_rollingMessages; -}; +if(_isWater or _onLadder) exitWith { localize "str_water_ladder_cant_do" call dayz_rollingMessages; }; _alreadyRemoving = _cursorTarget getVariable["ObjectLocked",0]; -if (_alreadyRemoving == 1) exitWith { - _msg = localize "str_disassembleInProgress"; - _msg call dayz_rollingMessages; -}; +if (_alreadyRemoving == 1) exitWith { localize "str_disassembleInProgress" call dayz_rollingMessages; }; + +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; _cursorTarget setVariable["ObjectLocked",1,true]; _characterID = _cursorTarget getVariable ["characterID","0"]; @@ -50,6 +39,9 @@ _upgrade = typeOf _cursorTarget; _entry = configFile >> "CfgVehicles" >> _upgrade; r_interrupt = false; +_disassemblyParts = [] + (getArray (_entry >> "Disassembly" >> "removedParts")); +_disassemblyReturnChance = getNumber (_entry >> "Disassembly" >> "removedChance"); + for "_i" from 1 to 20 do { _parent = inheritsFrom _entry; _requiredParts = [] + (getArray (_parent >> "Upgrade" >> "requiredParts")); @@ -64,11 +56,7 @@ for "_i" from 1 to 20 do { if (!(_x IN items player)) exitWith { _toolsOK = false; }; } count _requiredTools; - if (!_toolsOK) exitWith { - //cutText [format [localize "str_disassembleMissingTool",getText (configFile >> "CfgWeapons" >> _x >> "displayName"),_displayname], "PLAIN DOWN"];//["Missing %1 to disassemble %2." - _msg = format [localize "str_disassembleMissingTool",getText (configFile >> "CfgWeapons" >> _x >> "displayName"),_displayname]; - _msg call dayz_rollingMessages; - }; + if (!_toolsOK) exitWith { format [localize "str_disassembleMissingTool",getText (configFile >> "CfgWeapons" >> _x >> "displayName"),_displayname] call dayz_rollingMessages; }; if (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "disableWeapons") == 0) then { player playActionNow "Medic"; @@ -104,9 +92,15 @@ for "_i" from 1 to 20 do { _wh setDir (30*_i); _wh setPosATL _whpos; { - if (isClass (configFile >> "CfgMagazines" >> _x)) - then { _wh addMagazineCargoGlobal [_x, 1]; } - else { _wh addWeaponCargoGlobal [_x, 1]; }; + //Never return _disassemblyParts_. + if (!(_x in _disassemblyParts)) then { + //Random other returned items. + if ([_disassemblyReturnChance] call fn_chance) then { + if (isClass (configFile >> "CfgMagazines" >> _x)) + then { _wh addMagazineCargoGlobal [_x, 1]; } + else { _wh addWeaponCargoGlobal [_x, 1]; }; + }; + }; } forEach _requiredParts; diag_log [diag_ticktime, __FILE__, "Pile created with:", _requiredParts]; @@ -118,7 +112,7 @@ for "_i" from 1 to 20 do { _cursorTarget setPosATL _pos; }; - sleep 1.5; + uiSleep 1.5; if (r_interrupt) exitwith { diag_log [diag_ticktime, __FILE__, "Operation interrupted, last building deleted is:", _upgrade]; @@ -165,9 +159,7 @@ if (!_realObjectStillThere) then { }; }; -_msg = localize "str_disassembleDone"; -_msg call dayz_rollingMessages; -//cutText [localize "str_disassembleDone", "PLAIN DOWN"]; +localize "str_disassembleDone" call dayz_rollingMessages; _cursorTarget setVariable["ObjectLocked",0,true]; - +dayz_actionInProgress = false; diff --git a/SQF/dayz_code/actions/object_dismantle.sqf b/SQF/dayz_code/actions/object_dismantle.sqf index 43dc8043..e4b8b39c 100644 --- a/SQF/dayz_code/actions/object_dismantle.sqf +++ b/SQF/dayz_code/actions/object_dismantle.sqf @@ -1,4 +1,7 @@ -private ["_object","_proceed","_rndattemps","_limit","_dismantleToo","_ownerID","_objectID","_objectUID","_playerID","_claimedBy","_tools","_exit","_end","_onLadder","_isWater","_isOk","_counter","_text","_dis","_sfx","_animState","_started","_finished","_isMedic","_holder"]; +if (dayz_actionInProgress) exitWith { localize "str_player_actionslimit" call dayz_rollingMessages; }; +dayz_actionInProgress = true; + +private ["_object","_proceed","_rndattemps","_limit","_dismantleToo","_ownerID","_objectID","_objectUID","_playerID","_claimedBy","_tools","_exit","_end","_onLadder","_isWater","_isOk","_counter","_text","_dis","_sfx","_finished"]; _object = _this; _proceed = false; @@ -11,9 +14,6 @@ _limit = 1 + round(random _rndattemps); //Dismantle magazine type _dismantleToo = getText (configFile >> "CfgVehicles" >> (typeOf _object) >> "dismantle" >> "dismantleToo"); -//Object location -_pos = getposATL _object; - //Object info _ownerID = _object getVariable["CharacterID","0"]; _objectID = _object getVariable["ObjectID","0"]; @@ -33,22 +33,20 @@ _tools = getArray (configFile >> "CfgVehicles" >> (typeOf _object) >> "dismantle { private ["_end"]; - if ((_x select 0) in items player) then {_end = false;} else { cutText [format [localize "STR_BLD_DISMANTLE_MISSING",(_x select 0)] , "PLAIN DOWN"]; _end = true; _proceed = false; }; + if ((_x select 0) in items player) then {_end = false;} else { format [localize "STR_BLD_DISMANTLE_MISSING",(_x select 0)] call dayz_rollingMessages; _end = true; _proceed = false; }; if (_end) exitwith { _exit = true; }; } foreach _tools; //End missing tools -if (_exit) exitwith {}; +if (_exit) exitwith {dayz_actionInProgress = false;}; //Normal blocked stuff _onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1; _isWater = (surfaceIsWater (getPosATL player)) or dayz_isSwimming; -if(_isWater or _onLadder) exitWith { - titleText [localize "str_water_ladder_cant_do"]; -}; +if(_isWater or _onLadder) exitWith {dayz_actionInProgress = false; localize "str_water_ladder_cant_do" call dayz_rollingMessages;}; //Start loop _isOk = true; @@ -59,7 +57,7 @@ while {_isOk} do { //Check if we have the tools to start { private ["_end"]; - if ((_x select 0) in items player) then {_end = false;} else { cutText [format [localize "STR_BLD_DISMANTLE_MISSING",_x] , "PLAIN DOWN"]; _end = true; _proceed = false; }; + if ((_x select 0) in items player) then {_end = false;} else { format [localize "STR_BLD_DISMANTLE_MISSING",_x] call dayz_rollingMessages; _end = true; _proceed = false; }; if (_end) exitwith { _exit = true; }; }foreach _tools; @@ -67,10 +65,7 @@ while {_isOk} do { _claimedBy = _object getVariable["claimed","0"]; - if (_claimedBy != _playerID) exitWith { cutText [format [localize "str_player_beinglooted",_text] , "PLAIN DOWN"]; }; - -//Run animation - player playActionNow "Medic"; + if (_claimedBy != _playerID) exitWith { format[localize "str_player_beinglooted",_text] call dayz_rollingMessages; }; //Run SFX _dis=20; @@ -78,34 +73,8 @@ while {_isOk} do { [player,_sfx,0,false,_dis] call dayz_zombieSpeak; [player,_dis,true,(getPosATL player)] spawn player_alertZombies; -// Working-Factor for chopping wood. - ["Working",0,[100,15,10,0]] call dayz_NutritionSystem; - -//Setup Vars - r_interrupt = false; - _animState = animationState player; - r_doLoop = true; - _started = false; - _finished = false; - -//run animation loop - while {r_doLoop} do { - _animState = animationState player; - _isMedic = ["medic",_animState] call fnc_inString; - if (_isMedic) then { - _started = true; - }; - if (_started and !_isMedic) then { - r_doLoop = false; - _finished = true; - }; - if (r_interrupt or (player getVariable["combattimeout",0] >= diag_tickTime)) then { - r_doLoop = false; - _finished = false; - }; - sleep 0.1; - }; - r_doLoop = false; +//Run animation loop + _finished = ["Medic",1,{player getVariable["combattimeout",0] >= diag_tickTime}] call fn_loopAction; //Interrupt and end if(!_finished) exitWith { @@ -114,7 +83,9 @@ while {_isOk} do { }; //Everything happened as it should - if(_finished) then { + if(_finished) then { + // Working-Factor for chopping wood. + ["Working",0,[100,15,10,0]] call dayz_NutritionSystem; //Add to Counter _counter = _counter + 1; //Try to dismantle @@ -131,7 +102,7 @@ while {_isOk} do { if ([(_x select 1)] call fn_chance) then { player removeWeapon (_x select 0); player addWeapon (_x select 2); - titleText [localize "STR_BLD_DISMANTLE_DAMAGED", "PLAIN DOWN"]; + localize "STR_BLD_DISMANTLE_DAMAGED" call dayz_rollingMessages; }; }foreach _tools; @@ -142,17 +113,17 @@ while {_isOk} do { _proceed = true; }; - titleText [format[localize "STR_BLD_DISMANTLE_ATTEMPT", _counter,_limit], "PLAIN DOWN"]; - sleep 0.10; + format [localize "STR_BLD_DISMANTLE_ATTEMPT",_counter,_limit] call dayz_rollingMessages; + uiSleep 0.10; }; //Completed and successful if (_proceed) then { _claimedBy = _object getVariable["claimed","0"]; - if (_claimedBy != _playerID) exitWith { cutText [format [localize "str_player_beinglooted",_text] , "PLAIN DOWN"]; }; + if (_claimedBy != _playerID) exitWith { format[localize "str_player_beinglooted",_text] call dayz_rollingMessages; }; - titleText [format[localize "STR_BLD_DISMANTLED", (typeOf _object)], "PLAIN DOWN"]; + format [localize "STR_BLD_DISMANTLED",typeOf _object] call dayz_rollingMessages; PVDZ_obj_Destroy = [_objectID,_objectUID]; publicVariableServer "PVDZ_obj_Destroy"; @@ -164,9 +135,7 @@ if (_proceed) then { //Need to update for sanity no client should ever create or delete anything deleteVehicle _object; - //PVDZ_obj_Create = ["WeaponHolder",_pos,["ItemTankTrap"]]; - //publicVariableServer "PVDZ_obj_Create"; - _holder = createVehicle ["WeaponHolder", _pos, [], 0, "CAN_COLLIDE"]; - _holder addmagazinecargoGlobal [_dismantleToo,1]; - -}; \ No newline at end of file + [_dismantleToo,1,1] call fn_dropItem; +}; + +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/object_maintenance.sqf b/SQF/dayz_code/actions/object_maintenance.sqf index 346f4814..ce647431 100644 --- a/SQF/dayz_code/actions/object_maintenance.sqf +++ b/SQF/dayz_code/actions/object_maintenance.sqf @@ -5,9 +5,9 @@ #define MAINTENANCE_NUTRITION_VALUES [20,40,15,0] -private ["_isMedic","_cursorTarget","_item","_classname","_displayname","_requiredTools","_requiredParts","_onLadder","_isWater","_upgradeParts","_startMaintenance","_dis","_sfx","_started","_finished","_animState","_isRefuel"]; +private ["_cursorTarget","_item","_classname","_displayname","_requiredTools","_requiredParts","_onLadder","_isWater","_startMaintenance","_dis","_sfx","_finished"]; -_cursorTarget = _this select 3; +_cursorTarget = _this; // ArmaA2 bug workaround: sometimes the object is null if ((isNil "_cursorTarget") or {(isNull _cursorTarget)}) then { @@ -16,13 +16,9 @@ if ((isNil "_cursorTarget") or {(isNull _cursorTarget)}) then { }; if(isNull _cursorTarget) exitWith { - cutText [localize "str_maintenanceNoOption", "PLAIN DOWN"]; + localize "str_maintenanceNoOption" call dayz_rollingMessages; }; -//Remove action Menu -player removeAction s_player_maintenance; -s_player_maintenance = -1; - //Item _item = typeof _cursorTarget; //diag_log (str(_item)); @@ -42,17 +38,19 @@ _requiredParts = getArray (_classname >> "Maintenance" >> "requiredParts"); _onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1; _isWater = (surfaceIsWater (getPosATL player)) or dayz_isSwimming; -_upgradeParts = []; _startMaintenance = true; if(_isWater or _onLadder) exitWith { - cutText [localize "str_water_ladder_cant_do", "PLAIN DOWN"]; + localize "str_water_ladder_cant_do" call dayz_rollingMessages; }; +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; + // lets check player has requiredTools for upgrade { if (!(_x IN items player)) exitWith { - cutText[ format[ localize "str_maintenanceMissingTool",_x], "PLAIN DOWN"]; //"Missing %1 to do maintenance %2." + format[localize "str_maintenanceMissingTool",_x] call dayz_rollingMessages; //"Missing %1 to do maintenance %2." _startMaintenance = false; }; } count _requiredTools; @@ -60,53 +58,46 @@ if(_isWater or _onLadder) exitWith { // lets check player has requiredParts for upgrade { if (!(_x IN magazines player)) exitWith { - cutText[ format[ localize "str_maintenanceMissingPart",_x,_displayname], "PLAIN DOWN"]; //"Missing %1 to maintenance %2." + format[localize "str_maintenanceMissingPart",_x,_displayname] call dayz_rollingMessages; //"Missing %1 to maintenance %2." _startMaintenance = false; }; } count _requiredParts; if (_startMaintenance) then { - //play animation - player playActionNow "Medic"; _dis=20; _sfx = "tentpack"; [player,_sfx,0,false,_dis] call dayz_zombieSpeak; [player,_dis,true,(getPosATL player)] call player_alertZombies; - ["Working",0,MAINTENANCE_NUTRITION_VALUES] call dayz_NutritionSystem; // Added Nutrition-Factor for work - - { player removeMagazine _x; } count _requiredParts; - //Animation Loop - r_doLoop = true; - _started = false; - _finished = false; - while {r_doLoop} do { - _animState = animationState player; - _isRefuel = ["medic",_animState] call fnc_inString; - if (_isRefuel) then { - _started = true; - }; - if (_started and !_isRefuel) then { - r_doLoop = false; - _finished = true; - }; - sleep 0.1; - }; - - r_doLoop = false; + _finished = ["Medic",1] call fn_loopAction; if (_finished) then { + //Double check player did not drop any items + { + if !(_x in magazines player) exitWith { + format[localize "str_maintenanceMissingPart",_x,_displayname] call dayz_rollingMessages; //"Missing %1 to maintenance %2." + _startMaintenance = false; + }; + } count _requiredParts; + + if (!_startMaintenance) exitWith {}; + { player removeMagazine _x } count _requiredParts; + + ["Working",0,MAINTENANCE_NUTRITION_VALUES] call dayz_NutritionSystem; // Added Nutrition-Factor for work + + PVDZ_veh_Save = [_cursorTarget,"maintenance"]; if (isServer) then { PVDZ_veh_Save call server_updateObject; } else { - PVDZ_veh_Save = [_cursorTarget,"maintenance"]; publicVariableServer "PVDZ_veh_Save"; }; - PVDZ_object_replace = [_cursorTarget]; - publicVariableServer "PVDZ_object_replace"; + //PVDZ_object_replace = _cursorTarget; + //publicVariableServer "PVDZ_object_replace"; + _cursorTarget setVariable["Maintenance",false,true]; + localize "str_maintenanceDone" call dayz_rollingMessages; }; - cutText [localize "str_maintenanceDone", "PLAIN DOWN"]; }; +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/object_pickup.sqf b/SQF/dayz_code/actions/object_pickup.sqf index 11a06da3..57f0bf80 100644 --- a/SQF/dayz_code/actions/object_pickup.sqf +++ b/SQF/dayz_code/actions/object_pickup.sqf @@ -5,7 +5,6 @@ _type = _array select 0; _classname = _array select 1; _holder = _array select 2; - if (player distance _holder > 3) exitwith { localize "str_pickup_limit_1","PLAIN DOWN" }; _playerID = getPlayerUID player; @@ -14,9 +13,9 @@ _text = getText (configFile >> _type >> _classname >> "displayName"); if (!canPickup) exitwith { if (pickupInit) then { - cutText [localize "str_pickup_limit_2","PLAIN DOWN"]; + localize "str_pickup_limit_2" call dayz_rollingMessages; } else { - cutText [localize "str_pickup_limit_3","PLAIN DOWN"]; + localize "str_pickup_limit_3" call dayz_rollingMessages; }; }; @@ -28,23 +27,21 @@ if (isnil "claimed") then { canPickup = false; -if (_classname isKindOf "TrapBear") exitWith { deleteVehicle _holder; }; - player playActionNow "PutDown"; //Adding random chance of arrow is re-usable on pickup -_broken = if ((_classname == "1Rnd_Arrow_Wood") && {[0.15] call fn_chance}) then {true} else {false}; -if (_broken) exitWith { deleteVehicle _holder; cutText [localize "str_broken_arrow", "PLAIN DOWN"]; }; +_broken = ((_classname == "1Rnd_Arrow_Wood") && {[0.15] call fn_chance}); +if (_broken) exitWith { deleteVehicle _holder; localize "str_broken_arrow" call dayz_rollingMessages; }; _claimedBy = _holder getVariable["claimed","0"]; -if (_claimedBy != _playerID) exitWith { cutText [format [localize "str_player_beinglooted",_text] , "PLAIN DOWN"]; }; +if (_claimedBy != _playerID) exitWith { format[localize "str_player_beinglooted",_text] call dayz_rollingMessages; }; if (_classname isKindOf "Bag_Base_EP1") exitWith { _PlayerNear = {isPlayer _x} count ((getPosATL _holder) nearEntities ["CAManBase", 10]) > 1; - if (_PlayerNear) exitWith {cutText [localize "str_pickup_limit_4", "PLAIN DOWN"]}; + if (_PlayerNear) exitWith {localize "str_pickup_limit_4" call dayz_rollingMessages;}; - diag_log("Picked up a bag: " + _classname); + //diag_log("Picked up a bag: " + _classname); _hasBag = unitBackpack player; @@ -68,16 +65,27 @@ if (_classname isKindOf "Bag_Base_EP1") exitWith { _config = (configFile >> _type >> _classname); //Remove melee magazines (BIS_fnc_invAdd fix) -{player removeMagazines _x} count MeleeMagazines; - +false call dz_fn_meleeMagazines; _isOk = [player,_config] call BIS_fnc_invAdd; +true call dz_fn_meleeMagazines; if (_isOk) then { + if (_holder isKindOf "TrapItems") then { + if !(_holder getVariable ["fullRefund",true]) then { + //Trap was already triggered, refund all parts except grenade + player removeMagazine _classname; + ["equip_string",1,1] call fn_dropItem; + ["PartWoodPile",1,1] call fn_dropItem; + ["equip_duct_tape",1,1] call fn_dropItem; + }; + PVDZ_obj_Destroy = [(_holder getVariable["ObjectID","0"]),(_holder getVariable["ObjectUID","0"])]; + publicVariableServer "PVDZ_obj_Destroy"; + }; deleteVehicle _holder; } else { if (!_isOk) exitWith { _holder setVariable["claimed",0,true]; - cutText [localize "str_player_24", "PLAIN DOWN"]; + localize "str_player_24" call dayz_rollingMessages; }; }; uiSleep 3; @@ -87,4 +95,4 @@ _wpn = primaryWeapon player; _ismelee = (getNumber (configFile >> "CfgWeapons" >> _wpn >> "melee") == 1); if (_ismelee) then { call dayz_meleeMagazineCheck; -}; \ No newline at end of file +}; diff --git a/SQF/dayz_code/actions/object_upgradeFireplace.sqf b/SQF/dayz_code/actions/object_upgradeFireplace.sqf index 2dd9927a..f8b44e59 100644 --- a/SQF/dayz_code/actions/object_upgradeFireplace.sqf +++ b/SQF/dayz_code/actions/object_upgradeFireplace.sqf @@ -11,8 +11,8 @@ */ private ["_objclass","_cursorTarget","_item","_classname","_requiredTools","_requiredParts","_upgrade","_upgradeConfig", "_upgradeDisplayname","_onLadder","_isWater","_upgradeParts","_startUpgrade","_missingPartsConfig","_textMissingParts","_dis", -"_sfx","_ownerID","_objectID","_objectUID","_alreadyupgrading","_dir","_weapons","_magazines","_backpacks", -"_object","_objWpnTypes","_objWpnQty","_countr","_itemName","_msg","_vector"]; +"_sfx","_ownerID","_objectID","_objectUID","_dir","_weapons","_magazines","_backpacks", +"_object","_objWpnTypes","_objWpnQty","_countr","_itemName","_vector","_finished"]; _cursorTarget = _this select 0; @@ -22,6 +22,9 @@ if ((isNil "_cursorTarget") or {(isNull _cursorTarget)}) then { }; if (isNull _cursorTarget) exitWith {}; +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; + _item = typeof _cursorTarget; //remove action menu @@ -59,12 +62,7 @@ _isWater = (surfaceIsWater (getPosATL player)) or dayz_isSwimming; _upgradeParts = []; _startUpgrade = true; -if(_isWater or _onLadder) exitWith { - //cutText [localize "str_CannotUpgrade", "PLAIN DOWN"]; - _msg = localize "str_CannotUpgrade"; - _msg call dayz_rollingMessages; - //systemchat[localize "str_CannotUpgrade"]; -}; +if(_isWater or _onLadder) exitWith { localize "str_CannotUpgrade" call dayz_rollingMessages; dayz_actionInProgress = false; }; // lets check player has requiredTools for upgrade { @@ -72,8 +70,7 @@ if(_isWater or _onLadder) exitWith { _missingPartsConfig = configFile >> "CfgVehicles" >> _x; _textMissingParts = getText (_missingPartsConfig >> "displayName"); //systemChat format["Missing %1 to upgrade storage.", _textMissingParts]; - _msg = format [localize "str_missing_to_do_this", _textMissingParts]; - _msg call dayz_rollingMessages; + format [localize "str_missing_to_do_this", _textMissingParts] call dayz_rollingMessages; _startUpgrade = false; }; } count _requiredTools; @@ -84,8 +81,7 @@ if(_isWater or _onLadder) exitWith { _missingPartsConfig = configFile >> "CfgMagazines" >> _x; _textMissingParts = getText (_missingPartsConfig >> "displayName"); //systemChat format["Missing %1 to upgrade storage.", _textMissingParts]; - _msg = format [localize "str_missing_to_do_this", _textMissingParts]; - _msg call dayz_rollingMessages; + format [localize "str_missing_to_do_this", _textMissingParts] call dayz_rollingMessages; _startUpgrade = false; }; if (_x IN magazines player) then { @@ -96,12 +92,14 @@ if(_isWater or _onLadder) exitWith { //Does object have a upgrade option. if ((_startUpgrade) AND (isClass(_upgradeConfig))) then { - //play animation - player playActionNow "Medic"; _dis = 20; _sfx = "tentpack"; [player,_sfx,0,false,_dis] call dayz_zombieSpeak; [player,_dis,true,(getPosATL player)] call player_alertZombies; + + _finished = ["Medic",1] call fn_loopAction; + //Double check player did not drop required parts + if (!_finished or (isNull _cursorTarget) or ({!(_x in magazines player)} count _upgradeParts > 0)) exitWith {}; // Added Nutrition-Factor for work ["Working",0,[100,15,5,0]] call dayz_NutritionSystem; @@ -111,19 +109,6 @@ if ((_startUpgrade) AND (isClass(_upgradeConfig))) then { _objectID = _cursorTarget getVariable ["ObjectID","0"]; _objectUID = _cursorTarget getVariable ["ObjectUID","0"]; - //Upgrade - _alreadyupgrading = _cursorTarget getVariable["alreadyupgrading",0]; - - if (_alreadyupgrading == 1) exitWith { - //cutText [localize "str_upgradeInProgress", "PLAIN DOWN"] - _msg = localize "str_upgradeInProgress"; - _msg call dayz_rollingMessages; - }; - - _cursorTarget setVariable["alreadyupgrading",1]; - - sleep 0.03; - //Get location and direction of old item _dir = round getDir _cursorTarget; _vector = [vectorDir _cursorTarget,vectorUp _cursorTarget]; @@ -137,9 +122,6 @@ if ((_startUpgrade) AND (isClass(_upgradeConfig))) then { //get contents _magazines = getMagazineCargo _cursorTarget; - //replay animation - player playActionNow "Medic"; - deleteVehicle _cursorTarget; // remove parts from players inventory before creation of new tent. @@ -172,23 +154,19 @@ if ((_startUpgrade) AND (isClass(_upgradeConfig))) then { _countr = _countr + 1; } count _objWpnTypes; - sleep 3; - //Light fire [_object,true] call dayz_inflame; _object spawn player_fireMonitor; - //publish new tent - //[[[],[]],[[],[]],[[],[]]] PVDZ_obj_Publish = [dayz_characterID,_object,[_dir, _pos],[[[],[]],_magazines,[[],[]]]]; publicVariableServer "PVDZ_obj_Publish"; diag_log [diag_ticktime, __FILE__, "New Networked object, request to save to hive. PVDZ_obj_Publish:", PVDZ_obj_Publish]; - //cutText [localize "str_upgradeDone", "PLAIN DOWN"]; - _msg = localize "str_upgradeDone"; - _msg call dayz_rollingMessages; + localize "str_upgradeDone" call dayz_rollingMessages; /* } else { - cutText [localize "str_upgradeNoOption", "PLAIN DOWN"]; + localize "str_upgradeNoOption" call dayz_rollingMessages; */ -}; \ No newline at end of file +}; + +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/object_upgradeStorage.sqf b/SQF/dayz_code/actions/object_upgradeStorage.sqf index a25563de..a31282cd 100644 --- a/SQF/dayz_code/actions/object_upgradeStorage.sqf +++ b/SQF/dayz_code/actions/object_upgradeStorage.sqf @@ -1,22 +1,32 @@ /* - This script is not part of dayz permission must be given to use. r4z0r49@gmail.com or skype me R4Z0R49. - Simple class system to use this script. class Upgrade { requiredTools[] = {"ItemToolbox"}; requiredParts[] = {"equip_crate","PartWoodPile"}; create = "TentStorage1"; - }; - + }; */ -private ["_objclass","_cursorTarget","_item","_classname","_requiredTools","_requiredParts","_upgrade","_upgradeConfig", +if (dayz_actionInProgress) exitWith { localize "str_player_actionslimit" call dayz_rollingMessages; }; +dayz_actionInProgress = true; + +private ["_cursorTarget","_item","_classname","_requiredTools","_requiredParts","_upgrade","_upgradeConfig", "_upgradeDisplayname","_onLadder","_isWater","_upgradeParts","_startUpgrade","_missingPartsConfig","_textMissingParts","_dis", -"_sfx","_ownerID","_objectID","_objectUID","_alreadyupgrading","_dir","_weapons","_magazines","_backpacks","_object", -"_objWpnTypes","_objWpnQty","_countr","_itemName","_msg","_vector"]; +"_sfx","_ownerID","_objectID","_objectUID","_dir","_weapons","_magazines","_backpacks","_object", +"_objWpnTypes","_objWpnQty","_countr","_itemName","_vector","_playerNear","_finished"]; -_objclass = _this; _cursorTarget = _this select 3; +//get ownerID from old tent. +_ownerID = _cursorTarget getVariable ["characterID","0"]; +_objectID = _cursorTarget getVariable ["ObjectID","0"]; +_objectUID = _cursorTarget getVariable ["ObjectUID","0"]; + +//make sure the player is still looking at something to get the cursorTarget and UID +if (isNil "_cursorTarget" or {isNull _cursorTarget} or {_objectUID == "0" && (_objectID == "0")}) exitWith { + localize "str_cursorTargetNotFound" call dayz_rollingMessages; + dayz_actionInProgress = false; +}; + _item = typeof _cursorTarget; //diag_log (str(_item)); @@ -53,11 +63,11 @@ _isWater = (surfaceIsWater (getPosATL player)) or dayz_isSwimming; _upgradeParts = []; _startUpgrade = true; -if(_isWater or _onLadder) exitWith { - //cutText ["unable to upgrade at this time", "PLAIN DOWN"]; - _msg = localize "str_CannotUpgrade"; - _msg call dayz_rollingMessages; -}; +if(_isWater or _onLadder) exitWith {dayz_actionInProgress = false; localize "str_CannotUpgrade" call dayz_rollingMessages;}; + +// Make sure no other players are nearby +_playerNear = {isPlayer _x} count (([_cursorTarget] call FNC_GetPos) nearEntities ["CAManBase",10]) > 1; +if (_playerNear) exitWith {dayz_actionInProgress = false; localize "str_pickup_limit_5" call dayz_rollingMessages;}; // lets check player has requiredTools for upgrade { @@ -65,8 +75,7 @@ if(_isWater or _onLadder) exitWith { _missingPartsConfig = configFile >> "CfgWeapons" >> _x; _textMissingParts = getText (_missingPartsConfig >> "displayName"); - _msg = format [localize "str_missing_to_do_this", _textMissingParts]; - _msg call dayz_rollingMessages; + format [localize "str_missing_to_do_this", _textMissingParts] call dayz_rollingMessages; _startUpgrade = false; }; @@ -78,8 +87,7 @@ if(_isWater or _onLadder) exitWith { _missingPartsConfig = configFile >> "CfgMagazines" >> _x; _textMissingParts = getText (_missingPartsConfig >> "displayName"); - _msg = format [localize "str_missing_to_do_this", _textMissingParts]; - _msg call dayz_rollingMessages; + format [localize "str_missing_to_do_this", _textMissingParts] call dayz_rollingMessages; _startUpgrade = false; }; if (_x IN magazines player) then { @@ -90,33 +98,17 @@ if(_isWater or _onLadder) exitWith { //Does object have a upgrade option. if ((_startUpgrade) AND (isClass(_upgradeConfig))) then { - //play animation - player playActionNow "Medic"; _dis = 20; _sfx = "tentpack"; [player,_sfx,0,false,_dis] call dayz_zombieSpeak; [player,_dis,true,(getPosATL player)] call player_alertZombies; - - // Added Nutrition-Factor for work - ["Working",0,[100,15,5,0]] call dayz_NutritionSystem; - //get ownerID from old tent. - _ownerID = _cursorTarget getVariable ["characterID","0"]; - _objectID = _cursorTarget getVariable ["ObjectID","0"]; - _objectUID = _cursorTarget getVariable ["ObjectUID","0"]; - - //Upgrade - _alreadyupgrading = _cursorTarget getVariable["alreadyupgrading",0]; - - if (_alreadyupgrading == 1) exitWith { - //cutText [localize "str_upgradeInProgress", "PLAIN DOWN"] - _msg = localize "str_upgradeInProgress"; - _msg call dayz_rollingMessages; - }; + _finished = ["Medic",1] call fn_loopAction; + //Double check player did not drop required parts + if (!_finished or (isNull _cursorTarget) or ({!(_x in magazines player)} count _upgradeParts > 0)) exitWith {}; - _cursorTarget setVariable["alreadyupgrading",1]; - - sleep 0.03; + // Added Nutrition-Factor for work + ["Working",0,[100,15,5,0]] call dayz_NutritionSystem; //Get location and direction of old item _dir = round getDir _cursorTarget; @@ -126,25 +118,18 @@ if ((_startUpgrade) AND (isClass(_upgradeConfig))) then { _cursorTarget setDir 0; _pos = getPosATL _cursorTarget; - diag_log [ "dir/angle/pos", _dir, _vector, _pos]; + //diag_log [ "dir/angle/pos", _dir, _vector, _pos]; if (abs(((_vector select 1) select 2) - 1) > 0.001) then { _pos set [2,0]; }; - diag_log [ "dir/angle/pos - reset elevation if angle is straight", _dir, _vector, _pos]; + //diag_log [ "dir/angle/pos - reset elevation if angle is straight", _dir, _vector, _pos]; //get contents _weapons = getWeaponCargo _cursorTarget; _magazines = getMagazineCargo _cursorTarget; _backpacks = getBackpackCargo _cursorTarget; - //replay animation - player playActionNow "Medic"; - //remove old tent PVDZ_obj_Destroy = [_objectID,_objectUID]; publicVariableServer "PVDZ_obj_Destroy"; - - if (isServer) then { - PVDZ_obj_Destroy call server_deleteObj; - }; deleteVehicle _cursorTarget; // remove parts from players inventory before creation of new tent. @@ -195,18 +180,16 @@ if ((_startUpgrade) AND (isClass(_upgradeConfig))) then { _countr = _countr + 1; } count _objWpnTypes; - sleep 3; - //publish new tent PVDZ_obj_Publish = [dayz_characterID,_object,[_dir, _pos],[_weapons,_magazines,_backpacks]]; publicVariableServer "PVDZ_obj_Publish"; diag_log [diag_ticktime, __FILE__, "New Networked object, request to save to hive. PVDZ_obj_Publish:", PVDZ_obj_Publish]; - //cutText [localize "str_upgradeDone", "PLAIN DOWN"]; - _msg = localize "str_upgradeDone"; - _msg call dayz_rollingMessages; + localize "str_upgradeDone" call dayz_rollingMessages; /* } else { - cutText [localize "str_upgradeNoOption", "PLAIN DOWN"]; + localize "str_upgradeNoOption" call dayz_rollingMessages; */ -}; \ No newline at end of file +}; + +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/object_upgradebuilding.sqf b/SQF/dayz_code/actions/object_upgradebuilding.sqf index ffb06da9..ee256733 100644 --- a/SQF/dayz_code/actions/object_upgradebuilding.sqf +++ b/SQF/dayz_code/actions/object_upgradebuilding.sqf @@ -1,23 +1,17 @@ /* - This script is not part of dayz permission must be given to use. r4z0r49@gmail.com or skype me R4Z0R49. - Simple class system to use this script. class Upgrade { requiredTools[] = {"ItemToolbox"}; requiredParts[] = {"equip_crate","PartWoodPile"}; create = "TentStorage1"; }; - - debugged by facoptere@gmail.com */ -private ["_cursorTarget","_type","_class","_requiredTools","_requiredParts","_upgradeType","_producedParts","_randomCreate", - "_upgradeClass","_msg","_onLadder","_isWater","_ok","_missing","_upgradeParts","_dis","_characterID","_objectID","_objectUID", - "_ownerArray","_ownerPasscode","_dir","_vector","_object","_puid","_clanArray","_wh","_variables"]; +private ["_nearByChoppers","_cursorTarget","_type","_class","_requiredTools","_requiredParts","_upgradeType","_producedParts","_randomCreate", + "_upgradeClass","_onLadder","_isWater","_ok","_missing","_upgradeParts","_dis","_characterID","_objectID","_objectUID", + "_ownerArray","_ownerPasscode","_dir","_vector","_object","_puid","_clanArray","_wh","_variables","_finished"]; -//systemchat str _this; - -_cursorTarget = _this select 3; +_cursorTarget = _this; // ArmaA2 bug workaround: sometimes the object is null if ((isNil "_cursorTarget") or {(isNull _cursorTarget)}) then { _cursorTarget = nearestObjects [ player modelToWorld [0,1.5,0] , ["DZ_buildables","BuiltItems"], 1.5]; @@ -25,8 +19,8 @@ if ((isNil "_cursorTarget") or {(isNull _cursorTarget)}) then { }; if (isNull _cursorTarget) exitWith {}; -player removeAction s_player_building; -s_player_building = -1; +_nearByChoppers = _cursorTarget nearObjects ["Helicopter", 10]; +if (count _nearByChoppers > 1) exitwith { localize "str_upgradevehctooClose" call dayz_rollingMessages; }; _type = typeof _cursorTarget; _class = configFile >> "CfgVehicles" >> _type; @@ -42,18 +36,11 @@ if (isArray(configFile >> "CfgVehicles" >> _type >> "Upgrade" >> "randomcreate") }; _upgradeClass = configFile >> "CfgVehicles" >> _upgradeType; -if (!isClass _upgradeClass) exitWith { - //cutText [localize "str_upgradeNoOption", "PLAIN DOWN"]; - _msg = localize "str_upgradeNoOption"; - _msg call dayz_rollingMessages; -}; +if (!isClass _upgradeClass) exitWith { localize "str_upgradeNoOption" call dayz_rollingMessages; }; _onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1; _isWater = (surfaceIsWater (getPosATL player)) or dayz_isSwimming; -if(_isWater or _onLadder) exitWith { - _msg = localize "str_water_ladder_cant_do"; - _msg call dayz_rollingMessages; -}; +if(_isWater or _onLadder) exitWith { localize "str_water_ladder_cant_do" call dayz_rollingMessages; }; // lets check player has requiredTools for upgrade _ok = true; @@ -65,11 +52,7 @@ _missing = ""; _ok = false; }; } count _requiredTools; -if (!_ok) exitWith { - //systemChat format[localize "str_upgradeMissingTool", _missing]; //"Missing %1 to upgrade building." - _msg = format [localize "str_upgradeMissingTool", _missing]; - _msg call dayz_rollingMessages; -}; +if (!_ok) exitWith { format [localize "str_upgradeMissingTool", _missing] call dayz_rollingMessages; }; // lets check player has requiredParts for upgrade _ok = true; @@ -86,32 +69,27 @@ _upgradeParts = []; } count _requiredParts; if (!_ok) exitWith { { player addMagazine _x; } foreach _upgradeParts; - //systemChat format[localize "str_upgradeMissingPart", _missing]; //"Missing %1 to upgrade building." - _msg = format [localize "str_upgradeMissingPart", _missing]; - _msg call dayz_rollingMessages; + format [localize "str_upgradeMissingPart", _missing] call dayz_rollingMessages; }; - -//Upgrade Started -if ((player getVariable["alreadyBuilding",0]) == 1) exitWith { - { player addMagazine _x; } foreach _upgradeParts; - //cutText [localize "str_upgradeInProgress" , "PLAIN DOWN"] - _msg = localize "str_upgradeInProgress"; - _msg call dayz_rollingMessages; + +if (dayz_actionInProgress) exitWith { + { player addMagazine _x; } forEach _upgradeParts; + localize "str_player_actionslimit" call dayz_rollingMessages; }; -player setVariable["alreadyBuilding",1]; +dayz_actionInProgress = true; -//play animation -player playActionNow "Medic"; _dis=20; [player,"tentpack",0,false,_dis] call dayz_zombieSpeak; [player,_dis,true,(getPosATL player)] call player_alertZombies; +_finished = ["Medic",1] call fn_loopAction; +if (!_finished) exitWith { + { player addMagazine _x; } forEach _upgradeParts; + dayz_actionInProgress = false; +}; + // Added Nutrition-Factor for work ["Working",0,[100,15,5,0]] call dayz_NutritionSystem; - -//wait animation end -waitUntil {getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "disableWeapons") == 1}; -waitUntil {getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "disableWeapons") == 0}; //get data from old building. _characterID = _cursorTarget getVariable ["characterID","0"]; @@ -174,8 +152,5 @@ if (isServer) then { player reveal _object; //Make sure its unlocked -player setVariable["alreadyBuilding",0]; -//cutText [localize "str_upgradeDone", "PLAIN DOWN"]; - -_msg = localize "str_upgradeDone"; -_msg call dayz_rollingMessages; \ No newline at end of file +localize "str_upgradeDone" call dayz_rollingMessages; +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/pack.sqf b/SQF/dayz_code/actions/pack.sqf deleted file mode 100644 index 51e49806..00000000 --- a/SQF/dayz_code/actions/pack.sqf +++ /dev/null @@ -1,11 +0,0 @@ -private ["_array","_object","_type"]; - -_array = _this select 3; -_object = _array select 0; -_type = TypeOf(_object); -player playActionNow "Medic"; -sleep 8; -player addBackpack format["%1_US_Bag_EP1",_type]; -deleteVehicle _object; -r_action = false; -call fnc_usec_medic_removeActions; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_Constructionitem.sqf b/SQF/dayz_code/actions/player_Constructionitem.sqf index a7662d3b..8b8199f8 100644 --- a/SQF/dayz_code/actions/player_Constructionitem.sqf +++ b/SQF/dayz_code/actions/player_Constructionitem.sqf @@ -46,13 +46,13 @@ _hasInput = true; if (_avail < _amount) exitWith { _hasInput = false; _itemName = getText(configFile >> _selection >> _item >> "displayName"); - cutText [format [localize "str_crafting_missing",(_amount - _avail),_itemName], "PLAIN DOWN"]; + format[localize "str_crafting_missing",(_amount - _avail),_itemName] call dayz_rollingMessages; }; } forEach (_input + _required); if (_hasInput) then { //Remove melee magazines (BIS_fnc_invAdd and BIS_fnc_invSlotsEmpty fix) - {player removeMagazines _x} count MeleeMagazines; + false call dz_fn_meleeMagazines; _freeSlots = [player] call BIS_fnc_invSlotsEmpty; { _item = _x select 0; @@ -66,16 +66,14 @@ if (_hasInput) then { }; }; } forEach _input; - + true call dz_fn_meleeMagazines; _availabeSpace = true; - //sleep 1; + //uiSleep 1; if (_availabeSpace) then { player playActionNow "PutDown"; //Hack to get craft menu to use build needs a good tidy up - [_orignalClass,"Build","ItemActions"] spawn player_build; - r_action_count = r_action_count + 1; - + [_orignalClass,"Build","ItemActions"] spawn player_build; }; }; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_addToolbelt.sqf b/SQF/dayz_code/actions/player_addToolbelt.sqf index efb26431..f2c49499 100644 --- a/SQF/dayz_code/actions/player_addToolbelt.sqf +++ b/SQF/dayz_code/actions/player_addToolbelt.sqf @@ -1,61 +1,53 @@ -private ["_item","_config","_onLadder","_hastoolweapon","_onBack","_text","_create","_config2","_melee2tb","_isOk"]; +/* + This script handles three different cases: + 1. Adding dayz_onBack to toolbelt + 2. Adding primary to toolbelt + 3. Removing tool from toolbelt and converting it to primary +*/ + +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; + +private ["_item","_config","_onLadder","_text","_create","_config2","_primaryFull","_removed","_toolsFull"]; disableSerialization; _item = _this; _config = configFile >> "cfgWeapons" >> _item; -_onBack = dayz_onBack in MeleeWeapons; +_create = getArray (_config >> "ItemActions" >> "Toolbelt" >> "output") select 0; +_config2 = configFile >> "cfgWeapons" >> _create; +_toolsFull = getNumber (_config2 >> "type") == 131072 && ({getNumber (configFile >> "CfgWeapons" >> _x >> "type") == 131072} count (weapons player)) >= 12; +_primaryFull = getNumber (_config2 >> "type") == 1 && (primaryWeapon player != ""); +_removed = false; + +if (player hasWeapon _create or _toolsFull or _primaryFull) exitWith { + localize "str_player_24" call dayz_rollingMessages; + dayz_actionInProgress = false; +}; _onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1; -if (_onLadder) exitWith {cutText [localize "str_player_21", "PLAIN DOWN"]}; +if (_onLadder) exitWith {localize "str_player_21" call dayz_rollingMessages; dayz_actionInProgress = false;}; -_hastoolweapon = _item in weapons player; +//Make sure the player still has the tool this script was spawned with _text = getText (_config >> "displayName"); -if (!_hastoolweapon and !_onBack) exitWith {cutText [format [localize "str_player_30",_text] , "PLAIN DOWN"]}; +if ((dayz_onBack != _item && carryClick) or (!(player hasWeapon _item) && !carryClick)) exitWith { + format[localize "str_player_30",_text] call dayz_rollingMessages; + dayz_actionInProgress = false; +}; call gear_ui_init; -//Add new item -_create = getArray (_config >> "ItemActions" >> "Toolbelt" >> "output") select 0; -_config2 = configFile >> "cfgWeapons" >> _create; - -//removing current melee weapon if new melee selected -_melee2tb = ""; -if ((_item in ["ItemHatchet","ItemCrowbar","ItemMachete","ItemFishingPole"]) || _item == DayZ_onBack) then { - if (!carryClick) then { - //free primary slot for new melee (remember item to add after) - switch (primaryWeapon player) do { - case "MeleeHatchet": {if !("ItemHatchet" in weapons player) then {player removeWeapon "MeleeHatchet"; _melee2tb = "ItemHatchet";};}; - case "MeleeCrowbar": {if !("ItemCrowbar" in weapons player) then {player removeWeapon "MeleeCrowbar"; _melee2tb = "ItemCrowbar";};}; - case "MeleeMachete": {if !("ItemMachete" in weapons player) then {player removeWeapon "MeleeMachete"; _melee2tb = "ItemMachete";};}; - case "MeleeFishingPole": {player removeWeapon "MeleeFishingPole"; _melee2tb = "ItemFishingPole";}; - }; - } else { - if (DayZ_onBack != "" || _item == DayZ_onBack) then { - switch DayZ_onBack do { - case "MeleeHatchet": {if !("ItemHatchet" in weapons player) then {dayz_onBack = ""; _melee2tb = "ItemHatchet";};}; - case "MeleeCrowbar": {if !("ItemCrowbar" in weapons player) then {dayz_onBack = ""; _melee2tb = "ItemCrowbar";};}; - case "MeleeMachete": {if !("ItemMachete" in weapons player) then {dayz_onBack = ""; _melee2tb = "ItemMachete";};}; - case "MeleeFishingPole": {dayz_onBack = ""; _melee2tb = "ItemFishingPole";}; - }; - carryClick = false; - ((findDisplay 106) displayCtrl 1209) ctrlSetText ""; - }; - }; +if (_item == dayz_onBack && carryClick) then { + dayz_onBack = ""; + carryClick = false; + ((findDisplay 106) displayCtrl 1209) ctrlSetText ""; + _removed = true; }; -//Remove melee magazines (BIS_fnc_invAdd fix) (add new melee ammo to array if needed) -{player removeMagazines _x} count ["Hatchet_Swing","Crowbar_Swing","Machete_Swing","Fishing_Swing"]; - -_isOk = [player,_config2] call BIS_fnc_invAdd; -if (_isOk) then { - player removeWeapon _item; - //adding old melee converted to Item on place of removed _item - if (_melee2tb != "") then { - //we know there is place to add item but to prevent BE spam using _config2 - _config2 = _melee2tb; - _isOk = [player,_config2] call BIS_fnc_invAdd; - }; +if (_removed or {([player,_config] call BIS_fnc_invRemove) == 1}) then { + player addWeapon _create; } else { closeDialog 0; - cutText [localize "str_player_24", "PLAIN DOWN"]; -}; \ No newline at end of file + format[localize "str_player_30",_text] call dayz_rollingMessages; +}; + +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_addtoBack.sqf b/SQF/dayz_code/actions/player_addtoBack.sqf index 3380d6e8..bf295e5a 100644 --- a/SQF/dayz_code/actions/player_addtoBack.sqf +++ b/SQF/dayz_code/actions/player_addtoBack.sqf @@ -5,12 +5,12 @@ _config = configFile >> "cfgWeapons" >> _item; call gear_ui_init; _onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1; -if (_onLadder) exitWith {cutText [localize "str_player_21", "PLAIN DOWN"]}; +if (_onLadder) exitWith {localize "str_player_21" call dayz_rollingMessages;}; _hastoolweapon = _item in weapons player; _text = getText (_config >> "displayName"); -if (!_hastoolweapon) exitWith {cutText [format [localize "str_player_30",_text] , "PLAIN DOWN"]}; -if (dayZ_OnBack != "") exitWith {closeDialog 0; cutText [format [localize "str_player_toback_fail",_text] , "PLAIN DOWN"]}; +if (!_hastoolweapon) exitWith {format[localize "str_player_30",_text] call dayz_rollingMessages;}; +if (dayZ_OnBack != "") exitWith {closeDialog 0; format[localize "str_player_toback_fail",_text] call dayz_rollingMessages;}; call gear_ui_init; diff --git a/SQF/dayz_code/actions/player_attach_bomb.sqf b/SQF/dayz_code/actions/player_attach_bomb.sqf index ad7badfd..e095c403 100644 --- a/SQF/dayz_code/actions/player_attach_bomb.sqf +++ b/SQF/dayz_code/actions/player_attach_bomb.sqf @@ -1,4 +1,4 @@ -private ["_theBomb","_vehicle","_curFuel","_newFuel","_timeLeft","_hasToolbox","_hasCarBomb","_dis","_sfx","_alreadyBombed","_hasCrowbar"]; +private ["_theBomb","_vehicle","_curFuel","_newFuel","_timeLeft","_hasToolbox","_hasCarBomb","_dis","_sfx","_alreadyBombed","_hasCrowbar","_finished"]; _vehicle = _this select 3; _hasToolbox = "ItemToolbox" in items player; @@ -6,33 +6,38 @@ _hasCrowbar = "ItemCrowbar" in items player; _hasCarBomb = "ItemCarBomb" in magazines player; _alreadyBombed = _vehicle getVariable["hasBomb",false]; if(!_hasToolbox or !_hasCrowbar) exitWith { - cutText [localize "str_bombToolMissing", "PLAIN DOWN"]; + localize "str_bombToolMissing" call dayz_rollingMessages; }; if(!_hasCarBomb) exitWith { - cutText [localize "str_bombMissing", "PLAIN DOWN"]; + localize "str_bombMissing" call dayz_rollingMessages; }; +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; + /* if(_vehicle getVariable["hasBomb",false]) exitWith { - cutText [localize "str_bombAlready", "PLAIN DOWN"]; + localize "str_bombAlready" call dayz_rollingMessages; }; */ -player removeMagazine "ItemCarBomb"; - -//wait a bit -player playActionNow "Medic"; -sleep 1; - //DO Animation _dis=20; _sfx = "tentunpack"; [player,_sfx,0,false,_dis] call dayz_zombieSpeak; [player,_dis,true,(getPosATL player)] spawn player_alertZombies; +_finished = ["Medic",1] call fn_loopAction; +if (!_finished or !("ItemCarBomb" in magazines player)) exitWith { + dayz_actionInProgress = false; +}; + +player removeMagazine "ItemCarBomb"; + //Send the Eventhandler to Server if(!_alreadyBombed) then { PVDZ_dayzCarBomb = [_vehicle,getPlayerUID player]; publicVariableServer "PVDZ_dayzCarBomb"; }; -cutText [localize "str_bombAttached", "PLAIN DOWN"]; \ No newline at end of file +localize "str_bombAttached" call dayz_rollingMessages; +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_breakin.sqf b/SQF/dayz_code/actions/player_breakin.sqf index 7bd5e359..57737f40 100644 --- a/SQF/dayz_code/actions/player_breakin.sqf +++ b/SQF/dayz_code/actions/player_breakin.sqf @@ -1,5 +1,5 @@ private ["_brokein","_isOk","_hasSledgeHammer","_gps","_vars","_hasToolbox","_hasCrowbar","_limit","_proceed","_counter", -"_dis","_sfx","_roll","_animState","_started","_finished","_isMedic","_isGate"]; +"_dis","_sfx","_roll","_finished","_isGate","_values"]; _target = _this select 3; _pos = getPos _target; @@ -11,15 +11,13 @@ _hasSledgeHammer = "ItemSledgeHammer" in items player; _hasCrowbar = "ItemCrowbar" in items player; if (!_hasSledgeHammer) exitWith { - //titleText [localize "STR_BLD_BREAKIN_NEED_SLEDGE", "PLAIN DOWN"]; localize "STR_BLD_BREAKIN_NEED_SLEDGE" call dayz_rollingMessages; - sleep 1; + uiSleep 1; }; -if (!_hasCrowbar) exitWith { - //titleText [localize "STR_BLD_BREAKIN_NEED_CROWBAR", "PLAIN DOWN"]; +if (!_hasCrowbar) exitWith { localize "STR_BLD_BREAKIN_NEED_CROWBAR" call dayz_rollingMessages; - sleep 1; + uiSleep 1; }; _isOk = true; @@ -27,6 +25,15 @@ _proceed = false; _counter = 0; _brokein = false; +//[ChanceToBreakin,SledgeChance,CowbarChance] +_values = switch (1==1) do { + case (_isWoodenGate): { [0.04,0.30,0.20] }; + case (_isMetalGate): { [0.02,0.60,0.40] }; + default { [] }; +}; + +if ( (count _values) == 0 ) exitwith {}; + while {_isOk} do { //Check if we have the tools to start _hasSledgeHammer = "ItemSledgeHammer" in items player; @@ -34,52 +41,24 @@ while {_isOk} do { if (!_hasSledgeHammer) exitWith { _proceed = nil; - //titleText [localize "STR_BLD_BREAKIN_NEED_SLEDGE", "PLAIN DOWN"]; localize "STR_BLD_BREAKIN_NEED_SLEDGE" call dayz_rollingMessages; - sleep 1; + uiSleep 1; }; if (!_hasCrowbar) exitWith { _proceed = nil; - //titleText [localize "STR_BLD_BREAKIN_NEED_CROWBAR", "PLAIN DOWN"]; localize "STR_BLD_BREAKIN_NEED_CROWBAR" call dayz_rollingMessages; - sleep 1; + uiSleep 1; }; -//Run animation - player playActionNow "Medic"; - //Run SFX _dis=20; _sfx = "repair"; [player,_sfx,0,false,_dis] call dayz_zombieSpeak; [player,_dis,true,(getPosATL player)] spawn player_alertZombies; -//Setup Vars - r_interrupt = false; - _animState = animationState player; - r_doLoop = true; - _started = false; - _finished = false; - -//run animation loop - while {r_doLoop} do { - _animState = animationState player; - _isMedic = ["medic",_animState] call fnc_inString; - if (_isMedic) then { - _started = true; - }; - if (_started and !_isMedic) then { - r_doLoop = false; - _finished = true; - }; - if (r_interrupt) then { - r_doLoop = false; - _finished = false; - }; - sleep 0.1; - }; - r_doLoop = false; +//Run animation loop + _finished = ["Medic",1] call fn_loopAction; //Interrupt and end if(!_finished) exitWith { @@ -89,42 +68,29 @@ while {_isOk} do { //Everything happened as it should if(_finished) then { - //Add to Counter + //Add to Counter _counter = _counter + 1; - if (_isMetalGate) then { - //start chance to gain access. - if ([0.02] call fn_chance) then { - _isOk = false; - _proceed = true; - _brokein = true; - _target setVariable ["isOpen", "1", true]; - }; - }; - - if (_isWoodenGate) then { - if ([0.04] call fn_chance) then { - _isOk = false; - _proceed = true; - _brokein = true; - _target setVariable ["isOpen", "1", true]; - }; + //start chance to gain access. + if ([(_values select 0)] call fn_chance) then { + _isOk = false; + _proceed = true; + _brokein = true; + _target setVariable ["isOpen", "1", true]; }; }; //Chances to damage tools - if ([0.02] call fn_chance) then { + if ([(_values select 1)] call fn_chance) then { player removeWeapon "ItemSledgeHammer"; player addWeapon "ItemSledgeHammerBroken"; - //titleText [localize "STR_BLD_BREAKIN_BROKEN_SLEDGE", "PLAIN DOWN"]; localize "STR_BLD_BREAKIN_BROKEN_SLEDGE" call dayz_rollingMessages; }; - if ([0.04] call fn_chance) then { + if ([(_values select 2)] call fn_chance) then { player removeWeapon "ItemCrowbar"; player addWeapon "ItemCrowbarBent"; - //titleText [localize "STR_BLD_BREAKIN_BENT_CROWBAR", "PLAIN DOWN"]; localize "STR_BLD_BREAKIN_BENT_CROWBAR" call dayz_rollingMessages; }; @@ -136,23 +102,14 @@ while {_isOk} do { _proceed = true; }; - //titleText [format[localize "STR_BLD_BREAKIN", _counter,_limit], "PLAIN DOWN"]; - - format[localize "STR_BLD_BREAKIN", _counter,_limit] call dayz_rollingMessages; - sleep 0.03; + format [localize "STR_BLD_BREAKIN", _counter,_limit] call dayz_rollingMessages; + uiSleep 0.03; }; //Tool issues if (isnil "_proceed") exitwith {}; //Interrupted for some reason if (!_proceed) then { - r_interrupt = false; - if (vehicle player == player) then { - [objNull, player, rSwitchMove,""] call RE; - player playActionNow "stop"; - }; - //titleText [localize "STR_BLD_BREAKIN_CANCELLED", "PLAIN DOWN"]; - localize "STR_BLD_BREAKIN_CANCELLED" call dayz_rollingMessages; }; @@ -161,15 +118,11 @@ if (!_proceed) then { //Completed but no success. if (_proceed and !_brokein) then { - //titleText [localize "STR_BLD_BREAKIN_COMPLETE_FAIL", "PLAIN DOWN"]; - localize "STR_BLD_BREAKIN_COMPLETE_FAIL" call dayz_rollingMessages; }; //Completed and successful if (_proceed and _brokein) then { - //titleText [localize "STR_BLD_BREAKIN_COMPLETE", "PLAIN DOWN", 0.3]; - localize "STR_BLD_BREAKIN_COMPLETE" call dayz_rollingMessages; //Open Gate. diff --git a/SQF/dayz_code/actions/player_build.sqf b/SQF/dayz_code/actions/player_build.sqf index bd0a113e..e983167a 100644 --- a/SQF/dayz_code/actions/player_build.sqf +++ b/SQF/dayz_code/actions/player_build.sqf @@ -11,6 +11,9 @@ private ["_classType","_item","_action","_missingTools","_missingItem","_emergin Needs a full rewrite to keep up with the demand of everything we plan to add. */ +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; + call gear_ui_init; closeDialog 1; @@ -25,7 +28,6 @@ if (count _this > 2) then { }; _emergingLevel = 1.1; -r_action_count = 1; _isClass = switch (1==1) do { case (isClass (configFile >> "CfgMagazines" >> _item)): {"CfgMagazines"}; @@ -44,7 +46,7 @@ if (_byPassChecks == "") then { _byPassChecks = "BaseItems" }; if (_ghost == "") then { _ghost = _classname; }; //Remove tents and stashes from new collision system until we find a better way then build tent for hiding items. -_isCollisionBypass = if (isText (configFile >> _isClass >> _item >> _classType >> _action >> "bypassCollision")) then { true } else { false }; +_isCollisionBypass = (isText (configFile >> _isClass >> _item >> _classType >> _action >> "bypassCollision")); _text = getText (configFile >> "CfgVehicles" >> _classname >> "displayName"); _keepOnSlope = 0 == (getNumber (configFile >> "CfgVehicles" >> _classname >> "canbevertical")); @@ -52,12 +54,9 @@ _keepOnSlope = 0 == (getNumber (configFile >> "CfgVehicles" >> _classname >> "ca _onLadder = {getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder") == 1}; _isWater = {(surfaceIsWater (getPosATL _object)) or dayz_isSwimming}; -if (0 != count Dayz_constructionContext) then { - r_action_count = 0; - //cutText [localize "str_already_building", "PLAIN DOWN"]; - _msg = localize "str_already_building"; - _msg call dayz_rollingMessages; - diag_log [ diag_ticktime, __FILE__, 'already building, exiting', Dayz_constructionContext, typeName Dayz_constructionContext]; +if (0 != count Dayz_constructionContext) exitWith { + dayz_actionInProgress = false; + localize "str_already_building" call dayz_rollingMessages; }; // item is missin - this really is pointless but it aint broke so dont fix it @@ -86,7 +85,7 @@ _missing = ""; } count _requiredTools; if (!_ok) exitWith { - r_action_count = 0; + dayz_actionInProgress = false; //cutText [format [localize "str_player_31_missingtools",_text,_missing] , "PLAIN DOWN"]; _msg = format [localize "str_player_31_missingtools",_text,_missing]; _msg call dayz_rollingMessages; @@ -108,7 +107,7 @@ _upgradeParts = []; if (!_ok) exitWith { { player addMagazine _x; } foreach _upgradeParts; - r_action_count = 0; + dayz_actionInProgress = false; // cutText [format [localize "str_player_31", _missing, localize "str_player_31_build"] , "PLAIN DOWN"]; _msg = format [localize "str_player_31", _missing, localize "str_player_31_build"]; _msg call dayz_rollingMessages; @@ -293,7 +292,7 @@ _position = getPosATL _object; _actionBuildHidden = true; _actionCancel = player addAction [localize "str_player_build_cancel", "\z\addons\dayz_code\actions\object_build.sqf", [_object, _requiredParts, _classname, _text, false, 0, "none"], 1, true, true, "", "0 != count Dayz_constructionContext"]; -while {r_action_count != 0 and Dayz_constructionContext select 4} do { +while {Dayz_constructionContext select 4} do { // force the angle so that the ghost is showing always the same side _angleRef=Dayz_constructionContext select 1; @@ -393,7 +392,7 @@ while {r_action_count != 0 and Dayz_constructionContext select 4} do { }; }; }; - sleep 0.03; + uiSleep 0.03; }; if (!_actionBuildHidden) then { // player can't build until all is fine @@ -407,5 +406,5 @@ if (Dayz_constructionContext select 3) then { // "build" camera was on, switch i }; Dayz_constructionContext = []; -r_action_count = 0; +dayz_actionInProgress = false; //systemChat "Dayz_constructionContext reset"; diff --git a/SQF/dayz_code/actions/player_chopWood.sqf b/SQF/dayz_code/actions/player_chopWood.sqf index a3648d14..dd6120fd 100644 --- a/SQF/dayz_code/actions/player_chopWood.sqf +++ b/SQF/dayz_code/actions/player_chopWood.sqf @@ -1,23 +1,20 @@ -private ["_item","_result","_dis","_sfx","_num","_breaking","_countOut","_findNearestTree","_objName","_counter","_isOk","_proceed","_animState","_started","_finished","_isMedic","_itemOut","_tree","_distance2d"]; +private ["_dis","_sfx","_breaking","_countOut","_counter","_isOk","_proceed","_finished","_itemOut","_tree","_distance2d"]; -_item = _this; call gear_ui_init; closeDialog 1; _countOut = floor(random 3) + 2; -_findNearestTree = []; +_tree = objNull; { - if (("" == typeOf _x) && {alive _x}) then { - _objName = _x call fn_getModelName; + if (typeOf _x in dayz_treeTypes && {alive _x} && {(_x call fn_getModelName) in dayz_trees}) exitWith { // Exit since we found a tree - if (_objName in dayz_trees) exitWith { _findNearestTree set [count _findNearestTree,_x]; }; + _tree = _x; }; } count nearestObjects [getPosATL player, [], 20]; //if (["forest",dayz_surfaceType] call fnc_inString) then {// Need tree object for PVDZ_objgather_Knockdown -if (count _findNearestTree > 0) then { - _tree = _findNearestTree select 0; +if (!isNull _tree) then { _distance2d = [player, _tree] call BIS_fnc_distance2D; if (_distance2d > 5) exitWith {localize "str_player_23" call dayz_rollingMessages;}; //Remove melee magazines (BIS_fnc_invAdd fix) (add new melee ammo to array if needed) @@ -29,49 +26,24 @@ if (count _findNearestTree > 0) then { _proceed = false; while {_isOk} do { - //play action - player playActionNow "Medic"; - //setup alert and speak _dis=20; _sfx = "chopwood"; [player,_sfx,0,false,_dis] call dayz_zombieSpeak; [player,_dis,true,(getPosATL player)] call player_alertZombies; - - // Working-Factor for chopping wood. - ["Working",0,[100,15,10,0]] call dayz_NutritionSystem; - - r_interrupt = false; - _animState = animationState player; - r_doLoop = true; - _started = false; - _finished = false; - - while {r_doLoop} do { - _animState = animationState player; - _isMedic = ["medic",_animState] call fnc_inString; - if (_isMedic) then { - _started = true; - }; - if (_started and !_isMedic) then { - r_doLoop = false; - _finished = true; - }; - if (r_interrupt) then { - r_doLoop = false; - }; - - sleep 0.1; - }; + + //play action + _finished = ["Medic",1] call fn_loopAction; if(!_finished) exitWith { _isOk = false; _proceed = false; }; - if(_finished) then { + if (_finished) then { + ["Working",0,[100,15,10,0]] call dayz_NutritionSystem; _breaking = false; - if ([0.04] call fn_chance) then { + if ([0.09] call fn_chance) then { _breaking = true; if ("MeleeHatchet" in weapons player) then { player removeWeapon "MeleeHatchet"; @@ -92,38 +64,35 @@ if (count _findNearestTree > 0) then { _counter = _counter + 1; _itemOut = "ItemLog"; //Drop Item to ground - _itemOut call fn_dropItem; + [_itemOut,1,1] call fn_dropItem; }; if ((_counter == _countOut) || _breaking) exitWith { if (_breaking) then { - cutText [localize "str_HatchetHandleBreaks", "PLAIN DOWN"]; + localize "str_HatchetHandleBreaks" call dayz_rollingMessages; } else { - cutText [localize "str_player_24_Stoped", "PLAIN DOWN"]; + localize "str_player_24_Stoped" call dayz_rollingMessages; }; _isOk = false; _proceed = true; - sleep 1; + uiSleep 1; }; - cutText [format [localize "str_player_24_progress", _counter,_countOut], "PLAIN DOWN"]; + format[localize "str_player_24_progress", _counter,_countOut] call dayz_rollingMessages; }; - if (_proceed ||(_counter > 0) ) then { - //remove vehicle, Need to ask server to remove. - PVDZ_objgather_Knockdown = [_tree,player]; - publicVariableServer "PVDZ_objgather_Knockdown"; - //cutText [format["\n\nChopping down tree.], "PLAIN DOWN"]; - //cutText [localize "str_player_25", "PLAIN DOWN"]; + if (_proceed || (_counter > 0)) then { + //localize "str_choppingTree" call dayz_rollingMessages; + //localize "str_player_25" call dayz_rollingMessages; + if (typeOf _tree == "") then { + // Ask server to setDamage on tree and sync for JIP + PVDZ_objgather_Knockdown = [_tree,player]; + publicVariableServer "PVDZ_objgather_Knockdown"; + } else { + deleteVehicle _tree; + }; }; if !(_proceed) then { - cutText [localize "str_player_24_Stoped", "PLAIN DOWN"]; - - r_interrupt = false; - - if (vehicle player == player) then { - [objNull, player, rSwitchMove,""] call RE; - player playActionNow "stop"; - }; + localize "str_player_24_Stoped" call dayz_rollingMessages; }; //adding melee mags back if needed switch (primaryWeapon player) do { diff --git a/SQF/dayz_code/actions/player_combineMags.sqf b/SQF/dayz_code/actions/player_combineMags.sqf index 4a37c874..24f26766 100644 --- a/SQF/dayz_code/actions/player_combineMags.sqf +++ b/SQF/dayz_code/actions/player_combineMags.sqf @@ -3,11 +3,11 @@ disableSerialization; call gear_ui_init; closeDialog 0; -if (r_action_count != 1) exitWith { cutText [localize "str_player_actionslimit", "PLAIN DOWN"]; }; - +if (dayz_actionInProgress) exitWith { localize "str_player_actionslimit" call dayz_rollingMessages; }; +dayz_actionInProgress = true; _create = _this; -if (!(_create in magazines player)) exitWith {r_action_count = 0;}; +if (!(_create in magazines player)) exitWith {dayz_actionInProgress = false;}; _config = configFile >> "CfgMagazines" >> _create; @@ -19,8 +19,8 @@ _name = getText(configFile >> "CfgMagazines" >> _create >> "displayName"); _magCount = {_x == _create} count magazines player; if (_magCount == 1) exitWith { - cutText [format [localize "str_cannotCombine", _name], "PLAIN DOWN"]; - r_action_count = 0; + [format[localize "str_cannotCombine", _name],1] call dayz_rollingMessages; + dayz_actionInProgress = false; }; //primary/secondary mags? @@ -71,15 +71,15 @@ if(_create == "Quiver") then { switch true do { case (_qtynew_create_ammo_rest == 0) : { - cutText [format [localize "str_combineDoneFull",_magCount, _name, _qtynew_create_mags_full,_magFull], "PLAIN DOWN"]; + format[localize "str_combineDoneFull",_magCount, _name, _qtynew_create_mags_full,_magFull] call dayz_rollingMessages; }; case (_qtynew_create_mags_full == 0) : { - cutText [format [localize "str_combineDonePartialOne",_magCount, _name, _qtynew_create_ammo_rest,_magAmmunition], "PLAIN DOWN"]; + [format[localize "str_combineDonePartialOne",_magCount, _name, _qtynew_create_ammo_rest,_magAmmunition],1] call dayz_rollingMessages; }; default { - cutText [format [localize "str_combineDonePartial",_magCount, _name, _qtynew_create_mags_full, _qtynew_create_ammo_rest,_magAmmunition,_magFullSingular,_magFull], "PLAIN DOWN"]; + [format[localize "str_combineDonePartial",_magCount, _name, _qtynew_create_mags_full, _qtynew_create_ammo_rest,_magAmmunition,_magFullSingular,_magFull],1] call dayz_rollingMessages; }; }; -sleep 1; -r_action_count = 0; \ No newline at end of file +uiSleep 1; +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_consume.sqf b/SQF/dayz_code/actions/player_consume.sqf index e44c27fc..4d07bf6b 100644 --- a/SQF/dayz_code/actions/player_consume.sqf +++ b/SQF/dayz_code/actions/player_consume.sqf @@ -74,6 +74,12 @@ if (dayz_nutritionValuesSystem) then { if (_hungerCount > 0) then { dayz_hunger = 0; dayz_lastMeal = time; }; if (_thirstCount > 0) then { dayz_thirst = 0; dayz_lastDrink = time; }; + + r_player_blood = r_player_blood + _bloodRegen; + + if (r_player_blood > r_player_bloodTotal) then { + r_player_blood = r_player_bloodTotal; + }; }; //Apply or cure infection base on infectionChance @@ -122,9 +128,9 @@ if (_output != "") then if (vehicle player == player) then { //wait a while before dropping the output item - sleep 3; + uiSleep 3; //Drop Item to ground - _output call fn_dropItem; + [_output,1,1] call fn_dropItem; }; }; }; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_craftItem.sqf b/SQF/dayz_code/actions/player_craftItem.sqf index 6c52ffac..9452f89c 100644 --- a/SQF/dayz_code/actions/player_craftItem.sqf +++ b/SQF/dayz_code/actions/player_craftItem.sqf @@ -10,12 +10,14 @@ failChance = 1; */ //diag_log("crafting system"); -private ["_config","_input","_output","_required","_failChance","_hasInput","_availabeSpace","_classname","_isClass","_onLadder","_hasTools","_avail","_selection","_item","_amount","_itemName","_freeSlots","_slotType","_i","_j","_dis","_sfx"]; +private ["_config","_input","_output","_required","_failChance","_hasInput","_availabeSpace","_classname","_isClass","_onLadder","_hasTools","_avail","_selection","_item","_amount","_itemName","_freeSlots","_slotType","_i","_j","_dis","_sfx","_finished"]; +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; //diag_log(str(isnil "r_player_crafting")); //Process has started -if( (animationState player) IN [ "ainvpknlmstpslaywrfldnon_medic" ]) exitwith {}; +if( (animationState player) IN [ "ainvpknlmstpslaywrfldnon_medic" ]) exitwith {dayz_actionInProgress = false;}; //Config class of right click item @@ -82,13 +84,13 @@ if(!r_drag_sqf and !r_player_unconscious and !_onLadder) then { if (_avail < _amount) exitWith { _hasInput = false; _itemName = getText(configFile >> _selection >> _item >> "displayName"); - cutText [format [localize "str_crafting_missing",(_amount - _avail),_itemName], "PLAIN DOWN"]; + format[localize "str_crafting_missing",(_amount - _avail),_itemName] call dayz_rollingMessages; }; } forEach (_input); if (_hasInput) then { //Remove melee magazines (BIS_fnc_invAdd and BIS_fnc_invSlotsEmpty fix) - {player removeMagazines _x} count MeleeMagazines; + false call dz_fn_meleeMagazines; _freeSlots = [player] call BIS_fnc_invSlotsEmpty; { _item = _x select 0; @@ -114,26 +116,28 @@ if(!r_drag_sqf and !r_player_unconscious and !_onLadder) then { _freeSlots set[_j, ((_freeSlots select _j) - (_slotType select _j))]; if (_freeSlots select _j < 0) exitWith { _availabeSpace = false; - cutText [localize "str_crafting_space", "PLAIN DOWN"]; + localize "str_crafting_space" call dayz_rollingMessages; }; }; }; }; } forEach _output; - //sleep 1; + //uiSleep 1; + true call dz_fn_meleeMagazines; if (_availabeSpace) then { //player playActionNow "PutDown"; call gear_ui_init; closeDialog 1; - player playActionNow "Medic"; - sleep 2; - //setup alert and speak + _dis=20; - _sfx = "chopwood"; + _sfx = if (_classname == "equip_rope") then {"bandage"} else {"chopwood"}; [player,_sfx,0,false,_dis] call dayz_zombieSpeak; [player,_dis,true,(getPosATL player)] call player_alertZombies; + _finished = ["Medic",1] call fn_loopAction; + if (!_finished) exitWith {}; + { _item = _x select 0; _amount = _x select 2; @@ -149,10 +153,10 @@ if(!r_drag_sqf and !r_player_unconscious and !_onLadder) then { player removeMagazine _item; }; }; - //sleep 0.1; + //uiSleep 0.1; }; } forEach _input; - sleep 3; + { _item = _x select 0; _selection = _x select 1; @@ -174,14 +178,16 @@ if(!r_drag_sqf and !r_player_unconscious and !_onLadder) then { player addBackpack _item; }; }; - cutText [format [localize "str_crafting_success",_itemName], "PLAIN DOWN"]; - //sleep 2; + format[localize "str_crafting_success",_itemName] call dayz_rollingMessages; + //uiSleep 2; } else { - cutText [format [localize "str_crafting_failed",_itemName], "PLAIN DOWN"]; - //sleep 2; + format[localize "str_crafting_failed",_itemName] call dayz_rollingMessages; + //uiSleep 2; }; }; } forEach _output; }; }; -}; \ No newline at end of file +}; + +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_craftitemGUI.sqf b/SQF/dayz_code/actions/player_craftitemGUI.sqf index e6cdc087..2f2f2233 100644 --- a/SQF/dayz_code/actions/player_craftitemGUI.sqf +++ b/SQF/dayz_code/actions/player_craftitemGUI.sqf @@ -71,13 +71,13 @@ if (count _nearByPile > 0) then { if (_avail < _amount) exitWith { _hasInput = false; _itemName = getText(configFile >> _selection >> _item >> "displayName"); - cutText [format [localize "str_crafting_missing",(_amount - _avail),_itemName], "PLAIN DOWN"]; + format[localize "str_crafting_missing",(_amount - _avail),_itemName] call dayz_rollingMessages; }; } forEach (_input + _required); if (_hasInput) then { //Remove melee magazines (BIS_fnc_invAdd and BIS_fnc_invSlotsEmpty fix) - {player removeMagazines _x} count MeleeMagazines; + false call dz_fn_meleeMagazines; _freeSlots = [player] call BIS_fnc_invSlotsEmpty; { _item = _x select 0; @@ -103,13 +103,14 @@ if (count _nearByPile > 0) then { _freeSlots set[_j, ((_freeSlots select _j) - (_slotType select _j))]; if (_freeSlots select _j < 0) exitWith { _availabeSpace = false; - cutText [localize "str_crafting_space", "PLAIN DOWN"]; + localize "str_crafting_space" call dayz_rollingMessages; }; }; }; }; } forEach _output; - //sleep 1; + true call dz_fn_meleeMagazines; + //uiSleep 1; if (_availabeSpace) then { player playActionNow "PutDown"; @@ -128,7 +129,7 @@ if (count _nearByPile > 0) then { player removeMagazine _item; }; }; - //sleep 0.1; + //uiSleep 0.1; }; } forEach _input; @@ -153,11 +154,11 @@ if (count _nearByPile > 0) then { player addBackpack _item; }; }; - cutText [format [localize "str_crafting_success",_itemName], "PLAIN DOWN"]; - //sleep 2; + format[localize "str_crafting_success",_itemName] call dayz_rollingMessages; + //uiSleep 2; } else { - cutText [format [localize "str_crafting_failed",_itemName], "PLAIN DOWN"]; - //sleep 2; + format[localize "str_crafting_failed",_itemName] call dayz_rollingMessages; + //uiSleep 2; }; }; } forEach _output; diff --git a/SQF/dayz_code/actions/player_createQuiver.sqf b/SQF/dayz_code/actions/player_createQuiver.sqf index be4fa8b6..2c405a3f 100644 --- a/SQF/dayz_code/actions/player_createQuiver.sqf +++ b/SQF/dayz_code/actions/player_createQuiver.sqf @@ -4,8 +4,8 @@ call gear_ui_init; _qty_arrows = {_x == "1Rnd_Arrow_Wood"} count magazines player; _qty_quivers = {_x == "12Rnd_Quiver_Wood"} count magazines player; -//if (_qty_quivers > 0) exitWith { cutText [localize "str_quiver_reachlimit","PLAIN DOWN"];}; -if (_qty_arrows < 2) exitWith { cutText [localize "str_quiver_notenougharrows","PLAIN DOWN"];}; //Not enough arrows to create 12Rnd_Quiver_Wood +//if (_qty_quivers > 0) exitWith { localize "str_quiver_reachlimit" call dayz_rollingMessages;}; +if (_qty_arrows < 2) exitWith { localize "str_quiver_notenougharrows" call dayz_rollingMessages;}; //Not enough arrows to create 12Rnd_Quiver_Wood _qty_quiverarrows = _qty_arrows min 6; @@ -13,4 +13,4 @@ for "_x" from 1 to _qty_quiverarrows do { player removeMagazine "1Rnd_Arrow_Wood"; }; player addMagazine ["12Rnd_Quiver_Wood",_qty_quiverarrows]; -cutText [format [localize "str_quiver_createsuccess",_qty_quiverarrows], "PLAIN DOWN"]; +format[localize "str_quiver_createsuccess",_qty_quiverarrows] call dayz_rollingMessages; diff --git a/SQF/dayz_code/actions/player_createstash.sqf b/SQF/dayz_code/actions/player_createstash.sqf deleted file mode 100644 index 917bfa79..00000000 --- a/SQF/dayz_code/actions/player_createstash.sqf +++ /dev/null @@ -1,74 +0,0 @@ -private ["_playerPos","_item","_location","_config","_text","_dir","_dis","_sfx","_consumetext","_stashname","_stashtype","_stash","_consume","_hasitemcount","_worldspace"]; - -//check if can pitch here -call gear_ui_init; -closeDialog 1; - -if (r_action_count != 1) exitWith { cutText [localize "str_player_actionslimit", "PLAIN DOWN"]; }; - -//Player Pos -_playerPos = getPosATL player; - -//Classname -_item = _this; - -//Config -_config = configFile >> "CFGWeapons" >> _item; -_text = getText (_config >> "displayName"); -_stashtype = "0"; -_consume = getText (_config >> "consume"); -_consumetext = getText (configFile >> "CfgMagazines" >> _consume >> "displayName"); - -_hasitemcount = {_x == _consume} count magazines player; - -if (_hasitemcount > 0) then { _stashtype = getText (_config >> "stashsmall"); }; -_stashname = getText (configFile >> "CfgVehicles" >> _stashtype >> "displayName"); - -// Items are missing -if ((!(_consume IN magazines player))) exitWith { - r_action_count = 0; - cutText [format [localize "str_player_31_stash",_consumetext] , "PLAIN DOWN"]; -}; - -_location = player modeltoworld [0,2.5,0]; -_location set [2,0]; - -//blocked -if (["concrete",dayz_surfaceType] call fnc_inString) exitwith { - r_action_count = 0; -}; - -_worldspace = [_stashtype, player] call fn_niceSpot; - -if ((count _worldspace) == 2) then { - player removeMagazine _consume; - _dir = round(direction player); - - //wait a bit - player playActionNow "Medic"; - sleep 1; - - _dis=20; - _sfx = "tentunpack"; - [player,_sfx,0,false,_dis] call dayz_zombieSpeak; - [player,_dis,true,(getPosATL player)] call player_alertZombies; - - sleep 5; - //place tent (local) - _stash = createVehicle [_stashtype, _location, [], 0, "CAN_COLLIDE"]; - _stash setdir _dir; - _stash setposATL _location; - player reveal _stash; - - _stash setVariable ["characterID",dayz_characterID,true]; - - PVDZ_obj_Publish = [dayz_characterID,_stash,[_dir,_location],[]]; - publicVariableServer "PVDZ_obj_Publish"; - diag_log [diag_ticktime, __FILE__, "New Networked object, request to save to hive. PVDZ_obj_Publish:", PVDZ_obj_Publish]; - - r_action_count = 0; - cutText [format [localize "str_success_stash_pitch",_stashname], "PLAIN DOWN"]; -} else { - r_action_count = 0; - cutText [format [localize "str_fail_stash_pitch",_stashname], "PLAIN DOWN"]; -}; diff --git a/SQF/dayz_code/actions/player_destroyTent.sqf b/SQF/dayz_code/actions/player_destroyTent.sqf index 6e1ebb26..7ce3d98e 100644 --- a/SQF/dayz_code/actions/player_destroyTent.sqf +++ b/SQF/dayz_code/actions/player_destroyTent.sqf @@ -1,4 +1,4 @@ -private ["_cantype","_emptycan","_intensity","_objectID","_objectUID","_obj","_fuelArray","_matchArray","_alreadyDestorying","_randomJerryCan","_fireIntensity","_randomBoxMatches","_qtyRemaining","_dis","_sfx"]; +private ["_emptycan","_objectID","_objectUID","_obj","_fuelArray","_matchArray","_randomJerryCan","_fireIntensity","_dis","_sfx","_finished"]; //Tent Object _obj = _this select 3; @@ -14,7 +14,7 @@ _matchArray = []; if (_x IN items player) then { _matchArray set [count _matchArray, _x]; }; -} count Dayz_Ignators; +} count DayZ_Ignitors; //Count how many fuelcans the player has incase they have more then one. { @@ -27,19 +27,22 @@ _matchArray = []; if ((count _fuelArray == 0)) exitwith { systemChat (localize ("str_setFireFuel")); }; if ((count _matchArray == 0)) exitwith { systemChat (localize ("str_setFireMatches")); }; -//Play normal action animation -player playActionNow "Medic"; +if (dayz_actionInProgress) exitWith { localize "str_player_actionslimit" call dayz_rollingMessages; }; +dayz_actionInProgress = true; //Actionmenu tools -player removeAction s_player_destorytent; -s_player_destorytent = -1; +player removeAction s_player_destroytent; +s_player_destroytent = -1; -//Make sure you can only destory once -_alreadyDestorying = _obj getVariable["alreadyDestorying",0]; - -if (_alreadyDestorying == 1) exitWith {cutText [localize "str_TentAlreadyLit" , "PLAIN DOWN"]}; +_dis=20; +_sfx = "tentpack"; +[player,_sfx,0,false,_dis] call dayz_zombieSpeak; +[player,_dis,true,(getPosATL player)] call player_alertZombies; -_obj setVariable["alreadyDestorying",1]; +_finished = ["Medic",1] call fn_loopAction; +if (!_finished or (isNull _obj)) exitWith { + dayz_actionInProgress = false; +}; //Jerry can system ** Needs redoing //Select random can from array @@ -49,41 +52,19 @@ _name = getText (configFile >> "CfgMagazines" >> _randomJerryCan >> "displayName _emptycan = getText (configFile >> "CfgMagazines" >> _randomJerryCan >> "emptycan"); _fireIntensity = getNumber (configFile >> "CfgMagazines" >> _randomJerryCan >> "fireIntensity"); +if !(_randomJerryCan in magazines player) exitWith { + localize "str_setFireFuel" call dayz_rollingMessages; + dayz_actionInProgress = false; +}; + player removeMagazine _randomJerryCan; player addMagazine _emptycan; -//Match system ** Needs redoing -//Select random matchbox -_randomBoxMatches = _matchArray call BIS_fnc_selectRandom; -_qtyRemaining = getText (configFile >> "cfgWeapons" >> _randomBoxMatches >> "Ignators" >> "qtyRemaining"); - -switch _randomBoxMatches do { - case "ItemMatchbox" : { - if ([0.3] call fn_chance) then { - player removeWeapon _randomBoxMatches; - player addWeapon _qtyRemaining; - - //info box. - systemChat (localize "str_info_limitedbox"); - }; - }; - default { - player removeWeapon _randomBoxMatches; - player addWeapon _qtyRemaining; - }; -}; - -//Normal alerts -_dis=20; -_sfx = "tentpack"; -[player,_sfx,0,false,_dis] call dayz_zombieSpeak; -[player,_dis,true,(getPosATL player)] call player_alertZombies; +["matches",0.3] call fn_dynamicTool; // Added Nutrition-Factor for work ["Working",0,[20,40,15,0]] call dayz_NutritionSystem; -sleep 3; - PVDZ_obj_Destroy = [_objectID,_objectUID]; publicVariableServer "PVDZ_obj_Destroy"; @@ -104,4 +85,5 @@ publicVariable "PVDZ_obj_Fire"; _obj inflame true; //_obj spawn player_fireMonitor; -cutText [localize "str_success_tent_destoryed", "PLAIN DOWN"]; \ No newline at end of file +localize "str_success_tent_destroyed" call dayz_rollingMessages; +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_drinkWater.sqf b/SQF/dayz_code/actions/player_drinkWater.sqf deleted file mode 100644 index 47c228cb..00000000 --- a/SQF/dayz_code/actions/player_drinkWater.sqf +++ /dev/null @@ -1,83 +0,0 @@ -private ["_playerPos","_canFill","_isPond","_isWell","_pondPos","_objectsWell","_onLadder","_hasbottleitem","_config","_item","_text","_objectsPond","_qty","_dis","_sfx","_isInfected","_bodiesNear","_chance","_itemorignal","_well"]; - -call gear_ui_init; -closeDialog 0; -_item = _this; -_playerPos = getPosATL player; -_canFill = count nearestObjects [_playerPos, ["Land_pumpa","Land_water_tank"], 4] > 0; -_isPond = false; -_isWell = false; -_isInfected = false; -_pondPos = []; -_objectsWell = []; - -_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1; -if (_onLadder) exitWith {cutText [localize "str_player_21", "PLAIN DOWN"]}; - -_itemorignal = _this; -//diag_log(str(_itemorignal)); - -if (!dayz_isSwimming) then { - player playActionNow "PutDown"; -}; - -if (!_canFill) then { - _objectsWell = nearestObjects [_playerPos, [], 4]; - { - //Check for Well - _isWell = ["_well",str(_x),false] call fnc_inString; - if (_isWell) then {_canFill = true}; - } forEach _objectsWell; -}; - -if (!_canFill) then { - _objectsPond = nearestObjects [_playerPos, [], 100]; - { - //Check for pond - _isPond = ["pond",str(_x),false] call fnc_inString; - //Check for Dead Bodies - _bodiesNear = ["dead",str(_x),false] call fnc_inString; - if (!_bodiesNear) then { - _bodiesNear = ["massgrave",str(_x),false] call fnc_inString; - }; - if (_bodiesNear) then { - _isInfected = true; - }; - if (_isPond) then { - _pondPos = (_x worldToModel _playerPos) select 2; - if (_pondPos < 0) then { - _canFill = true; - }; - }; - } forEach _objectsPond; -}; - -if (_canFill) then { - _chance = 0.1; - - if (_itemorignal in boil_tin_cans) then { - _chance = 0.06; - ["FoodDrink",0,[0,0,300,0]] call dayz_NutritionSystem; //[Energy,food,water,temp] - } else { - _chance = 0.03; - ["FoodDrink",0,[0,0,150,0]] call dayz_NutritionSystem; //[Energy,food,water,temp] - }; - - [player,"drink",0,false,5] call dayz_zombieSpeak; - [player,10,true,(getPosATL player)] call player_alertZombies; - - if(!_isWell) then { - if (_isInfected) then { - r_player_infected = true; - player setVariable["USEC_infected",true,true]; - } else { - if ([_chance] call fn_chance) then { - r_player_infected = true; - player setVariable["USEC_infected",true,true]; - }; - }; - }; - cutText [localize "str_drinkwithhands", "PLAIN DOWN"]; -} else { - cutText [localize "str_player_32", "PLAIN DOWN"]; -}; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_dropWeapon.sqf b/SQF/dayz_code/actions/player_dropWeapon.sqf index f29eb558..cb26dfff 100644 --- a/SQF/dayz_code/actions/player_dropWeapon.sqf +++ b/SQF/dayz_code/actions/player_dropWeapon.sqf @@ -5,15 +5,21 @@ _item = _this; _config = configFile >> "CfgWeapons" >> _item; _droppedType = getText (_config >> "droppeditem"); +//Make sure the player still has the tool this script was spawned with +if ((dayz_onBack != _item && carryClick) or (!(player hasWeapon _item) && !carryClick)) exitWith { + format[localize "str_player_30",getText (_config >> "displayName")] call dayz_rollingMessages; +}; + _onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1; -if (_onLadder) exitWith { cutText [localize "str_player_21", "PLAIN DOWN"]; r_action_count = 0; }; -if (r_action_count != 1) exitWith { cutText [localize "str_player_actionslimit", "PLAIN DOWN"]; }; +if (_onLadder) exitWith { localize "str_player_21" call dayz_rollingMessages; }; +if (dayz_actionInProgress) exitWith { localize "str_player_actionslimit" call dayz_rollingMessages; }; +dayz_actionInProgress = true; call gear_ui_init; _consume = ([] + getArray (_config >> "magazines")) select 0; -if ((dayz_onBack != "") && (dayz_onBack in MeleeWeapons) && carryClick) then { +if (_item == dayz_onBack && carryClick) then { switch DayZ_onBack do { case "MeleeHatchet": {_item = "ItemHatchet"; dayz_onBack = "";}; case "MeleeCrowbar": {_item = "ItemCrowbar"; dayz_onBack = "";}; @@ -31,4 +37,4 @@ _bag = createVehicle [format["WeaponHolder_%1",_item],getPosATL player,[], 1, "C _bag modelToWorld getPosATL player; _bag setDir (getDir player); player reveal _bag; -r_action_count = 0; \ No newline at end of file +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_fillQuiver.sqf b/SQF/dayz_code/actions/player_fillQuiver.sqf index ffc0aad9..bd881735 100644 --- a/SQF/dayz_code/actions/player_fillQuiver.sqf +++ b/SQF/dayz_code/actions/player_fillQuiver.sqf @@ -10,7 +10,7 @@ _control = uiNamespace getVariable 'uiControl'; _qty_quiverarrows = gearSlotAmmoCount _control; _qty_quiverfreeslots = 12-_qty_quiverarrows; -//if (_qty_quivers > 1) exitWith { cutText [localize "str_quiver_reachlimit", "PLAIN DOWN"];}; +//if (_qty_quivers > 1) exitWith { localize "str_quiver_reachlimit" call dayz_rollingMessages;}; if (_qty_quiverfreeslots > 0) then { _qty_arrows2add = _qty_quiverfreeslots min _qty_arrows; player removeMagazine "12Rnd_Quiver_Wood"; @@ -18,7 +18,7 @@ if (_qty_quiverfreeslots > 0) then { player removeMagazine "1Rnd_Arrow_Wood"; }; player addMagazine ["12Rnd_Quiver_Wood",_qty_quiverarrows+_qty_arrows2add]; - cutText [format [localize "str_quiver_addarrows",_qty_arrows2add], "PLAIN DOWN"]; + format[localize "str_quiver_addarrows",_qty_arrows2add] call dayz_rollingMessages; } else { - cutText [localize "str_quiver_full", "PLAIN DOWN"]; + localize "str_quiver_full" call dayz_rollingMessages; }; diff --git a/SQF/dayz_code/actions/player_fixBottle.sqf b/SQF/dayz_code/actions/player_fixBottle.sqf index ae083b4f..039e63d9 100644 --- a/SQF/dayz_code/actions/player_fixBottle.sqf +++ b/SQF/dayz_code/actions/player_fixBottle.sqf @@ -1,21 +1,30 @@ -private ["_bottle","_tape","_fixedBottle"]; +private ["_bottle","_tape","_fixedBottle","_finished"]; _bottle = _this; _tape = "equip_duct_tape"; _fixedBottle = "ItemWaterBottleUnfilled"; + +if (dayz_actionInProgress) exitWith { localize "str_player_actionslimit" call dayz_rollingMessages; }; +dayz_actionInProgress = true; + call gear_ui_init; closeDialog 0; // Check if the player has the tape if (_tape in magazines player) then { - //Fix the bottle - player playActionNow "Medic"; - [player,"bandage",0,false] call dayz_zombieSpeak; - sleep 6; - player removeMagazine _bottle; - player removeMagazine _tape; - player addMagazine _fixedBottle; - cutText [localize "str_fix_water_bottle", "PLAIN DOWN"]; + [player,"bandage",0,false] call dayz_zombieSpeak; + _finished = ["Medic",1] call fn_loopAction; + if (!_finished) exitWith {}; + + // Check again to make sure player didn't drop item + if (_tape in magazines player) then { + player removeMagazine _bottle; + player removeMagazine _tape; + player addMagazine _fixedBottle; + localize "str_fix_water_bottle" call dayz_rollingMessages; + }; } else { //If the player doesn't have the tape - cutText [localize "str_fix_water_bottle_fail", "PLAIN DOWN"]; -}; \ No newline at end of file + localize "str_fix_water_bottle_fail" call dayz_rollingMessages; +}; + +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_fixTools.sqf b/SQF/dayz_code/actions/player_fixTools.sqf index 34d3dd84..b750b7ac 100644 --- a/SQF/dayz_code/actions/player_fixTools.sqf +++ b/SQF/dayz_code/actions/player_fixTools.sqf @@ -1,5 +1,5 @@ //fixHatchet old file -private ["_tool","_tape","_fixedItem","_config","_dName","_handle"]; +private ["_tool","_tape","_fixedItem","_config","_dName","_handle","_finished"]; _tool = _this; _config = configFile >> "CfgWeapons" >> _tool; @@ -12,29 +12,36 @@ _tape = "equip_duct_tape"; //Handle _handle = "equip_lever"; +if (dayz_actionInProgress) exitWith { localize "str_player_actionslimit" call dayz_rollingMessages; }; +dayz_actionInProgress = true; + call gear_ui_init; closeDialog 0; // Check if the player has the tape -if ((_tape in magazines player) && (_handle in magazines player)) then { - //Fix the tool - player playActionNow "Medic"; +if ((_tape in magazines player) && (_handle in magazines player) && (_tool in items player)) then { [player,"bandage",0,false] call dayz_zombieSpeak; - sleep 6; - player removeWeapon _tool; - player removeMagazine _tape; - player removeMagazine _handle; - player addWeapon _fixedItem; - cutText [format [localize "str_fixToolSuccess", _dName], "PLAIN DOWN"]; + _finished = ["Medic",1] call fn_loopAction; + if (!_finished) exitWith {}; + // Check again to make sure player didn't drop item + if ((_tape in magazines player) && (_handle in magazines player) && (_tool in items player)) then { + player removeWeapon _tool; + player removeMagazine _tape; + player removeMagazine _handle; + player addWeapon _fixedItem; + format[localize "str_fixToolSuccess", _dName] call dayz_rollingMessages; + }; } else { //If the player doesn't have the mats. if (!(_tape in magazines player)) then { if (!(_handle in magazines player)) then { - cutText [localize "str_fixToolFail", "PLAIN DOWN"]; + localize "str_fixToolFail" call dayz_rollingMessages; } else { - cutText [localize "str_fixtoolMissingTape", "PLAIN DOWN"]; + localize "str_fixtoolMissingTape" call dayz_rollingMessages; }; } else { - cutText [localize "str_fixtoolMissingHandle", "PLAIN DOWN"]; + localize "str_fixtoolMissingHandle" call dayz_rollingMessages; }; -}; \ No newline at end of file +}; + +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_goFishing.sqf b/SQF/dayz_code/actions/player_goFishing.sqf index fc366670..b22ed64d 100644 --- a/SQF/dayz_code/actions/player_goFishing.sqf +++ b/SQF/dayz_code/actions/player_goFishing.sqf @@ -12,7 +12,7 @@ _vehicle removeAction (_this select 2); s_player_fishing = -1; s_player_fishing_veh = -1; -if(dayz_fishingInprogress) exitWith { cutText [localize "str_fishing_inprogress", "PLAIN DOWN"];}; +if(dayz_fishingInprogress) exitWith { localize "str_fishing_inprogress" call dayz_rollingMessages;}; dayz_fishingInprogress = true; //line distance @@ -52,7 +52,7 @@ for "_i" from 1 to 10 do { if (!_isOk) exitWith { dayz_fishingInprogress = false; - cutText [localize "str_fishing_watercheck" , "PLAIN DOWN"]; + localize "str_fishing_watercheck" call dayz_rollingMessages; }; _counter = 0; @@ -65,14 +65,14 @@ player playActionNow "GestureSwing"; r_interrupt = false; while {_isOk} do { - if(dayz_isSwimming) exitWith {cutText [localize "str_player_26", "PLAIN DOWN"];_isOk = false;}; + if(dayz_isSwimming) exitWith {localize "str_player_26" call dayz_rollingMessages;_isOk = false;}; if !((currentWeapon player) in Dayz_fishingItems or (player != vehicle player and !((vehicle player) isKindOf "Ship"))) exitwith { - cutText [localize "str_fishing_canceled", "PLAIN DOWN"]; + localize "str_fishing_canceled" call dayz_rollingMessages; _isOk = false; }; if (r_interrupt) then { _isOk = false; - cutText [localize "str_fishing_canceled", "PLAIN DOWN"]; + localize "str_fishing_canceled" call dayz_rollingMessages; } else { //make sure the player isnt swimming uiSleep 2; // wait for animation @@ -106,7 +106,7 @@ while {_isOk} do { _itemtodrop = _itemOut; _item addMagazineCargoGlobal [_itemtodrop,1]; //Let the player know what he caught - cutText [format [localize "str_fishing_success",_text], "PLAIN DOWN"]; + format[localize "str_fishing_success",_text] call dayz_rollingMessages; } else { call gear_ui_init; //Remove melee magazines (BIS_fnc_invAdd fix) @@ -114,9 +114,9 @@ while {_isOk} do { _result = [player,_itemOut] call BIS_fnc_invAdd; if (_result) then { //Let the player know what he caught - cutText [format [localize "str_fishing_success",_text], "PLAIN DOWN"]; + format[localize "str_fishing_success",_text] call dayz_rollingMessages; } else { - cutText [format [localize "str_fishing_noroom",_text], "PLAIN DOWN"]; + format[localize "str_fishing_noroom",_text] call dayz_rollingMessages; }; //adding melee mags back if needed call dayz_meleeMagazineCheck; @@ -127,17 +127,17 @@ while {_isOk} do { _isOk = false; } else { switch (true) do { - case (_counter == 0) : { cutText [format [localize "str_fishing_cast",_num], "PLAIN DOWN"]; }; - case (_counter == 4) : { cutText [localize "str_fishing_pull", "PLAIN DOWN"]; player playActionNow "GesturePoint"; }; - case (_counter == 8) : { cutText [localize "str_fishing_pull", "PLAIN DOWN"]; player playActionNow "GesturePoint"; }; - default { cutText [localize "str_fishing_nibble", "PLAIN DOWN"]; }; + case (_counter == 0) : { format[localize "str_fishing_cast",_num] call dayz_rollingMessages; }; + case (_counter == 4) : { localize "str_fishing_pull" call dayz_rollingMessages; player playActionNow "GesturePoint"; }; + case (_counter == 8) : { localize "str_fishing_pull" call dayz_rollingMessages; player playActionNow "GesturePoint"; }; + default { localize "str_fishing_nibble" call dayz_rollingMessages; }; }; _counter = _counter + 1; if (_counter == 12) then { _isOk = false; uiSleep 1; - cutText [localize "str_fishing_failed", "PLAIN DOWN"]; + localize "str_fishing_failed" call dayz_rollingMessages; }; }; }; diff --git a/SQF/dayz_code/actions/player_makefire.sqf b/SQF/dayz_code/actions/player_makefire.sqf index db0a2688..106cd19f 100644 --- a/SQF/dayz_code/actions/player_makefire.sqf +++ b/SQF/dayz_code/actions/player_makefire.sqf @@ -1,9 +1,12 @@ -private ["_item","_config","_text","_booleans","_worldspace","_dir","_location","_dis","_fire","_tool","_itemPile"]; +private ["_item","_config","_text","_booleans","_worldspace","_dir","_location","_fire","_tool","_itemPile","_finished"]; _tool = _this; call gear_ui_init; closeDialog 0; +if (dayz_actionInProgress) exitWith { localize "str_player_actionslimit" call dayz_rollingMessages; }; +dayz_actionInProgress = true; + _item = "ItemLog"; _itemPile = "PartWoodPile"; _config = configFile >> "CfgMagazines" >> _item; @@ -11,20 +14,31 @@ _text = getText (_config >> "displayName"); // item is missing or tools are missing if (!(_item in magazines player) && !(_itemPile in magazines player)) exitWith { - //cutText [localize "str_player_22", "PLAIN DOWN"]; - (localize "str_player_22") call dayz_rollingMessages; + localize "str_player_22" call dayz_rollingMessages; + dayz_actionInProgress = false; }; _booleans = []; //testonLadder, testSea, testPond, testBuilding, testSlope, testDistance _worldspace = ["Land_Fire_DZ", player, _booleans] call fn_niceSpot; // player on ladder or in a vehicle -if (_booleans select 0) exitWith { cutText [localize "str_player_21", "PLAIN DOWN"]; }; +if (_booleans select 0) exitWith { + localize "str_player_21" call dayz_rollingMessages; + dayz_actionInProgress = false; +}; // object would be in the water (pool or sea) -if ((_booleans select 1) OR (_booleans select 2)) exitWith { cutText [localize "str_player_26", "PLAIN DOWN"]; }; +if ((_booleans select 1) OR (_booleans select 2)) exitWith { + localize "str_player_26" call dayz_rollingMessages; + dayz_actionInProgress = false; +}; if ((count _worldspace) == 2) then { + [player,20,true,(getPosATL player)] call player_alertZombies; + + _finished = ["Medic",1] call fn_loopAction; + if (!_finished or (!(_item in magazines player) && !(_itemPile in magazines player))) exitWith {}; + if (_item in magazines player) then { player removeMagazine _item; } else { @@ -33,36 +47,29 @@ if ((count _worldspace) == 2) then { _dir = _worldspace select 0; _location = _worldspace select 1; - player playActionNow "Medic"; - uiSleep 1; // fireplace location may not be in front of player (but in 99% time it should) player setDir _dir; player setPosATL (getPosATL player); - _dis=20; - [player,_dis,true,(getPosATL player)] call player_alertZombies; - // Added Nutrition-Factor for work ["Working",0,[20,40,15,0]] call dayz_NutritionSystem; - - uiSleep 5; - _fire = createVehicle ["Land_Fire_DZ", getMarkerpos "respawn_west", [], 0, "CAN_COLLIDE"]; + _fire = createVehicle ["Land_Fire_DZ", [0,0,0], [], 0, "CAN_COLLIDE"]; _fire setDir _dir; _fire setPos _location; // follow terrain slope player reveal _fire; [_fire,true] call dayz_inflame; _fire spawn player_fireMonitor; - if (dayz_playerAchievements select 14 < 1) then { + /*if (dayz_playerAchievements select 14 < 1) then { // Firestarter dayz_playerAchievements set [14,1]; achievement = [14, player, dayz_characterID]; publicVariableServer "achievement"; - }; - //cutText [localize "str_fireplace_01", "PLAIN DOWN"]; - (localize "str_fireplace_01") call dayz_rollingMessages; + };*/ + localize "str_fireplace_01" call dayz_rollingMessages; } else { - //cutText [localize "str_fireplace_02", "PLAIN DOWN"]; - (localize "str_fireplace_0") call dayz_rollingMessages; -}; \ No newline at end of file + localize "str_fireplace_02" call dayz_rollingMessages; +}; + +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_mineStone.sqf b/SQF/dayz_code/actions/player_mineStone.sqf index 9a9563d2..7afad525 100644 --- a/SQF/dayz_code/actions/player_mineStone.sqf +++ b/SQF/dayz_code/actions/player_mineStone.sqf @@ -1,12 +1,11 @@ -private ["_item","_result","_dis","_sfx","_num","_breaking","_counter","_rocks","_findNearestRock", -"_objName","_countOut","_isOk","_proceed","_animState","_started","_finished","_isMedic","_itemOut","_wpPos","_nearByPile"]; +private ["_item","_dis","_sfx","_breaking","_counter","_rocks","_findNearestRock","_objName","_countOut","_isOk","_proceed","_finished","_itemOut"]; _item = _this; call gear_ui_init; closeDialog 1; -if(dayz_workingInprogress) exitWith { cutText [localize "STR_MINING_IN_PROGRESS", "PLAIN DOWN"];}; -dayz_workingInprogress = true; +if (dayz_actionInProgress) exitWith { localize "str_player_actionslimit" call dayz_rollingMessages; }; +dayz_actionInProgress = true; // allowed rocks list move this later _rocks = ["r2_boulder1.p3d","r2_boulder2.p3d","r2_rock1.p3d","r2_rock2.p3d","r2_rocktower.p3d","r2_rockwall.p3d","r2_stone.p3d"]; @@ -22,58 +21,30 @@ _findNearestRock = objNull; if (!isNull _findNearestRock) then { _countOut = 2 + floor(random 3); - //Remove melee magazines (BIS_fnc_invAdd fix) (add new melee ammo to array if needed) - {player removeMagazines _x} forEach ["Hatchet_Swing","Crowbar_Swing","Machete_Swing","Fishing_Swing"]; - // Start stone mining loop _counter = 0; _isOk = true; _proceed = false; while {_isOk} do { - //play action - player playActionNow "Medic"; - //setup alert and speak _dis=20; _sfx = "minestone"; [player,_sfx,0,false,_dis] call dayz_zombieSpeak; [player,_dis,true,(getPosATL player)] call player_alertZombies; - - // Working-Factor for mining stone. - ["Working",0,[100,15,10,0]] call dayz_NutritionSystem; - r_interrupt = false; - _animState = animationState player; - r_doLoop = true; - _started = false; - _finished = false; - - while {r_doLoop} do { - _animState = animationState player; - _isMedic = ["medic",_animState] call fnc_inString; - if (_isMedic) then { - _started = true; - }; - if (_started and !_isMedic) then { - r_doLoop = false; - _finished = true; - }; - if (r_interrupt) then { - r_doLoop = false; - }; - - sleep 0.1; - }; + _finished = ["Medic",1] call fn_loopAction; if(!_finished) exitWith { _isOk = false; _proceed = false; }; - if(_finished) then { + if(_finished) then { + ["Working",0,[100,15,10,0]] call dayz_NutritionSystem; + _breaking = false; - if ([0.04] call fn_chance) then { + if ([0.09] call fn_chance) then { _breaking = true; if ("MeleePickaxe" in weapons player) then { player removeWeapon "MeleePickaxe"; @@ -95,42 +66,26 @@ if (!isNull _findNearestRock) then { _itemOut = "ItemStone"; //Drop Item to ground - _itemOut call fn_dropItem; + [_itemOut,1,1] call fn_dropItem; }; if ((_counter >= _countOut) || _breaking) exitWith { if (_breaking) then { - cutText [localize "str_PickAxeHandleBreaks", "PLAIN DOWN"]; + localize "str_PickAxeHandleBreaks" call dayz_rollingMessages; } else { - cutText [localize "str_mining_finished", "PLAIN DOWN"]; + localize "str_mining_finished" call dayz_rollingMessages; }; _isOk = false; _proceed = true; - sleep 1; }; - cutText [format[localize "str_mining_progress", _counter,(_countOut - _counter)], "PLAIN DOWN"]; + format[localize "str_mining_progress", _counter,(_countOut - _counter)] call dayz_rollingMessages; }; if (!_proceed) then { - cutText [localize "str_mining_canceled", "PLAIN DOWN"]; - - r_interrupt = false; - - if (vehicle player == player) then { - [objNull, player, rSwitchMove,""] call RE; - player playActionNow "stop"; - }; - }; - - //adding melee mags back if needed - switch (primaryWeapon player) do { - case "MeleeHatchet": {player addMagazine 'Hatchet_Swing';}; - case "MeleeCrowbar": {player addMagazine 'Crowbar_Swing';}; - case "MeleeMachete": {player addMagazine 'Machete_Swing';}; - case "MeleeFishingPole": {player addMagazine 'Fishing_Swing';}; + localize "str_mining_canceled" call dayz_rollingMessages; }; } else { - cutText [localize "str_mining_no_rocks", "PLAIN DOWN"]; + localize "str_mining_no_rocks" call dayz_rollingMessages; }; -dayz_workingInprogress = false; \ No newline at end of file +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_pushPlane.sqf b/SQF/dayz_code/actions/player_pushPlane.sqf index 92dce13f..6c0ce112 100644 --- a/SQF/dayz_code/actions/player_pushPlane.sqf +++ b/SQF/dayz_code/actions/player_pushPlane.sqf @@ -1,8 +1,5 @@ private ["_dir","_object","_speed","_vel"]; -_object = _this select 3; - -player removeAction s_player_pushPlane; -s_player_pushPlane = -1; +_object = _this; if (!local _object) exitWith { localize "str_actions_pilot_seat" call dayz_rollingMessages; @@ -20,5 +17,5 @@ _object setVelocity [ // Alert Zombies [player,20,true,(getPosATL player)] call player_alertZombies; -// Added Nutrition-Factor for work -["Working",0,[20,40,15,0]] call dayz_NutritionSystem; +//Player can push in rapid succession resulting in quick dehydration or starvation +//["Working",0,[0,1,3,0]] call dayz_NutritionSystem; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_recombineMagazine.sqf b/SQF/dayz_code/actions/player_recombineMagazine.sqf index aa3a9612..344f3945 100644 --- a/SQF/dayz_code/actions/player_recombineMagazine.sqf +++ b/SQF/dayz_code/actions/player_recombineMagazine.sqf @@ -7,12 +7,12 @@ disableSerialization; call gear_ui_init; //note - one slot ammo can be used! -r_action_count = r_action_count + 1; -if (r_action_count != 1) exitWith { cutText [localize "str_player_actionslimit", "PLAIN DOWN"]; }; +if (dayz_actionInProgress) exitWith { localize "str_player_actionslimit" call dayz_rollingMessages; }; +dayz_actionInProgress = true; _item = _this; -if (!(_item in magazines player)) exitWith {r_action_count = 0;}; +if (!(_item in magazines player)) exitWith {dayz_actionInProgress = false;}; _config = configFile >> "CfgMagazines" >> _item; @@ -26,7 +26,7 @@ _item_ammo = gearSlotAmmoCount (uiNamespace getVariable 'uiControl'); if (currentWeapon player != "") then { _mags = [] + getArray (configFile >> "cfgWeapons" >> (currentWeapon player) >> "magazines"); }; -if !(_create in _mags) exitWith {cutText [localize "str_must_have_weapon", "PLAIN DOWN"];}; +if !(_create in _mags) exitWith {localize "str_must_have_weapon" call dayz_rollingMessages;}; */ player playActionNow "PutDown"; @@ -96,8 +96,8 @@ if (_consume_magsize > _create_magsize) then { }; if ((_qtynew_create_mags + _qtynew_consume_mags) > (_qty_create_mags + _qty_consume_mags + _qty_free_slots)) exitWith { - r_action_count = 0; - cutText [localize "str_player_24", "PLAIN DOWN"]; + dayz_actionInProgress = false; + localize "str_player_24" call dayz_rollingMessages; }; _qtynew_consume_mags_full = floor(_qtynew_consume_ammo/_consume_magsize); _qtynew_create_mags_full = floor(_qtynew_create_ammo/_create_magsize); @@ -120,5 +120,5 @@ for "_i" from 1 to _qtynew_create_mags_full do { if (_qtynew_create_ammo_rest != 0) then { player addMagazine [_create,_qtynew_create_ammo_rest]; }; -sleep 1; -r_action_count = 0; \ No newline at end of file +uiSleep 1; +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_reloadMags.sqf b/SQF/dayz_code/actions/player_reloadMags.sqf index 260486a2..2b6eca25 100644 --- a/SQF/dayz_code/actions/player_reloadMags.sqf +++ b/SQF/dayz_code/actions/player_reloadMags.sqf @@ -1,22 +1,23 @@ private ["_item","_config","_consume","_create","_item_ammo","_consume_magsize","_create_magsize","_consume_type","_slotstart", "_slotend","_dialog","_qty_total_ammo","_qty_consume_ammo","_qty_create_ammo","_qty_consume_mags","_qty_create_mags","_qty_free_slots", "_control","_mag","_qtynew_create_ammo","_qtynew_consume_ammo","_qtynew_create_mags","_qtynew_consume_mags","_qtynew_consume_mags_full", -"_qtynew_create_mags_full","_qtynew_consume_ammo_rest","_qtynew_create_ammo_rest","_mags","_i"]; +"_qtynew_create_mags_full","_qtynew_consume_ammo_rest","_qtynew_create_ammo_rest","_mags","_use"]; disableSerialization; call gear_ui_init; //note - one slot ammo can be used! -r_action_count = r_action_count + 1; -if (r_action_count != 1) exitWith { cutText [localize "str_player_actionslimit", "PLAIN DOWN"]; }; +if (dayz_actionInProgress) exitWith { localize "str_player_actionslimit" call dayz_rollingMessages; }; +dayz_actionInProgress = true; _item = _this; -if (!(_item in magazines player)) exitWith {r_action_count = 0;}; +if (!(_item in magazines player)) exitWith {dayz_actionInProgress = false;}; _config = configFile >> "CfgMagazines" >> _item; -_consume = getArray (_config >> "ItemActions" >> "ReloadMag" >> "use") select 0; +_use = getArray (_config >> "ItemActions" >> "ReloadMag" >> "use"); +_consume = _use select 0; _create = getArray (_config >> "ItemActions" >> "ReloadMag" >> "output") select 0; _item_ammo = gearSlotAmmoCount (uiNamespace getVariable 'uiControl'); @@ -26,7 +27,7 @@ _item_ammo = gearSlotAmmoCount (uiNamespace getVariable 'uiControl'); if (currentWeapon player != "") then { _mags = [] + getArray (configFile >> "cfgWeapons" >> (currentWeapon player) >> "magazines"); }; -if !(_create in _mags) exitWith {cutText [localize "str_must_have_weapon", "PLAIN DOWN"];}; +if !(_create in _mags) exitWith {localize "str_must_have_weapon" call dayz_rollingMessages;}; */ player playActionNow "PutDown"; @@ -96,8 +97,8 @@ if (_consume_magsize > _create_magsize) then { }; if ((_qtynew_create_mags + _qtynew_consume_mags) > (_qty_create_mags + _qty_consume_mags + _qty_free_slots)) exitWith { - r_action_count = 0; - cutText [localize "str_player_24", "PLAIN DOWN"]; + dayz_actionInProgress = false; + localize "str_player_24" call dayz_rollingMessages; }; _qtynew_consume_mags_full = floor(_qtynew_consume_ammo/_consume_magsize); _qtynew_create_mags_full = floor(_qtynew_create_ammo/_create_magsize); @@ -118,7 +119,21 @@ for "_i" from 1 to _qtynew_create_mags_full do { player addMagazine _create; }; if (_qtynew_create_ammo_rest != 0) then { - player addMagazine [_create,_qtynew_create_ammo_rest]; + if (count _use == 4) then { + //Prevent combine to partially full 8RndShotgun or 20RndDMR (i.e. 2x5RndM24 = 10RndDMR) + //Stops duping via move partial in backpack, relog, split, combine to partial again, repeat + _qtynew_consume_mags_full = floor(_qtynew_create_ammo_rest/_consume_magsize); + _qtynew_consume_ammo_rest = _qtynew_create_ammo_rest - (_qtynew_consume_mags_full*_consume_magsize); + + for "_i" from 1 to _qtynew_consume_mags_full do { + player addMagazine _consume; + }; + if (_qtynew_consume_ammo_rest > 0) then { + player addMagazine [_consume,_qtynew_consume_ammo_rest]; + }; + } else { + player addMagazine [_create,_qtynew_create_ammo_rest]; + }; }; -sleep 1; -r_action_count = 0; \ No newline at end of file +uiSleep 1; +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_removeAttachment.sqf b/SQF/dayz_code/actions/player_removeAttachment.sqf index 0760c64c..c3e66c76 100644 --- a/SQF/dayz_code/actions/player_removeAttachment.sqf +++ b/SQF/dayz_code/actions/player_removeAttachment.sqf @@ -27,12 +27,14 @@ _newWeapon = _this select 2; //check that player has enough room in inventory //Remove melee magazines (BIS_fnc_invAdd and BIS_fnc_invSlotsEmpty fix) -{player removeMagazines _x} count MeleeMagazines; +false call dz_fn_meleeMagazines; if ((([player] call BIS_fnc_invSlotsEmpty) select 4) < 1) exitWith { closeDialog 0; (localize "str_player_24") call dayz_rollingMessages; + true call dz_fn_meleeMagazines; }; +true call dz_fn_meleeMagazines; //check that player has the weapon if (!(player hasWeapon _weapon)) exitWith diff --git a/SQF/dayz_code/actions/player_setTrap.sqf b/SQF/dayz_code/actions/player_setTrap.sqf deleted file mode 100644 index 379f117c..00000000 --- a/SQF/dayz_code/actions/player_setTrap.sqf +++ /dev/null @@ -1,39 +0,0 @@ -private ["_item","_config","_onLadder","_classname","_text","_consume","_hastrapitem","_location","_object"]; - -_item = _this; -_config = configFile >> "CfgWeapons" >> _item; - -if (r_action_count != 1) exitWith { cutText [localize "str_player_actionslimit", "PLAIN DOWN"]; }; - -_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1; -if (_onLadder) exitWith { r_action_count = 0; cutText [localize "str_player_21", "PLAIN DOWN"]}; - -call gear_ui_init; - -_classname = getText (configFile >> "CfgMagazines" >> _item >> "ItemActions" >> "Build" >> "create"); -_text = getText (configFile >> "CfgVehicles" >> _classname >> "displayName"); -_consume = ([] + getArray (_config >> "magazines")) select 0; - -_hastrapitem = _item in magazines player; - -if (!_hastrapitem) exitWith { r_action_count = 0; cutText [format [localize "str_player_31",_text,localize "str_player_31_place"] , "PLAIN DOWN"]}; - -player removeMagazine _item; -_location = getPosATL player; - -player playActionNow "PutDown"; -sleep 1; - -_object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"]; -_object setDir (getDir player); - -_object setVariable ["armed", false, true]; - -PVDZ_obj_Publish = [dayz_characterID,_object,[getDir _object, getPosATL _object],[["armed", _object getVariable "armed"]]]; -publicVariableServer "PVDZ_obj_Publish"; -diag_log [diag_ticktime, __FILE__, "New Networked object, request to save to hive. PVDZ_obj_Publish:", PVDZ_obj_Publish]; - -player reveal _object; - -r_action_count = 0; -cutText [format [localize "str_build_01",_text], "PLAIN DOWN"]; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_sharpen.sqf b/SQF/dayz_code/actions/player_sharpen.sqf index c5f07a99..41b22406 100644 --- a/SQF/dayz_code/actions/player_sharpen.sqf +++ b/SQF/dayz_code/actions/player_sharpen.sqf @@ -1,4 +1,4 @@ -private ["_item","_use","_repair","_waterUsed","_displayName","_msg"]; +private ["_item","_use","_repair","_waterUsed","_displayName"]; //['ItemKnifeBlunt','ItemKnife'] _item = _this select 0; //Item to be sharpened @@ -17,38 +17,33 @@ closeDialog 1; // item is missing or tools are missing if (isNil "_waterUsed") exitWith { //_displayName = getText (configFile >> "CfgMagazines" >> _use >> "displayName"); - _msg = localize "str_sharpen_missing_water"; - _msg call dayz_rollingMessages; + localize "str_sharpen_missing_water" call dayz_rollingMessages; }; // item is missing or tools are missing -if (!(_item IN items player)) exitWith { - _displayName = getText (configFile >> "CfgWeapons" >> _item >> "displayName"); - //cutText [format["Missing Item",_displayName], "PLAIN DOWN"]; - _msg = format[localize "str_missing_to_do_this",_displayName]; - _msg call dayz_rollingMessages; +if !("equip_brick" IN magazines player) exitWith { + _displayName = getText (configFile >> "CfgMagazines" >> "equip_brick" >> "displayName"); + format [localize "str_missing_to_do_this",_displayName] call dayz_rollingMessages; }; if (player hasWeapon _item) then { _displayName = getText (configFile >> "CfgWeapons" >> _item >> "displayName"); player removeMagazine _waterUsed; - Player removeWeapon _item; - - Player addWeapon _repair; + player removeWeapon _item; - if (_waterUsed in ["ItemWaterBottle","ItemWaterBottleInfected","ItemWaterBottleSafe","ItemWaterBottleBoiled","ItemWaterBottleHerbal"]) then { - player addMagazine "ItemWaterBottleUnfilled"; - }; - if (_waterUsed in ["ItemCanteen","ItemCanteenInfected","ItemCanteenSafe","ItemCanteenBoiled","ItemCanteenHerbal"]) then { - player addMagazine "ItemCanteenEmpty"; + if !(player hasWeapon _repair) then { + player addWeapon _repair; + } else { + //Drop sharpened knife if player already has one. Prevents duplicate tool. + [_repair,2,1] call fn_dropItem; + format[localize "str_actions_noroom",_repair] call dayz_rollingMessages; }; + player addMagazine (getText(configFile >> "CfgMagazines" >> _waterUsed >> "containerEmpty")); + //Remove Later player removeMagazine "equip_brick"; - - //cutText [format ["%1 has been Sharpened",_displayName], "PLAIN DOWN"]; - _msg = format [localize "str_sharpen_success",_displayName]; - _msg call dayz_rollingMessages; + format [localize "str_sharpen_success",_displayName] call dayz_rollingMessages; }; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_sleep.sqf b/SQF/dayz_code/actions/player_sleep.sqf index d2e8d374..b790d6ff 100644 --- a/SQF/dayz_code/actions/player_sleep.sqf +++ b/SQF/dayz_code/actions/player_sleep.sqf @@ -1,3 +1,6 @@ +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; + private ["_playArray","_lastRest","_blood","_timesincedrink","_bloodinc","_Moves","_sleepArray","_animState","_started","_finished","_timer","_i","_r","_cureAttempt","_isAsleep","_cureChance","_infectedStatus","_randomamount","_isOwner","_tent"]; //_timesincedrink = time - dayz_lastDrink; //_bloodinc =100; Removed for now(untested) due to it not needed yet @@ -9,9 +12,11 @@ _sleepArray = ["aidlppnemstpsnonwnondnon_sleepc_laydown","aidlppnemstpsnonwnondn //_playArray = _sleepArray call BIS_fnc_selectRandom; player playmove "AidlPpneMstpSnonWnonDnon_SleepC_sleep"; -if (r_action) exitwith {}; +_sleeping = player getVariable ["sleeping",false]; + +if (_sleeping) exitWith {dayz_actionInProgress = false;}; -r_action = true; +player setVariable ["sleeping",true]; r_interrupt = false; _animState = animationState player; @@ -52,7 +57,7 @@ while {r_doLoop} do { } else { _infectedStatus = if (r_player_infected) then { "Infected" } else { "Cured" }; _cureAttempt = _cureAttempt + 0.01; - cutText [format [localize "str_sleepInfection",r_player_blood,_infectedStatus], "PLAIN DOWN"]; + format[localize "str_sleepInfection",r_player_blood,_infectedStatus] call dayz_rollingMessages; }; }; }; @@ -61,22 +66,22 @@ while {r_doLoop} do { if (!r_player_injured && !r_player_infected && !(r_player_Sepsis select 0)) then { //Give 53 + random amount of blood every 16 secs if player isn't injured. if ((diag_tickTime - _timer) >= 16) then { - if (r_player_blood < 12000) then { + if (r_player_blood < r_player_bloodTotal) then { //Make the random amount of blood you can gain equal to the percentage of blood you have. - _randomamount = round(random (r_player_blood/12000*100)); + _randomamount = round(random (r_player_blood/r_player_bloodTotal*100)); _blood = 53 + _randomamount; //Max Possible 153. }; //Make sure we don't go over the max amount - if ((r_player_blood - 12000) < _blood) then { + if ((r_player_blood - r_player_bloodTotal) < _blood) then { r_player_bloodregen = r_player_bloodregen + _blood; } else { - r_player_blood = 12000; + r_player_blood = r_player_bloodTotal; }; _timer = diag_tickTime; _infectedStatus = if (r_player_infected) then { "Yes" } else { "Cured" }; - cutText [format [localize "str_sleepStats",_blood,r_player_blood], "PLAIN DOWN"]; + format[localize "str_sleepStats",_blood,r_player_blood] call dayz_rollingMessages; }; }; @@ -102,7 +107,8 @@ if (r_interrupt) then { player playActionNow "stop"; }; -r_action = false; +player setVariable ["sleeping",false]; +dayz_actionInProgress = false; //Removed due to player sync returning [] //PVDZ_plr_Save = [player,nil,true,dayz_playerAchievements]; diff --git a/SQF/dayz_code/actions/player_takeArrow.sqf b/SQF/dayz_code/actions/player_takeArrow.sqf index f68c573c..1fb03004 100644 --- a/SQF/dayz_code/actions/player_takeArrow.sqf +++ b/SQF/dayz_code/actions/player_takeArrow.sqf @@ -13,14 +13,14 @@ _qty_quiverarrows = gearSlotAmmoCount _control; _empty = [player] call BIS_fnc_invSlotsEmpty; _emptymagslotcount = _empty select 4; //empty magazines slots -if (_qty_quivers > 1) exitWith { cutText [localize "str_quiver_reachlimit", "PLAIN DOWN"];}; +if (_qty_quivers > 1) exitWith { localize "str_quiver_reachlimit" call dayz_rollingMessages;}; if (_qty_quiverarrows == 2) then { //remove 12Rnd_Quiver_Wood - add 2 arrows if (_emptymagslotcount > 0) then { player removeMagazine "12Rnd_Quiver_Wood"; player addMagazine "1Rnd_Arrow_Wood"; player addMagazine "1Rnd_Arrow_Wood"; } else { - cutText [localize "str_player_24", "PLAIN DOWN"]; //Error + localize "str_player_24" call dayz_rollingMessages; //Error }; } else { if (_emptymagslotcount > 0) then { @@ -28,6 +28,6 @@ if (_qty_quiverarrows == 2) then { //remove 12Rnd_Quiver_Wood - add 2 arrows player addMagazine "1Rnd_Arrow_Wood"; player addMagazine ["12Rnd_Quiver_Wood",_qty_quiverarrows-1]; } else { - cutText [localize "str_player_24", "PLAIN DOWN"]; //Error + localize "str_player_24" call dayz_rollingMessages; //Error }; }; diff --git a/SQF/dayz_code/actions/player_tearClothes.sqf b/SQF/dayz_code/actions/player_tearClothes.sqf index 6259d34c..da89a2fc 100644 --- a/SQF/dayz_code/actions/player_tearClothes.sqf +++ b/SQF/dayz_code/actions/player_tearClothes.sqf @@ -1,4 +1,4 @@ -private ["_skin","_rnd","_rounded","_itemtocreate","_i","_config","_infoText","_result","_nearByPile","_pile","__FILE__"]; +private ["_skin","_rnd","_rounded","_itemtocreate","_i","_config","_result","_finished"]; _skin = _this; _config = configFile >> "CfgMagazines" >> _skin; @@ -8,32 +8,40 @@ _rnd = random 3; _rounded = round _rnd; call gear_ui_init; closeDialog 0; -_infoText = ""; + +if (dayz_actionInProgress) exitWith { localize "str_player_actionslimit" call dayz_rollingMessages; }; +dayz_actionInProgress = true; //Tear the clothes -player playActionNow "Medic"; [player,"bandage",0,false] call dayz_zombieSpeak; -sleep 6; -if !(_skin in magazines player) exitWith {localize "str_tear_clothes_0" call dayz_rollingMessages;}; +_finished = ["Medic",1] call fn_loopAction; +if (!_finished) exitWith { + dayz_actionInProgress = false; +}; + +if !(_skin in magazines player) exitWith { + localize "str_tear_clothes_0" call dayz_rollingMessages; + dayz_actionInProgress = false; +}; player removeMagazine _skin; switch (_rounded) do { case 0: { - cutText [localize "str_tear_clothes_0", "PLAIN DOWN"]; + localize "str_tear_clothes_0" call dayz_rollingMessages; }; case 1: { - cutText [localize "str_tear_clothes_1", "PLAIN DOWN"]; + localize "str_tear_clothes_1" call dayz_rollingMessages; }; case 2: { - cutText [localize "str_tear_clothes_2", "PLAIN DOWN"]; + localize "str_tear_clothes_2" call dayz_rollingMessages; }; case 3: { - cutText [localize "str_tear_clothes_3", "PLAIN DOWN"]; + localize "str_tear_clothes_3" call dayz_rollingMessages; }; }; //Remove melee magazines (BIS_fnc_invAdd fix) -{player removeMagazines _x} count MeleeMagazines; +false call dz_fn_meleeMagazines; _i = 0; while {_i < _rounded} do { _i = _i + 1; @@ -42,20 +50,13 @@ while {_i < _rounded} do { if (_rnd < 0.5) then { [player,"equip_string"] call BIS_fnc_invAdd; }; - sleep 0.03; + uiSleep 0.03; if (!_result) then { systemchat (localize ("str_tear_clothes_noroom")); - - _nearByPile = nearestObjects [getPosATL player, ["WeaponHolder","WeaponHolderBase"], 2]; - _pile = if (count _nearByPile > 0) then {_nearByPile select 0}; - if (count _nearByPile == 0) then { - _pos = player modeltoWorld [0,1,0]; - _pos set [2, 0]; - //diag_log format [ "%1 itempos:%2 _nearByPile:%3", __FILE__, _pos, _nearByPile]; - _pile = createVehicle ["WeaponHolder", _pos, [], 0.0, "CAN_COLLIDE"]; - _pile setPosATL _pos; - }; - _pile addMagazineCargoGlobal [_itemtocreate,1]; + [_itemtocreate,1,1] call fn_dropItem; }; -}; \ No newline at end of file +}; +true call dz_fn_meleeMagazines; + +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_useAttchment.sqf b/SQF/dayz_code/actions/player_useAttchment.sqf index 050c150d..7f849288 100644 --- a/SQF/dayz_code/actions/player_useAttchment.sqf +++ b/SQF/dayz_code/actions/player_useAttchment.sqf @@ -18,8 +18,8 @@ _text = getText (_config >> "displayName"); _hasitem = _item in magazines player; //fail saves -if (!_hasitem) exitWith { cutText [localize "str_missingAttachment", "PLAIN DOWN"]}; -if (_onLadder) exitWith { cutText [localize "str_player_21", "PLAIN DOWN"] }; +if (!_hasitem) exitWith { localize "str_missingAttachment" call dayz_rollingMessages;}; +if (_onLadder) exitWith { localize "str_player_21" call dayz_rollingMessages; }; if (_removeWeapon in (weapons player)) then { player removeMagazine _item; @@ -32,6 +32,6 @@ if (_removeWeapon in (weapons player)) then { }; } else { closedialog 0; - sleep 0.2; - cutText [format[ localize "str_missingweapon", _text, _removeWeapon] , "PLAIN DOWN"] + uiSleep 0.2; + format[ localize "str_missingweapon", _text, _removeWeapon] call dayz_rollingMessages; }; \ No newline at end of file diff --git a/SQF/dayz_code/actions/player_useMeds.sqf b/SQF/dayz_code/actions/player_useMeds.sqf index c457afc6..5fa9c5e2 100644 --- a/SQF/dayz_code/actions/player_useMeds.sqf +++ b/SQF/dayz_code/actions/player_useMeds.sqf @@ -4,14 +4,14 @@ _item = _this; call gear_ui_init; closeDialog 0; _onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1; -if (_onLadder) exitWith {cutText [localize "str_player_21", "PLAIN DOWN"]}; +if (_onLadder) exitWith {localize "str_player_21" call dayz_rollingMessages;}; _hasmeditem = _item in magazines player; _config = configFile >> "CfgMagazines" >> _item; _text = getText (_config >> "displayName"); -if (!_hasmeditem) exitWith {cutText [format [localize "str_player_31",_text,localize "str_player_31_use"] , "PLAIN DOWN"]}; +if (!_hasmeditem) exitWith {format[localize "str_player_31",_text,localize "str_player_31_use"] call dayz_rollingMessages;}; switch (_item) do { case "ItemBandage": { @@ -55,7 +55,7 @@ switch (_item) do { player removeMagazine "ItemHeatPack"; //dayz_temperatur = (dayz_temperatur + 5) min dayz_temperaturmax; r_player_warming_heatpack = [true, diag_tickTime]; - cutText [localize "str_player_27", "PLAIN DOWN"]; + localize "str_player_27" call dayz_rollingMessages; }; case "bloodTester": { _id = [0,0,0,[player]] execVM "\z\addons\dayz_code\medical\blood_test.sqf"; @@ -93,6 +93,9 @@ switch (_item) do { case "wholeBloodBagOPOS": { _id = [player,"wholeBloodBagOPOS"] execVM "\z\addons\dayz_code\medical\selfbloodbag.sqf"; }; + case "ItemBloodbag": { + _id = [player,"ItemBloodbag"] execVM "\z\addons\dayz_code\medical\selfbloodbag.sqf"; + }; }; if (vehicle player != player) then { _display = findDisplay 106; diff --git a/SQF/dayz_code/actions/player_wearClothes.sqf b/SQF/dayz_code/actions/player_wearClothes.sqf index b0e90c57..40b1ad94 100644 --- a/SQF/dayz_code/actions/player_wearClothes.sqf +++ b/SQF/dayz_code/actions/player_wearClothes.sqf @@ -1,34 +1,38 @@ if (dayz_lastClothesChange + 5 > diag_tickTime) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; dayz_lastClothesChange = diag_tickTime; + +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; /* _item call player_wearClothes; TODO: female */ private ["_item","_onLadder","_hasclothesitem","_config","_text","_isFemale","_myModel","_humanity","_isBandit","_isHero", -"_itemNew","_model","_skinToArray","_finalArray","_skinToModel"]; +"_itemNew","_model","_skinToArray","_finalArray","_skinToModel","_morphHandle"]; _item = _this; call gear_ui_init; -r_action_count = 0; //reset for strange glitch + _onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1; -if (_onLadder) exitWith {cutText [localize "str_player_21", "PLAIN DOWN"]}; +if (_onLadder) exitWith {localize "str_player_21" call dayz_rollingMessages; dayz_actionInProgress = false;}; _hasclothesitem = _this in magazines player; _config = configFile >> "CfgMagazines"; _text = getText (_config >> _item >> "displayName"); -if (!_hasclothesitem) exitWith {cutText [format [localize "str_player_31",_text,localize "str_player_31_wear"] , "PLAIN DOWN"]}; +if (!_hasclothesitem) exitWith {format[localize "str_player_31",_text,localize "str_player_31_wear"] call dayz_rollingMessages; dayz_actionInProgress = false;}; -if (vehicle player != player) exitWith {cutText [localize "str_player_fail_wear1", "PLAIN DOWN"]}; +if (vehicle player != player) exitWith {localize "str_player_fail_wear1" call dayz_rollingMessages; dayz_actionInProgress = false;}; _isFemale = ((typeOf player == "SurvivorW2_DZ")||(typeOf player == "BanditW1_DZ")); -if (_isFemale) exitWith {cutText [localize "str_player_fail_wear2", "PLAIN DOWN"]}; +if (_isFemale) exitWith {localize "str_player_fail_wear2" call dayz_rollingMessages; dayz_actionInProgress = false;}; _myModel = (typeOf player); _humanity = player getVariable ["humanity",0]; _isBandit = _humanity < -2000; _isHero = _humanity > 5000; _itemNew = "Skin_" + _myModel; +_morphHandle = nil; if ( !(isClass(_config >> _itemNew)) ) then { _itemNew = if (!_isFemale) then {"Skin_Survivor2_DZ"} else {"Skin_SurvivorW2_DZ"}; @@ -57,5 +61,12 @@ if (_item == "Skin_Survivor2_DZ") then { if (_model != _myModel) then { player removeMagazine _item; player addMagazine _itemNew; - [dayz_playerUID, dayz_characterID, _model] spawn player_humanityMorph; + _morphHandle = [dayz_playerUID,dayz_characterID,_model] spawn player_humanityMorph; +} else { + localize "str_player_fail_wear3" call dayz_rollingMessages; +}; + +if (isNil "_morphHandle") then { + // Don't set if humanity morph is still in progress (done at bottom of humanityMorph) + dayz_actionInProgress = false; }; \ No newline at end of file diff --git a/SQF/dayz_code/actions/playerstats/epeen_setText_journal.sqf b/SQF/dayz_code/actions/playerstats/epeen_setText_journal.sqf index ec3b23a9..4c9c564c 100644 --- a/SQF/dayz_code/actions/playerstats/epeen_setText_journal.sqf +++ b/SQF/dayz_code/actions/playerstats/epeen_setText_journal.sqf @@ -1,4 +1,4 @@ -private ["_ys","_ms","_ds","_b","_2","_6","_7","_8","_9","_10","_str_left_text","_1","_3","_4","_5","_blood_in_pack","_blood_in_inv","_mag_arr","_backpack","_11","_mags_for_weap","_mssv_cnt","_weapon","_config","_survivors","_moon","_spawnselection","_disabledTemperature"]; +private ["_currentTime","_totalMins","_days","_hours","_mins","_ys","_ms","_ds","_b","_2","_6","_7","_8","_9","_10","_str_left_text","_1","_3","_4","_5","_blood_in_pack","_blood_in_inv","_mag_arr","_backpack","_11","_mags_for_weap","_mssv_cnt","_weapon","_config","_survivors","_moon","_spawnselection","_disabledTemperature"]; _survivors = playersNumber west; _str_left_text = " @@ -20,223 +20,15 @@ _1 = name player; dayz_currentGlobalZombies = count entities "zZombie_Base"; -/* -if (player hasWeapon "ItemWatch") then -{ - if (dayz_Survived == Dayz_logonDate) then // only interested if the same - assume server will only run over one day before restart - { - switch (true) do - { - case (Dayz_logonTime > 20): {_2 = (localize "str_playerstats_journal_1_a")}; - case (Dayz_logonTime > 17): {_2 = (localize "str_playerstats_journal_1_b")}; - case (Dayz_logonTime > 12): {_2 = (localize "str_playerstats_journal_1_c")}; - default {_2 = (localize "str_playerstats_journal_1_d")}; - }; - } else - { - switch (true) do - { - case (Dayz_logonTime > 20): {_2 = (localize "str_playerstats_journal_1_e")}; - case (Dayz_logonTime > 17): {_2 = (localize "str_playerstats_journal_1_f")}; - case (Dayz_logonTime > 12): {_2 = (localize "str_playerstats_journal_1_g")}; - default {_2 = (localize "str_playerstats_journal_1_h")}; - }; - }; -} else -{ - _2 = (localize "str_playerstats_journal_1_i"); -}; - -_3 = Dayz_logonTown; - -_4 = worldName; - -_ys = str (date select 0); -_ms = ""; -_ds = str (date select 2); - -switch (true) do -{ - case (date select 1 == 1):{_ms = (localize "str_playerstats_journal_month_1")}; - case (date select 1 == 2):{_ms = (localize "str_playerstats_journal_month_2")}; - case (date select 1 == 3):{_ms = (localize "str_playerstats_journal_month_3")}; - case (date select 1 == 4):{_ms = (localize "str_playerstats_journal_month_4")}; - case (date select 1 == 5):{_ms = (localize "str_playerstats_journal_month_5")}; - case (date select 1 == 6):{_ms = (localize "str_playerstats_journal_month_6")}; - case (date select 1 == 7):{_ms = (localize "str_playerstats_journal_month_7")}; - case (date select 1 == 8):{_ms = (localize "str_playerstats_journal_month_8")}; - case (date select 1 == 9):{_ms = (localize "str_playerstats_journal_month_9")}; - case (date select 1 == 10):{_ms =(localize "str_playerstats_journal_month_10")}; - case (date select 1 == 11):{_ms =(localize "str_playerstats_journal_month_11")}; - case (date select 1 == 12):{_ms =(localize "str_playerstats_journal_month_12")}; -}; - -_5 = format[localize "str_playerstats_journal_2_date", _ds, _ms, _ys]; - -// can't test dayz_Survived at home - -switch (true) do -{ - case (dayz_Survived == 0): {_6 = (localize "str_playerstats_journal_2_info_1")}; - case (dayz_Survived == 1): {_6 = (localize "str_playerstats_journal_2_info_2")}; - case (dayz_Survived > 1): {_6 = format [localize "str_playerstats_journal_2_info_3", dayz_Survived]}; - default {}; -}; - -switch (true) do -{ - case (!r_fracture_legs and !r_fracture_arms): {_7 = (localize "str_playerstats_journal_3_1")}; - case (r_fracture_legs and r_fracture_arms): {_7 = (localize "str_playerstats_journal_3_2")}; - case (r_fracture_legs): {_7 = (localize "str_playerstats_journal_3_3")}; - case (r_fracture_arms): {_7 = (localize "str_playerstats_journal_3_4")}; - default {}; -}; - -switch (true) do -{ - case (r_player_infected): - { - if (!r_fracture_legs and !r_fracture_arms) then - { - _8 = (localize "str_playerstats_journal_4_1"); - } else - { - _8 = (localize "str_playerstats_journal_4_2"); - }; - }; - default {_8 = ""}; -}; - -if (r_fracture_legs or r_fracture_arms) then -{ - switch (true) do - { - case (r_player_blood < 3000): {_9 = (localize "str_playerstats_journal_5_1")}; - case (r_player_blood < 6000): {_9 = (localize "str_playerstats_journal_5_2")}; - case (r_player_blood < 9000): {_9 = (localize "str_playerstats_journal_5_3")}; - case (r_player_blood < 11000): {_9 = (localize "str_playerstats_journal_5_4")}; - case (r_player_blood == 12000): {_9 = (localize "str_playerstats_journal_5_5")}; - default {_9 = "."}; - }; -}else -{ - switch (true) do - { - case (r_player_blood < 3000): {_9 = (localize "str_playerstats_journal_5_6")}; - case (r_player_blood < 6000): {_9 = (localize "str_playerstats_journal_5_7")}; - case (r_player_blood < 9000): {_9 = (localize "str_playerstats_journal_5_8")}; - case (r_player_blood < 11000): {_9 = (localize "str_playerstats_journal_5_9")}; - case (r_player_blood == 12000): - { - if (r_player_infected) then - { - _9 = (localize "str_playerstats_journal_5_10"); - } else - { - _9 = (localize "str_playerstats_journal_5_11"); - }; - }; - default {_9 = "."}; - }; -}; - -_blood_in_pack = false; -_backpack = unitBackpack player; - -if (!isNull _backpack) then -{ - _mag_arr = getMagazineCargo _backpack; - if ("ItemBloodbag" in (_mag_arr select 0)) then - { - _blood_in_pack = true; - }; -}; -_blood_in_inv = false; - -if ("ItemBloodbag" in (magazines player)) then -{ - _blood_in_inv = true; -}; - -_10 = ""; - -if (r_player_blood < 9000 and (_blood_in_inv or _blood_in_pack)) then -{ - if (_blood_in_inv) then - { - _10 = (localize "str_playerstats_journal_6_1"); - } else - { - _10 = (localize "str_playerstats_journal_6_2"); - }; -}; -if (r_player_blood < 9000 and ! _blood_in_inv and ! _blood_in_pack) then -{ - _10 = (localize "str_playerstats_journal_6_3"); -}; - -_11 = ""; - -_weapon = currentWeapon player; -_config = configFile >> "CfgWeapons"; - -// possibly filter out torch and the dayz_throwweapon thingy too. Need to get feedback.. - -if (_weapon != "" and _weapon != "Throw" and _weapon != "Put" and _weapon != "Flare") then -{ - switch (true) do - { - case (getText (_config >> _weapon >> "melee") == "true"): // used getText as config entry had "" marks around it. - { - _11 = format [localize "str_playerstats_journal_7_1", getText (_config >> _weapon >> "displayName")]; - }; - case (_weapon == "ItemFlashlight" or _weapon == "ItemFlashlightRed"): - { - if (sunOrMoon == 1) then - { - _11 = format [localize "str_playerstats_journal_7_2", getText (_config >> _weapon >> "displayName")]; - } else - { - _11 = format [localize "str_playerstats_journal_7_3", getText (_config >> _weapon >> "displayName")]; - }; - }; - case (_weapon == "Makarov"): - { - _11 = format [localize "str_playerstats_journal_7_4", getText (_config >> _weapon >> "displayName")]; - }; - default - { - _mags_for_weap = getArray (_config >> _weapon >> "magazines"); - - _mssv_cnt = false; - { - if (_x in _mags_for_weap) then - { - _mssv_cnt = true; - }; - } forEach (magazines player); - - if (_mssv_cnt) then - { - if (player ammo _weapon > 0) then - { - _11 = format [localize "str_playerstats_journal_7_5", getText (configFile >> "CfgWeapons" >> _weapon >> "displayName")]; - } else - { - _11 = format [localize "str_playerstats_journal_7_6", getText (configFile >> "CfgWeapons" >> _weapon >> "displayName")]; - }; - } else - { - _11 = format [localize "str_playerstats_journal_7_7", getText (_config >> _weapon >> "displayName")]; - }; - }; - }; -} else -{ - _11 = (localize "str_playerstats_journal_7_8"); -}; - -*/ +//Work out survival time +_currentTime = floor ((diag_tickTime - dayz_loginTime) / 60); +_totalMins = (player getVariable "SurvivalTime") + _currentTime; +_days = floor (_totalMins / 1440); +_totalMins = (_totalMins - (_days * 1440)); +_hours = floor (_totalMins / 60); +_mins = (_totalMins - (_hours * 60)); + +dayz_Survived = [_days,_hours,_mins,_totalMins]; _moon = if (dayz_ForcefullmoonNights) then { "Yes" } else { "No" }; @@ -266,7 +58,7 @@ _disabledTemperature = switch (dayz_temperature_override) do { SpawnSelection: %4
Full Moon: %12

- Survived: %8 Day(s)
+ Survived: %8 Day(s), %15 Hour(s), %16 Minute(s)

Survivors:%9

@@ -279,13 +71,15 @@ _disabledTemperature = switch (dayz_temperature_override) do { (round(dayz_temperatur)), (round(player getVariable['humanity', 0])), (dayz_currentGlobalZombies), - (dayz_Survived), + (dayz_Survived select 0), (_survivors), (round diag_fps), (round diag_fpsmin), (_moon), (_disabledTemperature), - (dayz_presets) + (dayz_presets), + (dayz_Survived select 1), + (dayz_Survived select 2) ]; // right page - blank until humanity is checked diff --git a/SQF/dayz_code/actions/refuel.sqf b/SQF/dayz_code/actions/refuel.sqf index dfdfe6b1..d3848e01 100644 --- a/SQF/dayz_code/actions/refuel.sqf +++ b/SQF/dayz_code/actions/refuel.sqf @@ -1,3 +1,5 @@ +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; private ["_vehicle","_canSize","_configVeh","_capacity","_nameType","_curFuel","_newFuel","_dis","_sfx","_fueling","_array","_cantype", "_emptycan","_started","_finished","_animState","_isRefuel"]; @@ -13,10 +15,9 @@ _curFuel = ((fuel _vehicle) * _capacity); _newFuel = (_curFuel + _canSize); _fueling = player getVariable ["fueling",false]; -if (fuel _vehicle == 1) exitWith {}; +if (fuel _vehicle == 1) exitWith {dayz_actionInProgress = false;}; player removeAction s_player_fillfuel + _capacity; -a_player_jerryfilling = true; player setVariable ["fueling", true]; if (!_fueling) then { @@ -62,14 +63,15 @@ if (!_fueling) then { publicVariableServer "PVDZ_send"; }; - cutText [format [localize "str_player_05",_nameType,_canSize], "PLAIN DOWN"]; + format[localize "str_player_05",_nameType,_canSize] call dayz_rollingMessages; uiSleep 1; call fnc_usec_medic_removeActions; }; [player] allowGetIn true; } else { - cutText [localize "str_refuel_fail","PLAIN DOWN"]; + localize "str_refuel_fail" call dayz_rollingMessages; }; -a_player_jerryfilling = false; + r_action = false; player setVariable ["fueling", false]; +dayz_actionInProgress = false; diff --git a/SQF/dayz_code/actions/remove.sqf b/SQF/dayz_code/actions/remove.sqf index d7e1cc76..88c61743 100644 --- a/SQF/dayz_code/actions/remove.sqf +++ b/SQF/dayz_code/actions/remove.sqf @@ -1,24 +1,29 @@ +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; /* delete object from db parameters: _obj */ -private ["_obj","_objectID","_objectUID","_dis","_sfx"]; +private ["_obj","_objectID","_objectUID","_dis","_sfx","_finished"]; _obj = _this select 3; _objectID = _obj getVariable ["ObjectID","0"]; _objectUID = _obj getVariable ["ObjectUID","0"]; -player playActionNow "Medic"; -sleep 1; - _dis=20; _sfx = "repair"; [player,_sfx,0,false,_dis] call dayz_zombieSpeak; [player,_dis,true,(getPosATL player)] call player_alertZombies; +_finished = ["Medic",1] call fn_loopAction; +if (!_finished) exitWith { + dayz_actionInProgress = false; +}; + //["PVDZ_obj_Delete",[_objectID,_objectUID]] call callRpcProcedure; PVDZ_obj_Destroy = [_objectID,_objectUID]; publicVariableServer "PVDZ_obj_Destroy"; deleteVehicle _obj; +dayz_actionInProgress = false; _obj \ No newline at end of file diff --git a/SQF/dayz_code/actions/repair.sqf b/SQF/dayz_code/actions/repair.sqf index d07f764c..f172e4cb 100644 --- a/SQF/dayz_code/actions/repair.sqf +++ b/SQF/dayz_code/actions/repair.sqf @@ -1,4 +1,6 @@ -private ["_array","_vehicle","_part","_hitpoint","_type","_hasToolbox","_section","_nameType","_namePart","_damage","_selection","_dis","_sfx","_hitpoints","_allFixed","__FILE__"]; +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; +private ["_array","_vehicle","_part","_hitpoint","_type","_nameType","_namePart","_damage","_selection","_dis","_sfx","_hitpoints","_allFixed","_finished"]; _id = _this select 2; _array = _this select 3; @@ -13,28 +15,25 @@ dayz_myCursorTarget = objNull; //diag_log(format["%1 %2", __FILE__, _this]); -_hasToolbox = "ItemToolbox" in items player; -_section = _part in magazines player; - //moving this here because we need to know which part needed if we don't have it _nameType = getText(configFile >> "cfgVehicles" >> _type >> "displayName"); _namePart = getText(configFile >> "cfgMagazines" >> _part >> "displayName"); -if (_section and _hasToolbox) then { - player removeMagazine _part; - player playActionNow "Medic"; - sleep 1; - +if ("ItemToolbox" in items player && (_part in magazines player)) then { _dis=20; _sfx = "repair"; [player,_sfx,0,false,_dis] call dayz_zombieSpeak; [player,_dis,true,(getPosATL player)] call player_alertZombies; + + _finished = ["Medic",1] call fn_loopAction; + + // Check again to make sure player did not drop item + if (!_finished or !(_part in magazines player)) exitWith {}; + player removeMagazine _part; // Added Nutrition-Factor for work ["Working",0,[20,40,15,0]] call dayz_NutritionSystem; - sleep 5; - _damage = [_vehicle,_hitpoint] call object_getHit; _vehicle removeAction _id; //dont waste loot on undamaged parts @@ -46,10 +45,11 @@ if (_section and _hasToolbox) then { _vehicle setvelocity [0,0,1]; //Success! - cutText [format [localize "str_player_04",_namePart,_nameType], "PLAIN DOWN"]; + format[localize "str_player_04",_namePart,_nameType] call dayz_rollingMessages; } else { player addMagazine _part; }; } else { - cutText [format [localize "str_player_03",_namePart], "PLAIN DOWN"]; -}; \ No newline at end of file + format[localize "str_player_03",_namePart] call dayz_rollingMessages; +}; +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/repair_cancel.sqf b/SQF/dayz_code/actions/repair_cancel.sqf index d28ca5db..54a347f6 100644 --- a/SQF/dayz_code/actions/repair_cancel.sqf +++ b/SQF/dayz_code/actions/repair_cancel.sqf @@ -1,3 +1,2 @@ -{dayz_myCursorTarget removeAction _x} forEach s_player_repairActions;s_player_repairActions = []; -s_player_repair_crtl = -1; +{dayz_myCursorTarget removeAction _x} count s_player_repairActions;s_player_repairActions = []; dayz_myCursorTarget = objNull; \ No newline at end of file diff --git a/SQF/dayz_code/actions/repair_vehicle.sqf b/SQF/dayz_code/actions/repair_vehicle.sqf index a2ddf688..7eca5649 100644 --- a/SQF/dayz_code/actions/repair_vehicle.sqf +++ b/SQF/dayz_code/actions/repair_vehicle.sqf @@ -1,12 +1,13 @@ -private ["_part","_cancel","_color","_string","_handle","_damage","_cmpt","_vehicle","_hitpoints","_damagePercent","_configVeh"]; +private ["_part","_cancel","_color","_string","_handle","_damage","_cmpt","_vehicle","_hitpoints","_damagePercent","_configVeh","_hitpoint"]; -_vehicle = _this select 3; +_vehicle = _this; {dayz_myCursorTarget removeAction _x} count s_player_repairActions;s_player_repairActions = []; dayz_myCursorTarget = _vehicle; _hitpoints = _vehicle call vehicle_getHitpoints; { + _hitpoint = _x; _damage = [_vehicle,_x] call object_getHit; _cmpt = toArray (_x); @@ -17,15 +18,27 @@ _hitpoints = _vehicle call vehicle_getHitpoints; _configVeh = configFile >> "cfgVehicles" >> "RepairParts" >> _x; _part = getText(_configVeh >> "part"); - if (isNil "_part") then { _part = "PartGeneric"; }; + if (_part == "") then { + _part = "PartGeneric"; + // Handle parts not listed in RepairParts config. + // Additional vehicle addons may be loaded with non-standard hitpoint names. + { + if ([(_x select 0),_hitpoint] call fnc_inString) then { + _part = format["Part%1",(_x select 1)]; + }; + } forEach [["Engine","Engine"],["HRotor","VRotor"],["Fuel","Fueltank"],["Wheel","Wheel"],["Glass","Glass"]]; + }; // get every damaged part no matter how tiny damage is! _damagePercent = str(round(_damage * 100))+"% Damage"; if (_damage > 0) then { - if ((_damage >= 0) and (_damage <= 0.25)) then {_color = "color='#00ff00'";}; //green - if ((_damage >= 0.26) and (_damage <= 0.50)) then {_color = "color='#ffff00'";}; //yellow - if ((_damage >= 0.51) and (_damage <= 0.75)) then {_color = "color='#ff8800'";}; //orange - if ((_damage >= 0.76) and (_damage <= 1)) then {_color = "color='#ff0000'";}; //red + _color = switch true do { + case (_damage <= 0.25): {"color='#00ff00'"}; //green + case (_damage <= 0.50): {"color='#ffff00'"}; //yellow + case (_damage <= 0.75): {"color='#ff8800'"}; //orange + default {"color='#ff0000'"}; //red + }; + _cmpt = format[localize "str_actions_medical_09",_cmpt,_damagePercent]; _string = format["%2",_color,_cmpt]; //Repair - Part @@ -39,5 +52,4 @@ if (count _hitpoints > 0) then { // Localized in A2OA\Expansion\dta\languagecore _cancel = dayz_myCursorTarget addAction [localize "str_action_cancel_action", "\z\addons\dayz_code\actions\repair_cancel.sqf","repair", 0, true, false]; s_player_repairActions set [count s_player_repairActions,_cancel]; - s_player_repair_crtl = 1; -}; \ No newline at end of file +}; diff --git a/SQF/dayz_code/actions/salvage.sqf b/SQF/dayz_code/actions/salvage.sqf index 883065ef..688a4ba0 100644 --- a/SQF/dayz_code/actions/salvage.sqf +++ b/SQF/dayz_code/actions/salvage.sqf @@ -1,7 +1,7 @@ -private ["_array","_vehicle","_part","_hitpoint","_type","_isOK","_brokenPart","_started","_finished","_hasToolbox","_nameType","_namePart","_animState","_isMedic","_damage","_BreakableParts","_selection","_wpn","_classname","_ismelee"]; +private ["_array","_vehicle","_part","_hitpoint","_type","_isOK","_brokenPart","_finished","_hasToolbox","_nameType","_namePart","_damage","_BreakableParts","_selection","_wpn","_classname","_ismelee"]; -if (dayz_salvageInProgress) exitWith { cutText [localize "str_salvage_inprogress", "PLAIN DOWN"]; }; -dayz_salvageInProgress = true; +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; _array = _this select 3; _vehicle = _array select 0; @@ -10,8 +10,6 @@ _hitpoint = _array select 2; _type = typeOf _vehicle; _isOK = false; _brokenPart = false; -_started = false; -_finished = false; _hasToolbox = "ItemToolbox" in items player; _nameType = getText(configFile >> "cfgVehicles" >> _type >> "displayName"); @@ -19,33 +17,17 @@ _namePart = getText(configFile >> "cfgMagazines" >> _part >> "displayName"); {_vehicle removeAction _x} count s_player_repairActions; s_player_repairActions = []; -s_player_repair_crtl = 1; if (_hasToolbox) then { - player playActionNow "Medic"; [player,"repair",0,false] call dayz_zombieSpeak; [player,50,true,(getPosATL player)] call player_alertZombies; - // Added Nutrition-Factor for work - ["Working",0,[20,40,15,0]] call dayz_NutritionSystem; - - r_interrupt = false; - _animState = animationState player; - r_doLoop = true; - - while {r_doLoop} do { - _animState = animationState player; - _isMedic = ["medic",_animState] call fnc_inString; - if (_isMedic) then { _started = true; }; - if (_started and !_isMedic) then { r_doLoop = false; _finished = true; }; - if (r_interrupt) then { r_doLoop = false; }; - uiSleep 0.1; - }; - r_doLoop = false; + _finished = ["Medic",1] call fn_loopAction; if (_finished) then { + ["Working",0,[20,40,15,0]] call dayz_NutritionSystem; //Remove melee magazines (BIS_fnc_invAdd fix) - {player removeMagazines _x} count MeleeMagazines; + false call dz_fn_meleeMagazines; _damage = [_vehicle,_hitpoint] call object_getHit; if (_damage < 0.10) then { _BreakableParts = ["HitGlass1","HitGlass2","HitGlass3","HitGlass4","HitGlass5","HitGlass6","HitLGlass","HitRGlass","HitEngine","HitFuel","HitHRotor"]; @@ -72,29 +54,24 @@ if (_hasToolbox) then { _vehicle call fnc_veh_ResetEH; _vehicle setvelocity [0,0,1]; if(_brokenPart) then { - cutText [format [localize "str_salvage_destroyed",_namePart,_nameType], "PLAIN DOWN"]; + format[localize "str_salvage_destroyed",_namePart,_nameType] call dayz_rollingMessages; } else { - cutText [format [localize "str_salvage_removed",_namePart,_nameType], "PLAIN DOWN"]; + format[localize "str_salvage_removed",_namePart,_nameType] call dayz_rollingMessages; }; } else { - cutText [localize "str_player_24", "PLAIN DOWN"]; + localize "str_player_24" call dayz_rollingMessages; }; }; + true call dz_fn_meleeMagazines; } else { - r_interrupt = false; - if (vehicle player == player) then { - [objNull, player, rSwitchMove,""] call RE; - player playActionNow "stop"; - }; - cutText [localize "str_salvage_canceled", "PLAIN DOWN"]; + localize "str_salvage_canceled" call dayz_rollingMessages; }; } else { - cutText [format [localize "str_salvage_toolbox",_namePart], "PLAIN DOWN"]; + format[localize "str_salvage_toolbox",_namePart] call dayz_rollingMessages; }; dayz_myCursorTarget = objNull; -s_player_repair_crtl = -1; -dayz_salvageInProgress = false; +dayz_actionInProgress = false; //adding melee mags back if needed _wpn = primaryWeapon player; diff --git a/SQF/dayz_code/actions/salvage_vehicle.sqf b/SQF/dayz_code/actions/salvage_vehicle.sqf index c1e8d38b..6f21b191 100644 --- a/SQF/dayz_code/actions/salvage_vehicle.sqf +++ b/SQF/dayz_code/actions/salvage_vehicle.sqf @@ -1,7 +1,7 @@ -private ["_part","_color","_vehicle","_PlayerNear","_hitpoints","_isATV","_is6WheelType","_HasNoGlassKind", +private ["_part","_color","_vehicle","_PlayerNear","_hitpoints","_isATV","_is6WheelType","_HasNoGlassKind","_hitpoint", "_6WheelTypeArray","_NoGlassArray","_NoExtraWheelsArray","_RemovedPartsArray","_damage","_cmpt","_configVeh","_damagePercent","_string","_handle","_cancel","_type"]; -_vehicle = _this select 3; +_vehicle = _this; {dayz_myCursorTarget removeAction _x} count s_player_repairActions;s_player_repairActions = []; _PlayerNear = {isPlayer _x} count ((getPosATL _vehicle) nearEntities ["CAManBase", 10]) > 1; @@ -39,6 +39,7 @@ if (_is6WheelType) then { }; { + _hitpoint = _x; _damage = [_vehicle,_x] call object_getHit; if !(_x in _RemovedPartsArray) then { @@ -50,15 +51,26 @@ if (_is6WheelType) then { _configVeh = configFile >> "cfgVehicles" >> "RepairParts" >> _x; _part = getText(_configVeh >> "part"); - if (isNil "_part") then { _part = "PartGeneric"; }; + if (_part == "") then { + _part = "PartGeneric"; + // Handle parts not listed in RepairParts config. + // Additional vehicle addons may be loaded with non-standard hitpoint names. + { + if ([(_x select 0),_hitpoint] call fnc_inString) then { + _part = format["Part%1",(_x select 1)]; + }; + } forEach [["Engine","Engine"],["HRotor","VRotor"],["Fuel","Fueltank"],["Wheel","Wheel"],["Glass","Glass"]]; + }; //get every damaged part no matter how tiny damage is! _damagePercent = str(round(_damage * 100))+"% Damage"; if (_damage < 0.10) then { - if ((_damage >= 0) and (_damage <= 0.25)) then {_color = "color='#00ff00'";}; //green - if ((_damage >= 0.26) and (_damage <= 0.50)) then {_color = "color='#ffff00'";}; //yellow - if ((_damage >= 0.51) and (_damage <= 0.75)) then {_color = "color='#ff8800'";}; //orange - if ((_damage >= 0.76) and (_damage <= 1)) then {_color = "color='#ff0000'";}; //red + _color = switch true do { + case (_damage <= 0.25): {"color='#00ff00'"}; //green + case (_damage <= 0.50): {"color='#ffff00'"}; //yellow + case (_damage <= 0.75): {"color='#ff8800'"}; //orange + default {"color='#ff0000'"}; //red + }; _string = format[localize "str_actions_repair_01",_cmpt,_damagePercent]; _string = format["%2",_color,_string]; //Remove - Part _handle = dayz_myCursorTarget addAction [_string, "\z\addons\dayz_code\actions\salvage.sqf",[_vehicle,_part,_x], 0, false, true]; @@ -71,5 +83,4 @@ if (count _hitpoints > 0 ) then { // Localized in A2OA\Expansion\dta\languagecore _cancel = dayz_myCursorTarget addAction [localize "str_action_cancel_action", "\z\addons\dayz_code\actions\repair_cancel.sqf","repair", 0, true, false]; s_player_repairActions set [count s_player_repairActions,_cancel]; - s_player_repair_crtl = 1; }; \ No newline at end of file diff --git a/SQF/dayz_code/actions/siphonFuel.sqf b/SQF/dayz_code/actions/siphonFuel.sqf index 93538422..23142f66 100644 --- a/SQF/dayz_code/actions/siphonFuel.sqf +++ b/SQF/dayz_code/actions/siphonFuel.sqf @@ -1,4 +1,4 @@ -private ["_vehicle","_curFuel","_newFuel","_started","_finished","_animState","_isMedic","_location1","_location2","_abort", +private ["_vehicle","_curFuel","_newFuel","_finished","_location1","_location2","_abort", "_canNameEmpty","_canSizeEmpty","_canTypeEmpty","_canName","_canSize","_configCanEmpty","_configVeh","_capacity","_nameText", "_availableCansEmpty","_hasHose","_PlayerNear"]; @@ -6,12 +6,12 @@ _vehicle = _this select 3; player removeAction s_player_siphonfuel; _hasHose = "equip_hose" in magazines player; -if (dayz_siphonFuelInProgress) exitWith { cutText [localize "str_siphon_inprogress", "PLAIN DOWN"] }; -if (!_hasHose) exitWith {cutText [localize "str_siphon_hose", "PLAIN DOWN"] }; +if (!_hasHose) exitWith {localize "str_siphon_hose" call dayz_rollingMessages; }; _PlayerNear = {isPlayer _x} count ((getPosATL _vehicle) nearEntities ["CAManBase", 10]) > 1; -if (_PlayerNear) exitWith {cutText [localize "str_pickup_limit_5", "PLAIN DOWN"];}; +if (_PlayerNear) exitWith {localize "str_pickup_limit_5" call dayz_rollingMessages;}; -dayz_siphonFuelInProgress = true; +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; _abort = false; // Static vehicle fuel information @@ -46,45 +46,14 @@ _nameText = getText(_configVeh >> "displayName"); }; if (_newFuel > 0) then { - cutText [format [localize "str_siphon_preparing",_canTypeEmpty], "PLAIN DOWN"]; + format[localize "str_siphon_preparing",_canTypeEmpty] call dayz_rollingMessages; _finished = false; // alert zombies [player,20,true,(getPosATL player)] call player_alertZombies; - if(!dayz_isSwimming) then { - // force animation - player playActionNow "Medic"; - - r_interrupt = false; - _animState = animationState player; - r_doLoop = true; - _started = false; - - while {r_doLoop} do { - _animState = animationState player; - _isMedic = ["medic",_animState] call fnc_inString; - if (_isMedic) then { - _started = true; - }; - if (_started and !_isMedic) then { - r_doLoop = false; - _finished = true; - }; - if (r_interrupt) then { - r_doLoop = false; - }; - uiSleep 0.1; - }; - r_doLoop = false; - - if(!_finished) then { - r_interrupt = false; - if (vehicle player == player) then { - [objNull, player, rSwitchMove,""] call RE; - player playActionNow "stop"; - }; - }; + if (!dayz_isSwimming) then { + _finished = ["Medic",1] call fn_loopAction; } else { // Alternate method in water make sure player stays in one spot for 6 seconds _location1 = getPosATL player; @@ -125,7 +94,7 @@ _nameText = getText(_configVeh >> "displayName"); // Added Nutrition-Factor for work ["Working",0,[20,40,15,0]] call dayz_NutritionSystem; - cutText [format [localize "str_siphon_drained",_nameText,_canSize], "PLAIN DOWN"]; + format[localize "str_siphon_drained",_nameText,_canSize] call dayz_rollingMessages; call fnc_usec_medic_removeActions; r_action = false; @@ -135,15 +104,15 @@ _nameText = getText(_configVeh >> "displayName"); _abort = true; }; } else { - cutText [format [localize "str_siphon_notenough",_nameText], "PLAIN DOWN"]; + format[localize "str_siphon_notenough",_nameText] call dayz_rollingMessages; _abort = true; }; } else { - cutText [localize "str_siphon_canceled", "PLAIN DOWN"]; + localize "str_siphon_canceled" call dayz_rollingMessages; _abort = true; }; } else { - cutText [format [localize "str_siphon_notenough",_nameText], "PLAIN DOWN"]; + format[localize "str_siphon_notenough",_nameText] call dayz_rollingMessages; _abort = true; }; }; @@ -151,4 +120,4 @@ _nameText = getText(_configVeh >> "displayName"); if(_abort) exitWith {}; } forEach magazines player; -dayz_siphonFuelInProgress = false; \ No newline at end of file +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/actions/study_body.sqf b/SQF/dayz_code/actions/study_body.sqf index 7a1e0df3..a664c047 100644 --- a/SQF/dayz_code/actions/study_body.sqf +++ b/SQF/dayz_code/actions/study_body.sqf @@ -1,22 +1,35 @@ -private["_body","_name","_method","_methodStr","_message"]; +private["_body","_name","_method","_methodStr","_message","_killingBlow"]; _body = _this select 3; _name = _body getVariable["bodyName","unknown"]; _method = _body getVariable["deathType","unknown"]; _methodStr = localize format ["str_death_%1",_method]; -_killingBlow = _body getVariable ["KillingBlow",objNull]; +_killingBlow = _body getVariable ["KillingBlow",[objNull,false]]; + +/* + Setup by player_death + [Object,Punished]; + _killer = _killingBlow select 0; //Killer + _Punished = _killingBlow select 1; //False = HumanKill, True = BanditKill +*/ // "His/Her name was %1, it appears he/she died from %2" _message = if (_body isKindOf "SurvivorW2_DZ") then {"str_player_studybody_female"} else {"str_player_studybody"}; format[localize _message,_name,_methodStr] call dayz_rollingMessages; -if (!(isNull _killingBlow) AND {(isPlayer _killingBlow)}) then { - if (typeName _killingBlow == "OBJECT") then { - _ConfirmedHumanKills = _killingBlow getVariable ["ConfirmedHumanKills",0]; - _killingBlow setVariable ["ConfirmedHumanKills",(_ConfirmedHumanKills + 1),true]; - } else { - _ConfirmedBanditKills = _killingBlow getVariable ["ConfirmedBanditKills",0]; - _killingBlow setVariable ["ConfirmedBanditKills",(_ConfirmedBanditKills + 1),true]; +//Body hasnt already been Studied lets set the confimed Kills system. +if !(_body getVariable ["BodyStudied",false]) then { + if (!isNull (_killingBlow select 0)) then { + if (!(_killingBlow select 1)) then { + _ConfirmedHumanKills = (_killingBlow select 0) getVariable ["ConfirmedHumanKills",0]; + (_killingBlow select 0) setVariable ["ConfirmedHumanKills",(_ConfirmedHumanKills + 1),true]; + } else { + _ConfirmedBanditKills = (_killingBlow select 0) getVariable ["ConfirmedBanditKills",0]; + (_killingBlow select 0) setVariable ["ConfirmedBanditKills",(_ConfirmedBanditKills + 1),true]; + }; + + //Set the body as Studied for all. + _body setVariable ["BodyStudied",true,true]; }; }; \ No newline at end of file diff --git a/SQF/dayz_code/actions/tent_pitch.sqf b/SQF/dayz_code/actions/tent_pitch.sqf deleted file mode 100644 index 721738f1..00000000 --- a/SQF/dayz_code/actions/tent_pitch.sqf +++ /dev/null @@ -1,104 +0,0 @@ -private ["_item","_config","_text","_booleans","_worldspace","_dir","_location","_dis","_sfx","_tent","_classname","_object","_boundingBox","_maxPoint","_actionBuild","_actionCancel"]; -/* -private ["_item", "_config", "_text", "_booleans", "_worldspace", "_dir", "_location", "_dis", "_sfx", "_tent"]; - -call gear_ui_init; - -_item = _this; - -_config = configFile >> "CfgMagazines" >> _item; -_text = getText (_config >> "displayName"); -_classname = getText (_config >> "tentmodel"); - -//diag_log ("Classname: "+str(_classname)); -//diag_log ("Item: "+str(_item)); - -if (r_action_count != 1) exitWith { cutText [localize "str_player_actionslimit", "PLAIN DOWN"]; }; - -// item is missing or tools are missing -if ((!(_item IN magazines player))) exitWith { - r_action_count = 0; - cutText [format [localize "str_player_31",_text,localize "str_player_31_pitch"] , "PLAIN DOWN"]; -}; - -_booleans = []; //testonLadder, testSea, testPond, testBuilding, testSlope, testDistance - - //remove tentbag - player removeMagazine _item; - //_dir = _worldspace select 0; - //_location = _worldspace select 1; - - //wait a bit - //player playActionNow "Medic"; - sleep 1; - // tent location may not be in front of player - //player setDir _dir; - //player setPosATL (getPosATL player); - - _dis=20; - _sfx = "tentunpack"; - - //sleep 5; - - cutText [localize "str_player_build_rotate", "PLAIN DOWN"]; - _location = getMarkerpos "respawn_west"; - _object = createVehicle [_classname, _location, [], 0, "NONE"]; - - // Attach item - _boundingBox = boundingBox _object; - _maxPoint = ((_boundingBox select 1) select 0) max ((_boundingBox select 1) select 1); - _object setPosATL [getPosATL _object select 0, getPosATL _object select 1, 0.01]; - _object attachTo [player, [0, _maxPoint + 1, 0.3]]; - - //Vars - player setVariable ["constructionObject", _object]; - _object setVariable ["characterID",dayz_characterID,true]; - - //Actions - _actionBuild = player addAction [localize "str_player_build_complete", "\z\addons\dayz_code\actions\object_build.sqf", [_object, _item, _classname, _text, true, _booleans, _dis, _sfx], 1, true]; - _actionCancel = player addAction [localize "str_player_build_cancel", "\z\addons\dayz_code\actions\object_build.sqf", [_object, _item, _classname, _text, false, _booleans, _dis, _sfx], 1, true]; - - sleep 0.01; - - while {!isNull (player getVariable "constructionObject")} do { - if (vehicle player != player) then { - player action ["eject", vehicle player]; - }; - - if (speed player > 10 or speed player <= -8) then { - cutText [localize "str_player_build_movingfast", "PLAIN DOWN"]; - player playMove "amovpercmstpssurwnondnon"; - }; - - sleep 0.2; - - if (!alive player) then { - [[],[],[],[_object, _item, _classname, _text, false, _booleans, _dis, _sfx]] call object_build; - }; - }; - - player removeAction _actionBuild; - player removeAction _actionCancel; -*/ -/* - sleep 5; - - _tent = createVehicle ["TentStorage", getMarkerpos "respawn_west", [], 0, "CAN_COLLIDE"]; - _tent setDir _dir; - _tent setPos _location; // follow terrain slope (works above sea level) - player reveal _tent; - _location = getPosATL _tent; - - _tent setVariable ["characterID",dayz_characterID,true]; - PVDZ_obj_Publish = [dayz_characterID,_tent,[_dir,_location],_classname]; - publicVariableServer "PVDZ_obj_Publish"; - - cutText [localize "str_success_tent_pitch", "PLAIN DOWN"]; - sleep 1; - r_action_count = 0; - -} else { - r_action_count = 0; - cutText [localize "str_fail_tent_pitch", "PLAIN DOWN"]; -}; -*/ diff --git a/SQF/dayz_code/actions/userActionConditions.sqf b/SQF/dayz_code/actions/userActionConditions.sqf new file mode 100644 index 00000000..590916b0 --- /dev/null +++ b/SQF/dayz_code/actions/userActionConditions.sqf @@ -0,0 +1,31 @@ +#define CAN_DO (!r_drag_sqf && !r_player_unconscious && getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder") != 1) +#define HAS_TOOLBOX ("ItemToolbox" in items player) +#define IN_VEHICLE (vehicle player != player) +#define IS_ALIVE (damage _object < 1) +#define IS_DAMAGED (damage _object > 0) + +/* + (['Butcher',this] call userActionConditions) + + Return - must be true for action to show. +*/ + +private ["_action","_object","_show"]; + +_action = _this select 0; +_object = _this select 1; + +_show = switch _action do { + case "Butcher": {!IS_ALIVE && !IN_VEHICLE && CAN_DO && !(_object getVariable["meatHarvested",false])}; + case "Drink": {!IN_VEHICLE && CAN_DO && !dayz_isSwimming}; + case "PushPlane": {!IN_VEHICLE && {IS_ALIVE} && {CAN_DO} && {count crew _object == 0} && {!isEngineOn _object}}; + case "Repair"; // same as salvage + case "Salvage": {!IN_VEHICLE && {IS_ALIVE} && {CAN_DO} && {_object != dayz_myCursorTarget} && {HAS_TOOLBOX}}; + //Built Items (Fence,Gates) + case "ObjectUpgrade": {CAN_DO && !IN_VEHICLE && !(_object getVariable["BuildLock",false])}; + case "ObjectMaintenance": {CAN_DO && !IN_VEHICLE && (_object getVariable["Maintenance",false] or IS_DAMAGED)}; + case "ObjectDisassembly": {CAN_DO && !IN_VEHICLE && HAS_TOOLBOX && !(_object getVariable["BuildLock",false]) && (((getPlayerUID player) in (_object getVariable["ownerArray",[]])) or (count (_object getVariable["ownerArray",[]]) == 0) or (typeOf _object in ["WoodenFence_1_foundation","WoodenGate_foundation"]))}; + default {false}; +}; + +_show \ No newline at end of file diff --git a/SQF/dayz_code/actions/water_fill.sqf b/SQF/dayz_code/actions/water_fill.sqf index f486f9e4..de0307dc 100644 --- a/SQF/dayz_code/actions/water_fill.sqf +++ b/SQF/dayz_code/actions/water_fill.sqf @@ -1,92 +1,89 @@ #include "\z\addons\dayz_code\util\player.hpp" -private ["_water","_filled","_canFill","_infected","_well"]; +private ["_canFill","_water","_filled","_posASL","_posATL","_chance","_container","_drinking","_message","_recover","_wells"]; + +if (typeName _this == "ARRAY") then { + _container = if (count _this == 1) then {_this select 0} else {_this select 3}; + _drinking = true; +} else { + _container = _this; + _drinking = false; +}; call gear_ui_init; closeDialog 0; if Player_IsOnLadder() exitWith { (localize "str_player_21") call dayz_rollingMessages; }; -_water = call -{ - private ["_canFill", "_infected"]; - - _canFill = count nearestObjects [player, ["Land_pumpa","Land_water_tank"], 4] > 0; - - if (_canFill) exitWith { "safe" }; - - //Check for wells - { - if (["_well", str _x, false] call fnc_inString) exitWith - { - _canFill = true; - }; - } - foreach nearestObjects [player, [], 4]; - - if (_canFill) exitWith { "safe" }; - - _infected = false; - - //Check for ponds and corpses - { - if (!_canFill) then - { - if (["pond", str _x, false] call fnc_inString && {((getPosASL player) select 2) < ((GetPosASL _x) select 2)}) then - { - _canFill = true; - }; - }; - - if (!_infected) then - { - if (["dead", str _x, false] call fnc_inString || {["massgrave", str _x, false] call fnc_inString}) then - { - _infected = true; - }; - }; - - if (_canFill && {_infected}) exitWith {}; - } - foreach nearestObjects [player, [], 50]; - - if (!_canFill) exitWith { nil }; - - if (_infected) exitWith { "infected" }; - - "" +_posASL = getPosASL player; +_posATL = ASLtoATL _posASL; +//"Land_water_tank" has no spout or opening, doesn't make sense to include +_wells = ["Land_pumpa","Land_Barrel_water","Land_Misc_Well_C_EP1","Land_Misc_Well_L_EP1","land_smd_water_pump"]; + +_canFill = switch true do { + //Return: [nearWaterHole, isPond] + case (count nearestObjects [_posATL,_wells,4] > 0): {[true,false]}; + case (toLower worldName in ["chernarus","namalsk","napf"]): {(call fn_nearWaterHole)}; + //Slow searches for maps without waterHoleProxy objects added yet + case ({["_well",str _x] call fnc_inString} count nearestObjects [_posATL,[],4] > 0): {[true,false]}; + case ({["pond",str _x] call fnc_inString && {_posASL select 2 < ((getPosASL _x) select 2)}} count nearestObjects [player,[],50] > 0): {[true,true]}; + default {[false,false]}; }; -if (isNil "_water") exitWith -{ - (localize "str_player_20") call dayz_rollingMessages; +if !(_canFill select 0) exitWith { + _message = if (_drinking) then {"str_player_32"} else {"str_player_20"}; + localize _message call dayz_rollingMessages; }; +//Check if guaranteed infected (only for ponds) +_water = if (dayz_infectiousWaterholes && {_canFill select 1} && {count nearestObjects [_posATL,["Body","Body1","Body2","Mass_grave"],50] > 0}) then {"infected"} else {"safe"}; _water = "containerwater" + _water; _filled = 0; -{ - if (isText (configFile >> "CfgMagazines" >> _x >> _water)) then +if (_container == "hands") then { + _chance = 0.03; + _recover = 150; +} else { + _chance = 0.06; + _recover = 300; +}; + +//Additional chance to be infected (only for ponds) +if (_canFill select 1 && {[_chance] call fn_chance}) then { + _water = "containerwaterinfected"; +}; + +if (!dayz_isSwimming) then { + player playActionNow "PutDown"; +}; + +if (_drinking) then { + ["FoodDrink",0,[0,0,_recover,0]] call dayz_NutritionSystem; //[Energy,food,water,temp] + [player,"drink",0,false,5] call dayz_zombieSpeak; + [player,10,true,_posATL] call player_alertZombies; + + if (_water == "containerwaterinfected") then { + r_player_infected = true; + }; + + localize "str_drinkwithhands" call dayz_rollingMessages; +} else { { - if (_filled < 1) then - { - if (!dayz_isSwimming) then - { - player playActionNow "PutDown"; - }; + if (isText (configFile >> "CfgMagazines" >> _x >> _water)) then + { + _filled = _filled + 1; - [player, "fillwater", 0, false, 5] call dayz_zombieSpeak; - [player, 5, true, getPosATL player] call player_alertZombies; + player removeMagazine _x; + player addMagazine getText (configFile >> "CfgMagazines" >> _x >> _water); }; - - _filled = _filled + 1; - - player removeMagazine _x; - player addMagazine getText (configFile >> "CfgMagazines" >> _x >> _water); + } + foreach magazines player; + + if (_filled > 0) then { + [player, "fillwater", 0, false, 5] call dayz_zombieSpeak; + [player, 5, true, _posATL] call player_alertZombies; + format [localize "str_player_01", _filled] call dayz_rollingMessages; + } else { + localize "str_player_02" call dayz_rollingMessages; }; -} -foreach magazines player; - -if (_filled > 0) -then { (format [localize "str_player_01", _filled]) call dayz_rollingMessages; } -else { (localize "str_player_02") call dayz_rollingMessages; }; \ No newline at end of file +}; \ No newline at end of file diff --git a/SQF/dayz_code/compile/building_spawnZombies.sqf b/SQF/dayz_code/compile/building_spawnZombies.sqf index 0fc27e47..168ecc3c 100644 --- a/SQF/dayz_code/compile/building_spawnZombies.sqf +++ b/SQF/dayz_code/compile/building_spawnZombies.sqf @@ -26,8 +26,8 @@ _enabled = false; if (_canLoot ) then { //Get zombie class _unitTypes = getArray (_config >> "zombieClass"); - _min = getNumber (_config >> "maxRoaming"); - _max = getNumber (_config >> "minRoaming"); + _min = getNumber (_config >> "minRoaming"); + _max = getNumber (_config >> "maxRoaming"); _zombieChance = getNumber (_config >> "zombieChance"); //Walking Zombies @@ -67,4 +67,4 @@ if (_canLoot ) then { }; }; -//diag_log ("2 end"); \ No newline at end of file +//diag_log ("2 end"); diff --git a/SQF/dayz_code/compile/client_plantSpawner.sqf b/SQF/dayz_code/compile/client_plantSpawner.sqf index 9ff983d6..c8783c93 100644 --- a/SQF/dayz_code/compile/client_plantSpawner.sqf +++ b/SQF/dayz_code/compile/client_plantSpawner.sqf @@ -62,7 +62,6 @@ _insideloop = { }; for "_i" from 1 to 2048 do { - if (!dayz_townGenerator) exitWith {}; _pos = _a call psrnd; _pos call _insideloop; if (_plantcount >= dayz_maxGlobalPlants) exitWith {}; diff --git a/SQF/dayz_code/compile/fence_handleDam.sqf b/SQF/dayz_code/compile/fence_handleDam.sqf index 5dc4f38c..a382bd50 100644 --- a/SQF/dayz_code/compile/fence_handleDam.sqf +++ b/SQF/dayz_code/compile/fence_handleDam.sqf @@ -1,48 +1,110 @@ /*********************************************************** -ASSIGN DAMAGE TO A UNIT. +ASSIGN DAMAGE TO A Object. Called by "HandleDamage" vehicle Event Handler - Function fnc_Obj_FenceHandleDam -- [unit] call fnc_Obj_FenceHandleDam; +Wooden Defaults - [Object,[High Explosive(1),Medium Explosive(0.5),Melee damage(0.00001 + random(0.05))]] call fnc_Obj_FenceHandleDam; +Metal Defaults - [Object,[High Explosive(0.5),Medium Explosive(0.25),Melee damage(0.00001 + random(0.005))]] call fnc_Obj_FenceHandleDam; - return : 0 no damage + +--Note, Melee damage runs this script 12 times per hit. ************************************************************/ -private["_obj","_total","_damage"]; -//Object the EH is assigned too -_obj = _this select 0; -//Total damage of the object -_total = (damage _obj); +/* + private["_obj","_total","_damage"]; + + //Object the EH is assigned too + _obj = ((_this select 0) select 0); + //array holding dam sent to the eventhandler + //_damageArray _this select 1; + + if !(((_this select 0) select 4) in ["PipeBomb","explosive_bolt","Hatchet_Swing_Ammo","Crowbar_Swing_Ammo","Machete_Swing_Ammo"]) exitwith { false }; + + _damage = switch (1==1) do { + case (((_this select 0) select 4) in ["PipeBomb"]): { (((_this select 0) select 1) select 0) }; //0.5 High explosive + case (((_this select 0) select 4) in ["explosive_bolt"]): { (((_this select 0) select 1) select 1) }; //0.25 Medium explosive, maybe grenades and other such items. + case (((_this select 0) select 4) in ["Hatchet_Swing_Ammo","Crowbar_Swing_Ammo","Machete_Swing_Ammo"]): { ((_this select 0) select 2) }; //0.00001 Melee damage, + //default { 0 }; + }; + + + //Server running or client + if (isServer) then { + if !(_obj in needUpdate_FenceObjects) then { + needUpdate_FenceObjects set [count needUpdate_FenceObjects, _obj]; + }; + + //TotalDamage Set by the server + _obj setDamage (damage _obj) + _damage; + + //diag_log format["Server Reporting - %1",needUpdate_FenceObjects]; + } else { + //If its a client send to server for saving and damage setting. + PVDZ_fence_Update = [_obj,(damage _obj) + _damage]; + publicVariableServer "PVDZ_fence_Update"; + + //diag_log ("Client Reporting"); + }; + + //} else { + // //We really coulde just send to server and have the server setDamage + // //send to server then back to owning client/server + // PVDZ_send = [_obj,"objWallDamage",_this]; + // publicVariableServer "PVDZ_send"; + //}; + + + diag_log format["Object: %1, Damage:%2(%4), Projectile:%3",typeof ((_this select 0) select 0),((damage _obj) + _damage),((_this select 0) select 4),(damage _obj)]; +*/ + +private["_obj","_damage"]; + +//[_this,[0.5,0.25,0.00001]] + +if !(((_this select 0) select 4) in ["PipeBomb","explosive_bolt","Hatchet_Swing_Ammo","Crowbar_Swing_Ammo","Machete_Swing_Ammo"]) exitwith { false }; + + +_obj = ((_this select 0) select 0); +//_selectionName = ((_this select 0) select 1); +//_damage = ((_this select 0) select 2); +//_source = ((_this select 0) select 3); +//_projectile = ((_this select 0) select 4); + +//_damageArray = (_this select 1); -//Modify damage done based on level of fence _damage = switch (1==1) do { - case ((typeof _obj) in ["WoodenFence_3","WoodenFence_4","WoodenFence_5","WoodenFence_6","WoodenFence_7","WoodenGate_2","WoodenGate_3","WoodenGate_4"]): { 0.5 }; - //case ((typeof _obj) in ["WoodenFence_6","WoodenFence_7","WoodenGate_4"]): { 0.35 }; - default { 1 }; + case (((_this select 0) select 4) in ["PipeBomb"]): { ((_this select 1) select 0) }; //0.5 High explosive + case (((_this select 0) select 4) in ["explosive_bolt"]): { ((_this select 1) select 1) }; //0.25 Medium explosive, maybe grenades and other such items. + case (((_this select 0) select 4) in ["Hatchet_Swing_Ammo","Crowbar_Swing_Ammo","Machete_Swing_Ammo"]): { ((_this select 1) select 2) }; //0.00001 Melee damage, + //default { 0 }; }; -//Is the object local -if (local _obj) then { - //is damage being done aboue 0 (should always be) not needed. - if (_damage > 0) then { - //Server running or client - if (!isServer) then { - //If its a client send to server get the ownering player and send damage to that player - PVDZ_veh_Save = [_obj,"objWallDamage",(_total + _damage)]; - publicVariableServer "PVDZ_veh_Save"; - } else { - //Server running the EH, update object to db - [_obj,"objWallDamage",(_total + _damage)] call server_updateObject; +//Just incase damage from melee is 0 (higher tier fences have no melee damage) we return false +//if (_damage == 0) then { _damage = false; }; + +//Server running or client +if (_damage > 0) then { + if (isServer) then { + if !(_obj in needUpdate_FenceObjects) then { + needUpdate_FenceObjects set [count needUpdate_FenceObjects, _obj]; }; + + //TotalDamage Set by the server + _obj setDamage (damage _obj) + _damage; + + //diag_log format["Server Reporting - %1",needUpdate_FenceObjects]; + } else { + //If its a client send to server for saving and damage setting. + PVDZ_fence_Update = [_obj,(damage _obj) + _damage]; + publicVariableServer "PVDZ_fence_Update"; + + //diag_log ("Client Reporting"); }; -} else { - //send to server then back to owning client/server - PVDZ_send = [_obj,"objWallDamage",_this]; - publicVariableServer "PVDZ_send"; }; -//Logging. -diag_log format["INFO - %1(%3) - %2(%4)",_obj,_damage,(typeof _obj),_total]; +diag_log format["Object: %1, Damage:%4 + %5(%2), Projectile:%3",(typeof _obj),((damage _obj) + _damage),((_this select 0) select 4),(damage _obj),_damage]; // all "HandleDamage event" functions should return the effective damage that the engine will record for that part -0 +//(damage _obj) + _damage +false \ No newline at end of file diff --git a/SQF/dayz_code/compile/fn_buildCamera.sqf b/SQF/dayz_code/compile/fn_buildCamera.sqf index 28f84cd0..e3977371 100644 --- a/SQF/dayz_code/compile/fn_buildCamera.sqf +++ b/SQF/dayz_code/compile/fn_buildCamera.sqf @@ -15,7 +15,7 @@ if (0 != count Dayz_constructionContext) then { Dayz_BuildCamera camsetrelpos [-1,0,60]; Dayz_BuildCamera camcommit 0; Dayz_constructionContext set [3, true]; - cutText [localize "str_buildCameraOn", "PLAIN DOWN"]; + localize "str_buildCameraOn" call dayz_rollingMessages; }; } else { @@ -24,7 +24,7 @@ if (0 != count Dayz_constructionContext) then { player switchCamera (Dayz_constructionContext select 2); camdestroy Dayz_BuildCamera; Dayz_constructionContext set [3, false]; - cutText [localize "str_buildCameraOff", "PLAIN DOWN"]; + localize "str_buildCameraOff" call dayz_rollingMessages; }; _handled = true; // used by keyboard.sqf }; \ No newline at end of file diff --git a/SQF/dayz_code/compile/fn_damageActions.sqf b/SQF/dayz_code/compile/fn_damageActions.sqf index 2cd689a1..cb38aca3 100644 --- a/SQF/dayz_code/compile/fn_damageActions.sqf +++ b/SQF/dayz_code/compile/fn_damageActions.sqf @@ -8,7 +8,7 @@ scriptName "Functions\misc\fn_damageActions.sqf"; - [] call fnc_usec_damageActions; ************************************************************/ -private ["_menClose","_hasPatient","_vehicle","_inVehicle","_isClose","_assignedRole","_driver","_action","_turret","_weapons","_weaponName","_crew","_unconscious_crew","_patients","_vehType","_unit","_antibiotics","_bloodBags","_unconscious","_lowBlood","_injured","_hasSepsis","_inPain","_legsBroke","_armsBroke","_infected","_hasBandage","_hasSepsisBandage","_hasEpi","_hasMorphine","_hasSplint","_hasPainkillers","_hasEmptyBag","_hasTester","_hasAntibiotics","_hasBloodBag","_vehClose","_hasVehicle","_action1","_action2","_action3","_y","_playerMagazines"]; +private ["_menClose","_hasPatient","_vehicle","_inVehicle","_isClose","_assignedRole","_driver","_action","_turret","_weapons","_weaponName","_crew","_unconscious_crew","_patients","_vehType","_unit","_antibiotics","_bloodBags","_unconscious","_lowBlood","_injured","_hasSepsis","_inPain","_legsBroke","_armsBroke","_infected","_hasBandage","_hasSepsisBandage","_hasEpi","_hasMorphine","_hasSplint","_hasPainkillers","_hasEmptyBag","_hasTester","_hasAntibiotics","_hasBloodBag","_vehClose","_action1","_action2","_action3","_playerMagazines"]; _menClose = cursorTarget; _hasPatient = alive _menClose; @@ -45,6 +45,9 @@ if (_inVehicle) then { r_action2 = true; }; }; + + /* + //Moved to vehicle UserAtions. if (count _assignedRole > 1) then { _turret = _assignedRole select 1; _weapons = _vehicle weaponsTurret _turret; @@ -55,10 +58,11 @@ if (_inVehicle) then { r_action2 = true; } count _weapons; }; + */ }; //Check if patients _crew = crew _vehicle; - if (count _crew > 0) then { + if (count _crew > 0 && !r_player_unconscious) then { _unconscious_crew = []; { if (_x getVariable "NORRN_unconscious") then { @@ -71,11 +75,11 @@ if (_inVehicle) then { r_action_unload = true; _vehType = typeOf _vehicle; _action = _vehicle addAction [format[localize "str_actions_medical_14",_vehType], "\z\addons\dayz_code\medical\load\unLoad_act.sqf",[player,_vehicle], 0, false, true]; - r_player_actions set [count r_player_actions,_action]; + r_player_actions2 set [count r_player_actions2,_action]; }; } else { if (r_action_unload) then { - call fnc_usec_medic_removeActions; + call r_player_removeActions2; r_action_unload = false; }; }; @@ -86,6 +90,13 @@ if (_inVehicle) then { r_player_lastSeat = []; }; +if (r_player_unconscious) then { + call r_player_removeActions2; + r_player_lastVehicle = objNull; + r_player_lastSeat = []; + r_action_unload = false; +}; + //Lets make sure the player is looking at the target if (isPlayer cursorTarget) then { if (!r_drag_sqf && !r_action && !_inVehicle && !r_player_unconscious && (player distance _menClose < 3)) then { @@ -114,14 +125,13 @@ if (isPlayer cursorTarget) then { _hasMorphine = "ItemMorphine" in _playerMagazines; _hasSplint = "equip_woodensplint" in _playerMagazines; _hasPainkillers = "ItemPainkiller" in _playerMagazines; - //_hasEmptyBag = "emptyBloodBag" in _playerMagazines; + //_hasEmptyBag = "emptyBloodBag" in _playerMagazines; //_hasTester = "bloodTester" in _playerMagazines; _hasAntibiotics = Array_Any(_playerMagazines, {_this in _antibiotics}); _hasBloodBag = Array_Any(_playerMagazines, {_this in _bloodBags}); - + _vehClose = (getPosATL player) nearEntities [["Car","Tank","Helicopter","Plane","StaticWeapon","Ship"],5]; - _hasVehicle = ({alive _x} count _vehClose > 0); if (_hasPatient) then { //Allow player to drag @@ -136,19 +146,12 @@ if (isPlayer cursorTarget) then { r_player_actions set [count r_player_actions, _action3]; }; //Load Vehicle - if (_hasVehicle && _unconscious) then { - _y = 0; + if (count _vehClose > 0 && _unconscious) then { r_action = true; - _unit = _unit; - _vehicle = _vehClose select _y; - while{((!alive _vehicle) && (_y < (count _vehClose)))} do { - _y = _y + 1; - _vehicle = (_vehClose select _y); - _vehType = getText (configFile >> "CfgVehicles" >> typeOf _unit >> "displayName"); - uiSleep 0.001; - }; - _action = _unit addAction [format[localize "str_actions_medical_03",_vehType], "\z\addons\dayz_code\medical\load\load_act.sqf",[player,_vehicle,_unit], 0, true, true]; - r_player_actions set [count r_player_actions,_action]; + _vehicle = _vehClose select 0; + _vehType = getText (configFile >> "CfgVehicles" >> typeOf _vehicle >> "displayName"); + NORRN_loadWoundedAction = _unit addAction [format[localize "str_actions_medical_03",_vehType], "\z\addons\dayz_code\medical\load\load_act.sqf",[player,_vehicle,_unit], 0, true, true]; + r_player_actions set [count r_player_actions,NORRN_loadWoundedAction]; }; //Allow player to bandage if(_injured && _hasBandage) then { diff --git a/SQF/dayz_code/compile/fn_damageHandler.sqf b/SQF/dayz_code/compile/fn_damageHandler.sqf index f7aabed1..53be6b87 100644 --- a/SQF/dayz_code/compile/fn_damageHandler.sqf +++ b/SQF/dayz_code/compile/fn_damageHandler.sqf @@ -5,58 +5,64 @@ scriptName "Functions\misc\fn_damageHandler.sqf"; - Function - [unit, selectionName, damage, source, projectile] call fnc_usec_damageHandler; ************************************************************/ -private ["_HitBy","_end","_unit","_hit","_damage","_unconscious","_source","_ammo","_Viralzed","_isMinor","_isHeadHit","_isPlayer","_isBandit","_punishment","_humanityHit","_myKills","_wpst","_sourceDist","_sourceWeap","_scale","_type","_nrj","_rndPain","_hitPain","_wound","_isHit","_isbleeding","_rndBleed","_hitBleed","_isInjured","_lowBlood","_rndInfection","_hitInfection","_isCardiac","_chance","_falling","_model","_isZombieHit","_sourceType","_sourceVehicleType","_isMan"]; +private ["_end","_unit","_hit","_damage","_unconscious","_source","_ammo","_isMinor","_isHeadHit","_isPlayer","_isBandit","_punishment","_humanityHit","_myKills","_wpst","_sourceDist","_sourceWeap","_scale","_type","_rndPain","_hitPain","_wound","_isHit","_isbleeding","_rndBleed","_hitBleed","_isInjured","_lowBlood","_isCardiac","_chance","_falling","_model","_isZombieHit","_sourceType","_sourceVehicleType","_isMan","_isVehicle","_isLocal","_inVehicle"]; _unit = _this select 0; _hit = _this select 1; _damage = _this select 2; _source = _this select 3; _ammo = _this select 4; -//diag_log format["HandleDamage: Unit:%1 Hit:%2 Damage:%3 Source:%4 Ammo:%5",_unit,_hit,_damage,_source,_ammo]; +//diag_log format["%1 HandleDamage: Unit:%2 Hit:%3 Damage:%4 Source:%5 Ammo:%6",diag_tickTime,_unit,_hit,_damage,_source,_ammo]; _unconscious = _unit getVariable ["NORRN_unconscious", false]; _model = typeOf player; _sourceType = typeOf _source; _sourceVehicleType = typeOf (vehicle _source); -_Viralzed = _sourceType in DayZ_ViralZeds; +_inVehicle = vehicle _unit != _unit; _isMinor = (_hit in USEC_MinorWounds); _isHeadHit = (_hit == "head_hit"); _isZombieHit = _ammo == "zombie"; +_isLocal = local _source; _falling = (((_hit == "legs") AND {(_source==_unit)}) AND {((_ammo=="") AND {(Dayz_freefall select 1 > 3)})}); -//Simple hack to help with a few issues from direct damage to physic based damage. ***until 2.0*** - if (isNull dayz_getout) then { - _vehicleArray = nearestObjects [(getPosATL (vehicle _unit)),["Car","Air","Motorcycle","Ship"],3]; - {if (typeOf _x == "ParachuteWest") then {_vehicleArray = _vehicleArray - [_x];};} count _vehicleArray; - { - if ((speed _x > 10) or (speed _x < -8)) exitwith { dayz_HitBy = _x; }; - } count _vehicleArray; +//Simple hack to help with a few issues from direct damage to physics based damage. ***until 2.0*** + //If a vehicle is moving faster than 15 lets register some kind of direct damage rather than relying on indirect/physics damage. + if (diag_tickTime - dayz_getoutTime < 1) then { + //Player ejected from a moving vehicle + _ammo = "Dragged"; + } else { + //Lets see if the player has been struck by a moving vehicle. + if (!_inVehicle) then { + if (diag_tickTime - dayz_hitByTime < 1) then { + _ammo = "RunOver"; + } else { + { + if ((speed _x > 10 or (speed _x < -8)) && {typeOf _x != "ParachuteWest"}) exitWith { + dayz_hitByTime = diag_tickTime; + _ammo = "RunOver"; + }; + } count (([_unit] call fnc_getPos) nearEntities [["Air","LandVehicle","Ship"],3]); + }; + }; }; - //Lets see if the player has been struck by a moving vehicle. - if (!isNull dayz_HitBy) then { _ammo = "RunOver"; }; - if ((_hit == "Legs") AND {(_ammo == "RunOver")}) then { dayz_HitBy = objNull; }; - - //If a vehicle is moveing faster then 15 lets register some kind of direct damage rather then relying on indirect/physics damage. - if (!isNull dayz_getout && diag_tickTime - dayz_getoutTime < 5) then { _ammo = "Dragged"; }; - if ((_hit == "Legs") AND {(_ammo == "Dragged")}) then { dayz_getout = objNull; }; - _end = false; if (!_falling) then { + if (_ammo == "" && _hit == "" && _inVehicle) then {_ammo = "Crash";}; //No _ammo type exit, indirect/physics damage. if (_ammo == "") exitwith { _end = true; }; //If _source contains no object exit. But lets not exit if the unit returns player. Maybe its his own fault. if (isNull _source && !(_ammo in ["Dragged","RunOver"])) then { - _vehicleArray = nearestObjects [(getPosATL (vehicle _unit)),["Car","Air","Motorcycle","Ship"],25]; - {if (typeOf _x == "ParachuteWest") then {_vehicleArray = _vehicleArray - [_x];};} count _vehicleArray; + _vehicleArray = nearestObjects [([vehicle _unit] call fnc_getPos),["Air","LandVehicle","Ship","TrapTripwireGrenade"],25]; //Don't exit if a drivable vehicle (or drivable vehicle wreck) is nearby, because vehicle explosions register as a null source - if (count _vehicleArray == 0) then { + if (({typeOf _x != "ParachuteWest"} count _vehicleArray) == 0) then { _end = true; /* Possible cheat. Record to block any incoming fall damage. NOTE: Only vehicle explosions register a null source. Satchel charges, mines, grenades, vehicle missiles - and other explosives DO NOT register a null source. Their source is the player who placed, threw or fired them. + and other explosives DO NOT register a null source. UNLESS they are spawned manually via script (i.e. tripwire grenade), + their source is always the player who placed, threw or fired them. */ dayz_lastDamageSourceNull = true; diag_log "Warning: Fn_DamageHandler source isNull with no drivable vehicle (or drivable vehicle wreck) in 25m radius. Exiting with no damage."; @@ -66,28 +72,28 @@ _falling = (((_hit == "legs") AND {(_source==_unit)}) AND {((_ammo=="") AND {(Da if (dayz_lastDamageSourceNull) then { _end = true; }; // Block incoming fall damage. }; - if (_end) exitwith { 0 }; //End Simple hack for damage ***until 2.0*** dayz_lastDamageSourceNull = false; +_isMan = _sourceType isKindOf "CAManBase"; _isPlayer = (isPlayer _source); if (_unit == player) then { //Set player in combat - _unit setVariable["startcombattimer", 1]; + _unit setVariable["startcombattimer", 1]; - if (_hit == "") exitWith //Ignore none part dmg. Exit after processing humanity hit + if (_hit == "" && _ammo != "Crash") exitWith //Ignore none part dmg. Exit after processing humanity hit. Don't punish driver for damaging passenger in crash { - if (_source != player && _isPlayer && alive player) then + if (!_isLocal && _isPlayer && alive player) then { - //_isBandit = (player getVariable["humanity",0]) <= -2000; + //_isBandit = (player getVariable["humanity",0]) <= -2000; _isBandit = (_model in ["Bandit1_DZ","BanditW1_DZ"]); //if player is not free to shoot at inform server that _source shot at player if (!_isBandit && !(player getVariable ["OpenTarget",false])) then { - PVDZ_send = [_source,"OpenTarget",[]]; + PVDZ_send = [(effectiveCommander vehicle _source),"OpenTarget",[]]; publicVariableServer "PVDZ_send"; }; @@ -98,11 +104,11 @@ if (_unit == player) then { // - Accidental Murder - \\ When wearing the garb of a non-civilian you are taking your life in your own hands // Attackers humanity should not be punished for killing a survivor who has shrouded his identity in military garb. - _punishment = _isBandit or {player getVariable ["OpenTarget",false]} or {_model in ["Sniper1_DZ","Soldier1_DZ","Camo1_DZ","Skin_Soldier1_DZ"]}; + _punishment = (_isBandit or {player getVariable ["OpenTarget",false]} or {_model in ["Sniper1_DZ","Soldier1_DZ","Camo1_DZ"]}); _humanityHit = 0; if (!_punishment) then { - _myKills = 200 - (((player getVariable ["humanKills",0]) / 3) * 150); + _myKills = 200 - ((player getVariable ["humanKills",0]) * 3.3); // how many non bandit players have I (the shot/damaged player) killed? // punish my killer 200 for shooting a surivor // but subtract 50 for each survivor I've murdered @@ -112,7 +118,7 @@ if (_unit == player) then { }; // In the case of outrageous damage (crashes, explosions, desync repeated headshots); cap the limit on humanity lost. - [_source,_humanityHit] spawn { + [(effectiveCommander vehicle _source),_humanityHit] spawn { private ["_source","_humanityHit"]; _source = _this select 0; _humanityHit = _this select 1; @@ -123,89 +129,81 @@ if (_unit == player) then { }; }; - if ((vehicle player == player) and (!_unconscious)) then { + if (r_player_timeout == 0 && !_inVehicle) then { if (_ammo == "tranquiliser_bolt") then { + r_player_timeout = 20 + round(random 60); [_unit] spawn { - private ["_unit"]; _unit = _this select 0; localize "str_player_tranquilized" call dayz_rollingMessages; [_unit,0.01] call fnc_usec_damageUnconscious; _unit setVariable ["NORRN_unconscious", true, true]; - r_player_timeout = round(random 60); - r_player_unconscious = true; player setVariable["medForceUpdate",true,true]; - player setVariable ["unconsciousTime", r_player_timeout, true]; }; }; if (_damage > 0.4) then { //Melee knockout system if ((_isHeadHit) and (_ammo in ["Crowbar_Swing_Ammo","Bat_Swing_Ammo"])) then { + r_player_timeout = 20 + round(random 60); [_unit] spawn { - _unit = _this select 0; + _unit = _this select 0; localize "str_actions_medical_knocked_out" call dayz_rollingMessages; [_unit,0.01] call fnc_usec_damageUnconscious; _unit setVariable ["NORRN_unconscious", true, true]; - r_player_timeout = 20 + round(random 60); - r_player_unconscious = true; player setVariable["medForceUpdate",true,true]; - player setVariable ["unconsciousTime", r_player_timeout, true]; }; }; }; }; + + //(vehicle _source != _source) does not work to detect if source unit is in a vehicle in HandleDamage EH + _isVehicle = ({_sourceVehicleType isKindOf _x} count ["LandVehicle","Air","Ship"] > 0); - _isMan = _sourceType isKindOf "CAManBase"; - //Log to server :-( OverProcessing really not needed. - if (((!(isNil {_source})) AND {(!(isNull _source))}) AND {(_isMan AND {(!local _source)})}) then { + //Log to server. Useful for detecting damage and ammo cheats. + if (!_isLocal && {!_isZombieHit} && {_isMan or _isVehicle} && {diag_ticktime-(_source getVariable["lastloghit",0]) > 2}) then { _wpst = weaponState _source; - if (diag_ticktime-(_source getVariable ["lastloghit",0])>2) then { - private ["_sourceWeap"]; - _source setVariable ["lastloghit",diag_ticktime]; - _sourceDist = round(_unit distance _source); - _sourceWeap = switch (true) do { - case ((vehicle _source) != _source) : { format ["in %1",getText(configFile >> "CfgVehicles" >> _sourceVehicleType >> "displayName")] }; - case (_isZombieHit) : { _ammo }; - case (_wpst select 0 == "Throw") : { format ["with %1 thrown", _wpst select 3] }; - case (["Horn", currentWeapon _source] call fnc_inString) : {"with suspicious vehicle "+str((getposATL _source) nearEntities [["Air", "LandVehicle", "Ship"],5])}; - case (["Melee", _wpst select 0] call fnc_inString) : { format ["with %2%1",_wpst select 0, if (_sourceDist>6) then {"suspicious weapon "} else {""}] }; - case ((_wpst select 0 == "") AND {(_wpst select 4 == 0)}) : { format ["with %1/%2 suspicious", primaryWeapon _source, _ammo] }; - case (_wpst select 0 != "") : { format ["with %1/%2 ", _wpst select 0, _ammo, _wpst select 4] }; - default { "with suspicious weapon" }; - }; - if (!_isZombieHit) then { // don't log any zombie wounds, even from remote zombies - PVDZ_sec_atp = [_unit, _source, toArray _sourceWeap, _sourceDist]; //Send arbitrary string as array to allow stricter publicVariableVal.txt filter - publicVariableServer "PVDZ_sec_atp"; - }; - }; + _source setVariable ["lastloghit",diag_ticktime]; + _sourceDist = round(_unit distance _source); + _sourceWeap = switch (true) do { + case (_ammo in ["PipeBomb","Mine","MineE"]): { format["with %1",_ammo] }; + case (_isVehicle) : { format ["in %1",getText(configFile >> "CfgVehicles" >> _sourceVehicleType >> "displayName")] }; + case (_ammo in MeleeAmmo) : { format ["with %2%1",_wpst select 0, if (_sourceDist>6) then {"suspicious weapon "} else {""}] }; + case (_wpst select 0 == "Throw") : { format ["with %1 thrown", _wpst select 3] }; + case (["Horn", currentWeapon _source] call fnc_inString) : {"with suspicious vehicle "+str((getposATL _source) nearEntities [["Air", "LandVehicle", "Ship"],5])}; + case ((_wpst select 0 == "") AND {_wpst select 4 == 0}) : { format ["with %1/%2 suspicious", primaryWeapon _source, _ammo] }; + case (_wpst select 0 != "") : { format ["with %1/%2 ", _wpst select 0, _ammo, _wpst select 4] }; + default { "with suspicious weapon" }; + }; + + //Damage values over 999,999 will kick for PV value restriction (e+). These should not be possible for legitimate players. + PVDZ_sec_atp = [_unit, _source, toArray _sourceWeap, _sourceDist, _hit, str _damage]; //Send arbitrary string as array to allow stricter publicVariableVal.txt filter + publicVariableServer "PVDZ_sec_atp"; }; dayz_lastDamageSource = switch (true) do { case (_falling): {"fall"}; case (_isZombieHit): {"zombie"}; + case (_ammo == "Crash"): {"crash"}; case (_ammo == "RunOver"): {"runover"}; case (_ammo == "Dragged"): {"eject"}; case (_ammo in MeleeAmmo): {"melee"}; - //(vehicle _source != _source) does not work to detect if source unit is in a vehicle in HandleDamage EH - case (!local _source && {(_isMan && !(currentWeapon _source in ["","Throw"])) or {_sourceVehicleType isKindOf "LandVehicle" or _sourceVehicleType isKindOf "Air" or _sourceVehicleType isKindOf "Ship"}}): {"shot"}; + case (!_isLocal && {(_isMan && !(currentWeapon _source in ["","Throw"])) or _isVehicle}): {"shot"}; default {"none"}; }; if (dayz_lastDamageSource != "none") then {dayz_lastDamageTime = diag_tickTime;}; }; //Ignore none part dmg. Exit after processing humanity hit -if (_hit == "") exitWith { 0 }; - -//Pure base blood damage -_scale = 200; +if (_hit == "" && _ammo != "Crash") exitWith { 0 }; //Ammo Type Setup _type = switch true do { - case ((_ammo isKindof "Grenade") or (_ammo isKindof "ShellBase") or (_ammo isKindof "TimeBombCore") or (_ammo isKindof "BombCore") or (_ammo isKindof "MissileCore") or (_ammo isKindof "RocketCore") or (_ammo isKindof "FuelExplosion") or (_ammo isKindof "GrenadeBase")): { 1 }; - case ((_ammo isKindof "B_127x107_Ball") or (_ammo isKindof "B_127x99_Ball")): { 2 }; + case ({_ammo isKindOf _x} count ["Grenade","ShellBase","TimeBombCore","BombCore","MissileCore","RocketCore","FuelExplosion","GrenadeBase"] > 0): { 1 }; + case ((_ammo isKindof "B_127x107_Ball") or (_ammo isKindof "B_127x99_Ball")): { 2 }; case (_isZombieHit): { 3 }; case (_ammo == "RunOver"): { 4 }; case (_ammo == "Dragged"): { 5 }; + case (_ammo == "Crash"): { 6 }; default { 0 }; }; @@ -220,6 +218,9 @@ if (_damage > 0.1) then { }; }; +//Pure base blood damage +_scale = 200; + if (_damage > 0.4) then { //Scale damage based on headhits. if (_isHeadHit) then { @@ -228,10 +229,15 @@ if (_damage > 0.4) then { //End body part scale //??????????? - if (_isPlayer && !(player == _source)) then { + if (!(player == _source) && (_isPlayer or (_isMan && !_isZombieHit))) then { //Scale shots from AI units the same as shots from players + dayz_sourceBleeding = _source; //Used in player_death _scale = _scale + 800; if (_isHeadHit) then { - _scale = _scale + 500; + if (_ammo in MeleeAmmo) then { + _scale = _scale + 500; + } else { + _scale = _scale + 1180; //Based on 12k blood for DMR headshot at 500m + }; }; }; @@ -244,14 +250,16 @@ if (_damage > 0.4) then { //Zombies case 3: {_scale = getNumber (configFile >> "CfgVehicles" >> _sourceType >> "damageScale"); if (dayz_DamageMultiplier > 1) then {_scale = _scale * dayz_DamageMultiplier;};}; //RunOver - case 4: {_scale = _scale - 150}; + case 4: {_scale = 10}; //Based on 12k blood for run over with SUV at 70km/h //Dragged case 5: {_scale = 25}; + //Crash + case 6: {_scale = 400}; }; //Display some info in the players log file. if (_unit == player) then { - diag_log format["DAMAGE: player hit by %1 in %2 with %3 for %4 scaled to %5, Conscious %6",_sourceVehicleType,_hit,if (_ammo == "") then { "" } else { _ammo },(str(_damage)),(str(_damage * _scale)),(str (!_unconscious))]; + diag_log format["DAMAGE: player hit by %1 in %2 with %3 for %4 scaled to %5, Conscious %6",_sourceVehicleType,_hit,_ammo,(str(_damage)),(str(_damage * _scale)),(str (!_unconscious))]; r_player_blood = r_player_blood - (_damage * _scale); //Pain and Infection @@ -362,10 +370,8 @@ if (_hit in USEC_MinorWounds) then { }; } else { if (_falling) then { - _nrj = ((Dayz_freefall select 1)*20) / 100; _gravity = 9.81 min (2*(Dayz_freefall select 1)/((0.00001 + (Dayz_freefall select 2))^2)); _nrj2 = _gravity * (Dayz_freefall select 1); - //diag_log [ "handler freefall", _nrj, _nrj2, Dayz_freefall]; if (random(_nrj2 / (5 * 9.81)) > 0.5) then { // freefall from 5m => 1/2 chance to get hit legs registered diag_log[__FILE__, "Legs damage registered from freefall, damage:",_damage,"gravity:", _gravity, "height:", (Dayz_freefall select 1), "blood loss", (_nrj2 * 25) ]; @@ -378,10 +384,11 @@ if (_hit in USEC_MinorWounds) then { r_player_blood = 0 max (r_player_blood - (_nrj2 * 25)); }; } else { - [_unit,_hit,(_damage / 2)] call object_processHit; + [_unit,_hit,_damage] call object_processHit; }; - [_unit,_hit,(_damage / 2)] call object_processHit; + //Stop process hit running twice. its set aboue in the if else statement. + //[_unit,_hit,(_damage / 2)] call object_processHit; }; }; @@ -396,7 +403,7 @@ if (_type == 1) then { if (_damage > 4) then { //serious ballistic damage if (_unit == player) then { - _id = [_source,"explosion"] spawn player_death; + [_source,"explosion",_ammo] call player_death; }; } else { if (_damage > 2) then { @@ -416,7 +423,7 @@ if (_type == 2) then { if (_damage > 4) then { //serious ballistic damage if (_unit == player) then { - _id = [_source,"shotheavy"] spawn player_death; + [_source,"shotheavy"] call player_death; }; } else { if (_damage > 2) then { diff --git a/SQF/dayz_code/compile/fn_dropItem.sqf b/SQF/dayz_code/compile/fn_dropItem.sqf index d1219b42..82f2a53c 100644 --- a/SQF/dayz_code/compile/fn_dropItem.sqf +++ b/SQF/dayz_code/compile/fn_dropItem.sqf @@ -1,11 +1,13 @@ -private ["_item","_pos","_nearByPile","_holder"]; +private ["_amount","_item","_pos","_nearByPile","_holder","_type"]; //Radius to search for holder #define PILE_SEARCH_RADIUS 2 //Location to offset the holder #define PILE_OFFSET [0,0,0] -_item = _this; +_item = _this select 0; +_type = _this select 1; +_amount = _this select 2; _holder = objNull; //Lets get the location of the player in the world @@ -32,7 +34,11 @@ if (count _nearByPile == 0) then { }; //Add the item to the holder or to the newly created holder. -_holder addMagazineCargoGlobal [_item,1]; +switch _type do { + case 1: {_holder addMagazineCargoGlobal [_item,_amount];}; + case 2: {_holder addWeaponCargoGlobal [_item,_amount];}; + case 3: {_holder addBackpackCargoGlobal [_item,_amount];}; +}; //Revel the item player reveal _holder; \ No newline at end of file diff --git a/SQF/dayz_code/compile/fn_dynamicTool.sqf b/SQF/dayz_code/compile/fn_dynamicTool.sqf new file mode 100644 index 00000000..27feb72d --- /dev/null +++ b/SQF/dayz_code/compile/fn_dynamicTool.sqf @@ -0,0 +1,47 @@ +private ["_chance","_hasTool","_message","_needed","_newItem","_oneLeft","_remaining","_toolBelt"]; + +_chance = _this select 1; +_toolBelt = items player; + +switch (_this select 0) do { + case "matches": { + _newItem = "qtyRemaining"; + _needed = DayZ_Ignitors; + _message = "str_info_limitedbox"; + }; + case "knives": { + _newItem = "sharpnessRemaining"; + _needed = Dayz_Gutting; + _message = "str_info_bluntknife"; + }; +}; + +{ + _hasTool = _x in _toolBelt; + + _oneLeft = _x in ["Item1Matchbox","ItemKnife1"]; + _remaining = getText (configFile >> "CfgWeapons" >> _x >> _newItem); + + // Use lowest quantity matches first to prevent duplicate tool being added + // Use knife with least remaining uses first, except dull knife + if (_hasTool && (!(_remaining in _toolBelt) or _oneLeft)) exitWith { + if (_x in ["ItemKnife","ItemMatchbox"]) then { + if ([_chance] call fn_chance) then { + player removeWeapon _x; + player addWeapon _remaining; + localize _message call dayz_rollingMessages; + }; + } else { + player removeWeapon _x; + if (_remaining in _toolBelt) then { + //Drop dull knife or empty matchbox if player already has one. Prevents duplicate tool. + player removeWeapon _remaining; + [_remaining,2,1] call fn_dropItem; + format[localize "str_actions_noroom",_remaining] call dayz_rollingMessages; + }; + player addWeapon _remaining; + }; + }; +} forEach _needed; + +_hasTool \ No newline at end of file diff --git a/SQF/dayz_code/compile/fn_exitSwim.sqf b/SQF/dayz_code/compile/fn_exitSwim.sqf new file mode 100644 index 00000000..0780352b --- /dev/null +++ b/SQF/dayz_code/compile/fn_exitSwim.sqf @@ -0,0 +1,11 @@ +//This workaround reliably exits swimming after a setPos directly from water to land or air. +//"Getting out while IsMoveOutInProgress" prints to client RPT, but it's needed to complete quickly and should be harmless. + +_unit = _this; +_unit allowDamage false; +_paraPosition = [_unit] call FNC_GetPos; +_para = "ParachuteWest" createVehicleLocal [0,0,0]; +_para setPos _paraPosition; +_unit moveInDriver _para; +deleteVehicle _para; +_unit allowDamage true; \ No newline at end of file diff --git a/SQF/dayz_code/compile/fn_getModelName.sqf b/SQF/dayz_code/compile/fn_getModelName.sqf index c1120a6d..a5de785d 100644 --- a/SQF/dayz_code/compile/fn_getModelName.sqf +++ b/SQF/dayz_code/compile/fn_getModelName.sqf @@ -9,9 +9,17 @@ _i = 0; if (58 == _objInfo select _i) exitWith {}; _i = _i + 1; } count _objInfo; + _i = _i + 2; // skip the ": " part + for "_k" from _i to _lenInfo do { _objName set [(count _objName), (_objInfo select _k)]; }; + +if (!local _this) then { + //Strip " remote" from the end to return the same name for local and remote objects + _objName resize ((count _objName) - 7); +}; + _objName = toLower(toString(_objName)); _objName \ No newline at end of file diff --git a/SQF/dayz_code/compile/fn_getPos.sqf b/SQF/dayz_code/compile/fn_getPos.sqf new file mode 100644 index 00000000..1e087bca --- /dev/null +++ b/SQF/dayz_code/compile/fn_getPos.sqf @@ -0,0 +1,9 @@ +private "_pos"; + +_pos = getPosASL (_this select 0); + +if !(surfaceIsWater _pos) then { + _pos = ASLToATL _pos; +}; + +_pos \ No newline at end of file diff --git a/SQF/dayz_code/compile/fn_loopAction.sqf b/SQF/dayz_code/compile/fn_loopAction.sqf new file mode 100644 index 00000000..2c9a2f9c --- /dev/null +++ b/SQF/dayz_code/compile/fn_loopAction.sqf @@ -0,0 +1,51 @@ +/* + Runs playActionNow the specified number of times. + Entering a vehicle, moving or vaulting interrupts the loop. + Must be called from a scheduled context (script executed by spawn or execVM) + + Params: + _this select 0: String: Action name to play + _this select 1: Number: Number of times to play action + _this select 2: (Optional) Code: Extra condition that interrupts action when true + + Returns: + Bool: True (finished), false (interrupted) + + Usage: + _finished = ["Medic",1] call fn_loopAction; +*/ +private ["_action","_extra","_loop","_loops","_started"]; + +_action = _this select 0; +_loops = _this select 1; +_extra = if (count _this > 2) then {_this select 2} else {{false}}; + +r_interrupt = false; +_started = false; +_loop = 0; + +while {_loop < _loops && !r_interrupt && !(call _extra) && (vehicle player == player)} do { + if (!_started) then { + player playActionNow _action; + _started = true; + }; + + if ([_action,animationState player] call fnc_inString) then { + waitUntil { + getNumber(configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "disableWeapons") == 0 //Finished or entered a vehicle + or r_interrupt or (call _extra) + }; + _loop = _loop + 1; + _started = false; + }; + + uiSleep 0.1; +}; + +if (vehicle player == player && (r_interrupt or (call _extra))) then { + [objNull, player, rSwitchMove, ""] call RE; + player playActionNow "Stop"; +}; + +//Player did not interrupt by moving, entering a vehicle or extra condition +(!r_interrupt && !(call _extra) && (vehicle player == player)) \ No newline at end of file diff --git a/SQF/dayz_code/compile/fn_nearWaterHole.sqf b/SQF/dayz_code/compile/fn_nearWaterHole.sqf new file mode 100644 index 00000000..5d1a32b5 --- /dev/null +++ b/SQF/dayz_code/compile/fn_nearWaterHole.sqf @@ -0,0 +1,26 @@ +private ["_bb","_dir","_nearWaterHole","_pond","_well","_w2m"]; + +_nearWaterHole = [false,false]; + +{ + { + _w2m = _x worldToModel (getPosATL player); + _bb = (boundingbox _x) select 1; + _dir = [player, _x] call BIS_fnc_relativeDirTo; + + if (_dir > 180) then { + _dir = _dir - 360; + }; + + _well = (abs _dir < 45 && {_x distance player < 2.22}); // wells, kasna, pumpa + _pond = (("" == typeOf _x && (_w2m select 2 < 0.05)) && {(abs(_w2m select 0) < (_bb select 0)) && (abs(_w2m select 1) < (_bb select 1))}); + + if (_well or _pond) exitWith { + _nearWaterHole = [true,_pond]; + }; + } count (nearestObjects [_x, [], 1]); + + if (_nearWaterHole select 0) exitWith {}; +} forEach (player nearObjects ["waterHoleProxy",50]); + +_nearWaterHole \ No newline at end of file diff --git a/SQF/dayz_code/compile/fn_selfActions.sqf b/SQF/dayz_code/compile/fn_selfActions.sqf index 1d8133bf..f84d2bb9 100644 --- a/SQF/dayz_code/compile/fn_selfActions.sqf +++ b/SQF/dayz_code/compile/fn_selfActions.sqf @@ -5,13 +5,13 @@ scriptName "Functions\misc\fn_selfActions.sqf"; - [] call fnc_usec_selfActions; ************************************************************/ private ["_allowedDistance","_vehicle","_inVehicle","_cursorTarget","_primaryWeapon","_currentWeapon","_magazinesPlayer", -"_onLadder","_canDo","_canDrink","_nearLight","_canPickLight","_text","_canDoThis","_waterHoles","_w2m","_bb","_dir", -"_typeOfCursorTarget","_isVehicle","_isBicycle","_isMan","_isAnimal","_isZombie","_isDestructable","_isHarvested", +"_onLadder","_canDo","_canDrink","_nearLight","_canPickLight","_text", +"_typeOfCursorTarget","_isVehicle","_isBicycle","_isMan","_isDestructable", "_isGenerator","_ownerID","_isVehicletype","_isFuel","_hasFuel20","_hasFuel5","_hasEmptyFuelCan","_itemsPlayer", -"_hasToolbox","_hasbottleitem","_isAlive","_isPlant","_istypeTent","_upgradeItems","_isCampSite","_hasknife", -"_hasRawMeat","_hastinitem","_displayName","_hasIgnators","_hasCarBomb","_menu","_menu1","_isHouse","_isGate", +"_hasToolbox","_hasbottleitem","_isAlive","_isPlant","_istypeTent","_upgradeItems","_hasknife", +"_hasRawMeat","_hastinitem","_displayName","_hasIgnitors","_hasCarBomb","_isHouse","_isGateOperational","_isGateLockable", "_isFence","_isLockableGate","_isUnlocked","_isOpen","_isClosed","_ownerArray","_ownerBuildLock","_ownerPID", -"_isPlane"]; +"_uid","_myCharID"]; _vehicle = vehicle player; _inVehicle = (_vehicle != player); @@ -22,9 +22,10 @@ _magazinesPlayer = magazines player; _onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1; _canDo = (!r_drag_sqf && !r_player_unconscious && !_onLadder); //_canDrink = count nearestObjects [getPosATL player, ["Land_pumpa","Land_water_tank"], 2] > 0; - +_uid = getPlayerUID player; _nearLight = nearestObject [player,"LitObject"]; _canPickLight = false; +_myCharID = player getVariable ["CharacterID","0"]; if (!isNull _nearLight) then { if (_nearLight distance player < 4) then { @@ -90,46 +91,29 @@ if ((_primaryWeapon in Dayz_fishingItems) && {!dayz_fishingInprogress} && {_inVe s_player_fishing_veh = -1; }; -_canDoThis=false; -if (_canDo && !_inVehicle && !dayz_isSwimming) then { - { - _waterHoles = if (typeOf _x == "waterHoleProxy") then {nearestObjects [_x, [], 1];} else {[_x];}; - { - _w2m = _x worldToModel (getPosATL player); - _bb = (boundingbox _x) select 1; - _dir = [player, _x] call BIS_fnc_relativeDirTo; if (_dir > 180) then {_dir = _dir - 360}; - if (((abs _dir < 45) && {(_x distance player < 2.22)}) // wells, kasna, pumpa - or {((("" == typeOf _x) && ((_w2m select 2) < 0.05)) && {((abs(_w2m select 0) < (_bb select 0)) && (abs(_w2m select 1) < (_bb select 1)))})}) exitWith { // ponds - _canDoThis = true; - }; - } count _waterHoles; - if (_canDoThis) exitWith { - if (s_player_Drinkfromhands < 0) then { - s_player_Drinkfromhands = player addAction [localize "STR_ACTIONS_DRINK2", "\z\addons\dayz_code\actions\player_drinkWater.sqf",player, 0.5, false, true]; - }; - }; - } foreach nearestObjects [player, ["waterHoleProxy", "Land_pumpa"], 50]; -}; -if (!_canDoThis && s_player_Drinkfromhands >= 0) then { - player removeAction s_player_Drinkfromhands; - s_player_Drinkfromhands = -1; +//Allows drinking from hands at ponds and ambient wells, but may negatively impact performance +if (_canDo && !_inVehicle && !dayz_isSwimming && ((call fn_nearWaterHole) select 0)) then { + if (s_player_Drinkfromhands < 0) then { + s_player_Drinkfromhands = player addAction [localize "STR_ACTIONS_DRINK2", "\z\addons\dayz_code\actions\water_fill.sqf","hands", 0.5, false, true]; + }; +} else { + if (s_player_Drinkfromhands >= 0) then { + player removeAction s_player_Drinkfromhands; + s_player_Drinkfromhands = -1; + }; }; -// Increase distance only if Fishing_Boat -_allowedDistance = if (typeOf _cursorTarget == "Fishing_Boat") then {8} else {4}; +// Increase distance only if AIR or SHIP +_allowedDistance = if ((_cursorTarget isKindOf "Air") or (_cursorTarget isKindOf "Ship")) then {8} else {4}; if (!isNull _cursorTarget && !_inVehicle && (player distance _cursorTarget < _allowedDistance) && _canDo) then { //Has some kind of target _typeOfCursorTarget = typeOf _cursorTarget; _isVehicle = _cursorTarget isKindOf "AllVehicles"; _isBicycle = _cursorTarget isKindOf "Bicycle"; - _isPlane = _cursorTarget isKindOf "Plane"; - _isMan = _cursorTarget isKindOf "Man"; - _isAnimal = _cursorTarget isKindOf "Animal"; - _isZombie = _cursorTarget isKindOf "zZombie_base"; + _isMan = _cursorTarget isKindOf "Man"; //includes animals and zombies _isDestructable = _cursorTarget isKindOf "BuiltItems"; - _isHarvested = _cursorTarget getVariable["meatHarvested",false]; - _isGenerator = _cursorTarget isKindOf "Generator_DZ"; + _isGenerator = _typeOfCursorTarget == "Generator_DZ"; _ownerID = _cursorTarget getVariable ["characterID","0"]; _isVehicletype = _typeOfCursorTarget in ["ATV_US_EP1","ATV_CZ_EP1"]; _isFuel = false; @@ -143,13 +127,13 @@ if (!isNull _cursorTarget && !_inVehicle && (player distance _cursorTarget < _al _text = getText (configFile >> "CfgVehicles" >> _typeOfCursorTarget >> "displayName"); _isPlant = _typeOfCursorTarget in Dayz_plants; _istypeTent = (_cursorTarget isKindOf "TentStorage_base") or (_cursorTarget isKindOf "IC_Tent"); - _upgradeItems = ["TentStorage","TentStorage0","TentStorage1","TentStorage2","TentStorage3","StashSmall","StashSmall1","StashSmall2","StashSmall3","StashSmall4","StashMedium","StashMedium1","StashMedium2","StashMedium3","DomeTentStorage","DomeTentStorage0","DomeTentStorage1","DomeTentStorage2","DomeTentStorage3","DomeTentStorage4"]; - _isCampSite = _cursorTarget isKindOf "IC_Fireplace1"; + _upgradeItems = ["TentStorage","TentStorage0","TentStorage1","TentStorage2","TentStorage3","StashSmall","StashSmall1","StashSmall2","StashSmall3","StashSmall4","StashMedium","StashMedium1","StashMedium2","StashMedium3","DomeTentStorage","DomeTentStorage0","DomeTentStorage1","DomeTentStorage2","DomeTentStorage3"]; //fuel tanks if (_hasEmptyFuelCan) then { - //_isFuel = _typeOfCursorTarget in ["Land_Ind_TankSmall","Land_fuel_tank_big","Land_fuel_tank_stairs","Land_wagon_tanker","Land_fuelstation","Land_fuelstation_army"]; - _isFuel = (_cursorTarget isKindOf "Land_Ind_TankSmall") or (_cursorTarget isKindOf "Land_fuel_tank_big") or (_cursorTarget isKindOf "Land_fuel_tank_stairs") or (_cursorTarget isKindOf "Land_wagon_tanker"); + { + if (_cursorTarget isKindOf _x) exitWith {_isFuel = true;}; + } count dayz_fuelsources; }; //remove gathered plant if empty @@ -167,17 +151,8 @@ if (!isNull _cursorTarget && !_inVehicle && (player distance _cursorTarget < _al s_player_flipveh = -1; }; - if (_isPlane && {_isAlive} && {count (crew _cursorTarget) == 0}) then { - if (s_player_pushPlane < 0) then { - s_player_pushPlane = player addAction [format[localize "str_actions_push",_text], "\z\addons\dayz_code\actions\player_pushPlane.sqf",_cursorTarget,1,true,true]; - }; - } else { - player removeAction s_player_pushPlane; - s_player_pushPlane = -1; - }; - //Allow player to fill Fuel can - if (_hasEmptyFuelCan && {_isFuel} && {!a_player_jerryfilling} && {_isAlive}) then { + if (_hasEmptyFuelCan && _isFuel && _isAlive) then { if (s_player_fillfuel < 0) then { s_player_fillfuel = player addAction [localize "str_actions_self_10", "\z\addons\dayz_code\actions\jerry_fill.sqf",_cursorTarget, 1, false, true]; }; @@ -188,7 +163,7 @@ if (!isNull _cursorTarget && !_inVehicle && (player distance _cursorTarget < _al if (damage _cursorTarget < 1) then { //Allow player to fill vehicle 20L - if (_hasFuel20 && {!_isZombie} && {!_isAnimal} && {!_isMan} && {_isVehicle or _isGenerator} && {fuel _cursorTarget < 1} && {!a_player_jerryfilling}) then { + if (_hasFuel20 && {!_isMan} && {_isVehicle or _isGenerator} && {fuel _cursorTarget < 1}) then { if (s_player_fillfuel20 < 0) then { s_player_fillfuel20 = player addAction [format[localize "str_actions_medical_10",_text,"20"], "\z\addons\dayz_code\actions\refuel.sqf",["ItemJerrycan",_cursorTarget], 0, true, true, "", "'ItemJerrycan' in magazines player"]; }; @@ -198,7 +173,7 @@ if (!isNull _cursorTarget && !_inVehicle && (player distance _cursorTarget < _al }; //Allow player to fill vehicle 5L - if (_hasFuel5 && {!_isZombie} && {!_isAnimal} && {!_isMan} && {_isVehicle or _isGenerator} && {fuel _cursorTarget < 1} && {!a_player_jerryfilling}) then { + if (_hasFuel5 && {!_isMan} && {_isVehicle or _isGenerator} && {fuel _cursorTarget < 1}) then { if (s_player_fillfuel5 < 0) then { s_player_fillfuel5 = player addAction [format[localize "str_actions_medical_10",_text,"5"], "\z\addons\dayz_code\actions\refuel.sqf",["ItemFuelcan",_cursorTarget], 0, true, true, "", "'ItemFuelcan' in magazines player"]; }; @@ -214,7 +189,7 @@ if (!isNull _cursorTarget && !_inVehicle && (player distance _cursorTarget < _al */ // //Allow player to siphon vehicles - if (_hasEmptyFuelCan && {!_isZombie} && {!_isAnimal} && {!_isMan} && {_isVehicle} && {!_isBicycle} && {!a_player_jerryfilling} && {fuel _cursorTarget > 0}) then { + if (_hasEmptyFuelCan && {!_isMan} && {_isVehicle} && {!_isBicycle} && {fuel _cursorTarget > 0}) then { if (s_player_siphonfuel < 0) then { s_player_siphonfuel = player addAction [format[localize "str_siphon_start"], "\z\addons\dayz_code\actions\siphonFuel.sqf",_cursorTarget, 0, true, true]; }; @@ -231,23 +206,6 @@ if (!isNull _cursorTarget && !_inVehicle && (player distance _cursorTarget < _al s_player_siphonfuel = -1; }; - //Harvested - if (!_isAlive && _isAnimal && !_isHarvested) then { - //_hasknife = {_x in ["ItemKnife","ItemKnife5","ItemKnife4","ItemKnife3","ItemKnife2","ItemKnifeBlunt"]} count _itemsPlayer > 0; - //make sure the player has a knife - //if (_hasknife) then { - if (s_player_butcher < 0) then { - s_player_butcher = player addAction [localize "str_actions_self_04", "\z\addons\dayz_code\actions\gather_meat.sqf",_cursorTarget, 3, true, true]; - }; - //} else { - // player removeAction s_player_butcher; - // s_player_butcher = -1; - //}; - } else { - player removeAction s_player_butcher; - s_player_butcher = -1; - }; - //Fireplace Actions check if ((_cursorTarget call isInflamed) or (inflamed _cursorTarget)) then { _hasRawMeat = {_x in Dayz_meatraw} count _magazinesPlayer > 0; @@ -275,21 +233,9 @@ if (!isNull _cursorTarget && !_inVehicle && (player distance _cursorTarget < _al s_player_boil = -1; }; }; - -// Not needed. -/* - if(_cursorTarget == dayz_hasFire) then { - if ((s_player_fireout < 0) && !(_cursorTarget call isInflamed) && (player distance _cursorTarget < 3)) then { - s_player_fireout = player addAction [localize "str_actions_self_06", "\z\addons\dayz_code\actions\fire_pack.sqf",_cursorTarget, 0, false, true]; - }; - } else { - player removeAction s_player_fireout; - s_player_fireout = -1; - }; -*/ //remove Own objects - if (_ownerID == dayz_characterID) then { + if (_ownerID == _myCharID) then { if (_isDestructable && _hasToolbox) then { if (s_player_deleteBuild < 0) then { s_player_deleteBuild = player addAction [format[localize "str_actions_delete",_text], "\z\addons\dayz_code\actions\remove.sqf",_cursorTarget, 1, true, true]; @@ -301,10 +247,8 @@ if (!isNull _cursorTarget && !_inVehicle && (player distance _cursorTarget < _al //upgrade items if (_typeOfCursorTarget in _upgradeItems) then { if (s_player_upgradestorage < 0) then { - if (isText (configFile >> "CfgVehicles" >> _typeOfCursorTarget >> "Upgrade" >> "create")) then { - _displayName = getText (configFile >> "CfgVehicles" >> _typeOfCursorTarget >> "displayName"); - s_player_upgradestorage = player addAction [format[localize "str_upgrade",_displayName], "\z\addons\dayz_code\actions\object_upgradeStorage.sqf",_cursorTarget, 0, false, true]; - }; + _displayName = getText (configFile >> "CfgVehicles" >> _typeOfCursorTarget >> "displayName"); + s_player_upgradestorage = player addAction [format[localize "str_upgrade",_displayName], "\z\addons\dayz_code\actions\object_upgradeStorage.sqf",_cursorTarget, 0, false, true]; }; } else { player removeAction s_player_upgradestorage; @@ -329,16 +273,14 @@ if (!isNull _cursorTarget && !_inVehicle && (player distance _cursorTarget < _al }; //other tents if (_istypeTent) then { - //destroy tents - //Located in variables Dayz_Ignators = ["ItemMatchbox","Item5Matchbox","Item4Matchbox","Item3Matchbox","Item2Matchbox","Item1Matchbox"]; - _hasIgnators = {_x in Dayz_Ignators} count _itemsPlayer > 0; - if ((_hasFuel20 or _hasFuel5) && _hasIgnators) then { - if (s_player_destorytent < 0) then { - s_player_destorytent = player addAction [localize "str_actions_self_destorytent", "\z\addons\dayz_code\actions\player_destroyTent.sqf",_cursorTarget, 0, false, true]; + _hasIgnitors = {_x in DayZ_Ignitors} count _itemsPlayer > 0; + if ((_hasFuel20 or _hasFuel5) && _hasIgnitors) then { + if (s_player_destroytent < 0) then { + s_player_destroytent = player addAction [localize "str_actions_self_destroytent", "\z\addons\dayz_code\actions\player_destroyTent.sqf",_cursorTarget, 0, false, true]; }; } else { - player removeAction s_player_destorytent; - s_player_destorytent = -1; + player removeAction s_player_destroytent; + s_player_destroytent = -1; }; if (_typeOfCursorTarget in ["IC_DomeTent","IC_Tent"]) then { if (s_player_packtentinfected < 0) then { @@ -356,9 +298,9 @@ if (!isNull _cursorTarget && !_inVehicle && (player distance _cursorTarget < _al player removeAction s_player_sleep; s_player_sleep = -1; }; - + //Study Body - if (_isMan && {!_isAlive} && {!_isZombie} && {!_isAnimal}) then { + if (_cursorTarget getVariable["bodyName",""] != "") then { if (s_player_studybody < 0) then { s_player_studybody = player addAction [localize "str_action_studybody", "\z\addons\dayz_code\actions\study_body.sqf",_cursorTarget, 0, false, true]; }; @@ -377,28 +319,11 @@ if (!isNull _cursorTarget && !_inVehicle && (player distance _cursorTarget < _al player removeAction s_player_attach_bomb; s_player_attach_bomb = -1; }; -*/ - //Repairing Vehicles - if (_isVehicle && {!_isMan} && {dayz_myCursorTarget != _cursorTarget} && {_hasToolbox} && {damage _cursorTarget < 1}) then { - if (s_player_repair_crtl < 0) then { - dayz_myCursorTarget = _cursorTarget; - _menu = dayz_myCursorTarget addAction [localize "str_actions_repairveh", "\z\addons\dayz_code\actions\repair_vehicle.sqf",_cursorTarget, 0, true, false]; - if (!_isBicycle) then { //Bike wheels should not give full size tires. Also model does not update to show removed wheels. - _menu1 = dayz_myCursorTarget addAction [localize "str_actions_salvageveh", "\z\addons\dayz_code\actions\salvage_vehicle.sqf",_cursorTarget, 0, true, false]; - s_player_repairActions set [count s_player_repairActions,_menu1]; - }; - s_player_repairActions set [count s_player_repairActions,_menu]; - s_player_repair_crtl = 1; - } else { - {dayz_myCursorTarget removeAction _x} forEach s_player_repairActions; - s_player_repairActions = []; - s_player_repair_crtl = -1; - }; - }; - +*/ // House locking and unlocking _isHouse = _typeOfCursorTarget in ["SurvivorWorkshopAStage5", "SurvivorWorkshopBStage5", "SurvivorWorkshopCStage5"]; - _isGate = _typeOfCursorTarget in ["WoodenGate_1","WoodenGate_2","WoodenGate_3","WoodenGate_4","MetalGate_1","MetalGate_2","MetalGate_3","MetalGate_4"]; + _isGateOperational = _typeOfCursorTarget in ["WoodenGate_1","WoodenGate_2","WoodenGate_3","WoodenGate_4","MetalGate_1","MetalGate_2","MetalGate_3","MetalGate_4"]; + _isGateLockable = _typeOfCursorTarget in ["WoodenGate_1","WoodenGate_2","WoodenGate_3","MetalGate_1","MetalGate_2","MetalGate_3"]; _isFence = _typeOfCursorTarget in ["WoodenFence_1","WoodenFence_2","WoodenFence_3","WoodenFence_4","WoodenFence_5","WoodenFence_6","MetalFence_1","MetalFence_2","MetalFence_3","MetalFence_4","MetalFence_5","MetalFence_6","MetalFence_7"]; //Only the owners can lock the gates @@ -415,25 +340,25 @@ if (!isNull _cursorTarget && !_inVehicle && (player distance _cursorTarget < _al _ownerPID = (_ownerArray select 0); // open Gate - if (_isGate && _isClosed && _isUnlocked) then { + if (_isGateOperational && _isClosed && _isUnlocked) then { if (s_player_openGate < 0) then { - s_player_openGate = player addAction [localize "STR_BLD_ACTIONS_OPENGATE", "\z\addons\dayz_code\actions\player_operate.sqf",[_cursorTarget,"Open"], 1, true, true]; + s_player_openGate = player addAction [localize "STR_DN_OUT_O_GATE", "\z\addons\dayz_code\actions\player_operate.sqf",[_cursorTarget,"Open"], 1, true, true]; }; } else { player removeAction s_player_openGate; s_player_openGate = -1; }; // Close Gate - if (_isGate && _isOpen && _isUnlocked) then { + if (_isGateOperational && _isOpen && _isUnlocked) then { if (s_player_CloseGate < 0) then { - s_player_CloseGate = player addAction [localize "STR_BLD_ACTIONS_CLOSEGATE", "\z\addons\dayz_code\actions\player_operate.sqf",[_cursorTarget,"Close"], 1, true, true]; + s_player_CloseGate = player addAction [localize "STR_DN_OUT_C_GATE", "\z\addons\dayz_code\actions\player_operate.sqf",[_cursorTarget,"Close"], 1, true, true]; }; } else { player removeAction s_player_CloseGate; s_player_CloseGate = -1; }; // Set - if ((_isHouse or _isLockableGate) && (_ownerPID == (getPlayerUID player)) && !_isUnlocked && _isClosed) then { + if ((_isHouse or _isLockableGate) && (_ownerPID == _uid) && !_isUnlocked && _isClosed) then { if (s_player_setCode < 0) then { s_player_setCode = player addAction [localize "STR_BLD_ACTIONS_SETLOCKCODE", "\z\addons\dayz_code\actions\player_operate.sqf",[_cursorTarget,"Set"], 1, true, true]; }; @@ -442,7 +367,7 @@ if (!isNull _cursorTarget && !_inVehicle && (player distance _cursorTarget < _al s_player_setCode = -1; }; //Lock Build point - if ((_isFence or _isGate) && (_ownerPID == (getPlayerUID player)) && !_ownerBuildLock) then { + if ((_isFence or _isGateLockable) && (_ownerPID == _uid) && !_ownerBuildLock) then { if (s_player_BuildLock < 0) then { s_player_BuildLock = player addAction [localize "STR_BLD_ACTIONS_LOCKBUILD", "\z\addons\dayz_code\actions\player_operate.sqf",[_cursorTarget,"BuildLock"], 1, true, true]; }; @@ -451,7 +376,7 @@ if (!isNull _cursorTarget && !_inVehicle && (player distance _cursorTarget < _al s_player_BuildLock = -1; }; //UnLock Build point - if ((_isFence or _isGate) && (_ownerPID == (getPlayerUID player)) && _ownerBuildLock) then { + if ((_isFence or _isGateLockable) && (_ownerPID == _uid) && _ownerBuildLock) then { if (s_player_BuildUnLock < 0) then { s_player_BuildUnLock = player addAction [localize "STR_BLD_ACTIONS_UNLOCKBUILD", "\z\addons\dayz_code\actions\player_operate.sqf",[_cursorTarget,"BuildUnLock"], 1, true, true]; }; @@ -478,7 +403,7 @@ if (!isNull _cursorTarget && !_inVehicle && (player distance _cursorTarget < _al s_player_lockhouse = -1; }; //Break In - if ((_isHouse or _isLockableGate) && (_ownerPID != (getPlayerUID player)) && !_isUnlocked) then { + if ((_isHouse or _isLockableGate) && (_ownerPID != _uid) && !_isUnlocked) then { if (s_player_breakinhouse < 0) then { s_player_breakinhouse = player addAction [localize "STR_BLD_ACTIONS_BREAKIN", "\z\addons\dayz_code\actions\player_breakin.sqf",_cursorTarget, 1, true, true]; }; @@ -489,25 +414,17 @@ if (!isNull _cursorTarget && !_inVehicle && (player distance _cursorTarget < _al } else { //Engineering {dayz_myCursorTarget removeAction _x} count s_player_repairActions;s_player_repairActions = []; - player removeAction s_player_repair_crtl; - s_player_repair_crtl = -1; dayz_myCursorTarget = objNull; player removeAction s_player_flipveh; s_player_flipveh = -1; - player removeAction s_player_pushPlane; - s_player_pushPlane = -1; player removeAction s_player_sleep; s_player_sleep = -1; player removeAction s_player_deleteBuild; s_player_deleteBuild = -1; - player removeAction s_player_butcher; - s_player_butcher = -1; player removeAction s_player_cook; s_player_cook = -1; player removeAction s_player_boil; s_player_boil = -1; - player removeAction s_player_fireout; - s_player_fireout = -1; player removeAction s_player_packtent; s_player_packtent = -1; player removeAction s_player_packtentinfected; @@ -527,13 +444,10 @@ if (!isNull _cursorTarget && !_inVehicle && (player distance _cursorTarget < _al //Allow player to gather player removeAction s_player_gather; s_player_gather = -1; - player removeAction s_player_destorytent; - s_player_destorytent = -1; + player removeAction s_player_destroytent; + s_player_destroytent = -1; // player removeAction s_player_attach_bomb; // s_player_attach_bomb = -1; - //debug - //player removeAction s_player_debugCheck; - //s_player_debugCheck = -1; player removeAction s_player_upgradestorage; s_player_upgradestorage = -1; //Unlock,Lock diff --git a/SQF/dayz_code/compile/fn_shuffleArray.sqf b/SQF/dayz_code/compile/fn_shuffleArray.sqf new file mode 100644 index 00000000..bc521233 --- /dev/null +++ b/SQF/dayz_code/compile/fn_shuffleArray.sqf @@ -0,0 +1,13 @@ +private ["_ar","_rand_array","_rand"]; +_ar = _this; +_rand_array = []; +while {count _ar > 0} do { + _rand = (count _ar); + _rand = floor (random _rand); + _rand_array set [count _rand_array, _ar select _rand]; + _ar set [_rand, "randarray_del"]; + _ar = _ar - ["randarray_del"]; + sleep 0.001; +}; + +_rand_array \ No newline at end of file diff --git a/SQF/dayz_code/compile/fn_spawnObjects.sqf b/SQF/dayz_code/compile/fn_spawnObjects.sqf new file mode 100644 index 00000000..e09de606 --- /dev/null +++ b/SQF/dayz_code/compile/fn_spawnObjects.sqf @@ -0,0 +1,70 @@ +/* + Spawns objects from compact array format. + + Notes for global spawned objects: + - Recommend running on server machine only. + - Always present global objects use the most resources. Damage and other updates about them are regularly sent over the network. + + Notes for local spawned objects: + - Always present local objects are more performant than global, but less performant than town generator (spawning locally only when player is nearby) + - Recommend running on every machine including the server, so all units know about the object and vehicles parked on top are not affected. + - Recommend running unscheduled before player_monitor.fsm and server_monitor.sqf, so units and vehicles spawned on top do not fall through. + - Not recommended for destructible or removable objects. Damage and deleted status are not synced across machines. + - Not recommended for objects with animations (like gates). Anim status is not synced across machines. + + Params: + [ + [ + ["ObjectType1", [position], dir], + ["ObjectType2", [position], dir], + ["ObjectType3", [position], dir] + ], + false, // Block damage + false, // Use setPosATL instead of setPos + true // Spawn objects locally + ] call fnc_spawnObjects; +*/ + +private ["_atl","_blockDamage","_fires","_local","_object","_objects","_type"]; + +_objects = _this select 0; +_blockDamage = _this select 1; +_atl = _this select 2; +_local = _this select 3; + +_fires = [ + "Base_Fire_DZ", + "flamable_DZ", + "Land_Camp_Fire_DZ", + "Land_Campfire", + "Land_Campfire_burning", + "Land_Fire", + "Land_Fire_burning", + "Land_Fire_DZ", + "Land_Fire_barrel", + "Land_Fire_barrel_burning", + "Misc_TyreHeap" +]; + +{ + _type = _x select 0; + + if (_local) then { + _object = _type createVehicleLocal [0,0,0]; + _object setVariable ["",true,false]; // stops global setVariable by sched_townGenerator, checked in player_spawnCheck for loot spawn + } else { + _object = _type createVehicle [0,0,0]; + }; + + _object setDir (_x select 2); + if (_atl) then { + _object setPosATL (_x select 1); + } else { + _object setPos (_x select 1); + }; + + if (_blockDamage) then { + _object addEventHandler ["HandleDamage",{0}]; + if !(_type in _fires) then {_object enableSimulation false;}; + }; +} forEach _objects; \ No newline at end of file diff --git a/SQF/dayz_code/compile/fn_temperatur.sqf b/SQF/dayz_code/compile/fn_temperatur.sqf index 8dd71d8f..a7637ca8 100644 --- a/SQF/dayz_code/compile/fn_temperatur.sqf +++ b/SQF/dayz_code/compile/fn_temperatur.sqf @@ -43,7 +43,7 @@ _difference = 0; _isinbuilding = false; _isinvehicle = false; -_raining = if(rain > 0) then {true} else {false}; +_raining = (rain > 0); _sunrise = call world_sunRise; //POSITIV EFFECTS diff --git a/SQF/dayz_code/compile/fn_unconscious.sqf b/SQF/dayz_code/compile/fn_unconscious.sqf index 7ed2908c..b0d463d6 100644 --- a/SQF/dayz_code/compile/fn_unconscious.sqf +++ b/SQF/dayz_code/compile/fn_unconscious.sqf @@ -1,9 +1,14 @@ // (c) facoptere@gmail.com, licensed to DayZMod for the community -private ["_count","_anim","_weapon","_sprint","_stance","_transmove","_start","_timeout","_short","_sandLevel","_veh","_disableHdlr","_speed"]; +private ["_count","_anim","_weapon","_sprint","_stance","_transmove","_start","_timeout","_short","_sandLevel","_veh","_speed"]; if (r_player_unconsciousInProgress) exitWith {}; r_player_unconsciousInProgress = true; +r_player_unconsciousInputDisabled = true; +//this is like this in order to release the current user input +disableUserInput true; disableUserInput true; +disableUserInput false; disableUserInput false; +disableUserInput true; disableUserInput true; _start = diag_tickTime; _timeout = abs r_player_timeout; @@ -20,10 +25,9 @@ player setVariable ["NORRN_unconscious", r_player_unconscious, true]; _sandLevel = ctrlPosition ((uiNamespace getVariable 'DAYZ_GUI_waiting') displayCtrl 1400); //diag_log [(diag_tickTime - _start) < _timeout , !r_player_unconscious , alive player ]; -// delay so that the character does not stop before falling: -_disableHdlr = [] spawn { uiSleep 2; disableUserInput true; r_player_unconsciousInputDisabled = true; }; - -player playAction "CanNotMove"; +if (player == vehicle player) then { + player playAction "CanNotMove"; +}; "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; if (dayz_soundMuted) then {call player_toggleSoundMute;}; // hide icon before fadeSound @@ -69,21 +73,26 @@ player setVariable ["USEC_isCardiac",r_player_cardiac, true]; player setVariable["medForceUpdate",true, true]; r_player_unconsciousInProgress = false; -terminate _disableHdlr; -waituntil {scriptDone _disableHdlr}; -disableUserInput false; -r_player_unconsciousInputDisabled = false; -4 cutRsc ["default", "PLAIN",1]; -[nil, player, rSWITCHMOVE, "AinjPpneMstpSnonWnonDnon"] call RE; -player SWITCHMOVE "AinjPpneMstpSnonWnonDnon"; -PVDZ_plr_SwitchMove = [player,"AinjPpneMstpSnonWnonDnon"]; -publicVariableServer "PVDZ_plr_SwitchMove"; //Needed to execute switchMove on server machine. rSwitchMove only executes on other clients +4 cutRsc ["default", "PLAIN",1]; -player playMoveNow "AmovPpneMstpSnonWnonDnon_healed"; +if (player == vehicle player) then { + // "AinjPpneMstpSnonWnonDnon" rolls from back first (jarring transition if player was knocked out prone or fell to stomach) + [nil, player, rSWITCHMOVE, "AinjPpneMstpSnonWnonDnon"] call RE; + player SWITCHMOVE "AinjPpneMstpSnonWnonDnon"; + PVDZ_plr_SwitchMove = [player,"AinjPpneMstpSnonWnonDnon"]; + publicVariableServer "PVDZ_plr_SwitchMove"; //Needed to execute switchMove on server machine. rSwitchMove only executes on other clients + player playMoveNow "AmovPpneMstpSnonWnonDnon_healed"; +}; 10 fadeSound 1; "dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 5; "colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 1], [1, 1, 1, 1]];"colorCorrections" ppEffectCommit 5; +//once more to be safe +disableUserInput false; disableUserInput false; +disableUserInput true; disableUserInput true; +disableUserInput false; disableUserInput false; +r_player_unconsciousInputDisabled = false; + //diag_log [ __FILE__, diag_tickTime, "done" ]; diff --git a/SQF/dayz_code/compile/fn_upgradeActions.sqf b/SQF/dayz_code/compile/fn_upgradeActions.sqf deleted file mode 100644 index 4f330851..00000000 --- a/SQF/dayz_code/compile/fn_upgradeActions.sqf +++ /dev/null @@ -1,84 +0,0 @@ -private ["_vehicle","_inVehicle","_cursorTarget","_onLadder","_canDo","_ownerArray","_text","_ownerBuildLock"]; - -scriptName "Functions\misc\fn_upgradeActions.sqf"; - -_vehicle = vehicle player; -_inVehicle = (_vehicle != player); -_cursorTarget = cursorTarget; - -if ((isNil "_cursorTarget") or {(isNull _cursorTarget)}) then { - _cursorTarget = nearestObjects [ player modelToWorld [0,1.5,0] , ["DZ_buildables","BuiltItems"], 1.5]; - _cursorTarget = if (count _cursorTarget == 0) then { objNull } else { _cursorTarget select 0 }; -}; - -_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1; -_canDo = (!r_drag_sqf and !r_player_unconscious and !_onLadder); -r_action_build = false; - -dayz_resetUpgradeActions = { - player removeAction s_player_building; - s_player_building = -1; - player removeAction s_player_maintenance; - s_player_maintenance = -1; - player removeAction s_player_disassembly; - s_player_disassembly = -1; -}; - -if ((player getVariable["alreadyBuilding",0]) == 1) exitWith { call dayz_resetUpgradeActions; }; - -_maintenanceMode = _cursorTarget getVariable["Maintenance",false]; - -if (!isNull _cursorTarget and !_inVehicle and (player distance _cursorTarget < 4) and _canDo) then { - _ownerArray = _cursorTarget getVariable ["ownerArray",[]]; - _ownerBuildLock = _cursorTarget getVariable ["BuildLock",false]; -// diag_log [ diag_tickTime, __FILE__, "_ownerArray", _ownerArray, "PlayerUID", getPlayerUID player]; - //building System - _text = getText (configFile >> "CfgVehicles" >> typeOf _cursorTarget >> "displayName"); - - if ((_cursorTarget iskindof "DZ_buildables") and isText(configFile >> "CfgVehicles" >> (typeOf _cursorTarget) >> "Upgrade" >> "create") and !_ownerBuildLock) then { - if (s_player_building < 0) then { - if (isText (configFile >> "CfgVehicles" >> (typeof _cursorTarget) >> "Upgrade" >> "create")) then { - s_player_building = player addAction [format[localize "str_upgrade",_text], "\z\addons\dayz_code\actions\object_upgradebuilding.sqf",_cursorTarget, 0, false, true, "",""]; - }; - }; - } else { - player removeAction s_player_building; - s_player_building = -1; - }; - - if ((_maintenanceMode or (damage _cursorTarget > 0)) and (_cursorTarget iskindof "DZ_buildables") and isClass(configFile >> "CfgVehicles" >> (typeof _cursorTarget) >> "Maintenance")) then { - if (s_player_maintenance < 0) then { - s_player_maintenance = player addAction [format[localize "str_maintenance",_text], "\z\addons\dayz_code\actions\object_maintenance.sqf",_cursorTarget, 0, false, true, "", ""]; - }; - } else { - player removeAction s_player_maintenance; - s_player_maintenance = -1; - }; - - - if ((((getPlayerUID player) in _ownerArray) or (count _ownerArray == 0) or ((typeof _cursorTarget) in ["WoodenFence_1_foundation","WoodenGate_foundation"])) and !_ownerBuildLock) then { - if (s_player_disassembly < 0) then { - if (isClass (configFile >> "CfgVehicles" >> (typeof _cursorTarget) >> "Disassembly")) then { - s_player_disassembly = player addAction [format[localize "str_disassembly",_text], "\z\addons\dayz_code\actions\object_disassembly.sqf",_cursorTarget, 0, false, true, "", "'ItemToolbox' in items player"]; - }; - }; - } else { - player removeAction s_player_disassembly; - s_player_disassembly = -1; - }; -} else { - call dayz_resetUpgradeActions; -}; - - -/* -dayz_resetUpgradeActions = { - s_player_disassembly = -1; - s_player_building = -1; - s_player_maintenance = -1; -}; -*/ - -//Monitor -player setVariable ["upgradeActions", diag_ticktime, false]; - diff --git a/SQF/dayz_code/compile/keyboard.sqf b/SQF/dayz_code/compile/keyboard.sqf index d5ef40c9..be19975c 100644 --- a/SQF/dayz_code/compile/keyboard.sqf +++ b/SQF/dayz_code/compile/keyboard.sqf @@ -68,12 +68,6 @@ if (isNil "keyboard_keys") then { _handled = true; };}; }; - _turbo = { - if (vehicle player == player) then { - [objNull, player, rSwitchMove,""] call RE; - _handled = true; - }; - }; _forcesave = { dayz_lastCheckBit = diag_ticktime; call player_forceSave; @@ -87,7 +81,7 @@ if (isNil "keyboard_keys") then { force_dropBody = true; }; _interrupt = { - r_interrupt = true; + r_interrupt = true; }; // TODO: left/right, when gear open: onKeyDown = "[_this,'onKeyDown',0,107,0,107] execVM '\z\addons\dayz_code\system\handleGear.sqf'"; _noise = { @@ -99,7 +93,7 @@ if (isNil "keyboard_keys") then { _journal = { if (!dayz_isSwimming and !dialog) then { [player,4,true,(getPosATL player)] call player_alertZombies; - createDialog "horde_journal_front_cover"; + createDialog 'horde_journal_front_cover'; }; _handled = true; }; @@ -118,13 +112,6 @@ if (isNil "keyboard_keys") then { }; _handled = true; }; - // tents and stash construction - _object = player getVariable ["constructionObject", objNull]; - if (!isNull _object) then { - _dir = getDir _object - 3; - _object setDir _dir; - _handled = true; - }; dayz_dodge = true; }; _build_right = { @@ -140,24 +127,19 @@ if (isNil "keyboard_keys") then { }; _handled = true; }; - // tents and stash construction - _object = player getVariable ["constructionObject", objNull]; - if (!isNull _object) then { - _dir = getDir _object + 3; - _object setDir _dir; - _handled = true; - }; dayz_dodge = true; }; _build_camOnOff = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_buildCamera.sqf"; _build_str8OnOff = { + r_interrupt = true; + if (0 != count Dayz_constructionContext) then { Dayz_constructionContext set [ 5, !(Dayz_constructionContext select 5) ]; _handled = true; - r_interrupt = true; }; + if (animationState player in ["bunnyhopunarmed","bunnyhoprifle"]) then { //Fixes invisible weapon switch glitch if double tapping vault with no weapon in hands _handled = true; @@ -167,6 +149,7 @@ if (isNil "keyboard_keys") then { _block = { _handled = true; }; + _addArray = { { keyboard_keys set [_x, _this select 1]; @@ -195,7 +178,6 @@ if (isNil "keyboard_keys") then { [actionKeys "User20", _journal] call _addArray; [actionKeys "Diary", _journal] call _addArray; [actionKeys "NetworkStats", _journal] call _addArray; - //[actionKeys "Turbo", _turbo] call _addArray; [[DIK_F1], _muteSound] call _addArray; //[[DIK_F4, DIK_TAB, DIK_DELETE], _forcesave] call _addArray; //[[DIK_F4, DIK_RMENU, DIK_LMENU,DIK_LSHIFT,DIK_RSHIFT,DIK_ESCAPE], _forcesave2] call _addArray; @@ -210,6 +192,7 @@ if (isNil "keyboard_keys") then { DIK_F8,DIK_F7,DIK_F6,DIK_F5,DIK_F4, DIK_F3,DIK_F2,DIK_0,DIK_9, DIK_8,DIK_7,DIK_6,DIK_5,DIK_4], _block] call _addArray; + diag_log "keyboard_keys reset"; }; if (r_player_unconsciousInputDisabled) exitWith {true}; diff --git a/SQF/dayz_code/compile/local_gutObject.sqf b/SQF/dayz_code/compile/local_gutObject.sqf index f11a1529..cadf87a0 100644 --- a/SQF/dayz_code/compile/local_gutObject.sqf +++ b/SQF/dayz_code/compile/local_gutObject.sqf @@ -1,3 +1,5 @@ +private ["_amount","_animalbody","_rawfoodtype","_qty"]; + _animalbody = _this select 0; _qty = _this select 1; _rawfoodtype = getText (configFile >> "CfgSurvival" >> "Meat" >> typeOf _animalbody >> "rawfoodtype"); diff --git a/SQF/dayz_code/compile/local_setFuel.sqf b/SQF/dayz_code/compile/local_setFuel.sqf index 04e1873d..e0ec8e8a 100644 --- a/SQF/dayz_code/compile/local_setFuel.sqf +++ b/SQF/dayz_code/compile/local_setFuel.sqf @@ -1,3 +1 @@ -_vehicle = _this select 0; -_qty = _this select 1; -_vehicle setFuel _qty; \ No newline at end of file +(_this select 0) setFuel (_this select 1); \ No newline at end of file diff --git a/SQF/dayz_code/compile/object_infectedcamps.sqf b/SQF/dayz_code/compile/object_infectedcamps.sqf deleted file mode 100644 index 15b90c4e..00000000 --- a/SQF/dayz_code/compile/object_infectedcamps.sqf +++ /dev/null @@ -1,43 +0,0 @@ -/* - Created exclusively for ArmA2:OA - DayZMod. - Please request permission to use/alter from R4Z0R49. -*/ - -//"Infected Camps: [[[7020.76,4072.34,0],40],[[10066.8,12114.3,0],20],[[10033.4,12525,0],20],[[9125.71,7742.72,0],40],[[6057.93,2655.66,0],40]]" -//Server_InfectedCamps, [[[_basePos],_amount,_radius]] - -//diag_log(str(__FILE__)); - -private ["_markerstr","_counter","_camp","_campName","_campPos","_campAmount","_campRadius","_trigger","_trgcode","_array"]; -_array = _this; -_counter = 0; - -{ - _counter = _counter + 1; - _camp = _x; - _campName = format["BaseCamp_%1",_counter]; -//diag_log ("Camp: " +str(_x)); - _campPos = _camp select 0; -//diag_log ("CampPos: " +str(_campPos)); - _campAmount = _camp select 1; -//diag_log ("CampAmont: " +str(_campAmount)); - _campRadius = _camp select 2; -//diag_log ("CampRadius: " +str(_campRadius)); -/* - _trigger = createTrigger["EmptyDetector",_campPos]; - _trigger setTriggerArea[_campRadius,_campRadius+100,false]; - _trigger setTriggerActivation["ANY","PRESENT",false]; - _trgcode = format["[%1,%2] call camp_spawnZombies;",_campPos,_campAmount]; - _trigger setTriggerStatements["player in thislist", _trgcode, ""]; - //_trigger setTriggerTimeout [0, 5, 3, false]; -*/ - - if ("ItemMap_Debug" in items player) then { - _markerstr = createMarker [_campName,_campPos]; - _markerstr setMarkerColor "ColorRed"; - _markerstr setMarkerShape "ELLIPSE"; - _markerstr setMarkerBrush "Border"; - _markerstr setMarkerSizeLocal [_campRadius, _campRadius]; - }; - -} foreach _array; \ No newline at end of file diff --git a/SQF/dayz_code/compile/object_monitorGear.sqf b/SQF/dayz_code/compile/object_monitorGear.sqf index 24c798f7..53d98e31 100644 --- a/SQF/dayz_code/compile/object_monitorGear.sqf +++ b/SQF/dayz_code/compile/object_monitorGear.sqf @@ -1,31 +1,22 @@ -private ["_valueIDCs","_object","_display","_weaponsMax","_magazinesMax","_backpacksMax","_weapons","_magazines","_backpacks","_freeSlots"]; +private ["_valueIDCs","_object","_display","_weaponsMax","_magazinesMax","_backpacksMax","_weapons","_magazines","_backpacks","_freeSlots","_type"]; disableSerialization; _countWeapons = { - _weapons = []; _return = 0; - - _weapons = (getWeaponCargo _object) select 1; - { _return = _return + _x } count _weapons; + { _return = _return + _x } count ((getWeaponCargo _object) select 1); _return }; _countMagazines = { - _magazines = []; _return = 0; - - _magazines = (getMagazineCargo _object) select 1; - { _return = _return + _x } count _magazines; + { _return = _return + _x } count ((getMagazineCargo _object) select 1); _return }; _countBackpacks = { - _backpacks = []; _return = 0; - - _backpacks = (getBackpackCargo _object) select 1; - { _return = _return + _x } count _backpacks; + { _return = _return + _x } count ((getBackpackCargo _object) select 1); _return }; @@ -35,8 +26,7 @@ _countFreeSlots = { }; _getControlText = { - _control = _display displayCtrl 156; - _return = ctrlText _control; + _return = ctrlText (_display displayCtrl 156); _return }; @@ -54,12 +44,13 @@ _valueIDCs = [9002,9004,9006]; if (vehicle player != player) then { _object = vehicle player; } else { - _object = cursorTarget; + _object = _this; }; -_isVehicle = _object isKindOf "AllVehicles"; -_isMan = _object isKindOf "Man"; -_isStorage = _object isKindOf "Land_A_tent"; +_type = typeOf _object; +_isVehicle = _type isKindOf "AllVehicles"; +_isMan = _type isKindOf "Man"; +_isStorage = _type isKindOf "Land_A_tent"; _timeout = time + 2; waitUntil { !(isNull (findDisplay 106)) or (_timeout < time) }; @@ -70,21 +61,21 @@ if (!(isNull (findDisplay 106))) then { _display = findDisplay 106; if ((_isVehicle or _isStorage) && !_isMan) then { - _objectName = getText (configFile >> "CfgVehicles" >> (typeof _object) >> "displayName"); - _controlText = [] call _getControlText; + _objectName = getText (configFile >> "CfgVehicles" >> _type >> "displayName"); + _controlText = call _getControlText; if (_objectName == _controlText) then { - _weaponsMax = getNumber (configFile >> "CfgVehicles" >> (typeof _object) >> "transportMaxWeapons"); - _magazinesMax = getNumber (configFile >> "CfgVehicles" >> (typeof _object) >> "transportMaxMagazines"); - _backpacksMax = getNumber (configFile >> "CfgVehicles" >> (typeof _object) >> "transportMaxBackpacks"); + _weaponsMax = getNumber (configFile >> "CfgVehicles" >> _type >> "transportMaxWeapons"); + _magazinesMax = getNumber (configFile >> "CfgVehicles" >> _type >> "transportMaxMagazines"); + _backpacksMax = getNumber (configFile >> "CfgVehicles" >> _type >> "transportMaxBackpacks"); while {!(isNull (findDisplay 106))} do { - _weapons = [] call _countWeapons; - _magazines = [] call _countMagazines; - _backpacks = [] call _countBackpacks; - _freeSlots = [] call _countFreeSlots; + _weapons = call _countWeapons; + _magazines = call _countMagazines; + _backpacks = call _countBackpacks; + _freeSlots = call _countFreeSlots; - [] call _setControlText; + call _setControlText; uiSleep 0.01; }; } else { diff --git a/SQF/dayz_code/compile/player_countMagazines.sqf b/SQF/dayz_code/compile/player_countMagazines.sqf index 3b03e226..9c29a1a6 100644 --- a/SQF/dayz_code/compile/player_countMagazines.sqf +++ b/SQF/dayz_code/compile/player_countMagazines.sqf @@ -1,18 +1,18 @@ /* -count player magazines with ammo count -value = call player_countMagazines; -return all player magazines with ammo count + count player magazines with ammo count + value = call player_countMagazines; + return all player magazines with ammo count */ + private ["_dialog","_created","_magazineArray"]; disableSerialization; -disableUserInput true; _dialog = findDisplay 106; _created = false; if ( isNull _dialog ) then { - //startLoadingScreen [""]; - createGearDialog [player, "RscDisplayGear"]; + //Load Minimal gearMenu + createGearDialog [player, "RscDisplayGearMinimal"]; _dialog = findDisplay 106; _created = true; }; @@ -49,10 +49,30 @@ for "_i" from 122 to 129 do }; }; +/* +//Very limited fncs + //backpack items + if ((typeOf (unitBackPack player)) != "") then { + _count = getNumber (configFile >> "CfgVehicles" >> (typeOf (unitBackpack Player)) >> "transportMaxMagazines"); + + for "_i" from 5000 to (5000 + _count) do { + _control = _dialog displayCtrl _i; + _item = gearSlotData _control; + _val = gearSlotAmmoCount _control; + _max = getNumber (configFile >> "CfgMagazines" >> _item >> "count"); + if (_item != "") then { + if (_val != _max) then { + (_magazineArray select 1) set [count (_magazineArray select 1),[_item,_val]]; + } else { + (_magazineArray select 1) set [count (_magazineArray select 1),_item]; + }; + }; + }; + }; +*/ + if ( _created ) then { closeDialog 0; - //endLoadingScreen; }; -disableUserInput false; _magazineArray \ No newline at end of file diff --git a/SQF/dayz_code/compile/player_crossbowBolt.sqf b/SQF/dayz_code/compile/player_crossbowBolt.sqf index a9c658b9..46f33e75 100644 --- a/SQF/dayz_code/compile/player_crossbowBolt.sqf +++ b/SQF/dayz_code/compile/player_crossbowBolt.sqf @@ -1,4 +1,4 @@ -private ["_endPos","_vUp","_doLoop","_hitArray","_countr","_hitObject","_hitSelection","_config","_hitMemoryPt","_variation","_val","_dir","_bolt","_obj","_unit","_ammo","_projectile","_height"]; +private ["_endPos","_vUp","_doLoop","_hitArray","_countr","_hitObject","_hitSelection","_config","_hitMemoryPt","_variation","_val","_dir","_bolt","_obj","_unit","_ammo","_projectile","_height","_nearArrows"]; _obj = _this select 0; _unit = _obj select 0; //_weapon = _obj select 1; @@ -17,6 +17,17 @@ while {alive _projectile} do { sleep 0.01; }; +/* + Match near arrow position if one is already close by. + Prevents arrows floating in air when multiple are shot against wall at same position. Projectile was hitting end of previous arrow. + From testing anything less than 2m does not work to prevent this. Radius may need to be increased for some cases if issue still occurs. +*/ +_nearArrows = nearestObjects [_endPos,["WoodenArrowF"],2]; +if (count _nearArrows > 0) then { + _endPos = getPosATL (_nearArrows select 0); + _vUp = vectorUp (_nearArrows select 0); +}; + //_distance = _unit distance _endPos; _height = _endPos select 2; _doLoop = true; @@ -34,7 +45,7 @@ if (_height < 100) then { if (count _hitArray > 0) then {_doLoop = false}; if (_countr > 50) then {_doLoop = false}; _countr = _countr + 1; - sleep 0.1; + uiSleep 0.1; }; if (count _hitArray > 0) then { diff --git a/SQF/dayz_code/compile/player_death.sqf b/SQF/dayz_code/compile/player_death.sqf index 736c98f3..928ddb0a 100644 --- a/SQF/dayz_code/compile/player_death.sqf +++ b/SQF/dayz_code/compile/player_death.sqf @@ -1,85 +1,137 @@ -private ["_pos","_display","_body","_playerID","_array","_source","_method","_isBandit","_punishment","_humanityHit","_myKills","_humanity","_kills","_killsV","_myGroup","_model"]; -disableSerialization; +private ["_ammo","_body","_distance","_infected","_killed","_playerID","_sourceName","_sourceWeapon","_sourceVehicleType","_isBandit","_punishment","_humanityHit","_myKills","_kills","_killsV","_display","_myGroup","_camera","_deathPos","_animState","_animStateArray","_animCheck","_source","_method","_realSource"]; + if (deathHandled) exitWith {}; deathHandled = true; -_bodyName = if (alive player) then {name player} else {"unknown"}; -//Prevent client freezes -_display = findDisplay 49; -if (!isNull _display) then {_display closeDisplay 0;}; -if (dialog) then {closeDialog 0;}; -if (visibleMap) then {openMap false;}; +// Get reference to player object before respawn into new unit (respawnDelay=0 in description.ext) +if (typeName (_this select 0) == "ARRAY") then { + _body = (_this select 0) select 0; + _source = (_this select 0) select 1; + diag_log format["Player_Death called from 'killed' event handler %1",_this]; + _killed = true; +} else { + _body = player; + _source = _this select 0; + diag_log format["Player_Death called from script %1",_this]; + _killed = false; +}; -_body = player; +_deathPos = getPos _body; _playerID = getPlayerUID player; -disableUserInput true; -//add weapon on back to player +//Switch view to camera so player does not see debug plains at respawn_west +_camera = "camera" camCreate _deathPos; +_camera camSetDir 0; +_camera camSetFOV 1; +_camera cameraEffect ["Internal","TOP"]; +_camera camSetTarget _deathPos; +_camera camSetPos [_deathPos select 0, (_deathPos select 1) + 2, 5]; +_camera camCommit 0; + +if (!_killed) then { + //Kill the player if they are not already dead so they respawn into new unit + _body setHit ["body",1]; +}; + if (dayz_onBack != "") then { - //Add weapon on back to body. _body addWeapon dayz_onBack; - /* - //Add weapon on back to the ground. - _pos = _body modeltoWorld [1,1,0]; - //_pos set [2, 0]; - _item = createVehicle ["WeaponHolder", _pos, [], 0.0, "CAN_COLLIDE"]; - _item setPosATL [_pos select 0, _pos select 1, ((_pos select 2) + 0.1)]; - _item addWeaponCargoGlobal [dayz_onBack,1]; - */ }; + +//Get killer information immediately. Weapon, distance or vehicle can change in seconds. +_infected = if (r_player_infected) then {1} else {0}; +_sourceName = "unknown"; +_sourceWeapon = ""; +_distance = 0; + +_method = switch true do { + case (_this select 1 != "find"): {_this select 1}; //Manually passed method + case (dayz_lastDamageSource != "none" && diag_tickTime - dayz_lastDamageTime < 30): {dayz_lastDamageSource}; //Major event takes priority for cause of death (zombie, melee, shot, fell, etc.) + case (dayz_lastMedicalSource != "none" && diag_tickTime - dayz_lastMedicalTime < 10): {dayz_lastMedicalSource}; //Starve, Dehyd, Sick + default {"bled"}; //No other damage sources in last 30 seconds +}; +_ammo = if (count _this > 2) then {_this select 2} else {""}; + +if (!isNull _source) then { + if (!isNull _body) then { + _distance = round (_body distance _source); + }; + + _sourceVehicleType = typeOf (vehicle _source); + _sourceWeapon = currentWeapon _source; + _sourceWeapon = switch true do { + case (_ammo in ["PipeBomb","Mine","MineE"]): {_ammo}; + case ({_sourceVehicleType isKindOf _x} count ["LandVehicle","Air","Ship"] > 0): {_sourceVehicleType}; + case (_sourceWeapon == "Throw"): {(weaponState _source) select 3}; + default {_sourceWeapon}; + }; + + if (alive _source) then { + _sourceName = if (isPlayer _source) then {name _source} else {"AI"}; + } else { + if (_source == _body) then {_sourceName = dayz_playerName;}; + }; +}; + //Send Death Notice -PVDZ_plr_Death = [dayz_characterID,0,_body,_playerID,toArray _bodyName]; //Send name as array to avoid publicVariable value restrictions +diag_log format["Player_Death: Body:%1 BodyName:%2 Infected:%3 SourceName:%4 SourceWeapon:%5 Distance:%6 Method:%7",_body,dayz_playerName,_infected,_sourceName,_sourceWeapon,_distance,_method]; +PVDZ_plr_Death = [dayz_characterID,0,_body,_playerID,toArray dayz_playerName,_infected,toArray _sourceName,toArray _sourceWeapon,_distance,_method]; //Send name as array to avoid publicVariable value restrictions publicVariableServer "PVDZ_plr_Death"; -_id = [player,20,true,getPosATL player] call player_alertZombies; -uiSleep 0.5; -player setDamage 1; +_body setVariable ["deathType", if (_method == "suicide") then {"shot"} else {_method}, true]; + +if (!local _source && isPlayer _source) then { + //Values like humanity which were setVariabled onto player before death remain on corpse. + //_isBandit = (_body getVariable["humanity",0]) <= -2000; + _isBandit = (typeOf _body in ["Bandit1_DZ","BanditW1_DZ"]); + + //if you are a bandit or start first - player will not recieve humanity drop + _punishment = (_isBandit or {_body getVariable ["OpenTarget",false]} or {typeOf _body in ["Sniper1_DZ","Soldier1_DZ","Camo1_DZ"]}); + _humanityHit = 0; + _realSource = effectiveCommander vehicle _source; + + if (!_punishment) then { + //I'm "not guilty" - kill me and be punished + _myKills = (_body getVariable ["humanKills",0]) * 33.3; + // how many non bandit players have I (the dead player) killed? + // punish my killer 2000 for shooting a surivor + // but subtract 500 for each survivor I've murdered + _humanityHit = -(2000 - _myKills); + _kills = _realSource getVariable ["humanKills",0]; + _realSource setVariable ["humanKills",(_kills + 1),true]; + PVDZ_send = [_realSource,"Humanity",[_humanityHit,300]]; + publicVariableServer "PVDZ_send"; + } else { + //i'm "guilty" - kill me as bandit + _killsV = _realSource getVariable ["banditKills",0]; + _realSource setVariable ["banditKills",(_killsV + 1),true]; + }; + + //Setup for study bodys. + _body setVariable ["KillingBlow",[_realSource,_punishment],true]; +}; + +disableSerialization; + +//Prevent client freezes +_display = findDisplay 49; +if (!isNull _display) then {_display closeDisplay 0;}; +if (dialog) then {closeDialog 0;}; +if (visibleMap) then {openMap false;}; + +disableUserInput true; + +[_body,20,true,_deathPos] call player_alertZombies; if (dayz_soundMuted) then {call player_toggleSoundMute;}; // hide icon before fadeSound 0.1 fadeSound 0; -player setVariable ["NORRN_unconscious", false, true]; -player setVariable ["unconsciousTime", 0, true]; -player setVariable ["USEC_isCardiac",false,true]; -player setVariable ["medForceUpdate",true,true]; -player setVariable ["bloodTaken", false, true]; -player setVariable ["startcombattimer", 0]; //remove combat timer on death +_body setVariable ["NORRN_unconscious", false, true]; +_body setVariable ["unconsciousTime", 0, true]; +_body setVariable ["USEC_isCardiac",false,true]; +_body setVariable ["medForceUpdate",true,true]; +_body setVariable ["bloodTaken", false, true]; +_body setVariable ["startcombattimer", 0]; //remove combat timer on death r_player_unconscious = false; r_player_cardiac = false; -_model = typeOf player; - -_array = _this; -if (count _array > 0) then { - _source = _array select 0; - _method = _array select 1; - if ((!isNull _source) && (_source != player)) then { - //_isBandit = (player getVariable["humanity",0]) <= -2000; - _isBandit = (_model in ["Bandit1_DZ","BanditW1_DZ"]); - - //if you are a bandit or start first - player will not recieve humanity drop - _punishment = _isBandit or {player getVariable ["OpenTarget",false]} or {_model in ["Sniper1_DZ","Soldier1_DZ","Camo1_DZ","Skin_Soldier1_DZ"]}; - _humanityHit = 0; - - if (!_punishment) then { - //I'm "not guilty" - kill me and be punished - _myKills = ((player getVariable ["humanKills",0]) / 3) * 1500; - // how many non bandit players have I (the dead player) killed? - // punish my killer 2000 for shooting a surivor - // but subtract 500 for each survivor I've murdered - _humanityHit = -(2000 - _myKills); - _kills = _source getVariable ["humanKills",0]; - _source setVariable ["humanKills",(_kills + 1),true]; - PVDZ_send = [_source,"Humanity",[_humanityHit,300]]; - publicVariableServer "PVDZ_send"; - } else { - //i'm "guilty" - kill me as bandit - _killsV = _source getVariable ["banditKills",0]; - _source setVariable ["banditKills",(_killsV + 1),true]; - }; - //Setup for study bodys. - _body setVariable ["KillingBlow",_source,true]; - }; - _body setVariable ["deathType",_method,true]; -}; terminate dayz_musicH; terminate dayz_slowCheck; @@ -92,7 +144,6 @@ r_player_dead = true; //Player is dead! 3 fadeSound 0; -uiSleep 1; dayz_originalPlayer enableSimulation true; addSwitchableUnit dayz_originalPlayer; @@ -107,20 +158,41 @@ deleteGroup _myGroup; 4 cutRsc ["default", "PLAIN",3]; _body setVariable["combattimeout", 0, true]; -//due to a cleanup issue with effects this has been disabled remember to look at the cleanup before adding it back. -//dayzFlies = player; -//publicVariable "dayzFlies"; -uiSleep 2; -1 cutRsc ["DeathScreen_DZ","BLACK OUT",3]; -playMusic "dayz_track_death_1"; -uiSleep 2; - -for "_x" from 5 to 1 step -1 do { - titleText [format[localize "str_return_lobby", _x], "PLAIN DOWN", 1]; - uiSleep 1; + +_animState = toLower (animationState _body); +_animStateArray = toArray _animState; +_animCheck = toString ([(_animStateArray select 0),(_animStateArray select 1),(_animStateArray select 2),(_animStateArray select 3)]); +if ((_body == (vehicle _body)) && {_animState != "deadstate" && {_animCheck != "adth"}}) then { //fix running corpses - death anims begin with Adth + [nil, _body, rSWITCHMOVE, ""] call RE; + _body SWITCHMOVE ""; + PVDZ_plr_SwitchMove = [_body,""]; + publicVariableServer "PVDZ_plr_SwitchMove"; }; -PVDZ_Server_Simulation = [_body, false]; -publicVariableServer "PVDZ_Server_Simulation"; +[_body,_camera,_deathPos] spawn { + _body = _this select 0; + _camera = _this select 1; + _deathPos = _this select 2; + + waitUntil {camCommitted _camera}; + _camera camSetPos [_deathPos select 0, (_deathPos select 1) + 2, 15]; + _camera camCommit 4; + uiSleep 5; + + 1 cutRsc ["DeathScreen_DZ","BLACK OUT",3]; + playMusic "dayz_track_death_1"; + uiSleep 2; + + for "_x" from 5 to 1 step -1 do { + titleText [format[localize "str_return_lobby", _x], "PLAIN DOWN", 1]; + uiSleep 1; + }; + + PVDZ_Server_Simulation = [_body, false]; + publicVariableServer "PVDZ_Server_Simulation"; + + _camera cameraEffect ["Terminate","BACK"]; + camDestroy _camera; -endMission "END1"; \ No newline at end of file + endMission "END1"; +}; \ No newline at end of file diff --git a/SQF/dayz_code/compile/player_gearSet.sqf b/SQF/dayz_code/compile/player_gearSet.sqf index 8823391f..00b1ae4c 100644 --- a/SQF/dayz_code/compile/player_gearSet.sqf +++ b/SQF/dayz_code/compile/player_gearSet.sqf @@ -20,7 +20,11 @@ if (count _inventory > 0) then { }; if (_item == "BoltSteel") then { _item = "1Rnd_Arrow_Wood" }; // Convert BoltSteel to WoodenArrow - if (_item == "ItemBloodbag") then { _item = "bloodBagONEG" }; // Convert ItemBloodbag into universal blood type/rh bag + if (dayz_classicBloodBagSystem) then { + if (_item in dayz_typedBags) then { _item = "ItemBloodbag" }; + } else { + if (_item == "ItemBloodbag") then { _item = "bloodBagONEG" }; // Convert ItemBloodbag into universal blood type/rh bag + }; //Is item legal? if (isClass(configFile >> "CfgMagazines" >> _item)) then { diff --git a/SQF/dayz_code/compile/player_humanityChange.sqf b/SQF/dayz_code/compile/player_humanityChange.sqf index a51063c0..5f1389fa 100644 --- a/SQF/dayz_code/compile/player_humanityChange.sqf +++ b/SQF/dayz_code/compile/player_humanityChange.sqf @@ -4,6 +4,7 @@ _wait = _this select 1; _humanity = (player getVariable["humanity",0]) + _change; player setVariable["humanity",_humanity,true]; + if (_change < 0) then { //non-bandit player can be "punished" in next "_wait" seconds w/o loosing humanity if ((_humanity > -2000) and (_wait > 0)) then { // player setVariable ["freeTarget",true,true]; @@ -30,6 +31,8 @@ _model = typeOf player; //if model will not be changed by humanity if !(_model in ["Survivor1_DZ","Survivor2_DZ","Survivor3_DZ","SurvivorW2_DZ","SurvivorW3_DZ","Bandit1_DZ","BanditW1_DZ"]) exitWith {}; +//don't switch model when in a vehicle (ejects player) +if (vehicle player != player) exitWith {}; //Not sure if this will work needs testing _isMen = _model == "Survivor1_DZ" || _model == "Survivor2_DZ"; diff --git a/SQF/dayz_code/compile/player_humanityMorph.sqf b/SQF/dayz_code/compile/player_humanityMorph.sqf index 34e604ae..29e5d2d6 100644 --- a/SQF/dayz_code/compile/player_humanityMorph.sqf +++ b/SQF/dayz_code/compile/player_humanityMorph.sqf @@ -1,4 +1,4 @@ -private ["_charID","_newmodel","_old","_updates","_humanity","_medical","_worldspace","_zombieKills","_headShots","_humanKills","_banditKills","_fractures","_wpnType","_ismelee"]; +private ["_charID","_newmodel","_old","_updates","_humanity","_medical","_worldspace","_zombieKills","_headShots","_humanKills","_banditKills","_fractures","_wpnType","_ismelee","_survivalTime"]; //_playerUID = _this select 0; _charID = _this select 1; _model = _this select 2; @@ -22,8 +22,8 @@ _zombieKills = player getVariable ["zombieKills",0]; _headShots = player getVariable ["headShots",0]; _humanKills = player getVariable ["humanKills",0]; _banditKills = player getVariable ["banditKills",0]; -_achievements = player getVariable ["Achievements",[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]; - +//_achievements = player getVariable ["Achievements",[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]; +_survivalTime = player getVariable ["SurvivalTime",0]; _ConfirmedHumanKills = player getVariable ["ConfirmedHumanKills",0]; _ConfirmedBanditKills = player getVariable ["ConfirmedBanditKills",0]; @@ -79,15 +79,16 @@ player setVariable ["humanKills",_humanKills,true]; player setVariable ["banditKills",_banditKills,true]; player setVariable ["characterID",_charID,true]; player setVariable ["worldspace",_worldspace]; -player setVariable ["Achievements",_achievements]; - +//player setVariable ["Achievements",_achievements]; +player setVariable ["SurvivalTime",_survivalTime,false]; player setVariable ["ConfirmedHumanKills",_ConfirmedHumanKills,true]; player setVariable ["ConfirmedBanditKills",_ConfirmedBanditKills,true]; -PVDZ_serverStoreVar = [player,"Achievements",_achievements]; -publicVariableServer "PVDZ_serverStoreVar"; +//PVDZ_serverStoreVar = [player,"Achievements",_achievements]; +//publicVariableServer "PVDZ_serverStoreVar"; -call dayz_resetSelfActions; +call dayz_resetSelfActions; //New unit has no self actions yet. Reset variables so actions can be added back. +dayz_actionInProgress = false; //Allow self actions to run now. eh_player_killed = player addeventhandler ["FiredNear",{_this call player_weaponFiredNear;}]; [player] call fnc_usec_damageHandle; player allowDamage true; @@ -97,4 +98,4 @@ uiSleep 0.1; call dayz_meleeMagazineCheck; uiSleep 0.1; -if !(isNull _old) then {deleteVehicle _old;}; +if !(isNull _old) then {deleteVehicle _old;}; \ No newline at end of file diff --git a/SQF/dayz_code/compile/player_login.sqf b/SQF/dayz_code/compile/player_login.sqf deleted file mode 100644 index 212a718b..00000000 --- a/SQF/dayz_code/compile/player_login.sqf +++ /dev/null @@ -1,5 +0,0 @@ -_unit = _this select 0; -_detail = _this select 1; -if(_unit == getPlayerUID player) then { - player setVariable["publish",_detail]; -}; \ No newline at end of file diff --git a/SQF/dayz_code/compile/player_markMap.sqf b/SQF/dayz_code/compile/player_markMap.sqf new file mode 100644 index 00000000..b9fd5902 --- /dev/null +++ b/SQF/dayz_code/compile/player_markMap.sqf @@ -0,0 +1,10 @@ +private ["_text","_textBox"]; + +disableSerialization; +_textBox = _this displayCtrl 101; +_text = ctrlText _textBox; + +if (alive player) then { + _text = if (_text == "") then {name player} else {format["%1: %2",name player,_text]}; + _textBox ctrlSetText _text; +}; \ No newline at end of file diff --git a/SQF/dayz_code/compile/player_onPause.sqf b/SQF/dayz_code/compile/player_onPause.sqf index cdfd113a..a955b5bb 100644 --- a/SQF/dayz_code/compile/player_onPause.sqf +++ b/SQF/dayz_code/compile/player_onPause.sqf @@ -9,43 +9,58 @@ _btnAbort = _display displayCtrl 104; _btnRespawn ctrlEnable false; _btnAbort ctrlEnable false; _btnAbortText = ctrlText _btnAbort; +_testTime = diag_tickTime; if (r_fracture_legs) then {_btnRespawn ctrlEnable true;}; -dayz_lastCheckSave = time; //force gear save -if (time - dayz_lastCheckSave > 10) then { +if (diag_tickTime - dayz_lastSave > 10) then { call player_forceSave; }; while {(!isNull _display) && !r_player_dead} do { _timeout = 30; _timeout = player getVariable["combattimeout", 0]; - _inCombat = if (_timeout >= diag_tickTime) then {true} else {false}; - _playerCheck = if ({isPlayer _x} count (player nearEntities ["AllVehicles",5]) > 1) then {true} else {false}; - _zedCheck = if (count (player nearEntities ["zZombie_Base",10]) > 0) then {true} else {false}; - + _inCombat = (_timeout >= diag_tickTime); + _playerCheck = ({isPlayer _x} count (player nearEntities ["AllVehicles",5]) > 1); + _zedCheck = (count (player nearEntities ["zZombie_Base",10]) > 0); + _gearDisplay = findDisplay 106; + if (!isNull _gearDisplay) then { + _gearDisplay closeDisplay 0; + }; switch true do { case (_playerCheck) : { _btnAbort ctrlEnable false; - _btnAbort ctrlSetText format["%1 (in 30)", _btnAbortText]; - cutText [localize "str_abort_playerclose", "PLAIN DOWN"]; + _btnAbort ctrlSetText format["%1 (in 10)", _btnAbortText]; + [localize "str_abort_playerclose",1] call dayz_rollingMessages; }; case (_zedCheck) : { _btnAbort ctrlEnable false; _btnAbort ctrlSetText format["%1 (in 10)", _btnAbortText]; - cutText [localize "str_abort_zedsclose", "PLAIN DOWN"]; + [localize "str_abort_zedsclose",1] call dayz_rollingMessages; }; - case (_inCombat && !_zedCheck && !_playerCheck) : { + case (_inCombat) : { _btnAbort ctrlEnable false; _btnAbort ctrlSetText format["%1 (in %2)", _btnAbortText, ceil (_timeout - diag_tickTime)]; + [localize "str_abort_playerincombat",1] call dayz_rollingMessages; + }; + case (((diag_tickTime - _testTime) < 10) && !TimeOutDisplayed) : { + _btnAbort ctrlEnable false; + _btnAbort ctrlSetText format["%1 (in %2)",_btnAbortText, str(ceil (((_testTime + 10) - diag_tickTime)*10)/10)]; }; default { + if (!TimeOutDisplayed && (!isNull _display)) then { + TimeOutDisplayed = true; + }; _btnAbort ctrlEnable true; _btnAbort ctrlSetText _btnAbortText; }; }; - uiSleep 1; + if (isNull _display) then { //this prevents the timeout from being skipped if the menu is quickly re-opened + TimeOutDisplayed = false; + }; + uiSleep 0.1; }; -if (r_player_dead) exitWith {_btnAbort ctrlEnable true;}; +TimeOutDisplayed = false; +if (r_player_dead) then {_btnAbort ctrlEnable true;}; \ No newline at end of file diff --git a/SQF/dayz_code/compile/player_packTent.sqf b/SQF/dayz_code/compile/player_packTent.sqf index 86130132..e0478dae 100644 --- a/SQF/dayz_code/compile/player_packTent.sqf +++ b/SQF/dayz_code/compile/player_packTent.sqf @@ -1,10 +1,20 @@ /* [_obj] call player_packTent; */ +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; + +private ["_alreadyPacking","_backpacks","_bag","_campItems","_countr","_dir","_holder","_magazines","_obj","_objWpnQty","_objWpnTypes","_objectID","_objectUID","_ownerID","_packobj","_playerNear","_pos","_weapons","_finished"]; + _obj = _this; _ownerID = _obj getVariable["CharacterID","0"]; _objectID = _obj getVariable["ObjectID","0"]; _objectUID = _obj getVariable["ObjectUID","0"]; + +// Make sure no other players are nearby +_playerNear = {isPlayer _x} count (([_obj] call FNC_GetPos) nearEntities ["CAManBase",10]) > 1; +if (_playerNear) exitWith {dayz_actionInProgress = false; localize "str_pickup_limit_5" call dayz_rollingMessages;}; + _packobj = getText (configFile >> "CfgVehicles" >> typeOf _obj >> "pack"); player removeAction s_player_packtent; @@ -15,17 +25,19 @@ s_player_packtentinfected = -1; _campItems = ["IC_DomeTent","IC_Tent"]; if (_ownerID == dayz_characterID or typeOf _obj in _campItems) then { - player playActionNow "Medic"; _alreadyPacking = _obj getVariable["packing",0]; if (_alreadyPacking == 1) exitWith {localize "str_player_beingpacked" call dayz_rollingMessages;}; - _obj setVariable["packing",1]; + _obj setVariable["packing",1,true]; _dir = direction _obj; _pos = getPosATL _obj; [player,"tentpack",0,false,20] call dayz_zombieSpeak; [player,20,true,getPosATL player] call player_alertZombies; - uiSleep 3; + + _finished = ["Medic",1] call fn_loopAction; + if (isNull _obj) exitWith {}; + if (!_finished) exitWith {_obj setVariable["packing",0,true];}; //place tent (local) _bag = createVehicle [_packobj, _pos, [], 0, "CAN_COLLIDE"]; @@ -40,8 +52,6 @@ if (_ownerID == dayz_characterID or typeOf _obj in _campItems) then { PVDZ_obj_Destroy = [_objectID,_objectUID]; publicVariableServer "PVDZ_obj_Destroy"; - - if (isServer) then {PVDZ_obj_Destroy call server_deleteObj;}; deleteVehicle _obj; //Add weapons @@ -75,3 +85,4 @@ if (_ownerID == dayz_characterID or typeOf _obj in _campItems) then { } else { localize "str_fail_tent_pack" call dayz_rollingMessages; }; +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/compile/player_spawnCheck.sqf b/SQF/dayz_code/compile/player_spawnCheck.sqf index 11f7439e..f2a86635 100644 --- a/SQF/dayz_code/compile/player_spawnCheck.sqf +++ b/SQF/dayz_code/compile/player_spawnCheck.sqf @@ -1,8 +1,7 @@ -private ["_isWreck","_maxControlledZombies","_looted","_zombied","_doNothing","_spawnZedRadius","_serverTime","_age","_nearbyBuildings","_position","_spawnableObjects","_speed","_radius","_maxlocalspawned","_maxWeaponHolders","_currentWeaponHolders","_maxtoCreate","_inVehicle","_isAir","_isLand","_isSea","_Controlledzeddivided","_totalcrew","_nearby","_type","_config","_canSpawn","_dis","_checkLoot","_islocal","_bPos","_zombiesNum"]; +private ["_isWreck","_maxControlledZombies","_looted","_zombied","_doNothing","_spawnZedRadius","_serverTime","_age","_nearbyBuildings","_position","_speed","_radius","_maxlocalspawned","_maxWeaponHolders","_currentWeaponHolders","_maxtoCreate","_inVehicle","_isAir","_isLand","_isSea","_Controlledzeddivided","_totalcrew","_nearby","_type","_config","_canSpawn","_dis","_checkLoot","_islocal","_bPos","_zombiesNum"]; _age = -1; //_nearbyBuildings = []; _position = getPosATL player; -_spawnableObjects = ["building", "CrashSite", "IC_Fireplace1", "IC_DomeTent", "IC_Tent"]; _speed = speed (vehicle player); _radius = 300; //150*0.707; Pointless Processing (106.5) _spawnZedRadius = 20; @@ -59,8 +58,10 @@ if (_doNothing) exitwith {}; diag_log (format["%1 Local.Agents: %2/%3, NearBy.Agents: %8/%9, Global.Agents: %6/%7, W.holders: %10/%11, (radius:%4m %5fps).","SpawnCheck", _maxlocalspawned, _maxControlledZombies, _radius, round diag_fpsmin,dayz_currentGlobalZombies, dayz_maxGlobalZeds, dayz_CurrentNearByZombies, dayz_maxNearByZombies, _currentWeaponHolders,_maxWeaponHolders]); - -_nearby = nearestObjects [_position, _spawnableObjects,_radius]; + +// nearObjects is faster than nearestObjects when sorting by distance isn't needed +// "Building" includes House and all of its child classes (Crashsite, IC_Fireplace1, IC_Tent, etc.) +_nearby = _position nearObjects ["Building",_radius]; _maxlocalspawned = _maxlocalspawned max floor(_maxControlledZombies*.8); if (_maxlocalspawned > 0) then { _spawnZedRadius = _spawnZedRadius * 3; }; @@ -84,9 +85,11 @@ if (_maxlocalspawned > 0) then { _spawnZedRadius = _spawnZedRadius * 3; }; //Baisc loot check if ((_dis < 125) and (_dis > 30) and !_inVehicle and _checkLoot) then { _serverTime = serverTime; + //Building refresh rate + _lootRefreshTimer = getNumber (configFile >> "CfgLoot" >> "Buildings" >> (typeOf _x) >> "lootRefreshTimer"); _looted = (_x getVariable ["looted",_serverTime]); _age = _serverTime - _looted; - if ((_age == 0) or (_age > 900)) then { + if ((_age == 0) or (_age > _lootRefreshTimer)) then { _x setVariable ["looted",_serverTime,!_islocal]; _x call building_spawnLoot; if (!(_x in dayz_buildingBubbleMonitor)) then { diff --git a/SQF/dayz_code/compile/player_switchModel.sqf b/SQF/dayz_code/compile/player_switchModel.sqf index 542c9828..c3410adb 100644 --- a/SQF/dayz_code/compile/player_switchModel.sqf +++ b/SQF/dayz_code/compile/player_switchModel.sqf @@ -1,5 +1,4 @@ -//private ["_class","_position","_dir","_group","_oldUnit","_newUnit","_currentWpn","_muzzles","_currentAnim","_playerUID","_weapons","_magazines","_primweapon","_secweapon","_newBackpackType","_backpackWpn","_backpackMag","_backpackWpnTypes","_backpackWpnQtys","_countr","_backpackmagTypes","_backpackmagQtys","_display","_createSafePos","_wpnType","_ismelee","_rndx","_rndy"]; -private ["_class","_position","_dir","_currentAnim","_currentCamera","_playerUID","_weapons","_magazines","_primweapon","_secweapon","_newBackpackType","_backpackWpn","_backpackMag","_currentWpn","_muzzles","_display","_oldUnit","_newUnit","_oldBackpack","_backpackWpnTypes","_backpackWpnQtys","_countr","_backpackmagTypes","_backpackmagQtys","_backpackmag","_createSafePos","_rndx","_rndy","_playerObjName","_wpnType","_ismelee"]; +private ["_class","_position","_dir","_currentAnim","_currentCamera","_playerUID","_weapons","_magazines","_primweapon","_secweapon","_newBackpackType","_backpackWpn","_backpackMag","_currentWpn","_muzzles","_display","_oldUnit","_newUnit","_oldBackpack","_backpackWpnTypes","_backpackWpnQtys","_countr","_backpackmagTypes","_backpackmagQtys","_backpackmag","_rndx","_rndy","_playerObjName","_wpnType","_ismelee","_oldGroup"]; _class = _this; disableSerialization; @@ -9,13 +8,13 @@ disableSerialization; _position = player modeltoWorld [0,0,0]; _dir = getDir player; _currentAnim = animationState player; -//_currentCamera = cameraView; +_currentCamera = cameraView; _playerUID = getPlayerUID player; //BackUp Weapons and Mags _weapons = weapons player; _magazines = call player_countMagazines; //magazines player; -if ((_playerUID == dayz_playerUID) && (count _magazines == 0) && (count (magazines player) > 0)) exitWith {cutText [localize "str_actions_switchmodel_fail", "PLAIN DOWN"]}; +if ((_playerUID == dayz_playerUID) && (count _magazines == 0) && (count (magazines player) > 0)) exitWith {localize "str_actions_switchmodel_fail" call dayz_rollingMessages;}; _primweapon = primaryWeapon player; _secweapon = secondaryWeapon player; @@ -56,6 +55,7 @@ _display closeDisplay 0; //BackUp Player Object _oldUnit = player; +_oldGroup = group player; /***********************************/ //DONT USE player AFTER THIS POINT @@ -64,7 +64,7 @@ _oldUnit = player; //Create New Character //[player] joinSilent grpNull; _group = createGroup west; -_newUnit = _group createUnit [_class,getMarkerPos "respawn_west",[],0,"NONE"]; +_newUnit = _group createUnit [_class,respawn_west_original,[],0,"NONE"]; _newUnit setDir _dir; {_newUnit removeMagazine _x;} count magazines _newUnit; removeAllWeapons _newUnit; @@ -128,10 +128,10 @@ if (!isNil "_newBackpackType") then { //Debug Message diag_log "Swichtable Unit Created. Equipment:"; -diag_log str(weapons _newUnit); -diag_log str(magazines _newUnit); -diag_log str(getWeaponCargo unitBackpack _newUnit); -diag_log str(getMagazineCargo unitBackpack _newUnit); +diag_log format["Weapons: %1",weapons _newUnit]; +diag_log format["Magazines: %1",magazines _newUnit]; +diag_log format["Backpack weapons: %1",getWeaponCargo unitBackpack _newUnit]; +diag_log format["Backpack magazines: %1",getMagazineCargo unitBackpack _newUnit]; //Make New Unit Playable (1 of these 3 commands causes crashes with gear dialog open) //_oldUnit setPosATL [_position select 0 + cos(_dir) * 2, _position select 1 + sin(_dir) * 2, _position select 2]; @@ -140,23 +140,24 @@ setPlayable _newUnit; selectPlayer _newUnit; //Switch the units -//_createSafePos = [(getMarkerPos "respawn_west"), 2, 100, 0, 1, 20, 0] call BIS_fnc_findSafePos; -_createSafePos = getMarkerPos "respawn_west"; _rndx = floor(random 100); _rndy = floor(random 100); -_oldUnit setPosATL [(_createSafePos select 0) + _rndx, (_createSafePos select 1) + _rndy, 0]; +_oldUnit setPosATL [(respawn_west_original select 0) + _rndx, (respawn_west_original select 1) + _rndy, 0]; _newUnit setPosATL _position; +if (surfaceIsWater respawn_west_original) then {_newUnit call fn_exitSwim;}; //Clear and delete old Unit removeAllWeapons _oldUnit; {_oldUnit removeMagazine _x;} count magazines _oldUnit; if !(isNull _oldUnit) then {deleteVehicle _oldUnit;}; +if (count (units _oldGroup) == 0) then {deleteGroup _oldGroup;}; -// player switchCamera = _currentCamera; +player switchCamera _currentCamera; if (_currentWpn != "") then {_newUnit selectWeapon _currentWpn;}; [objNull, player, rSwitchMove, _currentAnim] call RE; //dayz_originalPlayer attachTo [_newUnit]; player disableConversation true; +player setVariable ["BIS_noCoreConversations",true]; // _playerUID=getPlayerUID player; // _playerObjName = format["player%1",_playerUID]; @@ -164,4 +165,4 @@ player disableConversation true; // publicVariable _playerObjName; call dayz_meleeMagazineCheck; -{player reveal _x} count (nearestObjects [getPosATL player,["AllVehicles","WeaponHolder","Land_A_tent","BuiltItems"],75]); +{player reveal _x} count (nearestObjects [_position,["AllVehicles","WeaponHolder","Land_A_tent","BuiltItems"],75]); diff --git a/SQF/dayz_code/compile/player_toggleStreamerMode.sqf b/SQF/dayz_code/compile/player_toggleStreamerMode.sqf new file mode 100644 index 00000000..f38f2424 --- /dev/null +++ b/SQF/dayz_code/compile/player_toggleStreamerMode.sqf @@ -0,0 +1,13 @@ +private "_display"; +disableSerialization; +_display = uiNamespace getVariable ["wm_disp",displayNull]; + +if (profileNamespace getVariable ["streamerMode",0] == 1) then { + _display displayCtrl 1 ctrlShow false; + if (!isNil "dayz_rulesHandle") then { + terminate dayz_rulesHandle; + dayz_rulesHandle = nil; + }; +} else { + _display displayCtrl 1 ctrlShow true; +}; \ No newline at end of file diff --git a/SQF/dayz_code/compile/player_weaponFiredNear.sqf b/SQF/dayz_code/compile/player_weaponFiredNear.sqf index a9490c0d..94f9873a 100644 --- a/SQF/dayz_code/compile/player_weaponFiredNear.sqf +++ b/SQF/dayz_code/compile/player_weaponFiredNear.sqf @@ -13,7 +13,7 @@ private ["_handled"]; _arc = 60; _isBallistic = (getNumber (configfile >> "CfgAmmo" >> _ammo >> "whistleOnFire") > 0); _dmgDistance = getNumber (configfile >> "CfgAmmo" >> _ammo >> "whistleDist"); - _isRocket = ((_ammo isKindOf "RocketBase") && (_firer isKindOf "Man")); + _isRocket = ((_ammo isKindOf "RocketBase") && (_firer isKindOf "CAManBase")); _isPlayer = (_unit == player); _inVehicle = (vehicle _unit != _unit); //_evType = ""; diff --git a/SQF/dayz_code/compile/player_zombieCheck.sqf b/SQF/dayz_code/compile/player_zombieCheck.sqf index fd72651d..44c83876 100644 --- a/SQF/dayz_code/compile/player_zombieCheck.sqf +++ b/SQF/dayz_code/compile/player_zombieCheck.sqf @@ -131,9 +131,11 @@ if (_attacked) then { [_refObj, "scream", 6, false] call dayz_zombieSpeak; } else { _lowBlood = (r_player_blood / r_player_bloodTotal) < 0.5; - if (_lowBlood) then { + if (diag_ticktime - dayz_panicCooldown > 9 && _lowBlood) then { + //Prevents overlapping sounds (panic tracks are 4-9s, this script is called every 1s) + //50% chance every 9s dayz_panicCooldown = diag_ticktime; - [_refObj, "panic", 6, false] call dayz_zombieSpeak; + [_refObj, "panic", 1, false] call dayz_zombieSpeak; }; }; }; diff --git a/SQF/dayz_code/compile/ui_gear_sound.sqf b/SQF/dayz_code/compile/ui_gear_sound.sqf index 3f67659f..ed27d316 100644 --- a/SQF/dayz_code/compile/ui_gear_sound.sqf +++ b/SQF/dayz_code/compile/ui_gear_sound.sqf @@ -1,3 +1,5 @@ +if (skipGearSound) exitWith {}; + private["_type"]; _type="open_inventory"; if( (!isNull cursorTarget) && (player distance cursorTarget < 5) && (vehicle player == player) ) then { @@ -5,7 +7,7 @@ if( (!isNull cursorTarget) && (player distance cursorTarget < 5) && (vehicle pla _cTarget=cursorTarget; _type = switch true do { case (_cTarget isKindOf "Bag_Base_EP1"):{"open_backpack"}; //backpacks on ground - case ( (_cTarget isKindOf "Man") && (alive _cTarget) && !(isNull unitBackpack _cTarget) ):{"open_backpack"}; //Person with backpack + case ( (_cTarget isKindOf "CAManBase") && (alive _cTarget) && !(isNull unitBackpack _cTarget) ):{"open_backpack"}; //Person with backpack default {"open_inventory"}; //unknown, play cloth sounds //case (_cTarget isKindOf "Land_A_tent"):{"open_inventory"}; //Tents //case (_cTarget isKindOf "StashSmall"):{"open_stash_sm"}; //dirt pile stash diff --git a/SQF/dayz_code/compile/ui_selectSlot.sqf b/SQF/dayz_code/compile/ui_selectSlot.sqf index ad282956..9134239a 100644 --- a/SQF/dayz_code/compile/ui_selectSlot.sqf +++ b/SQF/dayz_code/compile/ui_selectSlot.sqf @@ -7,6 +7,11 @@ _parent = findDisplay 106; if (carryClick) then {carryClick = false;}; if (_button == 1) then { + if (animationState player in ["ainjppnemstpsnonwnondnon_rolltofront","amovppnemstpsnonwnondnon_healed"]) exitWith { + //Prevent bypassing unconscious wake up animation with bandage or other right click actions + localize "str_player_actionslimit" call dayz_rollingMessages; + }; + private ["_conf","_name","_compile","_height","_item"]; _group = _parent displayCtrl 6902; diff --git a/SQF/dayz_code/compile/ui_updateControls.sqf b/SQF/dayz_code/compile/ui_updateControls.sqf new file mode 100644 index 00000000..ee3e5d76 --- /dev/null +++ b/SQF/dayz_code/compile/ui_updateControls.sqf @@ -0,0 +1,23 @@ +private ["_holdBreath","_turboKey"]; + +//Sleep required for actionKeys to update after controls dialog closes +uiSleep 1; + +//Refresh keyboard_keys after controls change +if (_this) then { + keyboard_keys = nil; + [controlNull,1,false,false,false] call DZ_KeyDown_EH; +}; + +//ActionKeys includes mouse button and joystick binds +_holdBreath = if (count (actionKeys "HoldBreath") > 1) then { [true,localize "STR_UI_HOLD_BREATH"] } else { [false,""] }; + +//Prevent easily outrunning zeds and bypassing Arma sprint fatigue (slow to normal running speed after a time) by holding turbo and spamming W +_turboKey = if (count (actionKeys "Turbo") > 0) then { [true,localize "STR_UI_HOLD_TURBO"] } else { [false,""] }; + +if ((_holdBreath select 0) or (_turboKey select 0)) then { + 16 cutRsc ["DZ_BlackScreen","PLAIN"]; + (uiNamespace getVariable "DZ_BlackScreen") displayCtrl 1 ctrlSetText format ["%1\n%2", (_holdBreath select 1), (_turboKey select 1)]; +} else { + 16 cutText ["","PLAIN"]; +}; \ No newline at end of file diff --git a/SQF/dayz_code/compile/veh_handleDam.sqf b/SQF/dayz_code/compile/veh_handleDam.sqf index 8813406c..9d4231b3 100644 --- a/SQF/dayz_code/compile/veh_handleDam.sqf +++ b/SQF/dayz_code/compile/veh_handleDam.sqf @@ -14,7 +14,7 @@ or by zombie_attack - return : updated damage for that part broadcast: boolean. if true, then the request will be sent to all players if the vehicle is not local. ************************************************************/ -private["_unit","_selection","_strH","_total","_damage","_needUpdate"]; +private["_unit","_selection","_strH","_total","_damage","_needUpdate","_motor","_propeller","_smallpropeller","_totalDmg"]; _unit = _this select 0; _selection = _this select 1; @@ -22,8 +22,10 @@ _total = _this select 2; if (_selection != "") then { _strH = "hit_" + _selection; + _totalDmg = false; } else { _strH = "totalDmg"; + _totalDmg = true; }; if (_total >= 0.98) then { @@ -32,17 +34,29 @@ if (_total >= 0.98) then { if (local _unit) then { if (_total > 0) then { - - _unit setVariable [_strH, _total, true]; + if (!_totalDmg) then { + _unit setVariable [_strH, _total, true]; + }; _unit setHit [_selection, _total]; + PVDZ_veh_Save = [_unit,"damage",false,_totalDmg]; if (!isServer) then { - PVDZ_veh_Save = [_unit,"damage"]; publicVariableServer "PVDZ_veh_Save"; } else { - [_unit, "damage"] call server_updateObject; + PVDZ_veh_Save call server_updateObject; + }; + }; + + /* + //Not Tested Not used + //Make sure Helicopters blow up from motor damage, propeller, rear propeller + if (_unit isKindOf "Helicopter") then { + if ((_unit getVariable "hit_motor" >= 1) AND (_unit getVariable "hit_velka vrtule" >= 1) AND (_unit getVariable "hit_mala vrtule" >= 1)) then { + _unit setDamage 1; }; }; + */ + } else { //if ( (count _this > 5) AND {(_this select 5)}) then { // vehicle is not local to this client, ask the client which vehicle is local to set damage diff --git a/SQF/dayz_code/compile/vehicle_getOut.sqf b/SQF/dayz_code/compile/vehicle_getOut.sqf index bd37dd43..a4495619 100644 --- a/SQF/dayz_code/compile/vehicle_getOut.sqf +++ b/SQF/dayz_code/compile/vehicle_getOut.sqf @@ -1,16 +1,34 @@ //[vehicle, position, unit] //Quick fix for now. -private ["_vehicle","_position","_unit","_buildables"]; +private ["_vehicle","_position","_unit","_nearBuildables","_fencesArray,","_exitPosition","_intersectsWith","_playerPos"]; _vehicle = _this select 0; _position = _this select 1; _unit = _this select 2; +//Get players current location (add 1m to z) +_playerPos = ATLToASL (_unit modelToWorld [0,0,1]); + +_fencesArray = ["WoodenFence_1","WoodenFence_2","WoodenFence_3","WoodenFence_4","WoodenFence_5","WoodenFence_6","WoodenFence_7","WoodenGate_1","WoodenGate_2","WoodenGate_3","WoodenGate_4"]; + +//Returns the vehicle model aimpoint. +_exitPosition = aimPos _vehicle; + if (_unit == player) then { //if (dayz_soundMuted) then {call player_toggleSoundMute;}; // Auto disable mute on vehicle exit (not a good idea without a sleep since rotor can be very loud when spinning down) - _buildables = count ((getposATL _vehicle) nearObjects ["DZ_buildables", 3]); - if (_buildables > 0) then { - + //_buildables = count (_exitPosition nearObjects ["DZ_buildables", 3]); + //Check player location to exit location + _intersectsWith = lineIntersectsWith [_playerPos, _exitPosition, _unit, _vehicle, true]; + + //_buildables = count ((getposATL _vehicle) nearObjects ["DZ_buildables", 3]); + _nearBuildables = false; + //Scan all intersected items for base items return with true false + { + if ((typeof _x) in _fencesArray) exitwith { _nearBuildables = true }; + } count _intersectsWith; + + //if intersects find builditem make player reenter vehicel + if (_nearBuildables) then { switch _position do { case ("driver"): { _unit action ["getInDriver", _vehicle]; }; case ("cargo"): { _unit action ["getInCargo", _vehicle]; }; @@ -31,9 +49,9 @@ if (_unit == player) then { //Lets make sure we can process some dmg from ejecting from the vehicle even traveling at lower speeds. if (((speed _vehicle) > 15) or ((speed _vehicle) < -10)) then { - dayz_getout = _vehicle; dayz_getoutTime = diag_tickTime; }; }; -diag_log format["%1(%4) - %2 - %3",_vehicle,_position,_unit,(speed _vehicle)]; \ No newline at end of file +//Debug Info +diag_log format["%1(%4) - %2 - %3, (playerPos: %5, ExitPos: %6, IntersectsWith: %7)",_vehicle,_position,_unit,(speed _vehicle),_playerPos,_exitPosition,_intersectsWith]; \ No newline at end of file diff --git a/SQF/dayz_code/compile/zombie_generate.sqf b/SQF/dayz_code/compile/zombie_generate.sqf index 216f4640..ae543a96 100644 --- a/SQF/dayz_code/compile/zombie_generate.sqf +++ b/SQF/dayz_code/compile/zombie_generate.sqf @@ -62,10 +62,6 @@ _cantSee = { _skipFOV = false; if ((_maxlocalspawned < _maxControlledZombies) && (dayz_CurrentNearByZombies < dayz_maxNearByZombies) && (dayz_currentGlobalZombies < dayz_maxGlobalZeds)) then { - //if (_wildSpawns) then { - // _skipFOV = true; - // _position = [_position,150,200] call dayz_RandomLocation; - //}; if (_bypass) then { _skipFOV = true; _position = [_position,3,20,1] call fn_selectRandomLocation; @@ -122,17 +118,6 @@ if ((_maxlocalspawned < _maxControlledZombies) && (dayz_CurrentNearByZombies < d _agent setVariable ["stance", _favStance]; _agent setVariable ["BaseLocation", _position]; _agent setVariable ["doLoiter", _doLoiter]; // true: Z will be wandering, false: stay still - //_agent setVariable ["myDest", _position]; - //_agent setVariable ["newDest", _position]; - //[_agent, _position] call zombie_loiter; }; - - //Disable simulation - //PVDZ_Server_Simulation = [_agent, false]; - //publicVariableServer "PVDZ_Server_Simulation"; - - //Start behavior - _id = [_position,_agent] execFSM "\z\AddOns\dayz_code\system\zombie_agent.fsm"; }; - }; diff --git a/SQF/dayz_code/compile/zombie_initialize.sqf b/SQF/dayz_code/compile/zombie_initialize.sqf deleted file mode 100644 index 23f7c2d4..00000000 --- a/SQF/dayz_code/compile/zombie_initialize.sqf +++ /dev/null @@ -1,3 +0,0 @@ -_unit = _this select 0; -_id = _unit addeventhandler ["HandleDamage",{_this call local_zombieDamage}]; -_id = _unit addeventhandler ["Killed",{[_this,"zombieKills"] call local_eventKill}]; \ No newline at end of file diff --git a/SQF/dayz_code/compile/zombie_loiter.sqf b/SQF/dayz_code/compile/zombie_loiter.sqf index 73e8f1ab..e9d0791d 100644 --- a/SQF/dayz_code/compile/zombie_loiter.sqf +++ b/SQF/dayz_code/compile/zombie_loiter.sqf @@ -6,20 +6,7 @@ _pos = getPosATL _unit; if (count _this > 2) then { _pos = _this select 2; } else { - //_unit enableAI "MOVE"; - //_unit enableAI "ANIM"; - //_pos = [_originalPos,10,90,4,0,5,0] call BIS_fnc_findSafePos; _pos = [_originalPos,10,(10 - (random (90 * 2))),0] call fn_selectRandomLocation; }; -/* -if(isNull group _unit) then { - _unit moveTo _pos; -} else { - _unit domove _pos; -}; -_unit forceSpeed 2; -_unit setVariable ["myDest",_pos]; -*/ - _pos diff --git a/SQF/dayz_code/config.cpp b/SQF/dayz_code/config.cpp index 86206c64..f734b2e5 100644 --- a/SQF/dayz_code/config.cpp +++ b/SQF/dayz_code/config.cpp @@ -76,6 +76,10 @@ class CfgAddons }; }; +class DefaultEventhandlers { + init = "if (isNil 'BIS_Effects_Init_DZ') then {[] call compile preProcessFileLineNumbers '\z\addons\dayz_code\system\BIS_Effects\init.sqf';};"; +}; + #include "Configs\rscTitles.hpp" #include "Configs\CfgWorlds.hpp" #include "Configs\CfgMoves.hpp" @@ -94,4 +98,19 @@ class CfgAddons #include "Configs\CfgGlasses.hpp" #include "Configs\CfgArma.hpp" #include "Configs\CfgRecoils.hpp" -#include "gui\padlock\padlock_ui.hpp" \ No newline at end of file +#include "gui\padlock\padlock_ui.hpp" + +class CfgTasks +{ + //agentTasks[] = {"ZedMainTask"}; + class ZedMainTask + { + name = "Zed Main Task"; + //fsm = "\ca\animals2\Data\scripts\main.fsm"; + fsm = "\z\AddOns\dayz_code\system\main.fsm"; + condition = "\ca\animals2\Data\scripts\createSingleTask.sqf"; + description = "Zed master task"; + destination = ""; + resources[] = {}; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/credits.txt b/SQF/dayz_code/credits.txt index ae49f8ca..0880abe9 100644 --- a/SQF/dayz_code/credits.txt +++ b/SQF/dayz_code/credits.txt @@ -74,7 +74,7 @@ feature. * Shauneh * [Nick Chow] (https://github.com/Purplish) * bittedanke (https://github.com/bittedanke) - fixing a problem with chances. - * ebaydayz (https://github.com/ebaydayz) + * [ebayShopper](https://github.com/ebayShopper) * xyberviri (https://github.com/xyberviri) - ((action_open_backpack_0.ogg - action_open_backpack_4.ogg), (action_open_inventory_0.ogg - action_open_inventory_4.ogg)) License Info - https://github.com/DayZMod/DayZ/issues/696 ------------------------ diff --git a/SQF/dayz_code/gui/gear/gear_ui_pistol.paa b/SQF/dayz_code/gui/gear/gear_ui_pistol.paa index 08df141f..d156a4b1 100644 Binary files a/SQF/dayz_code/gui/gear/gear_ui_pistol.paa and b/SQF/dayz_code/gui/gear/gear_ui_pistol.paa differ diff --git a/SQF/dayz_code/init/compiles.sqf b/SQF/dayz_code/init/compiles.sqf index 087b33e1..6c7d8d15 100644 --- a/SQF/dayz_code/init/compiles.sqf +++ b/SQF/dayz_code/init/compiles.sqf @@ -13,33 +13,29 @@ if (!isDedicated) then { call compile preprocessFileLineNumbers "\z\addons\dayz_code\util\compile.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\loot\compile.sqf"; - fn_dropItem = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_dropItem.sqf"; //fnc to drop items. _item call fn_dropItem; - BIS_Effects_Burn = compile preprocessFile "\ca\Data\ParticleEffects\SCRIPTS\destruction\burn.sqf"; + fn_dropItem = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_dropItem.sqf"; + fn_dynamicTool = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_dynamicTool.sqf"; + fn_exitSwim = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_exitSwim.sqf"; + fn_loopAction = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_loopAction.sqf"; + fn_nearWaterHole = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_nearWaterHole.sqf"; player_zombieCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_zombieCheck.sqf"; //Run on a players computer, checks if the player is near a zombie player_zombieAttack = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_zombieAttack.sqf"; //Run on a players computer, causes a nearby zombie to attack them player_attackdelay = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_attackfsmdelay.sqf"; fnc_usec_damageActions = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_damageActions.sqf"; //Checks which actions for nearby casualty fnc_inAngleSector = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_inAngleSector.sqf"; //Checks which actions for nearby casualty fnc_usec_selfActions = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_selfActions.sqf"; //Checks which actions for self - fnc_usec_upgradeActions = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_upgradeActions.sqf"; fnc_usec_unconscious = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_unconscious.sqf"; player_temp_calculation = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_temperatur.sqf"; //Temperatur System //TeeChange player_weaponFiredNear = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_weaponFiredNear.sqf"; player_spawnCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_spawnCheck.sqf"; - //player_spawnLootCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_spawnlootCheck.sqf"; - //player_spawnZedCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_spawnzedCheck.sqf"; building_spawnLoot = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\building_spawnLoot.sqf"; //player_taskHint = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_taskHint.sqf"; building_spawnZombies = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\building_spawnZombies.sqf"; - //animal_monitor = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\animal_monitor.sqf"; - //building_monitor = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\building_monitor.sqf"; player_fired = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_fired.sqf"; //Runs when player fires. Alerts nearby Zeds depending on calibre and audial rating player_packTent = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_packTent.sqf"; - //control_zombieAgent = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\control_zombieAgent.sqf"; player_updateGui = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_updateGui.sqf"; player_crossbowBolt = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_crossbowBolt.sqf"; player_music = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_music.sqf"; //Used to generate ambient music - //player_login = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_login.sqf"; //Used to generate ambient music player_death = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_death.sqf"; player_switchModel = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_switchModel.sqf"; player_checkStealth = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_checkStealth.sqf"; @@ -69,11 +65,10 @@ if (!isDedicated) then { //zombie_generateSwarm = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\swarm_generate.sqf"; //actions + userActionConditions = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\userActionConditions.sqf"; player_addToolbelt = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_addToolbelt.sqf"; player_addtoBack = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_addtoBack.sqf"; player_reloadMag = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_reloadMags.sqf"; - player_createstash = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_createstash.sqf"; - player_drinkWater = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_drinkWater.sqf"; player_consume = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_consume.sqf"; player_emptyContainer = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_emptyContainer.sqf"; player_useMeds = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_useMeds.sqf"; @@ -90,7 +85,6 @@ if (!isDedicated) then { object_upgradeFireplace = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\object_upgradeFireplace.sqf"; player_wearClothes = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_wearClothes.sqf"; player_dropWeapon = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_dropWeapon.sqf"; - //player_setTrap = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_setTrap.sqf"; object_pickup = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\object_pickup.sqf"; //player_sleep = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_sleep.sqf"; player_combineMag = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_combineMags.sqf"; @@ -106,14 +100,21 @@ if (!isDedicated) then { //object_remove = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\remove.sqf"; player_fixHatchet = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_fixTools.sqf"; player_sharpen = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_sharpen.sqf"; + player_butcher = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\gather_meat.sqf"; + player_pushPlane = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_pushPlane.sqf"; + player_repairVehicle = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\repair_vehicle.sqf"; + player_salvageVehicle = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\salvage_vehicle.sqf"; //ui player_toggleSoundMute = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_toggleSoundMute.sqf"; + player_toggleStreamerMode = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_toggleStreamerMode.sqf"; player_selectSlot = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\ui_selectSlot.sqf"; player_selectWeapon = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_selectWeapon.sqf"; + player_markMap = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_markMap.sqf"; player_gearSet = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_gearSet.sqf"; ui_changeDisplay = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\ui_changeDisplay.sqf"; ui_gear_sound = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\ui_gear_sound.sqf"; + ui_updateControls = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\ui_updateControls.sqf"; //playerstats horde_epeen_fnc_fill_page = compile preProcessFile "\z\addons\dayz_code\actions\playerstats\fill_page_fnc.sqf"; @@ -125,8 +126,6 @@ if (!isDedicated) then { //System player_spawn_2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\player_spawn_2.sqf"; - infectedcamps = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\object_infectedcamps.sqf"; - //camp_spawnZombies = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\camp_spawnZombies.sqf"; //Server compile, used for loiter behaviour //Crafting fn_updateCraftUI = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_updateCraftUI.sqf"; @@ -199,24 +198,7 @@ if (!isDedicated) then { }; _cantSee }; - /* - dayz_dropItem = { - private ["_nearByPile","_item"]; - - _type = _this select 0; - _dropItem = _this select 1; - _dropAmount = _this select 2; - - _nearByPile = nearestObjects [(getPosATL player), ["WeaponHolder","WeaponHolderBase"],2]; - if (count _nearByPile == 0) then { - _item = createVehicle ["WeaponHolder", (getPosATL player), [], 0.0, "CAN_COLLIDE"]; - } else { - _item = _nearByPile select 0; - }; - _item addMagazineCargoGlobal [_dropItem,_dropAmount]; - _item setvelocity [0,0,1]; - }; - */ + dayz_NutritionSystem = { private ["_type","_baseRegen","_nutrition","_calorieCount","_hungerCount","_thirstCount","_tempCount","_Thirst","_Hunger","_bloodregen","_golbalNutrition"]; //["type",regen,[NutritionTable,thirst(Working Class),hunger(Working Class)]] @@ -404,7 +386,7 @@ if (!isDedicated) then { _matches = 0; { if (configName inheritsFrom (configfile >> "cfgWeapons" >> _x) == "ItemMatchbox") then { // iskindOf does not work here?! - _matches = _matches + getNumber(configfile >> "cfgWeapons" >> _x >> "Ignators" >> "matches"); + _matches = _matches + getNumber(configfile >> "cfgWeapons" >> _x >> "matches"); player removeWeapon _x; }; } count (items player); @@ -420,6 +402,16 @@ if (!isDedicated) then { }; dayz_rollingMessages = { + private "_showText"; + disableSerialization; + _showText = { + private "_textLine"; + 15 cutRsc ["RSC_DZ_Messages","plain"]; + _textLine = (uiNamespace getVariable "DZ_Messages") displayCtrl 3; + _textLine ctrlSetStructuredText (parseText _this); + _textLine ctrlCommit 0; + }; + if (typeName _this == "ARRAY") exitWith {(_this select 0) call _showText}; //Special or multi-line message if ((diag_ticktime - Message_1_time) < 5) then { if ((time - Message_2_time) < 5) then { Message_3 = Message_2; @@ -437,7 +429,9 @@ if (!isDedicated) then { Message_1 = _this; Message_1_time = diag_ticktime; - cutText [format ["%1\n%2\n%3", Message_1, Message_2, Message_3], "PLAIN DOWN"]; + //Cut and title text "PLAIN DOWN" fit a max of 3 lines on screen at once. They are still covered by gear and other dialogs even with \n\n. + //cutText [format ["%1\n%2\n%3", Message_1, Message_2, Message_3], "PLAIN DOWN"]; + (format ["%1

%2

%3", Message_1, Message_2, Message_3]) call _showText; }; dayz_originalPlayer = player; @@ -447,7 +441,8 @@ if (!isDedicated) then { BIS_fnc_selectRandom = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_selectRandom.sqf"; //Checks which actions for nearby casualty BIS_fnc_relativeDirTo = compile("private '_dir';_dir=_this call{" + (preprocessFileLineNumbers "ca\modules\Functions\geometry\fn_relativeDirTo.sqf")+"};if(_dir>180)then{_dir=_dir-360;};if(_dir<-180)then{_dir=_dir+360;};_dir"); fnc_buildWeightedArray = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_buildWeightedArray.sqf"; //Checks which actions for nearby casualty -zombie_initialize = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\zombie_initialize.sqf"; +fnc_getPos = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_getPos.sqf"; +fnc_spawnObjects = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_spawnObjects.sqf"; object_getHit = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\object_getHit.sqf"; //gets the hit value for a HitPoint (i.e. HitLegs) against the selection (i.e. "legs"), returns the value object_setHit = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\object_setHit.sqf"; //process the hit as a NORMAL damage (useful for persistent vehicles) object_processHit = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\object_processHit.sqf"; //process the hit in the REVO damage system (records and sets hit) @@ -485,10 +480,18 @@ fn_niceSpot = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_ fnc_Obj_FenceHandleDam = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fence_handleDam.sqf"; object_roadFlare = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\object_roadFlare.sqf"; DZ_KeyDown_EH = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\keyboard.sqf"; - +fn_shuffleArray = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_shuffleArray.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\traps\init.sqf"; -call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\psrnd.sqf"; // pseudo random for plantSpanwer +if (dayz_townGenerator) then { + call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\psrnd.sqf"; // pseudo random for plantSpanwer +} else { + //Spawn waterHoleProxies manually if townGenerator is disabled + if (!isDedicated && (toLower worldName in ["chernarus","namalsk","napf"])) then { + execVM ("\z\addons\dayz_code\system\mission\" + (toLower worldName) + "\waterHoleProxy.sqf"); + }; +}; + player_sumMedical = { private["_character","_wounds","_legs","_arms","_medical","_status"]; _character = _this; @@ -511,7 +514,7 @@ player_sumMedical = { _character getVariable["USEC_inPain",false], _character getVariable["USEC_isCardiac",false], _character getVariable["USEC_lowBlood",false], - _character getVariable["USEC_BloodQty",12000], + _character getVariable["USEC_BloodQty",r_player_bloodTotal], _wounds, [_legs,_arms], _character getVariable["unconsciousTime",0], @@ -552,36 +555,12 @@ dayz_reduceItems = { true }; - dayz_inflame = { - private ["_object","_hasTool"]; - + private "_object"; _object = _this select 0; - // true = light the fire - if (_this select 1) then { - _hasTool = false; - { - if (_x in items player) exitWith { - _matches = getNumber(configfile >> "cfgWeapons" >> _x >> "Ignators" >> "matches"); - _qtyRemaining = getText(configfile >> "cfgWeapons" >> _x >> "Ignators" >> "qtyRemaining"); - - //diag_log format["%1[%2,%3]",_x,_matches,_qtyRemaining]; - - if (_matches == -1) then { - if ([getNumber(configfile >> "cfgWeapons" >> _x >> "Ignators" >> "chance")] call fn_chance) then { - player removeWeapon _x; - player addWeapon _qtyRemaining; - }; - } else { - // remove a match - player removeWeapon _x; - player addWeapon _qtyRemaining; - }; - _hasTool = true; - }; - } count Dayz_Ignators; - - if (_hasTool) then { _object inflame true; }; + + if (_this select 1) then { // light the fire + if (["matches",0.12] call fn_dynamicTool) then { _object inflame true; }; } else { // put out the fire _object inflame false; }; @@ -600,7 +579,7 @@ dayz_inflame_showMenu = { if (!_islit) then { { if (_x in items player) exitWith { _hasTool = true; }; - } count Dayz_Ignators; + } count DayZ_Ignitors; }; _ret = (_whatIwant && !_islit && _hasTool) or (!_whatIwant && _isLit); @@ -608,7 +587,7 @@ dayz_inflame_showMenu = { }; dayz_inflame_other = { - private ["_fireplace","_ret","_flame","_islit","_hasTool","_isLit","_pos"]; + private ["_fireplace","_ret","_flame","_islit","_isLit","_pos"]; _fireplace = _this select 0; if (_this select 1) then { // true = light the fire @@ -616,34 +595,18 @@ dayz_inflame_other = { _flame = if (count _flame > 0) then { _flame select 0 } else { objNull }; if (isNull _flame) then { //_flame = if (local _fireplace) then { "flamable_DZ" createVehicleLocal getMarkerpos "respawn_west" } else { createVehicle [ "flamable_DZ", getMarkerpos "respawn_west", [], 0, "CAN_COLLIDE"] }; - _flame = createVehicle [ "flamable_DZ", getPosATL _fireplace, [], 0, "CAN_COLLIDE"]; // fireplace can be local (towngenerator, poi...) but flames will be networked - _pos = _fireplace modelToWorld (_fireplace selectionPosition "ohniste"); // ATL - _flame setPosATL _pos; + _flame = createVehicle ["flamable_DZ", [0,0,0], [], 0, "CAN_COLLIDE"]; // fireplace can be local (towngenerator, poi...) but flames will be networked + _pos = getPosASL _fireplace; + if (surfaceIsWater _pos) then { + // modelToWorld changes with wave height + _flame setPosASL [_pos select 0,_pos select 1,(_pos select 2)+0.2]; + } else { + _pos = _fireplace modelToWorld (_fireplace selectionPosition "ohniste"); // ATL + _flame setPosATL _pos; + }; }; - - _hasTool = false; - { - if (_x in items player) exitWith { - _matches = getNumber(configfile >> "cfgWeapons" >> _x >> "Ignators" >> "matches"); - _qtyRemaining = getText(configfile >> "cfgWeapons" >> _x >> "Ignators" >> "qtyRemaining"); - - //diag_log format["%1[%2,%3]",_x,_matches,_qtyRemaining]; - - if (_matches == -1) then { - if ([getNumber(configfile >> "cfgWeapons" >> _x >> "Ignators" >> "chance")] call fn_chance) then { - player removeWeapon _x; - player addWeapon _qtyRemaining; - }; - } else { - // remove a match - player removeWeapon _x; - player addWeapon _qtyRemaining; - }; - _hasTool = true; - }; - } count Dayz_Ignators; - if (_hasTool) then { _flame inflame true; }; - + + if (["matches",0.12] call fn_dynamicTool) then { _flame inflame true; }; } else { // put out the fire _flame = nearestObjects [_fireplace, ["flamable_DZ"], 1]; if (count _flame > 0) then { (_flame select 0) inflame false; }; @@ -664,7 +627,7 @@ dayz_inflame_showMenu_other = { if (!_islit) then { { if (_x in items player) exitWith { _hasTool = true; }; - } count Dayz_Ignators; + } count DayZ_Ignitors; }; _ret = (_whatIwant && !_islit && _hasTool) or (!_whatIwant && _isLit); //systemChat str [_flame, _hasTool, _islit, _ret]; @@ -680,31 +643,6 @@ isInflamed = { !(isNull _flame) && {(inflamed _flame)} }; -//Matchbox combine system. -dayz_combine_Inventory = { - private ["_qty","_fullBox","_remain"]; - //ItemMatchbox,ItemAntibiotic - _qty = 0; - { - if (configName inheritsFrom (configfile >> "cfgWeapons" >> _x) == "ItemMatchbox") then { - _qty = _qty + getNumber(configfile >> "cfgWeapons" >> _x >> "Ignators" >> "matches"); - player removeWeapon _x; - }; - } count (items player); - - // limit to 1 fullbox and 1 used matchbox - _fullBox = floor (_qty / 5); - _remain = _qty % 5; - - if (_fullBox > 0) then { player addWeapon "Item5Matchbox"; }; - - if (_fullBox > 1) then { - player addWeapon "Item4Matchbox"; - } else { - if (_remain > 0) then { player addWeapon ("Item"+str(_remain)+"Matchbox"); }; - }; -}; - dayz_engineSwitch = { //private["_unit","_humanity","_delay"]; _vehicle = _this select 0; @@ -716,4 +654,4 @@ dayz_engineSwitch = { PVDZ_send = [_vehicle,"SetEngineState",[_vehicle,_state]]; publicVariableServer "PVDZ_send"; }; -}; \ No newline at end of file +}; diff --git a/SQF/dayz_code/init/publicEH.sqf b/SQF/dayz_code/init/publicEH.sqf index f684491e..32d3cc73 100644 --- a/SQF/dayz_code/init/publicEH.sqf +++ b/SQF/dayz_code/init/publicEH.sqf @@ -10,7 +10,6 @@ "PVCDZ_veh_SetFuel" addPublicVariableEventHandler {(_this select 1) spawn local_setFuel}; "PVCDZ_veh_engineSwitch" addPublicVariableEventHandler {(_this select 1) spawn dayz_engineSwitch}; "PVCDZ_OpenTarget_Reset" addPublicVariableEventHandler { OpenTarget_Time = diag_tickTime; }; //reset OpenTarget timer -//"dayzInfectedCamps" addPublicVariableEventHandler {(_this select 1) call infectedcamps}; if (toLower worldName == "chernarus") then { //need to add building coordinates for other maps { @@ -74,6 +73,7 @@ if (isServer) then { "PVDZ_plr_SwitchMove" addPublicVariableEventHandler {((_this select 1) select 0) switchMove ((_this select 1) select 1);}; //Needed to execute switchMove on server machine. rSwitchMove only executes on other clients "PVDZ_obj_Publish" addPublicVariableEventHandler {(_this select 1) call server_publishObj}; "PVDZ_veh_Save" addPublicVariableEventHandler {(_this select 1) call server_updateObject}; + "PVDZ_fence_Update" addPublicVariableEventHandler {(_this select 1) call server_addtoFenceUpdateArray}; "PVDZ_plr_Login1" addPublicVariableEventHandler {_id = (_this select 1) call server_playerLogin}; "PVDZ_plr_Login2" addPublicVariableEventHandler {(_this select 1) call server_playerSetup}; "PVDZ_plr_LoginRecord" addPublicVariableEventHandler {_id = (_this select 1) spawn dayz_recordLogin}; @@ -83,17 +83,22 @@ if (isServer) then { //[player,[medical Array]]; "PVDZ_playerMedicalSync" addPublicVariableEventHandler { (_this select 1) call server_medicalSync; ((_this select 1) select 0) setVariable["Medical",((_this select 1) select 1),false]; }; //diag_log format["%1 - %2",((_this select 1) select 0),((_this select 1) select 1)]; }; + //VerifyMission + "PVDZ_fskey" addPublicVariableEventHandler {(_this select 1) call server_sendKey}; + //Added as part of the maintenance system to allow the server to replace the damaged model with a normal model. - "PVDZ_object_replace" addPublicVariableEventHandler { - _cursorTarget = _this select 1; - _vars = ((_this select 1) select 0) getVariable "MaintenanceVars"; + /*"PVDZ_object_replace" addPublicVariableEventHandler { + _object = _this select 1; + _vars = _object getVariable "MaintenanceVars"; + _ownerArray = _object getVariable ["ownerArray",[]]; - if (!isNil "_vars" && _cursorTarget isKindOf "DZ_buildables") then { - deleteVehicle ((_this select 1) select 0); - _object = createVehicle [(_vars select 0), (_vars select 1), [], 0, if (_type in DayZ_nonCollide) then {"NONE"} else {"CAN_COLLIDE"}]; + if (!isNil "_vars" && _object isKindOf "DZ_buildables") then { + deleteVehicle _object; + _object = createVehicle [(_vars select 0), (_vars select 1), [], 0, if ((_vars select 0) in DayZ_nonCollide) then {"NONE"} else {"CAN_COLLIDE"}]; _object setVariable["Maintenance",false,true]; + _object setVariable["ownerArray", _ownerArray, true]; }; - }; + };*/ "PVDZ_sendUnconscious" addPublicVariableEventHandler { _owner = (_this select 1) select 0; @@ -135,21 +140,6 @@ if (isServer) then { }; }; }; - - "PVDZ_objgather_Knockdown" addPublicVariableEventHandler { - _tree = (_this select 1) select 0; - _player = (_this select 1) select 1; - _dis = _player distance _tree; - _name = if (alive _player) then {name _player} else {"DeadPlayer"}; - _uid = getPlayerUID _player; - _treeModel = _tree call fn_getModelName; - - if ((_dis < 30) && (_treeModel in dayz_trees) && (_uid != "")) then { - _tree setDamage 1; - dayz_choppedTrees set [count dayz_choppedTrees,_tree]; - diag_log format["Server setDamage on tree %1 chopped down by %2(%3)",_treeModel,_name,_uid]; - }; - }; "PVDZ_serverStoreVar" addPublicVariableEventHandler { _obj = (_this select 1) select 0; @@ -286,27 +276,25 @@ if (!isDedicated) then { _object = (_this select 1) select 0; _result = (_this select 1) select 1; _codeGuess = (_this select 1) select 2; - if (_result) then { _object setVariable ["dayz_padlockLockStatus", false,true]; _object setVariable ["isOpen", "1", true]; _object setVariable ["dayz_padlockHistory", [], true]; - //titleText [format[localize "STR_BLD_UNLOCKED", typeOf _object],"PLAIN DOWN"]; - format[localize "STR_BLD_UNLOCKED", typeOf _object] call dayz_rollingMessages; + format[localize "STR_BLD_UNLOCKED",typeOf _object] call dayz_rollingMessages; } else { - //titleText [format [localize "STR_BLD_WRONG_COMBO",typeOf _object], "PLAIN DOWN"]; - format [localize "STR_BLD_WRONG_COMBO",typeOf _object] call dayz_rollingMessages; + format[localize "STR_BLD_WRONG_COMBO",typeOf _object] call dayz_rollingMessages; _object setVariable ["dayz_padlockHistory", _codeGuess, true]; }; }; "PVCDZ_Client_processAccessCode" addPublicVariableEventHandler { _codeGuess = (_this select 1) select 0; - //titleText [format[localize "STR_BLD_COMBO_SET", _codeGuess],"PLAIN DOWN"]; - format[localize "STR_BLD_COMBO_SET", _codeGuess] call dayz_rollingMessages; + format[localize "STR_BLD_COMBO_SET",_codeGuess] call dayz_rollingMessages; }; - // flies and swarm sound sync - call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\client_flies.sqf"; + if (dayz_enableFlies) then { + // flies and swarm sound sync + call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\client_flies.sqf"; + }; }; diff --git a/SQF/dayz_code/init/variables.sqf b/SQF/dayz_code/init/variables.sqf index 7928a596..a2983760 100644 --- a/SQF/dayz_code/init/variables.sqf +++ b/SQF/dayz_code/init/variables.sqf @@ -37,18 +37,16 @@ Dayz_attachment_array = ["Attachment_ACG","Attachment_AIM"]; //DayZ_Tents = ["TentStorage","TentStorage0","TentStorage1","TentStorage2","TentStorage3","TentStorage4","DomeTentStorage","DomeTentStorage0","DomeTentStorage1","DomeTentStorage2","DomeTentStorage3","DomeTentStorage4"] //DayZ_Stashs = ["StashSmall","StashSmall1","StashSmall2","StashSmall3","StashSmall4","StashMedium","StashMedium1","StashMedium2","StashMedium3","StashMedium4"] //DayZ_cutter = ["Wire_cat1","Sandbag1_DZ","Fence_DZ","Generator_DZ","Hedgehog_DZ","CamoNet_DZ"] -DayZ_Backpacks = ["DZ_Patrol_Pack_EP1","DZ_Assault_Pack_EP1","DZ_Czech_Vest_Puch","DZ_ALICE_Pack_EP1","DZ_TK_Assault_Pack_EP1","DZ_British_ACU","DZ_CivilBackpack_EP1","DZ_Backpack_EP1"]; +DayZ_Backpacks = ["DZ_Patrol_Pack_EP1","DZ_Assault_Pack_EP1","DZ_Czech_Vest_Pouch","DZ_ALICE_Pack_EP1","DZ_TK_Assault_Pack_EP1","DZ_British_ACU","DZ_CivilBackpack_EP1","DZ_Backpack_EP1"]; Dayz_Gutting = ["ItemKnife","ItemKnife5","ItemKnife4","ItemKnife3","ItemKnife2","ItemKnife1","ItemKnifeBlunt"]; -Dayz_Ignators = ["ItemMatchbox","Item5Matchbox","Item4Matchbox","Item3Matchbox","Item2Matchbox","Item1Matchbox"]; -DayZ_fuelCans = ["ItemJerrycan","ItemFuelcan"]; -DayZ_fuelCansEmpty = ["ItemJerrycanEmpty","ItemFuelcanEmpty"]; -DayZ_traps = ["Trap_Cans","TrapTripwireFlare","TrapBearTrapSmoke","TrapTripwireGrenade","TrapTripwireSmoke","TrapBearTrapFlare"]; +DayZ_Ignitors = ["ItemMatchbox","Item5Matchbox","Item4Matchbox","Item3Matchbox","Item2Matchbox","Item1Matchbox"]; DayZ_ViralZeds = ["z_new_villager2","z_new_villager3","z_new_villager4","z_new_worker2","z_new_worker3","z_new_worker4"]; DayZ_SafeObjects = ["Base_Fire_DZ","WoodenGate_1","WoodenGate_2","WoodenGate_3","WoodenGate_4","Land_Fire_DZ","TentStorage","TentStorage0","TentStorage1","TentStorage2","TentStorage3","TentStorage4","StashSmall","StashSmall1","StashSmall2","StashSmall3","StashSmall4","StashMedium","StashMedium1","StashMedium2","StashMedium3","StashMedium4","Wire_cat1","Sandbag1_DZ","Fence_DZ","Generator_DZ","Hedgehog_DZ","BearTrap_DZ","DomeTentStorage","DomeTentStorage0","DomeTentStorage1","DomeTentStorage2","DomeTentStorage3","DomeTentStorage4","CamoNet_DZ","Trap_Cans","TrapTripwireFlare","TrapBearTrapSmoke","TrapTripwireGrenade","TrapTripwireSmoke","TrapBearTrapFlare"]; DayZ_GearedObjects = ["Car","Helicopter","Motorcycle","Ship","TentStorage_base","StashSmall_base","StashMedium_base"]; DayZ_RestingAnims = ["amovpsitmstpsnonwpstdnon_ground","amovpsitmstpsnonwpstdnon_smoking","amovpsitmstpsraswrfldnon_weaponcheck1","amovpsitmstpsraswrfldnon"]; -dayz_playerAchievements = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]; -dayz_trees = ["ind_timbers.p3d","t_picea2s_snow.p3d","b_corylus.p3d","t_quercus3s.p3d","t_larix3s.p3d","t_pyrus2s.p3d","str_briza_kriva.p3d","dd_borovice.p3d","les_singlestrom_b.p3d","les_singlestrom.p3d","smrk_velky.p3d","smrk_siroky.p3d","smrk_maly.p3d","les_buk.p3d","str krovisko vysoke.p3d","str_fikovnik_ker.p3d","str_fikovnik.p3d","str vrba.p3d","hrusen2.p3d","str dub jiny.p3d","str lipa.p3d","str briza.p3d","p_akat02s.p3d","jablon.p3d","p_buk.p3d","str_topol.p3d","str_topol2.p3d","p_osika.p3d","t_picea3f.p3d","t_picea2s.p3d","t_picea1s.p3d","t_fagus2w.p3d","t_fagus2s.p3d","t_fagus2f.p3d","t_betula1f.p3d","t_betula2f.p3d","t_betula2s.p3d","t_betula2w.p3d","t_alnus2s.p3d","t_acer2s.p3d","t_populus3s.p3d","t_quercus2f.p3d","t_sorbus2s.p3d","t_malus1s.p3d","t_salix2s.p3d","t_picea1s_w.p3d","t_picea2s_w.p3d","t_ficusb2s_ep1.p3d","t_populusb2s_ep1.p3d","t_populusf2s_ep1.p3d","t_amygdalusc2s_ep1.p3d","t_pistacial2s_ep1.p3d","t_pinuse2s_ep1.p3d","t_pinuss3s_ep1.p3d","t_prunuss2s_ep1.p3d","t_pinusn2s.p3d","t_pinusn1s.p3d","t_pinuss2f.p3d","t_poplar2f_dead_pmc.p3d","misc_torzotree_pmc.p3d","misc_burnspruce_pmc.p3d","brg_cocunutpalm8.p3d","brg_umbrella_acacia01b.p3d","brg_jungle_tree_canopy_1.p3d","brg_jungle_tree_canopy_2.p3d","brg_cocunutpalm4.p3d","brg_cocunutpalm3.p3d","palm_01.p3d","palm_02.p3d","palm_03.p3d","palm_04.p3d","palm_09.p3d","palm_10.p3d","brg_cocunutpalm2.p3d","brg_jungle_tree_antiaris.p3d","brg_cocunutpalm1.p3d","str habr.p3d","brg_bird_1.p3d","brg_bird_2.p3d","brg_bird_3.p3d","brg_umbrella_acacia02b.p3d","brg_africandoumpalm_1.p3d","brg_umbrella_acacia04b.p3d","brg_datepalm_4.p3d","brg_datepalm_1.p3d","brg_umbrella_acacia03b.p3d","brg_bottle_4.p3d","brg_aloe1.p3d","brg_umbrella_acacia03.p3d","brg_umbrella_acacia01.p3d","brg_umbrella_acacia04.p3d","brg_aloe2.p3d","brg_umbrella_acacia02.p3d","brg_aloe3.p3d","brg_bottle_1.p3d","brg_datepalm_3.p3d","brg_datepalm_2.p3d","brg_baobab_1.p3d","brg_bottle_2.p3d","brg_bottle_3.p3d"]; +dayz_typedBags = ["bloodTester","bloodBagANEG","bloodBagAPOS","bloodBagBNEG","bloodBagBPOS","bloodBagABNEG","bloodBagABPOS","bloodBagONEG","bloodBagOPOS","wholeBloodBagANEG","wholeBloodBagAPOS","wholeBloodBagBNEG","wholeBloodBagBPOS","wholeBloodBagABNEG","wholeBloodBagABPOS","wholeBloodBagONEG","wholeBloodBagOPOS"]; +dayz_playerAchievements = []; //[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] +dayz_trees = ["ind_timbers.p3d","t_picea2s_snow.p3d","b_corylus.p3d","t_quercus3s.p3d","t_larix3s.p3d","t_pyrus2s.p3d","str_briza_kriva.p3d","dd_borovice.p3d","les_singlestrom_b.p3d","les_singlestrom.p3d","smrk_velky.p3d","smrk_siroky.p3d","smrk_maly.p3d","les_buk.p3d","str krovisko vysoke.p3d","str_fikovnik_ker.p3d","str_fikovnik.p3d","str vrba.p3d","hrusen2.p3d","str dub jiny.p3d","str lipa.p3d","str briza.p3d","p_akat02s.p3d","jablon.p3d","p_buk.p3d","str_topol.p3d","str_topol2.p3d","p_osika.p3d","t_picea3f.p3d","t_picea2s.p3d","t_picea1s.p3d","t_fagus2w.p3d","t_fagus2s.p3d","t_fagus2f.p3d","t_betula1f.p3d","t_betula2f.p3d","t_betula2s.p3d","t_betula2w.p3d","t_alnus2s.p3d","t_acer2s.p3d","t_populus3s.p3d","t_quercus2f.p3d","t_sorbus2s.p3d","t_malus1s.p3d","t_salix2s.p3d","t_picea1s_w.p3d","t_picea2s_w.p3d","t_ficusb2s_ep1.p3d","t_populusb2s_ep1.p3d","t_populusf2s_ep1.p3d","t_amygdalusc2s_ep1.p3d","t_pistacial2s_ep1.p3d","t_pinuse2s_ep1.p3d","t_pinuss3s_ep1.p3d","t_prunuss2s_ep1.p3d","t_pinusn2s.p3d","t_pinusn1s.p3d","t_pinuss2f.p3d","t_poplar2f_dead_pmc.p3d","misc_torzotree_pmc.p3d","misc_burnspruce_pmc.p3d","brg_cocunutpalm8.p3d","brg_umbrella_acacia01b.p3d","brg_jungle_tree_canopy_1.p3d","brg_jungle_tree_canopy_2.p3d","brg_cocunutpalm4.p3d","brg_cocunutpalm3.p3d","palm_01.p3d","palm_02.p3d","palm_03.p3d","palm_04.p3d","palm_09.p3d","palm_10.p3d","brg_cocunutpalm2.p3d","brg_jungle_tree_antiaris.p3d","brg_cocunutpalm1.p3d","str habr.p3d","brg_bird_1.p3d","brg_bird_2.p3d","brg_bird_3.p3d","brg_umbrella_acacia02b.p3d","brg_africandoumpalm_1.p3d","brg_umbrella_acacia04b.p3d","brg_datepalm_4.p3d","brg_datepalm_1.p3d","brg_umbrella_acacia03b.p3d","brg_bottle_4.p3d","brg_aloe1.p3d","brg_umbrella_acacia03.p3d","brg_umbrella_acacia01.p3d","brg_umbrella_acacia04.p3d","brg_aloe2.p3d","brg_umbrella_acacia02.p3d","brg_aloe3.p3d","brg_bottle_1.p3d","brg_datepalm_3.p3d","brg_datepalm_2.p3d","brg_baobab_1.p3d","brg_bottle_2.p3d","brg_bottle_3.p3d","t_fraxinus2s.p3d","t_carpinus2s.p3d"]; Dayz_meatraw = [ @@ -124,6 +122,7 @@ pickupInit = false; mouseOverCarry = false; //for carry slot since determining mouse pos doesn't work right dayZ_partClasses = ["PartFueltank","PartWheel","PartEngine"]; //No need to add PartGeneric, it is default for everything dayZ_explosiveParts = ["palivo","motor"]; +if (isNil "infectedWaterHoles") then {infectedWaterHoles = [];}; //Needed for non-cherno maps //Survival Variables SleepFood = 2160; //minutes (48 hours) @@ -142,44 +141,29 @@ Dayz_GUI_B = 0.26; // -0.26 //actions blockers a_player_cooking = false; a_player_boil = false; -a_player_jerryfilling = false; -a_player_repairing = false; //Player self-action handles dayz_resetSelfActions = { s_player_equip_carry = -1; - s_player_dragbody = -1; s_player_fire = -1; s_player_cook = -1; s_player_boil = -1; - s_player_fireout = -1; - s_player_butcher = -1; s_player_packtent = -1; s_player_packtentinfected = -1; - s_player_fillwater = -1; - s_player_fillwater2 = -1; s_player_fillfuel = -1; s_player_grabflare = -1; s_player_removeflare = -1; - s_player_painkiller = -1; s_player_studybody = -1; - s_build_Sandbag1_DZ = -1; - s_build_Hedgehog_DZ = -1; - s_build_Wire_cat1 = -1; s_player_deleteBuild = -1; s_player_flipveh = -1; - s_player_pushPlane = -1; - s_player_stats = -1; s_player_sleep = -1; s_player_fillfuel20 = -1; s_player_fillfuel5 = -1; s_player_siphonfuel = -1; - s_player_repair_crtl = -1; s_player_fishing = -1; s_player_fishing_veh = -1; s_player_gather = -1; - s_player_debugCheck = -1; - s_player_destorytent = -1; + s_player_destroytent = -1; s_player_attach_bomb = -1; s_player_upgradestorage = -1; s_player_Drinkfromhands = -1; @@ -194,23 +178,13 @@ dayz_resetSelfActions = { }; call dayz_resetSelfActions; -dayz_resetUpgradeActions = { - s_player_disassembly = -1; - s_player_building = -1; - s_player_maintenance = -1; -}; -call dayz_resetUpgradeActions; - //Engineering variables -s_player_lastTarget = objNull; s_player_repairActions = []; //Initialize Medical Variables force_dropBody = false; r_interrupt = false; r_doLoop = false; -r_self = false; -r_self_actions = []; r_drag_sqf = false; r_action = false; r_action_unload = false; @@ -239,14 +213,10 @@ r_player_foodstack = 1; r_player_lowblood = false; r_player_timeout = 0; r_player_bloodTotal = r_player_blood; -r_public_blood = r_player_blood; -r_player_bloodDanger = r_player_bloodTotal * 0.2; r_player_actions = []; r_handlerCount = 0; -r_action_repair = false; r_action_targets = []; r_pitchWhine = false; -r_isBandit = false; dayz_DisplayGenderSelect = true; //blood test vars r_A_watered = false; @@ -263,7 +233,7 @@ r_antiA_done = false; r_antiB_done = false; r_antiD_done = false; carryClick = false; -dayz_workingInprogress = false; +dayz_actionInProgress = false; //player warming up vars //heatpack @@ -279,9 +249,6 @@ r_player_temp_max_factor = 0.04; //(lvl3 up arrow) r_player_Nutrition = 0; // Calories r_player_nutritionMuilpty = 2; -//count actions -r_action_count = 0; - //ammo routine r_player_actions2 = []; r_action2 = false; @@ -331,10 +298,11 @@ dayz_maxMaxModels = 80; // max quantity of Man models (player or Z, dead or aliv dayz_cantseeDist = 150; // distance from which we can spawn a Z in front of any player without ray-tracing and angle checks dayz_cantseefov = 70; // half player field-of-view. Visible Z won't be spawned in front of any near players dayz_canDelete = 350; // Z, further than this distance from its "owner", will be deleted -dayz_traps = []; dayz_traps_active = []; dayz_traps_trigger = []; +Dayz_clientEXT = false; //enables/disables the use of the client EXT + //Settings Not under dayz_settings if(isNil "dayz_attackRange") then { dayz_attackRange = 3; @@ -380,8 +348,8 @@ switch (dayz_presets) do { if(isNil "dayz_OpenTarget_TimerTicks") then { dayz_OpenTarget_TimerTicks = 60 * 10; }; if(isNil "dayz_temperature_override") then { dayz_temperature_override = true; }; if(isNil "dayz_nutritionValuesSystem") then { dayz_nutritionValuesSystem = false; }; - //Not implmented yet if(isNil "dayz_classicBloodBagSystem") then { dayz_classicBloodBagSystem = false; }; + if(isNil "dayz_enableFlies") then { dayz_enableFlies = true; }; }; case "Classic": { //Classic dayz_enableGhosting = false; //Enable disable the ghosting system. @@ -394,8 +362,8 @@ switch (dayz_presets) do { dayz_OpenTarget_TimerTicks = 60 * 10; //how long can a player be freely attacked for after attacking someone unprovoked. dayz_temperature_override = true; // Set to true to disable all temperature changes. dayz_nutritionValuesSystem = false; //Enables nutrition system - //Not implmented yet dayz_classicBloodBagSystem = true; //Enables one type of bloodbag + dayz_enableFlies = true; //Enables flies spawning on death }; case "Elite": { //Elite dayz_enableGhosting = true; //Enable disable the ghosting system. @@ -408,8 +376,8 @@ switch (dayz_presets) do { dayz_OpenTarget_TimerTicks = 60 * 25; //how long can a player be freely attacked for after attacking someone unprovoked. dayz_temperature_override = false; // Set to true to disable all temperature changes. dayz_nutritionValuesSystem = true; //Enables nutrition system - //Not implmented yet dayz_classicBloodBagSystem = false; //Enables one type of bloodbag + dayz_enableFlies = true; //Enables flies spawning on death }; default { //Vanilla dayz_enableGhosting = true; //Enable disable the ghosting system. @@ -422,11 +390,13 @@ switch (dayz_presets) do { dayz_OpenTarget_TimerTicks = 60 * 10; //how long can a player be freely attacked for after attacking someone unprovoked. dayz_temperature_override = false; // Set to true to disable all temperature changes. dayz_nutritionValuesSystem = true; //Enables nutrition system - //Not implmented yet dayz_classicBloodBagSystem = false; //Enables one type of bloodbag + dayz_enableFlies = true; //Enables flies spawning on death }; }; +respawn_west_original = getMarkerPos "respawn_west"; //Prevent problems caused by cheaters moving respawn_west marker with setMarkerPos or deleteMarker + switch (toLower worldName) do { case "napf"; case "sauerland" : {dayz_minpos = -1000; dayz_maxpos = 26000;}; @@ -439,9 +409,10 @@ switch (toLower worldName) do { //call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\achievements_init.sqf"; if (isServer) then { + dayz_traps = []; dead_bodyCleanup = []; needUpdate_objects = []; - Server_InfectedCamps = []; + needUpdate_FenceObjects = []; //dayz_spawnCrashSite_clutterCutter=0; // helicrash spawn... 0: loot hidden in grass, 1: loot lifted, 2: no grass //dayz_spawnInfectedSite_clutterCutter=0; // infected base spawn... 0: loot hidden in grass, 1: loot lifted, 2: no grass //Objects to remove when killed. @@ -452,7 +423,6 @@ if (isServer) then { //[10416.695, 4198.4634],[7982.2563, 1419.8256],[10795.93, 1419.8263],[7966.083, 4088.7463],[9259.7266, 2746.1985],[5200.5234, 3915.3274],[6494.1665, 2572.7798],[5216.6968, 1246.407],[2564.7244, 3915.3296],[3858.3674, 2572.782],[2580.8977, 1246.4092],[13398.995, 4400.5874],[12242.025, 2948.3196],[13551.842, 1832.2257],[14870.512, 3009.5117],[-178.19415, 1062.4478],[1099.2754, 2388.8206],[-194.36755, 3731.3679],[10394.215, 8322.1719],[7959.7759, 5543.5342],[10773.449, 5543.5342], dayz_grid =[[7943.6025, 8212.4551],[9237.2461, 6869.9063],[5178.043, 8039.0361],[6471.686, 6696.4883],[5194.2163, 5370.1152],[2542.2439, 8039.0381],[3835.887, 6696.4902],[2558.4172, 5370.1172],[13376.514, 8524.2969],[12219.544, 7072.0273],[13529.361, 5955.9336],[14848.032, 7133.2197],[-200.67474, 5186.1563],[1076.7949, 6512.5283],[-216.84814, 7855.0771],[10293.751, 12197.736],[7859.312, 9419.0996],[10672.988, 9419.0996],[7843.1387, 12088.021],[9136.7822, 10745.474],[5077.5791, 11914.601],[6371.2222, 10572.052],[5093.7524, 9245.6816],[2441.78, 11914.604],[3735.4231, 10572.055],[2457.9534, 9245.6816],[13276.053, 12399.861],[12119.08, 10947.596],[13428.897, 9831.501],[14747.566, 11008.786],[-301.13867, 9061.7207],[976.33112, 10388.096],[-317.31201, 11730.642],[10271.271, 16321.429],[7836.8315, 13542.813],[10650.506, 13542.813],[7820.6582, 16211.718],[9114.3018, 14869.175],[5055.0986, 16038.3],[6348.7417, 14695.758],[5071.272, 13369.392],[2419.2996, 16038.305],[3712.9426, 14695.76],[2435.4729, 13369.392],[13253.568, 16523.553],[12096.6, 15071.295],[13406.416, 13955.209],[14725.089, 15132.486],[-323.61914, 13185.43],[953.85059, 14511.8],[-339.79248, 15854.346]]; dayz_choppedTrees = []; - dayz_deseedloot = []; dayz_ghostPlayers = []; dayz_activePlayers = []; dayz_died = []; @@ -460,7 +430,12 @@ if (isServer) then { if (!isDedicated) then { dayz_buildingBubbleMonitor = []; - + DayZ_fuelCans = ["ItemJerrycan","ItemFuelcan"]; + DayZ_fuelCansEmpty = ["ItemJerrycanEmpty","ItemFuelcanEmpty"]; + DayZ_fuelSources = ["Land_Ind_TankSmall","Land_fuel_tank_big","Land_fuel_tank_stairs","Land_fuel_tank_stairs_ep1","Land_wagon_tanker","Land_fuelstation","Land_fuelstation_army","Land_smd_fuelstation_army","land_fuelstation_w","Land_benzina_schnell"]; + //Needed for trees spawned with createVehicle like POI (typeOf returns class instead of "") + dayz_treeTypes = ["","MAP_t_picea1s","MAP_t_picea2s","MAP_t_picea3f","MAP_t_pinusN2s","MAP_t_pinusS2f","MAP_t_populus3s","MAP_t_betula2s","MAP_t_fagus2s","MAP_t_fagus2W","MAP_t_malus1s"]; + //temperature variables dayz_temperatur = 36; //TeeChange dayz_temperaturnormal = 36; //TeeChange @@ -468,6 +443,7 @@ if (!isDedicated) then { dayz_temperaturmin = 27; //TeeChange //player special variables + dayz_bloodBagHumanity = 300; dayz_lastDamageSourceNull = false; dayz_lastDamageSource = "none"; dayz_lastDamageTime = 0; @@ -475,6 +451,9 @@ if (!isDedicated) then { dayz_lastMedicalTime = 0; dayz_lastClothesChange = 0; dayZ_lastPlayerUpdate = 0; + dayz_lastSelfTransfusion = -120; + dayz_lastTransfusion = 0; + dayz_playerName = "unknown"; dayz_hunger = 0; dayz_thirst = 0; dayz_nutrition = 0; @@ -485,7 +464,7 @@ if (!isDedicated) then { dayz_disVisual = 0; dayz_firedCooldown = 0; dayz_damageCounter = time; - dayz_lastSave = time; + dayz_lastSave = diag_tickTime; dayz_isSwimming = true; dayz_currentDay = 0; dayz_hasLight = false; @@ -529,10 +508,9 @@ if (!isDedicated) then { dayzState = -1; dayz_onBack = ""; dayz_fishingInprogress = false; - dayz_siphonFuelInProgress = false; - dayz_salvageInProgress = false; lastSpawned = diag_tickTime; lastSepsis = 0; + NORRN_dropAction = -1; //uiNamespace setVariable ['DAYZ_GUI_display',displayNull]; //if (uiNamespace getVariable ['DZ_displayUI', 0] == 2) then { // dayzDebug = true; @@ -540,7 +518,8 @@ if (!isDedicated) then { dayz_dodge = false; Dayz_constructionContext = []; Dayz_freefall = [ time, 0, 0.1 ]; - dayz_getout = objNull; dayz_getoutTime = 0; - dayz_HitBy = objNull; + dayz_hitByTime = 0; + skipGearSound = false; + TimeOutDisplayed = false; }; diff --git a/SQF/dayz_code/loot/insert.sqf b/SQF/dayz_code/loot/insert.sqf index 89165c52..0115fb43 100644 --- a/SQF/dayz_code/loot/insert.sqf +++ b/SQF/dayz_code/loot/insert.sqf @@ -32,7 +32,16 @@ if (!local (_this select 0)) exitWith case Loot_MAGAZINE: { - (_this select 0) addMagazine (_x select 1); + private "_item"; + _item = _x select 1; + if (dayz_classicBloodBagSystem && _item in dayz_typedBags) then { + if (_item in ["bloodTester","bloodBagAPOS","bloodBagABPOS"]) then { // reduce ItemBloodBag output slightly since typed bags spawn in bulk + _item = ["ItemBandage","ItemPainkiller","ItemMorphine","ItemHeatPack","ItemAntibacterialWipe"] call BIS_fnc_selectRandom; + } else { + _item = "ItemBloodbag"; + }; + }; + (_this select 0) addMagazine _item; }; case Loot_BACKPACK: @@ -43,6 +52,5 @@ if (!local (_this select 0)) exitWith }; }; }; -} -foreach Loot_Select(_this select 1, _this select 2); +} count Loot_Select(_this select 1, _this select 2); //foreach ([_this select 1, _this select 2] call loot_select); \ No newline at end of file diff --git a/SQF/dayz_code/loot/insertCargo.sqf b/SQF/dayz_code/loot/insertCargo.sqf index 4af900cb..a1b06254 100644 --- a/SQF/dayz_code/loot/insertCargo.sqf +++ b/SQF/dayz_code/loot/insertCargo.sqf @@ -27,7 +27,16 @@ Author: case Loot_MAGAZINE: { - (_this select 0) addMagazineCargoGlobal [_x select 1, 1]; + private "_item"; + _item = _x select 1; + if (dayz_classicBloodBagSystem && _item in dayz_typedBags) then { + if (_item in ["bloodTester","bloodBagAPOS","bloodBagABPOS"]) then { // reduce ItemBloodBag output slightly since typed bags spawn in bulk + _item = ["ItemBandage","ItemPainkiller","ItemMorphine","ItemHeatPack","ItemAntibacterialWipe"] call BIS_fnc_selectRandom; + } else { + _item = "ItemBloodbag"; + }; + }; + (_this select 0) addMagazineCargoGlobal [_item, 1]; }; case Loot_BACKPACK: @@ -35,6 +44,5 @@ Author: (_this select 0) addBackpackCargoGlobal [_x select 1, 1]; }; }; -} -foreach Loot_Select(_this select 1, _this select 2); +} count Loot_Select(_this select 1, _this select 2); //foreach ([_this select 1, _this select 2] call loot_select); \ No newline at end of file diff --git a/SQF/dayz_code/loot/spawn.sqf b/SQF/dayz_code/loot/spawn.sqf index 2285a17d..0473655c 100644 --- a/SQF/dayz_code/loot/spawn.sqf +++ b/SQF/dayz_code/loot/spawn.sqf @@ -3,7 +3,7 @@ Spawns the specified loot definition at the specified location. Parameters: array Loot definition - vector Loot position (AGL) + vector Spawn position relative to world Return value: object Spawned vehicle. @@ -54,7 +54,12 @@ switch (_lootInfo select 0) do Debug_Assert(typeName (_lootInfo select 1) == typeName "" && { (_lootInfo select 1) != "" }); //Debug_Log(String_Format2("DEBUG: Loot_Spawn Weapon: %1 Position: %2", _lootInfo select 1, _this select 1)); - _vehicle setPos (_this select 1); + if (surfaceIsWater (_this select 1)) then { + _vehicle setPos (_this select 1); + } else { + _vehicle setPosATL (_this select 1); + }; + INCREMENT_WEAPON_HOLDERS(); _magazines = getArray (configFile >> "CfgWeapons" >> _lootInfo select 1 >> "magazines"); @@ -75,9 +80,22 @@ switch (_lootInfo select 0) do //Spawn a single magazine case Loot_MAGAZINE: { + private "_item"; + _item = _lootInfo select 1; + if (dayz_classicBloodBagSystem && _item in dayz_typedBags) then { + if (_item in ["bloodTester","bloodBagAPOS","bloodBagABPOS"]) then { // reduce ItemBloodBag output slightly since typed bags spawn in bulk + _item = ["ItemBandage","ItemPainkiller","ItemMorphine","ItemHeatPack","ItemAntibacterialWipe"] call BIS_fnc_selectRandom; + } else { + _item = "ItemBloodbag"; + }; + }; _vehicle = createVehicle ["WeaponHolder", _this select 1, [], 0, "CAN_COLLIDE"]; - _vehicle addMagazineCargoGlobal [_lootInfo select 1, 1]; - _vehicle setPos (_this select 1); + _vehicle addMagazineCargoGlobal [_item, 1]; + if (surfaceIsWater (_this select 1)) then { + _vehicle setPos (_this select 1); + } else { + _vehicle setPosATL (_this select 1); + }; INCREMENT_WEAPON_HOLDERS(); }; @@ -97,10 +115,18 @@ switch (_lootInfo select 0) do _p = Vector_SetZ(_p, Vector_Z(_p) + Vector_Z(getPosATL _vehicle)); _vehicle setVectorDirAndUp [Vector_DOWN, _d]; - _vehicle setPos _p; + if (surfaceIsWater _p) then { + _vehicle setPos _p; + } else { + _vehicle setPosATL _p; + }; #else _vehicle = createVehicle [_lootInfo select 1, _this select 1, [], 0, "CAN_COLLIDE"]; - _vehicle setPos (_this select 1); + if (surfaceIsWater (_this select 1)) then { + _vehicle setPos (_this select 1); + } else { + _vehicle setPosATL (_this select 1); + }; #endif }; @@ -110,7 +136,11 @@ switch (_lootInfo select 0) do _spawnCount = (_lootInfo select 2) + floor random ((_lootInfo select 3) - (_lootInfo select 2) + 1); _vehicle = createVehicle ["WeaponHolder", _this select 1, [], 0, "CAN_COLLIDE"]; Loot_InsertCargo(_vehicle, _lootInfo select 1, _spawnCount); - _vehicle setPos (_this select 1); + if (surfaceIsWater (_this select 1)) then { + _vehicle setPos (_this select 1); + } else { + _vehicle setPosATL (_this select 1); + }; INCREMENT_WEAPON_HOLDERS(); }; @@ -119,7 +149,11 @@ switch (_lootInfo select 0) do { _vehicle = createVehicle [_lootInfo select 1, _this select 1, [], 0, "CAN_COLLIDE"]; _vehicle setDir random 360; - _vehicle setPos (_this select 1); + if (surfaceIsWater (_this select 1)) then { + _vehicle setPos (_this select 1); + } else { + _vehicle setPosATL (_this select 1); + }; }; //Spawn a container and populate it with loot from a given group @@ -134,7 +168,11 @@ switch (_lootInfo select 0) do Loot_InsertCargo(_vehicle, _lootInfo select 2, _spawnCount); _vehicle setDir random 360; - _vehicle setPos (_this select 1); + if (surfaceIsWater (_this select 1)) then { + _vehicle setPos (_this select 1); + } else { + _vehicle setPosATL (_this select 1); + }; }; //Call a function which is assumed to return an object reference. @@ -142,7 +180,13 @@ switch (_lootInfo select 0) do { _vehicle = call (_lootInfo select 1); if ((typeName _vehicle) != "OBJECT") exitWith {}; - if (!isNull _vehicle) then { _vehicle setPos (_this select 1); }; + if (!isNull _vehicle) then { + if (surfaceIsWater (_this select 1)) then { + _vehicle setPos (_this select 1); + } else { + _vehicle setPosATL (_this select 1); + }; + }; }; }; diff --git a/SQF/dayz_code/medical/antibiotics.sqf b/SQF/dayz_code/medical/antibiotics.sqf index a21ffe53..731d6357 100644 --- a/SQF/dayz_code/medical/antibiotics.sqf +++ b/SQF/dayz_code/medical/antibiotics.sqf @@ -1,9 +1,15 @@ #include "\z\addons\dayz_code\util\array.hpp"; -private ["_msg","_antibiotics","_hasAntibiotics","_id","_hasMeds","_unit"]; +private ["_msg","_antibiotics","_hasAntibiotics","_id","_hasMeds","_unit","_medsUsed"]; + +if (count _this > 2) then { + _unit = (_this select 3) select 0; + _medsUsed = nil; +} else { + _unit = _this select 0; + _medsUsed = _this select 1; +}; -_unit = _this select 0; -_medsUsed = _this select 1; _antibiotics =["ItemAntibiotic","ItemAntibiotic1","ItemAntibiotic2","ItemAntibiotic3","ItemAntibiotic4","ItemAntibiotic5","ItemAntibiotic6"]; _hasAntibiotics = false; @@ -23,9 +29,11 @@ if (_hasAntibiotics) then { //Remove one table from the box. [_medsUsed,"medical"] call dayz_reduceItems; + //remove infection - r_player_infected = false; - _unit setVariable["USEC_infected",false,true]; + //Called in medAntis + //r_player_infected = false; + //_unit setVariable["USEC_infected",false,true]; //remove option call fnc_usec_medic_removeActions; diff --git a/SQF/dayz_code/medical/bandage.sqf b/SQF/dayz_code/medical/bandage.sqf index 79a87fc0..b57416f0 100644 --- a/SQF/dayz_code/medical/bandage.sqf +++ b/SQF/dayz_code/medical/bandage.sqf @@ -1,47 +1,25 @@ -private ["_started","_finished","_animState","_isMedic","_id","_unit","_item"]; +private ["_finished","_id","_unit","_item"]; _unit = (_this select 3) select 0; _item = (_this select 3) select 1; +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; + player removeMagazine _item; closedialog 0; call fnc_usec_medic_removeActions; r_action = false; -if (vehicle player == player) then { - //not in a vehicle - player playActionNow "Medic"; -}; - -r_interrupt = false; -_animState = animationState player; -r_doLoop = true; -_started = false; -_finished = false; [player,"bandage",0,false] call dayz_zombieSpeak; -while {r_doLoop} do { - _animState = animationState player; - _isMedic = ["medic",_animState] call fnc_inString; - if (_isMedic) then { - _started = true; - }; - if (_started and !_isMedic) then { - r_doLoop = false; - _finished = true; - }; - if (r_interrupt) then { - r_doLoop = false; - }; - if (vehicle player != player) then { - sleep 3; - r_doLoop = false; - _finished = true; - }; - sleep 0.1; +if (vehicle player != player) then { + uiSleep 3; + _finished = true; +} else { + _finished = ["Medic",1] call fn_loopAction; }; -r_doLoop = false; if (_finished) then { if ((_unit == player) or (vehicle player != player)) then { @@ -58,8 +36,7 @@ if (_finished) then { [20,0] call player_humanityChange; }; } else { - r_interrupt = false; - [objNull, player, rSwitchMove,""] call RE; - player playActionNow "stop"; player addMagazine _item; -}; \ No newline at end of file +}; + +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/medical/brokeBones.sqf b/SQF/dayz_code/medical/brokeBones.sqf index 6f637812..33142668 100644 --- a/SQF/dayz_code/medical/brokeBones.sqf +++ b/SQF/dayz_code/medical/brokeBones.sqf @@ -1,46 +1,24 @@ -private ["_started","_finished","_animState","_isMedic","_id","_unit","_item"]; +private ["_finished","_id","_unit","_item","_humanityGain"]; _unit = (_this select 3) select 0; _item = (_this select 3) select 1; -player removeMagazine _item; +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; -_unit setVariable ["hit_legs",0]; -_unit setVariable ["hit_hands",0]; +player removeMagazine _item; if (vehicle player == player) then { - //not in a vehicle - player playActionNow "Medic"; -}; - -r_interrupt = false; -_animState = animationState player; -r_doLoop = true; -_started = false; -_finished = false; -while {r_doLoop} do { - _animState = animationState player; - _isMedic = ["medic",_animState] call fnc_inString; - if (_isMedic) then { - _started = true; - }; - if (_started and !_isMedic) then { - r_doLoop = false; - _finished = true; - }; - if (r_interrupt) then { - r_doLoop = false; - }; - if (vehicle player != player) then { - sleep 3; - r_doLoop = false; - _finished = true; - }; - sleep 0.1; + _finished = ["Medic",1] call fn_loopAction; +} else { + uiSleep 3; + _finished = true; }; -r_doLoop = false; if (_finished) then { + _unit setVariable ["hit_legs",0]; + _unit setVariable ["hit_hands",0]; + if (_unit == player) then { //give to player, Ie the player fixed himself @@ -50,8 +28,14 @@ if (_finished) then { //give to remote player, ie the player fixed another player //Give humanity reward to player giving the morphine to another player. - if (_item in ["ItemMorphine"]) then { - [50,0] call player_humanityChange; + _humanityGain = switch true do { + case (_item == "ItemMorphine"): { 50 }; + case (_item == "equip_woodensplint"): { 25 }; + default { 0 }; + }; + + if (_humanityGain > 0) then { + [_humanityGain,0] call player_humanityChange; }; }; @@ -59,7 +43,6 @@ if (_finished) then { publicVariableServer "PVDZ_send"; } else { player addMagazine _item; - r_interrupt = false; - [objNull, player, rSwitchMove,""] call RE; - player playActionNow "stop"; -}; \ No newline at end of file +}; + +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/medical/drag.sqf b/SQF/dayz_code/medical/drag.sqf index aa051754..110a4510 100644 --- a/SQF/dayz_code/medical/drag.sqf +++ b/SQF/dayz_code/medical/drag.sqf @@ -26,7 +26,7 @@ while {r_drag_sqf} do { _dragee setVariable ["NORRN_unit_dragged", true, true]; _unit playActionNow "grabDrag"; - sleep 2; + uiSleep 2; //unconscious unit assumes dragging posture //public EH @@ -35,7 +35,7 @@ while {r_drag_sqf} do { publicVariable "PVDZ_drg_RaDrag"; //_dragee switchmove "ainjppnemstpsnonwrfldb_still"; _dragee attachto [_unit,[0.1, 1.01, 0]]; - sleep 0.02; + uiSleep 0.02; //rotate wounded units so that it is facing the correct direction //PVDZ_drg_R180 = _dragee; // not used @@ -47,7 +47,7 @@ while {r_drag_sqf} do { NORRN_dropAction = player addAction [localize "str_actions_medical_dropbody", "\z\addons\dayz_code\medical\drop_body.sqf",_dragee, 0, false, true]; //NORRN_carryAction = player addAction ["Carry body", "\z\addons\dayz_code\medical\carry.sqf",_dragee, 0, false, true]; - sleep 1; + uiSleep 1; _addAction = true; }; @@ -57,7 +57,7 @@ while {r_drag_sqf} do { if (vehicle player != player) then { player action ["eject", vehicle player]; - cutText [localize "str_actions_medical_dragbody_veh","PLAIN DOWN"]; + localize "str_actions_medical_dragbody_veh" call dayz_rollingMessages; [cursorTarget, _unit, _unconscious, _dragee] execVM "\z\addons\dayz_code\medical\drop_body.sqf"; }; if (!r_drag_sqf) exitWith {}; diff --git a/SQF/dayz_code/medical/epinephrine.sqf b/SQF/dayz_code/medical/epinephrine.sqf index b985eaf0..858484b7 100644 --- a/SQF/dayz_code/medical/epinephrine.sqf +++ b/SQF/dayz_code/medical/epinephrine.sqf @@ -1,17 +1,18 @@ -// bleed.sqf +private ["_finished","_isDead","_unit"]; + _unit = (_this select 3) select 0; _isDead = _unit getVariable["USEC_isDead",false]; call fnc_usec_medic_removeActions; -player removeMagazine "ItemEpinephrine"; -player playActionNow "Medic"; +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; -sleep 3; +_finished = ["Medic",1] call fn_loopAction; -if (!_isDead) then { +if (!_isDead && _finished && ("ItemEpinephrine" in magazines player)) then { + player removeMagazine "ItemEpinephrine"; _unit setVariable ["NORRN_unconscious", false, true]; _unit setVariable ["USEC_isCardiac",false,true]; - sleep 5; //give humanity [25,0] call player_humanityChange; @@ -20,4 +21,5 @@ if (!_isDead) then { publicVariableServer "PVDZ_send"; }; -r_action = false; \ No newline at end of file +r_action = false; +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/medical/fillBloodBag.sqf b/SQF/dayz_code/medical/fillBloodBag.sqf index 2d0fc87b..69fcca98 100644 --- a/SQF/dayz_code/medical/fillBloodBag.sqf +++ b/SQF/dayz_code/medical/fillBloodBag.sqf @@ -22,9 +22,9 @@ _bloodDrained = false; _forceExit = false; _UID = getPlayerUID player; if ((isNil "_UID") or (_UID == "0")) exitWith {}; -if (!_hasEmptyBag) exitWith { cutText [localize "str_actions_medical_bagEmpty", "PLAIN DOWN"]; }; +if (!_hasEmptyBag) exitWith { localize "str_actions_medical_bagEmpty" call dayz_rollingMessages; }; -if (_bloodLevel <= 4200) exitWith {cutText [localize "str_actions_medical_bagMissingBlood", "PLAIN DOWN"];}; +if (_bloodLevel <= 4200) exitWith {localize "str_actions_medical_bagMissingBlood" call dayz_rollingMessages;}; if (!(alive _victim)) then { _bloodDrained = _victim getVariable ["bloodTaken", false]; @@ -32,7 +32,7 @@ if (!(alive _victim)) then { _victim setVariable ["bloodTaken", true, true]; }; -if (_forceExit) exitWith {cutText [localize "str_actions_medical_bagMissingBlood", "PLAIN DOWN"];}; +if (_forceExit) exitWith {localize "str_actions_medical_bagMissingBlood" call dayz_rollingMessages;}; if (vehicle player == player) then { //not in a vehicle @@ -45,8 +45,8 @@ while {r_doLoop and (_i < 25)} do { if (_isMedic and !_started) then { player removeMagazine "emptyBloodBag"; - cutText [localize "str_actions_medical_transfusion_start", "PLAIN DOWN"]; - [player,_victim,"loc",rTITLETEXT,localize "str_actions_medical_transfusion_start","PLAIN DOWN"] call RE; + localize "str_actions_medical_transfusion_start" call dayz_rollingMessages; + //[player,_victim,"loc",rTITLETEXT,localize "str_actions_medical_transfusion_start","PLAIN DOWN"] call RE; _started = true; }; @@ -68,8 +68,8 @@ while {r_doLoop and (_i < 25)} do { _bloodAfter = (_blood - 4000); if ((_blood <= _bloodAfter) or (_i == 25)) then { - cutText [localize "str_actions_medical_bagDone", "PLAIN DOWN"]; - [player,_victim,"loc",rTITLETEXT,localize "str_actions_medical_bagDone","PLAIN DOWN"] call RE; + localize "str_actions_medical_bagDone" call dayz_rollingMessages; + //[player,_victim,"loc",rTITLETEXT,localize "str_actions_medical_bagDone","PLAIN DOWN"] call RE; //_victim setVariable ["USEC_BloodQty", _bloodAfter, true]; r_doLoop = false; _complete = true; @@ -80,8 +80,8 @@ while {r_doLoop and (_i < 25)} do { if (!_isClose) then { r_doLoop = false; r_interrupt = true; - cutText [localize "str_actions_medical_bagInterrupted", "PLAIN DOWN"]; - [player,_victim,"loc",rTITLETEXT,localize "str_actions_medical_bagInterrupted","PLAIN DOWN"] call RE; + localize "str_actions_medical_bagInterrupted" call dayz_rollingMessages; + //[player,_victim,"loc",rTITLETEXT,localize "str_actions_medical_bagInterrupted","PLAIN DOWN"] call RE; }; }; @@ -90,36 +90,40 @@ r_interrupt = false; }; if (_complete) then { - switch (_bloodType) do { - case "A" : { - if (_rh) then { - player addMagazine "wholeBloodBagAPOS"; - } else { - player addMagazine "wholeBloodBagANEG"; + if (dayz_classicBloodBagSystem) then { + player addMagazine "ItemBloodbag"; + } else { + switch (_bloodType) do { + case "A" : { + if (_rh) then { + player addMagazine "wholeBloodBagAPOS"; + } else { + player addMagazine "wholeBloodBagANEG"; + }; }; - }; - case "B" : { - if (_rh) then { - player addMagazine "wholeBloodBagBPOS"; - } else { - player addMagazine "wholeBloodBagBNEG"; + case "B" : { + if (_rh) then { + player addMagazine "wholeBloodBagBPOS"; + } else { + player addMagazine "wholeBloodBagBNEG"; + }; }; - }; - case "AB" : { - if (_rh) then { - player addMagazine "wholeBloodBagABPOS"; - } else { - player addMagazine "wholeBloodBagABNEG"; + case "AB" : { + if (_rh) then { + player addMagazine "wholeBloodBagABPOS"; + } else { + player addMagazine "wholeBloodBagABNEG"; + }; }; - }; - case "O" : { - if (_rh) then { - player addMagazine "wholeBloodBagOPOS"; - } else { - player addMagazine "wholeBloodBagONEG"; + case "O" : { + if (_rh) then { + player addMagazine "wholeBloodBagOPOS"; + } else { + player addMagazine "wholeBloodBagONEG"; + }; }; }; }; diff --git a/SQF/dayz_code/medical/load/load_act.sqf b/SQF/dayz_code/medical/load/load_act.sqf index 04f4f175..4fb12849 100644 --- a/SQF/dayz_code/medical/load/load_act.sqf +++ b/SQF/dayz_code/medical/load/load_act.sqf @@ -12,21 +12,20 @@ r_action = false; r_action_load = false; call fnc_usec_medic_removeActions; -_dragger removeAction NORRN_loadWoundedAction; +_wounded removeAction NORRN_loadWoundedAction; if ((_vcl emptyPositions "cargo") > 0) then { detach _wounded; _dragger switchMove ""; _wounded setVariable ["NORRN_LoadVcl", _vcl, true]; - sleep 1; + uiSleep 1; //["PVDZ_drg_RLact",_wounded] call broadcastRpcCallAll; [_wounded] execVM "\z\addons\dayz_code\medical\load\load_wounded.sqf"; PVDZ_drg_RLact = _wounded; publicVariable "PVDZ_drg_RLact"; player removeAction NORRN_dropAction; } else { - //cutText [localize "str_dragnospace", "PLAIN DOWN"];//hint "No space left in vehicle"; - localize "str_dragnospace" call dayz_rollingMessages; + localize "str_dragnospace" call dayz_rollingMessages;//hint "No space left in vehicle"; }; NORRN_load_wounded_action = true; diff --git a/SQF/dayz_code/medical/load/load_wounded.sqf b/SQF/dayz_code/medical/load/load_wounded.sqf index 9f716bb9..381f4261 100644 --- a/SQF/dayz_code/medical/load/load_wounded.sqf +++ b/SQF/dayz_code/medical/load/load_wounded.sqf @@ -7,13 +7,13 @@ _wounded = _this select 0; if (!local _wounded) exitWith {}; -sleep 1; +uiSleep 1; _vcl = _wounded getVariable "NORRN_loadVcl"; _wounded setVariable ["NORRN_unit_dragged", true, true]; _wounded assignAsCargo _vcl; _wounded moveInCargo _vcl; -sleep 1; +uiSleep 1; //["PVDZ_drg_RaLW",_wounded] call broadcastRpcCallAll; PVDZ_drg_RaLW = _wounded; publicVariable "PVDZ_drg_RaLW"; @@ -30,15 +30,15 @@ if (local _wounded) then if (vehicle _wounded != _wounded) then { unassignVehicle _wounded; - sleep 0.05; + uiSleep 0.05; _wounded action ["EJECT", _vcl]; - sleep 1; + uiSleep 1; }; // PVDZ_drg_RAlie = _wounded; // not used // publicVariable "PVDZ_drg_RAlie"; // not used _wounded switchMove "ainjppnemstpsnonwrfldnon"; _wounded setVariable ["NORRN_unit_dragged", false, true]; - sleep 1; + uiSleep 1; }; }; @@ -47,6 +47,6 @@ if (local _wounded) then _wounded playMove "BasicDriver"; }; }; -sleep 0.01; +uiSleep 0.01; if (true) exitWith {}; \ No newline at end of file diff --git a/SQF/dayz_code/medical/load/unLoad_act.sqf b/SQF/dayz_code/medical/load/unLoad_act.sqf index 1bbc6e54..868ea0e6 100644 --- a/SQF/dayz_code/medical/load/unLoad_act.sqf +++ b/SQF/dayz_code/medical/load/unLoad_act.sqf @@ -7,6 +7,8 @@ _args = _this select 3; _name = _args select 0; _vcl = _args select 1; _crewVcl = crew _vcl; +LHA_Deck = []; +LHA_height = 0; //_name removeAction NORRN_pullOutAction; // NORRN_pullOutAction is defined anywhere @@ -17,9 +19,9 @@ for [{ _loop = 0 },{ _loop < count _crewVcl },{ _loop = _loop + 1}] do if (_unit getVariable "NORRN_unconscious") then { unassignVehicle _unit; - sleep 0.05; + uiSleep 0.05; _unit action ["EJECT", _vcl]; - sleep 1; + uiSleep 1; _position = getPosATL _unit; _isOnDeck = getPosASL _unit in LHA_Deck; if (_isOnDeck) then { @@ -27,11 +29,12 @@ for [{ _loop = 0 },{ _loop < count _crewVcl },{ _loop = _loop + 1}] do }; _unit switchMove ""; _unit switchMove "ainjppnemstpsnonwrfldnon"; - sleep 0.2; -// PVDZ_drg_Ralie = _unit; // not used -// publicVariable "PVDZ_drg_Ralie"; // not used + uiSleep 0.2; + //Needed or else patient user input is not fully disabled after eject + PVDZ_drg_RaDrag = [_unit]; + publicVariable "PVDZ_drg_RaDrag"; }; - sleep 0.1; + uiSleep 0.1; }; -if (true) exitWith {}; \ No newline at end of file +if (true) exitWith {}; diff --git a/SQF/dayz_code/medical/morphine.sqf b/SQF/dayz_code/medical/morphine.sqf index 5714cd83..f38f0d51 100644 --- a/SQF/dayz_code/medical/morphine.sqf +++ b/SQF/dayz_code/medical/morphine.sqf @@ -1,47 +1,26 @@ -private ["_started","_finished","_animState","_isMedic","_id","_unit"]; +private ["_finished","_id","_unit"]; _unit = (_this select 3) select 0; -player removeMagazine "ItemMorphine"; +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; -_unit setVariable ["hit_legs",0]; -_unit setVariable ["hit_hands",0]; +player removeMagazine "ItemMorphine"; call fnc_usec_medic_removeActions; r_action = false; if (vehicle player == player) then { - //not in a vehicle - player playActionNow "Medic"; -}; -r_interrupt = false; -_animState = animationState player; -r_doLoop = true; -_started = false; -_finished = false; -while {r_doLoop} do { - _animState = animationState player; - _isMedic = ["medic",_animState] call fnc_inString; - if (_isMedic) then { - _started = true; - }; - if (_started and !_isMedic) then { - r_doLoop = false; - _finished = true; - }; - if (r_interrupt) then { - r_doLoop = false; - }; - if (vehicle player != player) then { - sleep 3; - r_doLoop = false; - _finished = true; - }; - sleep 0.1; + _finished = ["Medic",1] call fn_loopAction; +} else { + uiSleep 3; + _finished = true; }; -r_doLoop = false; if (_finished) then { -if ((_unit == player) or (vehicle player != player)) then { + _unit setVariable ["hit_legs",0]; + _unit setVariable ["hit_hands",0]; + + if ((_unit == player) or (vehicle player != player)) then { //Self Healing _id = [player,player] execVM "\z\addons\dayz_code\medical\publicEH\medMorphine.sqf"; } else { @@ -55,7 +34,6 @@ if ((_unit == player) or (vehicle player != player)) then { publicVariableServer "PVDZ_send"; } else { player addMagazine "ItemMorphine"; - r_interrupt = false; - [objNull, player, rSwitchMove,""] call RE; - player playActionNow "stop"; -}; \ No newline at end of file +}; + +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/medical/painkiller.sqf b/SQF/dayz_code/medical/painkiller.sqf index de9d457c..d9d4709a 100644 --- a/SQF/dayz_code/medical/painkiller.sqf +++ b/SQF/dayz_code/medical/painkiller.sqf @@ -1,8 +1,6 @@ private ["_id","_unit"]; _unit = (_this select 3) select 0; -_unit setVariable ["USEC_inPain", false, true]; - call fnc_usec_medic_removeActions; r_action = false; @@ -15,12 +13,11 @@ if ((_unit == player) or (vehicle player != player)) then { //Self Healing _id = [player,player] execVM "\z\addons\dayz_code\medical\publicEH\medPainkiller.sqf"; } else { +//Send to server its given to someone else. + PVDZ_send = [_unit,"Painkiller",[_unit,player]]; + publicVariableServer "PVDZ_send"; + [20,0] call player_humanityChange; }; player removeMagazine "ItemPainkiller"; - -sleep 1; - -PVDZ_send = [_unit,"Painkiller",[_unit,player]]; -publicVariableServer "PVDZ_send"; \ No newline at end of file diff --git a/SQF/dayz_code/medical/publicEH/medPainkiller.sqf b/SQF/dayz_code/medical/publicEH/medPainkiller.sqf index 6a9c9c27..0f7d4264 100644 --- a/SQF/dayz_code/medical/publicEH/medPainkiller.sqf +++ b/SQF/dayz_code/medical/publicEH/medPainkiller.sqf @@ -5,4 +5,5 @@ _medic = _array select 1; if ((_unit == player) or (vehicle player != player)) then { r_player_inpain = false; + _unit setVariable ["USEC_inPain", false, true]; }; \ No newline at end of file diff --git a/SQF/dayz_code/medical/publicEH/medTransfuse.sqf b/SQF/dayz_code/medical/publicEH/medTransfuse.sqf index e7ed67be..6198861d 100644 --- a/SQF/dayz_code/medical/publicEH/medTransfuse.sqf +++ b/SQF/dayz_code/medical/publicEH/medTransfuse.sqf @@ -61,19 +61,17 @@ while {r_doLoop} do { }; }; - //If the players blood is equals too or aboue 12000 stop or if the blood mimic amount reaches 0 end the loop. + //If the players blood is equals too or above r_player_bloodTotal stop or if the blood mimic amount reaches 0 end the loop. _blood = _unit getVariable ["USEC_BloodQty", 0]; //diag_log format["Player Blood %1 - %2, - %3, - %4",_blood,_unit,_medic,(_unit getVariable "USEC_BloodQty")]; if (_blood >= r_player_bloodTotal or _amount == 0) then { - //cutText [localize "str_actions_medical_transfusion_successful", "PLAIN DOWN"]; localize "str_actions_medical_transfusion_successful" call dayz_rollingMessages; r_doLoop = false; }; if (r_interrupt) then { - //cutText [localize "str_actions_medical_transfusion_interrupted", "PLAIN DOWN"]; localize "str_actions_medical_transfusion_interrupted" call dayz_rollingMessages; r_doLoop = false; }; diff --git a/SQF/dayz_code/medical/pulse.sqf b/SQF/dayz_code/medical/pulse.sqf index ef5c4d96..036672f7 100644 --- a/SQF/dayz_code/medical/pulse.sqf +++ b/SQF/dayz_code/medical/pulse.sqf @@ -3,13 +3,13 @@ _unit = _this select 3; _isDead = _unit getVariable["USEC_isDead",false]; _isCardiac = _unit getVariable["USEC_isCardiac",false]; -sleep 1; +uiSleep 1; if (_isDead) then { - cutText [localize "str_pulse_extremely_weak","PLAIN DOWN"]; + localize "str_pulse_extremely_weak" call dayz_rollingMessages; } else { if (_isCardiac) then { - cutText [localize "str_pulse_weak","PLAIN DOWN"]; + localize "str_pulse_weak" call dayz_rollingMessages; } else { - cutText [localize "str_pulse_strong","PLAIN DOWN"]; + localize "str_pulse_strong" call dayz_rollingMessages; }; }; diff --git a/SQF/dayz_code/medical/selfbloodbag.sqf b/SQF/dayz_code/medical/selfbloodbag.sqf index 5fd38fea..cbdf5c18 100644 --- a/SQF/dayz_code/medical/selfbloodbag.sqf +++ b/SQF/dayz_code/medical/selfbloodbag.sqf @@ -1,4 +1,4 @@ -private ["_unit","_blood","_lowBlood","_injured","_inPain","_lastused","_animState","_started","_finished","_timer","_i","_isMedic","_isClose","_duration","_rhVal","_bloodBagArrayNeeded","_BBneeded","_bbselect","_bloodBagNeeded","_badBag","_wholeBag","_bagFound","_bagToRemove","_forceClose","_bloodType","_rh","_bloodBagArray","_bbarray_length","_bloodBagWholeNeeded","_haswholebag","_r"]; +private ["_unit","_blood","_lowBlood","_injured","_inPain","_animState","_started","_finished","_timer","_i","_isMedic","_isClose","_duration","_rhVal","_bloodBagArrayNeeded","_BBneeded","_bbselect","_bloodBagNeeded","_badBag","_wholeBag","_bagFound","_bagToRemove","_forceClose","_bloodType","_rh","_bloodBagArray","_bbarray_length","_bloodBagWholeNeeded","_haswholebag","_r"]; // bleed.sqf _unit = _this select 0; @@ -8,7 +8,7 @@ _blood = _unit getVariable ["USEC_BloodQty", 0]; _lowBlood = _unit getVariable ["USEC_lowBlood", false]; _injured = _unit getVariable ["USEC_injured", false]; _inPain = _unit getVariable ["USEC_inPain", false]; -_lastused = _unit getVariable ["LastTransfusion", time]; +if (time - dayz_lastSelfTransfusion <= 120) exitWith {localize "str_actions_medical_18" call dayz_rollingMessages;}; call gear_ui_init; closeDialog 0; @@ -44,6 +44,8 @@ if (_haswholebag) then { _badBag = true; }; +if (dayz_classicBloodBagSystem) then {_wholeBag = true; _badBag = false;}; + call fnc_usec_medic_removeActions; r_action = false; @@ -80,11 +82,11 @@ while {r_doLoop and (_i < 12)} do { }; } else { if (_wholeBag) then {_bagToRemove = _bloodBagWholeNeeded; }; + if (dayz_classicBloodBagSystem) then { _bagToRemove = _bagUsed; }; if (_bagToRemove in magazines player) then { _bagFound = true; }; }; if (!_bagFound) then {_forceClose = true;} else { player removeMagazine _bagToRemove;}; - //cutText [localize "str_actions_medical_transfusion_start", "PLAIN DOWN"]; - localize "str_actions_medical_transfusion_start" call dayz_rollingMessages; + localize "str_actions_medical_transfusion_start" call dayz_rollingMessages; _started = true; }; @@ -121,7 +123,7 @@ while {r_doLoop and (_i < 12)} do { if (((_blood >= r_player_bloodTotal) and !_badBag and _bagFound) or (_i == 12)) then { diag_log format ["TRANSFUSION: completed blood transfusion successfully (_i = %1)", _i]; - //cutText [localize "str_actions_medical_transfusion_successful", "PLAIN DOWN"]; + dayz_lastSelfTransfusion = time; localize "str_actions_medical_transfusion_successful" call dayz_rollingMessages; r_doLoop = false; }; @@ -130,12 +132,11 @@ while {r_doLoop and (_i < 12)} do { if (r_interrupt or !_isClose or _forceClose) then { diag_log format ["TRANSFUSION: transfusion was interrupted (r_interrupt: %1 | distance: %2 (%3) | _i = %4)", r_interrupt, player distance _unit, _isClose, _i]; - //cutText [localize "str_actions_medical_transfusion_interrupted", "PLAIN DOWN"]; localize "str_actions_medical_transfusion_interrupted" call dayz_rollingMessages; r_doLoop = false; }; - sleep 0.1; + uiSleep 0.1; }; r_doLoop = false; diff --git a/SQF/dayz_code/medical/setup_functions_med.sqf b/SQF/dayz_code/medical/setup_functions_med.sqf index ec4a5db9..877e474f 100644 --- a/SQF/dayz_code/medical/setup_functions_med.sqf +++ b/SQF/dayz_code/medical/setup_functions_med.sqf @@ -8,7 +8,7 @@ fnc_usec_damageHandle = { _unit = _this select 0; mydamage_eh1 = _unit addeventhandler ["HandleDamage",{_this call fnc_usec_damageHandler;} ]; mydamage_eh2 = _unit addEventHandler ["Fired", {_this call player_fired;}]; - mydamage_eh3 = _unit addEventHandler ["Killed", {_id = [] spawn player_death;}]; + mydamage_eh3 = _unit addEventHandler ["Killed", {[_this,"find"] call player_death;}]; }; fnc_usec_pitchWhine = { @@ -27,26 +27,11 @@ fnc_usec_pitchWhine = { }; r_pitchWhine = true; [] spawn { - sleep 32; + uiSleep 32; r_pitchWhine = false; }; }; -/* -//Old system 1.8.6 -fnc_usec_damageUnconscious1 = { - private["_unit","_damage"]; - _unit = _this select 0; - _damage = _this select 1; - - diag_log format["fnc_usec_damageUnconscious: %1,%2,%3",_unit,_damage, player]; - - if (_unit == player) then { - r_player_timeout = 120 min (round((((random 2) max 0.1) * _damage) * 20)); - r_player_unconscious = true; - }; -}; -*/ fnc_usec_damageUnconscious = { private["_unit","_damage"]; _unit = _this select 0; @@ -56,7 +41,9 @@ fnc_usec_damageUnconscious = { _inVehicle = (vehicle _unit != _unit); if (_unit == player) then { - r_player_timeout = 120 min (round((((random 2) max 0.1) * _damage) * 20)); + if (r_player_timeout <= 0) then { + r_player_timeout = 120 min (round((((random 2) max 0.1) * _damage) * 20)); + }; r_player_unconscious = true; player setVariable["medForceUpdate",true]; @@ -72,7 +59,7 @@ fnc_usec_damageUnconscious = { if (r_player_unconscious) then { _unit action ["eject", _veh]; waitUntil{((vehicle _this) != _this)}; - sleep 1; + uiSleep 1; _unit playActionNow "Die"; }; }; @@ -89,7 +76,8 @@ fnc_usec_bulletHit = { if (!r_player_unconscious) then { "colorCorrections" ppEffectEnable true; "colorCorrections" ppEffectAdjust [1, 1.1, -0.02, [0.4,-0.2,-0.2, .04], [1,1,1,0], [1,1,1, 0]]; "colorCorrections" ppEffectCommit 0; "dynamicBlur" ppEffectEnable true;"dynamicBlur" ppEffectAdjust [1]; "dynamicBlur" ppEffectCommit 0; - setCamShakeParams [0.05, 4, 1, 3, true]; addCamShake [5, 0.5, 25]; + //setCamShakeParams [0.05, 4, 1, 3, true]; + addCamShake [5, 0.5, 25]; "colorCorrections" ppEffectAdjust [1, 1, 0, [0,0,0,0], [1, 1, 1, 1], [1, 1, 1, 1]]; "colorCorrections" ppEffectCommit _commit; "dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit _commit; }; @@ -117,13 +105,6 @@ fnc_usec_medic_removeActions = { r_action_targets = []; }; -fnc_usec_self_removeActions = { - { - player removeAction _x; - } forEach r_self_actions; - r_self_actions = []; -}; - fnc_usec_calculateBloodPerSec = { private["_bloodLossPerSec","_bloodGainPerSec","_bloodPerSec"]; _bloodLossPerSec = 0; @@ -158,7 +139,6 @@ fnc_usec_calculateBloodPerSec = { _time = ((_time - 900) max 1) min 900; _bloodLossPerSec = _bloodLossPerSec + (_time / 450) + 1; _bloodLossPerSec = _bloodLossPerSec - (_bloodLossPerSec % 1); - //hintSilent (format["SetupMedFNCS: Blood Level: %2/12000 bloodLossPerSec %1",_bloodLossPerSec,r_player_blood]); } else { r_player_Sepsis = [false, 0]; r_player_infected = true; @@ -168,8 +148,8 @@ fnc_usec_calculateBloodPerSec = { if ((_time < 1) and (isNil "sepsisStarted")) then { //if (isNil "sepsisStarted") then { - //cutText [localize "str_medical_sepsis_warning","PLAIN DOWN",5]; - systemChat (localize "str_medical_sepsis_warning"); + localize "str_medical_sepsis_warning" call dayz_rollingMessages; + //systemChat (localize "str_medical_sepsis_warning"); player setVariable ["sepsisStarted", _time]; }; }; @@ -249,11 +229,9 @@ fnc_usec_playerHandleBlood = { if (_elapsedTime > _bleedTime) then { r_player_injured = false; _id = [player,player] execVM "\z\addons\dayz_code\medical\publicEH\medBandaged.sqf"; - dayz_sourceBleeding = objNull; - call fnc_usec_resetWoundPoints; }; - _bloodDiff = r_player_blood - (player getVariable["USEC_BloodQty", 12000]); + _bloodDiff = r_player_blood - (player getVariable["USEC_BloodQty", r_player_bloodTotal]); if ((_bloodDiff >= 500) or (_bloodDiff <= -500)) then { player setVariable["USEC_BloodQty",r_player_blood,true]; @@ -261,7 +239,7 @@ fnc_usec_playerHandleBlood = { }; - sleep 1; + uiSleep 1; }; } else { // not bleeding _bloodPerSec = [] call fnc_usec_calculateBloodPerSec; @@ -270,7 +248,7 @@ fnc_usec_playerHandleBlood = { r_player_blood = r_player_blood + _bloodPerSec; }; - _bloodDiff = r_player_blood - (player getVariable["USEC_BloodQty", 12000]); + _bloodDiff = r_player_blood - (player getVariable["USEC_BloodQty", r_player_bloodTotal]); if ((_bloodDiff >= 500) or (_bloodDiff <= -500)) then { @@ -296,6 +274,8 @@ fnc_usec_damageBleed = { private["_wound","_modelPos","_point","_source"]; _unit = _this select 0; _wound = _this select 1; + _point = objNull; + _source = objNull; //_injury = _this select 2; // not used. damage% ??? if (isServer) exitWith{}; // no graphical effects on server! @@ -359,14 +339,14 @@ fnc_usec_damageBleed = { _point attachTo [_unit,_modelPos,_wound]; }; - sleep 5; + uiSleep 5; while {((_unit getVariable["USEC_injured",true]) and (alive _unit))} do { scopeName "loop"; if (vehicle _unit != _unit) then { BreakOut "loop"; }; - sleep 1; + uiSleep 1; }; deleteVehicle _source; deleteVehicle _point; @@ -378,4 +358,4 @@ fnc_usec_damageBleed = { deleteVehicle _source; deleteVehicle _point; -}; +}; \ No newline at end of file diff --git a/SQF/dayz_code/medical/transfusion.sqf b/SQF/dayz_code/medical/transfusion.sqf index 0c96931d..d7f3a4f5 100644 --- a/SQF/dayz_code/medical/transfusion.sqf +++ b/SQF/dayz_code/medical/transfusion.sqf @@ -1,9 +1,10 @@ -private ["_bloodAmount","_unit","_blood","_lowBlood","_injured","_inPain","_lastused","_hasTransfusionKit","_animState","_started","_finished","_timer","_i","_isMedic","_isClose","_duration","_rhVal","_bloodBagArrayNeeded","_BBneeded","_bbselect","_bloodBagNeeded","_badBag","_wholeBag","_bagFound","_bagToRemove","_forceClose","_bloodType","_rh","_bloodBagArray","_bbarray_length","_bloodBagWholeNeeded","_haswholebag","_r","_bloodTestdone","_sentRequest"];// bleed.sqf +private ["_bloodAmount","_unit","_blood","_lowBlood","_injured","_inPain","_hasTransfusionKit","_animState","_started","_finished","_timer","_i","_isMedic","_isClose","_duration","_rhVal","_bloodBagArrayNeeded","_BBneeded","_bbselect","_bloodBagNeeded","_badBag","_wholeBag","_bagFound","_bagToRemove","_forceClose","_bloodType","_rh","_bloodBagArray","_bbarray_length","_bloodBagWholeNeeded","_haswholebag","_r","_bloodTestdone","_sentRequest"];// bleed.sqf //Get receving unit _unit = (_this select 3) select 0; //Does the player have a transfusionKit //_hasTransfusionKit = "transfusionKit" in magazines player; +if (time - dayz_lastTransfusion > 120) then {dayz_bloodBagHumanity = 300;}; //Reset humanity reward to full value after two minutes //Get receving units blood value _blood = _unit getVariable ["USEC_BloodQty", 0]; @@ -81,6 +82,8 @@ if (_BBneeded) then { }; }; +if (dayz_classicBloodBagSystem) then {_wholeBag = false; _badBag = false;}; + call fnc_usec_medic_removeActions; r_action = false; @@ -100,7 +103,7 @@ _i = 0; _r = 0; _humanityAwarded = 0; -_bloodAmount = if (!_wholeBag) then { 12000/*Full bloodbag*/ } else { 4000 /*Whole blood only gives 4k*/ }; +_bloodAmount = if (!_wholeBag) then { r_player_bloodTotal/*Full bloodbag*/ } else { 4000 /*Whole blood only gives 4k*/ }; while {r_doLoop} do { _animState = animationState player; @@ -123,6 +126,7 @@ while {r_doLoop} do { }; } else { _bagToRemove = if (_wholeBag) then { _bloodBagWholeNeeded } else { _bbselect }; + if (dayz_classicBloodBagSystem) then {_bagToRemove = "ItemBloodbag";}; if (_bagToRemove in magazines player) then { _bagFound = true; }; @@ -161,8 +165,8 @@ while {r_doLoop} do { // 25 points to be givin upto a maximum of 300 points if the player stays for the full duration //This should be better this way to keep calculus simple and prevent people getting points for giving blood transfusions to healthy players (and less humanity for only very small amounts of blood) //Pulled from pullrequest from ILoveBeans - if ( _humanityAwarded < 300 ) then { - _humanityAwarded = _humanityAwarded + 25 ; + if (_humanityAwarded < dayz_bloodBagHumanity) then { + _humanityAwarded = _humanityAwarded + 25; }; }; } else { @@ -188,8 +192,9 @@ while {r_doLoop} do { if (_blood >= r_player_bloodTotal or _bloodAmount == 0) then { diag_log format ["TRANSFUSION: completed blood transfusion successfully (_i = %1)", _i]; - //cutText [localize "str_actions_medical_transfusion_successful", "PLAIN DOWN"]; localize "str_actions_medical_transfusion_successful" call dayz_rollingMessages; + dayz_bloodBagHumanity = dayz_bloodBagHumanity / 2; //Diminish humanity reward for subsequent bloodbags. Resets to full reward after two minutes. + dayz_lastTransfusion = time; //see Note 1 //[player,_unit,"loc",rTITLETEXT,localize "str_actions_medical_transfusion_successful","PLAIN DOWN"] call RE; if (!_badBag and _bagFound) then { [_humanityAwarded,0] call player_humanityChange; }; @@ -200,7 +205,6 @@ while {r_doLoop} do { if (r_interrupt or !_isClose or _forceClose) then { diag_log format ["TRANSFUSION: transfusion was interrupted (r_interrupt: %1 | distance: %2 (%3) | _i = %4)", r_interrupt, player distance _unit, _isClose, _i]; - //cutText [localize "str_actions_medical_transfusion_interrupted", "PLAIN DOWN"]; localize "str_actions_medical_transfusion_interrupted" call dayz_rollingMessages; //see Note 1 //[player,_unit,"loc",rTITLETEXT,localize "str_actions_medical_transfusion_interrupted","PLAIN DOWN"] call RE; diff --git a/SQF/dayz_code/medical/wipes.sqf b/SQF/dayz_code/medical/wipes.sqf index a5f3698e..1fee083b 100644 --- a/SQF/dayz_code/medical/wipes.sqf +++ b/SQF/dayz_code/medical/wipes.sqf @@ -1,42 +1,22 @@ -private ["_started","_finished","_animState","_isMedic","_id","_unit"]; +private ["_finished","_unit"]; _unit = (_this select 3) select 0; + +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; + player removeMagazine "ItemAntibacterialWipe"; call fnc_usec_medic_removeActions; r_action = false; -if (vehicle player == player) then { - //not in a vehicle - player playActionNow "Medic"; -}; - -r_interrupt = false; -_animState = animationState player; -r_doLoop = true; -_started = false; -_finished = false; [player,"bandage",0,false] call dayz_zombieSpeak; -while {r_doLoop} do { - _animState = animationState player; - _isMedic = ["medic",_animState] call fnc_inString; - if (_isMedic) then { - _started = true; - }; - if (_started and !_isMedic) then { - r_doLoop = false; - _finished = true; - }; - if (r_interrupt) then { - r_doLoop = false; - }; - if (vehicle player != player) then { - sleep 3; - r_doLoop = false; - _finished = true; - }; - sleep 0.1; + +if (vehicle player == player) then { + _finished = ["Medic",1] call fn_loopAction; +} else { + uiSleep 3; + _finished = true; }; -r_doLoop = false; if (_finished) then { //["PVCDZ_hlt_Bandage",[_unit,player]] call broadcastRpcCallAll; @@ -52,8 +32,7 @@ if (_finished) then { player setVariable ["sepsisStarted", nil]; }; } else { - r_interrupt = false; - [objNull, player, rSwitchMove,""] call RE; - player playActionNow "stop"; player addMagazine "ItemAntibacterialWipe"; -}; \ No newline at end of file +}; + +dayz_actionInProgress = false; \ No newline at end of file diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml index 4db86777..fccd04e5 100644 --- a/SQF/dayz_code/stringtable.xml +++ b/SQF/dayz_code/stringtable.xml @@ -7,7 +7,7 @@ Agregar al Cinturón Přidat do nástrojů Placer à la ceinture - Zum Werkzeuggürtel hinzufügen + Zum Gürtel hinzufügen Voeg toe aan gereedschapsgordel @@ -34,7 +34,7 @@ Put out fire Погасить огонь - Feuer ausmachen + Feuer löschen Drop @@ -50,7 +50,7 @@ Sacar del Cinturón Odstranit z nástrojů Retirer de la ceinture - Vom Werkzeuggürtel abnehmen + Vom Gürtel abnehmen Verwijder van gereedschapsgordel @@ -167,14 +167,6 @@ Upéct jídlo Cuire la Nourriture - - Remove fireplace - Feuerstelle zerstören - Убрать костер - Remover Fogata - Retirer le Feu de camp - Odstranit ohniště - Pack Tent Zelt abbauen @@ -184,8 +176,8 @@ Zabalit stan - Fill FuelCan - Kraftstoffkanister füllen + Fill all fuel containers + Alle Kraftstoffbehälter füllen Наполнить канистры Rellene FuelCan remplissez FuelCan @@ -266,7 +258,7 @@ Give Painkillers Schmerzmittel verabreichen - Дать болеутоляющие + Дать болеутоляющее Dar Analgésicos Donner des Antidouleurs Dát Prášky proti bolesti @@ -295,7 +287,7 @@ You have taken antibiotics. Вы приняли антибиотики. - Du hast Antibiotika eingenommen. + Du hast Antibiotika eingenommen. You gave antibiotics. @@ -305,7 +297,7 @@ You have been knocked out. Вы оглушены. - Du bist ohnmächtig. + Du bist ohnmächtig. @@ -453,12 +445,12 @@ Перелить себе Utiliser la poche de sang Použít krevní vak - Blutkonserve benutzen + Blutkonserve benutzen Take blood Взять кровь - Blut entnehmen + Blut entnehmen Whole Blood: A+ @@ -584,14 +576,14 @@ Набор для переливания Kit de transfusion Transfúzní souprava - Transfusionsbesteck + Transfusionskit A blood transfusion kit that is required to perform blood transfusions and fill blood bags Медицинский набор, необходимый для переливания крови. Un kit de transfusion sanguine nécessaire pour transfuser un survivant ou remplir une poche de sang Jednorázová transfúzní souprava, jež je nutná při provádění krevních transfúzí a plnění krevních vaků. - Ein Transfusionsbesteck, um Bluttransfusionen durchzuführen und Blutkonserven zu füllen. + Ein Transfusionskit, um Bluttransfusionen durchzuführen und Blutkonserven zu füllen. Fill Blood Bag @@ -612,14 +604,14 @@ Еще ненаполненный пакет для крови Une poche de sang vide à remplir avec un kit de transfusion Prázdný krevní vak, jenž je možné naplnit vlastní krví s pomocí transfúzní soupravy. - Eine sterile leere Blutkonserve, die mit Blut befüllt werden muss. - + Eine sterile leere Blutkonserve, die mit Blut befüllt werden kann. + Missing Transfusion kit. Отсутствует набор для переливания. Kit de transfusion manquant Chybí transfúzní souprava. - Transfusionsbesteck fehlt. + Transfusionskit fehlt. The bag cannot be filled, there is not enough blood in the donor. @@ -646,7 +638,7 @@ Remove%1 (%2) - Демонтировать (%1 %2) + Демонтировать%1 (%2) Remover%1 (%2) Odstranit%1 (%2) Supprimer%1 (%2) @@ -656,7 +648,7 @@ Repair%1 (%2) Repariere %1 (%2) - Отремонтировать (%1 %2) + Отремонтировать%1 (%2) Reparar%1 (%2) Réparer%1 (%2) Opravit%1 (%2) @@ -682,6 +674,7 @@ You must get into the pilot's seat first. Du musst zuerst auf den Pilotensitz. + Сначала вы должны попасть на место пилота. To pilot's seat @@ -779,7 +772,7 @@ Transfusion failed. Missing Transfusion Kit! - Transfusion fehlgeschlagen! Transfusionsbesteck fehlt! + Transfusion fehlgeschlagen! Transfusionskit fehlt! Переливание отменено. Отсутствует набор для переливания! Transfúze selhala, chybí transfúzní souprava! @@ -800,17 +793,17 @@ Transfúze krve úspěšná. - The transfusion was interrupted! The blood bag has been lost. - Die Bluttransfusion wurde unterbrochen! Die Blutkonserve kann nicht weiter benutzt werden. - Переливание было прервано! Пакет крови потерян. - ¡La transfusión fue interrumpida! La bolsa de sangre se perdió. - La transfusion s'est interrompue! La poche de sang est perdue. + The transfusion was interrupted! + Die Bluttransfusion wurde unterbrochen! + Переливание было прервано! + ¡La transfusión fue interrumpida! + La transfusion s'est interrompue! Transfúze byla přerušena a krevní vak byl ztracen! You cannot enter a vehicle while dragging a body! Du kannst nicht einsteigen, während du einen Körper ziehst! - Нельзя сесть в транспорт, таская тело! + Нельзя сесть в транспорт таская тело! ¡No puedes entrar a un vehículo mientras arrastras un cuerpo! Vous ne pouvez pas entrer dans un véhicule lorsque vous traînez un corps! Do vozidla nelze nastoupit, pokud táhnete tělo! @@ -837,7 +830,6 @@ Hacken Rozsekat Hacker - Study Body @@ -849,7 +841,7 @@ Destroy %1 - %1 zerstören + %1 abbauen Уничтожить %1 Détruire %1 Zničit %1 @@ -871,7 +863,9 @@ Otočit %1 - Push %1 + Push Plane + Flugzeug schieben + Толкнуть Enable Stats @@ -929,7 +923,7 @@ Humanité Menschlichkeit - + Destroy Tent Уничтожить палатку Destruye Tent @@ -937,7 +931,7 @@ Détruisez Tente Zelt zerstören Vernietig Tent - + Rest Ausruhen @@ -1010,7 +1004,7 @@ Fill Water - Mit Wasser füllen + Wasser abfüllen Наполнить Cargar con Agua Remplir @@ -1131,20 +1125,11 @@ Création de %1 réussie Úspěšně jste vyrobili %1 - - Salvage already in progress. - La recuperación ya está en curso. - Демонтаж в процессе. - Demontáž již probíhá. - Récupération déjà en cours. - Die Demontage läuft bereits. - Reeds bezig met bergen. - You have destroyed %1 while attempting to remove from %2 Destruiste %1 al tratar de retirarlo del %2 - Вы уничтожили %1 в процессе демонтажа с %2 + Вы сломали %1 в процессе демонтажа с %2 %1 se vám při pokusu o demontáž z %2 podařilo úplně zničit. Vous avez détruit %1 lors tentative de retrait de %2 %1 wurde zerstört, als du versucht hast, %2 auszuschlachten. @@ -1258,7 +1243,7 @@ Ya estás pescando. Rybaření již probíhá. Vous êtes déjà en train de pêcher - Du angelst schon. + Du angelst bereits. Afmaken van creatie is al bezig. @@ -1269,15 +1254,6 @@ Siphonner le réservoir Treibstoff aus Tank abzapfen - - Siphon already in progress. - Сливаем топливо. - El sifón ya está en progreso. - Přečerpávání již probíhá. - Siphonnage en cours. - Der Treibstoff fließt bereits ab. - Reeds bezig met brandstofverplaatsing. - Preparing to siphon, stand still to fill %1. @@ -1291,7 +1267,7 @@ %1 has been drained for %2 litres of Fuel - Из %1 слито %2 литра топлива. + Из %1 слито %2л топлива. Se le sustrajo %2 litros de combustible al %1. Z %1 bylo přečerpáno %2 litrů paliva. Le %1 a été siphonné de %2 litres de carburant @@ -1309,12 +1285,14 @@ Deze %1 heeft niet voldoende brandstof. - %1 does not have enough fuel to fill jerry can(s). (Estimated %2 Liters left) - %1 hat nicht genug Treibstoff, um einen Benzinkanister komplett zu füllen.(Ungefähr %2 Liter übrig) + %1 does not have enough fuel to fill all containers. Estimated %2 litres left (You needed %3 litres) + %1 hat nicht genug Kraftstoff, um alle Kraftstoffbehälter zu füllen. Es sind noch ungefähr %2 Liter übrig. (Du brauchst %3 Liter) + %1 не имеет достаточного количества топлива для заполнения всех контейнеров. Осталось около %2л. (Вам нужно %3л) - You have filled %1 jerry can(s) with fuel. %2 has an estimated %3 Liters of fuel left. - %1 Benzinkanister wurde(n) erfolgreich mit Treibstoff befüllt. %2 hat noch ungefähr %3 Liter Treibstoff übrig. + You have filled %1 fuel container(s) with fuel. %2 has an estimated %3 litres of fuel left. + %1 Kraftstoffbehälter wurde(n) erfolgreich mit Kraftstoff befüllt. %2 hat noch ungefähr %3 Liter Kraftstoff übrig. + Заполнено контейнеров: %1. В %2 осталось примерно %3л топлива. Canceled siphon @@ -1357,6 +1335,11 @@ Vous pensez que vous avez besoin de ruban adhésif pour réparer la bouteille. Du könntest Klebeband gebrauchen, um die Flasche zu reparieren. + + Tear Clothes + Kleidung zerreißen + Порвать одежду + You didn't get anything out of tearing the clothes. Разорвав одежду вы ничего не получили. @@ -1367,7 +1350,7 @@ You managed to get yourself one set of rags from tearing the clothes. - Вам удалось получить себе один набор тряпок разорвав одежду. + Разорвав одежду вам удалось получить один набор тряпок. Se las arregló para conseguirse un conjunto de trapos se desgarre la ropa. Z roztrhaného oblečení jste získali jednu hromádku hadrů. Vous avez réussi à faire un chiffon de ces vêtements. @@ -1375,7 +1358,7 @@ You managed to get yourself two sets of rags from tearing the clothes. - Вам удалось получить себе два набора тряпок разорвав одежду. + Разорвав одежду вам удалось получить два набора тряпок. Se las arregló para conseguirse dos juegos de trapos se desgarre la ropa. Z roztrhaného oblečení jste získali dvě hromádky hadrů. Vous avez réussi à faire 2 chiffons de ces vêtements. @@ -1383,20 +1366,28 @@ You managed to get yourself three sets of rags from tearing the clothes. - Вам удалось получить себе три набора тряпок разорвав одежду. + Разорвав одежду вам удалось получить три набора тряпок. Se las arregló para conseguirse tres juegos de trapos se desgarre la ropa. Z roztrhaného oblečení jste získali tři hromádky hadrů. Vous avez réussi à faire 3 chiffons de ces vêtements. Du schaffst es, drei kleine Haufen Lumpen zurecht zu reißen. - You have no room left. Everything dropped on the ground. + You have no room left. Everything was dropped on the ground. У вас нет больше места. Все выпало на землю. No tienes izquierdo habitación. Todo dejó caer en el suelo. Nemáte dostatek místa. Vše bylo položeno na zem. Vous n'avez plus de place. Tout est tombé sur le sol. Du hast keinen Platz mehr und lässt alles auf den Boden fallen. + + %1 is already in your inventory. Dropping on the ground! + %1 ist bereits in deinem Inventar. Fallenlassen auf den Boden! + %1 уже в вашем инвентаре. Сброшено на землю! + %1 is al in je inventaris. Het laten vallen op de grond! + %1 est déjà dans votre inventaire. Déposer sur le terrain! + %1 je již ve vašem inventáři. Pád na zem! + A hose would be needed to do this. Для этого нужен шланг. @@ -1421,14 +1412,6 @@ Impossible de mettre le feu, pas de carburant. Ohne Benzin kannst du das nicht anzünden. - - This tent is already being set on fire. - Эта палатка уже горит. - Esta tienda de campaña ya está siendo incendiada. - Tento stan je již zapálen. - Cette tente est déjà en feu. - Das Zelt brennt schon. - Resting interrupted, proceeding to stand up. Отдых прерван, встаем... @@ -1454,7 +1437,7 @@ Cannot remove attachment. Не удалось снять модификацию. - Du kannst die Erweiterung nicht abnehmen. + Du kannst die Erweiterung nicht abnehmen. You seem to be missing a primary weapon! @@ -1517,7 +1500,7 @@ Whilst mining the handle breaks. - Кирка сломалась во время добычи + Кирка сломалась во время добычи. Během kopání se zlomila násada. Du schlägst zu und der Schaft der Spitzhacke bricht. @@ -1538,12 +1521,12 @@ You need a water bottle to sharpen objects. Нужна вода, чтобы заточить объект. - Du brauchst eine Wasserflasche um Objekte zu schärfen. + Du brauchst eine Wasserflasche, um Objekte zu schärfen. %1 has been sharpened. Заточено (%1) - %1 wurde geschärft. + %1 wurde geschärft. Disassemble done. @@ -1569,15 +1552,15 @@ You cannot do this while on a ladder or on water. Невозможно делать это, находясь на лестнице или в воде. - Du kannst das nicht machen so lange du auf einer Leiter oder im Wasser bist. + Du kannst das nicht machen so lange du auf einer Leiter oder im Wasser bist. Already building - Объект уже строться. + Объект уже стротся. La construction est déjà en cours Stavba již probíhá. - Du baust schon. + Du baust bereits. Maintenance done. @@ -1593,7 +1576,13 @@ Na tomto objektu nelze provádět údržbu. Dieses Objekt muss nicht gewartet werden. - + + You must be looking at the item to interact with it. + Вы должны смотреть на предмет, чтобы взаимодействовать с ним. + Vous devez également regarder l'élément avec lui. + Musíte se dívat na tento produkt příliš komunikovat s ním. + Sie müssen sich das Produkt anschauen, das auch mit ihm interagiert. + Unable to upgrade at this time Невозможно улучшить в данный момент @@ -1608,13 +1597,6 @@ Vylepšení dokončeno. Erweiterung durchgeführt. - - Object is already upgrading - Объект уже улучшается. - L'amélioration est déjà en cours - Objekt je právě vylepšován. - Dieses Objekt wird gerade erweitert. - Object has no upgrade option. Объект нельзя улучшить. @@ -1672,17 +1654,17 @@ Du hast %1 teilweise gefüllte %2 zu %3 %4 kombiniert. - You've combined %1 non-full %2(s) into %3 full %7.\nLast %6 still has %4 %5 inside. - Переснаряжено %3 полных (%7) из %1 неполных (%2).\nОставшийся (%6) содержит %4 %5. - Vous avez arrangé %1 %2s partiellement remplis en %3 %7 remplis.\nLe dernier %6 contient encore %4 %5. - Zkombinovali jste %1x neúplný %2 a nyní máte %3x plný %7.\n Zbývající %6 obsahuje %4x %5. + You've combined %1 non-full %2(s) into %3 full %7.<br/>Last %6 still has %4 %5 inside. + Переснаряжено %3 полных (%7) из %1 неполных (%2).<br/>Оставшийся (%6) содержит %4 %5. + Vous avez arrangé %1 %2s partiellement remplis en %3 %7 remplis.<br/>Le dernier %6 contient encore %4 %5. + Zkombinovali jste %1x neúplný %2 a nyní máte %3x plný %7.<br/> Zbývající %6 obsahuje %4x %5. Du hast %1 teilweise gefüllte %2 zu %3 %4 kombiniert. Das letzte %6 hat noch %4 %5. - You've combined %1 non-full %2(s) into one.\nYou have %3 %4 left + You've combined %1 non-full %2(s) into one.<br/>You have %3 %4 left Переснаряжено %1 неполных (%2) в один. Осталось %3 %4 - Vous avez arrangé 1 %2 à partir de %1 %2s partiellement remplis.\nIl vous reste %3 %4. - Zkombinovali jste %1x neúplný %2 dohromady.\nZbývá vám ještě %3x %4. + Vous avez arrangé 1 %2 à partir de %1 %2s partiellement remplis.<br/>Il vous reste %3 %4. + Zkombinovali jste %1x neúplný %2 dohromady.<br/>Zbývá vám ještě %3x %4. Du hast %1 teilweise gefüllte %2 zu einem kombiniert und hast %3 %4 übrig. @@ -1712,18 +1694,23 @@ Bauansicht deaktiviert. - %1 Maintenance - %1 Обслуживание - Entretien de la %1 - Údržba %1 - %1 - Wartung + Maintenance + Обслуживание + Entretien de la + Údržba + Wartung - %1 Disassembly - %1 Разборка - Démonter la %1 - Demontáž %1 - %1 abbauen + Disassembly + Разборка + Démonter la + Demontáž + abbauen + + + Unable to upgrade, too close to a vehicle. + Upgrade nicht möglich, ein Fahrzeug ist zu nah. + Невозможно улучшить, слишком близко к транспорту. Build %1 @@ -1733,11 +1720,11 @@ %1 bauen - Upgrade %1 - Улучшить %1 - Améliorer la %1 - Vylepšit %1 - %1 erweitern + Upgrade + Улучшить + Améliorer la + Vylepšit + erweitern Attach Carbomb @@ -1762,7 +1749,7 @@ Too much force has broken this Hatchet. Hopefully you find something to repair it. - Вы перестарались и сломали топор. Но скорее всего, вы найдете как его починить. + Вы перестарались и сломали топор. Но, скорее всего, вы найдете как его починить. Cette hache s'est cassée à force. En espérant que vous puissiez la réparer. Nadměrnou zátěží se topůrko této sekery zlomilo. Snad najdete něco, čím by se dala spravit. Rohe Kraft hat dieses Beil zerstört. Hoffentlich findest du etwas zum Reparieren. @@ -1775,7 +1762,7 @@ Too much force has broken this pickaxe. Hopefully you find something to repair it. - Вы перестарались и сломали кирку. Но скорее всего, вы найдете как ее починить. + Вы перестарались и сломали кирку. Но, скорее всего, вы найдете как ее починить. Nadměrnou zátěží se tento krumpáč zlomil. Snad najdete něco, čím by se dal spravit. Rohe Kraft hat diese Spitzhacke zerstört. Hoffentlich findest du etwas zum Reparieren. @@ -1787,7 +1774,7 @@ Too much force has broken this SledgeHammer. Hopefully you find something to repair it. - Вы перестарались и сломали кувалду. Но скорее всего, вы найдете как ее починить. + Вы перестарались и сломали кувалду. Но, скорее всего, вы найдете как ее починить. Nadměrnou zátěží se tato palice zlomila. Snad najdete něco, čím by se dala spravit. Rohe Kraft hat diesen Vorschlaghammer zerstört. Hoffentlich findest du etwas zum Reparieren. @@ -1821,14 +1808,14 @@ Missing %1 to upgrade building. - Для улучшения нужно иметь %1 + Для улучшения нужно иметь %1. Outil manquant pour l'amélioration: %1 Pro vylepšení budovy schází %1. %1 fehlt, um das Objekt zu erweitern. Missing %1 to upgrade building. - Для улучшения не хватает %1 + Для улучшения не хватает %1. Pièces manquantes pour l'amélioration: %1 Pro vylepšení budovy schází %1. %1 fehlt, um das Objekt zu erweitern. @@ -1842,28 +1829,28 @@ Missing tool: %1 to dissassemble building. - Для разборки нужно иметь: %1 + Для разборки нужно иметь %1. Outil manquant pour le démontage: %1 Pro demontáž budovy schází %1. %1 fehlt, um das Objekt abzubauen. Missing %1 to dissassemble building. - Для раборки не хватает %1 + Для разборки не хватает %1. Pièces manquantes pour le démontage: %1 Pro demontáž budovy schází %1. %1 fehlt, um das Objekt abzubauen. Missing tool: %1 for maintenance. - Для обслуживания нужно иметь: %1 + Для обслуживания нужно иметь %1. Outil manquant pour l'entretien: %1 Pro údržbu budovy schází %1. %1 fehlt, um das Objekt zu warten. Missing %1 for maintenance. - Для обслуживания не хватает %1 + Для обслуживания не хватает %1. Pièces manquantes pour l'entretien: %1 Pro údržbu budovy schází %1. %1 fehlt, um das Objekt zu warten. @@ -1995,7 +1982,7 @@ Blueprint used in crafting Du nutzt die Blaupause für die Herstellung. - Инструкции, используемый при создания предметов + Чертежи, используемые при создании предметов. Los planos son utilizados para construir. Fournit le mode opératoire pour créer des objets. Návod je používán při výrobě. @@ -2083,7 +2070,7 @@ Металлический прут, который может пригодиться в мастерской. Kovová tyč se používá při výrobě. Perche métallique (Artisanat) - Eine Metallstange. Kann beim Handwerken verwendet werden. + Eine Metallstange, die beim Handwerken verwendet wird. 6 Tent Poles @@ -2099,7 +2086,7 @@ 6 палаточных распорок, которые могут пригодиться в мастерской для создания палаток и масксетей. Šest stanových tyčí, jež lze využít při výrobě stanů a kamuflážních sítí. Perche métallique (Artisanat) - Sechs Zeltstangen aus Metall. Können beim Handwerken verwendet werden. + Sechs Zeltstangen aus Metall, die beim Handwerken verwendet werden. Small rubber tube @@ -2108,14 +2095,14 @@ Pequeña manguera de goma Petit tuyau souple Malá gumová hadice - + Rubber tube used in crafting. Manguera de goma que puede ser usada para crear objetos. Резиновая трубка, которая может пригодиться в мастерской. Gumová hadice se používá při výrobě. Tuyau flexible (Artisanat) - Ein kurzer Gummischlauch. Kann beim Handwerken verwendet werden. + Ein kurzer Gummischlauch, der beim Handwerken verwendet wird. Rats tail (fuse) @@ -2131,7 +2118,7 @@ Фитиль, который может пригодиться в мастерской. Knot se používá při výrobě. Mèche (Artisanat) - Eine Lunte. Kann beim Handwerken verwendet werden. + Eine Lunte, die beim Handwerken verwendet wird. Feathers @@ -2147,7 +2134,7 @@ Перья, которые могут пригодиться в мастерской. Peří se používá při výrobě. Nebo na lechtání. Plumes (Artisanat) - Vogelfedern. Können beim Handwerken verwendet werden. + Vogelfedern, die beim Handwerken verwendet werden. Pipe Cap @@ -2163,7 +2150,7 @@ Заглушка, которая может пригодиться в мастерской. Zátka se používá při výrobě. Plumes (Artisanat) - Eine Rohrkappe. Kann beim Handwerken verwendet werden. + Eine Rohrkappe, die beim Handwerken verwendet werden. Rail screws @@ -2207,7 +2194,7 @@ Some rope - Ein Stück Seil. + Ein kurzes Seil Прочная веревка. Alguna cuerda Une corde @@ -2256,7 +2243,7 @@ Ein Schalldämpfer. A Weapon Suppressor - Оружейный глушитель + Оружейный глушитель. Un silenciador Un silencieux Tlumič pro střelné zbraně @@ -2272,7 +2259,7 @@ Camo materials/Pattern Verschiedene Materialien und Farben zum Abtarnen von Ausrüstung. - Маскировочные материалы + Маскировочные материалы. Materiales de Camuflaje Du camouflage Materiál pro maskovací potisk na zbraně @@ -2303,7 +2290,7 @@ Some paint - Etwas alte Farbe. + Etwas Farbe. Немного краски. Un poco de pintura De la peinture @@ -2367,7 +2354,7 @@ A clean piece of sheet metal - Eine Metallplatte. Kann beim Handwerken verwendet werden. + Eine Metallplatte, die beim Handwerken verwendet wird. Чистый лист металла. Una lámina de metal Une plaque de métal @@ -2433,7 +2420,7 @@ Un pedazo de manguera en buen estado que podría ser usada para crear objetos. Un bout de tuyau d'arrosage en bon état (Artisanat) Kus hadice v dobrém stavu. Předmět lze použít při výrobě. - Ein Stück gut erhaltener Schlauch. Kann beim Handwerken verwendet werden. + Ein Stück gut erhaltener Schlauch, der beim Handwerken verwendet wird. Floppy Wire @@ -2562,7 +2549,7 @@ AA Battery - Batterie AA + AA-Batterie Батарейка АА Batería AA Pile de type AA @@ -2578,7 +2565,7 @@ D Battery - Batterie D + D-Batterie Батарейка D Batería D Pile de type D @@ -2629,7 +2616,7 @@ Напиток из смеси трав, который может помочь при инфекции. Nápoj smíchá s bylinkami, které mohou pomoci léčit infekci. Une boisson mélangée avec des herbes qui peuvent aider à guérir l'infection. - Ein Getränk aus Kräutern. Hilft bei Infektionen. + Ein Getränk aus Kräutern, welches bei Infektionen hilft. Herbal Drink @@ -2653,7 +2640,7 @@ Hojas de consuelda que pueden ser usadas para crear objetos. Kostival lékařský je léčivá bylina, jejíž listy jsou používány při výrobě. Feuilles de consoude officinale (Artisanat) - Einige Blätter vom Rauen Beinwell. Wirken schmerzlindernd und entzündungshemmend. + Einige Blätter vom rauen Beinwell, welche schmerzlindernd und entzündungshemmend wirken. Bandage @@ -2680,7 +2667,7 @@ Blueprint to create a Bandage. Required - 2 Rags, 2 gauze, 1 string. Tools Needed: ToolBox - Инструкция по созданию бинтов. Нужно: пара тряпок, пара марль, шнур и ящик с инструментами + Инструкция по созданию бинтов. Нужно: пара тряпок, пара марль, шнур и ящик с инструментами. Plano para crear Vendaje. Requerido: 2 trapos, 2 gasas, 1 hilo y Caja de Herramientas Plan de fabrication d'un Pansement. Requis : 2 Tissus, 2 Gazes, 1 Fil + Boîte à outils Návod pro vyrobení obvazu. Potřeba: 2x hadr, 2x gáza, 1x provázek a sada nástrojů @@ -2697,7 +2684,7 @@ Blueprint to create an Sepsis cure and Bandage. Required - 3 Rags, 2 gauze, 1 string, 2 Comfrey Leafs. Plano para crear un vendaje que combate la septicemia. Requerido: - 3 trapos, 2 gasas, 1 cuerda, 2 hojas de consuelda. - Инструкция по созданию антисептических бинтов. Нужно: три тряпки, пара марль, шнур и пара листков живокоста + Инструкция по созданию антисептических бинтов. Нужно: три тряпки, пара марль, шнур и пара листков живокоста. Návod pro vyrobení antiseptického obvazu. Potřeba: 3x hadr, 2x gáza, 1x provázek, 2x listy kostivalu. Plan de fabrication d'un pansement antiseptique. Requis: 3 tissus, 2 gazes, 1 ficelle, 2 consoudes. Blaupause für eine antiseptische Bandage. Gebraucht werden: 3x Lumpen, 2x Mullbinden, 1x Schnur, 2x Beinwellblätter. @@ -2718,160 +2705,6 @@ Plan de fabrication d'une Boussole. Requis : 1 rasoir, bouteille, bout de métal + Boîte à outils Blaupause für einen improvisierten Kompass. Gebraucht werden: 1x Wasserflasche, 1x Rasierer, 1x Altmetall, Werkzeugkasten. - - M4A1 AIM - M4A1 à viseur laser - M4A1 s CCO - - - Blueprint to create a M4A1_AIM. Required - 1 M4A1, 1 Attachment_AIM. - ToolBox - Инструкция по сборке M4A1 AIM с глушителем. Нужно: M4A1, прицел AIM и ящик с инструментами. - Plano para crear M4A1 AIM. Requerido: 1 M4A1, 1 AIM y Caja de Herramientas - Plan de fabrication d'une M4A1 à viseur laser. Requis : 1 M4A1, 1 Fixation viseur laser + Boîte à outils - Návod pro vyrobení M4A1 s CCO mířidlem. Potřeba: 1x M4A1, 1x CCO mířidlo a sada nástrojů. - Blaupause für eine M4A1 AIM. Gebraucht werden: 1x M4A1, 1x CCO Rotpunktvisier, Werkzeugkasten. - - - M4A1 HWS GL Camo - Камуфлированный M4A1 HWS GL - M4A1 HWS GL Kamufláž - M4A1 HWS GL Camouflage - M4A1 HWS GL Tarn - - - Blueprint to create a M4A1 HWS GL Camo. Required - 1 M4A1 HWS GL, 1 Attachment Camo. - ToolBox - Инструкция по сборке камуфлированного M4A1 HWS GL. Нужно: M4A1 HWS GL, камуфляж для оружия и ящик с инструментами. - Plano para crear M4A1 HWS GL Camo. Requerido: 1 M4A1 HWS GL, 1 Attachment Camo y Caja de Herramientas - Návod pro vyrobení M4A1 HWS GL Kamufláž. Potřeba: 1x M4A1 HWS GL, 1x maskovací potisk a sada nástrojů - Plan de fabrication d'une M4A1 holographique, lanceur de grenades, camouflage. Requis : 1 M4A1 HWS GL, 1 fixation camouflage + Boîte à outils - Blaupause für eine M4A1 HWS GL Tarn. Gebraucht werden: 1x M4A1 HWS GL, 1x Tarnmaterial, Werkzeugkasten. - - - M9 SD - M9 с глушителем - M9 Silenciada - M9 Silencieux - M9 s tlumičem - - - Blueprint to create a M9SD. Required - 1 M9, 1 Attachment_Silencer. - ToolBox - Инструкция по сборке M9 с глушителем. Нужно: M9, глушитель и ящик с инструментами. - Plano para crear una M9 Silenciada. Requerido: 1 M9, 1 silenciador y Caja de Herramientas - Plan de fabrication d'un M9 silencieux. Requis : 1 M9, 1 Fixation Silencieux + Boîte à outils - Návod pro vyrobení M9 s tlumičem. Potřeba: 1x M9, 1x tlumič a sada nástrojů. - Blaupause für eine M9 SD. Gebraucht werden: 1x M9, 1x Schalldämpfer, Werkzeugkasten. - - - Makarov SD - ПМ с глушителем - Makarov Silencieux - Makarov s tlumičem - Makarow SD - - - Blueprint to create a MAKAROVSD. Required - 1 MAKAROV, 1 Attachment_Silencer. - ToolBox - Инструкция по сборке ПМ с глушителем. Нужно: ПМ, глушитель и ящик с инструментами. - Planos para crear una Makarov Silenciada. Requerido: 1 Makarov, 1 Silenciador y Caja de Herramientas. - Plan de fabrication d'un Makarov silencieux. Requis : 1 Makarov, 1 Fixation Silencieux + Boîte à outils - Návod pro vyrobení Makarov s tlumičem. Potřeba: 1x Makarov, 1x tlumič a sada nástrojů. - Blaupause für eine Makarow SD. Gebraucht werden: 1x Makarow, 1x Schalldämpfer, Werkzeugkasten. - - - BizonSD - Бизон с глушителем - Bizon Silencieux - Bizon s tlumičem - Bizon SD - - - Blueprint to create a BizonSD. Required - 1 Bizon, 1 Attachment_Silencer. - ToolBox - Инструкция по сборке Бизона с глушителем. Нужно: Бизон, глушитель и ящик с инструментами. - Plano para crear una Bizon Silenciada. Requerido: 1 Bizon, 1 Silenciador y Caja de Herramientas - Plan de fabrication d'un Bizon silencieux. Requis : 1 Bizon, 1 Fixation Silencieux + Boîte à outils - Návod pro vyrobení Bizon s tlumičem. Potřeba: 1x Bizon, 1x tlumič a sada nástrojů. - Blaupause für eine Bizon SD. Gebraucht werden: 1x Bizon, 1x Schalldämpfer, Werkzeugkasten. - - - SVD CAMO - Камуфлированный СВД - SVD Camuflado - SVD Camouflage - SVD s maskovacím potiskem - SVD Tarn - - - Blueprint to create a SVD_CAMO. Required - 1 SVD, 1 Attachment_CAMO, 1 Skin_Camo1_DZ. - ToolBox - Инструкция по камуфлированию СВД. Нужно: СВД, камуфляж для оружия и ящик с инструментами. - Plano para crear un SVD Camuflado. Requerido: 1 SVD, 1 Camuflaje, 1 Skin_Camo1_DZ y Caja de Herramientas - Plan de fabrication d'un SVD Camouflage. Requis : 1 SVD, 1 Fixation Camouflage, 1 tenue de camouflage + Boîte à outils - Návod pro vyrobení SVD s maskovacím potiskem. Potřeba: 1x SVD, 1x maskovací potisk, 1x hejkal a sada nástrojů - Blaupause für eine SVD Tarn. Gebraucht werden: 1x SVD, 1x Tarnmaterial, 1x Tarnmaterial, Werkzeugkasten. - - - M4A1_Aim_CAMO - Камуфлированный M4A1 AIM - M4A1 AIM Camuflado - M4A1 à viseur laser et Camouflage - M4A1 s CCO a maskovacím potiskem - M4A1 AIM Tarn - - - Blueprint to create a M4A1_Aim_CAMO. Required - 1 M4A1_Aim, 1 Attachment_CAMO. - ToolBox - Инструкция по перекраске M4A1 AIM. Нужно: M4A1 AIM, камуфляж для оружия и ящик с инструментами. - Plano para crear M4A1 AIM Camuflado. Requerido: 1 M4A1 AIM, 1 Camuflaje y Caja de Herramientas - Plan de fabrication d'un M4A1 à viseur laser et Camouflage. Requis : 1 M4A1 à viseur laser, 1 Fixation Camouflage + Boîte à outils - Návod pro vyrobení M4A1 s mířidlem a maskovacím potiskem. Potřeba: 1x M4A1 s CCO, 1x maskovací potisk a sada nástrojů - Blaupause für eine M4A1 AIM Tarn. Gebraucht werden: 1x M4A1 AIM, 1x Tarnmaterial, Werkzeugkasten. - - - G36C CAMO - Камуфлированный G36C - G36C Camuflada - G36C Camouflage - G36C s maskovacím potiskem - G36C Tarn - - - Blueprint to create a G36C_CAMO. Required - 1 G36C, 1 Attachment_CAMO. - ToolBox - Инструкция по перекраске G36C. Нужно: G36C, камуфляж для оружия и ящик с инструментами. - Plano para crear G36C Camuflada. Requerido: 1 G36C, 1 Camuflaje y Caja de Herramientas - Plan de fabrication d'un G36C Camouflage. Requis : 1 G36C, 1 Fixation Camouflage + Boîte à outils - Návod pro vyrobení G36C s maskovacím potiskem. Potřeba: 1x G36C, 1x maskovací potisk a sada nástrojů - Blaupause für eine G36C CAMO. Gebraucht werden: 1x G36C, 1x Attachment_CAMO, Werkzeugkasten. - - - G36A CAMO - Камуфлированный G36A - G36A Camuflado - G36A Camouflage - G36A s maskovacím potiskem - G36A Tarn - - - Blueprint to create a G36A_CAMO. Required - 1 G36A, 1 Attachment_CAMO. - ToolBox - Инструкция по перекраске G36A. Нужно: G36A, камуфляж для оружия и ящик с инструментами. - Plano para crear G36A Camuflada. Requerido: 1 G36A, 1 Camuflaje y Caja de Herramientas - Plan de fabrication d'un G36A Camouflage. Requis : 1 G36A, 1 Fixation Camouflage + Boîte à outils - Návod pro vyrobení G36A s maskovacím potiskem. Potřeba: 1x G36A, 1x maskovací potisk a sada nástrojů - Blaupause für eine G36A Tarn. Gebraucht werden: 1x G36A, 1x Tarnmaterial, Werkzeugkasten. - - - G36K_CAMO - Камуфлированный G36K - G36K Camuflado - G36K Camouflage - G36K s maskovacím potiskem - G36K Tarn - - - Blueprint to create a G36K_CAMO. Required - 1 G36K, 1 Attachment_CAMO. - ToolBox - Инструкция по перекраске G36K. Нужно: G36K, камуфляж для оружия и ящик с инструментами. - Plano para crear G36K Camuflada. Requerido: 1 G36K, 1 Camuflaje y Caja de Herramientas - Plan de fabrication d'un G36K Camouflage. Requis : 1 G36K, 1 Fixation Camouflage + Boîte à outils - Návod pro vyrobení G36K s maskovacím potiskem. Potřeba: 1x G36K, 1x maskovací potisk a sada nástrojů - Blaupause für eine G36K Tarn. Gebraucht werden: 1x G36K, 1x Tarnmaterial, Werkzeugkasten. - - Herbal Drink bebida Herbal @@ -3098,7 +2931,7 @@ [A] Suppressor - [М] глушитель + [М] Глушитель Silenciador (Accesorio) Silencieux (Fixation) Příslušenství - Tlumič @@ -3115,7 +2948,7 @@ Remove Suppressor Снять глушитель - Schalldämpfer entfernen + Schalldämpfer entfernen [A] PSO @@ -3151,7 +2984,7 @@ [A] GL - [М] подствольник + [М] Подствольник GL (Accesorio) GL (Fixation) Příslušenství - granátomet @@ -3167,7 +3000,7 @@ [A] Camo (M4) - [М] камуфляж (M4) + [М] Камуфляж (M4) Camuflaje (Accesorio) Camouflage (Fixation) Příslušenství - kamufláž pro M4 @@ -3215,7 +3048,7 @@ [A] Ammo belt - [М] патронташ (Мосинка) + [М] Патронташ (Мосинка) Příslušenství - nábojový pás [E] Munitionsgürtel @@ -3251,7 +3084,7 @@ [A] Flashlight - [М] фонарик + [М] Фонарик Příslušenství - baterka [E] Taschenlampen-Erweiterung @@ -3263,7 +3096,7 @@ [A] Scoped Sight - [М] прицел + [М] Прицел Příslušenství - puškohled [E] Zielfernrohr-Erweiterung @@ -3303,7 +3136,7 @@ [A] Silencer (SCAR) [М] ПБС (SCAR) Příslušenství - tlumič pro SCAR - [E] SCAR Schalldämpfer + [E] SCAR Schalldämpfer A silencer that can be attached to SCAR CQC. @@ -3315,7 +3148,7 @@ [A] Silencer (MP5) [М] 9мм глуш. (MP5) Příslušenství - tlumič pro MP5 - [E] MP5 Schalldämpfer + [E] MP5 Schalldämpfer A silencer that can be attached to MP5A5. @@ -3325,7 +3158,7 @@ [A] Scope (M14) - [М] прицел (M14) + [М] Прицел (M14) Příslušenství - dalekohled pro M14 [E] M14 Zielfernrohr @@ -3353,7 +3186,7 @@ Collapsible spade used together with the engineering backpack to create field defences - Ein Klappspaten. Wird beim Verschanzen und für viele Bautätigkeiten benötigt. + Ein Klappspaten, der beim Verschanzen und für viele Bautätigkeiten benötigt wird. Саперная лопатка используется вместе с инженерным ранцем для создания оборонительных сооружений. Una pala plegable usada para crear defensas en el campo. Une pelle démontable permettant de construire des éléments de défense. @@ -3369,12 +3202,22 @@ A shovel is a tool for digging, lifting, and moving bulk materials. - Eine Schaufel. Man kann damit Löcher graben. + Eine Schaufel, mit welcher man Löcher graben kann. Лопата — ручной инструмент для работы (копание, расчистка, перенос) с грунтом. Una pala es una herramienta usada para cavar. Oui une pelle c'est fait pour creuser. Lopata se používá hlavně pro kopání děr. + + Broken Shovel + Kaputte Schaufel + Сломанная лопата + + + Too much force has broken this Shovel. Hopefully you find something to repair it. + Rohe Kraft hat diese Schaufel zerstört. Hoffentlich findest du etwas zum Reparieren. + Слишком много сил было приложено к этой лопате. Возможно вы найдете что-нибудь, чтобы её починить. + Toolbox Werkzeugkasten @@ -3386,7 +3229,7 @@ Toolbox that can be used for repairing damaged vehicles and equipment. Eine Kiste mit Werkzeugen, die zum Reparieren beschädigter Fahrzeuge und Ausrüstung verwendet werden können. - Набор инструментов используется для ремонта поврежденной техники и снаряжения а так же установки укреплений. + Набор инструментов используется для ремонта поврежденной техники и снаряжения, а также установки укреплений. La caja de herramientas puede ser usada para reparar vehículos y equipamiento dañado. Boîte à outils servant à réparer le matériel et les véhicules. Sada nástrojů se používá pro opravy poškozených vozidel a vybavení. @@ -3463,22 +3306,22 @@ Zbývá 1 zápalka. Udržujte z dosahu dětí. Eine Schachtel mit noch einem Sicherheitszündholz. Von Kindern fernhalten. - - Empty Box of Matches + + Empty Box of Matches Leere Schachtel Streichhölzer Пустой коробок спичек Prázdná krabička zápalek Caja vacía de Resultados Boîte d'allumettes vide - - - Empty Box of safety matches. + + + Empty Box of safety matches. Eine leere Schachtel Streichhölzer. Абсолютно пустой коробок спичек. Выбрасывайте! Smutná krabička bez zápalek. Bude vám zima. Caja vacía de Resultados Boîte d'allumettes vide - + Box of safety matches for starting a fire under controlled conditions. Eine Schachtel Sicherheitszündhölzer. Von Kindern fernhalten. @@ -3511,7 +3354,7 @@ Your knife appears to be too blunt. (Maybe 4 uses Left). - Похоже, нож тупится. Осталось 4 использованийя. + Похоже, нож тупится. Осталось 4 использования. Tento nůž je tupý. Půjde ho použít ještě asi tak čtyřikrát. Dein Messer scheint stumpf zu werden. (Vielleicht noch 4 Anwendungen möglich) @@ -3816,7 +3659,7 @@ Painkillers Schmerzmittel - Болеутоляющие + Болеутоляющее Analgésicos Antalgiques Prášky proti bolesti @@ -3824,7 +3667,7 @@ A moderate painkiller suitable for regular use of relief of pain and inflammation caused by moderate wounds. Ein Schmerzmittel zum Stillen von Schmerzen und Entzündungen durch mittelschwere Wunden. - Слабое болеутоляющие отлично подходит для подавления боли от небольших ранений. + Слабое болеутоляющее отлично подходит для подавления боли от небольших ранений. Un analgésico moderado adecuado para uso regular de alivio del dolor y la inflamación causada por heridas moderadas. Un antidouleur léger permettant de soulager les petites blessures de tous les jours. Klasické prášky proti bolesti pro běžné používání proti aktuální bolesti, například migréně. @@ -3854,7 +3697,7 @@ Box of medicinal herbs - Коробка лекарственных трав + Коробка лекарственных трав. Krabice plná nejrůznějších léčivých rostlin. Sen každé babky kořenářky. Eine Schachtel mit medizinischen Kräutern. @@ -3893,7 +3736,7 @@ Cooked Meat Gebratenes Fleisch - Жаренное мясо + Жареное мясо Carne Cocinada Viande cuite Upečené maso @@ -3901,7 +3744,7 @@ Meat Steak that has been cooked at a fireplace and can be consumed for sustenance. Ein Stück Fleisch, das über Feuer gut durchgebraten wurde. - Кусок жаренного на огне мяса. + Кусок жареного на огне мяса. Currasco de carne que fue cocinado en una fogata y puede ser consumido. Viande cuite au feu de bois. En manger vous fera reprendre des forces. Toto maso bylo upečeno a může být konzumováno. @@ -4037,7 +3880,7 @@ An aluminum can containing a tasty carbonated beverage full of sugar, artificial flavors, and preservatives. Eine Alumniumdose, voll mit einem köstlichen, kohlensäurehaltigen Getränk voller Zucker, künstlicher Aromen und Konservierungsmittel. - Алюминиевая банка со вкусным газированным напитком с сахаром, искусственными ароматизаторами и консервантами. + Алюминиевая банка с вкусным газированным напитком с сахаром, искусственными ароматизаторами и консервантами. Una lata de aluminio que contenía una deliciosa bebida carbonatada y ahora no contiene nada. Une canette en alu, contenant un breuvage goutu composé de sucre, d'arômes artificiels et de conservateurs. Hliníková plechovka, která obsahuje chutný sycený nápoj plný cukru, umělých příchutí a konzervačních látek. @@ -4177,7 +4020,7 @@ Split into 4x5 (M24) Разд. на 4х5 (М24) - In 4x5 (M24) aufteilen + In 4x5 (M24) aufteilen @@ -4211,7 +4054,7 @@ Split into 4x2 rnd Разд. на 4x2 п. - In 4x2 Schuss aufteilen + In 4x2 Schuss aufteilen Road Flare @@ -4435,7 +4278,7 @@ A sledgehammer is a tool with a large, flat, often metal head, attached to a lever. - Ручной ударный инструмент (двуручный молот), предназначенный для нанесения исключительно сильных ударов при обработке металла, на демонтаже и монтаже конструкций. + Ручной ударный инструмент (двуручный молот), предназначенный для нанесения исключительно сильных ударов при обработке металла, при демонтаже и монтаже конструкций. Nástroj s dlouhou násadou a obvykle kovovou hlavicí. Großer, schwerer Hammer. @@ -4487,7 +4330,7 @@ An agricultural tool turned into a weapon, the Machete may be less versatile than the common hatchet, but it packs a punch. - Сельскохозяйственный инструмент, превращенный в оружие. Не такой повседневный, как топор, но весьма мощный. + Сельскохозяйственный инструмент, превращенный в оружие. Не такой универсальный, как топор, но весьма мощный. Una herramienta agrícola transformada en un arma. El machete puede ser menos versátil que un hacha común pero pega con fürza. Původně zbraň pro zahradničení. Nemá tolik využití jako sekera, ale proti zombie poslouží stejně dobře. Un outil agricole qui peut être utilisé comme une arme. La machette est moins versatile que la hache mais plus tranchante. @@ -4660,8 +4503,6 @@ Makarov SD ПМ с глушителем - Makarov SD - Makarov SD Makarov s tlumičem Makarow SD @@ -4967,7 +4808,7 @@ Cooked Meat to be used for sustenance. Ein Stück Fleisch, das über Feuer gut durchgebraten wurde. - Жареное мясо, готовая к употреблению. + Жареное мясо, готовое к употреблению. Carne Cocinada que se utilizará para sobrevivir. La Viande Cuite peut être consommée. Opečené maso může být snězeno, abyste přežili. @@ -4991,7 +4832,7 @@ Chicken Leg Gebratene Hühnchenkeule - Жареный куриный окрочек + Жареный куриный окорочок Pata de Pollo Poulet grillé Opečené kuřecí @@ -4999,7 +4840,7 @@ Chicken Leg to be used for sustenance. Eine Hühnchenkeule, die über Feuer gut durchgebraten wurde. - Жареный куриный окрочек, готовый к употреблению. + Жареный куриный окорочок, готовый к употреблению. Pata de Pollo que se utilizará para sobrevivir. La cuisse de poulet peut être consommée. Kuřecí stehno může být snědeno, abyste přežili. @@ -5130,7 +4971,7 @@ Syrový mořčák mořský, který vám přidá až 400 krve. Un bar cru (valeur:400). Ein Wolfsbarsch, kann roh verzehrt werden. - + Steelhead (Cooked) Форель (жареная) @@ -5225,14 +5066,14 @@ Une Bouteille remplie d'eau bouillie qui peut être consommée. Láhev plná převařené vody, kterou lze vypít. - - Water Bottle (Broken) + + Water Bottle (Broken) Wasserflasche (undicht) Бутылка (испорчена) Láhev na vodu (děravá) - - - Broken Water Bottle, Can no longer be used for fluids. + + + Broken Water Bottle, Can no longer be used for fluids. Прохудившаяся бутылка. Не может больше содержать жидкости. Děravá láhev na vodu. Nelze použít, dokud nebude spravena. Eine undichte Wasserflasche, die repariert werden muss. @@ -5271,7 +5112,7 @@ Soda (Mountain Green) - Limonade + Dose (Mountain Green) Газировка Gaseosa Sodovka @@ -5286,7 +5127,7 @@ Soda (R4ZOR) - Limonade + Dose (R4ZOR) Газировка Gaseosa Sodovka @@ -5301,7 +5142,7 @@ Soda (Iced Tea) - Eistee + Dose (Eistee) Холодный чай Gaseosa (Té Helado) Nápoj (Ledový čaj) @@ -5316,7 +5157,7 @@ Soda (Grape) - Limonade (Traube) + Dose (Traubenlimonade) Газировка (Грейпфрут) Gaseosa (Uva) Soda (Raisin) @@ -5332,7 +5173,7 @@ Soda (Cola) - Cola + Dose (Dr. Wasteland Cola) Газировка (Кола) Gaseosa (Cola) Nápoj (Kola) @@ -5347,7 +5188,7 @@ Soda (Orange) - Limonade (Orange) + Dose (Orangelimonade) Газировка (Апельсин) Gaseosa (Naranja) Nápoj (Pomeranč) @@ -5362,7 +5203,7 @@ Soda (Lemonade) - Limonade + Dose (Mikhail) Газировка (Лимонад) Gaseosa (Limonada) Soda (Limonade) @@ -5378,7 +5219,7 @@ Soda (Cola) - Cola + Dose (Lirikola) Газировка (Кола) Fernet con Coca Nápoj (Kola) @@ -5393,7 +5234,7 @@ Soda (Root Beer) - Limonade (Root Beer) + Dose (Root Beer) Пиво (Корневое пиво) Cerveza de Raíz Bière (Root Beer) @@ -5409,7 +5250,7 @@ Soda (mZLY yZLY) - Limonade + Dose (mZLY yZLY) Газировка Gaseosa Sodovka @@ -5424,7 +5265,7 @@ Soda (Cola) - Cola + Dose (Peppsy Cola) Газировка (Кола) Gaseosa (Cola) Nápoj (Kola) @@ -5439,7 +5280,7 @@ Beer - Bier + Dose (Bier) Пиво Cerveza Bière @@ -5455,7 +5296,7 @@ Soda (Sacrite) - Limonade + Dose (Sacrite) Газировка Gaseosa Sodovka @@ -5470,7 +5311,7 @@ Soda (Rocket Fuel) - Limonade + Dose (Rocket Fuel) Газировка Gaseosa Sodovka @@ -5485,7 +5326,7 @@ Soda (Sparkling Grape) - Limonade + Dose (Pampelmusenlimonade) Газировка Gaseosa Sodovka @@ -5501,12 +5342,12 @@ Sherbet (Cold drink) Шербет (Напиток) - Limonade + Dose (Sherbet) - Sharbet, a traditional Middle Eastern cold drink prepared with rose hips, cornelian cherries, rose or licorice and a variety of spices. + Sherbet, a traditional Middle Eastern cold drink prepared with rose hips, cornelian cherries, rose or licorice and a variety of spices. Традиционный напиток в странах Востока, приготавливаемый из шиповника, кизила, розы или лакрицы и различных специй. - Sherbet, ein kaltes traditionelles Getränk aus dem Mittlerer Osten mit Hagebutten, Kornelkirschen oder Lakritze und einer Vielzahl an Gewürzen. + Sherbet, ein kaltes traditionelles Getränk aus dem Mittlerer Osten mit Hagebutten, Kornelkirschen oder Lakritze und einer Vielzahl an Gewürzen. MRE @@ -5722,7 +5563,7 @@ A clean, unopened tin can of Papa's 'Green Sea Sprats'. Product of Chernarus. Eine saubere, ungeöffnete Dose "Grünmeersprotten" von "Papas". Hergestellt in Chernarus. - Чистая, закрытая банка шпротов "Papa's Green Sea Sprats". Произведено в Чернаруси. + Чистая, закрытая банка шпрот "Papa's Green Sea Sprats". Произведено в Чернаруси. Una limpia y cerrada lata de Papa's 'Green Sea Sprats'. Producto de Chernarus. Une boite d'anchois vert-marine en bon état. Produit à Chernarus. Čistá a ještě neotevřená plechovka 'Green Sea Sprats'. Vyrobeno v Černarusi. @@ -5730,7 +5571,7 @@ Can (Stroganoff) Dose (Boef Stroganoff) - Банка (Бефстроганы) + Банка (Бефстроганов) Lata (Bife Stroganoff) Conserve (Boeuf Strogonoff) Plechovka (Stroganoff) @@ -5814,7 +5655,7 @@ Lata (Granos de Maíz) Conserve (Maïs) Plechovka (Kukuřice) - + A clean, unopened can of Conrad's whole kernel corn. Eine saubere, ungeöffnete Dose "Conrads ganze Kerne"-Mais. @@ -5834,7 +5675,7 @@ A clean, unopened can of Curgon's chicken noodle soup. Eine saubere, ungeöffnete Dose "Curgons" Hühnersuppe. - Чистая, закрытая банка куринного супа "Curgon". + Чистая, закрытая банка куриного супа "Curgon". Una limpia y cerrada lata de sopa de pollo con fideos "Curgon". Une boîte intacte de soupe de nouilles au poulet "Curgon". Čistá a ještě neotevřená plechovka kuřecí nudlové polévky značky Curgon. @@ -5962,7 +5803,7 @@ A clean, unopened tin can. The label is missing. Eine saubere, ungeöffnete Dose. Das Etikett ist abgerissen. - Чистая, закрытая банка непонятно с че����. Наклейка утеряна. + Чистая, закрытая банка непонятно с чем. Наклейка утеряна. Una limpia y cerrada lata sin etiqueta. Une boîte intacte. L'étiquette est manquante. Čistá a ještě neotevřená plechovka, údaje nejsou čitelné. Překvapení šéfkuchaře. @@ -6114,17 +5955,17 @@ Kosmos Smokes Сигареты "Космос" - Kosmos Zigaretten + Kosmos Zigaretten One Pack of Kosmos Brand cigarettes. Пачка сигарет "Космос". - Eine Packung Kosmos Zigaretten. + Eine Packung Kosmos Zigaretten. One Opened Pack of Kosmos Brand cigarettes. Открытая пачка сигарет "Космос". - Eine offene Packung Kosmos Zigaretten. + Eine offene Packung Kosmos Zigaretten. Fuelcan (5L) @@ -6482,7 +6323,7 @@ A Wooden splint that can be used to brace a broken leg. - Шина из дерева для фиксации сломанных конечностей. + Шина из дерева для фиксации сломанных конечностей. Dřevěná dlaha, která se bude hodit na zafixování zlomené nohy. Eine Holzschiene, mit der ein gebrochenes Bein geschient werden kann. @@ -6587,7 +6428,7 @@ Vous ne pouvez pas replier cette tente, elle ne vous appartient pas. Tento stan nemůžete zabalit, jelikož není váš. - + You have successfully destroyed a tent. Du hast das Zelt erfolgreich zerstört. Вы успешно уничтожили палатку. @@ -6595,38 +6436,6 @@ Vous avez réussi à détruire une tente. Úspěšně jste zničili stan. - - You have pitched your tent - Du hast das Zelt erfolgreich aufgeschlagen. - Вы установили палатку. - Asentaste tu carpa. - Vous avez installé votre tente. - Postavili jste stan. - - - You cannot place a Tent here. The area must be flat, and free of other objects - Du kannst hier kein Zelt aufbauen, da der Untergrund nicht flach und frei von Hindernissen ist. - Палатку нужно ставить на ровную поверхность, без объектов поблизости. - No puedes asentar tu carpa aquí. El área debe ser plana y libre de otros objetos. - Vous ne pouvez pas placer de tente ici. Le sol doit être plat et dégagé. - Stan zde nelze postavit. Plocha musí být rovná a dostatečně veliká. - - - You have created a %1. - Du hast eine %1 hergestellt. - Вы соорудили %1. - Acabaste de crear: %1. - Vous avez créé un(e) %1. - Vyrobili jste %1. - - - You cannot place a %1 here. The area must be flat, and free of other objects. - %1 kann hier nicht angelegt werden. Der Untergrund muss flach und frei von Hindernissen sein. - Нельзя установить %1 тут. Поверхность должна быть ровной, без объектов поблизости. - No puedes ubicar una %1 aquí. El área debe ser plana y libre de otros objetos. - Vous ne pouvez pas placer un(e) ici, le sol doit être plat et dégagé. - Tady nelze postavit %1. Země musí být plochá a bez jiných objektů, které by mohly bránit stavbě. - You ate %1. Du hast %1 gegessen. @@ -6699,14 +6508,6 @@ Vous ne pouvez pas faire de feu de camp ici. Le sol doit être plat et dégagé. Ohniště zde nelze postavit. Plocha musí být rovná a dostatečně veliká. - - Fireplace has been removed - Die Feuerstelle wurde abgebaut. - Костер убран. - La fogata fue removida. - Le feu de camp a été retiré. - Ohniště bylo odstraněno. - %1 has been gutted, %2 meat steaks now on the carcass Du hast das Tier (%1) ausgenommen. Vom verbleibenden Fleisch kannst du %2 Stücke abschneiden. @@ -6742,13 +6543,13 @@ You have boiled %1 bottles with water. Du hast %1 Flasche(n) mit Wasser abgekocht. - Наполнено чистой кипяченой водой бутылок: %1 + Наполнено чистой кипяченой водой бутылок: %1 Llenaste %1 cantimplora(s) con agua Vous avez rempli %1 Bouteille(s) avec de l'eau. Naplnili jste převařenou vodou %1 láhve. - You have no empty water bottles + You have no empty water bottles. Du hast keine leeren Wasserflaschen. У вас нет пустых бутылок. No tienes cantimploras vacías @@ -6797,8 +6598,8 @@ Naplnili jste palivem %1 kanystry. - You have no empty jerry cans - Du hast keine leeren Kanister. + You have no empty fuel containers. + Du hast keinen leeren Kraftstoffbehälter. У вас нет пустых канистр. No tienes bidones vacíos Vous n'avez pas de jerrican vide. @@ -6885,7 +6686,7 @@ Installation abgeschlossen, bitte warten... - Date and Time not Synced Disconnect. + Date and Time not Synced, Disconnect and try again. Datum und Zeit sind nicht synchronisiert. Verbindung wird getrennt! Дата и время не синхронизированы. Отключение. Fecha y Hora no sincronizada. Desconectando. @@ -6940,7 +6741,7 @@ Charakterdaten vom Server erhalten - Player Already Dead, disconnect and try again! + Player is already dead, disconnect and try again! Игрок уже мертв! Отключитесь и попробуйте снова! Vous êtes déjà mort, essayez encore! Hráč je mrtev, odhlašte se a zkuste znovu! @@ -6982,7 +6783,7 @@ Lese die Missionsdatei... - You must be near a water-source such as a pond, or well, or watering hole, to refill your water bottles + You must be near a water source such as a pond, well or watering hole to refill your water bottles. Du musst dich in der Nähe einer Wasserquelle befinden, um Wasserflaschen zu füllen. Halte Ausschau nach einem Teich oder Brunnen! Вы должны находиться возле водоема или источника воды, чтобы наполнить свои фляги. Necesitas estar cerca de una fuente de agua como un pozo para rellenar tu cantimplora @@ -7025,7 +6826,6 @@ You have finished collecting wood. Вы закончили рубку дров. Du hast erfolgreich Holz gesammelt. - You have finished collecting wood. Vous avez terminé de faire du bois. Nasekali jste dřevo. @@ -7080,7 +6880,7 @@ %1 must be on your person to move it to/from your toolbelt. %1 muss sich in deinem Inventar befinden, damit du es an den Werkzeuggürtel hängen kannst. - Для перемещения с/на пояс, (%1) должен быть у вас. + Для перемещения с/на пояс, %1 должен быть у вас. %1 debe estar en tu persona para moverlo hacia/desde el cinturon. %1 doit être sur vous pour pouvoir le déplacer de/vers votre ceinture à outils. %1 musí být v invetáři, aby se mohl přesunout z/do panelu nástrojů. @@ -7117,11 +6917,6 @@ V blízkosti nejsou žádné skály. Es befinden sich keine Felsen in der Nähe. - - Mining already in progress! - Добыча в процессе! - Du bist bereits dabei etwas abzubauen! - Cannot add %1 to back. No se pudo agregar %1 a la espalda. @@ -7131,10 +6926,9 @@ %1 kann nicht auf den Rücken genommen werden. - %1 must be in your main inventory to %2 it. %1 muss sich in deinem Inventar befinden, um es zu %2. - Чтобы %2, (%1) должен находиться в основном инвентаре. + Чтобы %2, %1 должен находиться в основном инвентаре. Debes tener un %1 en tu inventario principal para %2. %1 doit être dans votre inventaire principal pour pouvoir le %2 %1 musí být ve vašem hlavním inventáři pro %2. @@ -7142,19 +6936,11 @@ To build %1 you require %2. Um %1 herzustellen, brauchst du %2. - Чтобы построить (%1), вам нужен (%2). + Чтобы построить %1, вам нужен %2. Para crear un %1 necesitas %2. Pour construire un(e) %1, il vous faut : %2. Abyste mohli postavit %1, potřebujete: %2. - - To build a stash site you require %1. - Um eine Lagergrube auszuheben, brauchst du %1. - Чтобы соорудить схрон, вам нужны (%1). - Para crear un escondite necesitas %1. - Pour construire une planque, il vous faut %1. - Abyste postavili skrýš, je potřeba %1. - build построить @@ -7253,6 +7039,23 @@ Her name was %1, it appears she died from %2 + Ihr Name war %1, anscheinend starb sie %2 + Её звали %1, похоже что она умерла от %2 + + + %1 committed suicide + %1 beging Selbstmord + %1 покончил с собой + + + %1 died from %2 + %1 starb %2 + %1 умер от %2 + + + %1 was killed by %2 with a %3 from %4m + %1 wurde von %2 mit einer %3 von %4m getötet + %1 был убит игроком %2 с %3 с расстояния %4м @@ -9725,6 +9557,10 @@ M4A1 FL M4A1 Ф + + M4A1 MFL + M4A1 вФ + M4A1 SD M4A1 ПБС @@ -9733,6 +9569,10 @@ M4A1 SD FL M4A1 ПБС Ф + + M4A1 SD MFL + M4A1 ПБС вФ + M4A1 M203 @@ -9740,6 +9580,10 @@ M4A1 M203 FL M4A1 M203 Ф + + M4A1 M203 MFL + M4A1 M203 вФ + M4A1 M203 SD M4A1 M203 ПБС @@ -9748,6 +9592,10 @@ M4A1 M203 SD FL M4A1 M203 ПБС Ф + + M4A1 M203 SD MFL + M4A1 M203 ПБС вФ + M4A1 CCO @@ -9756,6 +9604,10 @@ M4A1 CCO FL M4A1 CCO Ф + + M4A1 CCO MFL + M4A1 CCO вФ + M4A1 CCO SD M4A1 CCO ПБС @@ -9764,6 +9616,10 @@ M4A1 CCO SD FL M4A1 CCO ПБС Ф + + M4A1 CCO SD MFL + M4A1 CCO ПБС вФ + M4A1 M203 CCO @@ -9771,6 +9627,10 @@ M4A1 M203 CCO FL M4A1 M203 CCO Ф + + M4A1 M203 CCO MFL + M4A1 M203 CCO вФ + M4A1 M203 CCO SD M4A1 M203 CCO ПБС @@ -9779,6 +9639,10 @@ M4A1 M203 CCO SD FL M4A1 M203 CCO ПБС Ф + + M4A1 M203 CCO SD MFL + M4A1 M203 CCO ПБС вФ + M4A1 Holo @@ -9787,6 +9651,10 @@ M4A1 Holo FL M4A1 Holo Ф + + M4A1 Holo MFL + M4A1 Holo вФ + M4A1 Holo SD M4A1 Holo ПБС @@ -9795,6 +9663,10 @@ M4A1 Holo SD FL M4A1 Holo ПБС Ф + + M4A1 Holo SD MFL + M4A1 Holo ПБС вФ + M4A1 M203 Holo @@ -9802,6 +9674,10 @@ M4A1 M203 Holo FL M4A1 M203 Holo Ф + + M4A1 M203 Holo MFL + M4A1 M203 Holo вФ + M4A1 M203 Holo SD M4A1 M203 Holo ПБС @@ -9810,6 +9686,10 @@ M4A1 M203 Holo SD FL M4A1 M203 Holo ПБС Ф + + M4A1 M203 Holo SD MFL + M4A1 M203 Holo ПБС вФ + M4A1 ACOG @@ -9818,6 +9698,10 @@ M4A1 ACOG FL M4A1 ACOG Ф + + M4A1 ACOG MFL + M4A1 ACOG вФ + M4A1 ACOG SD M4A1 ACOG ПБС @@ -9826,6 +9710,10 @@ M4A1 ACOG SD FL M4A1 ACOG ПБС Ф + + M4A1 ACOG SD MFL + M4A1 ACOG ПБС вФ + M4A1 M203 ACOG @@ -9833,6 +9721,10 @@ M4A1 M203 ACOG FL M4A1 M203 ACOG Ф + + M4A1 M203 ACOG MFL + M4A1 M203 ACOG вФ + M4A1 M203 ACOG SD M4A1 M203 ACOG ПБС @@ -9841,6 +9733,10 @@ M4A1 M203 ACOG SD FL M4A1 M203 ACOG ПБС Ф + + M4A1 M203 ACOG SD MFL + M4A1 M203 ACOG ПБС вФ + @@ -9850,6 +9746,10 @@ M16A4 FL M16A4 Ф + + M16A4 MFL + M16A4 вФ + M16A4 CCO @@ -9857,6 +9757,10 @@ M16A4 CCO FL M16A4 CCO Ф + + M16A4 CCO MFL + M16A4 CCO вФ + M16A4 Holo @@ -9864,6 +9768,10 @@ M16A4 Holo FL M16A4 Holo Ф + + M16A4 Holo MFL + M16A4 Holo вФ + M16A4 ACOG @@ -9871,6 +9779,10 @@ M16A4 ACOG FL M16A4 ACOG Ф + + M16A4 ACOG MFL + M16A4 ACOG вФ + @@ -9880,6 +9792,10 @@ M16A4 M203 FL M16A4 M203 Ф + + M16A4 M203 MFL + M16A4 M203 вФ + M16A4 M203 CCO @@ -9887,6 +9803,10 @@ M16A4 M203 CCO FL M16A4 M203 CCO Ф + + M16A4 M203 CCO MFL + M16A4 M203 CCO вФ + M16A4 M203 Holo @@ -9894,6 +9814,10 @@ M16A4 M203 Holo FL M16A4 M203 Holo Ф + + M16A4 M203 Holo MFL + M16A4 M203 Holo вФ + M16A4 M203 ACOG @@ -9901,6 +9825,10 @@ M16A4 M203 ACOG FL M16A4 M203 ACOG Ф + + M16A4 M203 ACOG MFL + M16A4 M203 ACOG вФ + @@ -10020,7 +9948,7 @@ Light machine gun<br/>Caliber: 7.62x39mm Легкий пулемет<br/>Калибр: 7.62x39мм - Leichtes Maschinengewehr<br/>Kaliber: 7.62x39mm + Leichtes Maschinengewehr<br/>Kaliber: 7.62x39mm RPK Kobra @@ -10043,6 +9971,10 @@ SA-58 RIS FL SA-58 РСИ Ф + + SA-58 RIS MFL + SA-58 РСИ вФ + SA-58 CCO @@ -10050,6 +9982,10 @@ SA-58 CCO FL SA-58 CCO Ф + + SA-58 CCO MFL + SA-58 CCO вФ + SA-58 Holo @@ -10057,6 +9993,10 @@ SA-58 Holo FL SA-58 Holo Ф + + SA-58 Holo MFL + SA-58 Holo вФ + SA-58 ACOG @@ -10064,6 +10004,10 @@ SA-58 ACOG FL SA-58 ACOG Ф + + SA-58 ACOG MFL + SA-58 ACOG вФ + @@ -10149,6 +10093,10 @@ G17 FL G17 Ф + + G17 MFL + G17 вФ + G17 SD G17 ПБС @@ -10157,6 +10105,10 @@ G17 SD FL G17 ПБС Ф + + G17 SD MFL + G17 ПБС вФ + @@ -10166,7 +10118,7 @@ PM SD ПМ ПБС - + @@ -10219,7 +10171,7 @@ La Remington Modelo 870 es una escopeta de acción a bombeo con una linterna militar como accesorio. Le modèle Remington 870 est un fusil à pompe avec une torche militaire. Remington 870 je opakovací brokovnice. Lze na ni připevnit vojenskou baterku. - + Remington 870 FL Ремингтон 870 Ф @@ -10228,14 +10180,22 @@ Remington 870 (+Torche) Remington 870 (baterka) + + Remington 870 MFL + Ремингтон 870 вФ + Remington 870 mit militärischer Taschenlampe + Remington 870 (Linterna) + Remington 870 (+Torche) + Remington 870 (baterka) + The Remington Model 870 is a pump-action shotgun. This weapon has a torch attached. - Die Remington Model 870 ist eine Vorderschaftrepetierflinte mit einer fest installierten Taschenlampe. + Die Remington Model 870 ist eine Vorderschaftrepetierflinte mit einem Taschenlampenaufsatz. Ремингтон Модель 870 - помповый дробовик. На данный экземпляр установлен фонарик. La Remington Modelo 870 es una escopeta de acción a bombeo con una linterna como accesorio. Le modèle Remington 870 est un fusil à pompe avec une lampe torche. Remington 870 je opakovací brokovnice. Tato má navíc připevněnou baterku. - + @@ -10249,7 +10209,7 @@ A double-barreled shotgun is a shotgun with two parallel barrels, allowing two shots to be fired in quick succession. Eine Schrotflinte mit zwei parallel montierten Läufen, die in schneller Folge abgefeuert werden können. - Двуствольные ружья употребляются почти исключительно в качестве охотничьих. + Двуствольные ружья почти всегда используются в качестве охотничьих. Una escopeta de doble barril permite disparar dos tiros en un corto periodo de tiempo. Fusil doté de 2 canons parallèles, permettant de tirer 2 coups rapprochés. Dvouhlavňová brokovnice je brokovnice s dvěma hlavněmi vedle sebe, což umožnuje vystřelit dvakrát hned za sebou. @@ -10267,7 +10227,7 @@ Winchester Model 1866 – was originally chambered for the rimfire .44 Henry. Nicknamed the "Yellow Boy" because of its receiver of a bronze/brass alloy. Винчестер модели 1866 был приспособлен под патрон .44 Henry. Его называли "Yellow Boy" из-за цвета бронзово-медного сплава приемника. - Das Winchester Modell 1866 wurde ursprünglich für Rimfire .44 Henry gebaut. Die Winchester wird auch "Yellow Boy" genannt, da die Legierung des Verschlusskastens aus Bronze und Messing bestehen. + Das Winchester Modell 1866 wurde ursprünglich für Rimfire .44 Henry gebaut. Die Winchester wird auch "Yellow Boy" genannt, da die Legierung des Verschlusskastens aus Bronze und Messing bestehen. @@ -10327,6 +10287,10 @@ Mosin Nagant FL Мосинка Ф + + Mosin Nagant MFL + Мосинка вФ + Mosin Nagant Belt Мосинка П @@ -10335,6 +10299,10 @@ Mosin Nagant Belt FL Мосинка П Ф + + Mosin Nagant Belt MFL + Мосинка П вФ + Mosin Nagant PU Мосинка ПУ @@ -10343,6 +10311,10 @@ Mosin Nagant PU FL Мосинка ПР Ф + + Mosin Nagant PU MFL + Мосинка ПР вФ + Mosin Nagant PU Belt Мосинка ПР П @@ -10351,6 +10323,10 @@ Mosin Nagant PU Belt FL Мосинка ПР П Ф + + Mosin Nagant PU Belt MFL + Мосинка ПР П вФ + Bolt-action military rifle developed by the Imperial Russian Army in 1891.<br/>Caliber: 7.62x54mmR Магазинная винтовка, принятая на вооружение Русской Императорской армии ВС России в 1891 году. @@ -10368,6 +10344,11 @@ Арбалет Ф Armbrust FL + + Crossbow MFL + Арбалет вФ + Armbrust MFL + Crossbow CCO Арбалет CCO @@ -10378,6 +10359,11 @@ Арбалет CCO Ф Armbrust CCO FL + + Crossbow CCO MFL + Арбалет CCO вФ + Armbrust CCO MFL + Crossbow Scoped Арбалет ПР @@ -10388,6 +10374,11 @@ Арбалет ПР Ф Armbrust mit Zielfernrohr FL + + Crossbow Scoped MFL + Арбалет ПР вФ + Armbrust mit Zielfernrohr MFL + @@ -10410,7 +10401,7 @@ 30Rnd. PDW SD mag. 30п. PDW глуш. маг. - + 30Rnd. PDW mag. 30п. PDW маг. @@ -10444,7 +10435,7 @@ 7Rnd. 1911 mag. 7п. 1911 маг. - + 6Rnd. revolver ammo 6п. для револьвера @@ -10499,7 +10490,7 @@ 100Rnd. M240 belt 100п. M240 лента - + 100Rnd. PK belt 100п. ПК лента @@ -10512,23 +10503,23 @@ Tranquilizer bolt Болт (транквилизатор) - Tranquilizer Bolzen + Tranquilizer Bolzen Crossbow bolt fitted with a sedative injector. Used to safely capture large animals. Арбалетный болт с усыпляющей инъекцией. Используется для захвата крупных животных. - Armbrust Bolzen mit Beruhigungsmittel Injektor. Gut um große Tier sicher zu fangen. + Armbrust Bolzen mit Beruhigungsmittel Injektor. Gut um große Tier sicher zu fangen. Explosive bolt Болт (взрывчатка) - Explosiv Bolzen + Explosiv Bolzen Crossbow bolt fitted with an explosive head. Арбалетный болт с зарядом взрывчатки. РЭМБО! - Armbrust Bolzen mit einem explosiven Kopf. + Armbrust Bolzen mit einem explosiven Kopf. @@ -10538,7 +10529,7 @@ Caliber: 7.62x54mm<br/>Rounds: 50<br/>Used in: UK-59 Калибр: 7.62x54мм<br/>Патронов: 50<br/>Используется в: UK-59 - Kaliber: 7.62x54mm<br/>Schuss: 50<br/>Benutzt in: UK-59 + Kaliber: 7.62x54mm<br/>Schuss: 50<br/>Verwendet in: UK-59 @@ -10548,7 +10539,7 @@ Caliber: 7.62x39mm<br/>Rounds: 75<br/>Used in: RPK Калибр: 7.62x39мм<br/>Патронов: 75<br/>Используется в: РПК - Kaliber: 7.62x39mm<br/>Schuss: 75<br/>Benutzt in: RPK + Kaliber: 7.62x39mm<br/>Schuss: 75<br/>Verwendet in: RPK @@ -10572,16 +10563,16 @@ Caliber: 7.62x54mmR<br/>Rounds: 5<br/>Used in: Mosin Nagant Калибр: 7.62x54mmR<br/>Патронов: 5<br/>Используется в: Мосинка - Kaliber: 7.62x54mmR<br/>Schuss: 5<br/>Benutzt in: Mosin Nagant + Kaliber: 7.62x54mmR<br/>Schuss: 5<br/>Verwendet in: Mosin Nagant 5Rnd. CZ 550 mag. 5п. CZ 550 маг. - + Caliber: 9,3x62mm<br/>Rounds: 5<br/>Used in: CZ 550 Калибр: 9,3x62мм<br/>Патронов: 5<br/>Используется в: CZ 550 - Kaliber: 9,3x62mm<br/>Schuss: 5<br/>Benutzt in: CZ 550 + Kaliber: 9,3x62mm<br/>Schuss: 5<br/>Verwendet in: CZ 550 10Rnd. Lee Enfield mag. @@ -10594,12 +10585,12 @@ 15 Rondas. Balas para 1866 15 balles pour 1866 15 náb. 1866 kulky - + Caliber: 11x23mm<br/>Rounds: 15<br/>Used in: Winchester 1866 Калибр: 11x23мм<br/>Патронов: 15<br/>Используется в: Винчестер 1866 - Kaliber: 11x23mm<br/>Schuss: 15<br/>Benutzt in: Winchester 1866 - + Kaliber: 11x23mm<br/>Schuss: 15<br/>Verwendet in: Winchester 1866 + 2Rnd. 12 Cal. Slug @@ -10632,7 +10623,7 @@ Calibre: 12<br/>Munitions: 2<br/>Pour: M1014, Remington 870, Fusil à 2 coups Ráže: 12<br/>Munice: 2<br/>Pro: M1014, Remington 870, Dvouhlavňová brokovnice Kaliber 12 Schrotmunition<br/>2<br/>Verwendet in: M1014, Remington 870, Doppelläufige Schrotflinte - + 8Rnd. 12 Cal. Slug 8п. 12к (пуля) @@ -10664,31 +10655,31 @@ Calibre: 12<br/>Munitions: 8<br/>Pour: M1014, Remington 870 Ráže: 12<br/>Munice: 8<br/>Pro: M1014, Remington 870 Kaliber 12 Schrotmunition<br/>8<br/>Verwendet in: M1014, Remington 870 - + Attach to primary Установить на осн. - An Primärwaffe anbringen + An Primärwaffe anbringen Attach to secondary Установить на доп. - An Sedundärwaffe anbringen + An Sedundärwaffe anbringen [A] 9mm Suppressor [М] 9мм глушитель - [E] 9mm Schalldämpfer + [E] 9mm Schalldämpfer 9mm Sound suppressor ПБС для калибра 9мм - 9mm Schalldämpfer + 9mm Schalldämpfer @@ -10702,13 +10693,13 @@ ПБС для пистолета Макарова. Tlumič, používá se pro vylepšení pistole Makarov. Ein Schalldämpfer, der an eine Makarov angebracht werden kann. - + [A] 9mm silencer (Bizon) [М] 9мм глуш. (Бизон) Příslušenství - tlumič pro Bizon - [E] Bizon Schalldämpfer + [E] Bizon Schalldämpfer A silencer that can be attached to Bizon. @@ -10721,75 +10712,75 @@ [A] 5.56mm Suppressor [М] 5.56мм глушитель - [E] 5.56mm Schalldämpfer + [E] 5.56mm Schalldämpfer 5.56mm Sound suppressor ПБС для калибра 5.56мм - 5.56mm Schalldämpfer + 5.56mm Schalldämpfer [A] 5.45mm Suppressor [М] 5.45мм глушитель - [E] 5.45mm Schalldämpfer + [E] 5.45mm Schalldämpfer 5.45mm Sound suppressor ПБС для калибра 5.45мм - 5.45mm Schalldämpfer + 5.45mm Schalldämpfer [A] M68 CCO [М] M68 CCO - [E] M68 CCO + [E] M68 CCO - CompM2 Close Combat Optic<br/>Manufactured by Swedish Aimpoint AB. + CompM2 Close Combat Optic<br/>Manufactured by Swedish Aimpoint AB. Aimpoint CompM2 — компактный прицел для стрелкового оружия<br/>Произведен шведской компанией Aimpoint AB. - CompM2 Close Combat Optic<br/>Hergestellt von Swedish Aimpoint AB. + CompM2 Close Combat Optic<br/>Hergestellt von Swedish Aimpoint AB. Remove CCO Снять CCO - Entferne CCO + Entferne CCO [A] EOTech 553 HWS [М] EOTech 553 HWS - [E] EOTech 553 HWS + [E] EOTech 553 HWS Holographic Weapon Sight<br/>Manufactured by American EOTech Inc. Голографический прицел для стрелкового оружия<br/>Произведен американской компанией EOTech Inc. - Holografisches Waffenvisier<br/>Hergestellt von American EOTech Inc. + Holografisches Waffenvisier<br/>Hergestellt von American EOTech Inc. Remove Holo Снять Holo - Entferne Holo + Entferne Holo [A] TA31A ACOG [М] TA31A ACOG - [E] TA31A ACOG + [E] TA31A ACOG Advanced Combat Optical Gunsight<br/>Manufactured by American Trijicon Inc. Армейский оптический прицел для ведения огня из стрелкового оружия на среднюю дальность<br/>Произведен американской компанией Trijicon Inc. - Advanced Combat Optical Gunsight<br/>Hergestellt von American Trijicon Inc. + Advanced Combat Optical Gunsight<br/>Hergestellt von American Trijicon Inc. Remove ACOG Снять ACOG - Entferne ACOG + Entferne ACOG @@ -10806,30 +10797,30 @@ Remove Kobra Снять Кобру - Entferne Kobra + Entferne Kobra [A] PSO-1 Scope - [М] прицел ПСО-1 - [E] PSO-1 Zielfernrohr + [М] Прицел ПСО-1 + [E] PSO-1 Zielfernrohr Telescopic sight manufactured in Russia by the Novosibirsk instrument-making factory. Прицел снайперский оптический — один из основных прицелов советского и российского снайперского вооружения. - Zielfernrohr hergestellt in Russland von der Novosibirsk instrument-making factory. + Zielfernrohr hergestellt in Russland von der Novosibirsk instrument-making factory. Remove PSO-1 Снять ПСО-1 - Entferne PSO-1 + Entferne PSO-1 [A] M203 grenade launcher - [М] подствольник M203 + [М] Подствольник M203 [E] M203 Granatwerfer @@ -10840,121 +10831,150 @@ Remove M203 Снять M203 - Entferne M203 + Entferne M203 [A] GP-25 grenade launcher - [М] подствольник ГП-25 + [М] Подствольник ГП-25 [E] GP-25 Granatwerfer Under-barrel grenade launcher - 40-мм подствольный гранатомёт, разработанный в период 1972—1978 годов в Тульском оружейном заводе. + 40-мм подствольный гранатомёт, разработанный в период 1972—1978 годов в Тульском оружейном заводе. 40mm Unterlaufgranatwerfer für GP-25 Granaten. Remove GP-25 Снять ГП-25 - Entferne GP-25 + Entferne GP-25 [A] Rifle flashlight - [М] оружейный фонарь + [М] Оружейный фонарь [E] Gewehr Taschenlampe Rail-attachable rifle flashlight - Фонарь для установки на основное оружие + Фонарь для установки на основное оружие. Taschenlampenaufsatz für Gewehre. Remove Flashlight Снять фонарь - Entferne Taschenlampe + Entferne Taschenlampe + + + + + [A] Military rifle flashlight + [М] Военный оружейный фонарь + [E] Militärische Gewehr Taschenlampe + + + Rail-attachable military rifle flashlight + Военный фонарь для установки на основное оружие. + Militärischer Taschenlampenaufsatz für Gewehre. [A] Pistol flashlight - [М] пистолетный фонарь - [E] Pistolen Taschenlampe + [М] Пистолетный фонарь + [E] Pistolen Taschenlampe Rail-attachable pistol flashlight - Фонарь для установки на пистолеты - Taschenlampenaufsatz für Pistolen. + Фонарь для установки на пистолеты. + Taschenlampenaufsatz für Pistolen. Remove Flashlight Снять фонарь - Entferne Taschenlampe + Entferne Taschenlampe + + + + + [A] Military pistol flashlight + [М] Военный пистолетный фонарь + [E] Militärische Pistolen Taschenlampe + + + Rail-attachable military pistol flashlight + Военный фонарь для установки на пистолеты. + Militärischer Taschenlampenaufsatz für Pistolen. [A] Small camo netting - [М] малый камуфляж - [E] Kleines Tarnnetz + [М] Малый камуфляж + [E] Kleines Tarnnetz Assorted pieces of camo netting. Might be used to camouflage something small. Разнообразные части камуфляжной сетки. Можно использовать для маскировки чего-нибудь небольшого. - Schmales Tarnnetz, gut um etwas Kleines abzudecken. + Schmales Tarnnetz, gut um etwas Kleines abzudecken. Remove Ghillie Снять камуфляж - Entferne Tarnnetz + Entferne Tarnnetz [A] PU-Scope - [М] прицел ПУ - [E] PU-Zielfernrohr + [М] Прицел ПУ + [E] PU-Zielfernrohr Standard issue Soviet sniper scope during World War II.<br/>Magnification: 3.5x Советский оптический прицел, изначально созданный в 1940 году<br/>Кратность: 3.5х22 - Standard Zielfernrohr der sowjetischen Scharfschützen im Zweiten Weltkrieg.<br/>Vergrößerung: 3.5x + Standard Zielfernrohr der sowjetischen Scharfschützen im Zweiten Weltkrieg.<br/>Vergrößerung: 3.5x Remove Scope Снять прицел - Entferne Zielfernrohr + Entferne Zielfernrohr [A] Cartridge holder - [М] патронташ - [E] Patronenhalter + [М] Патронташ + [E] Patronenhalter Holds cartridges for easier access. Can be attached to the stock of a rifle. Обеспечивает хранение и быстрый доступ к магазинам. Может быть прикреплен к прикладу. - Für den schnelleren Zugriff auf Munition beim Nachladen. Kann an den Gewehrkolben abgebracht werden. + Für den schnelleren Zugriff auf Munition beim Nachladen. Kann an den Gewehrkolben abgebracht werden. Remove belt Снять патр. - Entferne Patronenhalter + Entferne Patronenhalter [A] SA-58 RIS [М] SA-58 РСИ - [E] SA-58 RIS + [E] SA-58 RIS A Rail Integration System kit designed for the SA-58 assault rifle. Комплект рельсовой системы интеграции разработанной для SA-58 - Ein Rail Integration System Kit designt für das SA-58 Sturmgewehr. + Ein Rail Integration System Kit designt für das SA-58 Sturmgewehr. + + + Remove RIS + Снять RIS + Entferne RIS diff --git a/SQF/dayz_code/system/BIS_Effects/airdestruction.sqf b/SQF/dayz_code/system/BIS_Effects/airdestruction.sqf index e4dfc47a..923aad46 100644 --- a/SQF/dayz_code/system/BIS_Effects/airdestruction.sqf +++ b/SQF/dayz_code/system/BIS_Effects/airdestruction.sqf @@ -1,27 +1,27 @@ -private ["_fl","_sm","_expl","_dr","_tv","_i","_wave","_splash","_velz","_v","_int","_t","_pos"]; - +private ["_fl", "_sm"]; _v=_this select 0; _int = (fuel _v)*(8+random 2); _t=time; -if (!isDedicated) then { //dw, particle stuff don't need run on dedicated - -_fl = "#particlesource" createVehicleLocal getPosATL _v; -_fl attachto [_v,[0,0,0],"destructionEffect2"]; -_fl setParticleRandom [0.3, [1, 1, 0], [0, 0, 0], 0, 0.3, [0, 0, 0, 0], 0, 0]; -_fl setParticleParams [["\Ca\Data\ParticleEffects\Universal\Universal", 16, 10, 32], "", "Billboard", 1, 2, "destructionEffect2", - [0, 0, 5], 0, 10, 7.9, 0.075, [4,7,9,10], [[1, 1, 1, -1], [1, 1, 1, -1], - [1, 1, 1, -1], [1, 1, 1, -0.5], [1, 1, 1, -0]], [1,0.5], 1, 0, "", "", _v]; -_fl setDropInterval 1; - -_sm = "#particlesource" createVehicleLocal getPosATL _v; -_sm attachto [_v,[0,0,0],"destructionEffect1"]; -_sm setParticleRandom [2, [2, 2, 0], [0, 0, 0], 0, 0.3, [0, 0, 0, 0.1], 0, 0]; -_sm setParticleParams [["\Ca\Data\ParticleEffects\Universal\Universal", 16, 7, 48], "", "Billboard", 1, 5, "destructionEffect1", - [0, 0, 5], 0, 10, 7.9, 0.075, [4,8,12,14], [[0.3, 0.3, 0.3, 1], - [0.45, 0.45, 0.45, 1],[0.6, 0.6, 0.6, 0.6], [0.7, 0.7, 0.7, 0.25], [1, 1, 1, 0]], [0.8,0.3,0.25], 1, 0, "", "", _v]; -_sm setDropInterval 1; - +// No explosion CorePatch flag +_no_explosion = getNumber(configFile >> "CfgVehicles" >> typeOf _v >> "NoDestructionExplosion_CP") > 0; + +if !(isDedicated) then { //dw, particle stuff don't need run on dedicated + _fl = "#particlesource" createVehicleLocal getpos _v; + _fl attachto [_v,[0,0,0],"destructionEffect2"]; + _fl setParticleRandom [0.3, [1, 1, 0], [0, 0, 0], 0, 0.3, [0, 0, 0, 0], 0, 0]; + _fl setParticleParams [["\Ca\Data\ParticleEffects\Universal\Universal", 16, 10, 32], "", "Billboard", 1, 2, "destructionEffect2", + [0, 0, 5], 0, 10, 7.9, 0.075, [4,7,9,10], [[1, 1, 1, -1], [1, 1, 1, -1], + [1, 1, 1, -1], [1, 1, 1, -0.5], [1, 1, 1, -0]], [1,0.5], 1, 0, "", "", _v]; + _fl setDropInterval 1; + + _sm = "#particlesource" createVehicleLocal getpos _v; + _sm attachto [_v,[0,0,0],"destructionEffect1"]; + _sm setParticleRandom [2, [2, 2, 0], [0, 0, 0], 0, 0.3, [0, 0, 0, 0.1], 0, 0]; + _sm setParticleParams [["\Ca\Data\ParticleEffects\Universal\Universal", 16, 7, 48], "", "Billboard", 1, 5, "destructionEffect1", + [0, 0, 5], 0, 10, 7.9, 0.075, [4,8,12,14], [[0.3, 0.3, 0.3, 1], + [0.45, 0.45, 0.45, 1],[0.6, 0.6, 0.6, 0.6], [0.7, 0.7, 0.7, 0.25], [1, 1, 1, 0]], [0.8,0.3,0.25], 1, 0, "", "", _v]; + _sm setDropInterval 1; }; // end of dedicated check _i=0; @@ -31,115 +31,83 @@ _tv=11; //Remove weapons/ammo to prevent explosion. Script will create its own explosions (doesnt work?) removeallweapons _v; -if((local _v) AND (_v isKindOf"Air") )then{ - _expl=createVehicle["HelicopterExploSmall",(getPosATL _v),[],0,"CAN_COLLIDE"]; -}; -if (!isDedicated) then { //dw, particle stuff don't need run on dedicated -while {_i <1200 && ((velocity _v select 2)<-20 || (getPosATL _v select 2)>8) && !(alive _v) && !(isnull _v) && (getPosATL _v select 2)>1} do -{ -_tv=abs(velocity _v select 0)+abs(velocity _v select 1)+abs(velocity _v select 2); -if (_tv>2) then {_dr=1/_tv} else {_dr=1}; -_fl setDropInterval _dr; -_sm setDropInterval _dr; -_i=_i+1; -sleep 0.2; +if (local _v && !_no_explosion) then { // Sa-Matra: Small explosion regardless of where vehicle landed + _trig = "EmptyDetector" createVehicleLocal [0,0,0]; + _trig setTriggerArea [0,0,0,false]; + _trig setVariable ["obj", _v]; + _trig setTriggerStatements [" + _v = thisTrigger getVariable [""obj"", objNull]; + createVehicle [""HelicopterExploSmall"", getPos _v, [], 0, ""CAN_COLLIDE""] setPosATL getPosATL _v; + deleteVehicle thisTrigger; + ", "", ""]; }; -}; // end of dedicated check -_pos=getPosATL _v; -clearVehicleInit _v; +while {_i <1200 && ((velocity _v select 2)<-20 || (getpos _v select 2)>8) && !(alive _v) && !(isnull _v) && (getpos _v select 2)>1} do { + if(!isDedicated) then { // particle stuff is not needed on dedicated + _tv=abs(velocity _v select 0)+abs(velocity _v select 1)+abs(velocity _v select 2); + if (_tv>2) then {_dr=1/_tv} else {_dr=1}; + _fl setDropInterval _dr; + _sm setDropInterval _dr; + }; + _i=_i+1; + sleep 0.2; +}; -if (!isDedicated) then { //dw, particle stuff don't need run on dedicated -deletevehicle _fl;deletevehicle _sm; +if !(isDedicated) then { //dw, particle stuff don't need run on dedicated + deletevehicle _fl; + deletevehicle _sm; }; // end of dedicated check -if (surfaceiswater(_pos) && (_pos select 2)<9 ) then -{ -if (!isDedicated) then { //dw, particle stuff don't need run on dedicated - _wave = "#particlesource" createVehicleLocal getPosATL _v; - _wave attachto [_v,[0,0,0],"destructionEffect1"]; - _wave setParticleRandom [0.3, [1, 1, 0], [0.5, 0.5, 0], 0, 0.3, [0, 0, 0, 0], 0, 0]; - _wave setParticleParams [["\Ca\Data\ParticleEffects\Universal\Universal", 16, 12, 13,0], "", "Billboard", 1, 1.6, "destructionEffect1", - [0, 0, 0], 0, 10, 7.9, 0.075, [3,8], - [[0.7,0.8,1,0.6],[0.85,0.9,1,0.0]], [1000], 1, 0, "", "", _v]; - _wave setparticlecircle [2,[0,16,0]]; - _wave setDropInterval 0.0015; - - _splash = "#particlesource" createVehicleLocal getPosATL _v; - _splash attachto [_v,[0,0,0],"destructionEffect1"]; - _splash setParticleRandom [2, [2, 2, 0], [2, 2, 7], 0, 0.5, [0, 0, 0, 0], 0, 0]; - _splash setParticleParams [["\Ca\Data\ParticleEffects\Universal\Universal", 16, 13, 6, 0], "", "Billboard", 1, 4, "destructionEffect1", - [0, 0, 0], 0, 30, 7.9, 0.075, [8,15], - [[0.7,0.7,0.7,1],[1,1,1,0]], [1000], 1, 0, "", "", _v]; - _splash setparticlecircle [2,[0,3,15]]; - _splash setDropInterval 0.002; - sleep 0.2; - deletevehicle _wave;deletevehicle _splash; -}; // end of dedicated check - /* - if (local _v) then - { - _wreck=GetText (configFile >> "CfgVehicles" >> (typeof _v) >> "wreck"); - if (_wreck!="") then - { - _pos = getpos _v; - _dir = vectordir _v; - _vecUp = vectorup _v; - _vel = velocity _v; - - clearvehicleinit _v; - _crw= crew _v; - clearvehicleinit _v; - deleteVehicle _v; - _v =(_wreck) createvehicle _pos; - {_x moveincargo _v} foreach _crw; - _v setVectorDirAndUp [_dir,_vecUp]; - _v setFuel 0; - _v setdamage 0; - _v setvelocity _vel; - //Send to garbage collecter so wreck can be deleted later - [_v] call BIS_GC_trashItFunc; - - }; - }; */ -} -else -{ - if (local _v) then - { +//if (surfaceiswater(_pos) && (_pos select 2)<9 ) then +if((getTerrainHeightASL getPosASL _v < -1) && (getPosASL _v select 2 < 1)) then { + if !(isDedicated) then { //dw, particle stuff don't need run on dedicated + _wave = "#particlesource" createVehicleLocal getpos _v; + _wave attachto [_v,[0,0,0],"destructionEffect1"]; + _wave setParticleRandom [0.3, [1, 1, 0], [0.5, 0.5, 0], 0, 0.3, [0, 0, 0, 0], 0, 0]; + _wave setParticleParams [["\Ca\Data\ParticleEffects\Universal\Universal", 16, 12, 13,0], "", "Billboard", 1, 1.6, "destructionEffect1", + [0, 0, 0], 0, 10, 7.9, 0.075, [3,8], + [[0.7,0.8,1,0.6],[0.85,0.9,1,0.0]], [1000], 1, 0, "", "", _v]; + _wave setparticlecircle [2,[0,16,0]]; + _wave setDropInterval 0.0015; + + _splash = "#particlesource" createVehicleLocal getpos _v; + _splash attachto [_v,[0,0,0],"destructionEffect1"]; + _splash setParticleRandom [2, [2, 2, 0], [2, 2, 7], 0, 0.5, [0, 0, 0, 0], 0, 0]; + _splash setParticleParams [["\Ca\Data\ParticleEffects\Universal\Universal", 16, 13, 6, 0], "", "Billboard", 1, 4, "destructionEffect1", + [0, 0, 0], 0, 30, 7.9, 0.075, [8,15], + [[0.7,0.7,0.7,1],[1,1,1,0]], [1000], 1, 0, "", "", _v]; + _splash setparticlecircle [2,[0,3,15]]; + _splash setDropInterval 0.002; + + sleep 0.2; + + deletevehicle _wave; + deletevehicle _splash; + }; // end of dedicated check +} else { + if (local _v) then { //_velx = velocity _v select 0; _velx = _velx / 4; //_vely = velocity _v select 1; _vely = _vely / 4; _velz=velocity _v select 2; - if (_velz>1) then {_v setvelocity [velocity _v select 0,velocity _v select 1,0]}; - _expl = createVehicle ["HelicopterExploBig", [_pos select 0,_pos select 1,(_pos select 2) + 1], [], 0, "CAN_COLLIDE"]; + if (_velz>1) then (_v setvelocity [velocity _v select 0,velocity _v select 1,0]); + //_expl="HelicopterExploBig" createvehicle [_pos select 0,_pos select 1,(_pos select 2) + 1]; + + // Sa-Matra: Big explosion only if landed on solid ground + if(!_no_explosion) then { + _trig = "EmptyDetector" createVehicleLocal [0,0,0]; + _trig setTriggerArea [0,0,0,false]; + _trig setVariable ["obj", _v]; + _trig setTriggerStatements [" + _v = thisTrigger getVariable [""obj"", objNull]; + _atl = getPosATL _v; _atl set [2, (_atl select 2) + 1]; + createVehicle [""HelicopterExploBig"", getPos _v, [], 0, ""CAN_COLLIDE""] setPosATL _atl; + deleteVehicle thisTrigger; + ", "", ""]; + }; + sleep 0.05; - /* - _wreck=GetText (configFile >> "CfgVehicles" >> (typeof _v) >> "wreck"); - if (_wreck!="") then - { - _pos = getpos _v; - _dir = vectordir _v; - _vecUp = vectorup _v; - _vel = velocity _v; - - _crw= crew _v; - clearvehicleinit _v; - deleteVehicle _v; - _v =(_wreck) createvehicle _pos; - {_x moveincargo _v} foreach _crw; - //sleep 0.05; - _v setvelocity _vel; - //_v setPos _pos; - _v setvectordir (_dir); - _v setvectorup _vecUp; - _v setFuel 0; - _v setdamage 0; - - - }; */ - //_v setVehicleInit format ["[this, %1, %2]spawn BIS_Effects_AirDestructionStage2",_int, _t]; - //processInitCommands; //ClearvehicleInit done at end of burn script + ["AirDestructionStage2", _v, _int, _t] call BIS_Effects_globalEvent; }; -}; +}; \ No newline at end of file diff --git a/SQF/dayz_code/system/BIS_Effects/airdestructionstage2.sqf b/SQF/dayz_code/system/BIS_Effects/airdestructionstage2.sqf index 4fef42c7..e9d72d17 100644 --- a/SQF/dayz_code/system/BIS_Effects/airdestructionstage2.sqf +++ b/SQF/dayz_code/system/BIS_Effects/airdestructionstage2.sqf @@ -1,88 +1,106 @@ -private ["_dr","_pos","_xv","_yv","_dir","_Crater","_speed","_velz","_tv","_zv","_i","_smoke","_fire","_dirt","_v","_int","_t"]; -_v = _this select 0; -_int = _this select 1; -_t=_this select 2; -_pos=getPosATL _v; -// Particle effects -if (!isDedicated) then { //dw, particle stuff don't need run on dedicated -_smoke = "#particlesource" createVehicleLocal _pos; -_smoke attachto [_v,[0,0,0],"destructionEffect1"]; -_smoke setParticleParams [["\ca\Data\ParticleEffects\Universal\Universal",16,7,48], - "", "Billboard", 1, 15, [0, 0, 0], [0, 0, 0], 1, 1.275, 1, 0, [8,14], - [[0.1,0.1,0.1,1],[0.1,0.1,0.1,0]], [0.5], 0.1, 0.1, "", "", _v]; -//_smoke setParticleCircle [2,[0,0,0]]; -_smoke setParticleRandom [4, [2, 2, 2], [0, 0, 0], 0, 0, [0, 0, 0, 0], 0, 0]; -_smoke setDropInterval 0.02; - -_fire = "#particlesource" createVehicleLocal _pos; -_fire attachto [_v,[0,0,0],"destructionEffect2"]; -/*_fire setParticleParams [["\ca\Data\ParticleEffects\Universal\Universal",16,2,32], "", "Billboard", 1, 1, [0, 1, 0], [0, 0, 0], 1, 1.275, 1, 0, [10,15], - [[1,1,1,-1],[1,1,1,0]], [0.5], 0.01, 0.01, "", "", _v,360]; */ -_fire setParticleParams [["\ca\Data\ParticleEffects\Universal\Universal",16,2,80], - "", "Billboard", 1, 2, [0, 1, 0], [0, 0, 0], 1, 1.275, 1, 0, [7,13], - [[1,1,1,-1],[1,1,1,0]], [0.5], 0.01, 0.01, "", "", _v,360]; -_fire setParticleRandom [0.5, [0.5, 0.5, 0.5], [0, 0, 0], 0, 0, [0, 0, 0, 0], 0, 0]; -_fire setDropInterval 0.01; -/* -_shards = "#particlesource" createVehicleLocal _pos; -//_shards attachto [_v,[0,0,0],"destructionEffect1"]; -_shards setParticleParams [["\CA\Data\ParticleEffects\Shard\shard",1,0,1], "", "SpaceObject", 1, 60, [0, 0, 0], [0, 0, 0], 0, 1.275, 1, 0, [1,1], - [[1,1,1,1]], [0.5], 0, 0, "", "", _v]; - _shards setParticleRandom [30, [1, 1, 0], [0, 0, 0], 0, 0, [0, 0, 0, 0], 0, 0]; -_shards setParticleCircle [2,[0.001,0.001,-0.001]]; -_shards setDropInterval 0.05; -*/ -_dirt = "#particlesource" createVehicleLocal _pos; -_dirt attachto [_v,[0,0,0],"destructionEffect1"]; -_dirt setParticleParams [["\ca\Data\ParticleEffects\Universal\Universal",16,12,9,0], "", "Billboard", 1, 5, [0, 0, 0], [0, 0, 5], 0, 5, 1, 0, [10,20], - [[0.1,0.1,0.1,1],[0.1,0.1,0.1,0.7],[0.1,0.1,0.1,0]], [1000], 0, 0, "", "", _v,360]; - _dirt setParticleRandom [0, [1, 1, 1], [1, 1, 2.5], 0, 0, [0, 0, 0, 0.5], 0, 0]; -_dirt setDropInterval 0.05; - - //creating ground craters - _i=0; + _v = _this select 0; + _int = _this select 1; + _t =_this select 2; + _pos = getpos _v; + + // No explosion CorePatch flag + _no_explosion = getNumber(configFile >> "CfgVehicles" >> typeOf _v >> "NoDestructionExplosion_CP") > 0; + + // Particle effects + private ["_smoke", "_fire", "_dirt"]; + + if(!isDedicated) then { + _smoke = "#particlesource" createVehicleLocal _pos; + _smoke attachto [_v,[0,0,0],"destructionEffect1"]; + _smoke setParticleParams [["\ca\Data\ParticleEffects\Universal\Universal",16,7,48], + "", "Billboard", 1, 15, [0, 0, 0], [0, 0, 0], 1, 1.275, 1, 0, [8,14], + [[0.1,0.1,0.1,1],[0.1,0.1,0.1,0]], [0.5], 0.1, 0.1, "", "", _v]; + _smoke setParticleRandom [4, [2, 2, 2], [0, 0, 0], 0, 0, [0, 0, 0, 0], 0, 0]; + _smoke setDropInterval 0.02; + + _fire = "#particlesource" createVehicleLocal _pos; + _fire attachto [_v,[0,0,0],"destructionEffect2"]; + + _fire setParticleParams [["\ca\Data\ParticleEffects\Universal\Universal",16,2,80], + "", "Billboard", 1, 2, [0, 1, 0], [0, 0, 0], 1, 1.275, 1, 0, [7,13], + [[1,1,1,-1],[1,1,1,0]], [0.5], 0.01, 0.01, "", "", _v,360]; + _fire setParticleRandom [0.5, [0.5, 0.5, 0.5], [0, 0, 0], 0, 0, [0, 0, 0, 0], 0, 0]; + _fire setDropInterval 0.01; + + _dirt = "#particlesource" createVehicleLocal _pos; + _dirt attachto [_v,[0,0,0],"destructionEffect1"]; + _dirt setParticleParams [["\ca\Data\ParticleEffects\Universal\Universal",16,12,9,0], "", "Billboard", 1, 5, [0, 0, 0], [0, 0, 5], 0, 5, 1, 0, [10,20], + [[0.1,0.1,0.1,1],[0.1,0.1,0.1,0.7],[0.1,0.1,0.1,0]], [1000], 0, 0, "", "", _v,360]; + _dirt setParticleRandom [0, [1, 1, 1], [1, 1, 2.5], 0, 0, [0, 0, 0, 0.5], 0, 0]; + _dirt setDropInterval 0.05; + }; + + // Ground craters + if(local _v && !_no_explosion) then { + _v spawn { + _index = 0; + _old_pos = [0,0,0]; + _failsafe = diag_tickTime + 30; + waitUntil { + _pos = getPosASL _this; + _pos set [2, _old_pos select 2]; + + if(_old_pos distance _pos > 4 || speed _this <= 0.1) then { + if(getTerrainHeightASL _pos > -1 && getPosATL _this select 2 < 10) then { + _pos set [2, random 0.1 + (_index min 14) / -14]; + if(getTerrainHeightASL _pos < 0) then {_pos = ATLtoASL _pos}; + + _crater = createVehicle ["CraterLong", _pos, [], 0, "CAN_COLLIDE"]; + _crater setDir ((velocity _this select 0) atan2 (velocity _this select 1) - 5 + random 10 + 180 * (_index % 2)); + _crater setVectorUp surfaceNormal _pos; + + _old_pos = _pos; + _index = _index + 1; + }; + }; + + speed _this <= 0.1 || diag_tickTime > _failsafe; + }; + }; + }; + + // Ground particles + _i = 0; while {(speed _v) > 0.1} do { - _pos=getPosATL _v; - _xv=velocity _v select 0; - _yv=velocity _v select 1; - _zv=velocity _v select 2; - _dir = abs(_xv atan2 _yv); - - _Crater= "CraterLong" createvehiclelocal [_pos select 0, _pos select 1, 0]; - _Crater setdir (_dir + (180 * _i)); - _Crater setpos [_pos select 0, _pos select 1, 0]; - _Crater setPos [_pos select 0, _pos select 1, ((0 - _i)/13)]; //all setpos commands so it is placed correctly on sloped terrain - _speed = (speed _v); - _velz=velocity _v select 2; - - if (_velz>1) then {_v setvelocity [_xv/1.3,_yv/1.3,0]} - else {_v setvelocity [_xv/1.2,_yv/1.2,velocity _v select 2]}; - - _tv=abs(_xv)+abs(_yv)+abs(_zv); - if (_tv>2) then {_dr=1/_tv} else {_dr=1}; - _smoke setDropInterval _dr*1.5; - _fire setDropInterval _dr*1.5; - _dirt setDropInterval _dr; - //_shards setDropInterval _dr; - - sleep (0.25 - (_speed / 1000)); - _i = _i + 1; + if(!isDedicated) then { + _pos = getpos _v; + _xv = velocity _v select 0; + _yv = velocity _v select 1; + _dir = abs(_xv atan2 _yv); + + _speed = (speed _v); + _zv = velocity _v select 2; + + _tv = abs(_xv)+abs(_yv)+abs(_zv); + _dr = 1; + if (_tv>2) then {_dr = 1/_tv}; + _smoke setDropInterval _dr*1.5; + _fire setDropInterval _dr*1.5; + _dirt setDropInterval _dr; + + sleep (0.25 - (_speed / 1000)); + }; }; -deleteVehicle _smoke; -deleteVehicle _fire; -//deleteVehicle _shards; -deleteVehicle _dirt; - -}; // end of dedicated check - -_v setvelocity [0,0,-0.1]; -if (local _v) then -{ - //_v setVehicleInit format ["[this, %1, %2,false,true]spawn BIS_Effects_Burn",_int, _t]; - //processInitCommands; //ClearvehicleInit done at end of burn script - ["Burn", _v, _int, _t] call BIS_Effects_globalEvent; - [_v,_int,false] spawn BIS_Effects_Secondaries; -}; -sleep 0.5; -_v setvelocity [0,0,-0.01]; + + if(!isDedicated) then { + deleteVehicle _smoke; + deleteVehicle _fire; + deleteVehicle _dirt; + }; + + _v setvelocity [0,0,-0.01]; + + if (local _v) then { + ["Burn", _v, _int, _t] call BIS_Effects_globalEvent; + if(!_no_explosion) then { + [_v,_int,false] spawn BIS_Effects_Secondaries; + }; + }; + + sleep 0.5; \ No newline at end of file diff --git a/SQF/dayz_code/system/BIS_Effects/init.sqf b/SQF/dayz_code/system/BIS_Effects/init.sqf index 6a486880..acb537c8 100644 --- a/SQF/dayz_code/system/BIS_Effects/init.sqf +++ b/SQF/dayz_code/system/BIS_Effects/init.sqf @@ -1,39 +1,70 @@ -BIS_Effects_Init = true; //A2 won't overwrite this if var is not nil -/* BIS_Effects_* fixes from Dwarden */ -diag_log "Res3tting B!S effects..."; -BIS_Effects_EH_Fired = {false}; -BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf"; -BIS_Effects_Rifle = {false}; -BIS_Effects_Cannon=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\cannon.sqf"; -BIS_Effects_HeavyCaliber=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\heavycaliber.sqf"; -BIS_Effects_HeavySniper=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\heavysniper.sqf"; -BIS_Effects_Rocket=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\rocket.sqf"; -BIS_Effects_SmokeShell=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\smokeshell.sqf"; -BIS_Effects_SmokeLauncher=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\smokelauncher.sqf"; -BIS_Effects_Flares=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\flares.sqf"; -BIS_Effects_Burn=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\destruction\burn.sqf"; -BIS_Effects_AircraftVapour=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\misc\aircraftvapour.sqf"; -BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf"; -BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf"; -BIS_Effects_Secondaries = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\secondaries.sqf"; -BIS_Effects_globalEvent = { - BIS_effects_gepv = _this; - publicVariable "BIS_effects_gepv"; - _this call BIS_Effects_startEvent; -}; -BIS_Effects_startEvent = { - switch (_this select 0) do { - case "AirDestruction": { - [_this select 1] spawn BIS_Effects_AirDestruction; - }; - case "AirDestructionStage2": { - [_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2; +BIS_Effects_Init = true; +Corepatch_Effects_Init = true; +if (isNil "BIS_Effects_Init_DZ") then { + BIS_Effects_Init_DZ = true; + diag_log "Res3tting B!S effects..."; + BIS_Effects_EH_Fired = {false}; + BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf"; + + BIS_Effects_Rifle = {false}; + BIS_Effects_Cannon=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\cannon.sqf"; + BIS_Effects_HeavyCaliber=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\heavycaliber.sqf"; + BIS_Effects_HeavySniper=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\heavysniper.sqf"; + BIS_Effects_Rocket=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\rocket.sqf"; + BIS_Effects_SmokeShell=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\smokeshell.sqf"; + BIS_Effects_SmokeLauncher=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\smokelauncher.sqf"; + BIS_Effects_Flares=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\flares.sqf"; + + //must use spawn command for these: + BIS_Effects_Burn=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\destruction\burn.sqf"; + BIS_Effects_AircraftVapour=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\misc\aircraftvapour.sqf"; + BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf"; + BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf"; + BIS_Effects_Secondaries = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\secondaries.sqf"; + //BIS_Effects_RocketTrail=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\rockettrail.sqf"; + + /////////////////Dwarden fixing fire in the sky bug + + BIS_Effects_globalEvent = + { + BIS_effects_gepv = _this; + publicVariable "BIS_effects_gepv"; + _this call BIS_Effects_startEvent; + }; + + BIS_Effects_startEvent = + { + private "_KillEject"; + _KillEject = { + if (((vehicle player) == (_this select 0)) && {(vehicle player) != player} && {player in (crew (_this select 0))}) then { + player action ["getOut", (_this select 0)]; + if !((_this select 0) iskindof "car") then { + [player, "explosion"] call player_death; + }; + }; }; - case "Burn": { - [_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn; + switch (_this select 0) do { + case "AirDestruction": { + [_this select 1] spawn BIS_Effects_AirDestruction; + [_this select 1] call _KillEject; + }; + case "AirDestructionStage2": { + [_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2; + }; + case "Burn": { + [_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn; + }; + case "Eject": { + [_this select 1] call _KillEject; + }; }; }; -}; -"BIS_effects_gepv" addPublicVariableEventHandler { - (_this select 1) call BIS_Effects_startEvent; + + "BIS_effects_gepv" addPublicVariableEventHandler { + if(time <= 0) exitWith {(_this select 1) spawn { //Fire in the sky bug fix + waitUntil {sleep 1; !isNull findDisplay 46}; // Display 46 is indication that client finished loading + _this call BIS_Effects_startEvent; + }}; + (_this select 1) call BIS_Effects_startEvent; + }; }; \ No newline at end of file diff --git a/SQF/dayz_code/system/BIS_Effects/killed.sqf b/SQF/dayz_code/system/BIS_Effects/killed.sqf index 2318fdc3..c0fb420e 100644 --- a/SQF/dayz_code/system/BIS_Effects/killed.sqf +++ b/SQF/dayz_code/system/BIS_Effects/killed.sqf @@ -1,34 +1,22 @@ private ["_v","_int","_t","_b"]; _v=_this select 0; -if (_v iskindof "helicopter" || _v iskindof "plane") - then - { - //_v setVehicleInit "[this] spawn BIS_Effects_AirDestruction"; - //processInitCommands; //ClearvehicleInit done at end of burn script - ["AirDestruction", _v] call BIS_Effects_globalEvent; - }; -if (_v iskindof "tank") - then - { - _int = (fuel _v)*(2+random 2); - _t = time; - //_v setVehicleInit format ["[this, %1, %2]spawn BIS_Effects_Burn",_int, _t]; - disabled to prepaire for move into engine - //processInitCommands; //ClearvehicleInit done at end of burn script - [_v,_int] spawn BIS_Effects_Secondaries; - }; -if (_v iskindof "car" || _v iskindof "ship") - then - { - _int = (fuel _v)*(2 + random 1); - _t = time; - - //_v setVehicleInit format ["[this, %1, %2]spawn BIS_Effects_Burn; ",_int, _t]; - disabled to prepaire for move into engine - //processInitCommands; //ClearvehicleInit done at end of burn script - [_v,_int] spawn BIS_Effects_Secondaries; - //Possible initial explosion - if ((random _int)>2.2) then - { - _b = createVehicle ["SmallSecondary", (getPosATL _v), [], 0, "CAN_COLLIDE"]; - }; +if (_v iskindof "helicopter" || _v iskindof "plane") then { + ["AirDestruction", _v] call BIS_Effects_globalEvent; +}; +if (_v iskindof "tank") then { + _int = (fuel _v)*(2+random 2); + _t = time; + [_v,_int] spawn BIS_Effects_Secondaries; + ["Eject", _v] call BIS_Effects_globalEvent; +}; +if (_v iskindof "car" || _v iskindof "ship") then { + _int = (fuel _v)*(2 + random 1); + _t = time; + [_v,_int] spawn BIS_Effects_Secondaries; + ["Eject", _v] call BIS_Effects_globalEvent; + if ((random _int)>2.2) then + { + _b = "SmallSecondary" createvehicle (getpos _v); }; +}; diff --git a/SQF/dayz_code/system/BIS_Effects/secondaries.sqf b/SQF/dayz_code/system/BIS_Effects/secondaries.sqf index 8b3c7503..974e015c 100644 --- a/SQF/dayz_code/system/BIS_Effects/secondaries.sqf +++ b/SQF/dayz_code/system/BIS_Effects/secondaries.sqf @@ -23,5 +23,5 @@ while {_int>1} do { sleep _x; if((_lifecheck&&(alive _v))||(isnull _v)||(((getposASL _v)select 2)<0))exitwith{}; - "SmallSecondary" createvehicle(_v modelToWorld _effect2pos); + createVehicle ["SmallSecondary", (_v modelToWorld _effect2pos), [], 0, "CAN_COLLIDE"]; }foreach(_list); \ No newline at end of file diff --git a/SQF/dayz_code/system/REsec.hpp b/SQF/dayz_code/system/REsec.hpp index 1defa4da..6576281a 100644 --- a/SQF/dayz_code/system/REsec.hpp +++ b/SQF/dayz_code/system/REsec.hpp @@ -23,7 +23,7 @@ // Special logic for execVM, only these whitelisted scripts will be spawned #ifndef WHITELISTED_EXECVM -#define WHITELISTED_EXECVM [ ""ca\Modules\Functions\init.sqf"" ] +#define WHITELISTED_EXECVM [ ""ca\Modules\Functions\init.sqf"", ""ca\modules\Functions\init.sqf"", ""\CorePatch\CorePatch_Modules\Functions\init.sqf"" ] // uncomment and put in the array above if you want your server be able to kick players (not used in DayZ for now) //""ca\Modules\MP\data\scriptCommands\endMission.sqf"" #endif diff --git a/SQF/dayz_code/system/animal_agent.fsm b/SQF/dayz_code/system/animal_agent.fsm index 30e20f9c..1dee7372 100644 --- a/SQF/dayz_code/system/animal_agent.fsm +++ b/SQF/dayz_code/system/animal_agent.fsm @@ -60,7 +60,7 @@ class FSM priority = 0.000000; to="Loiter"; precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"dayz_clientPreload"/*%FSM*/; + condition=/*%FSM*/"(!isNil 'dayz_clientPreload' && {dayz_clientPreload})"/*%FSM*/; action=/*%FSM*/""/*%FSM*/; }; /*%FSM*/ diff --git a/SQF/dayz_code/system/building_monitor.sqf b/SQF/dayz_code/system/building_monitor.sqf deleted file mode 100644 index 662bd3cf..00000000 --- a/SQF/dayz_code/system/building_monitor.sqf +++ /dev/null @@ -1,19 +0,0 @@ -private ["_nearby","_run"]; -_building = _this select 0; -//_GroupMarker = _this select 1; -_items = _this select 2; -_run = true; -_nearby = false; -while {_run} do { - if (isNull _building) then {_run = false}; - _nearby = false; - { - if (_x distance _building < 500) then {_nearby = true}; - } forEach (call BIS_fnc_listPlayers); - if (!_nearby) then {_run = false}; - sleep 5; -}; -{deleteVehicle _x;} forEach _items; - - -_building setVariable ["looted",(DateToNumber date),true]; \ No newline at end of file diff --git a/SQF/dayz_code/system/filesign/verify_mission.sqf b/SQF/dayz_code/system/filesign/verify_mission.sqf new file mode 100644 index 00000000..daa0b6e6 --- /dev/null +++ b/SQF/dayz_code/system/filesign/verify_mission.sqf @@ -0,0 +1,108 @@ +#include "\z\addons\dayz_code\util\ext.hpp" + +#define TIME_OUT 30 + +#define MANIFEST "manifest" +#define MFSTSIGN "mfstsign" + +#define SEPARATOR ":" + + +//Do not whitelist in filters. +#define FAIL(value) (isnil { PVDZ_fserr = (value); publicVariableServer "PVDZ_fserr"; }) + +local _separator = Ext_GetSeparator(); + +#undef Ext_Separator +#define Ext_Separator (_separator) + +if (_separator == "") exitWith + { FAIL("Extension"); }; + +local _fn_stringFind = compile format [ // text:pattern -> pattern:text + 'parseNumber Ext_Call(String_Format1("%1%2%3%2", _this select 1) + (_this select 0))', + Ext_Resolve("StringFind"), _separator, "%1"]; +#define StringFind(text, pattern) ([text, pattern] call _fn_stringFind) + +local _fn_stringFindEx = compile format [ // text:pattern:offset -> offset:pattern:text + 'parseNumber Ext_Call(String_Format2("%1%2%3%2%4%2", _this select 2, _this select 1) + (_this select 0))', + Ext_Resolve("StringFindEx"), _separator, "%1", "%2"]; +#define StringFindEx(text, pattern, offset) ([text, pattern, offset] call _fn_stringFindEx) + +local _fn_stringSub = compile format [ // text:offset -> offset:text + 'Ext_Call(String_Format1("%1%2%3%2", _this select 1) + (_this select 0))', + Ext_Resolve("StringSub"), _separator, "%1"]; +#define StringSub(text, offset) ([text, offset] call _fn_stringSub) + +local _fn_stringSubEx = compile format [ //text:offset:length -> offset:length:text + 'Ext_Call(String_Format2("%1%2%3%2%4%2", _this select 1, _this select 2) + (_this select 0))', + Ext_Resolve("StringSubEx"), _separator, "%1", "%2"]; +#define StringSubEx(text, offset, length) ([text, offset, length] call _fn_stringSubEx) + +local _fn_fileSignatureSetKey = compile format [ // key -> key + 'Ext_ParseBool(Ext_Call(String_Format1("%1%2%3", _this)))', + Ext_Resolve("FileSignatureSetKey"), _separator, "%1"]; +#define FileSignatureSetKey(key) ((key) call _fn_fileSignatureSetKey) + +local _fn_fileSignatureVerify = compile format [ // data:signature -> signature:data + 'Ext_ParseBool(Ext_Call(String_Format1("%1%2%3%2", _this select 1) + (_this select 0)))', + Ext_Resolve("FileSignatureVerify"), _separator, "%1"]; +#define FileSignatureVerify(data, sign) ([data, sign] call _fn_fileSignatureVerify) + +local _chars = toArray "abcdefghijklmnopqrstuvxyz"; + +local _keyvar = []; +_keyvar resize 10; + +for "_i" from 0 to count _keyvar - 1 do + { _keyvar set [_i, _chars select floor random count _chars]; }; + +_keyvar = toString _keyvar; + +isnil { + PVDZ_fskey = [player, _keyvar]; + PVDZ_fskey = publicVariableServer "PVDZ_fskey"; + 0 +}; + +_keyvar = "PVDZ_fskey" + _keyvar; + +local _time = diag_tickTime; +waitUntil { !isnil _keyvar || { diag_tickTime - _time > TIME_OUT } }; + +if (isnil _keyvar) exitWith + { FAIL("Timeout"); }; + +if (!FileSignatureSetKey(missionNamespace getVariable _keyvar)) exitWith + { FAIL("SetKey"); }; + +local _manifest = loadFile MANIFEST; +local _mfstsign = loadFile MFSTSIGN; + +_mfstsign = StringSubEx(_mfstsign, 0, StringFind(_mfstsign, SEPARATOR)); + +if (!FileSignatureVerify(_manifest, _mfstsign)) exitWith + { FAIL(String_Format1("File: %1", MANIFEST)); }; + +local _newline = tostring [10]; +local _index = 0; +local _next = 0; + +while { _next >= 0 } do +{ + _index = _next; + _next = StringFindEx(_manifest, _newline, _index); + + local _entry = StringSubEx(_manifest, _index, _next - _index); + + _separator = StringFind(_entry, SEPARATOR); + local _sign = StringSubEx(_entry, 0, _separator); + local _file = StringSub(_entry, _separator + 1); + local _data = loadFile _file; + + if (!(if (_sign == "") then { _data == "" } else { FileSignatureVerify(_data, _sign) })) exitWith + { FAIL(String_Format1("File: %1", _file)); }; + + if (_next >= 0) then + { _next = _next + 1; }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/system/fn_swarmagent.fsm b/SQF/dayz_code/system/fn_swarmagent.fsm index 71ffd622..1ad6e5a5 100644 --- a/SQF/dayz_code/system/fn_swarmagent.fsm +++ b/SQF/dayz_code/system/fn_swarmagent.fsm @@ -107,7 +107,7 @@ class FSM priority = 0.000000; to="Begin"; precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"dayz_clientPreload and !(isNull _agent)"/*%FSM*/; + condition=/*%FSM*/"(!isNil 'dayz_clientPreload' && {dayz_clientPreload}) && !(isNull _agent)"/*%FSM*/; action=/*%FSM*/""/*%FSM*/; }; /*%FSM*/ @@ -140,9 +140,6 @@ class FSM "_bodyStay = 60;" \n "" \n "_timeN = time;" \n - "" \n - " _id = _agent addeventhandler [""HandleDamage"",{_this call local_zombieDamage}];" \n - "" \n "//hint ""run local zombie"";" \n "_isSomeone = true;" \n "" \n diff --git a/SQF/dayz_code/system/mission/chernarus/LegacyTownGenerator/MainLootableObjects.sqf b/SQF/dayz_code/system/mission/chernarus/MainLootableObjects.sqf similarity index 67% rename from SQF/dayz_code/system/mission/chernarus/LegacyTownGenerator/MainLootableObjects.sqf rename to SQF/dayz_code/system/mission/chernarus/MainLootableObjects.sqf index 6ca0fa27..0adede76 100644 --- a/SQF/dayz_code/system/mission/chernarus/LegacyTownGenerator/MainLootableObjects.sqf +++ b/SQF/dayz_code/system/mission/chernarus/MainLootableObjects.sqf @@ -21,7 +21,7 @@ class Object16 { type = "CampEast_EP1"; position[] = {6746.89, 2784.08, 0}; direction = 42; onFire = 0; }; class Object17 { type = "CampEast_EP1"; position[] = {6757.55, 2776.1, 0}; direction = 42; onFire = 0; }; class Object18 { type = "USMC_WarfareBFieldhHospital"; position[] = {6767.52, 2762.48, 0}; direction = 313; onFire = 0; }; - class Object19 { type = "USMC_WarfareBFieldhHospital"; position[] = {6770.4, 2739.77, 0}; direction = 42; onFire = 0; }; + class Object19 { type = "USMC_WarfareBFieldhHospital"; position[] = {6772.4341, 2739.3132, 0}; direction = 42; onFire = 0; }; class Object20 { type = "CampEast"; position[] = {6295.02, 7800.98, 0}; direction = 127; onFire = 0; }; class Object21 { type = "Camp"; position[] = {6302.78, 7796.63, 0}; direction = 36; onFire = 0; }; class Object22 { type = "CampEast"; position[] = {6305.61, 7810.76, 0}; direction = 128; onFire = 0; }; @@ -53,69 +53,67 @@ class Object48 { type = "CampEast"; position[] = {12249.2, 9752.89, 0}; direction = 13; onFire = 0; }; */ -if (isServer) then { - [ - ["Land_Misc_deerstand",[4862.22,2287.81,0],125], - ["Land_tent_east",[4863.82,2274.84,0],217], - ["Land_tent_east",[4874.83,2267.48,0],217], - ["RU_WarfareBFieldhHospital",[4885.42,2260.38,0],307], - ["Land_tent_east",[4855.34,2262.99,0],217], - ["RU_WarfareBFieldhHospital",[4893.43,2252.95,0],306], - ["Land_Toilet",[4902.83,2248.38,0],299], - ["Land_Misc_deerstand",[4841.69,2258.74,0],125], - ["RU_WarfareBFieldhHospital",[4876.42,2248.05,0],306], - ["RU_WarfareBFieldhHospital",[4885.11,2241.78,0],306], - ["RU_WarfareBBarracks",[4913.5,2241.41,0],127], - ["Land_Misc_deerstand",[4933.25,2236.43,0],310], - ["Land_GuardShed",[4924.02,2222.51,0],306], - ["Land_GuardShed",[4928.72,2219.37,0],306], - ["Land_GuardShed",[4933.11,2215.88,0],306], - ["Land_Misc_deerstand",[4912.54,2209.47,0],300], - ["CampEast_EP1",[6746.89,2784.08,0],42], - ["CampEast_EP1",[6757.55,2776.1,0],42], - ["USMC_WarfareBFieldhHospital",[6767.52,2762.48,0],313], - ["USMC_WarfareBFieldhHospital",[6770.4,2739.77,0],42], - ["CampEast",[6295.02,7800.98,0],127], - ["Camp",[6302.78,7796.63,0],36], - ["CampEast",[6305.61,7810.76,0],128], - ["Camp",[6308.41,7792.74,0],37], - ["Camp",[6314,7788.65,0],36], - ["Camp",[6312.84,7805.57,0],213], - ["Camp",[6319.54,7784.91,0],33], - ["Camp",[6318.92,7801.74,0],212], - ["Land_Misc_GContainer_Big",[6313.24,7844.13,0],304], - ["Camp",[6325.31,7781.19,0],33], - ["Camp",[6325.1,7798.06,0],212], - ["Land_Misc_GContainer_Big",[6316.67,7841.9,0],304], - ["Land_Misc_GContainer_Big",[6320.43,7839.67,0],304], - ["Camp",[6331.19,7777.51,0],30], - ["Camp",[6331.25,7794.36,0],211], - ["Camp",[6337.11,7790.99,0],213], - ["Camp",[6343.22,7787.23,0],211], - ["Camp",[6349.45,7783.62,0],212], - ["Land_Toilet",[6353.54,7781.55,0],32], - ["Land_Toilet",[6354.75,7780.9,0],32], - ["Land_Toilet",[6355.89,7780.34,0],32], - ["Land_Toilet",[6357.09,7779.68,0],32], - ["Land_tent_east",[11940.6,9095,0],219], - ["Land_Misc_deerstand",[11837.1,9405.64,0],99], - ["Land_Misc_deerstand",[12432.6,9287.22,0],295], - ["CampEast",[12213,9734.75,0],13], - ["CampEast",[12273.1,9724.66,0],13], - ["CampEast",[12220.8,9758.06,0],13], - ["CampEast",[12249.2,9752.89,0],13] - ] call { - private ["_blocked","_object","_position","_type"]; - { - _blocked = false; - _position = _x select 1; - {if (_position distance _x < 150) exitWith {_blocked = true;};} forEach dayz_townGeneratorBlackList; - if (!_blocked) then { - _type = _x select 0; - _object = _type createVehicle [0,0,0]; - _object setDir (_x select 2); - _object setPos _position; - }; - } count _this; - }; +[ + ["Land_Misc_deerstand",[4862.22,2287.81,0],125], + ["Land_tent_east",[4863.82,2274.84,0],217], + ["Land_tent_east",[4874.83,2267.48,0],217], + ["RU_WarfareBFieldhHospital",[4885.42,2260.38,0],307], + ["Land_tent_east",[4855.34,2262.99,0],217], + ["RU_WarfareBFieldhHospital",[4893.43,2252.95,0],306], + ["Land_Toilet",[4902.83,2248.38,0],299], + ["Land_Misc_deerstand",[4841.69,2258.74,0],125], + ["RU_WarfareBFieldhHospital",[4876.42,2248.05,0],306], + ["RU_WarfareBFieldhHospital",[4885.11,2241.78,0],306], + ["RU_WarfareBBarracks",[4913.5,2241.41,0],127], + ["Land_Misc_deerstand",[4933.25,2236.43,0],310], + ["Land_GuardShed",[4924.02,2222.51,0],306], + ["Land_GuardShed",[4928.72,2219.37,0],306], + ["Land_GuardShed",[4933.11,2215.88,0],306], + ["Land_Misc_deerstand",[4912.54,2209.47,0],300], + ["CampEast_EP1",[6746.89,2784.08,0],42], + ["CampEast_EP1",[6757.55,2776.1,0],42], + ["USMC_WarfareBFieldhHospital",[6767.52,2762.48,0],313], + ["USMC_WarfareBFieldhHospital",[6772.4341,2739.3132,0],42], + ["CampEast",[6295.02,7800.98,0],127], + ["Camp",[6302.78,7796.63,0],36], + ["CampEast",[6305.61,7810.76,0],128], + ["Camp",[6308.41,7792.74,0],37], + ["Camp",[6314,7788.65,0],36], + ["Camp",[6312.84,7805.57,0],213], + ["Camp",[6319.54,7784.91,0],33], + ["Camp",[6318.92,7801.74,0],212], + ["Land_Misc_GContainer_Big",[6313.24,7844.13,0],304], + ["Camp",[6325.31,7781.19,0],33], + ["Camp",[6325.1,7798.06,0],212], + ["Land_Misc_GContainer_Big",[6316.67,7841.9,0],304], + ["Land_Misc_GContainer_Big",[6320.43,7839.67,0],304], + ["Camp",[6331.19,7777.51,0],30], + ["Camp",[6331.25,7794.36,0],211], + ["Camp",[6337.11,7790.99,0],213], + ["Camp",[6343.22,7787.23,0],211], + ["Camp",[6349.45,7783.62,0],212], + ["Land_Toilet",[6353.54,7781.55,0],32], + ["Land_Toilet",[6354.75,7780.9,0],32], + ["Land_Toilet",[6355.89,7780.34,0],32], + ["Land_Toilet",[6357.09,7779.68,0],32], + ["Land_tent_east",[11940.6,9095,0],219], + ["Land_Misc_deerstand",[11837.1,9405.64,0],99], + ["Land_Misc_deerstand",[12432.6,9287.22,0],295], + ["CampEast",[12213,9734.75,0],13], + ["CampEast",[12273.1,9724.66,0],13], + ["CampEast",[12220.8,9758.06,0],13], + ["CampEast",[12249.2,9752.89,0],13] +] call { + private ["_blocked","_object","_position","_type"]; + { + _blocked = false; + _position = _x select 1; + {if (_position distance _x < 150) exitWith {_blocked = true;};} forEach dayz_townGeneratorBlackList; + if (!_blocked) then { + _type = _x select 0; + _object = _type createVehicle [0,0,0]; + _object setDir (_x select 2); + _object setPos _position; + }; + } count _this; }; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/antiwallhack.sqf b/SQF/dayz_code/system/mission/chernarus/antiwallhack.sqf new file mode 100644 index 00000000..0419b581 --- /dev/null +++ b/SQF/dayz_code/system/mission/chernarus/antiwallhack.sqf @@ -0,0 +1,168 @@ +[[ + ["Land_CncBlock_AntiHack",[6426.74,2747.85,10.6855],38.3], + ["Land_CncBlock_AntiHack",[6425.25,2749.02,10.6739],38.3], + ["Land_CncBlock_AntiHack",[6400.16,2770.7,3.2032],128.3], + ["Land_CncBlock_AntiHack",[6401.79,2772.76,3.20045],128.3], + ["Land_CncBlock_AntiHack",[6403.01,2774.31,3.19839],128.3], + ["Land_CncBlock_AntiHack",[6398.18,2768.22,-0.173495],128.3], + ["Fort_RazorWire",[6405.39,2770.66,3.20274],218.3], + ["Fort_RazorWire",[6406.32,2771.77,3.20001],218.3], + ["Hedgehog",[6401.71,2771.71,3.20185],123.3], + ["Hedgehog",[6400.48,2770.17,3.20391],128.3], + ["Fort_RazorWire",[6410.84,2768.17,3.19878],218.3], + ["Land_CncBlock_AntiHack",[6804.03,2690.31,10.6875],132.587], + ["Land_CncBlock_AntiHack",[6805.31,2691.71,10.6768],132.587], + ["Land_CncBlock_AntiHack",[6828.8,2715.1,3.19361],222.587], + ["Land_CncBlock_AntiHack",[6830.73,2713.32,3.19448],222.587], + ["Land_CncBlock_AntiHack",[6832.19,2711.98,3.19513],222.587], + ["Land_CncBlock_AntiHack",[6826.48,2717.25,-0.187448],222.587], + ["Fort_RazorWire",[6828.37,2709.88,3.19615],312.587], + ["Fort_RazorWire",[6829.41,2708.87,3.19664],312.587], + ["Hedgehog",[6829.7,2713.47,3.1944],217.587], + ["Hedgehog",[6828.24,2714.82,3.19374],222.587], + ["Fort_RazorWire",[6825.48,2704.63,3.19872],312.587], + ["Land_CncBlock_AntiHack",[10526.9,2272.29,10.6792],53.4887], + ["Land_CncBlock_AntiHack",[10525.8,2273.82,10.6692],53.4887], + ["Land_CncBlock_AntiHack",[10507.2,2301.3,3.19743],143.489], + ["Land_CncBlock_AntiHack",[10509.3,2302.87,3.19743],143.489], + ["Land_CncBlock_AntiHack",[10510.9,2304.04,3.19743],143.489], + ["Land_CncBlock_AntiHack",[10504.7,2299.43,-0.18257],143.489], + ["Fort_RazorWire",[10512.3,2299.9,3.19743],233.489], + ["Fort_RazorWire",[10513.5,2300.73,3.19743],233.489], + ["Hedgehog",[10509,2301.88,3.19743],138.489], + ["Hedgehog",[10507.4,2300.71,3.19743],143.489], + ["Fort_RazorWire",[10516.9,2296.07,3.19743],233.489], + ["Land_CncBlock_AntiHack",[11944,9107.9,10.6653],130], + ["Land_CncBlock_AntiHack",[11945.2,9109.35,10.6601],130], + ["Land_CncBlock_AntiHack",[11967.6,9133.78,3.19747],220], + ["Land_CncBlock_AntiHack",[11969.6,9132.09,3.19747],220], + ["Land_CncBlock_AntiHack",[11971.2,9130.83,3.19747],220], + ["Land_CncBlock_AntiHack",[11965.2,9135.84,-0.182529],220], + ["Fort_RazorWire",[11967.4,9128.56,3.19747],310], + ["Fort_RazorWire",[11968.5,9127.59,3.19747],310], + ["Hedgehog",[11968.6,9132.2,3.19747],215], + ["Hedgehog",[11967.1,9133.48,3.19747],220], + ["Fort_RazorWire",[11964.8,9123.18,3.20053],310], + ["Fort_RazorWire",[6853.76,2508.97,39.8627],42.737], + ["Fort_RazorWire",[6859.9,2503.3,39.8627],42.737], + ["Fort_RazorWire",[6849.11,2503.94,39.8627],42.737], + ["Fort_RazorWire",[6855.25,2498.27,39.8627],42.737], + ["Fort_RazorWire",[6847.48,2510.04,39.8627],132.737], + ["Fort_RazorWire",[6861,2497.23,39.8627],312.737], + ["Fort_RazorWire",[6855.74,2507.81,0.969074],222.737], + ["Fort_RazorWire",[6858.96,2507.24,-0.0109253],222.737], + ["Land_CncBlock_AntiHack",[6553.02,2804.52,13.9319],131.19], + ["Land_CncBlock_AntiHack",[6553.35,2803.33,14.0019],131.19], + ["Land_CncBlock_AntiHack",[6566.32,2816.69,14.0169],41.1904], + ["Land_CncBlock_AntiHack",[6569.35,2820.09,13.9719],221.19], + ["Land_CncBlock_AntiHack",[6567.25,2821.93,13.9819],221.19], + ["Land_CncBlock_AntiHack",[6565.27,2822.01,14.0019],131.19], + ["Land_CncBlock_AntiHack",[6563.68,2820.2,14.0019],131.19], + ["Land_CncBlock_AntiHack",[6563.9,2818.43,13.9783],41.1904], + ["Land_CncBlock_AntiHack",[6567.98,2816.57,14.0175],311.19], + ["Land_CncBlock_AntiHack",[6569.49,2818.3,14.0096],311.19], + ["Land_CncBlock_AntiHack",[7036.61,2529.03,13.9319],323.357], + ["Land_CncBlock_AntiHack",[7036.54,2530.26,14.0019],323.357], + ["Land_CncBlock_AntiHack",[7021.05,2519.93,14.0019],233.357], + ["Land_CncBlock_AntiHack",[7017.38,2517.24,13.9719],53.3567], + ["Land_CncBlock_AntiHack",[7019.04,2515.01,13.9819],53.3567], + ["Land_CncBlock_AntiHack",[7020.96,2514.51,14.0019],323.357], + ["Land_CncBlock_AntiHack",[7022.89,2515.94,14.0019],323.357], + ["Land_CncBlock_AntiHack",[7023.04,2517.72,13.9719],233.357], + ["Land_CncBlock_AntiHack",[7019.46,2520.4,14.0019],143.357], + ["Land_CncBlock_AntiHack",[7017.61,2519.03,14.0019],143.357], + ["Land_CncBlock_AntiHack",[10026.6,1834.65,13.9319],268.591], + ["Land_CncBlock_AntiHack",[10025.5,1835.3,14.0019],268.591], + ["Land_CncBlock_AntiHack",[10025,1816.69,14.0019],178.591], + ["Land_CncBlock_AntiHack",[10025.1,1812.14,13.9719],358.591], + ["Land_CncBlock_AntiHack",[10027.9,1812.21,13.9819],358.591], + ["Land_CncBlock_AntiHack",[10029.4,1813.48,14.0019],268.591], + ["Land_CncBlock_AntiHack",[10029.3,1815.89,14.0019],268.591], + ["Land_CncBlock_AntiHack",[10028,1817.05,13.9719],178.591], + ["Land_CncBlock_AntiHack",[10023.7,1815.66,14.0019],88.5905], + ["Land_CncBlock_AntiHack",[10023.8,1813.36,14.0019],88.5905], + ["Land_CncBlock_AntiHack",[3803.82,8926.21,10.6657],295], + ["Land_CncBlock_AntiHack",[3803.13,8928.22,10.7549],205], + ["Land_CncBlock_AntiHack",[3801.27,8927.49,10.7941],115], + ["Land_CncBlock_AntiHack",[3802.42,8926.83,10.744],70], + ["Land_CncBlock_AntiHack",[3801.85,8925.71,10.8741],25], + ["Land_CncBlock_AntiHack",[3802.7,8926.99,10.7443],340], + ["Land_CncBlock_AntiHack",[10482.8,2357.99,10.8159],55.7548], + ["Land_CncBlock_AntiHack",[10484.9,2357.56,10.906],325.755], + ["Land_CncBlock_AntiHack",[10485.2,2359.52,10.946],235.755], + ["Land_CncBlock_AntiHack",[10484,2358.88,10.896],190.755], + ["Land_CncBlock_AntiHack",[10483.4,2359.94,11.0261],145.755], + ["Land_CncBlock_AntiHack",[10484,2358.56,10.896],100.755], + ["Land_CncBlock_AntiHack",[12743,9591.97,10.8159],100], + ["Land_CncBlock_AntiHack",[12744.2,9590.21,10.906],10], + ["Land_CncBlock_AntiHack",[12745.8,9591.39,10.946],280], + ["Land_CncBlock_AntiHack",[12744.5,9591.74,10.896],235], + ["Land_CncBlock_AntiHack",[12744.8,9592.97,11.0261],190], + ["Land_CncBlock_AntiHack",[12744.3,9591.51,10.896],145], + ["Land_CncBlock_AntiHack",[3795.05,8840.28,0.431946],115], + ["Land_CncBlock_AntiHack",[3797.49,8840.65,0.434418],205], + ["Land_CncBlock_AntiHack",[3798.92,8838.35,0.431458],295], + ["Land_CncBlock_AntiHack",[6528.55,2803.38,0.421799],39.394], + ["Land_CncBlock_AntiHack",[6528.8,2805.83,0.4291],129.394], + ["Land_CncBlock_AntiHack",[6531.38,2806.65,0.42868],219.394], + ["Land_CncBlock_AntiHack",[6808.46,2454.72,0.427643],45.4698], + ["Land_CncBlock_AntiHack",[6808.96,2457.13,0.427613],135.47], + ["Land_CncBlock_AntiHack",[6811.62,2457.67,0.427193],225.47], + ["Misc_TyreHeap",[2855.6,9763.91,0.392761],358.517], + ["SKODAWreck",[2851.39,9748.99,0.698425],143.517], + ["SKODAWreck",[2849.1,9748.52,0.744751],143.517], + ["UralWreck",[2865.33,9738.06,0.690796],282.517], + ["datsun01Wreck",[2861.93,9757.81,0.715485],138.517], + ["SKODAWreck",[2857.55,9756.62,0.707581],138.517], + ["SKODAWreck",[2864.08,9729.46,0.762054],330.517], + ["UralWreck",[2853.83,9760.11,0.707977],172.517], + ["SKODAWreck",[2848.05,9752.76,0.712708],112.517], + ["LADAWreck",[2869.99,9744.72,0.612976],47.5172], + ["Misc_TyreHeap",[2873.45,9728.41,0.377014],57.5172], + ["Misc_TyreHeap",[4559.44,4546.45,-0.0964355],356], + ["SKODAWreck",[4555.89,4531.36,0.203568],141], + ["SKODAWreck",[4553.63,4530.79,0.203568],141], + ["UralWreck",[4570.3,4521.05,0.203568],280], + ["datsun01Wreck",[4566.04,4540.63,0.203568],136], + ["SKODAWreck",[4561.71,4539.25,0.203568],136], + ["SKODAWreck",[4569.43,4512.41,0.203568],328], + ["UralWreck",[4557.84,4542.57,0.203568],170], + ["SKODAWreck",[4552.39,4534.97,0.203568],110], + ["LADAWreck",[4574.66,4527.9,0.103577],45], + ["Misc_TyreHeap",[4578.83,4511.77,-0.10643],55], + ["Misc_TyreHeap",[6355.3,7703.04,-0.247253],72], + ["SKODAWreck",[6339.8,7702.83,0.0517578],217], + ["SKODAWreck",[6338.7,7704.89,0.0545044],217], + ["UralWreck",[6333.28,7686.36,0.0613098],356], + ["datsun01Wreck",[6351.24,7695.23,0.0513],212], + ["SKODAWreck",[6348.86,7699.1,0.0513],212], + ["SKODAWreck",[6324.68,7685.11,0.0513],44], + ["UralWreck",[6351.15,7703.66,0.0528564],246], + ["SKODAWreck",[6342.45,7707.11,0.0574646],186], + ["LADAWreck",[6340.99,7683.79,-0.043335],121], + ["Misc_TyreHeap",[6326.34,7675.84,-0.253143],131], + ["Misc_TyreHeap",[11348.2,6643.79,0.0348358],111.033], + ["SKODAWreck",[11336,6653.39,0.334831],256.033], + ["SKODAWreck",[11336.5,6655.68,0.334831],256.033], + ["UralWreck",[11320.6,6644.7,0.334831],35.0333], + ["datsun01Wreck",[11340.1,6640.28,0.334831],251.033], + ["SKODAWreck",[11340.7,6644.78,0.334831],251.033], + ["SKODAWreck",[11313.1,6649.14,0.334831],83.0333], + ["UralWreck",[11345.4,6646.88,0.334831],285.033], + ["SKODAWreck",[11340.8,6655.04,0.334831],225.033], + ["LADAWreck",[11325,6637.85,0.234833],160.033], + ["Misc_TyreHeap",[11308.6,6640.9,0.0248337],170.033], + ["Fort_Barricade_EP1",[11459.571,7390.7227,-0.040615425],225.14645], + //Cherno + ["Land_CncBlock_AntiHack",[6382.5,2794,6],218], + ["Land_CncBlock_AntiHack",[6382.5,2794,4.7],218], + //Berezino + ["Land_CncBlock_AntiHack",[12228.8,9521.95,5.78098],23.2569], + ["Land_CncBlock_AntiHack",[12228.8,9521.73,4.66826],23.2569], + ["Land_CncBlock_AntiHack",[12239.6,9489.99,5.81526],142.355], + ["Land_CncBlock_AntiHack",[12239.2,9489.61,4.5343],142.355], + ["Land_CncBlock_AntiHack",[12803.3,10085.3,5.70783],201.212], + ["Land_CncBlock_AntiHack",[12803.3,10085.3,4.5478],201.212], + ["Land_CncBlock_AntiHack",[12778.4,10124,5.69832],201.186], + ["Land_CncBlock_AntiHack",[12778.4,10124,4.55829],201.186] +],true,true,true] call fnc_spawnObjects; diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/BlackLake.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/BlackLake.sqf index 43e17b26..bf56d214 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/BlackLake.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/BlackLake.sqf @@ -1,161 +1,17 @@ -if (isServer) then { - _vehicle_1 = objNull; - if (true) then - { - _this = "UralWreck" createVehicle [13383.615, 12108.852, -7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_1 = _this; - _this setDir -157.98087; - _this setPos [13383.615, 12108.852, -7.6293945e-005]; - }; - - _vehicle_2 = objNull; - if (true) then - { - _this = "Body1" createVehicle [13379.557, 12107.342, -0.00049591064]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_2 = _this; - _this setPos [13379.557, 12107.342, -0.00049591064]; - }; - - _vehicle_3 = objNull; - if (true) then - { - _this = "Body2" createVehicle [13377.169, 12106.324, -0.00025939941]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_3 = _this; - _this setDir -17.968742; - _this setPos [13377.169, 12106.324, -0.00025939941]; - }; - - _vehicle_5 = objNull; - if (true) then - { - _this = "Body1" createVehicle [13385.378, 12102.333, -0.00020599365]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_5 = _this; - _this setPos [13385.378, 12102.333, -0.00020599365]; - }; - - _vehicle_10 = objNull; - if (true) then - { - _this = "Body2" createVehicle [13384.223, 12103.464, -0.00019836426]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_10 = _this; - _this setDir -127.13429; - _this setPos [13384.223, 12103.464, -0.00019836426]; - }; - - _vehicle_12 = objNull; - if (true) then - { - _this = "Body2" createVehicle [13371.131, 12099.254, 0.00051116943]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_12 = _this; - _this setDir -17.968742; - _this setPos [13371.131, 12099.254, 0.00051116943]; - }; - - _vehicle_14 = objNull; - if (true) then - { - _this = "Body2" createVehicle [13345.344, 12055.598, -5.3405762e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_14 = _this; - _this setDir -17.968742; - _this setPos [13345.344, 12055.598, -5.3405762e-005]; - }; - - _vehicle_16 = objNull; - if (true) then - { - _this = "Mass_grave" createVehicle [13394.821, 12091.484, -0.047801755]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_16 = _this; - _this setDir -106.27802; - _this setPos [13394.821, 12091.484, -0.047801755]; - }; - - _vehicle_18 = objNull; - if (true) then - { - _this = "Body2" createVehicle [13350.278, 12058.968, -0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_18 = _this; - _this setDir -107.82382; - _this setPos [13350.278, 12058.968, -0.00012207031]; - }; - - _vehicle_21 = objNull; - if (true) then - { - _this = "Body1" createVehicle [13347.763, 12056.695, 0.00011444092]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_21 = _this; - _this setPos [13347.763, 12056.695, 0.00011444092]; - }; - - _vehicle_23 = objNull; - if (true) then - { - _this = "Mass_grave" createVehicle [13277.084, 11933.121, -2.2888184e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_23 = _this; - _this setPos [13277.084, 11933.121, -2.2888184e-005]; - }; - - _vehicle_25 = objNull; - if (true) then - { - _this = "Body1" createVehicle [13274.308, 11937.976, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_25 = _this; - _this setPos [13274.308, 11937.976, 1.5258789e-005]; - }; - - _vehicle_27 = objNull; - if (true) then - { - _this = "Body1" createVehicle [13277.561, 11929.183, -2.2888184e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_27 = _this; - _this setPos [13277.561, 11929.183, -2.2888184e-005]; - }; - - _vehicle_30 = objNull; - if (true) then - { - _this = "Body2" createVehicle [13278.021, 11938.413]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_30 = _this; - _this setDir -145.52971; - _this setPos [13278.021, 11938.413]; - }; - - _vehicle_32 = objNull; - if (true) then - { - _this = "Body2" createVehicle [13281.352, 11935.071, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_32 = _this; - _this setDir -63.390606; - _this setPos [13281.352, 11935.071, 1.5258789e-005]; - }; - -}; \ No newline at end of file +[[ + ["UralWreck",[13383.615,12108.852,-7.6293945e-005],-157.98087], + ["Body1",[13379.557,12107.342,-0.00049591064],0], + ["Body2",[13377.169,12106.324,-0.00025939941],-17.968742], + ["Body1",[13385.378,12102.333,-0.00020599365],0], + ["Body2",[13384.223,12103.464,-0.00019836426],-127.13429], + ["Body2",[13371.131,12099.254,0.00051116943],-17.968742], + ["Body2",[13345.344,12055.598,-5.3405762e-005],-17.968742], + ["Mass_grave",[13394.821,12091.484,-0.047801755],-106.27802], + ["Body2",[13350.278,12058.968,-0.00012207031],-107.82382], + ["Body1",[13347.763,12056.695,0.00011444092],0], + ["Mass_grave",[13277.084,11933.121,-2.2888184e-005],0], + ["Body1",[13274.308,11937.976,1.5258789e-005],0], + ["Body1",[13277.561,11929.183,-2.2888184e-005],0], + ["Body2",[13278.021,11938.413],-145.52971], + ["Body2",[13281.352,11935.071,1.5258789e-005],-63.390606] +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Dobryy.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Dobryy.sqf index ea0c8cdd..323a6ed0 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Dobryy.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Dobryy.sqf @@ -1,75 +1,9 @@ -if (isServer) then { - _vehicle_186 = objNull; - if (true) then - { - _this = "Body1" createVehicle [10174.857, 3126.1104, -1.9073486e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_186 = _this; - _this setPos [10174.857, 3126.1104, -1.9073486e-005]; - }; - - _vehicle_189 = objNull; - if (true) then - { - _this = "Body2" createVehicle [10177.264, 3126.8271, 1.1444092e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_189 = _this; - _this setDir -241.20241; - _this setPos [10177.264, 3126.8271, 1.1444092e-005]; - }; - - _vehicle_192 = objNull; - if (true) then - { - _this = "BRDMWreck" createVehicle [10212.747, 3181.915, -2.2888184e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_192 = _this; - _this setDir 79.571251; - _this setPos [10212.747, 3181.915, -2.2888184e-005]; - }; - - _vehicle_195 = objNull; - if (true) then - { - _this = "Body1" createVehicle [10213.748, 3179.0986, 6.6757202e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_195 = _this; - _this setPos [10213.748, 3179.0986, 6.6757202e-005]; - }; - - _vehicle_198 = objNull; - if (true) then - { - _this = "Body2" createVehicle [10214.048, 3185.6113, -0.00019645691]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_198 = _this; - _this setDir -208.83; - _this setPos [10214.048, 3185.6113, -0.00019645691]; - }; - - _vehicle_200 = objNull; - if (true) then - { - _this = "Body2" createVehicle [10217.711, 3180.9695, -0.00023651123]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_200 = _this; - _this setDir -321.35828; - _this setPos [10217.711, 3180.9695, -0.00023651123]; - }; - - _vehicle_203 = objNull; - if (true) then - { - _this = "Body1" createVehicle [10216.19, 3186.8555, -0.00011634827]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_203 = _this; - _this setPos [10216.19, 3186.8555, -0.00011634827]; - }; -}; \ No newline at end of file +[[ + ["Body1",[10174.857,3126.1104,-1.9073486e-005],0], + ["Body2",[10177.264,3126.8271,1.1444092e-005],-241.20241], + ["BRDMWreck",[10212.747,3181.915,-2.2888184e-005],79.571251], + ["Body1",[10213.748,3179.0986,6.6757202e-005],0], + ["Body2",[10214.048,3185.6113,-0.00019645691],-208.83], + ["Body2",[10217.711,3180.9695,-0.00023651123],-321.35828], + ["Body1",[10216.19,3186.8555,-0.00011634827],0] +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Gvozdno.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Gvozdno.sqf index 2d1304b1..ac0a3326 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Gvozdno.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Gvozdno.sqf @@ -1,53 +1,7 @@ -if (isServer) then { - _vehicle_150 = objNull; - if (true) then - { - _this = "Body1" createVehicle [8294.6152, 12149.16, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_150 = _this; - _this setPos [8294.6152, 12149.16, 3.0517578e-005]; - }; - - _vehicle_152 = objNull; - if (true) then - { - _this = "Body1" createVehicle [8287.1045, 12132.071, -0.00047302246]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_152 = _this; - _this setPos [8287.1045, 12132.071, -0.00047302246]; - }; - - _vehicle_154 = objNull; - if (true) then - { - _this = "Body1" createVehicle [8264.8877, 12148.402, 0.00038146973]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_154 = _this; - _this setPos [8264.8877, 12148.402, 0.00038146973]; - }; - - _vehicle_157 = objNull; - if (true) then - { - _this = "Body2" createVehicle [8268.8555, 12156.784, -0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_157 = _this; - _this setDir -128.94524; - _this setPos [8268.8555, 12156.784, -0.00012207031]; - }; - - _vehicle_159 = objNull; - if (true) then - { - _this = "Body2" createVehicle [8278.6172, 12133.853, 0.00077819824]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_159 = _this; - _this setDir 34.286942; - _this setPos [8278.6172, 12133.853, 0.00077819824]; - }; -}; \ No newline at end of file +[[ + ["Body1",[8294.6152,12149.16,3.0517578e-005],0], + ["Body1",[8287.1045,12132.071,-0.00047302246],0], + ["Body1",[8264.8877,12148.402,0.00038146973],0], + ["Body2",[8268.8555,12156.784,-0.00012207031],-128.94524], + ["Body2",[8278.6172,12133.853,0.00077819824],34.286942] +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Kabanino.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Kabanino.sqf index a6bcbd95..4f5ef800 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Kabanino.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Kabanino.sqf @@ -1,54 +1,7 @@ -if (isServer) then { - _vehicle_314 = objNull; - if (true) then - { - _this = "Body1" createVehicle [5626.4521, 8577.7822, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_314 = _this; - _this setPos [5626.4521, 8577.7822, 0]; - }; - - _vehicle_316 = objNull; - if (true) then - { - _this = "Body1" createVehicle [5653.271, 8565.1514, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_316 = _this; - _this setPos [5653.271, 8565.1514, -3.0517578e-005]; - }; - - _vehicle_319 = objNull; - if (true) then - { - _this = "Body2" createVehicle [5631.9009, 8564.624, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_319 = _this; - _this setDir 120.97764; - _this setPos [5631.9009, 8564.624, 9.1552734e-005]; - }; - - _vehicle_321 = objNull; - if (true) then - { - _this = "Body2" createVehicle [5626.8066, 8571.2871]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_321 = _this; - _this setDir -6.9082727; - _this setPos [5626.8066, 8571.2871]; - }; - - _vehicle_323 = objNull; - if (true) then - { - _this = "Body2" createVehicle [5624.5215, 8586.6445, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_323 = _this; - _this setDir -10.941958; - _this setPos [5624.5215, 8586.6445, -3.0517578e-005]; - }; -}; \ No newline at end of file +[[ + ["Body1",[5626.4521,8577.7822,0],0], + ["Body1",[5653.271,8565.1514,-3.0517578e-005],0], + ["Body2",[5631.9009,8564.624,9.1552734e-005],120.97764], + ["Body2",[5626.8066,8571.2871],-6.9082727], + ["Body2",[5624.5215,8586.6445,-3.0517578e-005],-10.941958] +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Kopyto.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Kopyto.sqf index 3dfae721..74f07c60 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Kopyto.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Kopyto.sqf @@ -1,108 +1,12 @@ -if (isServer) then { - _vehicle_162 = objNull; - if (true) then - { - _this = "Mass_grave" createVehicle [7698.6094, 3984.0344, 5.3405762e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_162 = _this; - _this setDir -127.91888; - _this setPos [7698.6094, 3984.0344, 5.3405762e-005]; - }; - - _vehicle_165 = objNull; - if (true) then - { - _this = "Body1" createVehicle [7696.6646, 3979.2568, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_165 = _this; - _this setPos [7696.6646, 3979.2568, 6.1035156e-005]; - }; - - _vehicle_167 = objNull; - if (true) then - { - _this = "Body1" createVehicle [7705.2397, 3986.8789, -7.6293945e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_167 = _this; - _this setPos [7705.2397, 3986.8789, -7.6293945e-006]; - }; - - _vehicle_170 = objNull; - if (true) then - { - _this = "Body2" createVehicle [7701.4297, 3987.833, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_170 = _this; - _this setDir -260.24319; - _this setPos [7701.4297, 3987.833, 4.5776367e-005]; - }; - - _vehicle_172 = objNull; - if (true) then - { - _this = "Body2" createVehicle [7693.4331, 3985.4343, 0.00016784668]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_172 = _this; - _this setDir -259.017; - _this setPos [7693.4331, 3985.4343, 0.00016784668]; - }; - - _vehicle_174 = objNull; - if (true) then - { - _this = "Body2" createVehicle [7737.8218, 3956.1387, 3.8146973e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_174 = _this; - _this setDir -261.63678; - _this setPos [7737.8218, 3956.1387, 3.8146973e-005]; - }; - - _vehicle_176 = objNull; - if (true) then - { - _this = "Body2" createVehicle [7701.2686, 3978.0706, 1.9073486e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_176 = _this; - _this setDir -256.70078; - _this setPos [7701.2686, 3978.0706, 1.9073486e-005]; - }; - - _vehicle_178 = objNull; - if (true) then - { - _this = "Body2" createVehicle [7705.8154, 3981.1963, 7.2479248e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_178 = _this; - _this setDir -98.922691; - _this setPos [7705.8154, 3981.1963, 7.2479248e-005]; - }; - - _vehicle_180 = objNull; - if (true) then - { - _this = "Body2" createVehicle [7705.1436, 3975.3965, -8.392334e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_180 = _this; - _this setDir -205.44472; - _this setPos [7705.1436, 3975.3965, -8.392334e-005]; - }; - - _vehicle_183 = objNull; - if (true) then - { - _this = "Body1" createVehicle [7703.9932, 3978.3486, -2.2888184e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_183 = _this; - _this setPos [7703.9932, 3978.3486, -2.2888184e-005]; - }; -}; \ No newline at end of file +[[ + ["Mass_grave",[7698.6094,3984.0344,5.3405762e-005],-127.91888], + ["Body1",[7696.6646,3979.2568,6.1035156e-005],0], + ["Body1",[7705.2397,3986.8789,-7.6293945e-006],0], + ["Body2",[7701.4297,3987.833,4.5776367e-005],-260.24319], + ["Body2",[7693.4331,3985.4343,0.00016784668],-259.017], + ["Body2",[7737.8218,3956.1387,3.8146973e-005],-261.63678], + ["Body2",[7701.2686,3978.0706,1.9073486e-005],-256.70078], + ["Body2",[7705.8154,3981.1963,7.2479248e-005],-98.922691], + ["Body2",[7705.1436,3975.3965,-8.392334e-005],-205.44472], + ["Body1",[7703.9932,3978.3486,-2.2888184e-005],0] +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Mogilevka.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Mogilevka.sqf index d62b939c..51c39d24 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Mogilevka.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Mogilevka.sqf @@ -1,75 +1,9 @@ -if (isServer) then { - _vehicle_271 = objNull; - if (true) then - { - _this = "Body1" createVehicle [7688.604, 5947.6357, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_271 = _this; - _this setPos [7688.604, 5947.6357, 4.5776367e-005]; - }; - - _vehicle_273 = objNull; - if (true) then - { - _this = "Body1" createVehicle [7688.8301, 5927.563, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_273 = _this; - _this setPos [7688.8301, 5927.563, -3.0517578e-005]; - }; - - _vehicle_281 = objNull; - if (true) then - { - _this = "Body2" createVehicle [7692.501, 5935.375, -4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_281 = _this; - _this setDir -157.49536; - _this setPos [7692.501, 5935.375, -4.5776367e-005]; - }; - - _vehicle_283 = objNull; - if (true) then - { - _this = "Body2" createVehicle [7700.9634, 5931.4126, -4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_283 = _this; - _this setDir 7.0104899; - _this setPos [7700.9634, 5931.4126, -4.5776367e-005]; - }; - - _vehicle_285 = objNull; - if (true) then - { - _this = "Body2" createVehicle [7858.001, 5657.7495, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_285 = _this; - _this setDir -128.94524; - _this setPos [7858.001, 5657.7495, 1.5258789e-005]; - }; - - _vehicle_287 = objNull; - if (true) then - { - _this = "Body2" createVehicle [7852.356, 5674.4395, -4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_287 = _this; - _this setDir -8.1682386; - _this setPos [7852.356, 5674.4395, -4.5776367e-005]; - }; - - _vehicle_290 = objNull; - if (true) then - { - _this = "Body1" createVehicle [7857.3604, 5665.8076, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_290 = _this; - _this setPos [7857.3604, 5665.8076, 1.5258789e-005]; - }; -}; \ No newline at end of file +[[ + ["Body1",[7688.604,5947.6357,4.5776367e-005],0], + ["Body1",[7688.8301,5927.563,-3.0517578e-005],0], + ["Body2",[7692.501,5935.375,-4.5776367e-005],-157.49536], + ["Body2",[7700.9634,5931.4126,-4.5776367e-005],7.0104899], + ["Body2",[7858.001,5657.7495,1.5258789e-005],-128.94524], + ["Body2",[7852.356,5674.4395,-4.5776367e-005],-8.1682386], + ["Body1",[7857.3604,5665.8076,1.5258789e-005],0] +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Nadezdinho.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Nadezdinho.sqf index ce3fde9a..ab3d5007 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Nadezdinho.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Nadezdinho.sqf @@ -1,75 +1,9 @@ -if (isServer) then { - _vehicle_399 = objNull; - if (true) then - { - _this = "Body1" createVehicle [5749.7417, 4099.6704, -8.392334e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_399 = _this; - _this setPos [5749.7417, 4099.6704, -8.392334e-005]; - }; - - _vehicle_401 = objNull; - if (true) then - { - _this = "Body1" createVehicle [5738.4092, 4094.8413, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_401 = _this; - _this setPos [5738.4092, 4094.8413, 6.1035156e-005]; - }; - - _vehicle_403 = objNull; - if (true) then - { - _this = "Body1" createVehicle [5721.3667, 4130.4922, 6.8664551e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_403 = _this; - _this setPos [5721.3667, 4130.4922, 6.8664551e-005]; - }; - - _vehicle_406 = objNull; - if (true) then - { - _this = "Body2" createVehicle [5731.2964, 4127.3643, -0.00024414063]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_406 = _this; - _this setDir -170.19336; - _this setPos [5731.2964, 4127.3643, -0.00024414063]; - }; - - _vehicle_408 = objNull; - if (true) then - { - _this = "Body2" createVehicle [5737.1704, 4123.252, -0.00011444092]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_408 = _this; - _this setDir -170.19336; - _this setPos [5737.1704, 4123.252, -0.00011444092]; - }; - - _vehicle_410 = objNull; - if (true) then - { - _this = "Body2" createVehicle [5739.8633, 4117.3682, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_410 = _this; - _this setDir -50.762642; - _this setPos [5739.8633, 4117.3682, 7.6293945e-005]; - }; - - _vehicle_412 = objNull; - if (true) then - { - _this = "Body2" createVehicle [5749.9834, 4102.6377, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_412 = _this; - _this setDir -221.62927; - _this setPos [5749.9834, 4102.6377, 4.5776367e-005]; - }; -}; \ No newline at end of file +[[ + ["Body1",[5749.7417,4099.6704,-8.392334e-005],0], + ["Body1",[5738.4092,4094.8413,6.1035156e-005],0], + ["Body1",[5721.3667,4130.4922,6.8664551e-005],0], + ["Body2",[5731.2964,4127.3643,-0.00024414063],-170.19336], + ["Body2",[5737.1704,4123.252,-0.00011444092],-170.19336], + ["Body2",[5739.8633,4117.3682,7.6293945e-005],-50.762642], + ["Body2",[5749.9834,4102.6377,4.5776367e-005],-221.62927] +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/NorthNadezdinho.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/NorthNadezdinho.sqf index 5480c848..3dd525e2 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/NorthNadezdinho.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/NorthNadezdinho.sqf @@ -1,108 +1,12 @@ -if (isServer) then { - _vehicle_375 = objNull; - if (true) then - { - _this = "UAZWreck" createVehicle [5802.0796, 5216.9868, -0.1246307]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_375 = _this; - _this setDir 58.098339; - _this setPos [5802.0796, 5216.9868, -0.1246307]; - }; - - _vehicle_378 = objNull; - if (true) then - { - _this = "UralWreck" createVehicle [5798.4321, 5161.209, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_378 = _this; - _this setDir -58.649803; - _this setPos [5798.4321, 5161.209, 4.5776367e-005]; - }; - - _vehicle_381 = objNull; - if (true) then - { - _this = "Body2" createVehicle [5796.3213, 5168.3052, -0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_381 = _this; - _this setDir -102.43096; - _this setPos [5796.3213, 5168.3052, -0.00012207031]; - }; - - _vehicle_383 = objNull; - if (true) then - { - _this = "Body2" createVehicle [5794.877, 5157.9111, -0.00021362305]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_383 = _this; - _this setDir -154.39388; - _this setPos [5794.877, 5157.9111, -0.00021362305]; - }; - - _vehicle_385 = objNull; - if (true) then - { - _this = "Body2" createVehicle [5792.832, 5163.8003, -4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_385 = _this; - _this setDir -97.141403; - _this setPos [5792.832, 5163.8003, -4.5776367e-005]; - }; - - _vehicle_387 = objNull; - if (true) then - { - _this = "Body2" createVehicle [5802.4307, 5213.1123, -0.00016784668]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_387 = _this; - _this setDir -99.565521; - _this setPos [5802.4307, 5213.1123, -0.00016784668]; - }; - - _vehicle_389 = objNull; - if (true) then - { - _this = "Body2" createVehicle [5800.0649, 5220.5977, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_389 = _this; - _this setDir -99.565521; - _this setPos [5800.0649, 5220.5977, -3.0517578e-005]; - }; - - _vehicle_392 = objNull; - if (true) then - { - _this = "Body1" createVehicle [5804.439, 5215.0063, -0.0001373291]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_392 = _this; - _this setPos [5804.439, 5215.0063, -0.0001373291]; - }; - - _vehicle_394 = objNull; - if (true) then - { - _this = "Body1" createVehicle [5799.7075, 5164.0625, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_394 = _this; - _this setPos [5799.7075, 5164.0625, 0]; - }; - - _vehicle_396 = objNull; - if (true) then - { - _this = "Body1" createVehicle [5795.9951, 5165.9434, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_396 = _this; - _this setPos [5795.9951, 5165.9434, 1.5258789e-005]; - }; -}; \ No newline at end of file +[[ + ["UAZWreck",[5802.0796,5216.9868,-0.1246307],58.098339], + ["UralWreck",[5798.4321,5161.209,4.5776367e-005],-58.649803], + ["Body2",[5796.3213,5168.3052,-0.00012207031],-102.43096], + ["Body2",[5794.877,5157.9111,-0.00021362305],-154.39388], + ["Body2",[5792.832,5163.8003,-4.5776367e-005],-97.141403], + ["Body2",[5802.4307,5213.1123,-0.00016784668],-99.565521], + ["Body2",[5800.0649,5220.5977,-3.0517578e-005],-99.565521], + ["Body1",[5804.439,5215.0063,-0.0001373291],0], + ["Body1",[5799.7075,5164.0625,0],0], + ["Body1",[5795.9951,5165.9434,1.5258789e-005],0] +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/NorthPusta.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/NorthPusta.sqf index 12465056..1858ced6 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/NorthPusta.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/NorthPusta.sqf @@ -1,53 +1,7 @@ -if (isServer) then { - _vehicle_259 = objNull; - if (true) then - { - _this = "Body1" createVehicle [9221.8047, 4960.5381, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_259 = _this; - _this setPos [9221.8047, 4960.5381, 0]; - }; - - _vehicle_261 = objNull; - if (true) then - { - _this = "Body1" createVehicle [9215.4082, 4959.6289, -2.2888184e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_261 = _this; - _this setPos [9215.4082, 4959.6289, -2.2888184e-005]; - }; - - _vehicle_264 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9217.5645, 4961.3643, -7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_264 = _this; - _this setDir -146.58554; - _this setPos [9217.5645, 4961.3643, -7.6293945e-005]; - }; - - _vehicle_266 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9220.0195, 4953.0513, -2.2888184e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_266 = _this; - _this setDir -108.14923; - _this setPos [9220.0195, 4953.0513, -2.2888184e-005]; - }; - - _vehicle_269 = objNull; - if (true) then - { - _this = "Body1" createVehicle [9217.207, 4953.2314, 7.6293945e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_269 = _this; - _this setPos [9217.207, 4953.2314, 7.6293945e-006]; - }; -}; \ No newline at end of file +[[ + ["Body1",[9221.8047,4960.5381,0],0], + ["Body1",[9215.4082,4959.6289,-2.2888184e-005],0], + ["Body2",[9217.5645,4961.3643,-7.6293945e-005],-146.58554], + ["Body2",[9220.0195,4953.0513,-2.2888184e-005],-108.14923], + ["Body1",[9217.207,4953.2314,7.6293945e-006],0] +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/NorthTopolka.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/NorthTopolka.sqf index 3ce37918..55a831db 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/NorthTopolka.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/NorthTopolka.sqf @@ -1,118 +1,13 @@ -if (isServer) then { - _vehicle_235 = objNull; - if (true) then - { - _this = "Body1" createVehicle [10044.766, 4155.1172, 0.00061035156]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_235 = _this; - _this setPos [10044.766, 4155.1172, 0.00061035156]; - }; - - _vehicle_237 = objNull; - if (true) then - { - _this = "Body1" createVehicle [10037.467, 4167.7607, -0.00018310547]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_237 = _this; - _this setPos [10037.467, 4167.7607, -0.00018310547]; - }; - - _vehicle_240 = objNull; - if (true) then - { - _this = "Body2" createVehicle [10040.509, 4159.4536, 1.9073486e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_240 = _this; - _this setDir -134.36063; - _this setPos [10040.509, 4159.4536, 1.9073486e-005]; - }; - - _vehicle_242 = objNull; - if (true) then - { - _this = "Body2" createVehicle [10008.558, 4198.1191, 0.00020217896]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_242 = _this; - _this setDir -212.14496; - _this setPos [10008.558, 4198.1191, 0.00020217896]; - }; - - _vehicle_244 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9981.3945, 4218.0845, 5.7220459e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_244 = _this; - _this setDir -75.220901; - _this setPos [9981.3945, 4218.0845, 5.7220459e-005]; - }; - - _vehicle_246 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9970.2891, 4214.0723, 0.00016021729]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_246 = _this; - _this setDir -212.14496; - _this setPos [9970.2891, 4214.0723, 0.00016021729]; - }; - - _vehicle_248 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9972.3984, 4216.5981, -9.5367432e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_248 = _this; - _this setDir -106.91085; - _this setPos [9972.3984, 4216.5981, -9.5367432e-005]; - }; - - _vehicle_250 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9980.2734, 4168.4639, 1.9073486e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_250 = _this; - _this setDir -238.96138; - _this setPos [9980.2734, 4168.4639, 1.9073486e-005]; - }; - - _vehicle_252 = objNull; - if (true) then - { - _this = "Body2" createVehicle [10005.476, 4147.1729, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_252 = _this; - _this setDir -154.11565; - _this setPos [10005.476, 4147.1729, -3.0517578e-005]; - }; - - _vehicle_255 = objNull; - if (true) then - { - _this = "Body1" createVehicle [9975.0391, 4217.8608, -3.4332275e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_255 = _this; - _this setPos [9975.0391, 4217.8608, -3.4332275e-005]; - }; - - _vehicle_257 = objNull; - if (true) then - { - _this = "Body1" createVehicle [10005.835, 4200.8569, 4.9591064e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_257 = _this; - _this setPos [10005.835, 4200.8569, 4.9591064e-005]; - }; -}; \ No newline at end of file +[[ + ["Body1",[10044.766,4155.1172,0.00061035156],0], + ["Body1",[10037.467,4167.7607,-0.00018310547],0], + ["Body2",[10040.509,4159.4536,1.9073486e-005],-134.36063], + ["Body2",[10008.558,4198.1191,0.00020217896],-212.14496], + ["Body2",[9981.3945,4218.0845,5.7220459e-005],-75.220901], + ["Body2",[9970.2891,4214.0723,0.00016021729],-212.14496], + ["Body2",[9972.3984,4216.5981,-9.5367432e-005],-106.91085], + ["Body2",[9980.2734,4168.4639,1.9073486e-005],-238.96138], + ["Body2",[10005.476,4147.1729,-3.0517578e-005],-154.11565], + ["Body1",[9975.0391,4217.8608,-3.4332275e-005],0], + ["Body1",[10005.835,4200.8569,4.9591064e-005],0] +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Novy.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Novy.sqf index 542e84cb..82f2b3ec 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Novy.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Novy.sqf @@ -1,55 +1,7 @@ -if (isServer) then { - _vehicle_292 = objNull; - if (true) then - { - _this = "Body1" createVehicle [7081.7197, 7339.3687, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_292 = _this; - _this setPos [7081.7197, 7339.3687, -3.0517578e-005]; - }; - - _vehicle_295 = objNull; - if (true) then - { - _this = "Body2" createVehicle [7081.373, 7335.3784]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_295 = _this; - _this setDir -167.71442; - _this setPos [7081.373, 7335.3784]; - }; - - _vehicle_297 = objNull; - if (true) then - { - _this = "Body2" createVehicle [7077.8691, 7338.8906, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_297 = _this; - _this setDir -99.565521; - _this setPos [7077.8691, 7338.8906, -3.0517578e-005]; - }; - - _vehicle_299 = objNull; - if (true) then - { - _this = "Body2" createVehicle [7085.6162, 7311.5015]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_299 = _this; - _this setDir -191.12827; - _this setPos [7085.6162, 7311.5015]; - }; - - _vehicle_301 = objNull; - if (true) then - { - _this = "Body2" createVehicle [7088.4497, 7314.1401, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_301 = _this; - _this setDir -95.034286; - _this setPos [7088.4497, 7314.1401, -3.0517578e-005]; - }; -}; \ No newline at end of file +[[ + ["Body1",[7081.7197,7339.3687,-3.0517578e-005],0], + ["Body2",[7081.373,7335.3784],-167.71442], + ["Body2",[7077.8691,7338.8906,-3.0517578e-005],-99.565521], + ["Body2",[7085.6162,7311.5015],-191.12827], + ["Body2",[7088.4497,7314.1401,-3.0517578e-005],-95.034286] +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/PobedaDam.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/PobedaDam.sqf index 3429fb94..127ad4cd 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/PobedaDam.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/PobedaDam.sqf @@ -1,371 +1,37 @@ -if (isServer) then { - _vehicle_71 = objNull; - if (true) then - { - _this = "UralWreck" createVehicle [9457.4082, 13539.698, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_71 = _this; - _this setDir -48.00666; - _this setPos [9457.4082, 13539.698, 0.00012207031]; - }; - - _vehicle_74 = objNull; - if (true) then - { - _this = "Mass_grave" createVehicle [9432.0479, 13551.514, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_74 = _this; - _this setDir -52.928001; - _this setPos [9432.0479, 13551.514, 3.0517578e-005]; - }; - - _vehicle_77 = objNull; - if (true) then - { - _this = "Body1" createVehicle [9452.0176, 13542.769, 0.0001449585]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_77 = _this; - _this setPos [9452.0176, 13542.769, 0.0001449585]; - }; - - _vehicle_79 = objNull; - if (true) then - { - _this = "Body1" createVehicle [9434.6738, 13553.595, 0.00038146973]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_79 = _this; - _this setPos [9434.6738, 13553.595, 0.00038146973]; - }; - - _vehicle_81 = objNull; - if (true) then - { - _this = "Body1" createVehicle [9429.7334, 13547.495, 3.8146973e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_81 = _this; - _this setPos [9429.7334, 13547.495, 3.8146973e-005]; - }; - - _vehicle_84 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9431.8369, 13546.111, 0.00010681152]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_84 = _this; - _this setDir -170.19336; - _this setPos [9431.8369, 13546.111, 0.00010681152]; - }; - - _vehicle_86 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9440.8145, 13549.473, 5.3405762e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_86 = _this; - _this setDir -212.14496; - _this setPos [9440.8145, 13549.473, 5.3405762e-005]; - }; - - _vehicle_88 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9443.5781, 13542.093, 0.00016784668]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_88 = _this; - _this setDir -121.03424; - _this setPos [9443.5781, 13542.093, 0.00016784668]; - }; - - _vehicle_90 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9448.1299, 13545.927, -3.8146973e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_90 = _this; - _this setDir -80.685539; - _this setPos [9448.1299, 13545.927, -3.8146973e-005]; - }; - - _vehicle_92 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9443.166, 13549.999, -2.2888184e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_92 = _this; - _this setDir -188.25583; - _this setPos [9443.166, 13549.999, -2.2888184e-005]; - }; - - _vehicle_94 = objNull; - if (true) then - { - _this = "BRDMWreck" createVehicle [9437.0771, 13544.629, 0.00090026855]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_94 = _this; - _this setPos [9437.0771, 13544.629, 0.00090026855]; - }; - - _vehicle_95 = objNull; - if (true) then - { - _this = "UAZWreck" createVehicle [9444.9355, 13545.063, 0.00030517578]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_95 = _this; - _this setDir 137.0313; - _this setPos [9444.9355, 13545.063, 0.00030517578]; - }; - - _vehicle_97 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9451.7236, 13538.354, 6.8664551e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_97 = _this; - _this setDir -259.017; - _this setPos [9451.7236, 13538.354, 6.8664551e-005]; - }; - - _vehicle_99 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9673.7705, 13593.981, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_99 = _this; - _this setDir -244.61786; - _this setPos [9673.7705, 13593.981, 1.5258789e-005]; - }; - - _vehicle_101 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9680.7686, 13595.577, 5.3405762e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_101 = _this; - _this setDir -212.14496; - _this setPos [9680.7686, 13595.577, 5.3405762e-005]; - }; - - _vehicle_103 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9664.4326, 13590.43, 0.0002746582]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_103 = _this; - _this setDir -281.6481; - _this setPos [9664.4326, 13590.43, 0.0002746582]; - }; - - _vehicle_106 = objNull; - if (true) then - { - _this = "Body1" createVehicle [9669.5635, 13590.899, 0.00035858154]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_106 = _this; - _this setPos [9669.5635, 13590.899, 0.00035858154]; - }; - - _vehicle_108 = objNull; - if (true) then - { - _this = "Body1" createVehicle [9657.8125, 13588.521, 0.00022125244]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_108 = _this; - _this setPos [9657.8125, 13588.521, 0.00022125244]; - }; - - _vehicle_110 = objNull; - if (true) then - { - _this = "Body1" createVehicle [9576.584, 13707.372, 9.9182129e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_110 = _this; - _this setPos [9576.584, 13707.372, 9.9182129e-005]; - }; - - _vehicle_112 = objNull; - if (true) then - { - _this = "Body1" createVehicle [9541.1582, 13704.937, -0.00039672852]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_112 = _this; - _this setPos [9541.1582, 13704.937, -0.00039672852]; - }; - - _vehicle_114 = objNull; - if (true) then - { - _this = "Body1" createVehicle [9517.6113, 13728.821, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_114 = _this; - _this setPos [9517.6113, 13728.821, 4.5776367e-005]; - }; - - _vehicle_116 = objNull; - if (true) then - { - _this = "Body1" createVehicle [9474.7754, 13754.797, -0.00031280518]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_116 = _this; - _this setPos [9474.7754, 13754.797, -0.00031280518]; - }; - - _vehicle_118 = objNull; - if (true) then - { - _this = "Body1" createVehicle [9426.668, 13678.309, 5.3405762e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_118 = _this; - _this setPos [9426.668, 13678.309, 5.3405762e-005]; - }; - - _vehicle_120 = objNull; - if (true) then - { - _this = "Body1" createVehicle [9428.501, 13656.878, -3.8146973e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_120 = _this; - _this setPos [9428.501, 13656.878, -3.8146973e-005]; - }; - - _vehicle_123 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9423.6484, 13638.107, -2.2888184e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_123 = _this; - _this setDir -228.21346; - _this setPos [9423.6484, 13638.107, -2.2888184e-005]; - }; - - _vehicle_125 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9368.6328, 13630.045, 0.0001373291]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_125 = _this; - _this setDir -267.00247; - _this setPos [9368.6328, 13630.045, 0.0001373291]; - }; - - _vehicle_127 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9296.8057, 13615.553, 2.2888184e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_127 = _this; - _this setDir -251.21594; - _this setPos [9296.8057, 13615.553, 2.2888184e-005]; - }; - - _vehicle_130 = objNull; - if (true) then - { - _this = "Mass_grave" createVehicle [9252.1475, 13511.981, 7.6293945e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_130 = _this; - _this setDir -52.928001; - _this setPos [9252.1475, 13511.981, 7.6293945e-006]; - }; - - _vehicle_133 = objNull; - if (true) then - { - _this = "Body1" createVehicle [9257.1104, 13508.626, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_133 = _this; - _this setPos [9257.1104, 13508.626, 1.5258789e-005]; - }; - - _vehicle_135 = objNull; - if (true) then - { - _this = "Body1" createVehicle [9249.5225, 13518.601, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_135 = _this; - _this setPos [9249.5225, 13518.601, 4.5776367e-005]; - }; - - _vehicle_137 = objNull; - if (true) then - { - _this = "Body1" createVehicle [9245.9922, 13513.451, 8.392334e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_137 = _this; - _this setPos [9245.9922, 13513.451, 8.392334e-005]; - }; - - _vehicle_140 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9256.2549, 13515.218, 0.00019073486]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_140 = _this; - _this setDir -228.21346; - _this setPos [9256.2549, 13515.218, 0.00019073486]; - }; - - _vehicle_142 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9247.6396, 13508.521, 9.9182129e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_142 = _this; - _this setDir -272.11749; - _this setPos [9247.6396, 13508.521, 9.9182129e-005]; - }; - - _vehicle_144 = objNull; - if (true) then - { - _this = "Body2" createVehicle [9253.5586, 13506.814, -2.2888184e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_144 = _this; - _this setDir -189.57385; - _this setPos [9253.5586, 13506.814, -2.2888184e-005]; - }; - - _vehicle_147 = objNull; - if (true) then - { - _this = "UAZWreck" createVehicle [9249.2705, 13505.702, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_147 = _this; - _this setDir 52.073601; - _this setPos [9249.2705, 13505.702, -6.1035156e-005]; - }; -}; \ No newline at end of file +[[ + ["UralWreck",[9457.4082,13539.698,0.00012207031],-48.00666], + ["Mass_grave",[9432.0479,13551.514,3.0517578e-005],-52.928001], + ["Body1",[9452.0176,13542.769,0.0001449585],0], + ["Body1",[9434.6738,13553.595,0.00038146973],0], + ["Body1",[9429.7334,13547.495,3.8146973e-005],0], + ["Body2",[9431.8369,13546.111,0.00010681152],-170.19336], + ["Body2",[9440.8145,13549.473,5.3405762e-005],-212.14496], + ["Body2",[9443.5781,13542.093,0.00016784668],-121.03424], + ["Body2",[9448.1299,13545.927,-3.8146973e-005],-80.685539], + ["Body2",[9443.166,13549.999,-2.2888184e-005],-188.25583], + ["BRDMWreck",[9437.0771,13544.629,0.00090026855],0], + ["UAZWreck",[9444.9355,13545.063,0.00030517578],137.0313], + ["Body2",[9451.7236,13538.354,6.8664551e-005],-259.017], + ["Body2",[9673.7705,13593.981,1.5258789e-005],-244.61786], + ["Body2",[9680.7686,13595.577,5.3405762e-005],-212.14496], + ["Body2",[9664.4326,13590.43,0.0002746582],-281.6481], + ["Body1",[9669.5635,13590.899,0.00035858154],0], + ["Body1",[9657.8125,13588.521,0.00022125244],0], + ["Body1",[9576.584,13707.372,9.9182129e-005],0], + ["Body1",[9541.1582,13704.937,-0.00039672852],0], + ["Body1",[9517.6113,13728.821,4.5776367e-005],0], + ["Body1",[9474.7754,13754.797,-0.00031280518],0], + ["Body1",[9426.668,13678.309,5.3405762e-005],0], + ["Body1",[9428.501,13656.878,-3.8146973e-005],0], + ["Body2",[9423.6484,13638.107,-2.2888184e-005],-228.21346], + ["Body2",[9368.6328,13630.045,0.0001373291],-267.00247], + ["Body2",[9296.8057,13615.553,2.2888184e-005],-251.21594], + ["Mass_grave",[9252.1475,13511.981,7.6293945e-006],-52.928001], + ["Body1",[9257.1104,13508.626,1.5258789e-005],0], + ["Body1",[9249.5225,13518.601,4.5776367e-005],0], + ["Body1",[9245.9922,13513.451,8.392334e-005],0], + ["Body2",[9256.2549,13515.218,0.00019073486],-228.21346], + ["Body2",[9247.6396,13508.521,9.9182129e-005],-272.11749], + ["Body2",[9253.5586,13506.814,-2.2888184e-005],-189.57385], + ["UAZWreck",[9249.2705,13505.702,-6.1035156e-005],52.073601] +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Pogorevka.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Pogorevka.sqf index ddd63165..7ac93a72 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Pogorevka.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Pogorevka.sqf @@ -1,63 +1,8 @@ -if (isServer) then { - _vehicle_361 = objNull; - if (true) then - { - _this = "Body2" createVehicle [4212.3784, 6755.0444, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_361 = _this; - _this setDir -228.21346; - _this setPos [4212.3784, 6755.0444, 6.1035156e-005]; - }; - - _vehicle_363 = objNull; - if (true) then - { - _this = "Body2" createVehicle [4220.8774, 6743.3584, -9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_363 = _this; - _this setDir -281.87775; - _this setPos [4220.8774, 6743.3584, -9.1552734e-005]; - }; - - _vehicle_366 = objNull; - if (true) then - { - _this = "Body1" createVehicle [4220.0347, 6739.5332, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_366 = _this; - _this setPos [4220.0347, 6739.5332, 3.0517578e-005]; - }; - - _vehicle_368 = objNull; - if (true) then - { - _this = "Body1" createVehicle [4215.8643, 6759.1436, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_368 = _this; - _this setPos [4215.8643, 6759.1436, 3.0517578e-005]; - }; - - _vehicle_370 = objNull; - if (true) then - { - _this = "Body1" createVehicle [4232.8799, 6753.3657, -0.00018310547]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_370 = _this; - _this setPos [4232.8799, 6753.3657, -0.00018310547]; - }; - - _vehicle_372 = objNull; - if (true) then - { - _this = "Body1" createVehicle [4230.6279, 6744.4331, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_372 = _this; - _this setPos [4230.6279, 6744.4331, 3.0517578e-005]; - }; -}; \ No newline at end of file +[[ + ["Body2",[4212.3784,6755.0444,6.1035156e-005],-228.21346], + ["Body2",[4220.8774,6743.3584,-9.1552734e-005],-281.87775], + ["Body1",[4220.0347,6739.5332,3.0517578e-005],0], + ["Body1",[4215.8643,6759.1436,3.0517578e-005],0], + ["Body1",[4232.8799,6753.3657,-0.00018310547],0], + ["Body1",[4230.6279,6744.4331,3.0517578e-005],0] +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Polana.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Polana.sqf index 65fb2f07..0277a1e5 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Polana.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Polana.sqf @@ -1,131 +1,14 @@ -if (isServer) then { - _vehicle_430 = objNull; - if (true) then - { - _this = "UralWreck" createVehicle [11433.314, 7411.0557, -0.0001373291]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_430 = _this; - _this setDir -194.18532; - _this setPos [11433.314, 7411.0557, -0.0001373291]; - }; - - _vehicle_433 = objNull; - if (true) then - { - _this = "Body1" createVehicle [11430.294, 7410.1196, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_433 = _this; - _this setPos [11430.294, 7410.1196, 1.5258789e-005]; - }; - - _vehicle_435 = objNull; - if (true) then - { - _this = "Body1" createVehicle [11437.344, 7408.6289, -0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_435 = _this; - _this setPos [11437.344, 7408.6289, -0.00012207031]; - }; - - _vehicle_438 = objNull; - if (true) then - { - _this = "Body2" createVehicle [11431.472, 7408.3032, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_438 = _this; - _this setDir -84.939537; - _this setPos [11431.472, 7408.3032, 3.0517578e-005]; - }; - - _vehicle_440 = objNull; - if (true) then - { - _this = "Body2" createVehicle [11434.552, 7407.3159, -4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_440 = _this; - _this setDir -304.34631; - _this setPos [11434.552, 7407.3159, -4.5776367e-005]; - }; - - _vehicle_442 = objNull; - if (true) then - { - _this = "Body2" createVehicle [11437.357, 7410.9531, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_442 = _this; - _this setDir -204.96391; - _this setPos [11437.357, 7410.9531, -3.0517578e-005]; - }; - - _vehicle_444 = objNull; - if (true) then - { - _this = "Body2" createVehicle [11439.242, 7406.856, -0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_444 = _this; - _this setDir -261.20151; - _this setPos [11439.242, 7406.856, -0.00012207031]; - }; - - _vehicle_446 = objNull; - if (true) then - { - _this = "Body" createVehicle [11439.403, 7409.4946, -0.00019836426]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_446 = _this; - _this setDir 13.155063; - _this setPos [11439.403, 7409.4946, -0.00019836426]; - }; - - _vehicle_448 = objNull; - if (true) then - { - _this = "Body" createVehicle [11440.139, 7409.272, -0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_448 = _this; - _this setDir 14.372873; - _this setPos [11440.139, 7409.272, -0.00012207031]; - }; - - _vehicle_450 = objNull; - if (true) then - { - _this = "Body" createVehicle [11440.929, 7409.0415, -9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_450 = _this; - _this setDir 14.934533; - _this setPos [11440.929, 7409.0415, -9.1552734e-005]; - }; - - _vehicle_452 = objNull; - if (true) then - { - _this = "Body" createVehicle [11441.74, 7408.8022, -7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_452 = _this; - _this setDir 16.072056; - _this setPos [11441.74, 7408.8022, -7.6293945e-005]; - }; - - _vehicle_454 = objNull; - if (true) then - { - _this = "Body" createVehicle [11442.58, 7408.5737, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_454 = _this; - _this setDir 15.20478; - _this setPos [11442.58, 7408.5737, -6.1035156e-005]; - }; -}; \ No newline at end of file +[[ + ["UralWreck",[11433.314,7411.0557,-0.0001373291],-194.18532], + ["Body1",[11430.294,7410.1196,1.5258789e-005],0], + ["Body1",[11437.344,7408.6289,-0.00012207031],0], + ["Body2",[11431.472,7408.3032,3.0517578e-005],-84.939537], + ["Body2",[11434.552,7407.3159,-4.5776367e-005],-304.34631], + ["Body2",[11437.357,7410.9531,-3.0517578e-005],-204.96391], + ["Body2",[11439.242,7406.856,-0.00012207031],-261.20151], + ["Body",[11439.403,7409.4946,-0.00019836426],13.155063], + ["Body",[11440.139,7409.272,-0.00012207031],14.372873], + ["Body",[11440.929,7409.0415,-9.1552734e-005],14.934533], + ["Body",[11441.74,7408.8022,-7.6293945e-005],16.072056], + ["Body",[11442.58,7408.5737,-6.1035156e-005],15.20478] +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Prud.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Prud.sqf index 39ae27fc..3bcdae28 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Prud.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Prud.sqf @@ -1,86 +1,10 @@ -if (isServer) then { - _vehicle_326 = objNull; - if (true) then - { - _this = "Mass_grave" createVehicle [6565.0298, 9319.8213, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_326 = _this; - _this setDir -16.023432; - _this setPos [6565.0298, 9319.8213, 3.0517578e-005]; - }; - - _vehicle_329 = objNull; - if (true) then - { - _this = "Body2" createVehicle [6559.8589, 9318.3184, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_329 = _this; - _this setDir -134.36063; - _this setPos [6559.8589, 9318.3184, -3.0517578e-005]; - }; - - _vehicle_331 = objNull; - if (true) then - { - _this = "Body2" createVehicle [6568.5313, 9322.5537, -9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_331 = _this; - _this setDir -49.255459; - _this setPos [6568.5313, 9322.5537, -9.1552734e-005]; - }; - - _vehicle_333 = objNull; - if (true) then - { - _this = "Body2" createVehicle [6569.2568, 9317.0537, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_333 = _this; - _this setDir -6.7714462; - _this setPos [6569.2568, 9317.0537, 3.0517578e-005]; - }; - - _vehicle_336 = objNull; - if (true) then - { - _this = "Body1" createVehicle [6563.2573, 9315.5889, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_336 = _this; - _this setPos [6563.2573, 9315.5889, -6.1035156e-005]; - }; - - _vehicle_338 = objNull; - if (true) then - { - _this = "Body1" createVehicle [6559.5259, 9290.957, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_338 = _this; - _this setPos [6559.5259, 9290.957, 3.0517578e-005]; - }; - - _vehicle_340 = objNull; - if (true) then - { - _this = "Body1" createVehicle [6550.4502, 9272.209, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_340 = _this; - _this setPos [6550.4502, 9272.209, 3.0517578e-005]; - }; - - _vehicle_343 = objNull; - if (true) then - { - _this = "Body2" createVehicle [6566.4673, 9315.0459, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_343 = _this; - _this setDir -104.92654; - _this setPos [6566.4673, 9315.0459, -3.0517578e-005]; - }; -}; \ No newline at end of file +[[ + ["Mass_grave",[6565.0298,9319.8213,3.0517578e-005],-16.023432], + ["Body2",[6559.8589,9318.3184,-3.0517578e-005],-134.36063], + ["Body2",[6568.5313,9322.5537,-9.1552734e-005],-49.255459], + ["Body2",[6569.2568,9317.0537,3.0517578e-005],-6.7714462], + ["Body1",[6563.2573,9315.5889,-6.1035156e-005],0], + ["Body1",[6559.5259,9290.957,3.0517578e-005],0], + ["Body1",[6550.4502,9272.209,3.0517578e-005],0], + ["Body2",[6566.4673,9315.0459,-3.0517578e-005],-104.92654] +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Sosnovy.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Sosnovy.sqf index 5ae14e6b..26f9d01c 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Sosnovy.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Sosnovy.sqf @@ -1,65 +1,8 @@ -if (isServer) then { - _vehicle_346 = objNull; - if (true) then - { - _this = "Mass_grave" createVehicle [3343.3696, 6476.2764, -0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_346 = _this; - _this setDir -127.91888; - _this setPos [3343.3696, 6476.2764, -0.00012207031]; - }; - - _vehicle_349 = objNull; - if (true) then - { - _this = "Body2" createVehicle [3346.2217, 6479.2134]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_349 = _this; - _this setDir -163.78368; - _this setPos [3346.2217, 6479.2134]; - }; - - _vehicle_351 = objNull; - if (true) then - { - _this = "Body2" createVehicle [3349.7419, 6476.9492]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_351 = _this; - _this setDir -266.83978; - _this setPos [3349.7419, 6476.9492]; - }; - - _vehicle_354 = objNull; - if (true) then - { - _this = "Body1" createVehicle [3348.4307, 6479.6782, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_354 = _this; - _this setPos [3348.4307, 6479.6782, 0]; - }; - - _vehicle_356 = objNull; - if (true) then - { - _this = "Body1" createVehicle [3345.9199, 6471.7793, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_356 = _this; - _this setPos [3345.9199, 6471.7793, 6.1035156e-005]; - }; - - _vehicle_359 = objNull; - if (true) then - { - _this = "Body2" createVehicle [3341.0183, 6479.5151]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_359 = _this; - _this setDir -194.82481; - _this setPos [3341.0183, 6479.5151]; - }; -}; \ No newline at end of file +[[ + ["Mass_grave",[3343.3696,6476.2764,-0.00012207031],-127.91888], + ["Body2",[3346.2217,6479.2134],-163.78368], + ["Body2",[3349.7419,6476.9492],-266.83978], + ["Body1",[3348.4307,6479.6782,0],0], + ["Body1",[3345.9199,6471.7793,6.1035156e-005],0], + ["Body2",[3341.0183,6479.5151],-194.82481] +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Stary.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Stary.sqf index eca1103b..d254765e 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Stary.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Stary.sqf @@ -1,54 +1,7 @@ -if (isServer) then { - _vehicle_303 = objNull; - if (true) then - { - _this = "Body2" createVehicle [5910.3682, 7969.2676, -0.00033569336]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_303 = _this; - _this setDir -216.50493; - _this setPos [5910.3682, 7969.2676, -0.00033569336]; - }; - - _vehicle_305 = objNull; - if (true) then - { - _this = "Body2" createVehicle [5914.7852, 7968.6514, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_305 = _this; - _this setDir -70.557304; - _this setPos [5914.7852, 7968.6514, -6.1035156e-005]; - }; - - _vehicle_307 = objNull; - if (true) then - { - _this = "Body2" createVehicle [5902.3218, 7964.917, -0.00021362305]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_307 = _this; - _this setDir -146.58554; - _this setPos [5902.3218, 7964.917, -0.00021362305]; - }; - - _vehicle_310 = objNull; - if (true) then - { - _this = "Body1" createVehicle [5917.2178, 7968.6299, -0.00015258789]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_310 = _this; - _this setPos [5917.2178, 7968.6299, -0.00015258789]; - }; - - _vehicle_312 = objNull; - if (true) then - { - _this = "Body1" createVehicle [5905.082, 7966.4629, -0.00015258789]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_312 = _this; - _this setPos [5905.082, 7966.4629, -0.00015258789]; - }; -}; \ No newline at end of file +[[ + ["Body2",[5910.3682,7969.2676,-0.00033569336],-216.50493], + ["Body2",[5914.7852,7968.6514,-6.1035156e-005],-70.557304], + ["Body2",[5902.3218,7964.917,-0.00021362305],-146.58554], + ["Body1",[5917.2178,7968.6299,-0.00015258789],0], + ["Body1",[5905.082,7966.4629,-0.00015258789],0] +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Topolka.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Topolka.sqf index 2c60ed1d..064c7c5f 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Topolka.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Topolka.sqf @@ -1,130 +1,14 @@ -if (isServer) then { - _vehicle_206 = objNull; - if (true) then - { - _this = "HMMWVWreck" createVehicle [10336.892, 3654.115, -0.00019836426]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_206 = _this; - _this setDir 133.86368; - _this setPos [10336.892, 3654.115, -0.00019836426]; - }; - - _vehicle_208 = objNull; - if (true) then - { - _this = "Body1" createVehicle [10336.825, 3650.8271, -2.2888184e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_208 = _this; - _this setPos [10336.825, 3650.8271, -2.2888184e-005]; - }; - - _vehicle_211 = objNull; - if (true) then - { - _this = "Body2" createVehicle [10336.369, 3657.344, 0.00030899048]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_211 = _this; - _this setDir -213.99055; - _this setPos [10336.369, 3657.344, 0.00030899048]; - }; - - _vehicle_213 = objNull; - if (true) then - { - _this = "Body2" createVehicle [10336.521, 3648.813, -0.00057220459]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_213 = _this; - _this setDir -248.33588; - _this setPos [10336.521, 3648.813, -0.00057220459]; - }; - - _vehicle_216 = objNull; - if (true) then - { - _this = "UralWreck" createVehicle [10276.451, 3771.7332, -3.8146973e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_216 = _this; - _this setDir -168.77797; - _this setPos [10276.451, 3771.7332, -3.8146973e-006]; - }; - - _vehicle_219 = objNull; - if (true) then - { - _this = "Body1" createVehicle [10271.492, 3768.1182, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_219 = _this; - _this setPos [10271.492, 3768.1182, 1.5258789e-005]; - }; - - _vehicle_221 = objNull; - if (true) then - { - _this = "Body1" createVehicle [10281.723, 3764.1689, -0.00010681152]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_221 = _this; - _this setPos [10281.723, 3764.1689, -0.00010681152]; - }; - - _vehicle_224 = objNull; - if (true) then - { - _this = "Body2" createVehicle [10272.653, 3770.627, -6.4849854e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_224 = _this; - _this setDir -421.72046; - _this setPos [10272.653, 3770.627, -6.4849854e-005]; - }; - - _vehicle_226 = objNull; - if (true) then - { - _this = "Body2" createVehicle [10273.537, 3767.8638, -3.4332275e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_226 = _this; - _this setDir -163.78368; - _this setPos [10273.537, 3767.8638, -3.4332275e-005]; - }; - - _vehicle_228 = objNull; - if (true) then - { - _this = "Body2" createVehicle [10277.839, 3765.0146]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_228 = _this; - _this setDir -202.31456; - _this setPos [10277.839, 3765.0146]; - }; - - _vehicle_230 = objNull; - if (true) then - { - _this = "Body2" createVehicle [10280.47, 3766.6904, -1.9073486e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_230 = _this; - _this setDir -377.7916; - _this setPos [10280.47, 3766.6904, -1.9073486e-005]; - }; - - _vehicle_232 = objNull; - if (true) then - { - _this = "Body2" createVehicle [10278.315, 3767.0195, -5.7220459e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_232 = _this; - _this setDir -261.20151; - _this setPos [10278.315, 3767.0195, -5.7220459e-005]; - }; -}; \ No newline at end of file +[[ + ["HMMWVWreck",[10336.892,3654.115,-0.00019836426],133.86368], + ["Body1",[10336.825,3650.8271,-2.2888184e-005],0], + ["Body2",[10336.369,3657.344,0.00030899048],-213.99055], + ["Body2",[10336.521,3648.813,-0.00057220459],-248.33588], + ["UralWreck",[10276.451,3771.7332,-3.8146973e-006],-168.77797], + ["Body1",[10271.492,3768.1182,1.5258789e-005],0], + ["Body1",[10281.723,3764.1689,-0.00010681152],0], + ["Body2",[10272.653,3770.627,-6.4849854e-005],-421.72046], + ["Body2",[10273.537,3767.8638,-3.4332275e-005],-163.78368], + ["Body2",[10277.839,3765.0146],-202.31456], + ["Body2",[10280.47,3766.6904,-1.9073486e-005],-377.7916], + ["Body2",[10278.315,3767.0195,-5.7220459e-005],-261.20151] +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Vysota.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Vysota.sqf index 7616f93e..7c356ee7 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Vysota.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/Vysota.sqf @@ -1,65 +1,8 @@ -if (isServer) then { - _vehicle_415 = objNull; - if (true) then - { - _this = "Mass_grave" createVehicle [6237.6729, 3366.7668, -8.2015991e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_415 = _this; - _this setDir -51.312054; - _this setPos [6237.6729, 3366.7668, -8.2015991e-005]; - }; - - _vehicle_418 = objNull; - if (true) then - { - _this = "Body2" createVehicle [6242.4287, 3364.9336, -0.00012016296]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_418 = _this; - _this setDir -114.80833; - _this setPos [6242.4287, 3364.9336, -0.00012016296]; - }; - - _vehicle_420 = objNull; - if (true) then - { - _this = "Body2" createVehicle [6242.5146, 3368.2773, 9.5367432e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_420 = _this; - _this setDir -0.099687576; - _this setPos [6242.5146, 3368.2773, 9.5367432e-005]; - }; - - _vehicle_422 = objNull; - if (true) then - { - _this = "Body2" createVehicle [6236.5488, 3362.2656, 0.00039291382]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_422 = _this; - _this setDir -49.255459; - _this setPos [6236.5488, 3362.2656, 0.00039291382]; - }; - - _vehicle_425 = objNull; - if (true) then - { - _this = "Body1" createVehicle [6232.0386, 3368.0271, -0.00010108948]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_425 = _this; - _this setPos [6232.0386, 3368.0271, -0.00010108948]; - }; - - _vehicle_427 = objNull; - if (true) then - { - _this = "Body1" createVehicle [6240.8916, 3363.1448, -2.8610229e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_427 = _this; - _this setPos [6240.8916, 3363.1448, -2.8610229e-005]; - }; -}; \ No newline at end of file +[[ + ["Mass_grave",[6237.6729,3366.7668,-8.2015991e-005],-51.312054], + ["Body2",[6242.4287,3364.9336,-0.00012016296],-114.80833], + ["Body2",[6242.5146,3368.2773,9.5367432e-005],-0.099687576], + ["Body2",[6236.5488,3362.2656,0.00039291382],-49.255459], + ["Body1",[6232.0386,3368.0271,-0.00010108948],0], + ["Body1",[6240.8916,3363.1448,-2.8610229e-005],0] +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/WillowLake.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/WillowLake.sqf index 8d3a054c..c7854531 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/WillowLake.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/WillowLake.sqf @@ -1,129 +1,14 @@ -if (isServer) then { - _vehicle_35 = objNull; - if (true) then - { - _this = "Body1" createVehicle [13279.391, 11512.981, 0.00014877319]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_35 = _this; - _this setPos [13279.391, 11512.981, 0.00014877319]; - }; - - _vehicle_38 = objNull; - if (true) then - { - _this = "Body2" createVehicle [13280.151, 11516.151, 4.9591064e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_38 = _this; - _this setDir -170.19336; - _this setPos [13280.151, 11516.151, 4.9591064e-005]; - }; - - _vehicle_41 = objNull; - if (true) then - { - _this = "Body2" createVehicle [13277.972, 11515.6, 7.8201294e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_41 = _this; - _this setDir -272.60867; - _this setPos [13277.972, 11515.6, 7.8201294e-005]; - }; - - _vehicle_43 = objNull; - if (true) then - { - _this = "Body2" createVehicle [13301.37, 11515.237, 0.00051116943]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_43 = _this; - _this setDir -170.19336; - _this setPos [13301.37, 11515.237, 0.00051116943]; - }; - - _vehicle_45 = objNull; - if (true) then - { - _this = "Body2" createVehicle [13297.256, 11514.388, 0.00016021729]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_45 = _this; - _this setDir -219.6194; - _this setPos [13297.256, 11514.388, 0.00016021729]; - }; - - _vehicle_47 = objNull; - if (true) then - { - _this = "Body2" createVehicle [13254.801, 11606.729, -0.00050735474]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_47 = _this; - _this setDir -170.19336; - _this setPos [13254.801, 11606.729, -0.00050735474]; - }; - - _vehicle_50 = objNull; - if (true) then - { - _this = "Body1" createVehicle [13256.146, 11606.896, -0.00047111511]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_50 = _this; - _this setPos [13256.146, 11606.896, -0.00047111511]; - }; - - _vehicle_53 = objNull; - if (true) then - { - _this = "Body2" createVehicle [13257.84, 11607.229, 4.9591064e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_53 = _this; - _this setDir -109.22622; - _this setPos [13257.84, 11607.229, 4.9591064e-005]; - }; - - _vehicle_55 = objNull; - if (true) then - { - _this = "Body2" createVehicle [13164.959, 11555.548, -0.00031852722]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_55 = _this; - _this setDir -170.19336; - _this setPos [13164.959, 11555.548, -0.00031852722]; - }; - - _vehicle_58 = objNull; - if (true) then - { - _this = "Body1" createVehicle [13167.143, 11555.009, 0.00015449524]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_58 = _this; - _this setPos [13167.143, 11555.009, 0.00015449524]; - }; - - _vehicle_60 = objNull; - if (true) then - { - _this = "Body1" createVehicle [13173.876, 11560.699, -0.00048065186]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_60 = _this; - _this setPos [13173.876, 11560.699, -0.00048065186]; - }; - - _vehicle_66 = objNull; - if (true) then - { - _this = "Body2" createVehicle [13170.959, 11553.15, 0.00039100647]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_66 = _this; - _this setDir -170.19336; - _this setPos [13170.959, 11553.15, 0.00039100647]; - }; -}; \ No newline at end of file +[[ + ["Body1",[13279.391,11512.981,0.00014877319],0], + ["Body2",[13280.151,11516.151,4.9591064e-005],-170.19336], + ["Body2",[13277.972,11515.6,7.8201294e-005],-272.60867], + ["Body2",[13301.37,11515.237,0.00051116943],-170.19336], + ["Body2",[13297.256,11514.388,0.00016021729],-219.6194], + ["Body2",[13254.801,11606.729,-0.00050735474],-170.19336], + ["Body1",[13256.146,11606.896,-0.00047111511],0], + ["Body2",[13257.84,11607.229,4.9591064e-005],-109.22622], + ["Body2",[13164.959,11555.548,-0.00031852722],-170.19336], + ["Body1",[13167.143,11555.009,0.00015449524],0], + ["Body1",[13173.876,11560.699,-0.00048065186],0], + ["Body2",[13170.959,11553.15,0.00039100647],-170.19336] +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/init.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/init.sqf index ae8f09d8..245816c8 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/init.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/init.sqf @@ -1,10 +1,9 @@ - +//Start server selection for infectedWaterHoles. private ["_WaterHoleArray","_ShuffleArray"]; _WaterHoleArray = [ "BlackLake", "Gvozdno", - "Gvozdno", "Kabanino", "Kopyto", "Mogilevka", @@ -24,36 +23,33 @@ _WaterHoleArray = [ "WillowLake" ]; -_ShuffleArray = { - private ["_ar","_rand_array","_rand"]; - _ar = _this; - _rand_array = []; - while {count _ar > 0} do { - _rand = (count _ar); - _rand = floor (random _rand); - _rand_array set [count _rand_array, _ar select _rand]; - _ar set [_rand, "randarray_del"]; - _ar = _ar - ["randarray_del"]; - sleep 0.001; - }; - _rand_array; -}; +_infectedWaterHoles = _WaterHoleArray call fn_shuffleArray; -_infectedWaterHoles = _WaterHoleArray call _ShuffleArray; +infectedWaterHoles = []; -_i = 0; -_t = 0; -_activeArray = []; -//diag_log [ diag_tickTime, __FILE__, "Sp4wing infectious waterholes..."]; { if ((random 1) < 0.5) then { - call compile preprocessFileLineNumbers ("\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\"+_x+".sqf"); - _activeArray set [count _activeArray, _x]; // set - _i = _i + 1; + infectedWaterHoles set [count infectedWaterHoles, _x]; // set }; - _t = _t + 1; - sleep 0.01; -}count _infectedWaterHoles; -//diag_log [ diag_tickTime, __FILE__, "Infectious waterholes Max,Spawned,Active:",_t,_i,_activeArray]; +} count _infectedWaterHoles; + +//Send the random array to everyone. +publicVariable "infectedWaterHoles"; + +diag_log format["INFO: Chosen waterholes to be infectious - %1",infectedWaterHoles]; + +/* +//Setup on each client witch water holes have been chosen by the server to be infected +if (!isServer) then { + + waitUntil { sleep 0.1; !isNil "infectedWaterHoles" }; + + { + call compile preprocessFileLineNumbers ("\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\"+_x+".sqf"); + } count infectedWaterHoles; + + diag_log (infectedWaterHoles); +}; +*/ diff --git a/SQF/dayz_code/system/mission/chernarus/poi/C130Crash.sqf b/SQF/dayz_code/system/mission/chernarus/poi/C130Crash.sqf index 9d7fbb29..13fa3d34 100644 --- a/SQF/dayz_code/system/mission/chernarus/poi/C130Crash.sqf +++ b/SQF/dayz_code/system/mission/chernarus/poi/C130Crash.sqf @@ -1,297 +1,30 @@ -//C130 Crash DayZ -//Created by Dr Bane 20/11/2013 -//Copyright Dr Bane And Musty Gaming - -if (isServer) then { - -_vehicle_233 = objNull; -if (true) then -{ - _this = "MAP_R_HouseV2_02" createVehicle [12711.327, 9545.1387, -4.2915344e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_233 = _this; - _this setDir 280.8876; - _this setPos [12711.327, 9545.1387, -4.2915344e-006]; -}; - -_vehicle_234 = objNull; -if (true) then -{ - _this = "MAP_R_HouseV2_04" createVehicle [12702.237, 9516.4395, 7.6293945e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_234 = _this; - _this setDir -169.90532; - _this setPos [12702.237, 9516.4395, 7.6293945e-006]; -}; - -_vehicle_235 = objNull; -if (true) then -{ - _this = "MAP_R_HouseV2_03B" createVehicle [12717.162, 9496.2002]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_235 = _this; - _this setDir -259.25668; - _this setPos [12717.162, 9496.2002]; -}; - -_vehicle_236 = objNull; -if (true) then -{ - _this = "C130J_wreck_EP1" createVehicle [12720.771, 9520.5762, 3.8146973e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_236 = _this; - _this setDir 78.744171; - _this setPos [12720.771, 9520.5762, 3.8146973e-006]; -}; - -_vehicle_239 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [12733.354, 9515.3232, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_239 = _this; - _this setDir -104.81918; - _this setPos [12733.354, 9515.3232, -1.5258789e-005]; -}; - -_vehicle_240 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [12751.971, 9520.4463, 1.1444092e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_240 = _this; - _this setDir -88.273613; - _this setPos [12751.971, 9520.4463, 1.1444092e-005]; -}; - -_vehicle_241 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [12732.947, 9536.0996, 1.9073486e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_241 = _this; - _this setDir -81.196098; - _this setPos [12732.947, 9536.0996, 1.9073486e-006]; -}; - -_vehicle_242 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [12770.574, 9542.4629, 4.3869019e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_242 = _this; - _this setDir -121.68095; - _this setPos [12770.574, 9542.4629, 4.3869019e-005]; -}; - -_vehicle_243 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [12762.433, 9520.8115, 1.6212463e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_243 = _this; - _this setPos [12762.433, 9520.8115, 1.6212463e-005]; -}; - -_vehicle_244 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [12744.83, 9517.2822, 7.6293945e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_244 = _this; - _this setDir 66.082001; - _this setPos [12744.83, 9517.2822, 7.6293945e-006]; -}; - -_vehicle_245 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [12743.733, 9533.6777, -3.8146973e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_245 = _this; - _this setDir -115.36677; - _this setPos [12743.733, 9533.6777, -3.8146973e-006]; -}; - -_vehicle_246 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [12778.854, 9546.4971, -7.6293945e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_246 = _this; - _this setDir -39.535217; - _this setPos [12778.854, 9546.4971, -7.6293945e-006]; -}; - -_vehicle_258 = objNull; -if (true) then -{ - _this = "Land_Fire_DZ" createVehicle [12714.253, 9535.0479, 1.7166138e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_258 = _this; - _this setPos [12714.253, 9535.0479, 1.7166138e-005]; -}; - -_vehicle_259 = objNull; -if (true) then -{ - _this = "Land_Fire_DZ" createVehicle [12718.354, 9550.8037, 9.5367432e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_259 = _this; - _this setPos [12718.354, 9550.8037, 9.5367432e-006]; -}; - -_vehicle_261 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [12718.582, 9550.5176, -1.9073486e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_261 = _this; - _this setPos [12718.582, 9550.5176, -1.9073486e-006]; -}; - -_vehicle_262 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [12715.522, 9536.3525, -2.0027161e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_262 = _this; - _this setPos [12715.522, 9536.3525, -2.0027161e-005]; -}; - -_vehicle_263 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [12715.18, 9539.3896, 2.5749207e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_263 = _this; - _this setPos [12715.18, 9539.3896, 2.5749207e-005]; -}; - -_vehicle_264 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [12721.592, 9502.25, -3.8146973e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_264 = _this; - _this setPos [12721.592, 9502.25, -3.8146973e-006]; -}; - -_vehicle_265 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [12706.214, 9510.5488, 8.2015991e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_265 = _this; - _this setPos [12706.214, 9510.5488, 8.2015991e-005]; -}; - -_vehicle_266 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [12705.977, 9513.2109, -3.2424927e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_266 = _this; - _this setPos [12705.977, 9513.2109, -3.2424927e-005]; -}; - -_vehicle_267 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [12703.96, 9511.3291, 3.8146973e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_267 = _this; - _this setPos [12703.96, 9511.3291, 3.8146973e-006]; -}; - -_vehicle_268 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [12698.857, 9523.0391, 4.7683716e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_268 = _this; - _this setPos [12698.857, 9523.0391, 4.7683716e-005]; -}; - -_vehicle_269 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [12707.414, 9537.0137, 1.7166138e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_269 = _this; - _this setPos [12707.414, 9537.0137, 1.7166138e-005]; -}; - -_vehicle_270 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [12700.703, 9515.3945, 7.1904426]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_270 = _this; - _this setPos [12700.703, 9515.3945, 7.1904426]; -}; - -_vehicle_271 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [12701.083, 9516.9688, 7.2510133]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_271 = _this; - _this setPos [12701.083, 9516.9688, 7.2510133]; -}; - -_vehicle_272 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [12707.344, 9520.4121, -0.00011634827]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_272 = _this; - _this setPos [12707.344, 9520.4121, -0.00011634827]; -}; - -_vehicle_273 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [12712.194, 9544.3564, 8.9676323]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_273 = _this; - _this setPos [12712.194, 9544.3564, 8.9676323]; -}; - -_vehicle_274 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [12710.407, 9548.6572, 8.768301]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_274 = _this; - _this setPos [12710.407, 9548.6572, 8.768301]; -}; -}; +[[ + ["MAP_R_HouseV2_02",[12711.327,9545.1387,-4.2915344e-006],280.8876], + ["MAP_R_HouseV2_04",[12702.237,9516.4395,7.6293945e-006],-169.90532], + ["MAP_R_HouseV2_03B",[12717.162,9496.2002],-259.25668], + ["C130J_wreck_EP1",[12720.771,9520.5762,3.8146973e-006],78.744171], + ["MAP_misc_FallenTree2",[12733.354,9515.3232,-1.5258789e-005],-104.81918], + ["MAP_misc_FallenTree2",[12751.971,9520.4463,1.1444092e-005],-88.273613], + ["MAP_misc_FallenTree2",[12732.947,9536.0996,1.9073486e-006],-81.196098], + ["MAP_misc_FallenTree2",[12770.574,9542.4629,4.3869019e-005],-121.68095], + ["MAP_misc_stub2",[12762.433,9520.8115,1.6212463e-005],0], + ["MAP_misc_stub2",[12744.83,9517.2822,7.6293945e-006],66.082001], + ["MAP_misc_stub2",[12743.733,9533.6777,-3.8146973e-006],-115.36677], + ["MAP_misc_stub2",[12778.854,9546.4971,-7.6293945e-006],-39.535217], + ["Land_Fire_DZ",[12714.253,9535.0479,1.7166138e-005],0], + ["Land_Fire_DZ",[12718.354,9550.8037,9.5367432e-006],0], + ["Land_Camp_Fire_DZ",[12718.582,9550.5176,-1.9073486e-006],0], + ["Land_Camp_Fire_DZ",[12715.522,9536.3525,-2.0027161e-005],0], + ["Land_Camp_Fire_DZ",[12715.18,9539.3896,2.5749207e-005],0], + ["Land_Camp_Fire_DZ",[12721.592,9502.25,-3.8146973e-006],0], + ["Land_Camp_Fire_DZ",[12706.214,9510.5488,8.2015991e-005],0], + ["Land_Camp_Fire_DZ",[12705.977,9513.2109,-3.2424927e-005],0], + ["Land_Camp_Fire_DZ",[12703.96,9511.3291,3.8146973e-006],0], + ["Land_Camp_Fire_DZ",[12698.857,9523.0391,4.7683716e-005],0], + ["Land_Camp_Fire_DZ",[12707.414,9537.0137,1.7166138e-005],0], + ["Land_Camp_Fire_DZ",[12700.703,9515.3945,7.1904426],0], + ["Land_Camp_Fire_DZ",[12701.083,9516.9688,7.2510133],0], + ["Land_Camp_Fire_DZ",[12707.344,9520.4121,-0.00011634827],0], + ["Land_Camp_Fire_DZ",[12712.194,9544.3564,8.9676323],0], + ["Land_Camp_Fire_DZ",[12710.407,9548.6572,8.768301],0] +],false,false,false] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/ChernoBuildings.sqf b/SQF/dayz_code/system/mission/chernarus/poi/ChernoBuildings.sqf index 997d6b41..d32b7f71 100644 --- a/SQF/dayz_code/system/mission/chernarus/poi/ChernoBuildings.sqf +++ b/SQF/dayz_code/system/mission/chernarus/poi/ChernoBuildings.sqf @@ -1,403 +1,39 @@ -//Cherno Buildings DayZ -//Created by Dr Bane 20/11/2013 -//Copyright Dr Bane And Musty Gaming - -if (isServer) then { - -_vehicle_24 = objNull; -if (true) then -{ - _this = "Land_Panelak3" createVehicle [7017.1802, 2832.1252, -1.9073486e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_24 = _this; - _this setDir 142.68503; - _this setPos [7017.1802, 2832.1252, -1.9073486e-005]; -}; - -_vehicle_25 = objNull; -if (true) then -{ - _this = "Land_Panelak2" createVehicle [7033.9487, 2845.1497, -7.6293945e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_25 = _this; - _this setDir 142.71629; - _this setPos [7033.9487, 2845.1497, -7.6293945e-006]; -}; - -_vehicle_26 = objNull; -if (true) then -{ - _this = "Land_Panelak2" createVehicle [7054.0884, 2863.4966, 6.6757202e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_26 = _this; - _this setDir -126.68169; - _this setPos [7054.0884, 2863.4966, 6.6757202e-006]; -}; - -_vehicle_27 = objNull; -if (true) then -{ - _this = "Land_Panelak2" createVehicle [7030.981, 2813.6396, -1.9073486e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_27 = _this; - _this setDir -37.376324; - _this setPos [7030.981, 2813.6396, -1.9073486e-006]; -}; - -_vehicle_28 = objNull; -if (true) then -{ - _this = "Land_Panelak3" createVehicle [7047.502, 2826.5066, 4.2915344e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_28 = _this; - _this setDir -37.7827; - _this setPos [7047.502, 2826.5066, 4.2915344e-006]; -}; - -_vehicle_29 = objNull; -if (true) then -{ - _this = "Land_Panelak2" createVehicle [7078.9531, 2834.1553, 2.2888184e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_29 = _this; - _this setDir -37.152187; - _this setPos [7078.9531, 2834.1553, 2.2888184e-005]; -}; - -_vehicle_30 = objNull; -if (true) then -{ - _this = "Land_Panelak3" createVehicle [7076.1099, 2861.5081, 2.8610229e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_30 = _this; - _this setDir -126.49503; - _this setPos [7076.1099, 2861.5081, 2.8610229e-006]; -}; - -_vehicle_31 = objNull; -if (true) then -{ - _this = "Land_Panelak2" createVehicle [6997.2598, 2838.3906, 3.7670135e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_31 = _this; - _this setDir 233.08496; - _this setPos [6997.2598, 2838.3906, 3.7670135e-005]; -}; - -_vehicle_32 = objNull; -if (true) then -{ - _this = "Land_Panelak3" createVehicle [7021.0967, 2767.9297, -4.7683716e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_32 = _this; - _this setDir 52.002502; - _this setPos [7021.0967, 2767.9297, -4.7683716e-006]; -}; - -_vehicle_34 = objNull; -if (true) then -{ - _this = "Land_Panelak2" createVehicle [6977.5898, 2844.4226, 1.9073486e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_34 = _this; - _this setDir 142.41486; - _this setPos [6977.5898, 2844.4226, 1.9073486e-006]; -}; - -_vehicle_35 = objNull; -if (true) then -{ - _this = "Land_Panelak2" createVehicle [7034.1514, 2793.9668, 2.0980835e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_35 = _this; - _this setDir -127.15548; - _this setPos [7034.1514, 2793.9668, 2.0980835e-005]; -}; - -_vehicle_40 = objNull; -if (true) then -{ - _this = "Land_A_GeneralStore_01" createVehicle [7054.2852, 2779.2981, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_40 = _this; - _this setDir -127.20033; - _this setPos [7054.2852, 2779.2981, 4.5776367e-005]; -}; - -_vehicle_50 = objNull; -if (true) then -{ - _this = "MAP_phone_box" createVehicle [7042.6147, 2776.8606, 1.2220162]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_50 = _this; - _this setDir -37.120174; - _this setPos [7042.6147, 2776.8606, 1.2220162]; -}; - -_vehicle_72 = objNull; -if (true) then -{ - _this = "MAP_t_fagus2s" createVehicle [7062.9316, 2753.7759, -2.8610229e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_72 = _this; - _this setDir 53.231174; - _this setPos [7062.9316, 2753.7759, -2.8610229e-006]; -}; - -_vehicle_73 = objNull; -if (true) then -{ - _this = "MAP_t_malus1s" createVehicle [7037.6626, 2781.1833, -1.1444092e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_73 = _this; - _this setPos [7037.6626, 2781.1833, -1.1444092e-005]; -}; - -_vehicle_83 = objNull; -if (true) then -{ - _this = "MAP_Misc_Greenhouse" createVehicle [7066.8647, 2816.1692, 7.1525574e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_83 = _this; - _this setDir 53.482254; - _this setPos [7066.8647, 2816.1692, 7.1525574e-006]; -}; - -_vehicle_84 = objNull; -if (true) then -{ - _this = "MAP_Misc_Greenhouse" createVehicle [7063.1958, 2813.4331, 1.335144e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_84 = _this; - _this setDir 53.615242; - _this setPos [7063.1958, 2813.4331, 1.335144e-005]; -}; - -_vehicle_197 = objNull; -if (true) then -{ - _this = "C130J_wreck_EP1" createVehicle [6947.1333, 2799.593, 1.1444092e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_197 = _this; - _this setDir 154.08904; - _this setPos [6947.1333, 2799.593, 1.1444092e-005]; -}; - -_vehicle_202 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree1" createVehicle [6968.8442, 2787.7422, 1.4305115e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_202 = _this; - _this setPos [6968.8442, 2787.7422, 1.4305115e-006]; -}; - -_vehicle_205 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [6944.7886, 2784.7371, -6.1988831e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_205 = _this; - _this setDir -45.92025; - _this setPos [6944.7886, 2784.7371, -6.1988831e-006]; -}; - -_vehicle_206 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [6947.2598, 2771.8098, 5.2452087e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_206 = _this; - _this setDir -19.038361; - _this setPos [6947.2598, 2771.8098, 5.2452087e-006]; -}; - -_vehicle_207 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [6955.9478, 2760.2688, 3.8146973e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_207 = _this; - _this setDir -19.759348; - _this setPos [6955.9478, 2760.2688, 3.8146973e-006]; -}; - -_vehicle_208 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenSpruce" createVehicle [6963.8408, 2751.6982, -4.7683716e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_208 = _this; - _this setDir -39.295834; - _this setPos [6963.8408, 2751.6982, -4.7683716e-006]; -}; - -_vehicle_209 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenSpruce" createVehicle [6938.626, 2813.3032]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_209 = _this; - _this setDir -32.037121; - _this setPos [6938.626, 2813.3032]; -}; - -_vehicle_210 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree1" createVehicle [6965.9697, 2769.4019, 1.9073486e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_210 = _this; - _this setPos [6965.9697, 2769.4019, 1.9073486e-006]; -}; - -_vehicle_211 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [6975.3252, 2772.3062, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_211 = _this; - _this setDir -23.15572; - _this setPos [6975.3252, 2772.3062, 1.5258789e-005]; -}; - -_vehicle_213 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [6978.2739, 2763.501, 9.5367432e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_213 = _this; - _this setPos [6978.2739, 2763.501, 9.5367432e-006]; -}; - -_vehicle_214 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [6959.1226, 2751.3816, -1.9073486e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_214 = _this; - _this setPos [6959.1226, 2751.3816, -1.9073486e-006]; -}; - -_vehicle_215 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [6951.0894, 2763.2842, 1.1444092e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_215 = _this; - _this setPos [6951.0894, 2763.2842, 1.1444092e-005]; -}; - -_vehicle_216 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [6951.2749, 2777.1152, -2.3841858e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_216 = _this; - _this setPos [6951.2749, 2777.1152, -2.3841858e-006]; -}; - -_vehicle_217 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [6955.5356, 2809.7603, 2.2888184e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_217 = _this; - _this setPos [6955.5356, 2809.7603, 2.2888184e-005]; -}; - -_vehicle_219 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [6957.6123, 2801.1416, 2.8610229e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_219 = _this; - _this setDir 109.69421; - _this setPos [6957.6123, 2801.1416, 2.8610229e-005]; -}; - -_vehicle_220 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [6977.498, 2755.78, 7.6293945e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_220 = _this; - _this setDir 13.802272; - _this setPos [6977.498, 2755.78, 7.6293945e-006]; -}; - -_vehicle_221 = objNull; -if (true) then -{ - _this = "Body1" createVehicle [6976.8638, 2751.7324, 8.392334e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_221 = _this; - _this setPos [6976.8638, 2751.7324, 8.392334e-005]; -}; - -_vehicle_222 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [6966.3115, 2770.1753, 4.7683716e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_222 = _this; - _this setDir 50.185974; - _this setPos [6966.3115, 2770.1753, 4.7683716e-005]; -}; - -_vehicle_223 = objNull; -if (true) then -{ - _this = "Body1" createVehicle [6956.0034, 2779.5024, 8.5830688e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_223 = _this; - _this setPos [6956.0034, 2779.5024, 8.5830688e-005]; -}; - -_vehicle_224 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [6965.25, 2759.8867, 9.727478e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_224 = _this; - _this setDir -108.38199; - _this setPos [6965.25, 2759.8867, 9.727478e-005]; -}; -}; +[[ + ["Land_Panelak3",[7017.1802,2832.1252,-1.9073486e-005],142.68503], + ["Land_Panelak2",[7033.9487,2845.1497,-7.6293945e-006],142.71629], + ["Land_Panelak2",[7054.0884,2863.4966,6.6757202e-006],-126.68169], + ["Land_Panelak2",[7030.981,2813.6396,-1.9073486e-006],-37.376324], + ["Land_Panelak3",[7047.502,2826.5066,4.2915344e-006],-37.7827], + ["Land_Panelak2",[7078.9531,2834.1553,2.2888184e-005],-37.152187], + ["Land_Panelak3",[7076.1099,2861.5081,2.8610229e-006],-126.49503], + ["Land_Panelak2",[6997.2598,2838.3906,3.7670135e-005],233.08496], + ["Land_Panelak3",[7021.0967,2767.9297,-4.7683716e-006],52.002502], + ["Land_Panelak2",[6977.5898,2844.4226,1.9073486e-006],142.41486], + ["Land_Panelak2",[7034.1514,2793.9668,2.0980835e-005],-127.15548], + ["Land_A_GeneralStore_01",[7054.2852,2779.2981,4.5776367e-005],-127.20033], + ["MAP_phone_box",[7042.6147,2776.8606,1.2220162],-37.120174], + ["MAP_t_fagus2s",[7062.9316,2753.7759,-2.8610229e-006],53.231174], + ["MAP_t_malus1s",[7037.6626,2781.1833,-1.1444092e-005],0], + ["MAP_Misc_Greenhouse",[7066.8647,2816.1692,7.1525574e-006],53.482254], + ["MAP_Misc_Greenhouse",[7063.1958,2813.4331,1.335144e-005],53.615242], + ["C130J_wreck_EP1",[6947.1333,2799.593,1.1444092e-005],154.08904], + ["MAP_misc_FallenTree1",[6968.8442,2787.7422,1.4305115e-006],0], + ["MAP_misc_FallenTree2",[6944.7886,2784.7371,-6.1988831e-006],-45.92025], + ["MAP_misc_FallenTree2",[6947.2598,2771.8098,5.2452087e-006],-19.038361], + ["MAP_misc_FallenTree2",[6955.9478,2760.2688,3.8146973e-006],-19.759348], + ["MAP_misc_FallenSpruce",[6963.8408,2751.6982,-4.7683716e-006],-39.295834], + ["MAP_misc_FallenSpruce",[6938.626,2813.3032],-32.037121], + ["MAP_misc_FallenTree1",[6965.9697,2769.4019,1.9073486e-006],0], + ["MAP_misc_FallenTree2",[6975.3252,2772.3062,1.5258789e-005],-23.15572], + ["MAP_misc_stub2",[6978.2739,2763.501,9.5367432e-006],0], + ["MAP_misc_stub2",[6959.1226,2751.3816,-1.9073486e-006],0], + ["MAP_misc_stub2",[6951.0894,2763.2842,1.1444092e-005],0], + ["MAP_misc_stub2",[6951.2749,2777.1152,-2.3841858e-006],0], + ["MAP_misc_FallenTree2",[6955.5356,2809.7603,2.2888184e-005],0], + ["MAP_misc_stub2",[6957.6123,2801.1416,2.8610229e-005],109.69421], + ["Body2",[6977.498,2755.78,7.6293945e-006],13.802272], + ["Body1",[6976.8638,2751.7324,8.392334e-005],0], + ["Body2",[6966.3115,2770.1753,4.7683716e-005],50.185974], + ["Body1",[6956.0034,2779.5024,8.5830688e-005],0], + ["Body2",[6965.25,2759.8867,9.727478e-005],-108.38199] +],false,false,false] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/DeadForest.sqf b/SQF/dayz_code/system/mission/chernarus/poi/DeadForest.sqf index 5e442ce0..8d30ac77 100644 --- a/SQF/dayz_code/system/mission/chernarus/poi/DeadForest.sqf +++ b/SQF/dayz_code/system/mission/chernarus/poi/DeadForest.sqf @@ -1,3940 +1,364 @@ -//Dead Forest DayZ -//Created by Dr Bane 20/11/2013 -//Copyright Dr Bane And Musty Gaming - -if (isServer) then { - -_vehicle_5 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8374.1084, 2992.9797, -1.3828278e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_5 = _this; - _this setDir 27; - _this setPos [8374.1084, 2992.9797, -1.3828278e-005]; -}; - -_vehicle_6 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8367.4912, 2999.4746, 1.4305115e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_6 = _this; - _this setDir 115; - _this setPos [8367.4912, 2999.4746, 1.4305115e-006]; -}; - -_vehicle_7 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8375.5654, 3002.9851, 3.7193298e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_7 = _this; - _this setDir 104; - _this setPos [8375.5654, 3002.9851, 3.7193298e-005]; -}; - -_vehicle_9 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8368.1514, 3006.0754, -1.3828278e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_9 = _this; - _this setDir 182; - _this setPos [8368.1514, 3006.0754, -1.3828278e-005]; -}; - -_vehicle_10 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8360.3105, 3007.457, -1.1920929e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_10 = _this; - _this setDir 341; - _this setPos [8360.3105, 3007.457, -1.1920929e-005]; -}; - -_vehicle_11 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8324.2432, 3006.7075, 4.1484833e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_11 = _this; - _this setDir 256; - _this setPos [8324.2432, 3006.7075, 4.1484833e-005]; -}; - -_vehicle_12 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8335.7236, 2997.5403, 9.5844269e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_12 = _this; - _this setDir 92; - _this setPos [8335.7236, 2997.5403, 9.5844269e-005]; -}; - -_vehicle_13 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8342.4678, 2991.863, 0.00016832352]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_13 = _this; - _this setDir 205; - _this setPos [8342.4678, 2991.863, 0.00016832352]; -}; - -_vehicle_14 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8349.3223, 2984.667, 5.0544739e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_14 = _this; - _this setDir 213; - _this setPos [8349.3223, 2984.667, 5.0544739e-005]; -}; - -_vehicle_15 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8329.9922, 3000.8005, 3.0994415e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_15 = _this; - _this setDir 127; - _this setPos [8329.9922, 3000.8005, 3.0994415e-005]; -}; - -_vehicle_16 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8344.3652, 3026.6082, 5.2452087e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_16 = _this; - _this setDir 255; - _this setPos [8344.3652, 3026.6082, 5.2452087e-006]; -}; - -_vehicle_17 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8325.8652, 2998.8228, -0.00013780594]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_17 = _this; - _this setDir 345; - _this setPos [8325.8652, 2998.8228, -0.00013780594]; -}; - -_vehicle_18 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8349.2969, 3014.9563, -9.5367432e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_18 = _this; - _this setDir 194; - _this setPos [8349.2969, 3014.9563, -9.5367432e-006]; -}; - -_vehicle_19 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8356.1709, 3013.1833, 4.7683716e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_19 = _this; - _this setDir 335; - _this setPos [8356.1709, 3013.1833, 4.7683716e-005]; -}; - -_vehicle_20 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8365.8193, 3010.967, -2.2411346e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_20 = _this; - _this setDir 41; - _this setPos [8365.8193, 3010.967, -2.2411346e-005]; -}; - -_vehicle_21 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8372.5146, 3010.2739, -1.001358e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_21 = _this; - _this setDir 287; - _this setPos [8372.5146, 3010.2739, -1.001358e-005]; -}; - -_vehicle_22 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8339.6162, 3024.0161, -5.2452087e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_22 = _this; - _this setDir 38; - _this setPos [8339.6162, 3024.0161, -5.2452087e-006]; -}; - -_vehicle_23 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8349.6475, 3022.1182, 2.5272369e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_23 = _this; - _this setDir 92; - _this setPos [8349.6475, 3022.1182, 2.5272369e-005]; -}; - -_vehicle_24 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8354.3623, 3019.4683, -2.6226044e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_24 = _this; - _this setDir 80; - _this setPos [8354.3623, 3019.4683, -2.6226044e-005]; -}; - -_vehicle_25 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8334.9004, 2990.9661, 4.7683716e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_25 = _this; - _this setDir 86; - _this setPos [8334.9004, 2990.9661, 4.7683716e-006]; -}; - -_vehicle_26 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [8330.7646, 2995.2581, 5.2452087e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_26 = _this; - _this setDir 290; - _this setPos [8330.7646, 2995.2581, 5.2452087e-006]; -}; - -_vehicle_27 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [8319.6641, 3010.3237, 3.6239624e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_27 = _this; - _this setDir 143; - _this setPos [8319.6641, 3010.3237, 3.6239624e-005]; -}; - -_vehicle_28 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8342.0684, 2985.0317, -7.8678131e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_28 = _this; - _this setDir 291; - _this setPos [8342.0684, 2985.0317, -7.8678131e-005]; -}; - -_vehicle_29 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8335.4746, 2983.8818, 1.9550323e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_29 = _this; - _this setDir 307; - _this setPos [8335.4746, 2983.8818, 1.9550323e-005]; -}; - -_vehicle_30 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8354.9092, 2979.2861, 9.059906e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_30 = _this; - _this setDir 281; - _this setPos [8354.9092, 2979.2861, 9.059906e-006]; -}; - -_vehicle_31 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8345.6475, 2977.5107, -1.9073486e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_31 = _this; - _this setDir 47; - _this setPos [8345.6475, 2977.5107, -1.9073486e-005]; -}; - -_vehicle_32 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8337.1436, 2976.5764, 3.3855438e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_32 = _this; - _this setDir 256; - _this setPos [8337.1436, 2976.5764, 3.3855438e-005]; -}; - -_vehicle_33 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8331.9688, 3028.6682, 5.3882599e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_33 = _this; - _this setDir 189; - _this setPos [8331.9688, 3028.6682, 5.3882599e-005]; -}; - -_vehicle_34 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8326.0078, 3034.9595, -8.5830688e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_34 = _this; - _this setDir 219; - _this setPos [8326.0078, 3034.9595, -8.5830688e-006]; -}; - -_vehicle_35 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8320.1416, 3038.6501, -0.00011301041]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_35 = _this; - _this setDir 27; - _this setPos [8320.1416, 3038.6501, -0.00011301041]; -}; - -_vehicle_36 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8311.3613, 3018.5193, -5.9127808e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_36 = _this; - _this setDir 209; - _this setPos [8311.3613, 3018.5193, -5.9127808e-005]; -}; - -_vehicle_37 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8304.54, 3023.0964, 4.9114227e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_37 = _this; - _this setDir 312; - _this setPos [8304.54, 3023.0964, 4.9114227e-005]; -}; - -_vehicle_38 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8315.1924, 3011.3325, 5.0544739e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_38 = _this; - _this setDir 352; - _this setPos [8315.1924, 3011.3325, 5.0544739e-005]; -}; - -_vehicle_39 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8318.0791, 3004.4722, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_39 = _this; - _this setDir 129; - _this setPos [8318.0791, 3004.4722, 4.5776367e-005]; -}; - -_vehicle_40 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8308.5615, 3012.7195, 6.6757202e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_40 = _this; - _this setDir 8; - _this setPos [8308.5615, 3012.7195, 6.6757202e-005]; -}; - -_vehicle_41 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8301.3828, 3017.0095, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_41 = _this; - _this setDir 233; - _this setPos [8301.3828, 3017.0095, 1.5258789e-005]; -}; - -_vehicle_42 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8332.458, 3036.3906, 0.00010156631]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_42 = _this; - _this setDir 34; - _this setPos [8332.458, 3036.3906, 0.00010156631]; -}; - -_vehicle_43 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8339.2764, 3030.8428, 1.5735626e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_43 = _this; - _this setDir 252; - _this setPos [8339.2764, 3030.8428, 1.5735626e-005]; -}; - -_vehicle_44 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8347.2959, 3028.9395, 2.2888184e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_44 = _this; - _this setDir 17; - _this setPos [8347.2959, 3028.9395, 2.2888184e-005]; -}; - -_vehicle_45 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8343.8115, 3018.7363, 5.7697296e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_45 = _this; - _this setDir 251; - _this setPos [8343.8115, 3018.7363, 5.7697296e-005]; -}; - -_vehicle_46 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8357.4756, 3019.6348, 3.194809e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_46 = _this; - _this setDir 279; - _this setPos [8357.4756, 3019.6348, 3.194809e-005]; -}; - -_vehicle_47 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8361.1982, 3002.3828, 9.5367432e-007]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_47 = _this; - _this setDir 79; - _this setPos [8361.1982, 3002.3828, 9.5367432e-007]; -}; - -_vehicle_48 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8380.084, 2998.1199, 3.9577484e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_48 = _this; - _this setDir 1; - _this setPos [8380.084, 2998.1199, 3.9577484e-005]; -}; - -_vehicle_49 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8327.6084, 2990.6194, 4.3392181e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_49 = _this; - _this setDir 98; - _this setPos [8327.6084, 2990.6194, 4.3392181e-005]; -}; - -_vehicle_50 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8320.4727, 2996.5691, 4.7683716e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_50 = _this; - _this setDir 227; - _this setPos [8320.4727, 2996.5691, 4.7683716e-005]; -}; - -_vehicle_51 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8311.2236, 3005.0393, -4.7683716e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_51 = _this; - _this setDir 148; - _this setPos [8311.2236, 3005.0393, -4.7683716e-006]; -}; - -_vehicle_52 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8290.1934, 3036.1836, 1.335144e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_52 = _this; - _this setDir 145; - _this setPos [8290.1934, 3036.1836, 1.335144e-005]; -}; - -_vehicle_53 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8295.7578, 3029.7461, 5.2452087e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_53 = _this; - _this setDir 324; - _this setPos [8295.7578, 3029.7461, 5.2452087e-006]; -}; - -_vehicle_54 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8289.0322, 3028.5151, 1.6689301e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_54 = _this; - _this setDir 286; - _this setPos [8289.0322, 3028.5151, 1.6689301e-005]; -}; - -_vehicle_55 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8302.0781, 3027.2917, 2.2411346e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_55 = _this; - _this setDir 16; - _this setPos [8302.0781, 3027.2917, 2.2411346e-005]; -}; - -_vehicle_56 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8296.7686, 3023.0215, 0.00012397766]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_56 = _this; - _this setDir 127; - _this setPos [8296.7686, 3023.0215, 0.00012397766]; -}; - -_vehicle_57 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8302.3252, 3009.8862, 0.00016593933]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_57 = _this; - _this setDir 49; - _this setPos [8302.3252, 3009.8862, 0.00016593933]; -}; - -_vehicle_58 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8295.3916, 3015.5476, 9.5367432e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_58 = _this; - _this setDir 16; - _this setPos [8295.3916, 3015.5476, 9.5367432e-006]; -}; - -_vehicle_59 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8289.8447, 3020.5537, 0.00014352798]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_59 = _this; - _this setDir 341; - _this setPos [8289.8447, 3020.5537, 0.00014352798]; -}; - -_vehicle_60 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8312.9014, 2998.6064, 5.1498413e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_60 = _this; - _this setDir 157; - _this setPos [8312.9014, 2998.6064, 5.1498413e-005]; -}; - -_vehicle_61 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8320.5898, 2990.0151, 5.0544739e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_61 = _this; - _this setDir 274; - _this setPos [8320.5898, 2990.0151, 5.0544739e-005]; -}; - -_vehicle_62 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8327.5713, 2984.302, -2.1457672e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_62 = _this; - _this setDir 128; - _this setPos [8327.5713, 2984.302, -2.1457672e-005]; -}; - -_vehicle_63 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8343.2061, 2970.5376, 7.0095062e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_63 = _this; - _this setDir 342; - _this setPos [8343.2061, 2970.5376, 7.0095062e-005]; -}; - -_vehicle_64 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8351.3672, 2972.5308, 3.4332275e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_64 = _this; - _this setDir 107; - _this setPos [8351.3672, 2972.5308, 3.4332275e-005]; -}; - -_vehicle_65 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8360.6699, 2974.8535, 7.6293945e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_65 = _this; - _this setDir 133; - _this setPos [8360.6699, 2974.8535, 7.6293945e-006]; -}; - -_vehicle_66 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8313.5166, 3042.1011, 2.5272369e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_66 = _this; - _this setDir 61; - _this setPos [8313.5166, 3042.1011, 2.5272369e-005]; -}; - -_vehicle_67 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8319.6191, 3044.9377, -4.0054321e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_67 = _this; - _this setDir 151; - _this setPos [8319.6191, 3044.9377, -4.0054321e-005]; -}; - -_vehicle_68 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8363.4619, 3015.9182, 4.7683716e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_68 = _this; - _this setDir 116; - _this setPos [8363.4619, 3015.9182, 4.7683716e-006]; -}; - -_vehicle_69 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8353.6533, 3026.426, 6.7710876e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_69 = _this; - _this setDir 136; - _this setPos [8353.6533, 3026.426, 6.7710876e-005]; -}; - -_vehicle_70 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8325.6875, 3040.1899, 1.6689301e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_70 = _this; - _this setDir 336; - _this setPos [8325.6875, 3040.1899, 1.6689301e-005]; -}; - -_vehicle_71 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8332.8477, 2978.8247, 6.3419342e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_71 = _this; - _this setDir 55; - _this setPos [8332.8477, 2978.8247, 6.3419342e-005]; -}; - -_vehicle_72 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8351.9277, 3047.147, -5.3405762e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_72 = _this; - _this setDir 16; - _this setPos [8351.9277, 3047.147, -5.3405762e-005]; -}; - -_vehicle_73 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8387.9004, 3031.4431, -1.5735626e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_73 = _this; - _this setDir 311; - _this setPos [8387.9004, 3031.4431, -1.5735626e-005]; -}; - -_vehicle_74 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8335.2236, 3055.9009, -4.9591064e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_74 = _this; - _this setDir 258; - _this setPos [8335.2236, 3055.9009, -4.9591064e-005]; -}; - -_vehicle_75 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8358.5244, 3062.5132, 4.0054321e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_75 = _this; - _this setDir 225; - _this setPos [8358.5244, 3062.5132, 4.0054321e-005]; -}; - -_vehicle_76 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8370.6104, 3039.8354, 2.0503998e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_76 = _this; - _this setDir 100; - _this setPos [8370.6104, 3039.8354, 2.0503998e-005]; -}; - -_vehicle_77 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8387.2168, 3005.4438, 1.1920929e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_77 = _this; - _this setDir 297; - _this setPos [8387.2168, 3005.4438, 1.1920929e-005]; -}; - -_vehicle_78 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8376.6631, 3056.2424, 5.0067902e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_78 = _this; - _this setDir 335; - _this setPos [8376.6631, 3056.2424, 5.0067902e-005]; -}; - -_vehicle_79 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8372.0146, 3029.3923, 1.0490417e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_79 = _this; - _this setDir 286; - _this setPos [8372.0146, 3029.3923, 1.0490417e-005]; -}; - -_vehicle_80 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8381.874, 3006.4099, 3.1471252e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_80 = _this; - _this setDir 28; - _this setPos [8381.874, 3006.4099, 3.1471252e-005]; -}; - -_vehicle_81 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8379.0771, 3012.7131, -0.00017309189]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_81 = _this; - _this setDir 257; - _this setPos [8379.0771, 3012.7131, -0.00017309189]; -}; - -_vehicle_82 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8369.5684, 3016.3491, 5.7220459e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_82 = _this; - _this setDir 165; - _this setPos [8369.5684, 3016.3491, 5.7220459e-006]; -}; - -_vehicle_83 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8375.6934, 3018.9282, 5.5789948e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_83 = _this; - _this setDir 343; - _this setPos [8375.6934, 3018.9282, 5.5789948e-005]; -}; - -_vehicle_84 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8359.1016, 3027.2422, 9.059906e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_84 = _this; - _this setDir 356; - _this setPos [8359.1016, 3027.2422, 9.059906e-006]; -}; - -_vehicle_85 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8369.6035, 3024.0635, 2.2888184e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_85 = _this; - _this setDir 134; - _this setPos [8369.6035, 3024.0635, 2.2888184e-005]; -}; - -_vehicle_86 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8341.2939, 3054.1707, -4.2915344e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_86 = _this; - _this setDir 272; - _this setPos [8341.2939, 3054.1707, -4.2915344e-006]; -}; - -_vehicle_87 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8335.3438, 3048.0002, 8.4400177e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_87 = _this; - _this setDir 142; - _this setPos [8335.3438, 3048.0002, 8.4400177e-005]; -}; - -_vehicle_88 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8335.7705, 3040.657, -2.1457672e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_88 = _this; - _this setDir 93; - _this setPos [8335.7705, 3040.657, -2.1457672e-005]; -}; - -_vehicle_89 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8341.3555, 3036.3518, 1.3828278e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_89 = _this; - _this setDir 255; - _this setPos [8341.3555, 3036.3518, 1.3828278e-005]; -}; - -_vehicle_90 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8354.3828, 3032.3359, 4.1484833e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_90 = _this; - _this setDir 252; - _this setPos [8354.3828, 3032.3359, 4.1484833e-005]; -}; - -_vehicle_91 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8348.2881, 3035.4565, -2.6226044e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_91 = _this; - _this setDir 296; - _this setPos [8348.2881, 3035.4565, -2.6226044e-005]; -}; - -_vehicle_92 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8341.8643, 3046.4958, -2.7179718e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_92 = _this; - _this setDir 316; - _this setPos [8341.8643, 3046.4958, -2.7179718e-005]; -}; - -_vehicle_93 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8344.0537, 3041.271, 1.8119812e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_93 = _this; - _this setDir 268; - _this setPos [8344.0537, 3041.271, 1.8119812e-005]; -}; - -_vehicle_94 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8328.7598, 3043.6758, 9.8228455e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_94 = _this; - _this setDir 83; - _this setPos [8328.7598, 3043.6758, 9.8228455e-005]; -}; - -_vehicle_95 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8328.3105, 3050.7827, 5.7697296e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_95 = _this; - _this setDir 291; - _this setPos [8328.3105, 3050.7827, 5.7697296e-005]; -}; - -_vehicle_96 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8362.085, 3070.0769, 0.00011539459]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_96 = _this; - _this setDir 266; - _this setPos [8362.085, 3070.0769, 0.00011539459]; -}; - -_vehicle_97 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8354.7412, 3065.4475, 6.1511993e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_97 = _this; - _this setDir 318; - _this setPos [8354.7412, 3065.4475, 6.1511993e-005]; -}; - -_vehicle_98 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8347.7207, 3060.8008, 0.00016069412]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_98 = _this; - _this setDir 37; - _this setPos [8347.7207, 3060.8008, 0.00016069412]; -}; - -_vehicle_99 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8347.8643, 3052.4048, -7.1525574e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_99 = _this; - _this setDir 252; - _this setPos [8347.8643, 3052.4048, -7.1525574e-006]; -}; - -_vehicle_100 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8353.7354, 3057.7947, 2.1457672e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_100 = _this; - _this setDir 61; - _this setPos [8353.7354, 3057.7947, 2.1457672e-005]; -}; - -_vehicle_101 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8352.082, 3042.2791, -5.2452087e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_101 = _this; - _this setDir 177; - _this setPos [8352.082, 3042.2791, -5.2452087e-005]; -}; - -_vehicle_102 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8358.2871, 3038.5503, 2.4795532e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_102 = _this; - _this setDir 102; - _this setPos [8358.2871, 3038.5503, 2.4795532e-005]; -}; - -_vehicle_103 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [8363.2881, 3023.4106, -7.1525574e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_103 = _this; - _this setDir 283; - _this setPos [8363.2881, 3023.4106, -7.1525574e-006]; -}; - -_vehicle_104 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [8363.5068, 3055.887, 6.4373016e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_104 = _this; - _this setDir 246; - _this setPos [8363.5068, 3055.887, 6.4373016e-005]; -}; - -_vehicle_105 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [8371.2852, 3044.207, 0.00011253357]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_105 = _this; - _this setDir 63; - _this setPos [8371.2852, 3044.207, 0.00011253357]; -}; - -_vehicle_106 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [8393.7471, 3017.5837, 2.4795532e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_106 = _this; - _this setDir 281; - _this setPos [8393.7471, 3017.5837, 2.4795532e-005]; -}; - -_vehicle_107 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [8391.21, 3036.2163, -2.3841858e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_107 = _this; - _this setDir 242; - _this setPos [8391.21, 3036.2163, -2.3841858e-005]; -}; - -_vehicle_108 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [8382.9512, 3021.5007, -2.7656555e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_108 = _this; - _this setDir 272; - _this setPos [8382.9512, 3021.5007, -2.7656555e-005]; -}; - -_vehicle_109 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [8332.3145, 2971.6072, 9.5367432e-007]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_109 = _this; - _this setDir 132; - _this setPos [8332.3145, 2971.6072, 9.5367432e-007]; -}; - -_vehicle_110 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [8348.8174, 2966.2979, 6.6757202e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_110 = _this; - _this setDir 353; - _this setPos [8348.8174, 2966.2979, 6.6757202e-005]; -}; - -_vehicle_111 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [8353.1592, 3008.2664, 2.0027161e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_111 = _this; - _this setDir 28; - _this setPos [8353.1592, 3008.2664, 2.0027161e-005]; -}; - -_vehicle_112 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8385.333, 3047.8713, 1.2874603e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_112 = _this; - _this setDir 292; - _this setPos [8385.333, 3047.8713, 1.2874603e-005]; -}; - -_vehicle_113 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8380.3887, 3037.8037, 0.00010061264]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_113 = _this; - _this setDir 23; - _this setPos [8380.3887, 3037.8037, 0.00010061264]; -}; - -_vehicle_114 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8399.2168, 3023.7378, -8.9645386e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_114 = _this; - _this setDir 270; - _this setPos [8399.2168, 3023.7378, -8.9645386e-005]; -}; - -_vehicle_115 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8392.1133, 3024.2642, -6.2465668e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_115 = _this; - _this setDir 214; - _this setPos [8392.1133, 3024.2642, -6.2465668e-005]; -}; - -_vehicle_116 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8388.0898, 3010.9275, -3.9100647e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_116 = _this; - _this setDir 329; - _this setPos [8388.0898, 3010.9275, -3.9100647e-005]; -}; - -_vehicle_117 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8386.9814, 3019.27, 7.5340271e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_117 = _this; - _this setDir 292; - _this setPos [8386.9814, 3019.27, 7.5340271e-005]; -}; - -_vehicle_118 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8378.6494, 3026.2344, 8.9168549e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_118 = _this; - _this setDir 315; - _this setPos [8378.6494, 3026.2344, 8.9168549e-005]; -}; - -_vehicle_119 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8373.4072, 3034.0032, -6.7710876e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_119 = _this; - _this setDir 34; - _this setPos [8373.4072, 3034.0032, -6.7710876e-005]; -}; - -_vehicle_120 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8369.4004, 3053.8101, 8.5353851e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_120 = _this; - _this setDir 265; - _this setPos [8369.4004, 3053.8101, 8.5353851e-005]; -}; - -_vehicle_121 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8356.7588, 3051.1743, 0.00012636185]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_121 = _this; - _this setDir 128; - _this setPos [8356.7588, 3051.1743, 0.00012636185]; -}; - -_vehicle_122 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8363.8643, 3049.407, 7.2479248e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_122 = _this; - _this setDir 234; - _this setPos [8363.8643, 3049.407, 7.2479248e-005]; -}; - -_vehicle_123 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8361.8838, 3034.9668, -2.9563904e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_123 = _this; - _this setDir 281; - _this setPos [8361.8838, 3034.9668, -2.9563904e-005]; -}; - -_vehicle_124 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8374.6533, 3046.0508, 0.00013256073]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_124 = _this; - _this setDir 289; - _this setPos [8374.6533, 3046.0508, 0.00013256073]; -}; - -_vehicle_125 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8380.2734, 3044.4497, -3.8146973e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_125 = _this; - _this setDir 172; - _this setPos [8380.2734, 3044.4497, -3.8146973e-006]; -}; - -_vehicle_126 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8364.7539, 3042.5144, 2.2411346e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_126 = _this; - _this setDir 222; - _this setPos [8364.7539, 3042.5144, 2.2411346e-005]; -}; - -_vehicle_127 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8362.1914, 3061.9292, 4.3869019e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_127 = _this; - _this setDir 53; - _this setPos [8362.1914, 3061.9292, 4.3869019e-005]; -}; - -_vehicle_128 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8371.2676, 3060.8711, 0.0001616478]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_128 = _this; - _this setDir 50; - _this setPos [8371.2676, 3060.8711, 0.0001616478]; -}; - -_vehicle_129 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8379.2402, 3053.2058, -1.1444092e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_129 = _this; - _this setDir 351; - _this setPos [8379.2402, 3053.2058, -1.1444092e-005]; -}; - -_vehicle_130 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8382.1729, 3031.7893, 2.5272369e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_130 = _this; - _this setDir 288; - _this setPos [8382.1729, 3031.7893, 2.5272369e-005]; -}; - -_vehicle_131 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8393.6787, 3030.147, 0.0001912117]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_131 = _this; - _this setDir 99; - _this setPos [8393.6787, 3030.147, 0.0001912117]; -}; - -_vehicle_132 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8387.1973, 3038.4426, -1.2874603e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_132 = _this; - _this setDir 276; - _this setPos [8387.1973, 3038.4426, -1.2874603e-005]; -}; - -_vehicle_133 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8398.0811, 3036.6772, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_133 = _this; - _this setDir 294; - _this setPos [8398.0811, 3036.6772, 3.0517578e-005]; -}; - -_vehicle_134 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8393.6035, 3043.3064, 5.7220459e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_134 = _this; - _this setDir 339; - _this setPos [8393.6035, 3043.3064, 5.7220459e-005]; -}; - -_vehicle_135 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8404.416, 3030.3401, 0.0001373291]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_135 = _this; - _this setDir 90; - _this setPos [8404.416, 3030.3401, 0.0001373291]; -}; - -_vehicle_136 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8389.6455, 2978.394, 1.5735626e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_136 = _this; - _this setDir 262; - _this setPos [8389.6455, 2978.394, 1.5735626e-005]; -}; - -_vehicle_137 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8395.1406, 2969.668, 3.1471252e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_137 = _this; - _this setDir 308; - _this setPos [8395.1406, 2969.668, 3.1471252e-005]; -}; - -_vehicle_138 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8396.8701, 2983.0527, 7.1525574e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_138 = _this; - _this setDir 207; - _this setPos [8396.8701, 2983.0527, 7.1525574e-006]; -}; - -_vehicle_139 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8399.748, 2977.9617, -1.0967255e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_139 = _this; - _this setDir 241; - _this setPos [8399.748, 2977.9617, -1.0967255e-005]; -}; - -_vehicle_140 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8375.2012, 2961.0181, -3.1471252e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_140 = _this; - _this setDir 178; - _this setPos [8375.2012, 2961.0181, -3.1471252e-005]; -}; - -_vehicle_141 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8353.458, 2965.6736, -4.196167e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_141 = _this; - _this setDir 267; - _this setPos [8353.458, 2965.6736, -4.196167e-005]; -}; - -_vehicle_142 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8369.4355, 2954.9197, 3.6716461e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_142 = _this; - _this setDir 336; - _this setPos [8369.4355, 2954.9197, 3.6716461e-005]; -}; - -_vehicle_143 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8375.4238, 2955.2461, 4.0531158e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_143 = _this; - _this setDir 166; - _this setPos [8375.4238, 2955.2461, 4.0531158e-005]; -}; - -_vehicle_144 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8384.5664, 2950.9524, 5.0067902e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_144 = _this; - _this setDir 17; - _this setPos [8384.5664, 2950.9524, 5.0067902e-005]; -}; - -_vehicle_145 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8375.7773, 2948.3875, 1.2397766e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_145 = _this; - _this setDir 305; - _this setPos [8375.7773, 2948.3875, 1.2397766e-005]; -}; - -_vehicle_146 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8367.1162, 2949.5178, 2.3841858e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_146 = _this; - _this setDir 25; - _this setPos [8367.1162, 2949.5178, 2.3841858e-005]; -}; - -_vehicle_147 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8369.8916, 2943.7825, 3.7193298e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_147 = _this; - _this setDir 183; - _this setPos [8369.8916, 2943.7825, 3.7193298e-005]; -}; - -_vehicle_148 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8361.9854, 2942.3115, 7.0095062e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_148 = _this; - _this setDir 335; - _this setPos [8361.9854, 2942.3115, 7.0095062e-005]; -}; - -_vehicle_149 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8347.9414, 2962.5781, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_149 = _this; - _this setDir 121; - _this setPos [8347.9414, 2962.5781, 0]; -}; - -_vehicle_150 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8340.4492, 2963.3047, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_150 = _this; - _this setDir 220; - _this setPos [8340.4492, 2963.3047, 1.5258789e-005]; -}; - -_vehicle_151 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8336.4424, 2970.5178, 2.3841858e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_151 = _this; - _this setDir 294; - _this setPos [8336.4424, 2970.5178, 2.3841858e-006]; -}; - -_vehicle_152 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8303.9775, 3002.9829, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_152 = _this; - _this setDir 20; - _this setPos [8303.9775, 3002.9829, -1.5258789e-005]; -}; - -_vehicle_153 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8295.0889, 3008.6887, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_153 = _this; - _this setDir 266; - _this setPos [8295.0889, 3008.6887, 0]; -}; - -_vehicle_154 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8286.6846, 3013.9929, 6.8664551e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_154 = _this; - _this setDir 35; - _this setPos [8286.6846, 3013.9929, 6.8664551e-005]; -}; - -_vehicle_155 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8289.2109, 3006.8022, -4.0054321e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_155 = _this; - _this setDir 78; - _this setPos [8289.2109, 3006.8022, -4.0054321e-005]; -}; - -_vehicle_156 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8285.9736, 2999.3464, -5.9127808e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_156 = _this; - _this setDir 24; - _this setPos [8285.9736, 2999.3464, -5.9127808e-005]; -}; - -_vehicle_157 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8296.8291, 3003.0767, -0.00010871887]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_157 = _this; - _this setDir 230; - _this setPos [8296.8291, 3003.0767, -0.00010871887]; -}; - -_vehicle_158 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8305.9268, 2995.6772, -7.2479248e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_158 = _this; - _this setDir 292; - _this setPos [8305.9268, 2995.6772, -7.2479248e-005]; -}; - -_vehicle_159 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8320.918, 2983.749, 0.00014305115]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_159 = _this; - _this setDir 289; - _this setPos [8320.918, 2983.749, 0.00014305115]; -}; - -_vehicle_160 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8315.5625, 2994.7371, 2.3841858e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_160 = _this; - _this setDir 200; - _this setPos [8315.5625, 2994.7371, 2.3841858e-005]; -}; - -_vehicle_161 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8300.2607, 2998.0469, 4.2915344e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_161 = _this; - _this setDir 113; - _this setPos [8300.2607, 2998.0469, 4.2915344e-005]; -}; - -_vehicle_162 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8292.6846, 2992.8042, 2.4318695e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_162 = _this; - _this setDir 176; - _this setPos [8292.6846, 2992.8042, 2.4318695e-005]; -}; - -_vehicle_163 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8299.4014, 2993.7622, -5.8174133e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_163 = _this; - _this setDir 229; - _this setPos [8299.4014, 2993.7622, -5.8174133e-005]; -}; - -_vehicle_164 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8312.1064, 2990.948, 7.1048737e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_164 = _this; - _this setDir 170; - _this setPos [8312.1064, 2990.948, 7.1048737e-005]; -}; - -_vehicle_165 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8314.5352, 2982.4656, 5.9604645e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_165 = _this; - _this setDir 173; - _this setPos [8314.5352, 2982.4656, 5.9604645e-005]; -}; - -_vehicle_166 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8328.3945, 2977.1936, -3.8146973e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_166 = _this; - _this setDir 150; - _this setPos [8328.3945, 2977.1936, -3.8146973e-006]; -}; - -_vehicle_167 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [8308.7178, 2962.926, -6.1988831e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_167 = _this; - _this setDir -115.64439; - _this setPos [8308.7178, 2962.926, -6.1988831e-006]; -}; - -_vehicle_168 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [8329.6055, 2958.5837, 5.7697296e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_168 = _this; - _this setPos [8329.6055, 2958.5837, 5.7697296e-005]; -}; - -_vehicle_169 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [8321.1777, 2969.3103, 3.3855438e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_169 = _this; - _this setDir -27.713123; - _this setPos [8321.1777, 2969.3103, 3.3855438e-005]; -}; - -_vehicle_170 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [8305.1953, 2984.0193, 4.863739e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_170 = _this; - _this setDir 74.532455; - _this setPos [8305.1953, 2984.0193, 4.863739e-005]; -}; - -_vehicle_171 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [8305.6504, 2973.2217, 9.5367432e-007]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_171 = _this; - _this setDir 28.343618; - _this setPos [8305.6504, 2973.2217, 9.5367432e-007]; -}; - -_vehicle_172 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [8276.8701, 2996.4805, 2.0980835e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_172 = _this; - _this setPos [8276.8701, 2996.4805, 2.0980835e-005]; -}; - -_vehicle_173 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [8287.6826, 2985.7219, -1.335144e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_173 = _this; - _this setDir 153.4949; - _this setPos [8287.6826, 2985.7219, -1.335144e-005]; -}; - -_vehicle_174 = objNull; -if (true) then -{ - _this = "MAP_misc_stub1" createVehicle [8280.4932, 2990.8032, 3.862381e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_174 = _this; - _this setPos [8280.4932, 2990.8032, 3.862381e-005]; -}; - -_vehicle_175 = objNull; -if (true) then -{ - _this = "MAP_misc_stub1" createVehicle [8284.2773, 2980.856, 8.72612e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_175 = _this; - _this setPos [8284.2773, 2980.856, 8.72612e-005]; -}; - -_vehicle_176 = objNull; -if (true) then -{ - _this = "MAP_misc_stub1" createVehicle [8285.3379, 2987.5627, -1.1920929e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_176 = _this; - _this setPos [8285.3379, 2987.5627, -1.1920929e-005]; -}; - -_vehicle_177 = objNull; -if (true) then -{ - _this = "MAP_misc_stub1" createVehicle [8294.9336, 2985.9783, 6.1988831e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_177 = _this; - _this setPos [8294.9336, 2985.9783, 6.1988831e-006]; -}; - -_vehicle_178 = objNull; -if (true) then -{ - _this = "MAP_misc_stub1" createVehicle [8303.7754, 2988.4644, 3.2424927e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_178 = _this; - _this setPos [8303.7754, 2988.4644, 3.2424927e-005]; -}; - -_vehicle_179 = objNull; -if (true) then -{ - _this = "MAP_misc_stub1" createVehicle [8301.6992, 2978.2649, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_179 = _this; - _this setPos [8301.6992, 2978.2649, -1.5258789e-005]; -}; - -_vehicle_180 = objNull; -if (true) then -{ - _this = "MAP_misc_stub1" createVehicle [8314.9023, 2960.688, 4.2438507e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_180 = _this; - _this setPos [8314.9023, 2960.688, 4.2438507e-005]; -}; - -_vehicle_181 = objNull; -if (true) then -{ - _this = "MAP_misc_stub1" createVehicle [8325.3506, 2970.9453, 1.9073486e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_181 = _this; - _this setPos [8325.3506, 2970.9453, 1.9073486e-006]; -}; - -_vehicle_182 = objNull; -if (true) then -{ - _this = "MAP_Misc_trunk_torzo" createVehicle [8287.334, 2972.6567, -1.1444092e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_182 = _this; - _this setPos [8287.334, 2972.6567, -1.1444092e-005]; -}; - -_vehicle_183 = objNull; -if (true) then -{ - _this = "MAP_Misc_trunk_water" createVehicle [8301.0947, 2973.8215, 5.4836273e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_183 = _this; - _this setPos [8301.0947, 2973.8215, 5.4836273e-005]; -}; - -_vehicle_184 = objNull; -if (true) then -{ - _this = "MAP_Misc_trunk_water" createVehicle [8298.1406, 2980.2729, 6.8187714e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_184 = _this; - _this setPos [8298.1406, 2980.2729, 6.8187714e-005]; -}; - -_vehicle_185 = objNull; -if (true) then -{ - _this = "MAP_Misc_trunk_water" createVehicle [8280.4492, 2978.7996, 2.0503998e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_185 = _this; - _this setPos [8280.4492, 2978.7996, 2.0503998e-005]; -}; - -_vehicle_186 = objNull; -if (true) then -{ - _this = "MAP_Misc_trunk_water" createVehicle [8285.4277, 2961.2744, 7.5817108e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_186 = _this; - _this setPos [8285.4277, 2961.2744, 7.5817108e-005]; -}; - -_vehicle_187 = objNull; -if (true) then -{ - _this = "MAP_Misc_trunk_water" createVehicle [8292.7842, 2953.9924, 5.3405762e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_187 = _this; - _this setPos [8292.7842, 2953.9924, 5.3405762e-005]; -}; - -_vehicle_188 = objNull; -if (true) then -{ - _this = "MAP_Misc_trunk_water" createVehicle [8324.7568, 2957.9919, 5.0067902e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_188 = _this; - _this setPos [8324.7568, 2957.9919, 5.0067902e-005]; -}; - -_vehicle_189 = objNull; -if (true) then -{ - _this = "MAP_Misc_trunk_water" createVehicle [8321.5801, 2945.6758, 9.5367432e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_189 = _this; - _this setPos [8321.5801, 2945.6758, 9.5367432e-006]; -}; - -_vehicle_190 = objNull; -if (true) then -{ - _this = "MAP_Misc_trunk_water" createVehicle [8315.1777, 2951.6606, 2.7179718e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_190 = _this; - _this setPos [8315.1777, 2951.6606, 2.7179718e-005]; -}; - -_vehicle_191 = objNull; -if (true) then -{ - _this = "MAP_Misc_trunk_water" createVehicle [8294.6133, 2939.1448, 6.6757202e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_191 = _this; - _this setPos [8294.6133, 2939.1448, 6.6757202e-006]; -}; - -_vehicle_192 = objNull; -if (true) then -{ - _this = "MAP_misc_stub1" createVehicle [8304.9102, 2950.873, 1.0490417e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_192 = _this; - _this setPos [8304.9102, 2950.873, 1.0490417e-005]; -}; - -_vehicle_193 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [8293.0889, 2963.2114, -1.3828278e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_193 = _this; - _this setPos [8293.0889, 2963.2114, -1.3828278e-005]; -}; - -_vehicle_194 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [8310.7803, 2945.6826, 3.4332275e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_194 = _this; - _this setPos [8310.7803, 2945.6826, 3.4332275e-005]; -}; - -_vehicle_195 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [8289.7568, 2946.5486, -2.8610229e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_195 = _this; - _this setPos [8289.7568, 2946.5486, -2.8610229e-005]; -}; - -_vehicle_196 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [8276.6553, 2979.6633, -1.1444092e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_196 = _this; - _this setPos [8276.6553, 2979.6633, -1.1444092e-005]; -}; - -_vehicle_197 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [8295.0127, 2977.6084, -1.4781952e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_197 = _this; - _this setPos [8295.0127, 2977.6084, -1.4781952e-005]; -}; - -_vehicle_198 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [8312.3926, 2971.4011, 6.6757202e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_198 = _this; - _this setPos [8312.3926, 2971.4011, 6.6757202e-006]; -}; - -_vehicle_199 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [8307.585, 2932.189, 7.7724457e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_199 = _this; - _this setPos [8307.585, 2932.189, 7.7724457e-005]; -}; - -_vehicle_200 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [8305.8516, 2944.5723, 2.3365021e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_200 = _this; - _this setPos [8305.8516, 2944.5723, 2.3365021e-005]; -}; - -_vehicle_201 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [8335.3369, 2955.3474, 1.0967255e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_201 = _this; - _this setPos [8335.3369, 2955.3474, 1.0967255e-005]; -}; - -_vehicle_202 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenSpruce" createVehicle [8282.7041, 2954.906, 3.5762787e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_202 = _this; - _this setDir -34.689266; - _this setPos [8282.7041, 2954.906, 3.5762787e-005]; -}; - -_vehicle_203 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [8317.7783, 2938.0107, 0.00010919571]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_203 = _this; - _this setDir -230.14758; - _this setPos [8317.7783, 2938.0107, 0.00010919571]; -}; - -_vehicle_204 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree1" createVehicle [8302.3525, 2951.6304, 8.8214874e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_204 = _this; - _this setPos [8302.3525, 2951.6304, 8.8214874e-005]; -}; - -_vehicle_205 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree1" createVehicle [8340.2559, 2950.5364, -2.3365021e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_205 = _this; - _this setDir 62.629547; - _this setPos [8340.2559, 2950.5364, -2.3365021e-005]; -}; - -_vehicle_206 = objNull; -if (true) then -{ - _this = "MAP_t_pinusN2s" createVehicle [8279.958, 2944.3484, 0.00018405914]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_206 = _this; - _this setDir 147; - _this setPos [8279.958, 2944.3484, 0.00018405914]; -}; - -_vehicle_207 = objNull; -if (true) then -{ - _this = "MAP_t_pinusS2f" createVehicle [8298.5752, 2960.6387, 7.8201294e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_207 = _this; - _this setDir 146; - _this setPos [8298.5752, 2960.6387, 7.8201294e-005]; -}; - -_vehicle_208 = objNull; -if (true) then -{ - _this = "MAP_t_pinusN2s" createVehicle [8309.8828, 2952.9185, 8.5830688e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_208 = _this; - _this setDir 166; - _this setPos [8309.8828, 2952.9185, 8.5830688e-006]; -}; - -_vehicle_209 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [8283.8867, 3034.9934, 3.0040741e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_209 = _this; - _this setDir 20.516634; - _this setPos [8283.8867, 3034.9934, 3.0040741e-005]; -}; - -_vehicle_210 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [8279.9072, 3021.4434, -5.7220459e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_210 = _this; - _this setDir -57.049; - _this setPos [8279.9072, 3021.4434, -5.7220459e-006]; -}; - -_vehicle_211 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [8283.1465, 3026.7241, -1.1920929e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_211 = _this; - _this setPos [8283.1465, 3026.7241, -1.1920929e-005]; -}; - -_vehicle_212 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [8282.0889, 3008.4585, 1.4305115e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_212 = _this; - _this setPos [8282.0889, 3008.4585, 1.4305115e-005]; -}; - -_vehicle_213 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8401.6953, 2990.6226, 8.392334e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_213 = _this; - _this setDir 257; - _this setPos [8401.6953, 2990.6226, 8.392334e-005]; -}; - -_vehicle_214 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8409.0508, 2991.2036, 8.3446503e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_214 = _this; - _this setDir 31; - _this setPos [8409.0508, 2991.2036, 8.3446503e-005]; -}; - -_vehicle_215 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8401.6572, 2969.9194, 1.001358e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_215 = _this; - _this setDir 253; - _this setPos [8401.6572, 2969.9194, 1.001358e-005]; -}; - -_vehicle_216 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8405.6064, 2975.8008, 3.2901764e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_216 = _this; - _this setDir 142; - _this setPos [8405.6064, 2975.8008, 3.2901764e-005]; -}; - -_vehicle_217 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8380.9717, 2956.7144, -4.6253204e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_217 = _this; - _this setDir 313; - _this setPos [8380.9717, 2956.7144, -4.6253204e-005]; -}; - -_vehicle_218 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8423.9414, 2990.884, -2.6226044e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_218 = _this; - _this setDir 262; - _this setPos [8423.9414, 2990.884, -2.6226044e-005]; -}; - -_vehicle_219 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8409.1504, 2996.8979, 8.5353851e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_219 = _this; - _this setDir 201; - _this setPos [8409.1504, 2996.8979, 8.5353851e-005]; -}; - -_vehicle_220 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8413.1396, 2986.2559, 0.00010299683]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_220 = _this; - _this setDir 135; - _this setPos [8413.1396, 2986.2559, 0.00010299683]; -}; - -_vehicle_224 = objNull; -if (true) then -{ - _this = "MAP_mud_1_1000" createVehicle [8370.7031, 2965.468, 4.8160553e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_224 = _this; - _this setDir 40.217995; - _this setPos [8370.7031, 2965.468, 4.8160553e-005]; -}; - -_vehicle_225 = objNull; -if (true) then -{ - _this = "MAP_mud_1_1000" createVehicle [8368.3105, 2962.6553, 1.0967255e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_225 = _this; - _this setDir 40.427708; - _this setPos [8368.3105, 2962.6553, 1.0967255e-005]; -}; - -_vehicle_226 = objNull; -if (true) then -{ - _this = "MAP_mud_1_1000" createVehicle [8366.2031, 2959.9905, 6.6757202e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_226 = _this; - _this setDir 39.187256; - _this setPos [8366.2031, 2959.9905, 6.6757202e-006]; -}; - -_vehicle_227 = objNull; -if (true) then -{ - _this = "MAP_mud_1_1000" createVehicle [8364.0918, 2957.2773, 3.0994415e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_227 = _this; - _this setDir -142.82565; - _this setPos [8364.0918, 2957.2773, 3.0994415e-005]; -}; - -_vehicle_229 = objNull; -if (true) then -{ - _this = "MAP_mud_1_1000" createVehicle [8381.2871, 2977.698, 0.00010204315]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_229 = _this; - _this setDir 41.777649; - _this setPos [8381.2871, 2977.698, 0.00010204315]; -}; - -_vehicle_230 = objNull; -if (true) then -{ - _this = "MAP_mud_1_1000" createVehicle [8388.7539, 2986.158, 1.8119812e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_230 = _this; - _this setDir 40.972614; - _this setPos [8388.7539, 2986.158, 1.8119812e-005]; -}; - -_vehicle_231 = objNull; -if (true) then -{ - _this = "MAP_mud_1_1000" createVehicle [8397.0215, 2995.2275, -9.5367432e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_231 = _this; - _this setDir 222.24431; - _this setPos [8397.0215, 2995.2275, -9.5367432e-006]; -}; - -_vehicle_232 = objNull; -if (true) then -{ - _this = "UralWreck" createVehicle [8364.8926, 2958.3679, 2.2888184e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_232 = _this; - _this setDir 206.49825; - _this setPos [8364.8926, 2958.3679, 2.2888184e-005]; -}; - -_vehicle_234 = objNull; -if (true) then -{ - _this = "MAP_Bridge_wood_25" createVehicle [8417.5791, 3014.366, 8.0108643e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_234 = _this; - _this setDir 52.510834; - _this setPos [8417.5791, 3014.366, 8.0108643e-005]; -}; - -_vehicle_237 = objNull; -if (true) then -{ - _this = "MAP_misc_amplion_conc" createVehicle [8435.1533, 3011.5964, -4.7683716e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_237 = _this; - _this setDir -63.011841; - _this setPos [8435.1533, 3011.5964, -4.7683716e-006]; -}; - -_vehicle_240 = objNull; -if (true) then -{ - _this = "MAP_water_tank" createVehicle [8421.3223, 3032.6646, 3.4332275e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_240 = _this; - _this setDir 51.929375; - _this setPos [8421.3223, 3032.6646, 3.4332275e-005]; -}; - -_vehicle_242 = objNull; -if (true) then -{ - _this = "Land_Misc_Garb_Heap_EP1" createVehicle [8400.2666, 3007.6792, -1.9073486e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_242 = _this; - _this setPos [8400.2666, 3007.6792, -1.9073486e-006]; -}; - -_vehicle_243 = objNull; -if (true) then -{ - _this = "Paleta2" createVehicle [8408.5156, 3004.8831, 5.1498413e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_243 = _this; - _this setDir 40.142441; - _this setPos [8408.5156, 3004.8831, 5.1498413e-005]; -}; - -_vehicle_244 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [8427.4453, 3014.2915, 1.9073486e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_244 = _this; - _this setDir -46.225819; - _this setPos [8427.4453, 3014.2915, 1.9073486e-005]; -}; - -_vehicle_245 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [8418.6025, 3025.5176, 2.0980835e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_245 = _this; - _this setDir -36.269791; - _this setPos [8418.6025, 3025.5176, 2.0980835e-005]; -}; - -_vehicle_246 = objNull; -if (true) then -{ - _this = "Land_Ind_Timbers" createVehicle [8401.165, 3001.8022, 4.7683716e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_246 = _this; - _this setDir -20.193249; - _this setPos [8401.165, 3001.8022, 4.7683716e-005]; -}; - -_vehicle_247 = objNull; -if (true) then -{ - _this = "Land_Ind_Timbers" createVehicle [8415.9873, 3002.2751, 9.5367432e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_247 = _this; - _this setDir -52.854927; - _this setPos [8415.9873, 3002.2751, 9.5367432e-006]; -}; - -_vehicle_248 = objNull; -if (true) then -{ - _this = "Land_Ind_Timbers" createVehicle [8424.749, 3029.0032, 5.1498413e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_248 = _this; - _this setDir -7.4567342; - _this setPos [8424.749, 3029.0032, 5.1498413e-005]; -}; - -_vehicle_249 = objNull; -if (true) then -{ - _this = "Land_Ind_Timbers" createVehicle [8389.2402, 2995.793, 6.3896179e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_249 = _this; - _this setDir 46.922226; - _this setPos [8389.2402, 2995.793, 6.3896179e-005]; -}; - -_vehicle_250 = objNull; -if (true) then -{ - _this = "Land_Ind_Timbers" createVehicle [8384.1514, 2996.1873, 5.1498413e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_250 = _this; - _this setDir 46.041183; - _this setPos [8384.1514, 2996.1873, 5.1498413e-005]; -}; - -_vehicle_251 = objNull; -if (true) then -{ - _this = "Land_Ind_Timbers" createVehicle [8326.5742, 2946.2173, 1.5735626e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_251 = _this; - _this setPos [8326.5742, 2946.2173, 1.5735626e-005]; -}; - -_vehicle_252 = objNull; -if (true) then -{ - _this = "Land_Ind_Timbers" createVehicle [8329.6514, 2945.1521, 6.4849854e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_252 = _this; - _this setPos [8329.6514, 2945.1521, 6.4849854e-005]; -}; - -_vehicle_253 = objNull; -if (true) then -{ - _this = "Land_Ind_Timbers" createVehicle [8362.4014, 2962.5095, 5.7220459e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_253 = _this; - _this setDir 24.539591; - _this setPos [8362.4014, 2962.5095, 5.7220459e-006]; -}; - -_vehicle_254 = objNull; -if (true) then -{ - _this = "Land_Ind_Timbers" createVehicle [8383.4258, 2967.2837, -2.8610229e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_254 = _this; - _this setDir 94.059364; - _this setPos [8383.4258, 2967.2837, -2.8610229e-006]; -}; - -_vehicle_255 = objNull; -if (true) then -{ - _this = "Land_Ind_Timbers" createVehicle [8416.9551, 3027.416, 1.0228133]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_255 = _this; - _this setDir -29.920446; - _this setPos [8416.9551, 3027.416, 1.0228133]; -}; - -_vehicle_256 = objNull; -if (true) then -{ - _this = "hiluxWreck" createVehicle [8401.8008, 3018.0676, 4.9114227e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_256 = _this; - _this setDir 125.64024; - _this setPos [8401.8008, 3018.0676, 4.9114227e-005]; -}; - -_vehicle_257 = objNull; -if (true) then -{ - _this = "Rubbish5" createVehicle [8378.0508, 2980.5146, 4.9591064e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_257 = _this; - _this setDir 113.91769; - _this setPos [8378.0508, 2980.5146, 4.9591064e-005]; -}; - -_vehicle_258 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8417.084, 2993.4719, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_258 = _this; - _this setDir 288; - _this setPos [8417.084, 2993.4719, -3.0517578e-005]; -}; - -_vehicle_260 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8427.498, 2984.3269, 9.5367432e-007]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_260 = _this; - _this setDir 3; - _this setPos [8427.498, 2984.3269, 9.5367432e-007]; -}; - -_vehicle_261 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8437.1299, 2987.5686]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_261 = _this; - _this setDir 176; - _this setPos [8437.1299, 2987.5686]; -}; - -_vehicle_262 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8456.7568, 2998.8474, 5.3405762e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_262 = _this; - _this setDir 209; - _this setPos [8456.7568, 2998.8474, 5.3405762e-005]; -}; - -_vehicle_263 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8436.2773, 3035.072, 2.2888184e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_263 = _this; - _this setDir 1; - _this setPos [8436.2773, 3035.072, 2.2888184e-005]; -}; - -_vehicle_264 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8446.9883, 3008.3667, -2.2888184e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_264 = _this; - _this setDir 48; - _this setPos [8446.9883, 3008.3667, -2.2888184e-005]; -}; - -_vehicle_265 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8452.5615, 3004.6616, 0.00011444092]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_265 = _this; - _this setDir 331; - _this setPos [8452.5615, 3004.6616, 0.00011444092]; -}; - -_vehicle_266 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8454.0234, 3012.1646, 2.4795532e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_266 = _this; - _this setDir 287; - _this setPos [8454.0234, 3012.1646, 2.4795532e-005]; -}; - -_vehicle_267 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8442.9961, 3015.2117, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_267 = _this; - _this setDir 207; - _this setPos [8442.9961, 3015.2117, 6.1035156e-005]; -}; - -_vehicle_268 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8450.6543, 3017.989, 5.1021576e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_268 = _this; - _this setDir 61; - _this setPos [8450.6543, 3017.989, 5.1021576e-005]; -}; - -_vehicle_269 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8441.0146, 3023.2188, 7.6293945e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_269 = _this; - _this setDir 263; - _this setPos [8441.0146, 3023.2188, 7.6293945e-006]; -}; - -_vehicle_270 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8448.0107, 3025.5442, -2.0503998e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_270 = _this; - _this setDir 334; - _this setPos [8448.0107, 3025.5442, -2.0503998e-005]; -}; - -_vehicle_271 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8433.2979, 3026.9541, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_271 = _this; - _this setDir 66; - _this setPos [8433.2979, 3026.9541, 3.0517578e-005]; -}; - -_vehicle_272 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8441.0244, 3029.4443, 7.6293945e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_272 = _this; - _this setDir 2; - _this setPos [8441.0244, 3029.4443, 7.6293945e-006]; -}; - -_vehicle_273 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8430.1992, 3033.8435, 6.4849854e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_273 = _this; - _this setDir 2; - _this setPos [8430.1992, 3033.8435, 6.4849854e-005]; -}; - -_vehicle_274 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8419.1426, 3059.0906, -1.1444092e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_274 = _this; - _this setDir 119; - _this setPos [8419.1426, 3059.0906, -1.1444092e-005]; -}; - -_vehicle_275 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8424.625, 3043.1777, 6.4849854e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_275 = _this; - _this setDir 81; - _this setPos [8424.625, 3043.1777, 6.4849854e-005]; -}; - -_vehicle_276 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8417.5146, 3051.2515, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_276 = _this; - _this setDir 151; - _this setPos [8417.5146, 3051.2515, 1.5258789e-005]; -}; - -_vehicle_277 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8410.8203, 3059.9736]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_277 = _this; - _this setDir 118; - _this setPos [8410.8203, 3059.9736]; -}; - -_vehicle_278 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8432.2041, 3040.6638, 8.392334e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_278 = _this; - _this setDir 44; - _this setPos [8432.2041, 3040.6638, 8.392334e-005]; -}; - -_vehicle_279 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8426.5137, 3049.4243, -4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_279 = _this; - _this setDir 282; - _this setPos [8426.5137, 3049.4243, -4.5776367e-005]; -}; - -_vehicle_280 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8413.7217, 3066.7048, 0.00011825562]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_280 = _this; - _this setDir 10; - _this setPos [8413.7217, 3066.7048, 0.00011825562]; -}; - -_vehicle_281 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8406.4219, 3065.9163, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_281 = _this; - _this setDir 146; - _this setPos [8406.4219, 3065.9163, 3.0517578e-005]; -}; - -_vehicle_282 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8408.5361, 3072.5942, 9.5367432e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_282 = _this; - _this setDir 288; - _this setPos [8408.5361, 3072.5942, 9.5367432e-006]; -}; - -_vehicle_283 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8400.2539, 3076.9885, 2.7179718e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_283 = _this; - _this setDir 55; - _this setPos [8400.2539, 3076.9885, 2.7179718e-005]; -}; - -_vehicle_284 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8391.3232, 3084.3982, -4.2915344e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_284 = _this; - _this setDir 10; - _this setPos [8391.3232, 3084.3982, -4.2915344e-005]; -}; - -_vehicle_285 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8383.3066, 3098.0303, 8.2969666e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_285 = _this; - _this setDir 288; - _this setPos [8383.3066, 3098.0303, 8.2969666e-005]; -}; - -_vehicle_286 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8399.1299, 3083.8225, 3.528595e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_286 = _this; - _this setDir 281; - _this setPos [8399.1299, 3083.8225, 3.528595e-005]; -}; - -_vehicle_287 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8406.8311, 3080.1453, 4.196167e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_287 = _this; - _this setDir 340; - _this setPos [8406.8311, 3080.1453, 4.196167e-005]; -}; - -_vehicle_288 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8412.2031, 3077.0642, 6.9141388e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_288 = _this; - _this setDir 18; - _this setPos [8412.2031, 3077.0642, 6.9141388e-005]; -}; - -_vehicle_289 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8417.9033, 3072.4709, 7.6770782e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_289 = _this; - _this setDir 33; - _this setPos [8417.9033, 3072.4709, 7.6770782e-005]; -}; - -_vehicle_290 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8419.8535, 3065.4844, 3.4809113e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_290 = _this; - _this setDir 256; - _this setPos [8419.8535, 3065.4844, 3.4809113e-005]; -}; - -_vehicle_291 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8424.0869, 3055.2808, 7.8201294e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_291 = _this; - _this setDir 58; - _this setPos [8424.0869, 3055.2808, 7.8201294e-005]; -}; - -_vehicle_292 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8432.6006, 3051.8193, 0.0001335144]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_292 = _this; - _this setDir 199; - _this setPos [8432.6006, 3051.8193, 0.0001335144]; -}; - -_vehicle_293 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8436.4619, 3044.8909, 4.7683716e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_293 = _this; - _this setDir 267; - _this setPos [8436.4619, 3044.8909, 4.7683716e-005]; -}; - -_vehicle_294 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8365.5781, 3029.8196, -3.528595e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_294 = _this; - _this setDir 248; - _this setPos [8365.5781, 3029.8196, -3.528595e-005]; -}; - -_vehicle_295 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8357.7012, 3045.5706, 0.00010538101]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_295 = _this; - _this setDir 238; - _this setPos [8357.7012, 3045.5706, 0.00010538101]; -}; - -_vehicle_296 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8456.2334, 3026.4829, 8.8691711e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_296 = _this; - _this setDir 179; - _this setPos [8456.2334, 3026.4829, 8.8691711e-005]; -}; - -_vehicle_297 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8440.8027, 3034.7241, 5.9604645e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_297 = _this; - _this setDir 179; - _this setPos [8440.8027, 3034.7241, 5.9604645e-005]; -}; - -_vehicle_298 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8423.6309, 3061.4885, -1.0490417e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_298 = _this; - _this setDir 260; - _this setPos [8423.6309, 3061.4885, -1.0490417e-005]; -}; - -_vehicle_299 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8443.1475, 3069.2668, 2.0980835e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_299 = _this; - _this setDir 339; - _this setPos [8443.1475, 3069.2668, 2.0980835e-005]; -}; - -_vehicle_300 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8455.7139, 3054.2495, -5.0067902e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_300 = _this; - _this setDir 114; - _this setPos [8455.7139, 3054.2495, -5.0067902e-005]; -}; - -_vehicle_301 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8393.4199, 3090.4524, 5.3882599e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_301 = _this; - _this setDir 26; - _this setPos [8393.4199, 3090.4524, 5.3882599e-005]; -}; - -_vehicle_302 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8429.4688, 3077.0176, 5.9127808e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_302 = _this; - _this setDir 23; - _this setPos [8429.4688, 3077.0176, 5.9127808e-005]; -}; - -_vehicle_303 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8427.0361, 3063.1487, 3.3378601e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_303 = _this; - _this setDir 64; - _this setPos [8427.0361, 3063.1487, 3.3378601e-005]; -}; - -_vehicle_304 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8425.3262, 3072.4617, 8.5830688e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_304 = _this; - _this setDir 133; - _this setPos [8425.3262, 3072.4617, 8.5830688e-005]; -}; - -_vehicle_305 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8418.6943, 3078.0684, 6.9141388e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_305 = _this; - _this setDir 161; - _this setPos [8418.6943, 3078.0684, 6.9141388e-005]; -}; - -_vehicle_306 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8435.8311, 3061.2158, 0.00018978119]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_306 = _this; - _this setDir 82; - _this setPos [8435.8311, 3061.2158, 0.00018978119]; -}; - -_vehicle_307 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8434.9258, 3067.2559, 4.529953e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_307 = _this; - _this setDir 316; - _this setPos [8434.9258, 3067.2559, 4.529953e-005]; -}; - -_vehicle_308 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8436.8711, 3072.6721, 2.7656555e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_308 = _this; - _this setDir 146; - _this setPos [8436.8711, 3072.6721, 2.7656555e-005]; -}; - -_vehicle_309 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8430.041, 3057.2034, 0.00010204315]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_309 = _this; - _this setDir 36; - _this setPos [8430.041, 3057.2034, 0.00010204315]; -}; - -_vehicle_310 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8444.2383, 3050.7751, 1.0967255e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_310 = _this; - _this setDir 323; - _this setPos [8444.2383, 3050.7751, 1.0967255e-005]; -}; - -_vehicle_311 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8438.6426, 3054.5854, 0.00018692017]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_311 = _this; - _this setDir 250; - _this setPos [8438.6426, 3054.5854, 0.00018692017]; -}; - -_vehicle_312 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8443.9072, 3059.0181, 2.7179718e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_312 = _this; - _this setDir 273; - _this setPos [8443.9072, 3059.0181, 2.7179718e-005]; -}; - -_vehicle_313 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8440.0342, 3040.0193, 0.00021648407]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_313 = _this; - _this setDir 312; - _this setPos [8440.0342, 3040.0193, 0.00021648407]; -}; - -_vehicle_314 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8446.4463, 3033.7573, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_314 = _this; - _this setDir 345; - _this setPos [8446.4463, 3033.7573, 9.1552734e-005]; -}; - -_vehicle_315 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8447.6875, 3042.0986, 8.4877014e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_315 = _this; - _this setDir 57; - _this setPos [8447.6875, 3042.0986, 8.4877014e-005]; -}; - -_vehicle_316 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8386.6631, 3027.2332, 3.8146973e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_316 = _this; - _this setDir 87; - _this setPos [8386.6631, 3027.2332, 3.8146973e-005]; -}; - -_vehicle_317 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8422.7158, 3095.7778, -7.1525574e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_317 = _this; - _this setDir 147; - _this setPos [8422.7158, 3095.7778, -7.1525574e-006]; -}; - -_vehicle_318 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8419.2871, 3087.8433, -5.9127808e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_318 = _this; - _this setDir 135; - _this setPos [8419.2871, 3087.8433, -5.9127808e-005]; -}; - -_vehicle_319 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8412.166, 3089.3064, 0.00016021729]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_319 = _this; - _this setDir 144; - _this setPos [8412.166, 3089.3064, 0.00016021729]; -}; - -_vehicle_320 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8412.5156, 3100.55, 9.5844269e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_320 = _this; - _this setDir 355; - _this setPos [8412.5156, 3100.55, 9.5844269e-005]; -}; - -_vehicle_321 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8406.8047, 3094.6409, 8.0108643e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_321 = _this; - _this setDir 120; - _this setPos [8406.8047, 3094.6409, 8.0108643e-005]; -}; - -_vehicle_322 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8429.9658, 3086.6838, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_322 = _this; - _this setDir 249; - _this setPos [8429.9658, 3086.6838, 0.00012207031]; -}; - -_vehicle_323 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8440.6387, 3083.418, -3.9577484e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_323 = _this; - _this setDir 71; - _this setPos [8440.6387, 3083.418, -3.9577484e-005]; -}; - -_vehicle_324 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8452.0293, 3061.7297, 0.00011873245]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_324 = _this; - _this setDir 265; - _this setPos [8452.0293, 3061.7297, 0.00011873245]; -}; - -_vehicle_325 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8455.0283, 3047.6245, 4.1007996e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_325 = _this; - _this setDir 198; - _this setPos [8455.0283, 3047.6245, 4.1007996e-005]; -}; - -_vehicle_326 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8460.9795, 3037.2439, 9.059906e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_326 = _this; - _this setDir 119; - _this setPos [8460.9795, 3037.2439, 9.059906e-006]; -}; - -_vehicle_327 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8460.9971, 3015.7375, 1.9550323e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_327 = _this; - _this setDir 284; - _this setPos [8460.9971, 3015.7375, 1.9550323e-005]; -}; - -_vehicle_328 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8469.1123, 3066.8022, -3.1471252e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_328 = _this; - _this setDir 95; - _this setPos [8469.1123, 3066.8022, -3.1471252e-005]; -}; - -_vehicle_329 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8463.2588, 3084.8928, -3.2424927e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_329 = _this; - _this setDir 145; - _this setPos [8463.2588, 3084.8928, -3.2424927e-005]; -}; - -_vehicle_330 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8488.3633, 3060.9043, 9.059906e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_330 = _this; - _this setDir 353; - _this setPos [8488.3633, 3060.9043, 9.059906e-005]; -}; - -_vehicle_331 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [8316.9961, 3054.3247, -9.5367432e-007]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_331 = _this; - _this setDir -59.871033; - _this setPos [8316.9961, 3054.3247, -9.5367432e-007]; -}; - -_vehicle_332 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [8309.0459, 3053.2366, 1.5735626e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_332 = _this; - _this setDir 109.07998; - _this setPos [8309.0459, 3053.2366, 1.5735626e-005]; -}; - -_vehicle_333 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [8347.3594, 3073.9495, 5.531311e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_333 = _this; - _this setPos [8347.3594, 3073.9495, 5.531311e-005]; -}; - -_vehicle_334 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [8332.7568, 3073.3149, 0.00013208389]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_334 = _this; - _this setDir -87.67424; - _this setPos [8332.7568, 3073.3149, 0.00013208389]; -}; - -_vehicle_335 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree1" createVehicle [8334.5889, 3063.1741, 1.8596649e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_335 = _this; - _this setPos [8334.5889, 3063.1741, 1.8596649e-005]; -}; - -_vehicle_336 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [8341.8848, 3068.8845, 1.9550323e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_336 = _this; - _this setPos [8341.8848, 3068.8845, 1.9550323e-005]; -}; - -_vehicle_337 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [8340.3555, 3061.8494, -1.6212463e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_337 = _this; - _this setPos [8340.3555, 3061.8494, -1.6212463e-005]; -}; - -_vehicle_338 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [8323.4219, 3057.5264, -9.4413757e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_338 = _this; - _this setPos [8323.4219, 3057.5264, -9.4413757e-005]; -}; - -_vehicle_339 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [8304.6895, 3052.3745, -1.3828278e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_339 = _this; - _this setPos [8304.6895, 3052.3745, -1.3828278e-005]; -}; - -_vehicle_342 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenSpruce" createVehicle [8325.7637, 3062.7468, 3.6716461e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_342 = _this; - _this setDir -61.213089; - _this setPos [8325.7637, 3062.7468, 3.6716461e-005]; -}; - -_vehicle_343 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenSpruce" createVehicle [8337.4092, 3078.6479, 3.8146973e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_343 = _this; - _this setDir 62.961388; - _this setPos [8337.4092, 3078.6479, 3.8146973e-006]; -}; - -_vehicle_344 = objNull; -if (true) then -{ - _this = "MAP_Misc_trunk_water" createVehicle [8318.9414, 3062.6328, -4.7683716e-007]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_344 = _this; - _this setPos [8318.9414, 3062.6328, -4.7683716e-007]; -}; - -_vehicle_345 = objNull; -if (true) then -{ - _this = "MAP_Misc_trunk_water" createVehicle [8353.7295, 3073.917, 7.7724457e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_345 = _this; - _this setPos [8353.7295, 3073.917, 7.7724457e-005]; -}; - -_vehicle_346 = objNull; -if (true) then -{ - _this = "MAP_Misc_trunk_water" createVehicle [8396.8096, 3097.7349, -0.00012350082]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_346 = _this; - _this setPos [8396.8096, 3097.7349, -0.00012350082]; -}; - -_vehicle_347 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8379.2881, 2943.2876, 5.9604645e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_347 = _this; - _this setDir 141; - _this setPos [8379.2881, 2943.2876, 5.9604645e-005]; -}; - -_vehicle_348 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8402.6006, 2963.0427, 1.4305115e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_348 = _this; - _this setDir 352; - _this setPos [8402.6006, 2963.0427, 1.4305115e-006]; -}; - -_vehicle_349 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8408.7686, 2968.7222, -6.6757202e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_349 = _this; - _this setDir 200; - _this setPos [8408.7686, 2968.7222, -6.6757202e-006]; -}; - -_vehicle_350 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8412.8701, 2974.814, 3.8146973e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_350 = _this; - _this setDir 277; - _this setPos [8412.8701, 2974.814, 3.8146973e-005]; -}; - -_vehicle_351 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8419.6445, 2984.4836, -5.865097e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_351 = _this; - _this setDir 118; - _this setPos [8419.6445, 2984.4836, -5.865097e-005]; -}; - -_vehicle_352 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8418.1465, 2967.4158, 5.1498413e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_352 = _this; - _this setDir 325; - _this setPos [8418.1465, 2967.4158, 5.1498413e-005]; -}; - -_vehicle_353 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8423.1826, 2975.532, 7.8678131e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_353 = _this; - _this setDir 290; - _this setPos [8423.1826, 2975.532, 7.8678131e-005]; -}; - -_vehicle_354 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8434.3164, 2981.2061, 1.1444092e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_354 = _this; - _this setDir 350; - _this setPos [8434.3164, 2981.2061, 1.1444092e-005]; -}; - -_vehicle_355 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8434.2383, 2973.7041, 5.6743622e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_355 = _this; - _this setDir 61; - _this setPos [8434.2383, 2973.7041, 5.6743622e-005]; -}; - -_vehicle_356 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8462.2373, 2993.4438, 1.9073486e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_356 = _this; - _this setDir 182; - _this setPos [8462.2373, 2993.4438, 1.9073486e-005]; -}; - -_vehicle_357 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8468.6104, 3002.999, 0.00012254715]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_357 = _this; - _this setDir 86; - _this setPos [8468.6104, 3002.999, 0.00012254715]; -}; - -_vehicle_358 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8474.6387, 3015.1104, -1.1444092e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_358 = _this; - _this setDir 172; - _this setPos [8474.6387, 3015.1104, -1.1444092e-005]; -}; - -_vehicle_359 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8492.4893, 3023.271, -4.2915344e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_359 = _this; - _this setDir 140; - _this setPos [8492.4893, 3023.271, -4.2915344e-005]; -}; - -_vehicle_360 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8459.9004, 3006.7383, 1.9073486e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_360 = _this; - _this setDir 53; - _this setPos [8459.9004, 3006.7383, 1.9073486e-005]; -}; - -_vehicle_361 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8482.5283, 3083.5828, 6.1511993e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_361 = _this; - _this setDir 141; - _this setPos [8482.5283, 3083.5828, 6.1511993e-005]; -}; - -_vehicle_362 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8493.5303, 3071.3372, 0.00012874603]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_362 = _this; - _this setDir 101; - _this setPos [8493.5303, 3071.3372, 0.00012874603]; -}; - -_vehicle_363 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8506.0596, 3083.8203, 0.00031280518]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_363 = _this; - _this setDir 121; - _this setPos [8506.0596, 3083.8203, 0.00031280518]; -}; - -_vehicle_364 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8524.1426, 3067.0916, 0.00032711029]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_364 = _this; - _this setDir 44; - _this setPos [8524.1426, 3067.0916, 0.00032711029]; -}; - -_vehicle_365 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [8505.0586, 3062.7087, -8.392334e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_365 = _this; - _this setDir 123; - _this setPos [8505.0586, 3062.7087, -8.392334e-005]; -}; - -_vehicle_366 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8359.4141, 2966.259, 4.6730042e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_366 = _this; - _this setDir 239; - _this setPos [8359.4141, 2966.259, 4.6730042e-005]; -}; - -_vehicle_367 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8352.4424, 2955.355, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_367 = _this; - _this setDir 198; - _this setPos [8352.4424, 2955.355, 9.1552734e-005]; -}; - -_vehicle_368 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8357.7129, 2959.4402, -1.9073486e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_368 = _this; - _this setDir 180; - _this setPos [8357.7129, 2959.4402, -1.9073486e-006]; -}; - -_vehicle_369 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8365.9404, 2969.804, 3.8146973e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_369 = _this; - _this setDir 334; - _this setPos [8365.9404, 2969.804, 3.8146973e-006]; -}; - -_vehicle_370 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8377.6309, 2986.512, 1.6212463e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_370 = _this; - _this setDir 330; - _this setPos [8377.6309, 2986.512, 1.6212463e-005]; -}; - -_vehicle_371 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8388.0713, 3001.0593, -1.2397766e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_371 = _this; - _this setDir 280; - _this setPos [8388.0713, 3001.0593, -1.2397766e-005]; -}; - -_vehicle_372 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [8393.7432, 3004.4409, 2.3841858e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_372 = _this; - _this setDir 108; - _this setPos [8393.7432, 3004.4409, 2.3841858e-006]; -}; - -_vehicle_373 = objNull; -if (true) then -{ - _this = "HMMWVWreck" createVehicle [8308.5449, 3040.8059, 2.4318695e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_373 = _this; - _this setDir -30.494673; - _this setPos [8308.5449, 3040.8059, 2.4318695e-005]; -}; - -_vehicle_374 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [8306.4453, 3040.2815, -6.0081482e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_374 = _this; - _this setPos [8306.4453, 3040.2815, -6.0081482e-005]; -}; - -_vehicle_375 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [8312.5654, 3036.915, -5.0544739e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_375 = _this; - _this setDir 72.53389; - _this setPos [8312.5654, 3036.915, -5.0544739e-005]; -}; - -_vehicle_376 = objNull; -if (true) then -{ - _this = "Body1" createVehicle [8306.9395, 3036.6416, -3.3378601e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_376 = _this; - _this setPos [8306.9395, 3036.6416, -3.3378601e-006]; -}; - -_vehicle_377 = objNull; -if (true) then -{ - _this = "Body1" createVehicle [8300.5029, 3044.5349, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_377 = _this; - _this setPos [8300.5029, 3044.5349, 0]; -}; - -_vehicle_378 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [8295.9268, 3044.8689, 1.9073486e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_378 = _this; - _this setDir -132.61189; - _this setPos [8295.9268, 3044.8689, 1.9073486e-006]; -}; - -_vehicle_397 = objNull; -if (true) then -{ - _this = "BRDMWreck" createVehicle [8295.1846, 3038.5232, 2.3365021e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_397 = _this; - _this setDir -69.078674; - _this setPos [8295.1846, 3038.5232, 2.3365021e-005]; -}; - -_vehicle_399 = objNull; -if (true) then -{ - _this = "Land_Ind_Workshop01_01" createVehicle [8398.0586, 3012.748, 1.2397766e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_399 = _this; - _this setDir 98.278824; - _this setPos [8398.0586, 3012.748, 1.2397766e-005]; -}; -}; +[[ + ["MAP_t_picea2s",[8374.1084,2992.9797,-1.3828278e-005],27], + ["MAP_t_picea2s",[8367.4912,2999.4746,1.4305115e-006],115], + ["MAP_t_picea2s",[8375.5654,3002.9851,3.7193298e-005],104], + ["MAP_t_picea3f",[8368.1514,3006.0754,-1.3828278e-005],182], + ["MAP_t_picea2s",[8360.3105,3007.457,-1.1920929e-005],341], + ["MAP_t_picea2s",[8324.2432,3006.7075,4.1484833e-005],256], + ["MAP_t_picea2s",[8335.7236,2997.5403,9.5844269e-005],92], + ["MAP_t_picea2s",[8342.4678,2991.863,0.00016832352],205], + ["MAP_t_picea2s",[8349.3223,2984.667,5.0544739e-005],213], + ["MAP_t_picea3f",[8329.9922,3000.8005,3.0994415e-005],127], + ["MAP_t_picea3f",[8344.3652,3026.6082,5.2452087e-006],255], + ["MAP_t_picea2s",[8325.8652,2998.8228,-0.00013780594],345], + ["MAP_t_picea2s",[8349.2969,3014.9563,-9.5367432e-006],194], + ["MAP_t_picea2s",[8356.1709,3013.1833,4.7683716e-005],335], + ["MAP_t_picea2s",[8365.8193,3010.967,-2.2411346e-005],41], + ["MAP_t_picea2s",[8372.5146,3010.2739,-1.001358e-005],287], + ["MAP_t_picea2s",[8339.6162,3024.0161,-5.2452087e-006],38], + ["MAP_t_picea2s",[8349.6475,3022.1182,2.5272369e-005],92], + ["MAP_t_picea3f",[8354.3623,3019.4683,-2.6226044e-005],80], + ["MAP_t_picea2s",[8334.9004,2990.9661,4.7683716e-006],86], + ["MAP_t_picea1s",[8330.7646,2995.2581,5.2452087e-006],290], + ["MAP_t_picea1s",[8319.6641,3010.3237,3.6239624e-005],143], + ["MAP_t_picea2s",[8342.0684,2985.0317,-7.8678131e-005],291], + ["MAP_t_picea2s",[8335.4746,2983.8818,1.9550323e-005],307], + ["MAP_t_picea2s",[8354.9092,2979.2861,9.059906e-006],281], + ["MAP_t_picea2s",[8345.6475,2977.5107,-1.9073486e-005],47], + ["MAP_t_picea2s",[8337.1436,2976.5764,3.3855438e-005],256], + ["MAP_t_picea2s",[8331.9688,3028.6682,5.3882599e-005],189], + ["MAP_t_picea2s",[8326.0078,3034.9595,-8.5830688e-006],219], + ["MAP_t_picea2s",[8320.1416,3038.6501,-0.00011301041],27], + ["MAP_t_picea2s",[8311.3613,3018.5193,-5.9127808e-005],209], + ["MAP_t_picea2s",[8304.54,3023.0964,4.9114227e-005],312], + ["MAP_t_picea2s",[8315.1924,3011.3325,5.0544739e-005],352], + ["MAP_t_picea2s",[8318.0791,3004.4722,4.5776367e-005],129], + ["MAP_t_picea2s",[8308.5615,3012.7195,6.6757202e-005],8], + ["MAP_t_picea2s",[8301.3828,3017.0095,1.5258789e-005],233], + ["MAP_t_picea2s",[8332.458,3036.3906,0.00010156631],34], + ["MAP_t_picea2s",[8339.2764,3030.8428,1.5735626e-005],252], + ["MAP_t_picea2s",[8347.2959,3028.9395,2.2888184e-005],17], + ["MAP_t_picea2s",[8343.8115,3018.7363,5.7697296e-005],251], + ["MAP_t_picea2s",[8357.4756,3019.6348,3.194809e-005],279], + ["MAP_t_picea2s",[8361.1982,3002.3828,9.5367432e-007],79], + ["MAP_t_picea2s",[8380.084,2998.1199,3.9577484e-005],1], + ["MAP_t_picea2s",[8327.6084,2990.6194,4.3392181e-005],98], + ["MAP_t_picea2s",[8320.4727,2996.5691,4.7683716e-005],227], + ["MAP_t_picea2s",[8311.2236,3005.0393,-4.7683716e-006],148], + ["MAP_t_picea2s",[8290.1934,3036.1836,1.335144e-005],145], + ["MAP_t_picea2s",[8295.7578,3029.7461,5.2452087e-006],324], + ["MAP_t_picea2s",[8289.0322,3028.5151,1.6689301e-005],286], + ["MAP_t_picea2s",[8302.0781,3027.2917,2.2411346e-005],16], + ["MAP_t_picea2s",[8296.7686,3023.0215,0.00012397766],127], + ["MAP_t_picea2s",[8302.3252,3009.8862,0.00016593933],49], + ["MAP_t_picea2s",[8295.3916,3015.5476,9.5367432e-006],16], + ["MAP_t_picea2s",[8289.8447,3020.5537,0.00014352798],341], + ["MAP_t_picea2s",[8312.9014,2998.6064,5.1498413e-005],157], + ["MAP_t_picea2s",[8320.5898,2990.0151,5.0544739e-005],274], + ["MAP_t_picea2s",[8327.5713,2984.302,-2.1457672e-005],128], + ["MAP_t_picea2s",[8343.2061,2970.5376,7.0095062e-005],342], + ["MAP_t_picea2s",[8351.3672,2972.5308,3.4332275e-005],107], + ["MAP_t_picea2s",[8360.6699,2974.8535,7.6293945e-006],133], + ["MAP_t_picea2s",[8313.5166,3042.1011,2.5272369e-005],61], + ["MAP_t_picea2s",[8319.6191,3044.9377,-4.0054321e-005],151], + ["MAP_t_picea2s",[8363.4619,3015.9182,4.7683716e-006],116], + ["MAP_t_picea3f",[8353.6533,3026.426,6.7710876e-005],136], + ["MAP_t_picea3f",[8325.6875,3040.1899,1.6689301e-005],336], + ["MAP_t_picea3f",[8332.8477,2978.8247,6.3419342e-005],55], + ["MAP_t_picea3f",[8351.9277,3047.147,-5.3405762e-005],16], + ["MAP_t_picea3f",[8387.9004,3031.4431,-1.5735626e-005],311], + ["MAP_t_picea3f",[8335.2236,3055.9009,-4.9591064e-005],258], + ["MAP_t_picea3f",[8358.5244,3062.5132,4.0054321e-005],225], + ["MAP_t_picea3f",[8370.6104,3039.8354,2.0503998e-005],100], + ["MAP_t_picea3f",[8387.2168,3005.4438,1.1920929e-005],297], + ["MAP_t_picea3f",[8376.6631,3056.2424,5.0067902e-005],335], + ["MAP_t_picea3f",[8372.0146,3029.3923,1.0490417e-005],286], + ["MAP_t_picea2s",[8381.874,3006.4099,3.1471252e-005],28], + ["MAP_t_picea2s",[8379.0771,3012.7131,-0.00017309189],257], + ["MAP_t_picea2s",[8369.5684,3016.3491,5.7220459e-006],165], + ["MAP_t_picea2s",[8375.6934,3018.9282,5.5789948e-005],343], + ["MAP_t_picea2s",[8359.1016,3027.2422,9.059906e-006],356], + ["MAP_t_picea2s",[8369.6035,3024.0635,2.2888184e-005],134], + ["MAP_t_picea2s",[8341.2939,3054.1707,-4.2915344e-006],272], + ["MAP_t_picea2s",[8335.3438,3048.0002,8.4400177e-005],142], + ["MAP_t_picea2s",[8335.7705,3040.657,-2.1457672e-005],93], + ["MAP_t_picea2s",[8341.3555,3036.3518,1.3828278e-005],255], + ["MAP_t_picea2s",[8354.3828,3032.3359,4.1484833e-005],252], + ["MAP_t_picea2s",[8348.2881,3035.4565,-2.6226044e-005],296], + ["MAP_t_picea2s",[8341.8643,3046.4958,-2.7179718e-005],316], + ["MAP_t_picea2s",[8344.0537,3041.271,1.8119812e-005],268], + ["MAP_t_picea2s",[8328.7598,3043.6758,9.8228455e-005],83], + ["MAP_t_picea2s",[8328.3105,3050.7827,5.7697296e-005],291], + ["MAP_t_picea2s",[8362.085,3070.0769,0.00011539459],266], + ["MAP_t_picea2s",[8354.7412,3065.4475,6.1511993e-005],318], + ["MAP_t_picea2s",[8347.7207,3060.8008,0.00016069412],37], + ["MAP_t_picea2s",[8347.8643,3052.4048,-7.1525574e-006],252], + ["MAP_t_picea2s",[8353.7354,3057.7947,2.1457672e-005],61], + ["MAP_t_picea2s",[8352.082,3042.2791,-5.2452087e-005],177], + ["MAP_t_picea2s",[8358.2871,3038.5503,2.4795532e-005],102], + ["MAP_t_picea1s",[8363.2881,3023.4106,-7.1525574e-006],283], + ["MAP_t_picea1s",[8363.5068,3055.887,6.4373016e-005],246], + ["MAP_t_picea1s",[8371.2852,3044.207,0.00011253357],63], + ["MAP_t_picea1s",[8393.7471,3017.5837,2.4795532e-005],281], + ["MAP_t_picea1s",[8391.21,3036.2163,-2.3841858e-005],242], + ["MAP_t_picea1s",[8382.9512,3021.5007,-2.7656555e-005],272], + ["MAP_t_picea1s",[8332.3145,2971.6072,9.5367432e-007],132], + ["MAP_t_picea1s",[8348.8174,2966.2979,6.6757202e-005],353], + ["MAP_t_picea1s",[8353.1592,3008.2664,2.0027161e-005],28], + ["MAP_t_picea2s",[8385.333,3047.8713,1.2874603e-005],292], + ["MAP_t_picea2s",[8380.3887,3037.8037,0.00010061264],23], + ["MAP_t_picea2s",[8399.2168,3023.7378,-8.9645386e-005],270], + ["MAP_t_picea2s",[8392.1133,3024.2642,-6.2465668e-005],214], + ["MAP_t_picea2s",[8388.0898,3010.9275,-3.9100647e-005],329], + ["MAP_t_picea2s",[8386.9814,3019.27,7.5340271e-005],292], + ["MAP_t_picea2s",[8378.6494,3026.2344,8.9168549e-005],315], + ["MAP_t_picea2s",[8373.4072,3034.0032,-6.7710876e-005],34], + ["MAP_t_picea2s",[8369.4004,3053.8101,8.5353851e-005],265], + ["MAP_t_picea2s",[8356.7588,3051.1743,0.00012636185],128], + ["MAP_t_picea2s",[8363.8643,3049.407,7.2479248e-005],234], + ["MAP_t_picea2s",[8361.8838,3034.9668,-2.9563904e-005],281], + ["MAP_t_picea2s",[8374.6533,3046.0508,0.00013256073],289], + ["MAP_t_picea2s",[8380.2734,3044.4497,-3.8146973e-006],172], + ["MAP_t_picea2s",[8364.7539,3042.5144,2.2411346e-005],222], + ["MAP_t_picea2s",[8362.1914,3061.9292,4.3869019e-005],53], + ["MAP_t_picea2s",[8371.2676,3060.8711,0.0001616478],50], + ["MAP_t_picea2s",[8379.2402,3053.2058,-1.1444092e-005],351], + ["MAP_t_picea2s",[8382.1729,3031.7893,2.5272369e-005],288], + ["MAP_t_picea2s",[8393.6787,3030.147,0.0001912117],99], + ["MAP_t_picea2s",[8387.1973,3038.4426,-1.2874603e-005],276], + ["MAP_t_picea2s",[8398.0811,3036.6772,3.0517578e-005],294], + ["MAP_t_picea2s",[8393.6035,3043.3064,5.7220459e-005],339], + ["MAP_t_picea2s",[8404.416,3030.3401,0.0001373291],90], + ["MAP_t_picea2s",[8389.6455,2978.394,1.5735626e-005],262], + ["MAP_t_picea2s",[8395.1406,2969.668,3.1471252e-005],308], + ["MAP_t_picea2s",[8396.8701,2983.0527,7.1525574e-006],207], + ["MAP_t_picea2s",[8399.748,2977.9617,-1.0967255e-005],241], + ["MAP_t_picea2s",[8375.2012,2961.0181,-3.1471252e-005],178], + ["MAP_t_picea2s",[8353.458,2965.6736,-4.196167e-005],267], + ["MAP_t_picea2s",[8369.4355,2954.9197,3.6716461e-005],336], + ["MAP_t_picea2s",[8375.4238,2955.2461,4.0531158e-005],166], + ["MAP_t_picea2s",[8384.5664,2950.9524,5.0067902e-005],17], + ["MAP_t_picea2s",[8375.7773,2948.3875,1.2397766e-005],305], + ["MAP_t_picea2s",[8367.1162,2949.5178,2.3841858e-005],25], + ["MAP_t_picea2s",[8369.8916,2943.7825,3.7193298e-005],183], + ["MAP_t_picea2s",[8361.9854,2942.3115,7.0095062e-005],335], + ["MAP_t_picea2s",[8347.9414,2962.5781,0],121], + ["MAP_t_picea2s",[8340.4492,2963.3047,1.5258789e-005],220], + ["MAP_t_picea2s",[8336.4424,2970.5178,2.3841858e-006],294], + ["MAP_t_picea2s",[8303.9775,3002.9829,-1.5258789e-005],20], + ["MAP_t_picea2s",[8295.0889,3008.6887,0],266], + ["MAP_t_picea2s",[8286.6846,3013.9929,6.8664551e-005],35], + ["MAP_t_picea2s",[8289.2109,3006.8022,-4.0054321e-005],78], + ["MAP_t_picea2s",[8285.9736,2999.3464,-5.9127808e-005],24], + ["MAP_t_picea2s",[8296.8291,3003.0767,-0.00010871887],230], + ["MAP_t_picea2s",[8305.9268,2995.6772,-7.2479248e-005],292], + ["MAP_t_picea2s",[8320.918,2983.749,0.00014305115],289], + ["MAP_t_picea3f",[8315.5625,2994.7371,2.3841858e-005],200], + ["MAP_t_picea3f",[8300.2607,2998.0469,4.2915344e-005],113], + ["MAP_t_picea2s",[8292.6846,2992.8042,2.4318695e-005],176], + ["MAP_t_picea2s",[8299.4014,2993.7622,-5.8174133e-005],229], + ["MAP_t_picea2s",[8312.1064,2990.948,7.1048737e-005],170], + ["MAP_t_picea2s",[8314.5352,2982.4656,5.9604645e-005],173], + ["MAP_t_picea2s",[8328.3945,2977.1936,-3.8146973e-006],150], + ["MAP_misc_FallenTree2",[8308.7178,2962.926,-6.1988831e-006],-115.64439], + ["MAP_misc_FallenTree2",[8329.6055,2958.5837,5.7697296e-005],0], + ["MAP_misc_FallenTree2",[8321.1777,2969.3103,3.3855438e-005],-27.713123], + ["MAP_misc_FallenTree2",[8305.1953,2984.0193,4.863739e-005],74.532455], + ["MAP_misc_FallenTree2",[8305.6504,2973.2217,9.5367432e-007],28.343618], + ["MAP_misc_FallenTree2",[8276.8701,2996.4805,2.0980835e-005],0], + ["MAP_misc_FallenTree2",[8287.6826,2985.7219,-1.335144e-005],153.4949], + ["MAP_misc_stub1",[8280.4932,2990.8032,3.862381e-005],0], + ["MAP_misc_stub1",[8284.2773,2980.856,8.72612e-005],0], + ["MAP_misc_stub1",[8285.3379,2987.5627,-1.1920929e-005],0], + ["MAP_misc_stub1",[8294.9336,2985.9783,6.1988831e-006],0], + ["MAP_misc_stub1",[8303.7754,2988.4644,3.2424927e-005],0], + ["MAP_misc_stub1",[8301.6992,2978.2649,-1.5258789e-005],0], + ["MAP_misc_stub1",[8314.9023,2960.688,4.2438507e-005],0], + ["MAP_misc_stub1",[8325.3506,2970.9453,1.9073486e-006],0], + ["MAP_Misc_trunk_torzo",[8287.334,2972.6567,-1.1444092e-005],0], + ["MAP_Misc_trunk_water",[8301.0947,2973.8215,5.4836273e-005],0], + ["MAP_Misc_trunk_water",[8298.1406,2980.2729,6.8187714e-005],0], + ["MAP_Misc_trunk_water",[8280.4492,2978.7996,2.0503998e-005],0], + ["MAP_Misc_trunk_water",[8285.4277,2961.2744,7.5817108e-005],0], + ["MAP_Misc_trunk_water",[8292.7842,2953.9924,5.3405762e-005],0], + ["MAP_Misc_trunk_water",[8324.7568,2957.9919,5.0067902e-005],0], + ["MAP_Misc_trunk_water",[8321.5801,2945.6758,9.5367432e-006],0], + ["MAP_Misc_trunk_water",[8315.1777,2951.6606,2.7179718e-005],0], + ["MAP_Misc_trunk_water",[8294.6133,2939.1448,6.6757202e-006],0], + ["MAP_misc_stub1",[8304.9102,2950.873,1.0490417e-005],0], + ["MAP_misc_stub2",[8293.0889,2963.2114,-1.3828278e-005],0], + ["MAP_misc_stub2",[8310.7803,2945.6826,3.4332275e-005],0], + ["MAP_misc_stub2",[8289.7568,2946.5486,-2.8610229e-005],0], + ["MAP_misc_stub2",[8276.6553,2979.6633,-1.1444092e-005],0], + ["MAP_misc_stub2",[8295.0127,2977.6084,-1.4781952e-005],0], + ["MAP_misc_stub2",[8312.3926,2971.4011,6.6757202e-006],0], + ["MAP_misc_stub2",[8307.585,2932.189,7.7724457e-005],0], + ["MAP_misc_stub2",[8305.8516,2944.5723,2.3365021e-005],0], + ["MAP_misc_stub2",[8335.3369,2955.3474,1.0967255e-005],0], + ["MAP_misc_FallenSpruce",[8282.7041,2954.906,3.5762787e-005],-34.689266], + ["MAP_misc_FallenTree2",[8317.7783,2938.0107,0.00010919571],-230.14758], + ["MAP_misc_FallenTree1",[8302.3525,2951.6304,8.8214874e-005],0], + ["MAP_misc_FallenTree1",[8340.2559,2950.5364,-2.3365021e-005],62.629547], + ["MAP_t_pinusN2s",[8279.958,2944.3484,0.00018405914],147], + ["MAP_t_pinusS2f",[8298.5752,2960.6387,7.8201294e-005],146], + ["MAP_t_pinusN2s",[8309.8828,2952.9185,8.5830688e-006],166], + ["MAP_misc_FallenTree2",[8283.8867,3034.9934,3.0040741e-005],20.516634], + ["MAP_misc_FallenTree2",[8279.9072,3021.4434,-5.7220459e-006],-57.049], + ["MAP_misc_stub2",[8283.1465,3026.7241,-1.1920929e-005],0], + ["MAP_misc_stub2",[8282.0889,3008.4585,1.4305115e-005],0], + ["MAP_t_picea2s",[8401.6953,2990.6226,8.392334e-005],257], + ["MAP_t_picea2s",[8409.0508,2991.2036,8.3446503e-005],31], + ["MAP_t_picea2s",[8401.6572,2969.9194,1.001358e-005],253], + ["MAP_t_picea2s",[8405.6064,2975.8008,3.2901764e-005],142], + ["MAP_t_picea2s",[8380.9717,2956.7144,-4.6253204e-005],313], + ["MAP_t_picea2s",[8423.9414,2990.884,-2.6226044e-005],262], + ["MAP_t_picea2s",[8409.1504,2996.8979,8.5353851e-005],201], + ["MAP_t_picea2s",[8413.1396,2986.2559,0.00010299683],135], + ["MAP_mud_1_1000",[8370.7031,2965.468,4.8160553e-005],40.217995], + ["MAP_mud_1_1000",[8368.3105,2962.6553,1.0967255e-005],40.427708], + ["MAP_mud_1_1000",[8366.2031,2959.9905,6.6757202e-006],39.187256], + ["MAP_mud_1_1000",[8364.0918,2957.2773,3.0994415e-005],-142.82565], + ["MAP_mud_1_1000",[8381.2871,2977.698,0.00010204315],41.777649], + ["MAP_mud_1_1000",[8388.7539,2986.158,1.8119812e-005],40.972614], + ["MAP_mud_1_1000",[8397.0215,2995.2275,-9.5367432e-006],222.24431], + ["UralWreck",[8364.8926,2958.3679,2.2888184e-005],206.49825], + ["MAP_Bridge_wood_25",[8417.5791,3014.366,8.0108643e-005],52.510834], + ["MAP_misc_amplion_conc",[8435.1533,3011.5964,-4.7683716e-006],-63.011841], + ["MAP_water_tank",[8421.3223,3032.6646,3.4332275e-005],51.929375], + ["Land_Misc_Garb_Heap_EP1",[8400.2666,3007.6792,-1.9073486e-006],0], + ["Paleta2",[8408.5156,3004.8831,5.1498413e-005],40.142441], + ["Land_wagon_box",[8427.4453,3014.2915,1.9073486e-005],-46.225819], + ["Land_wagon_flat",[8418.6025,3025.5176,2.0980835e-005],-36.269791], + ["Land_Ind_Timbers",[8401.165,3001.8022,4.7683716e-005],-20.193249], + ["Land_Ind_Timbers",[8415.9873,3002.2751,9.5367432e-006],-52.854927], + ["Land_Ind_Timbers",[8424.749,3029.0032,5.1498413e-005],-7.4567342], + ["Land_Ind_Timbers",[8389.2402,2995.793,6.3896179e-005],46.922226], + ["Land_Ind_Timbers",[8384.1514,2996.1873,5.1498413e-005],46.041183], + ["Land_Ind_Timbers",[8326.5742,2946.2173,1.5735626e-005],0], + ["Land_Ind_Timbers",[8329.6514,2945.1521,6.4849854e-005],0], + ["Land_Ind_Timbers",[8362.4014,2962.5095,5.7220459e-006],24.539591], + ["Land_Ind_Timbers",[8383.4258,2967.2837,-2.8610229e-006],94.059364], + ["Land_Ind_Timbers",[8416.9551,3027.416,1.0228133],-29.920446], + ["hiluxWreck",[8401.8008,3018.0676,4.9114227e-005],125.64024], + ["Rubbish5",[8378.0508,2980.5146,4.9591064e-005],113.91769], + ["MAP_t_picea2s",[8417.084,2993.4719,-3.0517578e-005],288], + ["MAP_t_picea2s",[8427.498,2984.3269,9.5367432e-007],3], + ["MAP_t_picea2s",[8437.1299,2987.5686],176], + ["MAP_t_picea2s",[8456.7568,2998.8474,5.3405762e-005],209], + ["MAP_t_picea2s",[8436.2773,3035.072,2.2888184e-005],1], + ["MAP_t_picea2s",[8446.9883,3008.3667,-2.2888184e-005],48], + ["MAP_t_picea2s",[8452.5615,3004.6616,0.00011444092],331], + ["MAP_t_picea2s",[8454.0234,3012.1646,2.4795532e-005],287], + ["MAP_t_picea2s",[8442.9961,3015.2117,6.1035156e-005],207], + ["MAP_t_picea2s",[8450.6543,3017.989,5.1021576e-005],61], + ["MAP_t_picea2s",[8441.0146,3023.2188,7.6293945e-006],263], + ["MAP_t_picea2s",[8448.0107,3025.5442,-2.0503998e-005],334], + ["MAP_t_picea2s",[8433.2979,3026.9541,3.0517578e-005],66], + ["MAP_t_picea2s",[8441.0244,3029.4443,7.6293945e-006],2], + ["MAP_t_picea2s",[8430.1992,3033.8435,6.4849854e-005],2], + ["MAP_t_picea2s",[8419.1426,3059.0906,-1.1444092e-005],119], + ["MAP_t_picea2s",[8424.625,3043.1777,6.4849854e-005],81], + ["MAP_t_picea2s",[8417.5146,3051.2515,1.5258789e-005],151], + ["MAP_t_picea2s",[8410.8203,3059.9736],118], + ["MAP_t_picea2s",[8432.2041,3040.6638,8.392334e-005],44], + ["MAP_t_picea2s",[8426.5137,3049.4243,-4.5776367e-005],282], + ["MAP_t_picea2s",[8413.7217,3066.7048,0.00011825562],10], + ["MAP_t_picea2s",[8406.4219,3065.9163,3.0517578e-005],146], + ["MAP_t_picea2s",[8408.5361,3072.5942,9.5367432e-006],288], + ["MAP_t_picea2s",[8400.2539,3076.9885,2.7179718e-005],55], + ["MAP_t_picea2s",[8391.3232,3084.3982,-4.2915344e-005],10], + ["MAP_t_picea2s",[8383.3066,3098.0303,8.2969666e-005],288], + ["MAP_t_picea2s",[8399.1299,3083.8225,3.528595e-005],281], + ["MAP_t_picea2s",[8406.8311,3080.1453,4.196167e-005],340], + ["MAP_t_picea2s",[8412.2031,3077.0642,6.9141388e-005],18], + ["MAP_t_picea2s",[8417.9033,3072.4709,7.6770782e-005],33], + ["MAP_t_picea2s",[8419.8535,3065.4844,3.4809113e-005],256], + ["MAP_t_picea2s",[8424.0869,3055.2808,7.8201294e-005],58], + ["MAP_t_picea2s",[8432.6006,3051.8193,0.0001335144],199], + ["MAP_t_picea2s",[8436.4619,3044.8909,4.7683716e-005],267], + ["MAP_t_picea2s",[8365.5781,3029.8196,-3.528595e-005],248], + ["MAP_t_picea2s",[8357.7012,3045.5706,0.00010538101],238], + ["MAP_t_picea3f",[8456.2334,3026.4829,8.8691711e-005],179], + ["MAP_t_picea3f",[8440.8027,3034.7241,5.9604645e-005],179], + ["MAP_t_picea3f",[8423.6309,3061.4885,-1.0490417e-005],260], + ["MAP_t_picea3f",[8443.1475,3069.2668,2.0980835e-005],339], + ["MAP_t_picea3f",[8455.7139,3054.2495,-5.0067902e-005],114], + ["MAP_t_picea3f",[8393.4199,3090.4524,5.3882599e-005],26], + ["MAP_t_picea2s",[8429.4688,3077.0176,5.9127808e-005],23], + ["MAP_t_picea2s",[8427.0361,3063.1487,3.3378601e-005],64], + ["MAP_t_picea2s",[8425.3262,3072.4617,8.5830688e-005],133], + ["MAP_t_picea2s",[8418.6943,3078.0684,6.9141388e-005],161], + ["MAP_t_picea2s",[8435.8311,3061.2158,0.00018978119],82], + ["MAP_t_picea2s",[8434.9258,3067.2559,4.529953e-005],316], + ["MAP_t_picea2s",[8436.8711,3072.6721,2.7656555e-005],146], + ["MAP_t_picea2s",[8430.041,3057.2034,0.00010204315],36], + ["MAP_t_picea2s",[8444.2383,3050.7751,1.0967255e-005],323], + ["MAP_t_picea2s",[8438.6426,3054.5854,0.00018692017],250], + ["MAP_t_picea2s",[8443.9072,3059.0181,2.7179718e-005],273], + ["MAP_t_picea2s",[8440.0342,3040.0193,0.00021648407],312], + ["MAP_t_picea2s",[8446.4463,3033.7573,9.1552734e-005],345], + ["MAP_t_picea2s",[8447.6875,3042.0986,8.4877014e-005],57], + ["MAP_t_picea2s",[8386.6631,3027.2332,3.8146973e-005],87], + ["MAP_t_picea2s",[8422.7158,3095.7778,-7.1525574e-006],147], + ["MAP_t_picea2s",[8419.2871,3087.8433,-5.9127808e-005],135], + ["MAP_t_picea2s",[8412.166,3089.3064,0.00016021729],144], + ["MAP_t_picea2s",[8412.5156,3100.55,9.5844269e-005],355], + ["MAP_t_picea2s",[8406.8047,3094.6409,8.0108643e-005],120], + ["MAP_t_picea2s",[8429.9658,3086.6838,0.00012207031],249], + ["MAP_t_picea2s",[8440.6387,3083.418,-3.9577484e-005],71], + ["MAP_t_picea2s",[8452.0293,3061.7297,0.00011873245],265], + ["MAP_t_picea2s",[8455.0283,3047.6245,4.1007996e-005],198], + ["MAP_t_picea2s",[8460.9795,3037.2439,9.059906e-006],119], + ["MAP_t_picea2s",[8460.9971,3015.7375,1.9550323e-005],284], + ["MAP_t_picea2s",[8469.1123,3066.8022,-3.1471252e-005],95], + ["MAP_t_picea2s",[8463.2588,3084.8928,-3.2424927e-005],145], + ["MAP_t_picea2s",[8488.3633,3060.9043,9.059906e-005],353], + ["MAP_misc_FallenTree2",[8316.9961,3054.3247,-9.5367432e-007],-59.871033], + ["MAP_misc_FallenTree2",[8309.0459,3053.2366,1.5735626e-005],109.07998], + ["MAP_misc_FallenTree2",[8347.3594,3073.9495,5.531311e-005],0], + ["MAP_misc_FallenTree2",[8332.7568,3073.3149,0.00013208389],-87.67424], + ["MAP_misc_FallenTree1",[8334.5889,3063.1741,1.8596649e-005],0], + ["MAP_misc_stub2",[8341.8848,3068.8845,1.9550323e-005],0], + ["MAP_misc_stub2",[8340.3555,3061.8494,-1.6212463e-005],0], + ["MAP_misc_stub2",[8323.4219,3057.5264,-9.4413757e-005],0], + ["MAP_misc_stub2",[8304.6895,3052.3745,-1.3828278e-005],0], + ["MAP_misc_FallenSpruce",[8325.7637,3062.7468,3.6716461e-005],-61.213089], + ["MAP_misc_FallenSpruce",[8337.4092,3078.6479,3.8146973e-006],62.961388], + ["MAP_Misc_trunk_water",[8318.9414,3062.6328,-4.7683716e-007],0], + ["MAP_Misc_trunk_water",[8353.7295,3073.917,7.7724457e-005],0], + ["MAP_Misc_trunk_water",[8396.8096,3097.7349,-0.00012350082],0], + ["MAP_t_picea2s",[8379.2881,2943.2876,5.9604645e-005],141], + ["MAP_t_picea2s",[8402.6006,2963.0427,1.4305115e-006],352], + ["MAP_t_picea2s",[8408.7686,2968.7222,-6.6757202e-006],200], + ["MAP_t_picea2s",[8412.8701,2974.814,3.8146973e-005],277], + ["MAP_t_picea2s",[8419.6445,2984.4836,-5.865097e-005],118], + ["MAP_t_picea2s",[8418.1465,2967.4158,5.1498413e-005],325], + ["MAP_t_picea2s",[8423.1826,2975.532,7.8678131e-005],290], + ["MAP_t_picea2s",[8434.3164,2981.2061,1.1444092e-005],350], + ["MAP_t_picea2s",[8434.2383,2973.7041,5.6743622e-005],61], + ["MAP_t_picea2s",[8462.2373,2993.4438,1.9073486e-005],182], + ["MAP_t_picea2s",[8468.6104,3002.999,0.00012254715],86], + ["MAP_t_picea2s",[8474.6387,3015.1104,-1.1444092e-005],172], + ["MAP_t_picea2s",[8492.4893,3023.271,-4.2915344e-005],140], + ["MAP_t_picea3f",[8459.9004,3006.7383,1.9073486e-005],53], + ["MAP_t_picea3f",[8482.5283,3083.5828,6.1511993e-005],141], + ["MAP_t_picea3f",[8493.5303,3071.3372,0.00012874603],101], + ["MAP_t_picea3f",[8506.0596,3083.8203,0.00031280518],121], + ["MAP_t_picea3f",[8524.1426,3067.0916,0.00032711029],44], + ["MAP_t_picea3f",[8505.0586,3062.7087,-8.392334e-005],123], + ["MAP_t_picea2s",[8359.4141,2966.259,4.6730042e-005],239], + ["MAP_t_picea2s",[8352.4424,2955.355,9.1552734e-005],198], + ["MAP_t_picea2s",[8357.7129,2959.4402,-1.9073486e-006],180], + ["MAP_t_picea2s",[8365.9404,2969.804,3.8146973e-006],334], + ["MAP_t_picea2s",[8377.6309,2986.512,1.6212463e-005],330], + ["MAP_t_picea2s",[8388.0713,3001.0593,-1.2397766e-005],280], + ["MAP_t_picea2s",[8393.7432,3004.4409,2.3841858e-006],108], + ["HMMWVWreck",[8308.5449,3040.8059,2.4318695e-005],-30.494673], + ["Body2",[8306.4453,3040.2815,-6.0081482e-005],0], + ["Body2",[8312.5654,3036.915,-5.0544739e-005],72.53389], + ["Body1",[8306.9395,3036.6416,-3.3378601e-006],0], + ["Body1",[8300.5029,3044.5349,0],0], + ["Body2",[8295.9268,3044.8689,1.9073486e-006],-132.61189], + ["BRDMWreck",[8295.1846,3038.5232,2.3365021e-005],-69.078674], + ["Land_Ind_Workshop01_01",[8398.0586,3012.748,1.2397766e-005],98.278824] +],false,false,false] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/DevilsFarm.sqf b/SQF/dayz_code/system/mission/chernarus/poi/DevilsFarm.sqf index 1a0ab986..42ec770b 100644 --- a/SQF/dayz_code/system/mission/chernarus/poi/DevilsFarm.sqf +++ b/SQF/dayz_code/system/mission/chernarus/poi/DevilsFarm.sqf @@ -1,4188 +1,405 @@ -//Devils Farm DayZ -//Created by Dr Bane 20/11/2013 -//Copyright Dr Bane And Musty Gaming - -if (isServer) then { - -_vehicle_27 = objNull; -if (true) then -{ - _this = "MAP_asf3_12" createVehicle [1984.9187, 11712.01, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_27 = _this; - _this setDir -87.957932; - _this setPos [1984.9187, 11712.01, 3.0517578e-005]; -}; - -_vehicle_28 = objNull; -if (true) then -{ - _this = "MAP_asf3_0_2000" createVehicle [2002.1959, 11711.578, -7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_28 = _this; - _this setDir -88.27459; - _this setPos [2002.1959, 11711.578, -7.6293945e-005]; -}; - -_vehicle_29 = objNull; -if (true) then -{ - _this = "MAP_asf3_6konec" createVehicle [2008.3251, 11711.512, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_29 = _this; - _this setDir -89.265335; - _this setPos [2008.3251, 11711.512, -1.5258789e-005]; -}; - -_vehicle_30 = objNull; -if (true) then -{ - _this = "MAP_asf3_1_1000" createVehicle [1972.451, 11712.452]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_30 = _this; - _this setDir -87.905663; - _this setPos [1972.451, 11712.452]; -}; - -_vehicle_32 = objNull; -if (true) then -{ - _this = "MAP_asf3_10_75" createVehicle [1941.998, 11712.555]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_32 = _this; - _this setDir 82.539734; - _this setPos [1941.998, 11712.555]; -}; - -_vehicle_33 = objNull; -if (true) then -{ - _this = "MAP_asf3_10_75" createVehicle [1942.1244, 11712.463]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_33 = _this; - _this setDir -96.258011; - _this setPos [1942.1244, 11712.463]; -}; - -_vehicle_34 = objNull; -if (true) then -{ - _this = "MAP_asf3_15_75" createVehicle [1929.1057, 11712.034, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_34 = _this; - _this setDir -86.258156; - _this setPos [1929.1057, 11712.034, 3.0517578e-005]; -}; - -_vehicle_35 = objNull; -if (true) then -{ - _this = "MAP_asf3_60_10" createVehicle [1893.4742, 11715.37, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_35 = _this; - _this setDir 47.016041; - _this setPos [1893.4742, 11715.37, 3.0517578e-005]; -}; - -_vehicle_36 = objNull; -if (true) then -{ - _this = "MAP_asf3_12" createVehicle [1913.6475, 11714.381]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_36 = _this; - _this setDir -73.279716; - _this setPos [1913.6475, 11714.381]; -}; - -_vehicle_37 = objNull; -if (true) then -{ - _this = "MAP_asf3_12" createVehicle [1884.4944, 11706.747, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_37 = _this; - _this setDir 46.756504; - _this setPos [1884.4944, 11706.747, 1.5258789e-005]; -}; - -_vehicle_38 = objNull; -if (true) then -{ - _this = "MAP_asf3_12" createVehicle [1875.4884, 11698.179, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_38 = _this; - _this setDir 46.532982; - _this setPos [1875.4884, 11698.179, 0.00012207031]; -}; - -_vehicle_39 = objNull; -if (true) then -{ - _this = "MAP_asf3_1_1000" createVehicle [1863.0055, 11686.327, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_39 = _this; - _this setDir 45.856564; - _this setPos [1863.0055, 11686.327, 1.5258789e-005]; -}; - -_vehicle_43 = objNull; -if (true) then -{ - _this = "MAP_asf3_60_10" createVehicle [1863.1049, 11686.322, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_43 = _this; - _this setDir -133.37495; - _this setPos [1863.1049, 11686.322, -1.5258789e-005]; -}; - -_vehicle_44 = objNull; -if (true) then -{ - _this = "MAP_asf3_1_1000" createVehicle [1853.6176, 11683.976, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_44 = _this; - _this setDir -73.769394; - _this setPos [1853.6176, 11683.976, -1.5258789e-005]; -}; - -_vehicle_47 = objNull; -if (true) then -{ - _this = "MAP_asf3_10_100" createVehicle [1836.9906, 11688.811]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_47 = _this; - _this setDir -73.365013; - _this setPos [1836.9906, 11688.811]; -}; - -_vehicle_58 = objNull; -if (true) then -{ - _this = "MAP_pond_big_42_04" createVehicle [1802.7939, 11696.994, 0.27322203]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_58 = _this; - _this setPos [1802.7939, 11696.994, 0.27322203]; -}; -_vehicle_58bis = objNull; -if (true) then -{ - _this = "waterHoleProxy" createVehicle [1802.7939, 11696.994, 0.27322203]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_58bis = _this; - _this setPos [1802.7939, 11696.994, 0.27322203]; -}; - -_vehicle_61 = objNull; -if (true) then -{ - _this = "MAP_R2_RockWall" createVehicle [1804.7111, 11673.503, -28.283916]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_61 = _this; - _this setDir -65.804031; - _this setPos [1804.7111, 11673.503, -28.283916]; -}; - -_vehicle_62 = objNull; -if (true) then -{ - _this = "MAP_R2_RockWall" createVehicle [1828.6597, 11723.607, -24.94239]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_62 = _this; - _this setDir 103.62435; - _this setPos [1828.6597, 11723.607, -24.94239]; -}; - -_vehicle_63 = objNull; -if (true) then -{ - _this = "MAP_R2_RockWall" createVehicle [1808.7726, 11723.291, -31.437239]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_63 = _this; - _this setDir 156.08258; - _this setPos [1808.7726, 11723.291, -31.437239]; -}; - -_vehicle_64 = objNull; -if (true) then -{ - _this = "MAP_R2_Rock1" createVehicle [1791.749, 11674.111, -21.365698]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_64 = _this; - _this setDir 33.776997; - _this setPos [1791.749, 11674.111, -21.365698]; -}; - -_vehicle_65 = objNull; -if (true) then -{ - _this = "MAP_Bridge_wood_25" createVehicle [1805.6094, 11702.166, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_65 = _this; - _this setDir 24.970881; - _this setPos [1805.6094, 11702.166, 1.5258789e-005]; -}; - -_vehicle_66 = objNull; -if (true) then -{ - _this = "MAP_R2_Boulder1" createVehicle [1820.0166, 11698.858, -0.026716888]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_66 = _this; - _this setDir -102.68056; - _this setPos [1820.0166, 11698.858, -0.026716888]; -}; - -_vehicle_69 = objNull; -if (true) then -{ - _this = "MAP_R2_Boulder1" createVehicle [1816.3378, 11693.163, 0.27310959]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_69 = _this; - _this setDir 72.806061; - _this setPos [1816.3378, 11693.163, 0.27310959]; -}; - -_vehicle_70 = objNull; -if (true) then -{ - _this = "MAP_asf3_0_2000" createVehicle [1791.3824, 11708.735, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_70 = _this; - _this setDir -64.689804; - _this setPos [1791.3824, 11708.735, -1.5258789e-005]; -}; - -_vehicle_71 = objNull; -if (true) then -{ - _this = "ClutterCutter_small_EP1" createVehicle [1802.2479, 11691.153, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_71 = _this; - _this setPos [1802.2479, 11691.153, 0]; -}; - -_vehicle_72 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [1807.9299, 11693.847, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_72 = _this; - _this setPos [1807.9299, 11693.847, 1.5258789e-005]; -}; - -_vehicle_73 = objNull; -if (true) then -{ - _this = "ClutterCutter_small_EP1" createVehicle [1788.1415, 11710.126, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_73 = _this; - _this setPos [1788.1415, 11710.126, 3.0517578e-005]; -}; - -_vehicle_74 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [1824.0846, 11692.684, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_74 = _this; - _this setPos [1824.0846, 11692.684, 3.0517578e-005]; -}; - -_vehicle_75 = objNull; -if (true) then -{ - _this = "MAP_asf3_1_1000" createVehicle [1775.7607, 11716.232, -4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_75 = _this; - _this setDir -63.971947; - _this setPos [1775.7607, 11716.232, -4.5776367e-005]; -}; - -_vehicle_76 = objNull; -if (true) then -{ - _this = "MAP_asf3_1_1000" createVehicle [1760.2611, 11723.933, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_76 = _this; - _this setDir -62.566067; - _this setPos [1760.2611, 11723.933, 3.0517578e-005]; -}; - -_vehicle_77 = objNull; -if (true) then -{ - _this = "MAP_asf3_1_1000" createVehicle [1744.8807, 11732.19, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_77 = _this; - _this setDir -62.272873; - _this setPos [1744.8807, 11732.19, 6.1035156e-005]; -}; - -_vehicle_78 = objNull; -if (true) then -{ - _this = "MAP_asf3_1_1000" createVehicle [1729.678, 11740.413]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_78 = _this; - _this setDir -60.928402; - _this setPos [1729.678, 11740.413]; -}; - -_vehicle_79 = objNull; -if (true) then -{ - _this = "MAP_asf3_6konec" createVehicle [1709.1453, 11752.14, -4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_79 = _this; - _this setDir 119.6788; - _this setPos [1709.1453, 11752.14, -4.5776367e-005]; -}; - -_vehicle_82 = objNull; -if (true) then -{ - _this = "MAP_R_HouseV_2L" createVehicle [1723.8802, 11762.272, -19.685225]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_82 = _this; - _this setDir -58.260632; - _this setPos [1723.8802, 11762.272, -19.685225]; -}; - -_vehicle_88 = objNull; -if (true) then -{ - _this = "MAP_R_HouseV2_03B" createVehicle [1698.0996, 11759.021, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_88 = _this; - _this setDir 29.547768; - _this setPos [1698.0996, 11759.021, -3.0517578e-005]; -}; - -_vehicle_93 = objNull; -if (true) then -{ - _this = "MAP_Barn_W_02_ruins" createVehicle [1707.6729, 11729.523, 0.00019836426]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_93 = _this; - _this setDir 121.25789; - _this setPos [1707.6729, 11729.523, 0.00019836426]; -}; - -_vehicle_97 = objNull; -if (true) then -{ - _this = "MAP_Shed_M02_ruins" createVehicle [1779.2935, 11721.693, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_97 = _this; - _this setDir 37.449184; - _this setPos [1779.2935, 11721.693, 7.6293945e-005]; -}; - -_vehicle_99 = objNull; -if (true) then -{ - _this = "MAP_Shed_M01_ruins" createVehicle [1747.9758, 11721.98]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_99 = _this; - _this setDir 30.947336; - _this setPos [1747.9758, 11721.98]; -}; - -_vehicle_100 = objNull; -if (true) then -{ - _this = "UralWreck" createVehicle [1792.848, 11699.03, 0.00018310547]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_100 = _this; - _this setDir -34.449684; - _this setPos [1792.848, 11699.03, 0.00018310547]; -}; - -_vehicle_101 = objNull; -if (true) then -{ - _this = "HMMWVWreck" createVehicle [1771.1575, 11715.51, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_101 = _this; - _this setDir 93.814789; - _this setPos [1771.1575, 11715.51, 1.5258789e-005]; -}; - -_vehicle_102 = objNull; -if (true) then -{ - _this = "MAP_Farm_Cowshed_a" createVehicle [1728.5366, 11725.269, 0.00022888184]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_102 = _this; - _this setDir 93.851532; - _this setPos [1728.5366, 11725.269, 0.00022888184]; -}; - -_vehicle_104 = objNull; -if (true) then -{ - _this = "Land_Ind_SawMill" createVehicle [1747.4368, 11757.14, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_104 = _this; - _this setDir 30.271875; - _this setPos [1747.4368, 11757.14, 9.1552734e-005]; -}; - -_vehicle_105 = objNull; -if (true) then -{ - _this = "Land_Ind_SawMillPen" createVehicle [1764.7755, 11744.41, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_105 = _this; - _this setDir 31.224991; - _this setPos [1764.7755, 11744.41, 3.0517578e-005]; -}; - -_vehicle_107 = objNull; -if (true) then -{ - _this = "Land_Ind_Workshop01_01" createVehicle [1880.9644, 11690.132, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_107 = _this; - _this setDir 316.25232; - _this setPos [1880.9644, 11690.132, 3.0517578e-005]; -}; - -_vehicle_108 = objNull; -if (true) then -{ - _this = "MASH_EP1" createVehicle [1750.0703, 11701.407, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_108 = _this; - _this setDir -304.14282; - _this setPos [1750.0703, 11701.407, 7.6293945e-005]; -}; - -_vehicle_109 = objNull; -if (true) then -{ - _this = "MASH_EP1" createVehicle [1746.2828, 11706.929, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_109 = _this; - _this setDir 56.605083; - _this setPos [1746.2828, 11706.929, 7.6293945e-005]; -}; - -_vehicle_111 = objNull; -if (true) then -{ - _this = "CampEast" createVehicle [1755.4991, 11693.352, 0.00019836426]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_111 = _this; - _this setDir 208.48862; - _this setPos [1755.4991, 11693.352, 0.00019836426]; -}; - -_vehicle_112 = objNull; -if (true) then -{ - _this = "CampEast" createVehicle [1763.5485, 11688.976, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_112 = _this; - _this setDir 208.972; - _this setPos [1763.5485, 11688.976, -3.0517578e-005]; -}; - -_vehicle_113 = objNull; -if (true) then -{ - _this = "Misc_Cargo1Bo_military" createVehicle [1769.1373, 11702.974, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_113 = _this; - _this setDir 90.935242; - _this setPos [1769.1373, 11702.974, 3.0517578e-005]; -}; - -_vehicle_114 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1757.7006, 11736.37, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_114 = _this; - _this setPos [1757.7006, 11736.37, 3.0517578e-005]; -}; - -_vehicle_115 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1759.0682, 11736.326, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_115 = _this; - _this setPos [1759.0682, 11736.326, 1.5258789e-005]; -}; - -_vehicle_116 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1760.723, 11736.299, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_116 = _this; - _this setPos [1760.723, 11736.299, -1.5258789e-005]; -}; - -_vehicle_117 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1762.4061, 11736.274, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_117 = _this; - _this setPos [1762.4061, 11736.274, 1.5258789e-005]; -}; - -_vehicle_118 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1759.105, 11739.66, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_118 = _this; - _this setPos [1759.105, 11739.66, 1.5258789e-005]; -}; - -_vehicle_119 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1760.6445, 11739.379, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_119 = _this; - _this setPos [1760.6445, 11739.379, -3.0517578e-005]; -}; - -_vehicle_120 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1762.3646, 11739.411, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_120 = _this; - _this setPos [1762.3646, 11739.411, -1.5258789e-005]; -}; - -_vehicle_121 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1764.2596, 11739.04, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_121 = _this; - _this setPos [1764.2596, 11739.04, -1.5258789e-005]; -}; - -_vehicle_122 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1760.6523, 11742.989, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_122 = _this; - _this setPos [1760.6523, 11742.989, 1.5258789e-005]; -}; - -_vehicle_123 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1762.4423, 11742.709, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_123 = _this; - _this setPos [1762.4423, 11742.709, 1.5258789e-005]; -}; - -_vehicle_124 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1764.2177, 11742.704, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_124 = _this; - _this setPos [1764.2177, 11742.704, -1.5258789e-005]; -}; - -_vehicle_125 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1766.0786, 11742.517, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_125 = _this; - _this setPos [1766.0786, 11742.517, 1.5258789e-005]; -}; - -_vehicle_126 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1762.5627, 11746.312]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_126 = _this; - _this setPos [1762.5627, 11746.312]; -}; - -_vehicle_127 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1764.3641, 11746.244, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_127 = _this; - _this setPos [1764.3641, 11746.244, -3.0517578e-005]; -}; - -_vehicle_128 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1766.1538, 11746.084]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_128 = _this; - _this setPos [1766.1538, 11746.084]; -}; - -_vehicle_129 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1768.0387, 11745.889]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_129 = _this; - _this setPos [1768.0387, 11745.889]; -}; - -_vehicle_130 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1770.2762, 11749.419, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_130 = _this; - _this setPos [1770.2762, 11749.419, -6.1035156e-005]; -}; - -_vehicle_131 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1768.114, 11749.472, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_131 = _this; - _this setPos [1768.114, 11749.472, 3.0517578e-005]; -}; - -_vehicle_132 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1766.2771, 11749.629, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_132 = _this; - _this setPos [1766.2771, 11749.629, 1.5258789e-005]; -}; - -_vehicle_133 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1764.4037, 11749.53, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_133 = _this; - _this setPos [1764.4037, 11749.53, -3.0517578e-005]; -}; - -_vehicle_134 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1724.1654, 11737.608, 0.00010681152]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_134 = _this; - _this setDir 29.616356; - _this setPos [1724.1654, 11737.608, 0.00010681152]; -}; - -_vehicle_135 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1722.9143, 11738.433, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_135 = _this; - _this setDir 25.478025; - _this setPos [1722.9143, 11738.433, 0.00012207031]; -}; - -_vehicle_136 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1721.5681, 11739.186, 0.0001373291]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_136 = _this; - _this setDir 26.433308; - _this setPos [1721.5681, 11739.186, 0.0001373291]; -}; - -_vehicle_137 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1720.2083, 11740.069, 0.0001373291]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_137 = _this; - _this setDir 29.268167; - _this setPos [1720.2083, 11740.069, 0.0001373291]; -}; - -_vehicle_138 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1725.4467, 11736.869, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_138 = _this; - _this setDir 28.882954; - _this setPos [1725.4467, 11736.869, 1.5258789e-005]; -}; - -_vehicle_139 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1726.9121, 11736.062, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_139 = _this; - _this setDir 30.537571; - _this setPos [1726.9121, 11736.062, 7.6293945e-005]; -}; - -_vehicle_140 = objNull; -if (true) then -{ - _this = "Body" createVehicle [1728.3807, 11735.187, 0.00021362305]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_140 = _this; - _this setDir 27.741898; - _this setPos [1728.3807, 11735.187, 0.00021362305]; -}; - -_vehicle_141 = objNull; -if (true) then -{ - _this = "AmmoCrates_NoInteractive_Large" createVehicle [1753.5286, 11712.48, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_141 = _this; - _this setPos [1753.5286, 11712.48, 4.5776367e-005]; -}; - -_vehicle_142 = objNull; -if (true) then -{ - _this = "AmmoCrates_NoInteractive_Medium" createVehicle [1754.4924, 11713.708, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_142 = _this; - _this setDir -108.6438; - _this setPos [1754.4924, 11713.708, 4.5776367e-005]; -}; - -_vehicle_144 = objNull; -if (true) then -{ - _this = "Land_fort_bagfence_long" createVehicle [1769.6257, 11683.91, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_144 = _this; - _this setDir -66.487633; - _this setPos [1769.6257, 11683.91, 6.1035156e-005]; -}; - -_vehicle_145 = objNull; -if (true) then -{ - _this = "Land_fort_bagfence_long" createVehicle [1770.8148, 11686.578, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_145 = _this; - _this setDir -64.527924; - _this setPos [1770.8148, 11686.578, 7.6293945e-005]; -}; - -_vehicle_146 = objNull; -if (true) then -{ - _this = "Land_fort_bagfence_long" createVehicle [1772.084, 11689.342, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_146 = _this; - _this setDir -66.378868; - _this setPos [1772.084, 11689.342, 9.1552734e-005]; -}; - -_vehicle_147 = objNull; -if (true) then -{ - _this = "Land_fort_bagfence_long" createVehicle [1773.2328, 11692.024, 0.00018310547]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_147 = _this; - _this setDir -67.031334; - _this setPos [1773.2328, 11692.024, 0.00018310547]; -}; - -_vehicle_148 = objNull; -if (true) then -{ - _this = "Land_fort_bagfence_long" createVehicle [1774.3792, 11694.753, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_148 = _this; - _this setDir -67.347664; - _this setPos [1774.3792, 11694.753, 7.6293945e-005]; -}; - -_vehicle_149 = objNull; -if (true) then -{ - _this = "Land_fort_bagfence_long" createVehicle [1775.4854, 11697.461, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_149 = _this; - _this setDir -68.176559; - _this setPos [1775.4854, 11697.461, -1.5258789e-005]; -}; - -_vehicle_150 = objNull; -if (true) then -{ - _this = "Land_fort_bagfence_long" createVehicle [1776.6003, 11700.206, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_150 = _this; - _this setDir -68.824898; - _this setPos [1776.6003, 11700.206, 1.5258789e-005]; -}; - -_vehicle_151 = objNull; -if (true) then -{ - _this = "Land_fort_bagfence_long" createVehicle [1777.7183, 11702.917, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_151 = _this; - _this setDir -68.663048; - _this setPos [1777.7183, 11702.917, 0.00012207031]; -}; - -_vehicle_152 = objNull; -if (true) then -{ - _this = "Land_fort_bagfence_long" createVehicle [1778.8997, 11705.713, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_152 = _this; - _this setDir -67.856056; - _this setPos [1778.8997, 11705.713, 4.5776367e-005]; -}; - -_vehicle_153 = objNull; -if (true) then -{ - _this = "Land_fort_bagfence_long" createVehicle [1780.0229, 11708.425, 0.00016784668]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_153 = _this; - _this setDir -67.61171; - _this setPos [1780.0229, 11708.425, 0.00016784668]; -}; - -_vehicle_154 = objNull; -if (true) then -{ - _this = "Land_fort_bagfence_long" createVehicle [1783.9249, 11717.544, 0.0001373291]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_154 = _this; - _this setDir -66.749901; - _this setPos [1783.9249, 11717.544, 0.0001373291]; -}; - -_vehicle_155 = objNull; -if (true) then -{ - _this = "Land_fort_bagfence_long" createVehicle [1785.0416, 11720.148, 0.00010681152]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_155 = _this; - _this setDir -67.153412; - _this setPos [1785.0416, 11720.148, 0.00010681152]; -}; - -_vehicle_156 = objNull; -if (true) then -{ - _this = "Land_fort_bagfence_long" createVehicle [1786.2275, 11722.918, 0.0001373291]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_156 = _this; - _this setDir -67.444763; - _this setPos [1786.2275, 11722.918, 0.0001373291]; -}; - -_vehicle_157 = objNull; -if (true) then -{ - _this = "Land_fort_bagfence_corner" createVehicle [1786.5177, 11726.571, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_157 = _this; - _this setDir 201.91515; - _this setPos [1786.5177, 11726.571, 9.1552734e-005]; -}; - -_vehicle_158 = objNull; -if (true) then -{ - _this = "Land_fort_bagfence_corner" createVehicle [1767.8385, 11681.27, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_158 = _this; - _this setDir -67.489479; - _this setPos [1767.8385, 11681.27, 4.5776367e-005]; -}; - -_vehicle_159 = objNull; -if (true) then -{ - _this = "Fort_RazorWire" createVehicle [1786.0699, 11719.021, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_159 = _this; - _this setDir -66.315384; - _this setPos [1786.0699, 11719.021, -3.0517578e-005]; -}; - -_vehicle_160 = objNull; -if (true) then -{ - _this = "Fort_RazorWire" createVehicle [1779.7745, 11703.974, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_160 = _this; - _this setDir -66.543167; - _this setPos [1779.7745, 11703.974, 4.5776367e-005]; -}; - -_vehicle_161 = objNull; -if (true) then -{ - _this = "Fort_RazorWire" createVehicle [1776.6421, 11696.184, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_161 = _this; - _this setDir -68.657242; - _this setPos [1776.6421, 11696.184, -1.5258789e-005]; -}; - -_vehicle_163 = objNull; -if (true) then -{ - _this = "MAP_R2_RockWall" createVehicle [1734.8632, 11659.609, -17.923616]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_163 = _this; - _this setDir -199.58272; - _this setPos [1734.8632, 11659.609, -17.923616]; -}; - -_vehicle_164 = objNull; -if (true) then -{ - _this = "MAP_R2_RockWall" createVehicle [1719.538, 11803.077, -19.767447]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_164 = _this; - _this setPos [1719.538, 11803.077, -19.767447]; -}; - -_vehicle_184 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1708.0996, 11712.291, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_184 = _this; - _this setPos [1708.0996, 11712.291, 7.6293945e-005]; -}; - -_vehicle_186 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1708.0406, 11707.755, 0.00010681152]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_186 = _this; - _this setPos [1708.0406, 11707.755, 0.00010681152]; -}; - -_vehicle_187 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1701.1199, 11712.554, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_187 = _this; - _this setPos [1701.1199, 11712.554, -1.5258789e-005]; -}; - -_vehicle_188 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1699.3159, 11705.964, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_188 = _this; - _this setPos [1699.3159, 11705.964, 0.00012207031]; -}; - -_vehicle_189 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1703.9541, 11698.854, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_189 = _this; - _this setPos [1703.9541, 11698.854, 3.0517578e-005]; -}; - -_vehicle_190 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1730.8362, 11785.251, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_190 = _this; - _this setPos [1730.8362, 11785.251, 6.1035156e-005]; -}; - -_vehicle_191 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1721.535, 11782.772]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_191 = _this; - _this setPos [1721.535, 11782.772]; -}; - -_vehicle_192 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1711.4562, 11788.058, 0.00016784668]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_192 = _this; - _this setPos [1711.4562, 11788.058, 0.00016784668]; -}; - -_vehicle_193 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1715.343, 11778.118, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_193 = _this; - _this setPos [1715.343, 11778.118, 6.1035156e-005]; -}; - -_vehicle_194 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1748.7883, 11809.227, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_194 = _this; - _this setPos [1748.7883, 11809.227, 0.00012207031]; -}; - -_vehicle_195 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1769.0259, 11766.633, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_195 = _this; - _this setPos [1769.0259, 11766.633, 1.5258789e-005]; -}; - -_vehicle_196 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1765.6106, 11773.438, 0.00018310547]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_196 = _this; - _this setPos [1765.6106, 11773.438, 0.00018310547]; -}; - -_vehicle_197 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1776.5638, 11770.77, 0.00010681152]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_197 = _this; - _this setPos [1776.5638, 11770.77, 0.00010681152]; -}; - -_vehicle_198 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1777.7548, 11761.786, 0.00010681152]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_198 = _this; - _this setPos [1777.7548, 11761.786, 0.00010681152]; -}; - -_vehicle_199 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1783.1877, 11767.782, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_199 = _this; - _this setPos [1783.1877, 11767.782, 3.0517578e-005]; -}; - -_vehicle_200 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1786.0691, 11760.089, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_200 = _this; - _this setPos [1786.0691, 11760.089, 3.0517578e-005]; -}; - -_vehicle_201 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1796.0404, 11730.627, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_201 = _this; - _this setPos [1796.0404, 11730.627, 4.5776367e-005]; -}; - -_vehicle_202 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1788.6328, 11731.446, 0.00010681152]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_202 = _this; - _this setPos [1788.6328, 11731.446, 0.00010681152]; -}; - -_vehicle_203 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1801.8285, 11734.453, 0.00016784668]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_203 = _this; - _this setPos [1801.8285, 11734.453, 0.00016784668]; -}; - -_vehicle_204 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1794.614, 11736.238, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_204 = _this; - _this setPos [1794.614, 11736.238, 6.1035156e-005]; -}; - -_vehicle_205 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1822.1718, 11681.094, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_205 = _this; - _this setPos [1822.1718, 11681.094, 3.0517578e-005]; -}; - -_vehicle_206 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1822.657, 11686.977, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_206 = _this; - _this setPos [1822.657, 11686.977, 0]; -}; - -_vehicle_207 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1828.8997, 11680.479, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_207 = _this; - _this setPos [1828.8997, 11680.479, 7.6293945e-005]; -}; - -_vehicle_208 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1759.1609, 11657.606, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_208 = _this; - _this setPos [1759.1609, 11657.606, 7.6293945e-005]; -}; - -_vehicle_209 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1749.874, 11656.442, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_209 = _this; - _this setPos [1749.874, 11656.442, 6.1035156e-005]; -}; - -_vehicle_210 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1757.594, 11668.55, 0.00018310547]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_210 = _this; - _this setPos [1757.594, 11668.55, 0.00018310547]; -}; - -_vehicle_211 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1762.1592, 11665.067, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_211 = _this; - _this setPos [1762.1592, 11665.067, 3.0517578e-005]; -}; - -_vehicle_212 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1763.4108, 11673.655, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_212 = _this; - _this setPos [1763.4108, 11673.655, 0.00012207031]; -}; - -_vehicle_213 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1767.9163, 11670.904, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_213 = _this; - _this setPos [1767.9163, 11670.904, 7.6293945e-005]; -}; - -_vehicle_214 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1768.2374, 11665.728, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_214 = _this; - _this setPos [1768.2374, 11665.728, 9.1552734e-005]; -}; - -_vehicle_215 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1770.4441, 11677.615, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_215 = _this; - _this setPos [1770.4441, 11677.615, -1.5258789e-005]; -}; - -_vehicle_216 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1712.1829, 11667.416, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_216 = _this; - _this setPos [1712.1829, 11667.416, 9.1552734e-005]; -}; - -_vehicle_217 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1706.2999, 11668.541, 0.00022888184]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_217 = _this; - _this setPos [1706.2999, 11668.541, 0.00022888184]; -}; - -_vehicle_218 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1706.8826, 11676.414, 0.00018310547]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_218 = _this; - _this setPos [1706.8826, 11676.414, 0.00018310547]; -}; - -_vehicle_219 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1701.1501, 11671.833, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_219 = _this; - _this setPos [1701.1501, 11671.833, 4.5776367e-005]; -}; - -_vehicle_220 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1700.7295, 11665.481, 0.00015258789]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_220 = _this; - _this setPos [1700.7295, 11665.481, 0.00015258789]; -}; - -_vehicle_221 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1706.9185, 11661.559, 0.00022888184]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_221 = _this; - _this setPos [1706.9185, 11661.559, 0.00022888184]; -}; - -_vehicle_222 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1743.3141, 11648.917, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_222 = _this; - _this setPos [1743.3141, 11648.917, 4.5776367e-005]; -}; - -_vehicle_223 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1750.1553, 11649.468, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_223 = _this; - _this setPos [1750.1553, 11649.468, 3.0517578e-005]; -}; - -_vehicle_224 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1758.0492, 11649.808, 0.00016784668]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_224 = _this; - _this setPos [1758.0492, 11649.808, 0.00016784668]; -}; - -_vehicle_225 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1794.7102, 11664.943, 0.00010681152]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_225 = _this; - _this setPos [1794.7102, 11664.943, 0.00010681152]; -}; - -_vehicle_227 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1796.1796, 11658.953, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_227 = _this; - _this setPos [1796.1796, 11658.953, 9.1552734e-005]; -}; - -_vehicle_228 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1788.369, 11659.815, 0.00016784668]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_228 = _this; - _this setPos [1788.369, 11659.815, 0.00016784668]; -}; - -_vehicle_229 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1828.9491, 11674.704, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_229 = _this; - _this setPos [1828.9491, 11674.704, 3.0517578e-005]; -}; - -_vehicle_230 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1835.6296, 11676.209, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_230 = _this; - _this setPos [1835.6296, 11676.209, 7.6293945e-005]; -}; - -_vehicle_231 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1836.6669, 11668.347, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_231 = _this; - _this setPos [1836.6669, 11668.347, 6.1035156e-005]; -}; - -_vehicle_232 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1841.505, 11673.708, 0.0001373291]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_232 = _this; - _this setPos [1841.505, 11673.708, 0.0001373291]; -}; - -_vehicle_233 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1847.2189, 11668.215, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_233 = _this; - _this setPos [1847.2189, 11668.215, 6.1035156e-005]; -}; - -_vehicle_234 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1875.011, 11684.652, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_234 = _this; - _this setPos [1875.011, 11684.652, 1.5258789e-005]; -}; - -_vehicle_235 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1869.9547, 11681.963, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_235 = _this; - _this setPos [1869.9547, 11681.963, 7.6293945e-005]; -}; - -_vehicle_236 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1875.72, 11677.441, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_236 = _this; - _this setPos [1875.72, 11677.441, -3.0517578e-005]; -}; - -_vehicle_237 = objNull; -if (true) then -{ - _this = "Land_Fire_DZ" createVehicle [1689.3069, 11754.54, -4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_237 = _this; - _this setPos [1689.3069, 11754.54, -4.5776367e-005]; -}; - -_vehicle_238 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [1698.0286, 11751.336, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_238 = _this; - _this setPos [1698.0286, 11751.336, 9.1552734e-005]; -}; - -_vehicle_239 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [1700.7842, 11732.964, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_239 = _this; - _this setPos [1700.7842, 11732.964, 4.5776367e-005]; -}; - -_vehicle_240 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [1713.9777, 11724.616]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_240 = _this; - _this setPos [1713.9777, 11724.616]; -}; - -_vehicle_241 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [1709.389, 11727.408, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_241 = _this; - _this setPos [1709.389, 11727.408, 1.5258789e-005]; -}; - -_vehicle_242 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [1705.9205, 11728.884, -9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_242 = _this; - _this setPos [1705.9205, 11728.884, -9.1552734e-005]; -}; - -_vehicle_243 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [1746.264, 11721.658]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_243 = _this; - _this setPos [1746.264, 11721.658]; -}; - -_vehicle_244 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [1704.9423, 11761.148, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_244 = _this; - _this setPos [1704.9423, 11761.148, 3.0517578e-005]; -}; - -_vehicle_245 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [1693.145, 11750.366, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_245 = _this; - _this setPos [1693.145, 11750.366, -1.5258789e-005]; -}; - -_vehicle_246 = objNull; -if (true) then -{ - _this = "Fort_Barricade" createVehicle [1785.677, 11711.391]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_246 = _this; - _this setDir -70.637123; - _this setPos [1785.677, 11711.391]; -}; - -_vehicle_260 = objNull; -if (true) then -{ - _this = "MAP_plot_zed_drevo1" createVehicle [1707.9996, 11747.64, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_260 = _this; - _this setDir -59.406433; - _this setPos [1707.9996, 11747.64, 6.1035156e-005]; -}; - -_vehicle_262 = objNull; -if (true) then -{ - _this = "MAP_plot_zed_drevo3" createVehicle [1710.6086, 11764.796, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_262 = _this; - _this setDir 29.27306; - _this setPos [1710.6086, 11764.796, 7.6293945e-005]; -}; - -_vehicle_263 = objNull; -if (true) then -{ - _this = "MAP_plot_zed_drevo_sloupek" createVehicle [1711.0493, 11764.675, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_263 = _this; - _this setDir 29.301178; - _this setPos [1711.0493, 11764.675, 9.1552734e-005]; -}; - -_vehicle_264 = objNull; -if (true) then -{ - _this = "MAP_plot_zed_drevo1_branka" createVehicle [1710.2302, 11751.818]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_264 = _this; - _this setDir 120.98058; - _this setPos [1710.2302, 11751.818]; -}; - -_vehicle_265 = objNull; -if (true) then -{ - _this = "MAP_plot_zed_drevo1" createVehicle [1712.1309, 11755.127, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_265 = _this; - _this setDir 120.6221; - _this setPos [1712.1309, 11755.127, 6.1035156e-005]; -}; - -_vehicle_266 = objNull; -if (true) then -{ - _this = "MAP_plot_zed_drevo1" createVehicle [1714.1527, 11758.39, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_266 = _this; - _this setDir 121.63365; - _this setPos [1714.1527, 11758.39, 4.5776367e-005]; -}; - -_vehicle_267 = objNull; -if (true) then -{ - _this = "MAP_plot_zed_drevo_sloupek" createVehicle [1702.861, 11745.85, -4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_267 = _this; - _this setDir 30.580776; - _this setPos [1702.861, 11745.85, -4.5776367e-005]; -}; - -_vehicle_268 = objNull; -if (true) then -{ - _this = "MAP_plot_zboreny" createVehicle [1712.3214, 11764.05, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_268 = _this; - _this setDir 209.23892; - _this setPos [1712.3214, 11764.05, -1.5258789e-005]; -}; - -_vehicle_269 = objNull; -if (true) then -{ - _this = "MAP_plot_zed_drevo1" createVehicle [1716.087, 11761.622, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_269 = _this; - _this setDir 121.37959; - _this setPos [1716.087, 11761.622, 4.5776367e-005]; -}; - -_vehicle_270 = objNull; -if (true) then -{ - _this = "MAP_plot_zed_drevo1" createVehicle [1706.1078, 11744.326, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_270 = _this; - _this setDir -59.787006; - _this setPos [1706.1078, 11744.326, 3.0517578e-005]; -}; - -_vehicle_273 = objNull; -if (true) then -{ - _this = "MAP_plot_zed_drevo3" createVehicle [1705.6776, 11744.141, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_273 = _this; - _this setDir 30.628857; - _this setPos [1705.6776, 11744.141, 4.5776367e-005]; -}; - -_vehicle_274 = objNull; -if (true) then -{ - _this = "Land_Misc_Garb_Heap_EP1" createVehicle [1709.4761, 11743.834, 0.0001373291]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_274 = _this; - _this setPos [1709.4761, 11743.834, 0.0001373291]; -}; - -_vehicle_275 = objNull; -if (true) then -{ - _this = "Garbage_container" createVehicle [1709.2693, 11742.217, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_275 = _this; - _this setPos [1709.2693, 11742.217, 9.1552734e-005]; -}; - -_vehicle_276 = objNull; -if (true) then -{ - _this = "Garbage_container" createVehicle [1711.2416, 11742.056, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_276 = _this; - _this setDir -90.763466; - _this setPos [1711.2416, 11742.056, 3.0517578e-005]; -}; - -_vehicle_277 = objNull; -if (true) then -{ - _this = "Land_Misc_IronPipes_EP1" createVehicle [1752.5741, 11744.548, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_277 = _this; - _this setDir -22.570091; - _this setPos [1752.5741, 11744.548, 3.0517578e-005]; -}; - -_vehicle_278 = objNull; -if (true) then -{ - _this = "Paleta2" createVehicle [1731.0017, 11741.056, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_278 = _this; - _this setDir -14.452979; - _this setPos [1731.0017, 11741.056, 3.0517578e-005]; -}; - -_vehicle_279 = objNull; -if (true) then -{ - _this = "Pile_of_wood" createVehicle [1737.0198, 11752.13, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_279 = _this; - _this setDir 28.837755; - _this setPos [1737.0198, 11752.13, 4.5776367e-005]; -}; - -_vehicle_281 = objNull; -if (true) then -{ - _this = "Land_Ind_TankSmall" createVehicle [1734.4464, 11719.356, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_281 = _this; - _this setDir 94.121185; - _this setPos [1734.4464, 11719.356, 4.5776367e-005]; -}; - -_vehicle_282 = objNull; -if (true) then -{ - _this = "Land_Table_EP1" createVehicle [1710.5129, 11759.646, 0.0001373291]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_282 = _this; - _this setDir -86.252785; - _this setPos [1710.5129, 11759.646, 0.0001373291]; -}; - -_vehicle_283 = objNull; -if (true) then -{ - _this = "Land_Bench_EP1" createVehicle [1709.86, 11758.041, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_283 = _this; - _this setDir -59.123962; - _this setPos [1709.86, 11758.041, 9.1552734e-005]; -}; - -_vehicle_285 = objNull; -if (true) then -{ - _this = "FoldTable" createVehicle [1758.9523, 11706.042, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_285 = _this; - _this setDir -66.983597; - _this setPos [1758.9523, 11706.042, 6.1035156e-005]; -}; - -_vehicle_287 = objNull; -if (true) then -{ - _this = "FoldChair" createVehicle [1757.2609, 11705.792, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_287 = _this; - _this setDir -89.222832; - _this setPos [1757.2609, 11705.792, 0.00012207031]; -}; - -_vehicle_288 = objNull; -if (true) then -{ - _this = "FoldChair" createVehicle [1757.9318, 11707.078, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_288 = _this; - _this setDir -48.781147; - _this setPos [1757.9318, 11707.078, 3.0517578e-005]; -}; - -_vehicle_289 = objNull; -if (true) then -{ - _this = "FoldChair" createVehicle [1760.4084, 11706.505, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_289 = _this; - _this setDir 98.154198; - _this setPos [1760.4084, 11706.505, 9.1552734e-005]; -}; - -_vehicle_290 = objNull; -if (true) then -{ - _this = "FoldChair" createVehicle [1758.212, 11704.379, 0.00018310547]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_290 = _this; - _this setDir 205.50815; - _this setPos [1758.212, 11704.379, 0.00018310547]; -}; - -_vehicle_291 = objNull; -if (true) then -{ - _this = "Land_Bag_EP1" createVehicle [1755.3564, 11712.34, 0.00018310547]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_291 = _this; - _this setPos [1755.3564, 11712.34, 0.00018310547]; -}; - -_vehicle_293 = objNull; -if (true) then -{ - _this = "Land_Shed_M01" createVehicle [1771.2965, 11756.081, 0.00015258789]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_293 = _this; - _this setDir 32.618229; - _this setPos [1771.2965, 11756.081, 0.00015258789]; -}; - -_vehicle_294 = objNull; -if (true) then -{ - _this = "Land_fort_artillery_nest" createVehicle [1795.4894, 11750.955, -0.27388555]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_294 = _this; - _this setDir 72.356056; - _this setPos [1795.4894, 11750.955, -0.27388555]; -}; - -_vehicle_295 = objNull; -if (true) then -{ - _this = "MAP_b_pmugo" createVehicle [1798.3049, 11744.786]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_295 = _this; - _this setPos [1798.3049, 11744.786]; -}; - -_vehicle_297 = objNull; -if (true) then -{ - _this = "MAP_b_craet2" createVehicle [1792.3464, 11757.987, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_297 = _this; - _this setDir -18.898199; - _this setPos [1792.3464, 11757.987, 3.0517578e-005]; -}; - -_vehicle_298 = objNull; -if (true) then -{ - _this = "MAP_b_craet1" createVehicle [1795.364, 11757.459, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_298 = _this; - _this setPos [1795.364, 11757.459, -3.0517578e-005]; -}; - -_vehicle_299 = objNull; -if (true) then -{ - _this = "MAP_b_craet2" createVehicle [1795.6638, 11741.604, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_299 = _this; - _this setDir -44.770836; - _this setPos [1795.6638, 11741.604, 1.5258789e-005]; -}; - -_vehicle_302 = objNull; -if (true) then -{ - _this = "MAP_b_pmugo" createVehicle [1799.016, 11753.596, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_302 = _this; - _this setPos [1799.016, 11753.596, -3.0517578e-005]; -}; - -_vehicle_303 = objNull; -if (true) then -{ - _this = "MAP_b_pmugo" createVehicle [1799.3264, 11747.723, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_303 = _this; - _this setDir -135.60785; - _this setPos [1799.3264, 11747.723, -1.5258789e-005]; -}; - -_vehicle_304 = objNull; -if (true) then -{ - _this = "MAP_b_pmugo" createVehicle [1799.2179, 11745.7, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_304 = _this; - _this setPos [1799.2179, 11745.7, 1.5258789e-005]; -}; - -_vehicle_305 = objNull; -if (true) then -{ - _this = "MAP_b_pmugo" createVehicle [1800.3281, 11746.753]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_305 = _this; - _this setDir -77.773277; - _this setPos [1800.3281, 11746.753]; -}; - -_vehicle_306 = objNull; -if (true) then -{ - _this = "MAP_b_corylus2s" createVehicle [1736.3763, 11702.939]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_306 = _this; - _this setDir -36.332321; - _this setPos [1736.3763, 11702.939]; -}; - -_vehicle_307 = objNull; -if (true) then -{ - _this = "MAP_b_corylus2s" createVehicle [1698.1608, 11743.954, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_307 = _this; - _this setPos [1698.1608, 11743.954, -1.5258789e-005]; -}; - -_vehicle_308 = objNull; -if (true) then -{ - _this = "MAP_b_corylus2s" createVehicle [1693.4736, 11739.703, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_308 = _this; - _this setPos [1693.4736, 11739.703, -6.1035156e-005]; -}; - -_vehicle_309 = objNull; -if (true) then -{ - _this = "MAP_b_corylus2s" createVehicle [1826.6665, 11701.473, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_309 = _this; - _this setPos [1826.6665, 11701.473, 6.1035156e-005]; -}; - -_vehicle_310 = objNull; -if (true) then -{ - _this = "MAP_b_corylus" createVehicle [1830.8893, 11714.203, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_310 = _this; - _this setPos [1830.8893, 11714.203, 1.5258789e-005]; -}; - -_vehicle_312 = objNull; -if (true) then -{ - _this = "Rubbish1" createVehicle [1768.0225, 11696.404, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_312 = _this; - _this setPos [1768.0225, 11696.404, -3.0517578e-005]; -}; - -_vehicle_313 = objNull; -if (true) then -{ - _this = "AmmoCrates_NoInteractive_Large" createVehicle [1771.0812, 11695.067, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_313 = _this; - _this setPos [1771.0812, 11695.067, 6.1035156e-005]; -}; - -_vehicle_314 = objNull; -if (true) then -{ - _this = "AmmoCrates_NoInteractive_Large" createVehicle [1789.9847, 11753.014, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_314 = _this; - _this setDir -148.08163; - _this setPos [1789.9847, 11753.014, 7.6293945e-005]; -}; - -_vehicle_315 = objNull; -if (true) then -{ - _this = "AmmoCrates_NoInteractive_Medium" createVehicle [1791.7251, 11752.817, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_315 = _this; - _this setDir -28.609703; - _this setPos [1791.7251, 11752.817, 3.0517578e-005]; -}; - -_vehicle_316 = objNull; -if (true) then -{ - _this = "AmmoCrates_NoInteractive_Small" createVehicle [1790.5393, 11751.663, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_316 = _this; - _this setPos [1790.5393, 11751.663, 4.5776367e-005]; -}; - -_vehicle_319 = objNull; -if (true) then -{ - _this = "Barrels" createVehicle [1784.3082, 11752.366, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_319 = _this; - _this setPos [1784.3082, 11752.366, 3.0517578e-005]; -}; - -_vehicle_320 = objNull; -if (true) then -{ - _this = "Land_Misc_Cargo2E_EP1" createVehicle [1769.6725, 11734.484, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_320 = _this; - _this setDir 17.811895; - _this setPos [1769.6725, 11734.484, -6.1035156e-005]; -}; - -_vehicle_321 = objNull; -if (true) then -{ - _this = "Notice_board_EP1" createVehicle [1759.0591, 11708.798, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_321 = _this; - _this setDir -17.506258; - _this setPos [1759.0591, 11708.798, 3.0517578e-005]; -}; - -_vehicle_322 = objNull; -if (true) then -{ - _this = "Paleta2" createVehicle [1788.1893, 11742.232, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_322 = _this; - _this setPos [1788.1893, 11742.232, 3.0517578e-005]; -}; - -_vehicle_323 = objNull; -if (true) then -{ - _this = "Land_Misc_Cargo1E_EP1" createVehicle [1772.9535, 11734.484]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_323 = _this; - _this setDir 13.032956; - _this setPos [1772.9535, 11734.484]; -}; - -_vehicle_324 = objNull; -if (true) then -{ - _this = "Misc_Cargo1B_military" createVehicle [1773.1691, 11739.554, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_324 = _this; - _this setDir -70.169487; - _this setPos [1773.1691, 11739.554, 6.1035156e-005]; -}; - -_vehicle_325 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1818.3773, 11734.924, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_325 = _this; - _this setPos [1818.3773, 11734.924, 3.0517578e-005]; -}; - -_vehicle_326 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1811.2561, 11737.608, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_326 = _this; - _this setPos [1811.2561, 11737.608, 6.1035156e-005]; -}; - -_vehicle_327 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1815.5593, 11668.482, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_327 = _this; - _this setPos [1815.5593, 11668.482, 7.6293945e-005]; -}; - -_vehicle_328 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1821.8439, 11672.263, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_328 = _this; - _this setPos [1821.8439, 11672.263, 1.5258789e-005]; -}; - -_vehicle_329 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1775.0565, 11659.313, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_329 = _this; - _this setPos [1775.0565, 11659.313, 7.6293945e-005]; -}; - -_vehicle_330 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1778.6378, 11668.132, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_330 = _this; - _this setPos [1778.6378, 11668.132, 0]; -}; - -_vehicle_331 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1782.369, 11662.898, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_331 = _this; - _this setPos [1782.369, 11662.898, 1.5258789e-005]; -}; - -_vehicle_332 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1776.2426, 11673.526, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_332 = _this; - _this setPos [1776.2426, 11673.526, 1.5258789e-005]; -}; - -_vehicle_333 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [1781.9351, 11673.039, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_333 = _this; - _this setPos [1781.9351, 11673.039, -1.5258789e-005]; -}; - -_vehicle_334 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [1785.3544, 11668.778, 0.0001373291]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_334 = _this; - _this setPos [1785.3544, 11668.778, 0.0001373291]; -}; - -_vehicle_335 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [1716.2144, 11698.987, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_335 = _this; - _this setPos [1716.2144, 11698.987, 3.0517578e-005]; -}; - -_vehicle_336 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [1715.2286, 11695.379, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_336 = _this; - _this setPos [1715.2286, 11695.379, -3.0517578e-005]; -}; - -_vehicle_337 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [1719.2367, 11695.09, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_337 = _this; - _this setPos [1719.2367, 11695.09, -1.5258789e-005]; -}; - -_vehicle_338 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [1817.7792, 11644.645, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_338 = _this; - _this setPos [1817.7792, 11644.645, -6.1035156e-005]; -}; - -_vehicle_339 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [1826.9309, 11644.036, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_339 = _this; - _this setPos [1826.9309, 11644.036, 7.6293945e-005]; -}; - -_vehicle_340 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [1819.8135, 11650.418, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_340 = _this; - _this setPos [1819.8135, 11650.418, 1.5258789e-005]; -}; - -_vehicle_341 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1805.455, 11655.158, -7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_341 = _this; - _this setPos [1805.455, 11655.158, -7.6293945e-005]; -}; - -_vehicle_342 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1811.9998, 11658.955, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_342 = _this; - _this setPos [1811.9998, 11658.955, 0]; -}; - -_vehicle_343 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1813.3572, 11650.894, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_343 = _this; - _this setPos [1813.3572, 11650.894, 6.1035156e-005]; -}; - -_vehicle_344 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1818.2813, 11657.446, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_344 = _this; - _this setPos [1818.2813, 11657.446, 3.0517578e-005]; -}; - -_vehicle_345 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1820.9965, 11664.805, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_345 = _this; - _this setPos [1820.9965, 11664.805, 0]; -}; - -_vehicle_346 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1806.1724, 11647.095, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_346 = _this; - _this setPos [1806.1724, 11647.095, -1.5258789e-005]; -}; - -_vehicle_347 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1799.3335, 11651.37, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_347 = _this; - _this setPos [1799.3335, 11651.37, 3.0517578e-005]; -}; - -_vehicle_348 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1828.424, 11666.68, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_348 = _this; - _this setPos [1828.424, 11666.68, 7.6293945e-005]; -}; - -_vehicle_349 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1827.1429, 11658.434, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_349 = _this; - _this setPos [1827.1429, 11658.434, -1.5258789e-005]; -}; - -_vehicle_350 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1834.257, 11660.806, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_350 = _this; - _this setPos [1834.257, 11660.806, 7.6293945e-005]; -}; - -_vehicle_351 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1842.5028, 11664.276, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_351 = _this; - _this setPos [1842.5028, 11664.276, -6.1035156e-005]; -}; - -_vehicle_352 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1853.5725, 11670.329, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_352 = _this; - _this setPos [1853.5725, 11670.329, 6.1035156e-005]; -}; - -_vehicle_353 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1852.7408, 11663.604, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_353 = _this; - _this setPos [1852.7408, 11663.604, 0]; -}; - -_vehicle_354 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1846.7953, 11659.949, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_354 = _this; - _this setPos [1846.7953, 11659.949, 0]; -}; - -_vehicle_355 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1839.5594, 11656.809, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_355 = _this; - _this setPos [1839.5594, 11656.809, 1.5258789e-005]; -}; - -_vehicle_356 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1699.8507, 11657.333, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_356 = _this; - _this setPos [1699.8507, 11657.333, -3.0517578e-005]; -}; - -_vehicle_357 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1693.0599, 11668.095, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_357 = _this; - _this setPos [1693.0599, 11668.095, 3.0517578e-005]; -}; - -_vehicle_358 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1692.6597, 11660.395, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_358 = _this; - _this setPos [1692.6597, 11660.395, 7.6293945e-005]; -}; - -_vehicle_359 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1685.8239, 11664.753, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_359 = _this; - _this setPos [1685.8239, 11664.753, 7.6293945e-005]; -}; - -_vehicle_360 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1685.7426, 11656.082, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_360 = _this; - _this setPos [1685.7426, 11656.082, 0]; -}; - -_vehicle_361 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1694.1979, 11651.563, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_361 = _this; - _this setPos [1694.1979, 11651.563, 0]; -}; - -_vehicle_362 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1702.875, 11648.814, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_362 = _this; - _this setPos [1702.875, 11648.814, 0]; -}; - -_vehicle_363 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1712.1531, 11643.84, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_363 = _this; - _this setPos [1712.1531, 11643.84, 3.0517578e-005]; -}; - -_vehicle_364 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1731.766, 11648.952, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_364 = _this; - _this setPos [1731.766, 11648.952, 6.1035156e-005]; -}; - -_vehicle_365 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1772.4023, 11777.735, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_365 = _this; - _this setPos [1772.4023, 11777.735, 3.0517578e-005]; -}; - -_vehicle_366 = objNull; -if (true) then -{ - _this = "UralWreck" createVehicle [1732.5569, 11695.86, -7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_366 = _this; - _this setDir 107.07949; - _this setPos [1732.5569, 11695.86, -7.6293945e-005]; -}; - -_vehicle_367 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [1741.5575, 11735.501]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_367 = _this; - _this setDir -79.108429; - _this setPos [1741.5575, 11735.501]; -}; - -_vehicle_368 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [1782.0217, 11715.149, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_368 = _this; - _this setPos [1782.0217, 11715.149, 9.1552734e-005]; -}; - -_vehicle_369 = objNull; -if (true) then -{ - _this = "Body1" createVehicle [1777.9645, 11715.237, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_369 = _this; - _this setPos [1777.9645, 11715.237, 0]; -}; - -_vehicle_370 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [1781.8473, 11712.026, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_370 = _this; - _this setDir -123.27325; - _this setPos [1781.8473, 11712.026, 7.6293945e-005]; -}; - -_vehicle_371 = objNull; -if (true) then -{ - _this = "Body1" createVehicle [1753.484, 11726.446, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_371 = _this; - _this setPos [1753.484, 11726.446, 3.0517578e-005]; -}; - -_vehicle_372 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [1711.7731, 11749.046, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_372 = _this; - _this setDir 22.487579; - _this setPos [1711.7731, 11749.046, 0.00012207031]; -}; - -_vehicle_373 = objNull; -if (true) then -{ - _this = "Body1" createVehicle [1725.6572, 11742.825, 0.00030517578]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_373 = _this; - _this setPos [1725.6572, 11742.825, 0.00030517578]; -}; - -_vehicle_374 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [1719.2198, 11748.196, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_374 = _this; - _this setDir -102.5114; - _this setPos [1719.2198, 11748.196, 7.6293945e-005]; -}; - -_vehicle_375 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [1754.0944, 11715.765]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_375 = _this; - _this setDir 104.09085; - _this setPos [1754.0944, 11715.765]; -}; - -_vehicle_376 = objNull; -if (true) then -{ - _this = "Body1" createVehicle [1768.7404, 11717.692, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_376 = _this; - _this setDir -92.47834; - _this setPos [1768.7404, 11717.692, 0.00012207031]; -}; - -_vehicle_377 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [1772.468, 11717.166, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_377 = _this; - _this setDir 154.51218; - _this setPos [1772.468, 11717.166, 9.1552734e-005]; -}; - -_vehicle_378 = objNull; -if (true) then -{ - _this = "Body1" createVehicle [1751.5055, 11717.046, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_378 = _this; - _this setPos [1751.5055, 11717.046, 9.1552734e-005]; -}; - -_vehicle_379 = objNull; -if (true) then -{ - _this = "USMC_WarfareBVehicleServicePoint" createVehicle [1742.7795, 11678.495, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_379 = _this; - _this setDir 93.374069; - _this setPos [1742.7795, 11678.495, -3.0517578e-005]; -}; - -_vehicle_381 = objNull; -if (true) then -{ - _this = "UralWreck" createVehicle [1730.3744, 11758.889, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_381 = _this; - _this setDir -162.58514; - _this setPos [1730.3744, 11758.889, 1.5258789e-005]; -}; - -_vehicle_398 = objNull; -if (true) then -{ - _this = "Hanged_MD" createVehicle [1740.3192, 11710.013, 2.841176]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_398 = _this; - _this setDir -161.32813; - _this setPos [1740.3192, 11710.013, 2.841176]; -}; - -_vehicle_399 = objNull; -if (true) then -{ - _this = "Hanged" createVehicle [1890.8689, 11707.069, 5.25244]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_399 = _this; - _this setPos [1890.8689, 11707.069, 5.25244]; -}; - -_vehicle_400 = objNull; -if (true) then -{ - _this = "Hanged" createVehicle [1885.812, 11699.524, 5.1738005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_400 = _this; - _this setDir 139.2079; - _this setPos [1885.812, 11699.524, 5.1738005]; -}; - -_vehicle_402 = objNull; -if (true) then -{ - _this = "MAP_ruiny_kopa_big" createVehicle [1723.8173, 11768.755, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_402 = _this; - _this setDir 30.030685; - _this setPos [1723.8173, 11768.755, 1.5258789e-005]; -}; - -_vehicle_404 = objNull; -if (true) then -{ - _this = "Axe_woodblock" createVehicle [1733.6243, 11752.101, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_404 = _this; - _this setPos [1733.6243, 11752.101, 3.0517578e-005]; -}; - -_vehicle_405 = objNull; -if (true) then -{ - _this = "Land_Ind_Timbers" createVehicle [1734.9487, 11747.116, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_405 = _this; - _this setDir -50.073788; - _this setPos [1734.9487, 11747.116, 6.1035156e-005]; -}; - -_vehicle_406 = objNull; -if (true) then -{ - _this = "Land_transport_cart_EP1" createVehicle [1753.8369, 11734.076, -7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_406 = _this; - _this setDir -40.849697; - _this setPos [1753.8369, 11734.076, -7.6293945e-005]; -}; - -_vehicle_407 = objNull; -if (true) then -{ - _this = "Land_transport_cart_EP1" createVehicle [1761.5515, 11733.089, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_407 = _this; - _this setDir 58.268723; - _this setPos [1761.5515, 11733.089, 3.0517578e-005]; -}; - -_vehicle_411 = objNull; -if (true) then -{ - _this = "MAP_sara_domek_vilka_ruins" createVehicle [1726.9601, 11728.266, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_411 = _this; - _this setDir -87.186462; - _this setPos [1726.9601, 11728.266, -3.0517578e-005]; -}; - -_vehicle_412 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [1731.9874, 11728.467, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_412 = _this; - _this setPos [1731.9874, 11728.467, 1.5258789e-005]; -}; - -_vehicle_413 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [1729.1211, 11729.173, -0.00010681152]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_413 = _this; - _this setPos [1729.1211, 11729.173, -0.00010681152]; -}; - -_vehicle_414 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [1725.5961, 11729.712]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_414 = _this; - _this setPos [1725.5961, 11729.712]; -}; - -_vehicle_415 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [1727.0978, 11727.643, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_415 = _this; - _this setPos [1727.0978, 11727.643, -1.5258789e-005]; -}; - -_vehicle_416 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [1724.3705, 11729.141, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_416 = _this; - _this setPos [1724.3705, 11729.141, 7.6293945e-005]; -}; - -_vehicle_417 = objNull; -if (true) then -{ - _this = "Land_Fire_DZ" createVehicle [1730.9259, 11729.666, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_417 = _this; - _this setPos [1730.9259, 11729.666, 1.5258789e-005]; -}; - -_vehicle_418 = objNull; -if (true) then -{ - _this = "Land_Fire_DZ" createVehicle [1728.1578, 11729.909]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_418 = _this; - _this setPos [1728.1578, 11729.909]; -}; - -_vehicle_419 = objNull; -if (true) then -{ - _this = "Land_Fire_DZ" createVehicle [1727.3409, 11724.06, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_419 = _this; - _this setPos [1727.3409, 11724.06, 7.6293945e-005]; -}; - -_vehicle_420 = objNull; -if (true) then -{ - _this = "Land_Fire_barrel" createVehicle [1782.3253, 11754.595, -3.0517578e-005]; //Land_Fire_barrel_burning -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_420 = _this; - _this setPos [1782.3253, 11754.595, -3.0517578e-005]; -}; - -_vehicle_421 = objNull; -if (true) then -{ - _this = "AmmoCrates_NoInteractive_Large" createVehicle [1723.9607, 11706.66, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_421 = _this; - _this setDir -114.6309; - _this setPos [1723.9607, 11706.66, 1.5258789e-005]; -}; - -_vehicle_422 = objNull; -if (true) then -{ - _this = "AmmoCrates_NoInteractive_Medium" createVehicle [1725.2511, 11706.527, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_422 = _this; - _this setDir 36.930569; - _this setPos [1725.2511, 11706.527, 1.5258789e-005]; -}; - -_vehicle_424 = objNull; -if (true) then -{ - _this = "AmmoCrate_NoInteractive_" createVehicle [1728.3799, 11706.581, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_424 = _this; - _this setDir -161.33557; - _this setPos [1728.3799, 11706.581, 1.5258789e-005]; -}; - -_vehicle_425 = objNull; -if (true) then -{ - _this = "AmmoCrate_NoInteractive_" createVehicle [1727.4064, 11706.175, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_425 = _this; - _this setDir -18.341053; - _this setPos [1727.4064, 11706.175, -1.5258789e-005]; -}; - -_vehicle_429 = objNull; -if (true) then -{ - _this = "Land_CamoNetVar_NATO" createVehicle [1758.9871, 11706.935]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_429 = _this; - _this setDir -69.174316; - _this setPos [1758.9871, 11706.935]; -}; - -_vehicle_430 = objNull; -if (true) then -{ - _this = "Rubbish4" createVehicle [1758.5311, 11724.679, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_430 = _this; - _this setPos [1758.5311, 11724.679, 1.5258789e-005]; -}; - -_vehicle_431 = objNull; -if (true) then -{ - _this = "Rubbish5" createVehicle [1752.8125, 11721.767, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_431 = _this; - _this setDir 130.58769; - _this setPos [1752.8125, 11721.767, -3.0517578e-005]; -}; - -_vehicle_432 = objNull; -if (true) then -{ - _this = "Rubbish3" createVehicle [1764.8436, 11722.652, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_432 = _this; - _this setPos [1764.8436, 11722.652, -3.0517578e-005]; -}; - -_vehicle_433 = objNull; -if (true) then -{ - _this = "Rubbish2" createVehicle [1703.2294, 11748.844, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_433 = _this; - _this setDir -40.280521; - _this setPos [1703.2294, 11748.844, -3.0517578e-005]; -}; - -_vehicle_434 = objNull; -if (true) then -{ - _this = "Rubbish3" createVehicle [1734.4928, 11736.971, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_434 = _this; - _this setPos [1734.4928, 11736.971, -1.5258789e-005]; -}; - -_vehicle_441 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [1773.0649, 11715.46, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_441 = _this; - _this setDir 54.238064; - _this setPos [1773.0649, 11715.46, 1.5258789e-005]; -}; - -_vehicle_442 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [1777.5896, 11718.415, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_442 = _this; - _this setDir -101.74825; - _this setPos [1777.5896, 11718.415, 6.1035156e-005]; -}; - -_vehicle_443 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [1760.6509, 11720.699, -0.022119835]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_443 = _this; - _this setDir -34.465755; - _this setPos [1760.6509, 11720.699, -0.022119835]; -}; - -_vehicle_444 = objNull; -if (true) then -{ - _this = "Body1" createVehicle [1771.2118, 11719.023, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_444 = _this; - _this setDir -2.5688567; - _this setPos [1771.2118, 11719.023, 1.5258789e-005]; -}; - -_vehicle_445 = objNull; -if (true) then -{ - _this = "Body1" createVehicle [1774.1366, 11712.969, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_445 = _this; - _this setDir -2.7098234; - _this setPos [1774.1366, 11712.969, 4.5776367e-005]; -}; - -_vehicle_446 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [1776.0974, 11715.178, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_446 = _this; - _this setDir -48.150352; - _this setPos [1776.0974, 11715.178, 3.0517578e-005]; -}; - -_vehicle_447 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [1778.2152, 11711.796, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_447 = _this; - _this setDir 113.23923; - _this setPos [1778.2152, 11711.796, 9.1552734e-005]; -}; - -_vehicle_448 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [1777.3236, 11713.607, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_448 = _this; - _this setDir -160.15511; - _this setPos [1777.3236, 11713.607, 6.1035156e-005]; -}; - -_vehicle_449 = objNull; -if (true) then -{ - _this = "Body1" createVehicle [1780.332, 11713.689, 0.00010681152]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_449 = _this; - _this setPos [1780.332, 11713.689, 0.00010681152]; -}; - -_vehicle_450 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [1758.3058, 11726.226, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_450 = _this; - _this setDir -44.517025; - _this setPos [1758.3058, 11726.226, 6.1035156e-005]; -}; - -_vehicle_451 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1691.908, 11779.879, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_451 = _this; - _this setPos [1691.908, 11779.879, 0]; -}; - -_vehicle_452 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1699.468, 11783.096, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_452 = _this; - _this setPos [1699.468, 11783.096, 0]; -}; - -_vehicle_453 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1701.0255, 11791.403, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_453 = _this; - _this setPos [1701.0255, 11791.403, 6.1035156e-005]; -}; - -_vehicle_454 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1692.9945, 11788.762, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_454 = _this; - _this setPos [1692.9945, 11788.762, 4.5776367e-005]; -}; - -_vehicle_455 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1684.9795, 11775.215, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_455 = _this; - _this setPos [1684.9795, 11775.215, 1.5258789e-005]; -}; - -_vehicle_456 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1686.9609, 11784.324, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_456 = _this; - _this setPos [1686.9609, 11784.324, -1.5258789e-005]; -}; - -_vehicle_457 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1676.4802, 11778.749, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_457 = _this; - _this setPos [1676.4802, 11778.749, 6.1035156e-005]; -}; - -_vehicle_458 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1680.7467, 11783.769, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_458 = _this; - _this setPos [1680.7467, 11783.769, -1.5258789e-005]; -}; - -_vehicle_459 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1682.2053, 11767.948, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_459 = _this; - _this setPos [1682.2053, 11767.948, -1.5258789e-005]; -}; - -_vehicle_460 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1676.91, 11770.669, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_460 = _this; - _this setPos [1676.91, 11770.669, 4.5776367e-005]; -}; - -_vehicle_461 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1668.7789, 11772.893, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_461 = _this; - _this setPos [1668.7789, 11772.893, 3.0517578e-005]; -}; - -_vehicle_462 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1856.4415, 11691.763, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_462 = _this; - _this setPos [1856.4415, 11691.763, -3.0517578e-005]; -}; - -_vehicle_463 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1848.0262, 11693.281, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_463 = _this; - _this setPos [1848.0262, 11693.281, -1.5258789e-005]; -}; - -_vehicle_464 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1862.3777, 11697.473, -4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_464 = _this; - _this setPos [1862.3777, 11697.473, -4.5776367e-005]; -}; - -_vehicle_465 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1855.7241, 11698.531, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_465 = _this; - _this setPos [1855.7241, 11698.531, 4.5776367e-005]; -}; - -_vehicle_466 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1845.3132, 11701.044, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_466 = _this; - _this setPos [1845.3132, 11701.044, 6.1035156e-005]; -}; - -_vehicle_467 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1839.9762, 11695.527, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_467 = _this; - _this setPos [1839.9762, 11695.527, 7.6293945e-005]; -}; - -_vehicle_468 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1835.9882, 11701.401, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_468 = _this; - _this setPos [1835.9882, 11701.401, 6.1035156e-005]; -}; - -_vehicle_469 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1829.6879, 11704.675, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_469 = _this; - _this setPos [1829.6879, 11704.675, 3.0517578e-005]; -}; - -_vehicle_470 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1831.7963, 11697.417, -9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_470 = _this; - _this setPos [1831.7963, 11697.417, -9.1552734e-005]; -}; - -_vehicle_471 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1850.6438, 11704.818, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_471 = _this; - _this setPos [1850.6438, 11704.818, 1.5258789e-005]; -}; - -_vehicle_472 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1841.4565, 11707.11, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_472 = _this; - _this setPos [1841.4565, 11707.11, -3.0517578e-005]; -}; - -_vehicle_473 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1834.8107, 11713.058, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_473 = _this; - _this setPos [1834.8107, 11713.058, 0]; -}; - -_vehicle_474 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1844.1619, 11713.108, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_474 = _this; - _this setPos [1844.1619, 11713.108, 1.5258789e-005]; -}; - -_vehicle_475 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1858.288, 11705.881, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_475 = _this; - _this setPos [1858.288, 11705.881, 9.1552734e-005]; -}; - -_vehicle_476 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1868.3269, 11702.277, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_476 = _this; - _this setPos [1868.3269, 11702.277, -3.0517578e-005]; -}; - -_vehicle_477 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1864.3794, 11708.302, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_477 = _this; - _this setPos [1864.3794, 11708.302, 1.5258789e-005]; -}; - -_vehicle_478 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1850.5186, 11712.063, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_478 = _this; - _this setPos [1850.5186, 11712.063, 1.5258789e-005]; -}; - -_vehicle_479 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1857.1821, 11712.275, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_479 = _this; - _this setPos [1857.1821, 11712.275, 4.5776367e-005]; -}; - -_vehicle_480 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1835.2003, 11682.677, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_480 = _this; - _this setPos [1835.2003, 11682.677, -1.5258789e-005]; -}; - -_vehicle_481 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1841.9657, 11680.122]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_481 = _this; - _this setPos [1841.9657, 11680.122]; -}; - -_vehicle_482 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1847.7783, 11676.99, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_482 = _this; - _this setPos [1847.7783, 11676.99, 4.5776367e-005]; -}; - -_vehicle_483 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1854.608, 11676.529, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_483 = _this; - _this setPos [1854.608, 11676.529, 6.1035156e-005]; -}; - -_vehicle_484 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1761.8528, 11780.8, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_484 = _this; - _this setPos [1761.8528, 11780.8, -6.1035156e-005]; -}; - -_vehicle_485 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1768.349, 11784.168, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_485 = _this; - _this setPos [1768.349, 11784.168, 4.5776367e-005]; -}; - -_vehicle_486 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1763.7542, 11796.919, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_486 = _this; - _this setPos [1763.7542, 11796.919, 4.5776367e-005]; -}; - -_vehicle_487 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1776.1328, 11784.221, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_487 = _this; - _this setPos [1776.1328, 11784.221, 9.1552734e-005]; -}; - -_vehicle_488 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1770.5709, 11792.384, -7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_488 = _this; - _this setPos [1770.5709, 11792.384, -7.6293945e-005]; -}; - -_vehicle_489 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1759.3026, 11789.009, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_489 = _this; - _this setPos [1759.3026, 11789.009, -6.1035156e-005]; -}; - -_vehicle_490 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1754.4037, 11796.335, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_490 = _this; - _this setPos [1754.4037, 11796.335, -6.1035156e-005]; -}; - -_vehicle_491 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1746.2495, 11792.926, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_491 = _this; - _this setPos [1746.2495, 11792.926, 6.1035156e-005]; -}; - -_vehicle_492 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1753.4333, 11803.065, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_492 = _this; - _this setPos [1753.4333, 11803.065, -3.0517578e-005]; -}; - -_vehicle_493 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1759.913, 11802.813, 0.00016784668]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_493 = _this; - _this setPos [1759.913, 11802.813, 0.00016784668]; -}; - -_vehicle_494 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1779.2607, 11776.724, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_494 = _this; - _this setPos [1779.2607, 11776.724, 6.1035156e-005]; -}; - -_vehicle_495 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1764.5327, 11788.477, 0.0001373291]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_495 = _this; - _this setPos [1764.5327, 11788.477, 0.0001373291]; -}; - -_vehicle_496 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1741.1433, 11809.904, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_496 = _this; - _this setPos [1741.1433, 11809.904, -3.0517578e-005]; -}; - -_vehicle_497 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1693.8593, 11711.429, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_497 = _this; - _this setPos [1693.8593, 11711.429, -3.0517578e-005]; -}; - -_vehicle_498 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1697.4626, 11699.363, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_498 = _this; - _this setPos [1697.4626, 11699.363, 1.5258789e-005]; -}; - -_vehicle_499 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1696.1613, 11797.104, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_499 = _this; - _this setPos [1696.1613, 11797.104, 1.5258789e-005]; -}; - -_vehicle_500 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1685.2531, 11791.32, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_500 = _this; - _this setPos [1685.2531, 11791.32, 9.1552734e-005]; -}; - -_vehicle_501 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1672.1652, 11784.813, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_501 = _this; - _this setPos [1672.1652, 11784.813, 0.00012207031]; -}; - -_vehicle_502 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1663.6592, 11778.568, 0.00015258789]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_502 = _this; - _this setPos [1663.6592, 11778.568, 0.00015258789]; -}; - -_vehicle_503 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1767.1655, 11658.552, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_503 = _this; - _this setPos [1767.1655, 11658.552, 7.6293945e-005]; -}; - -_vehicle_504 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1764.712, 11649.983, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_504 = _this; - _this setPos [1764.712, 11649.983, -1.5258789e-005]; -}; - -_vehicle_505 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1772.953, 11652.125, 0.0001373291]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_505 = _this; - _this setPos [1772.953, 11652.125, 0.0001373291]; -}; - -_vehicle_506 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1784.0044, 11654.614, 0.0002746582]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_506 = _this; - _this setPos [1784.0044, 11654.614, 0.0002746582]; -}; - -_vehicle_507 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1791.4675, 11652.742, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_507 = _this; - _this setPos [1791.4675, 11652.742, 3.0517578e-005]; -}; - -_vehicle_508 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1704.9604, 11639.906, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_508 = _this; - _this setPos [1704.9604, 11639.906, 4.5776367e-005]; -}; - -_vehicle_509 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1697.2915, 11644.601, -4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_509 = _this; - _this setPos [1697.2915, 11644.601, -4.5776367e-005]; -}; - -_vehicle_510 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1686.9954, 11649.279, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_510 = _this; - _this setPos [1686.9954, 11649.279, 4.5776367e-005]; -}; - -_vehicle_511 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [1874.8612, 11707.525, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_511 = _this; - _this setPos [1874.8612, 11707.525, 3.0517578e-005]; -}; - -_vehicle_512 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [1877.3389, 11682.198, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_512 = _this; - _this setPos [1877.3389, 11682.198, 1.5258789e-005]; -}; - -_vehicle_513 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1881.3235, 11721.305, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_513 = _this; - _this setPos [1881.3235, 11721.305, 4.5776367e-005]; -}; - -_vehicle_514 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1884.6448, 11713.97, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_514 = _this; - _this setPos [1884.6448, 11713.97, -6.1035156e-005]; -}; - -_vehicle_515 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1877.8523, 11714.619, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_515 = _this; - _this setPos [1877.8523, 11714.619, 6.1035156e-005]; -}; - -_vehicle_516 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1874.8912, 11727.201, 0.00010681152]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_516 = _this; - _this setPos [1874.8912, 11727.201, 0.00010681152]; -}; - -_vehicle_517 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1873.2201, 11719.78, 0.00010681152]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_517 = _this; - _this setPos [1873.2201, 11719.78, 0.00010681152]; -}; - -_vehicle_518 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1872.5229, 11731.38, 0.00016784668]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_518 = _this; - _this setPos [1872.5229, 11731.38, 0.00016784668]; -}; - -_vehicle_519 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1884.8596, 11727.392, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_519 = _this; - _this setPos [1884.8596, 11727.392, 9.1552734e-005]; -}; - -_vehicle_520 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1868.6838, 11713.784, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_520 = _this; - _this setPos [1868.6838, 11713.784, 1.5258789e-005]; -}; - -_vehicle_521 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1867.6802, 11720.395, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_521 = _this; - _this setPos [1867.6802, 11720.395, 3.0517578e-005]; -}; - -_vehicle_522 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1869.1489, 11724.458, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_522 = _this; - _this setPos [1869.1489, 11724.458, 0]; -}; - -_vehicle_523 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1865.9983, 11731.604, 0.00016784668]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_523 = _this; - _this setPos [1865.9983, 11731.604, 0.00016784668]; -}; - -_vehicle_524 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1860.6592, 11667.146, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_524 = _this; - _this setPos [1860.6592, 11667.146, 3.0517578e-005]; -}; - -_vehicle_525 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1865.2036, 11658.021, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_525 = _this; - _this setPos [1865.2036, 11658.021, 4.5776367e-005]; -}; - -_vehicle_526 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1871.8246, 11661.26, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_526 = _this; - _this setPos [1871.8246, 11661.26, 6.1035156e-005]; -}; - -_vehicle_527 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1866.5234, 11673.063]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_527 = _this; - _this setPos [1866.5234, 11673.063]; -}; - -_vehicle_528 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1870.442, 11668.318, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_528 = _this; - _this setPos [1870.442, 11668.318, 6.1035156e-005]; -}; - -_vehicle_529 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1877.5996, 11658.888, 0.00016784668]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_529 = _this; - _this setPos [1877.5996, 11658.888, 0.00016784668]; -}; - -_vehicle_530 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1878.2373, 11665.856, 0.00016784668]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_530 = _this; - _this setPos [1878.2373, 11665.856, 0.00016784668]; -}; - -_vehicle_531 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1878.4214, 11672.343, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_531 = _this; - _this setPos [1878.4214, 11672.343, 0.00012207031]; -}; - -_vehicle_532 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1879.7574, 11650.737, 0.00024414063]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_532 = _this; - _this setPos [1879.7574, 11650.737, 0.00024414063]; -}; - -_vehicle_533 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1870.8713, 11653.611, 0.00016784668]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_533 = _this; - _this setPos [1870.8713, 11653.611, 0.00016784668]; -}; - -_vehicle_534 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1683.8202, 11671.608, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_534 = _this; - _this setPos [1683.8202, 11671.608, 6.1035156e-005]; -}; - -_vehicle_535 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1694.0057, 11678.759, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_535 = _this; - _this setPos [1694.0057, 11678.759, 3.0517578e-005]; -}; - -_vehicle_536 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1682.21, 11687.101, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_536 = _this; - _this setPos [1682.21, 11687.101, 3.0517578e-005]; -}; - -_vehicle_537 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1695.7676, 11688.408, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_537 = _this; - _this setPos [1695.7676, 11688.408, 9.1552734e-005]; -}; - -_vehicle_538 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1681.5935, 11697.468, -7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_538 = _this; - _this setPos [1681.5935, 11697.468, -7.6293945e-005]; -}; - -_vehicle_539 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1678.7792, 11716.734, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_539 = _this; - _this setPos [1678.7792, 11716.734, 6.1035156e-005]; -}; - -_vehicle_540 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1682.0953, 11725.604, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_540 = _this; - _this setPos [1682.0953, 11725.604, -1.5258789e-005]; -}; - -_vehicle_541 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1688.4164, 11720.368, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_541 = _this; - _this setPos [1688.4164, 11720.368, 7.6293945e-005]; -}; - -_vehicle_542 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1686.7047, 11732.851, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_542 = _this; - _this setPos [1686.7047, 11732.851, 3.0517578e-005]; -}; - -_vehicle_543 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1784.7362, 11809.722, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_543 = _this; - _this setPos [1784.7362, 11809.722, 0.00012207031]; -}; - -_vehicle_544 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1778.1505, 11818.789, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_544 = _this; - _this setPos [1778.1505, 11818.789, 3.0517578e-005]; -}; - -_vehicle_545 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1740.1563, 11708.694, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_545 = _this; - _this setPos [1740.1563, 11708.694, 6.1035156e-005]; -}; - -_vehicle_547 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [1720.7556, 11643.052, 0.00010681152]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_547 = _this; - _this setPos [1720.7556, 11643.052, 0.00010681152]; -}; - -_vehicle_1235 = objNull; -if (true) then -{ - _this = "Mi8Wreck" createVehicle [1726.4069, 11681.369, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_1235 = _this; - _this setDir -120.01289; - _this setPos [1726.4069, 11681.369, -3.0517578e-005]; -}; - -_vehicle_1237 = objNull; -if (true) then -{ - _this = "Axe_woodblock" createVehicle [1760.7675, 11721.288, -0.48907313]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_1237 = _this; - _this setDir -139.52458; - _this setPos [1760.7675, 11721.288, -0.48907313]; -}; -}; +[[ + ["MAP_asf3_12",[1984.9187,11712.01,3.0517578e-005],-87.957932], + ["MAP_asf3_0_2000",[2002.1959,11711.578,-7.6293945e-005],-88.27459], + ["MAP_asf3_6konec",[2008.3251,11711.512,-1.5258789e-005],-89.265335], + ["MAP_asf3_1_1000",[1972.451,11712.452],-87.905663], + ["MAP_asf3_10_75",[1941.998,11712.555],82.539734], + ["MAP_asf3_10_75",[1942.1244,11712.463],-96.258011], + ["MAP_asf3_15_75",[1929.1057,11712.034,3.0517578e-005],-86.258156], + ["MAP_asf3_60_10",[1893.4742,11715.37,3.0517578e-005],47.016041], + ["MAP_asf3_12",[1913.6475,11714.381],-73.279716], + ["MAP_asf3_12",[1884.4944,11706.747,1.5258789e-005],46.756504], + ["MAP_asf3_12",[1875.4884,11698.179,0.00012207031],46.532982], + ["MAP_asf3_1_1000",[1863.0055,11686.327,1.5258789e-005],45.856564], + ["MAP_asf3_60_10",[1863.1049,11686.322,-1.5258789e-005],-133.37495], + ["MAP_asf3_1_1000",[1853.6176,11683.976,-1.5258789e-005],-73.769394], + ["MAP_asf3_10_100",[1836.9906,11688.811],-73.365013], + ["MAP_pond_big_42_04",[1802.7939,11696.994,0.27322203],0], + ["MAP_R2_RockWall",[1804.7111,11673.503,-28.283916],-65.804031], + ["MAP_R2_RockWall",[1828.6597,11723.607,-24.94239],103.62435], + ["MAP_R2_RockWall",[1808.7726,11723.291,-31.437239],156.08258], + ["MAP_R2_Rock1",[1791.749,11674.111,-21.365698],33.776997], + ["MAP_Bridge_wood_25",[1805.6094,11702.166,1.5258789e-005],24.970881], + ["MAP_R2_Boulder1",[1820.0166,11698.858,-0.026716888],-102.68056], + ["MAP_R2_Boulder1",[1816.3378,11693.163,0.27310959],72.806061], + ["MAP_asf3_0_2000",[1791.3824,11708.735,-1.5258789e-005],-64.689804], + ["ClutterCutter_small_EP1",[1802.2479,11691.153,0],0], + ["ClutterCutter_EP1",[1807.9299,11693.847,1.5258789e-005],0], + ["ClutterCutter_small_EP1",[1788.1415,11710.126,3.0517578e-005],0], + ["ClutterCutter_EP1",[1824.0846,11692.684,3.0517578e-005],0], + ["MAP_asf3_1_1000",[1775.7607,11716.232,-4.5776367e-005],-63.971947], + ["MAP_asf3_1_1000",[1760.2611,11723.933,3.0517578e-005],-62.566067], + ["MAP_asf3_1_1000",[1744.8807,11732.19,6.1035156e-005],-62.272873], + ["MAP_asf3_1_1000",[1729.678,11740.413],-60.928402], + ["MAP_asf3_6konec",[1709.1453,11752.14,-4.5776367e-005],119.6788], + ["MAP_R_HouseV_2L",[1723.8802,11762.272,-19.685225],-58.260632], + ["MAP_R_HouseV2_03B",[1698.0996,11759.021,-3.0517578e-005],29.547768], + ["MAP_Barn_W_02_ruins",[1707.6729,11729.523,0.00019836426],121.25789], + ["MAP_Shed_M02_ruins",[1779.2935,11721.693,7.6293945e-005],37.449184], + ["MAP_Shed_M01_ruins",[1747.9758,11721.98],30.947336], + ["UralWreck",[1792.848,11699.03,0.00018310547],-34.449684], + ["HMMWVWreck",[1771.1575,11715.51,1.5258789e-005],93.814789], + ["MAP_Farm_Cowshed_a",[1728.5366,11725.269,0.00022888184],93.851532], + ["Land_Ind_SawMill",[1747.4368,11757.14,9.1552734e-005],30.271875], + ["Land_Ind_SawMillPen",[1764.7755,11744.41,3.0517578e-005],31.224991], + ["Land_Ind_Workshop01_01",[1880.9644,11690.132,3.0517578e-005],316.25232], + ["MASH_EP1",[1750.0703,11701.407,7.6293945e-005],-304.14282], + ["MASH_EP1",[1746.2828,11706.929,7.6293945e-005],56.605083], + ["CampEast",[1755.4991,11693.352,0.00019836426],208.48862], + ["CampEast",[1763.5485,11688.976,-3.0517578e-005],208.972], + ["Misc_Cargo1Bo_military",[1769.1373,11702.974,3.0517578e-005],90.935242], + ["Body",[1757.7006,11736.37,3.0517578e-005],0], + ["Body",[1759.0682,11736.326,1.5258789e-005],0], + ["Body",[1760.723,11736.299,-1.5258789e-005],0], + ["Body",[1762.4061,11736.274,1.5258789e-005],0], + ["Body",[1759.105,11739.66,1.5258789e-005],0], + ["Body",[1760.6445,11739.379,-3.0517578e-005],0], + ["Body",[1762.3646,11739.411,-1.5258789e-005],0], + ["Body",[1764.2596,11739.04,-1.5258789e-005],0], + ["Body",[1760.6523,11742.989,1.5258789e-005],0], + ["Body",[1762.4423,11742.709,1.5258789e-005],0], + ["Body",[1764.2177,11742.704,-1.5258789e-005],0], + ["Body",[1766.0786,11742.517,1.5258789e-005],0], + ["Body",[1762.5627,11746.312],0], + ["Body",[1764.3641,11746.244,-3.0517578e-005],0], + ["Body",[1766.1538,11746.084],0], + ["Body",[1768.0387,11745.889],0], + ["Body",[1770.2762,11749.419,-6.1035156e-005],0], + ["Body",[1768.114,11749.472,3.0517578e-005],0], + ["Body",[1766.2771,11749.629,1.5258789e-005],0], + ["Body",[1764.4037,11749.53,-3.0517578e-005],0], + ["Body",[1724.1654,11737.608,0.00010681152],29.616356], + ["Body",[1722.9143,11738.433,0.00012207031],25.478025], + ["Body",[1721.5681,11739.186,0.0001373291],26.433308], + ["Body",[1720.2083,11740.069,0.0001373291],29.268167], + ["Body",[1725.4467,11736.869,1.5258789e-005],28.882954], + ["Body",[1726.9121,11736.062,7.6293945e-005],30.537571], + ["Body",[1728.3807,11735.187,0.00021362305],27.741898], + ["AmmoCrates_NoInteractive_Large",[1753.5286,11712.48,4.5776367e-005],0], + ["AmmoCrates_NoInteractive_Medium",[1754.4924,11713.708,4.5776367e-005],-108.6438], + ["Land_fort_bagfence_long",[1769.6257,11683.91,6.1035156e-005],-66.487633], + ["Land_fort_bagfence_long",[1770.8148,11686.578,7.6293945e-005],-64.527924], + ["Land_fort_bagfence_long",[1772.084,11689.342,9.1552734e-005],-66.378868], + ["Land_fort_bagfence_long",[1773.2328,11692.024,0.00018310547],-67.031334], + ["Land_fort_bagfence_long",[1774.3792,11694.753,7.6293945e-005],-67.347664], + ["Land_fort_bagfence_long",[1775.4854,11697.461,-1.5258789e-005],-68.176559], + ["Land_fort_bagfence_long",[1776.6003,11700.206,1.5258789e-005],-68.824898], + ["Land_fort_bagfence_long",[1777.7183,11702.917,0.00012207031],-68.663048], + ["Land_fort_bagfence_long",[1778.8997,11705.713,4.5776367e-005],-67.856056], + ["Land_fort_bagfence_long",[1780.0229,11708.425,0.00016784668],-67.61171], + ["Land_fort_bagfence_long",[1783.9249,11717.544,0.0001373291],-66.749901], + ["Land_fort_bagfence_long",[1785.0416,11720.148,0.00010681152],-67.153412], + ["Land_fort_bagfence_long",[1786.2275,11722.918,0.0001373291],-67.444763], + ["Land_fort_bagfence_corner",[1786.5177,11726.571,9.1552734e-005],201.91515], + ["Land_fort_bagfence_corner",[1767.8385,11681.27,4.5776367e-005],-67.489479], + ["Fort_RazorWire",[1786.0699,11719.021,-3.0517578e-005],-66.315384], + ["Fort_RazorWire",[1779.7745,11703.974,4.5776367e-005],-66.543167], + ["Fort_RazorWire",[1776.6421,11696.184,-1.5258789e-005],-68.657242], + ["MAP_R2_RockWall",[1734.8632,11659.609,-17.923616],-199.58272], + ["MAP_R2_RockWall",[1719.538,11803.077,-19.767447],0], + ["MAP_t_picea3f",[1708.0996,11712.291,7.6293945e-005],0], + ["MAP_t_picea2s",[1708.0406,11707.755,0.00010681152],0], + ["MAP_t_picea2s",[1701.1199,11712.554,-1.5258789e-005],0], + ["MAP_t_picea2s",[1699.3159,11705.964,0.00012207031],0], + ["MAP_t_picea2s",[1703.9541,11698.854,3.0517578e-005],0], + ["MAP_t_picea2s",[1730.8362,11785.251,6.1035156e-005],0], + ["MAP_t_picea2s",[1721.535,11782.772],0], + ["MAP_t_picea2s",[1711.4562,11788.058,0.00016784668],0], + ["MAP_t_picea2s",[1715.343,11778.118,6.1035156e-005],0], + ["MAP_t_picea2s",[1748.7883,11809.227,0.00012207031],0], + ["MAP_t_picea2s",[1769.0259,11766.633,1.5258789e-005],0], + ["MAP_t_picea2s",[1765.6106,11773.438,0.00018310547],0], + ["MAP_t_picea2s",[1776.5638,11770.77,0.00010681152],0], + ["MAP_t_picea2s",[1777.7548,11761.786,0.00010681152],0], + ["MAP_t_picea2s",[1783.1877,11767.782,3.0517578e-005],0], + ["MAP_t_picea2s",[1786.0691,11760.089,3.0517578e-005],0], + ["MAP_t_picea2s",[1796.0404,11730.627,4.5776367e-005],0], + ["MAP_t_picea2s",[1788.6328,11731.446,0.00010681152],0], + ["MAP_t_picea2s",[1801.8285,11734.453,0.00016784668],0], + ["MAP_t_picea2s",[1794.614,11736.238,6.1035156e-005],0], + ["MAP_t_picea2s",[1822.1718,11681.094,3.0517578e-005],0], + ["MAP_t_picea2s",[1822.657,11686.977,0],0], + ["MAP_t_picea2s",[1828.8997,11680.479,7.6293945e-005],0], + ["MAP_t_picea2s",[1759.1609,11657.606,7.6293945e-005],0], + ["MAP_t_picea2s",[1749.874,11656.442,6.1035156e-005],0], + ["MAP_t_picea2s",[1757.594,11668.55,0.00018310547],0], + ["MAP_t_picea2s",[1762.1592,11665.067,3.0517578e-005],0], + ["MAP_t_picea2s",[1763.4108,11673.655,0.00012207031],0], + ["MAP_t_picea2s",[1767.9163,11670.904,7.6293945e-005],0], + ["MAP_t_picea2s",[1768.2374,11665.728,9.1552734e-005],0], + ["MAP_t_picea2s",[1770.4441,11677.615,-1.5258789e-005],0], + ["MAP_t_picea2s",[1712.1829,11667.416,9.1552734e-005],0], + ["MAP_t_picea2s",[1706.2999,11668.541,0.00022888184],0], + ["MAP_t_picea2s",[1706.8826,11676.414,0.00018310547],0], + ["MAP_t_picea2s",[1701.1501,11671.833,4.5776367e-005],0], + ["MAP_t_picea2s",[1700.7295,11665.481,0.00015258789],0], + ["MAP_t_picea2s",[1706.9185,11661.559,0.00022888184],0], + ["MAP_t_picea2s",[1743.3141,11648.917,4.5776367e-005],0], + ["MAP_t_picea2s",[1750.1553,11649.468,3.0517578e-005],0], + ["MAP_t_picea2s",[1758.0492,11649.808,0.00016784668],0], + ["MAP_t_picea2s",[1794.7102,11664.943,0.00010681152],0], + ["MAP_t_picea2s",[1796.1796,11658.953,9.1552734e-005],0], + ["MAP_t_picea2s",[1788.369,11659.815,0.00016784668],0], + ["MAP_t_picea2s",[1828.9491,11674.704,3.0517578e-005],0], + ["MAP_t_picea2s",[1835.6296,11676.209,7.6293945e-005],0], + ["MAP_t_picea2s",[1836.6669,11668.347,6.1035156e-005],0], + ["MAP_t_picea2s",[1841.505,11673.708,0.0001373291],0], + ["MAP_t_picea2s",[1847.2189,11668.215,6.1035156e-005],0], + ["MAP_t_picea3f",[1875.011,11684.652,1.5258789e-005],0], + ["MAP_t_picea3f",[1869.9547,11681.963,7.6293945e-005],0], + ["MAP_t_picea3f",[1875.72,11677.441,-3.0517578e-005],0], + ["Land_Fire_DZ",[1689.3069,11754.54,-4.5776367e-005],0], + ["Land_Camp_Fire_DZ",[1698.0286,11751.336,9.1552734e-005],0], + ["Land_Camp_Fire_DZ",[1700.7842,11732.964,4.5776367e-005],0], + ["Land_Camp_Fire_DZ",[1713.9777,11724.616],0], + ["Land_Camp_Fire_DZ",[1709.389,11727.408,1.5258789e-005],0], + ["Land_Camp_Fire_DZ",[1705.9205,11728.884,-9.1552734e-005],0], + ["Land_Camp_Fire_DZ",[1746.264,11721.658],0], + ["Land_Camp_Fire_DZ",[1704.9423,11761.148,3.0517578e-005],0], + ["Land_Camp_Fire_DZ",[1693.145,11750.366,-1.5258789e-005],0], + ["Fort_Barricade",[1785.677,11711.391],-70.637123], + ["MAP_plot_zed_drevo1",[1707.9996,11747.64,6.1035156e-005],-59.406433], + ["MAP_plot_zed_drevo3",[1710.6086,11764.796,7.6293945e-005],29.27306], + ["MAP_plot_zed_drevo_sloupek",[1711.0493,11764.675,9.1552734e-005],29.301178], + ["MAP_plot_zed_drevo1_branka",[1710.2302,11751.818],120.98058], + ["MAP_plot_zed_drevo1",[1712.1309,11755.127,6.1035156e-005],120.6221], + ["MAP_plot_zed_drevo1",[1714.1527,11758.39,4.5776367e-005],121.63365], + ["MAP_plot_zed_drevo_sloupek",[1702.861,11745.85,-4.5776367e-005],30.580776], + ["MAP_plot_zboreny",[1712.3214,11764.05,-1.5258789e-005],209.23892], + ["MAP_plot_zed_drevo1",[1716.087,11761.622,4.5776367e-005],121.37959], + ["MAP_plot_zed_drevo1",[1706.1078,11744.326,3.0517578e-005],-59.787006], + ["MAP_plot_zed_drevo3",[1705.6776,11744.141,4.5776367e-005],30.628857], + ["Land_Misc_Garb_Heap_EP1",[1709.4761,11743.834,0.0001373291],0], + ["Garbage_container",[1709.2693,11742.217,9.1552734e-005],0], + ["Garbage_container",[1711.2416,11742.056,3.0517578e-005],-90.763466], + ["Land_Misc_IronPipes_EP1",[1752.5741,11744.548,3.0517578e-005],-22.570091], + ["Paleta2",[1731.0017,11741.056,3.0517578e-005],-14.452979], + ["Pile_of_wood",[1737.0198,11752.13,4.5776367e-005],28.837755], + ["Land_Ind_TankSmall",[1734.4464,11719.356,4.5776367e-005],94.121185], + ["Land_Table_EP1",[1710.5129,11759.646,0.0001373291],-86.252785], + ["Land_Bench_EP1",[1709.86,11758.041,9.1552734e-005],-59.123962], + ["FoldTable",[1758.9523,11706.042,6.1035156e-005],-66.983597], + ["FoldChair",[1757.2609,11705.792,0.00012207031],-89.222832], + ["FoldChair",[1757.9318,11707.078,3.0517578e-005],-48.781147], + ["FoldChair",[1760.4084,11706.505,9.1552734e-005],98.154198], + ["FoldChair",[1758.212,11704.379,0.00018310547],205.50815], + ["Land_Bag_EP1",[1755.3564,11712.34,0.00018310547],0], + ["Land_Shed_M01",[1771.2965,11756.081,0.00015258789],32.618229], + ["Land_fort_artillery_nest",[1795.4894,11750.955,-0.27388555],72.356056], + ["MAP_b_pmugo",[1798.3049,11744.786],0], + ["MAP_b_craet2",[1792.3464,11757.987,3.0517578e-005],-18.898199], + ["MAP_b_craet1",[1795.364,11757.459,-3.0517578e-005],0], + ["MAP_b_craet2",[1795.6638,11741.604,1.5258789e-005],-44.770836], + ["MAP_b_pmugo",[1799.016,11753.596,-3.0517578e-005],0], + ["MAP_b_pmugo",[1799.3264,11747.723,-1.5258789e-005],-135.60785], + ["MAP_b_pmugo",[1799.2179,11745.7,1.5258789e-005],0], + ["MAP_b_pmugo",[1800.3281,11746.753],-77.773277], + ["MAP_b_corylus2s",[1736.3763,11702.939],-36.332321], + ["MAP_b_corylus2s",[1698.1608,11743.954,-1.5258789e-005],0], + ["MAP_b_corylus2s",[1693.4736,11739.703,-6.1035156e-005],0], + ["MAP_b_corylus2s",[1826.6665,11701.473,6.1035156e-005],0], + ["MAP_b_corylus",[1830.8893,11714.203,1.5258789e-005],0], + ["Rubbish1",[1768.0225,11696.404,-3.0517578e-005],0], + ["AmmoCrates_NoInteractive_Large",[1771.0812,11695.067,6.1035156e-005],0], + ["AmmoCrates_NoInteractive_Large",[1789.9847,11753.014,7.6293945e-005],-148.08163], + ["AmmoCrates_NoInteractive_Medium",[1791.7251,11752.817,3.0517578e-005],-28.609703], + ["AmmoCrates_NoInteractive_Small",[1790.5393,11751.663,4.5776367e-005],0], + ["Barrels",[1784.3082,11752.366,3.0517578e-005],0], + ["Land_Misc_Cargo2E_EP1",[1769.6725,11734.484,-6.1035156e-005],17.811895], + ["Notice_board_EP1",[1759.0591,11708.798,3.0517578e-005],-17.506258], + ["Paleta2",[1788.1893,11742.232,3.0517578e-005],0], + ["Land_Misc_Cargo1E_EP1",[1772.9535,11734.484],13.032956], + ["Misc_Cargo1B_military",[1773.1691,11739.554,6.1035156e-005],-70.169487], + ["MAP_t_picea2s",[1818.3773,11734.924,3.0517578e-005],0], + ["MAP_t_picea2s",[1811.2561,11737.608,6.1035156e-005],0], + ["MAP_t_picea2s",[1815.5593,11668.482,7.6293945e-005],0], + ["MAP_t_picea2s",[1821.8439,11672.263,1.5258789e-005],0], + ["MAP_t_picea2s",[1775.0565,11659.313,7.6293945e-005],0], + ["MAP_t_picea2s",[1778.6378,11668.132,0],0], + ["MAP_t_picea2s",[1782.369,11662.898,1.5258789e-005],0], + ["MAP_t_picea2s",[1776.2426,11673.526,1.5258789e-005],0], + ["MAP_t_picea1s",[1781.9351,11673.039,-1.5258789e-005],0], + ["MAP_t_picea1s",[1785.3544,11668.778,0.0001373291],0], + ["MAP_t_picea1s",[1716.2144,11698.987,3.0517578e-005],0], + ["MAP_t_picea1s",[1715.2286,11695.379,-3.0517578e-005],0], + ["MAP_t_picea1s",[1719.2367,11695.09,-1.5258789e-005],0], + ["MAP_t_picea1s",[1817.7792,11644.645,-6.1035156e-005],0], + ["MAP_t_picea1s",[1826.9309,11644.036,7.6293945e-005],0], + ["MAP_t_picea1s",[1819.8135,11650.418,1.5258789e-005],0], + ["MAP_t_picea2s",[1805.455,11655.158,-7.6293945e-005],0], + ["MAP_t_picea2s",[1811.9998,11658.955,0],0], + ["MAP_t_picea2s",[1813.3572,11650.894,6.1035156e-005],0], + ["MAP_t_picea2s",[1818.2813,11657.446,3.0517578e-005],0], + ["MAP_t_picea2s",[1820.9965,11664.805,0],0], + ["MAP_t_picea2s",[1806.1724,11647.095,-1.5258789e-005],0], + ["MAP_t_picea2s",[1799.3335,11651.37,3.0517578e-005],0], + ["MAP_t_picea2s",[1828.424,11666.68,7.6293945e-005],0], + ["MAP_t_picea2s",[1827.1429,11658.434,-1.5258789e-005],0], + ["MAP_t_picea2s",[1834.257,11660.806,7.6293945e-005],0], + ["MAP_t_picea2s",[1842.5028,11664.276,-6.1035156e-005],0], + ["MAP_t_picea2s",[1853.5725,11670.329,6.1035156e-005],0], + ["MAP_t_picea2s",[1852.7408,11663.604,0],0], + ["MAP_t_picea2s",[1846.7953,11659.949,0],0], + ["MAP_t_picea2s",[1839.5594,11656.809,1.5258789e-005],0], + ["MAP_t_picea2s",[1699.8507,11657.333,-3.0517578e-005],0], + ["MAP_t_picea2s",[1693.0599,11668.095,3.0517578e-005],0], + ["MAP_t_picea2s",[1692.6597,11660.395,7.6293945e-005],0], + ["MAP_t_picea2s",[1685.8239,11664.753,7.6293945e-005],0], + ["MAP_t_picea2s",[1685.7426,11656.082,0],0], + ["MAP_t_picea2s",[1694.1979,11651.563,0],0], + ["MAP_t_picea2s",[1702.875,11648.814,0],0], + ["MAP_t_picea2s",[1712.1531,11643.84,3.0517578e-005],0], + ["MAP_t_picea2s",[1731.766,11648.952,6.1035156e-005],0], + ["MAP_t_picea2s",[1772.4023,11777.735,3.0517578e-005],0], + ["UralWreck",[1732.5569,11695.86,-7.6293945e-005],107.07949], + ["Body2",[1741.5575,11735.501],-79.108429], + ["Body2",[1782.0217,11715.149,9.1552734e-005],0], + ["Body1",[1777.9645,11715.237,0],0], + ["Body2",[1781.8473,11712.026,7.6293945e-005],-123.27325], + ["Body1",[1753.484,11726.446,3.0517578e-005],0], + ["Body2",[1711.7731,11749.046,0.00012207031],22.487579], + ["Body1",[1725.6572,11742.825,0.00030517578],0], + ["Body2",[1719.2198,11748.196,7.6293945e-005],-102.5114], + ["Body2",[1754.0944,11715.765],104.09085], + ["Body1",[1768.7404,11717.692,0.00012207031],-92.47834], + ["Body2",[1772.468,11717.166,9.1552734e-005],154.51218], + ["Body1",[1751.5055,11717.046,9.1552734e-005],0], + ["USMC_WarfareBVehicleServicePoint",[1742.7795,11678.495,-3.0517578e-005],93.374069], + ["UralWreck",[1730.3744,11758.889,1.5258789e-005],-162.58514], + ["Hanged_MD",[1740.3192,11710.013,2.841176],-161.32813], + ["Hanged",[1890.8689,11707.069,5.25244],0], + ["Hanged",[1885.812,11699.524,5.1738005],139.2079], + ["MAP_ruiny_kopa_big",[1723.8173,11768.755,1.5258789e-005],30.030685], + ["Axe_woodblock",[1733.6243,11752.101,3.0517578e-005],0], + ["Land_Ind_Timbers",[1734.9487,11747.116,6.1035156e-005],-50.073788], + ["Land_transport_cart_EP1",[1753.8369,11734.076,-7.6293945e-005],-40.849697], + ["Land_transport_cart_EP1",[1761.5515,11733.089,3.0517578e-005],58.268723], + ["MAP_sara_domek_vilka_ruins",[1726.9601,11728.266,-3.0517578e-005],-87.186462], + ["Land_Camp_Fire_DZ",[1731.9874,11728.467,1.5258789e-005],0], + ["Land_Camp_Fire_DZ",[1729.1211,11729.173,-0.00010681152],0], + ["Land_Camp_Fire_DZ",[1725.5961,11729.712],0], + ["Land_Camp_Fire_DZ",[1727.0978,11727.643,-1.5258789e-005],0], + ["Land_Camp_Fire_DZ",[1724.3705,11729.141,7.6293945e-005],0], + ["Land_Fire_DZ",[1730.9259,11729.666,1.5258789e-005],0], + ["Land_Fire_DZ",[1728.1578,11729.909],0], + ["Land_Fire_DZ",[1727.3409,11724.06,7.6293945e-005],0], + ["Land_Fire_barrel",[1782.3253,11754.595,-3.0517578e-005],0], + ["AmmoCrates_NoInteractive_Large",[1723.9607,11706.66,1.5258789e-005],-114.6309], + ["AmmoCrates_NoInteractive_Medium",[1725.2511,11706.527,1.5258789e-005],36.930569], + ["AmmoCrate_NoInteractive_",[1728.3799,11706.581,1.5258789e-005],-161.33557], + ["AmmoCrate_NoInteractive_",[1727.4064,11706.175,-1.5258789e-005],-18.341053], + ["Land_CamoNetVar_NATO",[1758.9871,11706.935],-69.174316], + ["Rubbish4",[1758.5311,11724.679,1.5258789e-005],0], + ["Rubbish5",[1752.8125,11721.767,-3.0517578e-005],130.58769], + ["Rubbish3",[1764.8436,11722.652,-3.0517578e-005],0], + ["Rubbish2",[1703.2294,11748.844,-3.0517578e-005],-40.280521], + ["Rubbish3",[1734.4928,11736.971,-1.5258789e-005],0], + ["Body2",[1773.0649,11715.46,1.5258789e-005],54.238064], + ["Body2",[1777.5896,11718.415,6.1035156e-005],-101.74825], + ["Body2",[1760.6509,11720.699,-0.022119835],-34.465755], + ["Body1",[1771.2118,11719.023,1.5258789e-005],-2.5688567], + ["Body1",[1774.1366,11712.969,4.5776367e-005],-2.7098234], + ["Body2",[1776.0974,11715.178,3.0517578e-005],-48.150352], + ["Body2",[1778.2152,11711.796,9.1552734e-005],113.23923], + ["Body2",[1777.3236,11713.607,6.1035156e-005],-160.15511], + ["Body1",[1780.332,11713.689,0.00010681152],0], + ["Body2",[1758.3058,11726.226,6.1035156e-005],-44.517025], + ["MAP_t_picea2s",[1691.908,11779.879,0],0], + ["MAP_t_picea2s",[1699.468,11783.096,0],0], + ["MAP_t_picea2s",[1701.0255,11791.403,6.1035156e-005],0], + ["MAP_t_picea2s",[1692.9945,11788.762,4.5776367e-005],0], + ["MAP_t_picea2s",[1684.9795,11775.215,1.5258789e-005],0], + ["MAP_t_picea2s",[1686.9609,11784.324,-1.5258789e-005],0], + ["MAP_t_picea2s",[1676.4802,11778.749,6.1035156e-005],0], + ["MAP_t_picea2s",[1680.7467,11783.769,-1.5258789e-005],0], + ["MAP_t_picea2s",[1682.2053,11767.948,-1.5258789e-005],0], + ["MAP_t_picea2s",[1676.91,11770.669,4.5776367e-005],0], + ["MAP_t_picea2s",[1668.7789,11772.893,3.0517578e-005],0], + ["MAP_t_picea2s",[1856.4415,11691.763,-3.0517578e-005],0], + ["MAP_t_picea2s",[1848.0262,11693.281,-1.5258789e-005],0], + ["MAP_t_picea2s",[1862.3777,11697.473,-4.5776367e-005],0], + ["MAP_t_picea2s",[1855.7241,11698.531,4.5776367e-005],0], + ["MAP_t_picea2s",[1845.3132,11701.044,6.1035156e-005],0], + ["MAP_t_picea2s",[1839.9762,11695.527,7.6293945e-005],0], + ["MAP_t_picea2s",[1835.9882,11701.401,6.1035156e-005],0], + ["MAP_t_picea2s",[1829.6879,11704.675,3.0517578e-005],0], + ["MAP_t_picea2s",[1831.7963,11697.417,-9.1552734e-005],0], + ["MAP_t_picea2s",[1850.6438,11704.818,1.5258789e-005],0], + ["MAP_t_picea2s",[1841.4565,11707.11,-3.0517578e-005],0], + ["MAP_t_picea2s",[1834.8107,11713.058,0],0], + ["MAP_t_picea2s",[1844.1619,11713.108,1.5258789e-005],0], + ["MAP_t_picea2s",[1858.288,11705.881,9.1552734e-005],0], + ["MAP_t_picea2s",[1868.3269,11702.277,-3.0517578e-005],0], + ["MAP_t_picea2s",[1864.3794,11708.302,1.5258789e-005],0], + ["MAP_t_picea2s",[1850.5186,11712.063,1.5258789e-005],0], + ["MAP_t_picea2s",[1857.1821,11712.275,4.5776367e-005],0], + ["MAP_t_picea2s",[1835.2003,11682.677,-1.5258789e-005],0], + ["MAP_t_picea2s",[1841.9657,11680.122],0], + ["MAP_t_picea2s",[1847.7783,11676.99,4.5776367e-005],0], + ["MAP_t_picea2s",[1854.608,11676.529,6.1035156e-005],0], + ["MAP_t_picea2s",[1761.8528,11780.8,-6.1035156e-005],0], + ["MAP_t_picea2s",[1768.349,11784.168,4.5776367e-005],0], + ["MAP_t_picea2s",[1763.7542,11796.919,4.5776367e-005],0], + ["MAP_t_picea2s",[1776.1328,11784.221,9.1552734e-005],0], + ["MAP_t_picea2s",[1770.5709,11792.384,-7.6293945e-005],0], + ["MAP_t_picea2s",[1759.3026,11789.009,-6.1035156e-005],0], + ["MAP_t_picea2s",[1754.4037,11796.335,-6.1035156e-005],0], + ["MAP_t_picea2s",[1746.2495,11792.926,6.1035156e-005],0], + ["MAP_t_picea2s",[1753.4333,11803.065,-3.0517578e-005],0], + ["MAP_t_picea2s",[1759.913,11802.813,0.00016784668],0], + ["MAP_t_picea2s",[1779.2607,11776.724,6.1035156e-005],0], + ["MAP_t_picea2s",[1764.5327,11788.477,0.0001373291],0], + ["MAP_t_picea2s",[1741.1433,11809.904,-3.0517578e-005],0], + ["MAP_t_picea2s",[1693.8593,11711.429,-3.0517578e-005],0], + ["MAP_t_picea2s",[1697.4626,11699.363,1.5258789e-005],0], + ["MAP_t_picea2s",[1696.1613,11797.104,1.5258789e-005],0], + ["MAP_t_picea2s",[1685.2531,11791.32,9.1552734e-005],0], + ["MAP_t_picea2s",[1672.1652,11784.813,0.00012207031],0], + ["MAP_t_picea2s",[1663.6592,11778.568,0.00015258789],0], + ["MAP_t_picea2s",[1767.1655,11658.552,7.6293945e-005],0], + ["MAP_t_picea2s",[1764.712,11649.983,-1.5258789e-005],0], + ["MAP_t_picea2s",[1772.953,11652.125,0.0001373291],0], + ["MAP_t_picea2s",[1784.0044,11654.614,0.0002746582],0], + ["MAP_t_picea2s",[1791.4675,11652.742,3.0517578e-005],0], + ["MAP_t_picea2s",[1704.9604,11639.906,4.5776367e-005],0], + ["MAP_t_picea2s",[1697.2915,11644.601,-4.5776367e-005],0], + ["MAP_t_picea2s",[1686.9954,11649.279,4.5776367e-005],0], + ["MAP_t_picea2s",[1874.8612,11707.525,3.0517578e-005],0], + ["MAP_t_picea1s",[1877.3389,11682.198,1.5258789e-005],0], + ["MAP_t_picea3f",[1881.3235,11721.305,4.5776367e-005],0], + ["MAP_t_picea3f",[1884.6448,11713.97,-6.1035156e-005],0], + ["MAP_t_picea3f",[1877.8523,11714.619,6.1035156e-005],0], + ["MAP_t_picea3f",[1874.8912,11727.201,0.00010681152],0], + ["MAP_t_picea3f",[1873.2201,11719.78,0.00010681152],0], + ["MAP_t_picea3f",[1872.5229,11731.38,0.00016784668],0], + ["MAP_t_picea3f",[1884.8596,11727.392,9.1552734e-005],0], + ["MAP_t_picea3f",[1868.6838,11713.784,1.5258789e-005],0], + ["MAP_t_picea3f",[1867.6802,11720.395,3.0517578e-005],0], + ["MAP_t_picea3f",[1869.1489,11724.458,0],0], + ["MAP_t_picea3f",[1865.9983,11731.604,0.00016784668],0], + ["MAP_t_picea3f",[1860.6592,11667.146,3.0517578e-005],0], + ["MAP_t_picea3f",[1865.2036,11658.021,4.5776367e-005],0], + ["MAP_t_picea3f",[1871.8246,11661.26,6.1035156e-005],0], + ["MAP_t_picea3f",[1866.5234,11673.063],0], + ["MAP_t_picea3f",[1870.442,11668.318,6.1035156e-005],0], + ["MAP_t_picea3f",[1877.5996,11658.888,0.00016784668],0], + ["MAP_t_picea3f",[1878.2373,11665.856,0.00016784668],0], + ["MAP_t_picea3f",[1878.4214,11672.343,0.00012207031],0], + ["MAP_t_picea3f",[1879.7574,11650.737,0.00024414063],0], + ["MAP_t_picea3f",[1870.8713,11653.611,0.00016784668],0], + ["MAP_t_picea3f",[1683.8202,11671.608,6.1035156e-005],0], + ["MAP_t_picea3f",[1694.0057,11678.759,3.0517578e-005],0], + ["MAP_t_picea3f",[1682.21,11687.101,3.0517578e-005],0], + ["MAP_t_picea3f",[1695.7676,11688.408,9.1552734e-005],0], + ["MAP_t_picea3f",[1681.5935,11697.468,-7.6293945e-005],0], + ["MAP_t_picea3f",[1678.7792,11716.734,6.1035156e-005],0], + ["MAP_t_picea3f",[1682.0953,11725.604,-1.5258789e-005],0], + ["MAP_t_picea3f",[1688.4164,11720.368,7.6293945e-005],0], + ["MAP_t_picea3f",[1686.7047,11732.851,3.0517578e-005],0], + ["MAP_t_picea3f",[1784.7362,11809.722,0.00012207031],0], + ["MAP_t_picea3f",[1778.1505,11818.789,3.0517578e-005],0], + ["MAP_t_picea3f",[1740.1563,11708.694,6.1035156e-005],0], + ["MAP_t_picea3f",[1720.7556,11643.052,0.00010681152],0], + ["Mi8Wreck",[1726.4069,11681.369,-3.0517578e-005],-120.01289], + ["Axe_woodblock",[1760.7675,11721.288,-0.48907313],-139.52458] +],false,false,false] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/ElektroWells.sqf b/SQF/dayz_code/system/mission/chernarus/poi/ElektroWells.sqf new file mode 100644 index 00000000..7815d489 --- /dev/null +++ b/SQF/dayz_code/system/mission/chernarus/poi/ElektroWells.sqf @@ -0,0 +1,539 @@ +//This spawns in two wells in Elektro as well as a green house on lower sniper hill at the dirt road to Rog. +//Created by Nox 2017-02-01. Contact: DayZ Europa, Dayz mod discord +//Copyright by the DayZ Mod dev team. + +_vehicle_28 = objNull; +if (true) then +{ + _this = "MAP_HouseV_2T2" createVehicle [10623.161, 2599.4487, 7.6293945e-005]; + _vehicle_28 = _this; + _this setDir 88.551949; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [10623.161, 2599.4487, 7.6293945e-005]; +}; + +_vehicle_32 = objNull; +if (true) then +{ + _this = "MAP_ChickenCoop" createVehicle [10611.418, 2582.3755, -8.2015991e-005]; + _vehicle_32 = _this; + _this setDir 181.03934; + _this setPos [10611.418, 2582.3755, -8.2015991e-005]; +}; + +_vehicle_33 = objNull; +if (true) then +{ + _this = "MAP_Misc_Greenhouse" createVehicle [10623.472, 2585.0713, -3.8146973e-006]; + _vehicle_33 = _this; + _this setPos [10623.472, 2585.0713, -3.8146973e-006]; +}; + +_vehicle_34 = objNull; +if (true) then +{ + _this = "MAP_Misc_Hutch" createVehicle [10628.571, 2601.7544, -1.9073486e-005]; + _vehicle_34 = _this; + _this setDir -91.914413; + _this setPos [10628.571, 2601.7544, -1.9073486e-005]; +}; + +_vehicle_35 = objNull; +if (true) then +{ + _this = "MAP_Misc_PostBox" createVehicle [10623.554, 2614.3904, 3.8146973e-005]; + _vehicle_35 = _this; + _this setDir 114.68156; + _this setPos [10623.554, 2614.3904, 3.8146973e-005]; +}; + +_vehicle_40 = objNull; +if (true) then +{ + _this = "MAP_pumpa" createVehicle [10613.875, 2613.0627]; + _vehicle_40 = _this; + _this setPos [10613.875, 2613.0627]; +}; + +_vehicle_42 = objNull; +if (true) then +{ + _this = "MAP_pumpa" createVehicle [10096.161, 1894.1038, 3.0517578e-005]; + _vehicle_42 = _this; + _this setPos [10096.161, 1894.1038, 3.0517578e-005]; +}; + +_vehicle_62 = objNull; +if (true) then +{ + _this = "MAP_pumpkin2" createVehicle [10625.773, 2585.8005, -0.0001411438]; + _vehicle_62 = _this; + _this setPos [10625.773, 2585.8005, -0.0001411438]; +}; + +_vehicle_63 = objNull; +if (true) then +{ + _this = "MAP_pumpkin" createVehicle [10626.128, 2584.4221, 4.3869019e-005]; + _vehicle_63 = _this; + _this setPos [10626.128, 2584.4221, 4.3869019e-005]; +}; + +_vehicle_64 = objNull; +if (true) then +{ + _this = "MAP_p_urtica" createVehicle [10621.97, 2584.0815, 0.00018692017]; + _vehicle_64 = _this; + _this setPos [10621.97, 2584.0815, 0.00018692017]; +}; + +_vehicle_71 = objNull; +if (true) then +{ + _this = "MAP_b_corylus" createVehicle [10621.221, 2578.6157, 1.4305115e-005]; + _vehicle_71 = _this; + _this setPos [10621.221, 2578.6157, 1.4305115e-005]; +}; + +_vehicle_72 = objNull; +if (true) then +{ + _this = "MAP_b_corylus2s" createVehicle [10639.577, 2604.3735, 2.6226044e-005]; + _vehicle_72 = _this; + _this setPos [10639.577, 2604.3735, 2.6226044e-005]; +}; + +_vehicle_74 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [10611.995, 2619.5449, 6.3896179e-005]; + _vehicle_74 = _this; + _this setPos [10611.995, 2619.5449, 6.3896179e-005]; +}; + +_vehicle_75 = objNull; +if (true) then +{ + _this = "MAP_b_craet2" createVehicle [10638.542, 2602.8594, 6.6757202e-006]; + _vehicle_75 = _this; + _this setPos [10638.542, 2602.8594, 6.6757202e-006]; +}; + +_vehicle_77 = objNull; +if (true) then +{ + _this = "MAP_b_prunus" createVehicle [10609.786, 2617.9163, 4.3869019e-005]; + _vehicle_77 = _this; + _this setPos [10609.786, 2617.9163, 4.3869019e-005]; +}; + +_vehicle_108 = objNull; +if (true) then +{ + _this = "MAP_t_malus1s" createVehicle [10615.173, 2583.8521, 0.00010728836]; + _vehicle_108 = _this; + _this setPos [10615.173, 2583.8521, 0.00010728836]; +}; + +_vehicle_147 = objNull; +if (true) then +{ + _this = "MAP_Wall_Wood2_5" createVehicle [10627.102, 2612.0288, 7.2479248e-005]; + _vehicle_147 = _this; + _this setDir -152.31969; + _this setVehicleLock "UNLOCKED"; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [10627.102, 2612.0288, 7.2479248e-005]; +}; + +_vehicle_148 = objNull; +if (true) then +{ + _this = "MAP_Wall_Wood2_5_D" createVehicle [10616.794, 2617.1038, 0.15874402]; + _vehicle_148 = _this; + _this setDir -154.8916; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [10616.794, 2617.1038, 0.15874402]; +}; + +_vehicle_149 = objNull; +if (true) then +{ + _this = "MAP_Wall_Wood2_5_END" createVehicle [10612.261, 2616.9626, 0.13919827]; + _vehicle_149 = _this; + _this setDir -204.37849; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [10612.261, 2616.9626, 0.13919827]; +}; + +_vehicle_157 = objNull; +if (true) then +{ + _this = "MAP_plot_rust_brank_o" createVehicle [10624.267, 2613.5317, 0.0001411438]; + _vehicle_157 = _this; + _this setDir 23.852444; + _this setPos [10624.267, 2613.5317, 0.0001411438]; +}; + +_vehicle_159 = objNull; +if (true) then +{ + _this = "MAP_Wall_Wood2_5" createVehicle [10621.274, 2614.9568, 3.8146973e-005]; + _vehicle_159 = _this; + _this setDir -154.14862; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [10621.274, 2614.9568, 3.8146973e-005]; +}; + +_vehicle_162 = objNull; +if (true) then +{ + _this = "MAP_Wall_Wood2_5" createVehicle [10637.691, 2605.051, -0.2840547]; + _vehicle_162 = _this; + _this setDir -82.714317; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [10637.691, 2605.051, -0.2840547]; +}; + +_vehicle_166 = objNull; +if (true) then +{ + _this = "MAP_Wall_Wood2_5" createVehicle [10608.722, 2612.8354, 0.17076115]; + _vehicle_166 = _this; + _this setDir -268.71268; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [10608.722, 2612.8354, 0.17076115]; +}; + +_vehicle_174 = objNull; +if (true) then +{ + _this = "MAP_Wall_VilVar2_4" createVehicle [10610.862, 2580.1392, -0.12244219]; + _vehicle_174 = _this; + _this setDir 4.2444682; + _this setPos [10610.862, 2580.1392, -0.12244219]; +}; + +_vehicle_175 = objNull; +if (true) then +{ + _this = "MAP_Wall_VilVar2_4_2" createVehicle [10614.697, 2580.0076, 0.10482681]; + _vehicle_175 = _this; + _this setPos [10614.697, 2580.0076, 0.10482681]; +}; + +_vehicle_176 = objNull; +if (true) then +{ + _this = "MAP_Wall_VilVar2_4_D" createVehicle [10618.674, 2580.0256, 0.20608296]; + _vehicle_176 = _this; + _this setPos [10618.674, 2580.0256, 0.20608296]; +}; + +_vehicle_178 = objNull; +if (true) then +{ + _this = "MAP_Wall_VilVar2_4_2" createVehicle [10622.74, 2580.0322, 2.4795532e-005]; + _vehicle_178 = _this; + _this setPos [10622.74, 2580.0322, 2.4795532e-005]; +}; + +_vehicle_180 = objNull; +if (true) then +{ + _this = "MAP_Wall_VilVar2_4_2" createVehicle [10626.672, 2580.002, 9.1552734e-005]; + _vehicle_180 = _this; + _this setPos [10626.672, 2580.002, 9.1552734e-005]; +}; + +_vehicle_182 = objNull; +if (true) then +{ + _this = "MAP_Wall_VilVar2_4_END" createVehicle [10630.627, 2580.0046, 2.4795532e-005]; + _vehicle_182 = _this; + _this setPos [10630.627, 2580.0046, 2.4795532e-005]; +}; + +_vehicle_184 = objNull; +if (true) then +{ + _this = "MAP_Wall_VilVar2_4_2" createVehicle [10631.949, 2580.1582, 2.2888184e-005]; + _vehicle_184 = _this; + _this setDir -2.9387438; + _this setPos [10631.949, 2580.1582, 2.2888184e-005]; +}; + +_vehicle_187 = objNull; +if (true) then +{ + _this = "MAP_Wall_Wood2_5_D" createVehicle [10608.803, 2597.8301, -3.2424927e-005]; + _vehicle_187 = _this; + _this setDir -270.33511; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [10608.803, 2597.8301, -3.2424927e-005]; +}; + +_vehicle_190 = objNull; +if (true) then +{ + _this = "MAP_Wall_Wood2_5_D" createVehicle [10608.886, 2587.813, 4.9591064e-005]; + _vehicle_190 = _this; + _this setDir -271.10385; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [10608.886, 2587.813, 4.9591064e-005]; +}; + +_vehicle_193 = objNull; +if (true) then +{ + _this = "MAP_Wall_Wood2_5" createVehicle [10608.805, 2592.8108, 3.4332275e-005]; + _vehicle_193 = _this; + _this setDir -271.07285; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [10608.805, 2592.8108, 3.4332275e-005]; +}; + +_vehicle_195 = objNull; +if (true) then +{ + _this = "MAP_Wall_Wood2_5" createVehicle [10608.962, 2582.9158, 1.5258789e-005]; + _vehicle_195 = _this; + _this setDir -272.92496; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [10608.962, 2582.9158, 1.5258789e-005]; +}; + +_vehicle_198 = objNull; +if (true) then +{ + _this = "MAP_Wall_Wood2_5" createVehicle [10610.957, 2616.2783, 7.6293945e-006]; + _vehicle_198 = _this; + _this setDir -205.88942; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [10610.957, 2616.2783, 7.6293945e-006]; +}; + +_vehicle_201 = objNull; +if (true) then +{ + _this = "MAP_Wall_Wood2_5_END" createVehicle [10608.737, 2607.8206, 0.0028371373]; + _vehicle_201 = _this; + _this setDir -272.80386; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [10608.737, 2607.8206, 0.0028371373]; +}; + +_vehicle_207 = objNull; +if (true) then +{ + _this = "MAP_t_malus1s" createVehicle [10612.197, 2605.1479, 0.00015068054]; + _vehicle_207 = _this; + _this setPos [10612.197, 2605.1479, 0.00015068054]; +}; + +_vehicle_209 = objNull; +if (true) then +{ + _this = "MAP_t_malus1s" createVehicle [10630.905, 2584.8232, 0.00019836426]; + _vehicle_209 = _this; + _this setPos [10630.905, 2584.8232, 0.00019836426]; +}; + +_vehicle_215 = objNull; +if (true) then +{ + _this = "MAP_Wall_Wood2_5" createVehicle [10637.614, 2582.8499, 4.0054321e-005]; + _vehicle_215 = _this; + _this setDir -92.181931; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [10637.614, 2582.8499, 4.0054321e-005]; +}; + +_vehicle_222 = objNull; +if (true) then +{ + _this = "MAP_mud_10_50" createVehicle [10633.15, 2597.8958, 0.00027275085]; + _vehicle_222 = _this; + _this setDir -1.3655125; + _this setPos [10633.15, 2597.8958, 0.00027275085]; +}; + +_vehicle_223 = objNull; +if (true) then +{ + _this = "MAP_mud_6konec" createVehicle [10634.544, 2612.615, -4.196167e-005]; + _vehicle_223 = _this; + _this setDir 187.18793; + _this setPos [10634.544, 2612.615, -4.196167e-005]; +}; + +_vehicle_226 = objNull; +if (true) then +{ + _this = "MAP_mud_6konec" createVehicle [10633.253, 2591.9399, 0.0001335144]; + _vehicle_226 = _this; + _this setDir -1.7983615; + _this setPos [10633.253, 2591.9399, 0.0001335144]; +}; + +_vehicle_230 = objNull; +if (true) then +{ + _this = "SKODAWreck" createVehicle [10633.292, 2602.2344, -1.5258789e-005]; + _vehicle_230 = _this; + _this setDir 1.8125278; + _this setPos [10633.292, 2602.2344, -1.5258789e-005]; +}; + +_vehicle_231 = objNull; +if (true) then +{ + _this = "MAP_Wall_Wood2_5_END_2" createVehicle [10631.412, 2609.5383, -0.2017917]; + _vehicle_231 = _this; + _this setDir -147.24841; + _this setPos [10631.412, 2609.5383, -0.2017917]; +}; + +_vehicle_233 = objNull; +if (true) then +{ + _this = "MAP_Wall_Wood2_5_D" createVehicle [10637.333, 2600.0483, -0.21907128]; + _vehicle_233 = _this; + _this setDir -88.343475; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [10637.333, 2600.0483, -0.21907128]; +}; + +_vehicle_236 = objNull; +if (true) then +{ + _this = "MAP_Wall_Wood2_5_END" createVehicle [10637.128, 2596.2463, -0.059208341]; + _vehicle_236 = _this; + _this setDir -458.0715; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [10637.128, 2596.2463, -0.059208341]; +}; + +_vehicle_239 = objNull; +if (true) then +{ + _this = "MAP_Wall_VilVar2_4_2" createVehicle [10635.851, 2580.3118, -0.25673333]; + _vehicle_239 = _this; + _this setDir -2.9387438; + _this setPos [10635.851, 2580.3118, -0.25673333]; +}; + +_vehicle_242 = objNull; +if (true) then +{ + _this = "MAP_Wall_Wood2_5_D" createVehicle [10637.537, 2587.8948, 0.29516324]; + _vehicle_242 = _this; + _this setDir -88.343475; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [10637.537, 2587.8948, 0.29516324]; +}; + +_vehicle_245 = objNull; +if (true) then +{ + _this = "MAP_path_10_50" createVehicle [10622.701, 2606.3606, 0.00028800964]; + _vehicle_245 = _this; + _this setDir 6.8206773; + _this setPos [10622.701, 2606.3606, 0.00028800964]; +}; + +_vehicle_247 = objNull; +if (true) then +{ + _this = "MAP_garbage_paleta" createVehicle [10633.146, 2599.7441, -4.196167e-005]; + _vehicle_247 = _this; + _this setPos [10633.146, 2599.7441, -4.196167e-005]; +}; + +_vehicle_249 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [10624.311, 2613.4404, 1.9073486e-005]; + _vehicle_249 = _this; + _this setPos [10624.311, 2613.4404, 1.9073486e-005]; +}; + +_vehicle_251 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [10623.67, 2611.5811, 7.6293945e-006]; + _vehicle_251 = _this; + _this setPos [10623.67, 2611.5811, 7.6293945e-006]; +}; + +_vehicle_253 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [10623.404, 2610.2563, -7.6293945e-006]; + _vehicle_253 = _this; + _this setPos [10623.404, 2610.2563, -7.6293945e-006]; +}; + +_vehicle_255 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [10623.17, 2608.6758, 3.8146973e-006]; + _vehicle_255 = _this; + _this setPos [10623.17, 2608.6758, 3.8146973e-006]; +}; + +_vehicle_258 = objNull; +if (true) then +{ + _this = "MAP_Wall_Wood2_5_END" createVehicle [10635.729, 2608.0613, 2.0980835e-005]; + _vehicle_258 = _this; + _this setDir -167.42299; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [10635.729, 2608.0613, 2.0980835e-005]; +}; + +_vehicle_261 = objNull; +if (true) then +{ + _this = "MAP_Wall_Wood2_5_END" createVehicle [10628.599, 2610.9375, 9.727478e-005]; + _vehicle_261 = _this; + _this setDir -162.57193; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [10628.599, 2610.9375, 9.727478e-005]; +}; + +_vehicle_264 = objNull; +if (true) then +{ + _this = "MAP_Wall_Wood2_5_END" createVehicle [10608.827, 2603.1001, 1.1444092e-005]; + _vehicle_264 = _this; + _this setDir -272.80386; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [10608.827, 2603.1001, 1.1444092e-005]; +}; + +_vehicle_267 = objNull; +if (true) then +{ + _this = "MAP_b_corylus2s" createVehicle [10638.902, 2592.4941, -5.7220459e-005]; + _vehicle_267 = _this; + _this setPos [10638.902, 2592.4941, -5.7220459e-005]; +}; + +_vehicle_270 = objNull; +if (true) then +{ + _this = "MAP_b_prunus" createVehicle [10611.734, 2578.6746, -2.2888184e-005]; + _vehicle_270 = _this; + _this setPos [10611.734, 2578.6746, -2.2888184e-005]; +}; + +_vehicle_272 = objNull; +if (true) then +{ + _this = "MAP_b_prunus" createVehicle [10637.703, 2579.2161, 2.0980835e-005]; + _vehicle_272 = _this; + _this setPos [10637.703, 2579.2161, 2.0980835e-005]; +}; + +processInitCommands; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/GvozdnoMilitaryBase.sqf b/SQF/dayz_code/system/mission/chernarus/poi/GvozdnoMilitaryBase.sqf new file mode 100644 index 00000000..cc6187e0 --- /dev/null +++ b/SQF/dayz_code/system/mission/chernarus/poi/GvozdnoMilitaryBase.sqf @@ -0,0 +1,9220 @@ +//This spawns in a military base north west of Gvozdno aprox. 078 027. +//Created by Nox 2017-02-01. Contact: DayZ Europa, Dayz mod discord +//Copyright by the DayZ Mod dev team. + +_vehicle_7 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [8217.8623, 12045.383]; + _vehicle_7 = _this; + _this setDir -87.636604; + _this setPos [8217.8623, 12045.383]; +}; + +_vehicle_13 = objNull; +if (true) then +{ + _this = "MAP_asf3_6konec" createVehicle [8223.8506, 12045.236, 9.1552734e-005]; + _vehicle_13 = _this; + _this setDir -89.042412; + _this setPos [8223.8506, 12045.236, 9.1552734e-005]; +}; + +_vehicle_33 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [8198.6875, 12048.641, 0.0004119873]; + _vehicle_33 = _this; + _this setDir -71.856621; + _this setPos [8198.6875, 12048.641, 0.0004119873]; +}; + +_vehicle_36 = objNull; +if (true) then +{ + _this = "MAP_asf3_22_50" createVehicle [8181.145, 12057.059, 0.00015258789]; + _vehicle_36 = _this; + _this setDir -56.933987; + _this setPos [8181.145, 12057.059, 0.00015258789]; +}; + +_vehicle_39 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [8154.0176, 12085.092, 0.00018310547]; + _vehicle_39 = _this; + _this setDir 130.08002; + _this setPos [8154.0176, 12085.092, 0.00018310547]; +}; + +_vehicle_41 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [8137.2593, 12095.128, 0.00015258789]; + _vehicle_41 = _this; + _this setDir 113.8353; + _this setPos [8137.2593, 12095.128, 0.00015258789]; +}; + +_vehicle_44 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [8046.4663, 12123.255, -0.0002746582]; + _vehicle_44 = _this; + _this setDir 99.237953; + _this setPos [8046.4663, 12123.255, -0.0002746582]; +}; + +_vehicle_46 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [8114.2876, 12104.962, 1.5258789e-005]; + _vehicle_46 = _this; + _this setDir 113.31706; + _this setPos [8114.2876, 12104.962, 1.5258789e-005]; +}; + +_vehicle_49 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [8071.0942, 12119.239, 0.0001373291]; + _vehicle_49 = _this; + _this setDir 99.416901; + _this setPos [8071.0942, 12119.239, 0.0001373291]; +}; + +_vehicle_52 = objNull; +if (true) then +{ + _this = "MAP_asf3_7_100" createVehicle [8101.9497, 12109.146, 0.00021362305]; + _vehicle_52 = _this; + _this setDir 105.47369; + _this setPos [8101.9497, 12109.146, 0.00021362305]; +}; + +_vehicle_54 = objNull; +if (true) then +{ + _this = "MAP_asf3_7_100" createVehicle [8102.0586, 12109.168, -0.00015258789]; + _vehicle_54 = _this; + _this setDir -73.842079; + _this setPos [8102.0586, 12109.168, -0.00015258789]; +}; + +_vehicle_57 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [8046.5605, 12123.283, 0.0004119873]; + _vehicle_57 = _this; + _this setDir 278.38492; + _this setPos [8046.5605, 12123.283, 0.0004119873]; +}; + +_vehicle_59 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [8017.9492, 12136.748, 0.00032043457]; + _vehicle_59 = _this; + _this setDir -32.435734; + _this setPos [8017.9492, 12136.748, 0.00032043457]; +}; + +_vehicle_61 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [8001.4272, 12172.213, 0.00019836426]; + _vehicle_61 = _this; + _this setDir 507.56216; + _this setPos [8001.4272, 12172.213, 0.00019836426]; +}; + +_vehicle_67 = objNull; +if (true) then +{ + _this = "MAP_asf3_30_25" createVehicle [8027.8071, 12128.592, 0.00024414063]; + _vehicle_67 = _this; + _this setDir -64.79258; + _this setPos [8027.8071, 12128.592, 0.00024414063]; +}; + +_vehicle_70 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [7988.5303, 12186.879, 9.1552734e-005]; + _vehicle_70 = _this; + _this setDir 491.43872; + _this setPos [7988.5303, 12186.879, 9.1552734e-005]; +}; + +_vehicle_72 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [7972.5259, 12198.112, 0.0002746582]; + _vehicle_72 = _this; + _this setDir 477.67319; + _this setPos [7972.5259, 12198.112, 0.0002746582]; +}; + +_vehicle_75 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7950.3237, 12209.446, 3.0517578e-005]; + _vehicle_75 = _this; + _this setDir 117.16778; + _this setPos [7950.3237, 12209.446, 3.0517578e-005]; +}; + +_vehicle_78 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7928.1069, 12220.817, 0.00016784668]; + _vehicle_78 = _this; + _this setDir 117.16778; + _this setPos [7928.1069, 12220.817, 0.00016784668]; +}; + +_vehicle_80 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [7909.626, 12227.259, 9.1552734e-005]; + _vehicle_80 = _this; + _this setDir 101.88165; + _this setPos [7909.626, 12227.259, 9.1552734e-005]; +}; + +_vehicle_82 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [7890.1157, 12228.488, -6.1035156e-005]; + _vehicle_82 = _this; + _this setDir 86.425301; + _this setPos [7890.1157, 12228.488, -6.1035156e-005]; +}; + +_vehicle_85 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7865.27, 12227.089, 1.5258789e-005]; + _vehicle_85 = _this; + _this setDir 86.99337; + _this setPos [7865.27, 12227.089, 1.5258789e-005]; +}; + +_vehicle_88 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [7865.3438, 12227.133, 0.0001373291]; + _vehicle_88 = _this; + _this setDir 266.49588; + _this setPos [7865.3438, 12227.133, 0.0001373291]; +}; + +_vehicle_91 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7821.3315, 12233.353, -0.00015258789]; + _vehicle_91 = _this; + _this setDir 101.37552; + _this setPos [7821.3315, 12233.353, -0.00015258789]; +}; + +_vehicle_93 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7796.812, 12238.152, -0.0004119873]; + _vehicle_93 = _this; + _this setDir 101.25838; + _this setPos [7796.812, 12238.152, -0.0004119873]; +}; + +_vehicle_96 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [7796.8403, 12238.103, 0.00044250488]; + _vehicle_96 = _this; + _this setDir 281.05661; + _this setPos [7796.8403, 12238.103, 0.00044250488]; +}; + +_vehicle_98 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [7759.7505, 12250.568, 0.0001373291]; + _vehicle_98 = _this; + _this setDir 461.19827; + _this setPos [7759.7505, 12250.568, 0.0001373291]; +}; + +_vehicle_100 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [7759.8174, 12250.595, 0.00025939941]; + _vehicle_100 = _this; + _this setDir 281.93988; + _this setPos [7759.8174, 12250.595, 0.00025939941]; +}; + +_vehicle_102 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [7741.4116, 12256.995, -0.00048828125]; + _vehicle_102 = _this; + _this setDir 297.77063; + _this setPos [7741.4116, 12256.995, -0.00048828125]; +}; + +_vehicle_104 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [7725.4653, 12268.158, -3.0517578e-005]; + _vehicle_104 = _this; + _this setDir 313.08887; + _this setPos [7725.4653, 12268.158, -3.0517578e-005]; +}; + +_vehicle_106 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [7712.9741, 12283.097, -0.00022888184]; + _vehicle_106 = _this; + _this setDir 326.79205; + _this setPos [7712.9741, 12283.097, -0.00022888184]; +}; + +_vehicle_109 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7696.311, 12324.312, 9.1552734e-005]; + _vehicle_109 = _this; + _this setDir 161.17343; + _this setPos [7696.311, 12324.312, 9.1552734e-005]; +}; + +_vehicle_111 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7688.2163, 12347.921, -1.5258789e-005]; + _vehicle_111 = _this; + _this setDir 161.19525; + _this setPos [7688.2163, 12347.921, -1.5258789e-005]; +}; + +_vehicle_114 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [7688.1885, 12347.8, 0.00010681152]; + _vehicle_114 = _this; + _this setDir 340.15903; + _this setPos [7688.1885, 12347.8, 0.00010681152]; +}; + +_vehicle_117 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7681.5503, 12391.767, 0.00010681152]; + _vehicle_117 = _this; + _this setDir 174.63683; + _this setPos [7681.5503, 12391.767, 0.00010681152]; +}; + +_vehicle_120 = objNull; +if (true) then +{ + _this = "MAP_asf3_10_25" createVehicle [7681.5605, 12391.715, 0.00028991699]; + _vehicle_120 = _this; + _this setDir -4.4702563; + _this setPos [7681.5605, 12391.715, 0.00028991699]; +}; + +_vehicle_125 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7682.4551, 12420.889, -1.6100464]; + _vehicle_125 = _this; + _this setDir 182.06709; + _this setPos [7682.4551, 12420.889, -1.6100464]; +}; + +_vehicle_129 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7682.9434, 12445.813, 0.00025939941]; + _vehicle_129 = _this; + _this setDir 181.2209; + _this setPos [7682.9434, 12445.813, 0.00025939941]; +}; + +_vehicle_259 = objNull; +if (true) then +{ + _this = "Land_Barrack2" createVehicle [7855.5781, 12674.382, -2.2888184e-005]; + _vehicle_259 = _this; + _this setDir -8.9040527; + _this setPos [7855.5781, 12674.382, -2.2888184e-005]; +}; + +_vehicle_266 = objNull; +if (true) then +{ + _this = "MAP_Hlidac_budka" createVehicle [7760.1177, 12621.654, 5.3405762e-005]; + _vehicle_266 = _this; + _this setDir 234.80757; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7760.1177, 12621.654, 5.3405762e-005]; +}; + +_vehicle_269 = objNull; +if (true) then +{ + _this = "Land_Mil_Barracks" createVehicle [7800.626, 12578.181, 0.2090154]; + _vehicle_269 = _this; + _this setDir -199.28587; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7800.626, 12578.181, 0.2090154]; +}; + +_vehicle_270 = objNull; +if (true) then +{ + _this = "Land_Mil_Barracks_i" createVehicle [7730.416, 12572.723, -0.022225222]; + _vehicle_270 = _this; + _this setDir -30.663641; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7730.416, 12572.723, -0.022225222]; +}; + +_vehicle_271 = objNull; +if (true) then +{ + _this = "Land_Mil_Barracks_L" createVehicle [7730.0332, 12589.021, 0.021191195]; + _vehicle_271 = _this; + _this setDir -35.217594; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7730.0332, 12589.021, 0.021191195]; +}; + +_vehicle_274 = objNull; +if (true) then +{ + _this = "MAP_PowGen_Big" createVehicle [7796.498, 12624.03, 0.041037399]; + _vehicle_274 = _this; + _this setDir -25.869724; + _this setPos [7796.498, 12624.03, 0.041037399]; +}; + +_vehicle_276 = objNull; +if (true) then +{ + _this = "MAP_vez" createVehicle [7730.9253, 12680.308, 0.049742039]; + _vehicle_276 = _this; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7730.9253, 12680.308, 0.049742039]; +}; + +_vehicle_283 = objNull; +if (true) then +{ + _this = "Land_A_Office01" createVehicle [7771.9414, 12591.414, -0.054918062]; + _vehicle_283 = _this; + _this setDir -17.639032; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7771.9414, 12591.414, -0.054918062]; +}; + +_vehicle_294 = objNull; +if (true) then +{ + _this = "Land_Ind_Workshop01_01" createVehicle [7907.7407, 12627.608, 0.06007079]; + _vehicle_294 = _this; + _this setDir 351.56985; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7907.7407, 12627.608, 0.06007079]; +}; + +_vehicle_295 = objNull; +if (true) then +{ + _this = "Land_Ind_Workshop01_02" createVehicle [7866.2534, 12636.624, 0.061232373]; + _vehicle_295 = _this; + _this setDir 80.804077; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7866.2534, 12636.624, 0.061232373]; +}; + +_vehicle_296 = objNull; +if (true) then +{ + _this = "Land_Ind_Workshop01_03" createVehicle [7903.5737, 12590.472, 2.2888184e-005]; + _vehicle_296 = _this; + _this setDir 256.71408; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7903.5737, 12590.472, 2.2888184e-005]; +}; + +_vehicle_297 = objNull; +if (true) then +{ + _this = "Land_Ind_Workshop01_04" createVehicle [7800.7817, 12607.486, 0.14819752]; + _vehicle_297 = _this; + _this setDir 68.328827; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7800.7817, 12607.486, 0.14819752]; +}; + +_vehicle_298 = objNull; +if (true) then +{ + _this = "Land_Ind_Workshop01_box" createVehicle [7900.5908, 12586.722, 0.30176869]; + _vehicle_298 = _this; + _this setDir 166.11166; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7900.5908, 12586.722, 0.30176869]; +}; + +_vehicle_299 = objNull; +if (true) then +{ + _this = "Land_Ind_Workshop01_L" createVehicle [7901.4082, 12613.831, 0.10587258]; + _vehicle_299 = _this; + _this setDir -9.7514687; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7901.4082, 12613.831, 0.10587258]; +}; + +_vehicle_369 = objNull; +if (true) then +{ + _this = "MAP_Misc_PowerStation" createVehicle [7907.3433, 12642.34, 0.060888842]; + _vehicle_369 = _this; + _this setDir 86.9804; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7907.3433, 12642.34, 0.060888842]; +}; + +_vehicle_397 = objNull; +if (true) then +{ + _this = "Land_Barrack2" createVehicle [7845.4849, 12672.779, 5.3405762e-005]; + _vehicle_397 = _this; + _this setDir -6.9164743; + _this setPos [7845.4849, 12672.779, 5.3405762e-005]; +}; + +_vehicle_400 = objNull; +if (true) then +{ + _this = "Land_Mil_Barracks_i" createVehicle [7827.1924, 12588.295, 0.034341037]; + _vehicle_400 = _this; + _this setDir -196.30893; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7827.1924, 12588.295, 0.034341037]; +}; + +_vehicle_403 = objNull; +if (true) then +{ + _this = "MAP_Mil_Mil_Guardhouse" createVehicle [7685.6812, 12508.432, 0.24781299]; + _vehicle_403 = _this; + _this setDir -150.90938; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7685.6812, 12508.432, 0.24781299]; +}; + +_vehicle_405 = objNull; +if (true) then +{ + _this = "MAP_Hlidac_budka" createVehicle [7691.4565, 12478.391, 0.23015514]; + _vehicle_405 = _this; + _this setDir -83.429619; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7691.4565, 12478.391, 0.23015514]; +}; + +_vehicle_408 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [7684.939, 12470.01, -3.0517578e-005]; + _vehicle_408 = _this; + _this setDir 2.6140795; + _this setPos [7684.939, 12470.01, -3.0517578e-005]; +}; + +_vehicle_414 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7682.8418, 12445.553, 0.0002746582]; + _vehicle_414 = _this; + _this setDir 4.9584579; + _this setPos [7682.8418, 12445.553, 0.0002746582]; +}; + +_vehicle_417 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [7687.9946, 12488.628, 3.0517578e-005]; + _vehicle_417 = _this; + _this setDir 15.009583; + _this setPos [7687.9946, 12488.628, 3.0517578e-005]; +}; + +_vehicle_424 = objNull; +if (true) then +{ + _this = "MAP_asf3_10_100" createVehicle [7695.2261, 12506.596, 0.00016784668]; + _vehicle_424 = _this; + _this setDir 28.252714; + _this setPos [7695.2261, 12506.596, 0.00016784668]; +}; + +_vehicle_427 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7719.9194, 12540.933, 7.6293945e-005]; + _vehicle_427 = _this; + _this setDir 217.82405; + _this setPos [7719.9194, 12540.933, 7.6293945e-005]; +}; + +_vehicle_429 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7734.9678, 12560.776, 4.5776367e-005]; + _vehicle_429 = _this; + _this setDir 217.19189; + _this setPos [7734.9678, 12560.776, 4.5776367e-005]; +}; + +_vehicle_435 = objNull; +if (true) then +{ + _this = "MAP_asf3_30_25" createVehicle [7734.7847, 12560.321, -6.1035156e-005]; + _vehicle_435 = _this; + _this setDir 36.408237; + _this setPos [7734.7847, 12560.321, -6.1035156e-005]; +}; + +_vehicle_438 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7791.2637, 12586.227, 0.00012969971]; + _vehicle_438 = _this; + _this setDir 250.29263; + _this setPos [7791.2637, 12586.227, 0.00012969971]; +}; + +_vehicle_440 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7814.6704, 12594.101, -7.6293945e-006]; + _vehicle_440 = _this; + _this setDir 251.51181; + _this setPos [7814.6704, 12594.101, -7.6293945e-006]; +}; + +_vehicle_444 = objNull; +if (true) then +{ + _this = "Land_A_Hospital" createVehicle [7836.5088, 12622.839, 0.36634916]; + _vehicle_444 = _this; + _this setDir 71.406975; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7836.5088, 12622.839, 0.36634916]; +}; + +_vehicle_446 = objNull; +if (true) then +{ + _this = "MAP_asf3_6konec" createVehicle [7693.8306, 12502.225, 0.0001373291]; + _vehicle_446 = _this; + _this setDir 298.83359; + _this setPos [7693.8306, 12502.225, 0.0001373291]; +}; + +_vehicle_469 = objNull; +if (true) then +{ + _this = "MAP_Zabradli_pruhovane_pravykonec" createVehicle [7833.144, 12615.484, 0.1531699]; + _vehicle_469 = _this; + _this setDir -19.132517; + _this setPos [7833.144, 12615.484, 0.1531699]; +}; + +_vehicle_470 = objNull; +if (true) then +{ + _this = "MAP_Zabradli_pruhovane_stred" createVehicle [7830.8218, 12622.246, 0.13109393]; + _vehicle_470 = _this; + _this setDir -19.099663; + _this setPos [7830.8218, 12622.246, 0.13109393]; +}; + +_vehicle_485 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7684.0625, 12496.49, 0.23487064]; + _vehicle_485 = _this; + _this setDir 199.51678; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7684.0625, 12496.49, 0.23487064]; +}; + +_vehicle_488 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7697.4707, 12491.88, 7.6293945e-005]; + _vehicle_488 = _this; + _this setDir 199.51678; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7697.4707, 12491.88, 7.6293945e-005]; +}; + +_vehicle_491 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7703.2681, 12490.969, -0.0056756362]; + _vehicle_491 = _this; + _this setDir -176.86342; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7703.2681, 12490.969, -0.0056756362]; +}; + +_vehicle_494 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7698.0239, 12482.269, 0.00016021729]; + _vehicle_494 = _this; + _this setDir -172.3792; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7698.0239, 12482.269, 0.00016021729]; +}; + +_vehicle_501 = objNull; +if (true) then +{ + _this = "ZavoraAnim" createVehicle [7690.6299, 12483.554, 0.00019073486]; + _vehicle_501 = _this; + _this setDir 13.80172; + _this setPos [7690.6299, 12483.554, 0.00019073486]; +}; + +_vehicle_573 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7706.6328, 12492.072, 0.089856431]; + _vehicle_573 = _this; + _this setDir -38.345325; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7706.6328, 12492.072, 0.089856431]; +}; + +_vehicle_575 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7710.7935, 12496.035, 0.050014712]; + _vehicle_575 = _this; + _this setDir -54.276836; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7710.7935, 12496.035, 0.050014712]; +}; + +_vehicle_582 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7690.6001, 12483.223, 0.00017547607]; + _vehicle_582 = _this; + _this setDir -166.62869; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7690.6001, 12483.223, 0.00017547607]; +}; + +_vehicle_585 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7714.1069, 12500.699, 0.093352884]; + _vehicle_585 = _this; + _this setDir -54.276836; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7714.1069, 12500.699, 0.093352884]; +}; + +_vehicle_587 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7728.1328, 12520.248, 0.42747217]; + _vehicle_587 = _this; + _this setDir -53.08115; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7728.1328, 12520.248, 0.42747217]; +}; + +_vehicle_589 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7724.6108, 12515.468, 0.49183604]; + _vehicle_589 = _this; + _this setDir -52.829365; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7724.6108, 12515.468, 0.49183604]; +}; + +_vehicle_592 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_2" createVehicle [7717.6074, 12505.546, 6.1035156e-005]; + _vehicle_592 = _this; + _this setDir -52.953217; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7717.6074, 12505.546, 6.1035156e-005]; +}; + +_vehicle_595 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_3" createVehicle [7722.5786, 12512.588, 0.0002746582]; + _vehicle_595 = _this; + _this setDir -52.74184; + _this setPos [7722.5786, 12512.588, 0.0002746582]; +}; + +_vehicle_600 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7731.688, 12525.019, 0.45460182]; + _vehicle_600 = _this; + _this setDir -52.068256; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7731.688, 12525.019, 0.45460182]; +}; + +_vehicle_605 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_3" createVehicle [7721.2891, 12509.285, 1.5258789e-005]; + _vehicle_605 = _this; + _this setDir -3.3424151; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7721.2891, 12509.285, 1.5258789e-005]; +}; + +_vehicle_608 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7706.4175, 12484.57, 0.046834037]; + _vehicle_608 = _this; + _this setDir -199.30894; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7706.4175, 12484.57, 0.046834037]; +}; + +_vehicle_625 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7720.4375, 12509.775, 7.6293945e-005]; + _vehicle_625 = _this; + _this setDir 126.02657; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7720.4375, 12509.775, 7.6293945e-005]; +}; + +_vehicle_630 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7744.7632, 12534.649, 0.43572149]; + _vehicle_630 = _this; + _this setDir -50.668568; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7744.7632, 12534.649, 0.43572149]; +}; + +_vehicle_632 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7763.4429, 12550.229, 9.1552734e-005]; + _vehicle_632 = _this; + _this setDir -13.265052; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7763.4429, 12550.229, 9.1552734e-005]; +}; + +_vehicle_634 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7769.1895, 12551.577, 9.9182129e-005]; + _vehicle_634 = _this; + _this setDir -12.915766; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7769.1895, 12551.577, 9.9182129e-005]; +}; + +_vehicle_636 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7793.8687, 12558.297, 8.392334e-005]; + _vehicle_636 = _this; + _this setDir -19.116528; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7793.8687, 12558.297, 8.392334e-005]; +}; + +_vehicle_638 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7799.2637, 12560.127, 2.2888184e-005]; + _vehicle_638 = _this; + _this setDir -17.482645; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7799.2637, 12560.127, 2.2888184e-005]; +}; + +_vehicle_643 = objNull; +if (true) then +{ + _this = "MAP_asf3_60_10" createVehicle [7875.5601, 12614.05, 0.00019836426]; + _vehicle_643 = _this; + _this setDir 188.35074; + _this setPos [7875.5601, 12614.05, 0.00019836426]; +}; + +_vehicle_647 = objNull; +if (true) then +{ + _this = "MAP_SidewalkClearMiddle" createVehicle [7828.9653, 12631.519, 0.1144487]; + _vehicle_647 = _this; + _this setDir -18.97414; + _this setPos [7828.9653, 12631.519, 0.1144487]; +}; + +_vehicle_648 = objNull; +if (true) then +{ + _this = "MAP_SidewalkCorner" createVehicle [7838.0479, 12604.131, 0.091015004]; + _vehicle_648 = _this; + _this setDir 164.14371; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7838.0479, 12604.131, 0.091015004]; +}; + +_vehicle_654 = objNull; +if (true) then +{ + _this = "MAP_SidewalkClearLong" createVehicle [7834.5859, 12615.059, 0.10511727]; + _vehicle_654 = _this; + _this setDir -17.796219; + _this setPos [7834.5859, 12615.059, 0.10511727]; +}; + +_vehicle_656 = objNull; +if (true) then +{ + _this = "MAP_SidewalkClearLong" createVehicle [7773.8228, 12583.926, -0.0033394136]; + _vehicle_656 = _this; + _this setDir -109.70084; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7773.8228, 12583.926, -0.0033394136]; +}; + +_vehicle_658 = objNull; +if (true) then +{ + _this = "MAP_SidewalkClearLong" createVehicle [7831.4375, 12624.461, 0.12398755]; + _vehicle_658 = _this; + _this setDir 160.52249; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7831.4375, 12624.461, 0.12398755]; +}; + +_vehicle_661 = objNull; +if (true) then +{ + _this = "MAP_asf3_10_75" createVehicle [7814.5981, 12594.012, 7.6293945e-006]; + _vehicle_661 = _this; + _this setDir 72.150352; + _this setPos [7814.5981, 12594.012, 7.6293945e-006]; +}; + +_vehicle_664 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7876.9131, 12638.724, 0.00012207031]; + _vehicle_664 = _this; + _this setDir 183.34026; + _this setPos [7876.9131, 12638.724, 0.00012207031]; +}; + +_vehicle_667 = objNull; +if (true) then +{ + _this = "MAP_asf3_0_2000" createVehicle [7827.2705, 12597.03, 0.00019073486]; + _vehicle_667 = _this; + _this setDir 81.697701; + _this setPos [7827.2705, 12597.03, 0.00019073486]; +}; + +_vehicle_670 = objNull; +if (true) then +{ + _this = "MAP_asf3_10_25" createVehicle [7848.7212, 12600.439, 0.00019836426]; + _vehicle_670 = _this; + _this setDir -106.15102; + _this setPos [7848.7212, 12600.439, 0.00019836426]; +}; + +_vehicle_673 = objNull; +if (true) then +{ + _this = "MAP_asf3_0_2000" createVehicle [7848.4995, 12600.455, 0.00010681152]; + _vehicle_673 = _this; + _this setDir 75.657135; + _this setPos [7848.4995, 12600.455, 0.00010681152]; +}; + +_vehicle_676 = objNull; +if (true) then +{ + _this = "MAP_asf3_10_25" createVehicle [7869.4673, 12606.082, 0.0001449585]; + _vehicle_676 = _this; + _this setDir -112.63044; + _this setPos [7869.4673, 12606.082, 0.0001449585]; +}; + +_vehicle_680 = objNull; +if (true) then +{ + _this = "MAP_asf3_0_2000" createVehicle [7856.7549, 12658.315, 0.055086739]; + _vehicle_680 = _this; + _this setDir 119.2688; + _this setPos [7856.7549, 12658.315, 0.055086739]; +}; + +_vehicle_683 = objNull; +if (true) then +{ + _this = "MAP_asf3_60_10" createVehicle [7871.8984, 12649.773, 0.054911263]; + _vehicle_683 = _this; + _this setDir 120.96582; + _this setPos [7871.8984, 12649.773, 0.054911263]; +}; + +_vehicle_686 = objNull; +if (true) then +{ + _this = "MAP_asf3_60_10" createVehicle [7847.0659, 12659.126, 0.054857858]; + _vehicle_686 = _this; + _this setDir 66.514038; + _this setPos [7847.0659, 12659.126, 0.054857858]; +}; + +_vehicle_688 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7847.187, 12659.116, 0.054781564]; + _vehicle_688 = _this; + _this setDir 247.99504; + _this setPos [7847.187, 12659.116, 0.054781564]; +}; + +_vehicle_694 = objNull; +if (true) then +{ + _this = "MAP_asf3_10_25" createVehicle [7825.3296, 12649.726, 1.5258789e-005]; + _vehicle_694 = _this; + _this setDir 61.396759; + _this setPos [7825.3296, 12649.726, 1.5258789e-005]; +}; + +_vehicle_697 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7816.8354, 12646.344, 0.0085413568]; + _vehicle_697 = _this; + _this setDir 241.69037; + _this setPos [7816.8354, 12646.344, 0.0085413568]; +}; + +_vehicle_699 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7824.3506, 12624.865, 1.5258789e-005]; + _vehicle_699 = _this; + _this setDir 251.32651; + _this setPos [7824.3506, 12624.865, 1.5258789e-005]; +}; + +_vehicle_701 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7835.4102, 12600.333, -7.6293945e-006]; + _vehicle_701 = _this; + _this setDir 341.61823; + _this setPos [7835.4102, 12600.333, -7.6293945e-006]; +}; + +_vehicle_703 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7798.9565, 12636.164, 4.5776367e-005]; + _vehicle_703 = _this; + _this setDir 241.74373; + _this setPos [7798.9565, 12636.164, 4.5776367e-005]; +}; + +_vehicle_706 = objNull; +if (true) then +{ + _this = "MAP_asf3_10_25" createVehicle [7773.5469, 12622.104, 1.5258789e-005]; + _vehicle_706 = _this; + _this setDir 53.137917; + _this setPos [7773.5469, 12622.104, 1.5258789e-005]; +}; + +_vehicle_709 = objNull; +if (true) then +{ + _this = "MAP_asf3_30_25" createVehicle [7745.7935, 12597.207, 5.3405762e-005]; + _vehicle_709 = _this; + _this setDir 21.677221; + _this setPos [7745.7935, 12597.207, 5.3405762e-005]; +}; + +_vehicle_711 = objNull; +if (true) then +{ + _this = "MAP_asf3_30_25" createVehicle [7744.8613, 12584.377, 6.1035156e-005]; + _vehicle_711 = _this; + _this setDir -10.79381; + _this setPos [7744.8613, 12584.377, 6.1035156e-005]; +}; + +_vehicle_713 = objNull; +if (true) then +{ + _this = "MAP_asf3_30_25" createVehicle [7748.4727, 12574.094, 7.6293945e-006]; + _vehicle_713 = _this; + _this setDir -32.457275; + _this setPos [7748.4727, 12574.094, 7.6293945e-006]; +}; + +_vehicle_721 = objNull; +if (true) then +{ + _this = "MAP_asf3_6konec" createVehicle [7751.1309, 12568.83, 3.8146973e-005]; + _vehicle_721 = _this; + _this setDir -26.599419; + _this setPos [7751.1309, 12568.83, 3.8146973e-005]; +}; + +_vehicle_725 = objNull; +if (true) then +{ + _this = "MAP_asf3_10_25" createVehicle [7820.189, 12647.895, 6.8664551e-005]; + _vehicle_725 = _this; + _this setDir 60.082756; + _this setPos [7820.189, 12647.895, 6.8664551e-005]; +}; + +_vehicle_728 = objNull; +if (true) then +{ + _this = "MAP_Mil_Barracks" createVehicle [7865.3301, 12594.441, 0.30011243]; + _vehicle_728 = _this; + _this setDir -193.14217; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7865.3301, 12594.441, 0.30011243]; +}; + +_vehicle_731 = objNull; +if (true) then +{ + _this = "Land_Mil_Barracks" createVehicle [7710.4917, 12541.445, 0.097936854]; + _vehicle_731 = _this; + _this setDir -53.531334; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7710.4917, 12541.445, 0.097936854]; +}; + +_vehicle_742 = objNull; +if (true) then +{ + _this = "MAP_Misc_Cargo1B" createVehicle [7707.2412, 12502.804, -7.6293945e-005]; + _vehicle_742 = _this; + _this setDir 121.07423; + _this setPos [7707.2412, 12502.804, -7.6293945e-005]; +}; + +_vehicle_750 = objNull; +if (true) then +{ + _this = "MAP_Misc_Cargo2B" createVehicle [7709.0073, 12505.421, 3.8146973e-005]; + _vehicle_750 = _this; + _this setDir -50.96957; + _this setPos [7709.0073, 12505.421, 3.8146973e-005]; +}; + +_vehicle_755 = objNull; +if (true) then +{ + _this = "MAP_Misc_Cargo1B" createVehicle [7713.6841, 12507.613, 5.3405762e-005]; + _vehicle_755 = _this; + _this setDir 125.20144; + _this setPos [7713.6841, 12507.613, 5.3405762e-005]; +}; + +_vehicle_758 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7805.9312, 12567.498, 0.00019073486]; + _vehicle_758 = _this; + _this setDir -13.082738; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7805.9312, 12567.498, 0.00019073486]; +}; + +_vehicle_761 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7803.418, 12563.219, 2.2888184e-005]; + _vehicle_761 = _this; + _this setDir -79.438599; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7803.418, 12563.219, 2.2888184e-005]; +}; + +_vehicle_764 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7817.2456, 12566.893, 2.2888184e-005]; + _vehicle_764 = _this; + _this setDir -14.840211; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7817.2456, 12566.893, 2.2888184e-005]; +}; + +_vehicle_767 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7834.6924, 12570.368, 0.00015258789]; + _vehicle_767 = _this; + _this setDir -9.7365408; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7834.6924, 12570.368, 0.00015258789]; +}; + +_vehicle_769 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7857.8774, 12575.037, 0.00015258789]; + _vehicle_769 = _this; + _this setDir -10.629781; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7857.8774, 12575.037, 0.00015258789]; +}; + +_vehicle_773 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7863.6865, 12576.196, 0.00026702881]; + _vehicle_773 = _this; + _this setDir -11.683409; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7863.6865, 12576.196, 0.00026702881]; +}; + +_vehicle_775 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7892.749, 12582.031, 0.00012207031]; + _vehicle_775 = _this; + _this setDir -13.617166; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7892.749, 12582.031, 0.00012207031]; +}; + +_vehicle_777 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7898.4868, 12583.469, 6.8664551e-005]; + _vehicle_777 = _this; + _this setDir -13.567074; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7898.4868, 12583.469, 6.8664551e-005]; +}; + +_vehicle_779 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7927.4224, 12592.181, 0.03926748]; + _vehicle_779 = _this; + _this setDir -16.835325; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7927.4224, 12592.181, 0.03926748]; +}; + +_vehicle_781 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7930.7114, 12595.124, 0.11132366]; + _vehicle_781 = _this; + _this setDir -103.90511; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7930.7114, 12595.124, 0.11132366]; +}; + +_vehicle_784 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7928.082, 12606.62, 0.00038909912]; + _vehicle_784 = _this; + _this setDir -100.37136; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7928.082, 12606.62, 0.00038909912]; +}; + +_vehicle_786 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7923.4575, 12629.722, 0.0001373291]; + _vehicle_786 = _this; + _this setDir -99.3834; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7923.4575, 12629.722, 0.0001373291]; +}; + +_vehicle_791 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7899.3545, 12650.11, 0.055193551]; + _vehicle_791 = _this; + _this setDir -7.127285; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7899.3545, 12650.11, 0.055193551]; +}; + +_vehicle_793 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7893.416, 12649.437, 0.054926522]; + _vehicle_793 = _this; + _this setDir -4.4865141; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7893.416, 12649.437, 0.054926522]; +}; + +_vehicle_795 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7887.4092, 12648.818, 0.18095694]; + _vehicle_795 = _this; + _this setDir -6.5264587; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7887.4092, 12648.818, 0.18095694]; +}; + +_vehicle_797 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7883.9736, 12652.296, 0.21083659]; + _vehicle_797 = _this; + _this setDir 66.964455; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7883.9736, 12652.296, 0.21083659]; +}; + +_vehicle_802 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7866.7295, 12668.918, 0.05482734]; + _vehicle_802 = _this; + _this setDir -13.351489; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7866.7295, 12668.918, 0.05482734]; +}; + +_vehicle_805 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7860.7261, 12677.117, 0.18084966]; + _vehicle_805 = _this; + _this setDir 65.093285; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7860.7261, 12677.117, 0.18084966]; +}; + +_vehicle_808 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7858.2217, 12682.443, 0.22590555]; + _vehicle_808 = _this; + _this setDir 65.093285; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7858.2217, 12682.443, 0.22590555]; +}; + +_vehicle_810 = objNull; +if (true) then +{ + _this = "MAP_misc_amplion_wood" createVehicle [7726.4653, 12603.682, -9.1552734e-005]; + _vehicle_810 = _this; + _this setDir -34.208656; + _this setPos [7726.4653, 12603.682, -9.1552734e-005]; +}; + +_vehicle_867 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7847.7979, 12682.25, 0.10678213]; + _vehicle_867 = _this; + _this setDir -10.629051; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7847.7979, 12682.25, 0.10678213]; +}; + +_vehicle_869 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7841.9434, 12681.131, 0.17862763]; + _vehicle_869 = _this; + _this setDir -10.886585; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7841.9434, 12681.131, 0.17862763]; +}; + +_vehicle_872 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7832.459, 12662.427, -1.5258789e-005]; + _vehicle_872 = _this; + _this setDir -17.639917; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7832.459, 12662.427, -1.5258789e-005]; +}; + +_vehicle_875 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7839.3071, 12676.909, -0.025063775]; + _vehicle_875 = _this; + _this setDir -78.318642; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7839.3071, 12676.909, -0.025063775]; +}; + +_vehicle_878 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7837.9673, 12671.104, 0.0035295449]; + _vehicle_878 = _this; + _this setDir 284.03558; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7837.9673, 12671.104, 0.0035295449]; +}; + +_vehicle_881 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7821.7012, 12659.141, 0.13356313]; + _vehicle_881 = _this; + _this setDir -15.100958; + _this setPos [7821.7012, 12659.141, 0.13356313]; +}; + +_vehicle_883 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7810.3833, 12655.851, 0.34592381]; + _vehicle_883 = _this; + _this setDir -16.251894; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7810.3833, 12655.851, 0.34592381]; +}; + +_vehicle_886 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7793.6279, 12649.558, 0.47203225]; + _vehicle_886 = _this; + _this setDir -26.897541; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7793.6279, 12649.558, 0.47203225]; +}; + +_vehicle_888 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7783.3882, 12643.191, 0.39535707]; + _vehicle_888 = _this; + _this setDir -33.228615; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7783.3882, 12643.191, 0.39535707]; +}; + +_vehicle_891 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7778.5776, 12640.035, 0.32749435]; + _vehicle_891 = _this; + _this setDir -33.228615; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7778.5776, 12640.035, 0.32749435]; +}; + +_vehicle_894 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7767.563, 12632.272, 1.5258789e-005]; + _vehicle_894 = _this; + _this setDir -33.228615; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7767.563, 12632.272, 1.5258789e-005]; +}; + +_vehicle_896 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7757.7778, 12625.658, 6.8664551e-005]; + _vehicle_896 = _this; + _this setDir -33.228615; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7757.7778, 12625.658, 6.8664551e-005]; +}; + +_vehicle_898 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7746.001, 12617.278, 3.8146973e-005]; + _vehicle_898 = _this; + _this setDir -35.702667; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7746.001, 12617.278, 3.8146973e-005]; +}; + +_vehicle_902 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7732.6816, 12608.401, 5.3405762e-005]; + _vehicle_902 = _this; + _this setDir -32.901619; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7732.6816, 12608.401, 5.3405762e-005]; +}; + +_vehicle_904 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7722.9072, 12601.872, 0.00010681152]; + _vehicle_904 = _this; + _this setDir -33.980953; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7722.9072, 12601.872, 0.00010681152]; +}; + +_vehicle_906 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7718.2114, 12598.712, 3.8146973e-005]; + _vehicle_906 = _this; + _this setDir -33.716564; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7718.2114, 12598.712, 3.8146973e-005]; +}; + +_vehicle_908 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7708.0195, 12588.974, 5.3405762e-005]; + _vehicle_908 = _this; + _this setDir -59.070103; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7708.0195, 12588.974, 5.3405762e-005]; +}; + +_vehicle_910 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7703.4111, 12578.161, -0.064826578]; + _vehicle_910 = _this; + _this setDir -68.85527; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7703.4111, 12578.161, -0.064826578]; +}; + +_vehicle_915 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7695.498, 12556.22, -0.10462105]; + _vehicle_915 = _this; + _this setDir -70.145775; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7695.498, 12556.22, -0.10462105]; +}; + +_vehicle_917 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7689.8384, 12539.952, -0.068956152]; + _vehicle_917 = _this; + _this setDir -65.422539; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7689.8384, 12539.952, -0.068956152]; +}; + +_vehicle_919 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7687.6196, 12534.532, -0.15200771]; + _vehicle_919 = _this; + _this setDir -68.380638; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7687.6196, 12534.532, -0.15200771]; +}; + +_vehicle_924 = objNull; +if (true) then +{ + _this = "MAP_SidewalkClearShort" createVehicle [7826.3003, 12639.023, 0.26242876]; + _vehicle_924 = _this; + _this setDir -20.166483; + _this setPos [7826.3003, 12639.023, 0.26242876]; +}; + +_vehicle_925 = objNull; +if (true) then +{ + _this = "MAP_SidewalkClearMiddle" createVehicle [7841.8374, 12605.22, 0.17033358]; + _vehicle_925 = _this; + _this setDir 73.87928; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7841.8374, 12605.22, 0.17033358]; +}; + +_vehicle_927 = objNull; +if (true) then +{ + _this = "MAP_SidewalkClearMiddle" createVehicle [7836.877, 12607.948, 0.064775042]; + _vehicle_927 = _this; + _this setDir 162.2057; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7836.877, 12607.948, 0.064775042]; +}; + +_vehicle_930 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7828.4399, 12621.266, -7.6293945e-006]; + _vehicle_930 = _this; + _this setDir 341.61823; + _this setPos [7828.4399, 12621.266, -7.6293945e-006]; +}; + +_vehicle_933 = objNull; +if (true) then +{ + _this = "MAP_asf3_6konec" createVehicle [7818.9854, 12650.186, 1.5258789e-005]; + _vehicle_933 = _this; + _this setDir 161.00658; + _this setPos [7818.9854, 12650.186, 1.5258789e-005]; +}; + +_vehicle_941 = objNull; +if (true) then +{ + _this = "Land_Mil_Barracks_i" createVehicle [7717.2246, 12651.172, 0.20807664]; + _vehicle_941 = _this; + _this setDir -32.88995; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7717.2246, 12651.172, 0.20807664]; +}; + +_vehicle_944 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7766.2925, 12636.271, 0.12808849]; + _vehicle_944 = _this; + _this setDir 55.254215; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7766.2925, 12636.271, 0.12808849]; +}; + +_vehicle_947 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7762.8984, 12641.222, 0.16551374]; + _vehicle_947 = _this; + _this setDir 55.254215; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7762.8984, 12641.222, 0.16551374]; +}; + +_vehicle_949 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7759.5381, 12646.073, 0.21728064]; + _vehicle_949 = _this; + _this setDir 55.254215; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7759.5381, 12646.073, 0.21728064]; +}; + +_vehicle_951 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7746.1807, 12665.759, 0.33064225]; + _vehicle_951 = _this; + _this setDir 55.254215; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7746.1807, 12665.759, 0.33064225]; +}; + +_vehicle_953 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7739.6006, 12675.721, 0.36060011]; + _vehicle_953 = _this; + _this setDir 55.254215; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7739.6006, 12675.721, 0.36060011]; +}; + +_vehicle_955 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7731.7896, 12679.784, 0.1581676]; + _vehicle_955 = _this; + _this setDir -32.411633; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7731.7896, 12679.784, 0.1581676]; +}; + +_vehicle_958 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7726.709, 12676.622, 0.1179219]; + _vehicle_958 = _this; + _this setDir -31.223825; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7726.709, 12676.622, 0.1179219]; +}; + +_vehicle_960 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7716.6465, 12670.276, -0.00012969971]; + _vehicle_960 = _this; + _this setDir -31.223825; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7716.6465, 12670.276, -0.00012969971]; +}; + +_vehicle_962 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7711.4736, 12667.091, 5.3405762e-005]; + _vehicle_962 = _this; + _this setDir -31.223825; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7711.4736, 12667.091, 5.3405762e-005]; +}; + +_vehicle_964 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7706.3169, 12663.904, -3.0517578e-005]; + _vehicle_964 = _this; + _this setDir -31.223825; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7706.3169, 12663.904, -3.0517578e-005]; +}; + +_vehicle_966 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7701.2568, 12660.78, 0.0082040355]; + _vehicle_966 = _this; + _this setDir -31.223825; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7701.2568, 12660.78, 0.0082040355]; +}; + +_vehicle_968 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7696.7773, 12653.144, -0.14467625]; + _vehicle_968 = _this; + _this setDir -120.4924; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7696.7773, 12653.144, -0.14467625]; +}; + +_vehicle_971 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7699.7202, 12648.123, -0.14029245]; + _vehicle_971 = _this; + _this setDir -120.70387; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7699.7202, 12648.123, -0.14029245]; +}; + +_vehicle_973 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7718.8198, 12615.579, -7.6293945e-006]; + _vehicle_973 = _this; + _this setDir -122.58968; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7718.8198, 12615.579, -7.6293945e-006]; +}; + +_vehicle_975 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7722.0029, 12610.618, 7.6293945e-006]; + _vehicle_975 = _this; + _this setDir -122.58968; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7722.0029, 12610.618, 7.6293945e-006]; +}; + +_vehicle_977 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7725.1201, 12605.705, 7.6293945e-005]; + _vehicle_977 = _this; + _this setDir -122.58968; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7725.1201, 12605.705, 7.6293945e-005]; +}; + +_vehicle_981 = objNull; +if (true) then +{ + _this = "MAP_Ind_Shed_02_end" createVehicle [7720.6729, 12618.237, -0.01264854]; + _vehicle_981 = _this; + _this setDir -34.836926; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7720.6729, 12618.237, -0.01264854]; +}; + +_vehicle_982 = objNull; +if (true) then +{ + _this = "MAP_Ind_Shed_02_main" createVehicle [7726.4136, 12610.137, -0.018727042]; + _vehicle_982 = _this; + _this setDir -34.883072; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7726.4136, 12610.137, -0.018727042]; +}; + +_vehicle_986 = objNull; +if (true) then +{ + _this = "MAP_Ind_Shed_02_main" createVehicle [7724.1426, 12613.416]; + _vehicle_986 = _this; + _this setDir -34.883072; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7724.1426, 12613.416]; +}; + +_vehicle_1047 = objNull; +if (true) then +{ + _this = "MAP_asf3_10_100" createVehicle [7753.4473, 12607.526, 1.5258789e-005]; + _vehicle_1047 = _this; + _this setDir 48.536385; + _this setPos [7753.4473, 12607.526, 1.5258789e-005]; +}; + +_vehicle_1053 = objNull; +if (true) then +{ + _this = "MAP_asf3_12" createVehicle [7765.2251, 12616.556, 7.6293945e-005]; + _vehicle_1053 = _this; + _this setDir 57.104; + _this setPos [7765.2251, 12616.556, 7.6293945e-005]; +}; + +_vehicle_1056 = objNull; +if (true) then +{ + _this = "MAP_grav_6konec" createVehicle [7759.7349, 12612.493, 1.5258789e-005]; + _vehicle_1056 = _this; + _this setDir -36.31155; + _this setPos [7759.7349, 12612.493, 1.5258789e-005]; +}; + +_vehicle_1058 = objNull; +if (true) then +{ + _this = "MAP_grav_6" createVehicle [7729.5171, 12612.94, -0.00010681152]; + _vehicle_1058 = _this; + _this setDir -36.097012; + _this setPos [7729.5171, 12612.94, -0.00010681152]; +}; + +_vehicle_1059 = objNull; +if (true) then +{ + _this = "MAP_grav_0_2000" createVehicle [7756.1611, 12617.616, 7.6293945e-006]; + _vehicle_1059 = _this; + _this setDir -36.332043; + _this setPos [7756.1611, 12617.616, 7.6293945e-006]; +}; + +_vehicle_1060 = objNull; +if (true) then +{ + _this = "MAP_grav_1_1000" createVehicle [7745.9106, 12631.722, -4.5776367e-005]; + _vehicle_1060 = _this; + _this setDir -36.590664; + _this setPos [7745.9106, 12631.722, -4.5776367e-005]; +}; + +_vehicle_1062 = objNull; +if (true) then +{ + _this = "MAP_grav_6konec" createVehicle [7722.2256, 12664.523, 3.0517578e-005]; + _vehicle_1062 = _this; + _this setDir 145.28281; + _this setPos [7722.2256, 12664.523, 3.0517578e-005]; +}; + +_vehicle_1065 = objNull; +if (true) then +{ + _this = "MAP_grav_1_1000" createVehicle [7736.0493, 12645.316, 3.0517578e-005]; + _vehicle_1065 = _this; + _this setDir -36.590664; + _this setPos [7736.0493, 12645.316, 3.0517578e-005]; +}; + +_vehicle_1073 = objNull; +if (true) then +{ + _this = "MAP_grav_60_10" createVehicle [7725.8506, 12617.95, 5.3405762e-005]; + _vehicle_1073 = _this; + _this setDir -37.407166; + _this setPos [7725.8506, 12617.95, 5.3405762e-005]; +}; + +_vehicle_1074 = objNull; +if (true) then +{ + _this = "MAP_grav_6" createVehicle [7731.9292, 12638.387, 2.2888184e-005]; + _vehicle_1074 = _this; + _this setDir 51.239017; + _this setPos [7731.9292, 12638.387, 2.2888184e-005]; +}; + +_vehicle_1075 = objNull; +if (true) then +{ + _this = "MAP_grav_30_25" createVehicle [7724.5269, 12627.86, 3.0517578e-005]; + _vehicle_1075 = _this; + _this setDir 19.970526; + _this setPos [7724.5269, 12627.86, 3.0517578e-005]; +}; + +_vehicle_1082 = objNull; +if (true) then +{ + _this = "MAP_vez" createVehicle [7695.1968, 12653.645, 7.6293945e-006]; + _vehicle_1082 = _this; + _this setDir -73.749771; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7695.1968, 12653.645, 7.6293945e-006]; +}; + +_vehicle_1085 = objNull; +if (true) then +{ + _this = "MAP_grav_6konec" createVehicle [7733.1118, 12607.861, 3.0517578e-005]; + _vehicle_1085 = _this; + _this setDir 324.60812; + _this setPos [7733.1118, 12607.861, 3.0517578e-005]; +}; + +_vehicle_1096 = objNull; +if (true) then +{ + _this = "MAP_Shed_M01" createVehicle [7760.9165, 12632.6, 1.5258789e-005]; + _vehicle_1096 = _this; + _this setDir 146.22749; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7760.9165, 12632.6, 1.5258789e-005]; +}; + +_vehicle_1099 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_Pole" createVehicle [7749.3135, 12619.683, -6.8664551e-005]; + _vehicle_1099 = _this; + _this setDir -34.93668; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7749.3135, 12619.683, -6.8664551e-005]; +}; + +_vehicle_1102 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7737.7109, 12611.75, 2.2888184e-005]; + _vehicle_1102 = _this; + _this setDir -33.228615; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7737.7109, 12611.75, 2.2888184e-005]; +}; + +_vehicle_1105 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7727.7031, 12605.131]; + _vehicle_1105 = _this; + _this setDir -32.901619; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7727.7031, 12605.131]; +}; + +_vehicle_1110 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7712.6367, 12625.332]; + _vehicle_1110 = _this; + _this setDir -122.58968; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7712.6367, 12625.332]; +}; + +_vehicle_1112 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7709.5278, 12630.21, -1.5258789e-005]; + _vehicle_1112 = _this; + _this setDir -122.58968; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7709.5278, 12630.21, -1.5258789e-005]; +}; + +_vehicle_1143 = objNull; +if (true) then +{ + _this = "MAP_Wall_Gate_Ind2A_L" createVehicle [7752.7573, 12622.056, 0.098224759]; + _vehicle_1143 = _this; + _this setDir -35.34116; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7752.7573, 12622.056, 0.098224759]; +}; + +_vehicle_1144 = objNull; +if (true) then +{ + _this = "MAP_Wall_Gate_Ind2A_R" createVehicle [7752.7671, 12622.078, 0.047656305]; + _vehicle_1144 = _this; + _this setDir -35.193165; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7752.7671, 12622.078, 0.047656305]; +}; + +_vehicle_1150 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_2" createVehicle [7742.5352, 12614.991, 7.6293945e-006]; + _vehicle_1150 = _this; + _this setDir -35.497524; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7742.5352, 12614.991, 7.6293945e-006]; +}; + +_vehicle_1151 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_3" createVehicle [7744.3071, 12615.829, -0.141716]; + _vehicle_1151 = _this; + _this setDir -31.944662; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7744.3071, 12615.829, -0.141716]; +}; + +_vehicle_1155 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7762.7192, 12628.993, 3.8146973e-005]; + _vehicle_1155 = _this; + _this setDir -34.754059; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7762.7192, 12628.993, 3.8146973e-005]; +}; + +_vehicle_1158 = objNull; +if (true) then +{ + _this = "MAP_CncBlock" createVehicle [7723.6113, 12662.21, -7.6293945e-006]; + _vehicle_1158 = _this; + _this setDir -32.197491; + _this setPos [7723.6113, 12662.21, -7.6293945e-006]; +}; + +_vehicle_1160 = objNull; +if (true) then +{ + _this = "MAP_CncBlock" createVehicle [7732.6021, 12611.523, 1.5258789e-005]; + _vehicle_1160 = _this; + _this setDir -31.637428; + _this setPos [7732.6021, 12611.523, 1.5258789e-005]; +}; + +_vehicle_1163 = objNull; +if (true) then +{ + _this = "MAP_CncBlock" createVehicle [7730.0259, 12609.908, 1.5258789e-005]; + _vehicle_1163 = _this; + _this setDir -31.564798; + _this setPos [7730.0259, 12609.908, 1.5258789e-005]; +}; + +_vehicle_1166 = objNull; +if (true) then +{ + _this = "MAP_Misc_Cargo1B" createVehicle [7728.1997, 12615.005, 2.2888184e-005]; + _vehicle_1166 = _this; + _this setDir -32.776592; + _this setPos [7728.1997, 12615.005, 2.2888184e-005]; +}; + +_vehicle_1169 = objNull; +if (true) then +{ + _this = "MAP_Misc_Cargo2B" createVehicle [7750.3257, 12641.221, -7.6293945e-006]; + _vehicle_1169 = _this; + _this setDir 53.845627; + _this setPos [7750.3257, 12641.221, -7.6293945e-006]; +}; + +_vehicle_1172 = objNull; +if (true) then +{ + _this = "MAP_Misc_Cargo1B" createVehicle [7747.9375, 12644.247]; + _vehicle_1172 = _this; + _this setDir 61.758411; + _this setPos [7747.9375, 12644.247]; +}; + +_vehicle_1175 = objNull; +if (true) then +{ + _this = "MAP_t_quercus3s" createVehicle [7737.3955, 12660.661]; + _vehicle_1175 = _this; + _this setDir 49.709446; + _this setPos [7737.3955, 12660.661]; +}; + +_vehicle_1180 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [7692.1167, 12507.463, 7.6293945e-006]; + _vehicle_1180 = _this; + _this setDir 124.50201; + _this setPos [7692.1167, 12507.463, 7.6293945e-006]; +}; + +_vehicle_1183 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [7734.3438, 12643.585, -4.5776367e-005]; + _vehicle_1183 = _this; + _this setDir 43.441601; + _this setPos [7734.3438, 12643.585, -4.5776367e-005]; +}; + +_vehicle_1186 = objNull; +if (true) then +{ + _this = "MAP_asf3_10_100" createVehicle [7744.6782, 12568.355, 3.8146973e-005]; + _vehicle_1186 = _this; + _this setDir 62.738022; + _this setPos [7744.6782, 12568.355, 3.8146973e-005]; +}; + +_vehicle_1192 = objNull; +if (true) then +{ + _this = "MAP_asf3_12" createVehicle [7758.2881, 12574.159, 3.0517578e-005]; + _vehicle_1192 = _this; + _this setDir 69.827896; + _this setPos [7758.2881, 12574.159, 3.0517578e-005]; +}; + +_vehicle_1195 = objNull; +if (true) then +{ + _this = "Misc_concrete_High" createVehicle [7709.3003, 12656.343, 1.5258789e-005]; + _vehicle_1195 = _this; + _this setPos [7709.3003, 12656.343, 1.5258789e-005]; +}; + +_vehicle_1197 = objNull; +if (true) then +{ + _this = "Misc_concrete_High" createVehicle [7705.187, 12654.055, -6.8664551e-005]; + _vehicle_1197 = _this; + _this setDir 59.238518; + _this setPos [7705.187, 12654.055, -6.8664551e-005]; +}; + +_vehicle_1199 = objNull; +if (true) then +{ + _this = "Misc_concrete_High" createVehicle [7734.4502, 12625.535, -7.6293945e-006]; + _vehicle_1199 = _this; + _this setDir 28.990669; + _this setPos [7734.4502, 12625.535, -7.6293945e-006]; +}; + +_vehicle_1201 = objNull; +if (true) then +{ + _this = "Misc_concrete_High" createVehicle [7735.1274, 12629.831, -1.5258789e-005]; + _vehicle_1201 = _this; + _this setDir 124.03037; + _this setPos [7735.1274, 12629.831, -1.5258789e-005]; +}; + +_vehicle_1204 = objNull; +if (true) then +{ + _this = "MAP_garbage_paleta" createVehicle [7732.1016, 12628.231, -1.5258789e-005]; + _vehicle_1204 = _this; + _this setDir 10.805914; + _this setPos [7732.1016, 12628.231, -1.5258789e-005]; +}; + +_vehicle_1237 = objNull; +if (true) then +{ + _this = "MAP_KBud" createVehicle [7700.4297, 12658.559, 2.2888184e-005]; + _vehicle_1237 = _this; + _this setDir -34.483868; + _this setPos [7700.4297, 12658.559, 2.2888184e-005]; +}; + +_vehicle_1239 = objNull; +if (true) then +{ + _this = "MAP_KBud" createVehicle [7702.2012, 12659.793, 0.033954725]; + _vehicle_1239 = _this; + _this setDir -33.13018; + _this setPos [7702.2012, 12659.793, 0.033954725]; +}; + +_vehicle_1259 = objNull; +if (true) then +{ + _this = "Park_bench2_noRoad" createVehicle [7734.8789, 12660.362, 1.5258789e-005]; + _vehicle_1259 = _this; + _this setDir -123.72775; + _this setPos [7734.8789, 12660.362, 1.5258789e-005]; +}; + +_vehicle_1263 = objNull; +if (true) then +{ + _this = "Park_bench2_noRoad" createVehicle [7738.6924, 12658.795, 4.5776367e-005]; + _vehicle_1263 = _this; + _this setDir -212.95084; + _this setPos [7738.6924, 12658.795, 4.5776367e-005]; +}; + +_vehicle_1270 = objNull; +if (true) then +{ + _this = "MAP_path_60_10" createVehicle [7792.2695, 12575.065, 0.0001373291]; + _vehicle_1270 = _this; + _this setDir -84.290199; + _this setPos [7792.2695, 12575.065, 0.0001373291]; +}; + +_vehicle_1271 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7784.7842, 12580.054, 3.0517578e-005]; + _vehicle_1271 = _this; + _this setPos [7784.7842, 12580.054, 3.0517578e-005]; +}; + +_vehicle_1273 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7785.4751, 12578.764, 3.0517578e-005]; + _vehicle_1273 = _this; + _this setPos [7785.4751, 12578.764, 3.0517578e-005]; +}; + +_vehicle_1275 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7786.3364, 12577.739]; + _vehicle_1275 = _this; + _this setPos [7786.3364, 12577.739]; +}; + +_vehicle_1277 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7787.874, 12576.682, 3.0517578e-005]; + _vehicle_1277 = _this; + _this setPos [7787.874, 12576.682, 3.0517578e-005]; +}; + +_vehicle_1279 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7789.583, 12575.798, 5.3405762e-005]; + _vehicle_1279 = _this; + _this setPos [7789.583, 12575.798, 5.3405762e-005]; +}; + +_vehicle_1281 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7790.6367, 12574.889]; + _vehicle_1281 = _this; + _this setPos [7790.6367, 12574.889]; +}; + +_vehicle_1283 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7788.291, 12575.793, 1.5258789e-005]; + _vehicle_1283 = _this; + _this setPos [7788.291, 12575.793, 1.5258789e-005]; +}; + +_vehicle_1293 = objNull; +if (true) then +{ + _this = "MAP_path_60_10" createVehicle [7818.978, 12583.803, -2.2888184e-005]; + _vehicle_1293 = _this; + _this setDir -84.290199; + _this setPos [7818.978, 12583.803, -2.2888184e-005]; +}; + +_vehicle_1294 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7811.1563, 12588.838, -0.032325745]; + _vehicle_1294 = _this; + _this setPos [7811.1563, 12588.838, -0.032325745]; +}; + +_vehicle_1295 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7811.8472, 12587.546, -0.036102295]; + _vehicle_1295 = _this; + _this setPos [7811.8472, 12587.546, -0.036102295]; +}; + +_vehicle_1296 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7812.7085, 12586.519, -0.036987305]; + _vehicle_1296 = _this; + _this setPos [7812.7085, 12586.519, -0.036987305]; +}; + +_vehicle_1297 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7813.7905, 12585.723, -0.027893066]; + _vehicle_1297 = _this; + _this setPos [7813.7905, 12585.723, -0.027893066]; +}; + +_vehicle_1298 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7815.9551, 12584.583, -0.01638031]; + _vehicle_1298 = _this; + _this setPos [7815.9551, 12584.583, -0.01638031]; +}; + +_vehicle_1299 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7817.0088, 12583.671, -0.0083618164]; + _vehicle_1299 = _this; + _this setPos [7817.0088, 12583.671, -0.0083618164]; +}; + +_vehicle_1300 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7814.6631, 12584.569, -0.023269653]; + _vehicle_1300 = _this; + _this setPos [7814.6631, 12584.569, -0.023269653]; +}; + +_vehicle_1303 = objNull; +if (true) then +{ + _this = "MAP_Ind_Shed_02_end" createVehicle [7790.4336, 12626.612, 0.062508754]; + _vehicle_1303 = _this; + _this setDir 62.528984; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7790.4336, 12626.612, 0.062508754]; +}; + +_vehicle_1304 = objNull; +if (true) then +{ + _this = "MAP_Ind_Shed_02_main" createVehicle [7788.668, 12625.691, 0.086072117]; + _vehicle_1304 = _this; + _this setDir 62.482872; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7788.668, 12625.691, 0.086072117]; +}; + +_vehicle_1308 = objNull; +if (true) then +{ + _this = "MAP_Ind_Shed_02_main" createVehicle [7785.1343, 12623.848, 0.037920918]; + _vehicle_1308 = _this; + _this setDir 62.417503; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7785.1343, 12623.848, 0.037920918]; +}; + +_vehicle_1310 = objNull; +if (true) then +{ + _this = "MAP_Ind_Shed_02_main" createVehicle [7781.6538, 12622.015, -0.036657136]; + _vehicle_1310 = _this; + _this setDir 62.482872; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7781.6538, 12622.015, -0.036657136]; +}; + +_vehicle_1312 = objNull; +if (true) then +{ + _this = "MAP_Ind_Shed_02_main" createVehicle [7778.1138, 12620.172, -0.10245585]; + _vehicle_1312 = _this; + _this setDir 62.482872; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7778.1138, 12620.172, -0.10245585]; +}; + +_vehicle_1317 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_3" createVehicle [7824.5879, 12603.449, -7.6293945e-006]; + _vehicle_1317 = _this; + _this setDir -17.653694; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7824.5879, 12603.449, -7.6293945e-006]; +}; + +_vehicle_1318 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_9" createVehicle [7790.6348, 12592.038, -0.0069994885]; + _vehicle_1318 = _this; + _this setDir -19.085501; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7790.6348, 12592.038, -0.0069994885]; +}; + +_vehicle_1319 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_9_2" createVehicle [7799.2979, 12594.885, 0.038049944]; + _vehicle_1319 = _this; + _this setDir -18.062798; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7799.2979, 12594.885, 0.038049944]; +}; + +_vehicle_1324 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_9" createVehicle [7807.6309, 12597.762, -7.6293945e-006]; + _vehicle_1324 = _this; + _this setDir -19.085501; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7807.6309, 12597.762, -7.6293945e-006]; +}; + +_vehicle_1326 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_9" createVehicle [7816.1279, 12600.644, 0.00011444092]; + _vehicle_1326 = _this; + _this setDir -18.411188; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7816.1279, 12600.644, 0.00011444092]; +}; + +_vehicle_1329 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_9" createVehicle [7828.2422, 12606.102, 7.6293945e-006]; + _vehicle_1329 = _this; + _this setDir -109.33883; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7828.2422, 12606.102, 7.6293945e-006]; +}; + +_vehicle_1332 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_3" createVehicle [7871.0596, 12612.797, 3.8146973e-005]; + _vehicle_1332 = _this; + _this setDir -52.523972; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7871.0596, 12612.797, 3.8146973e-005]; +}; + +_vehicle_1336 = objNull; +if (true) then +{ + _this = "Park_bench2_noRoad" createVehicle [7734.853, 12587.698, 4.5776367e-005]; + _vehicle_1336 = _this; + _this setDir -215.74066; + _this setPos [7734.853, 12587.698, 4.5776367e-005]; +}; + +_vehicle_1339 = objNull; +if (true) then +{ + _this = "Park_bench2_noRoad" createVehicle [7738.0195, 12589.964, 4.5776367e-005]; + _vehicle_1339 = _this; + _this setDir -217.41992; + _this setPos [7738.0195, 12589.964, 4.5776367e-005]; +}; + +_vehicle_1342 = objNull; +if (true) then +{ + _this = "MAP_popelnice" createVehicle [7732.8066, 12587.332, 1.5258789e-005]; + _vehicle_1342 = _this; + _this setDir 10.805914; + _this setPos [7732.8066, 12587.332, 1.5258789e-005]; +}; + +_vehicle_1346 = objNull; +if (true) then +{ + _this = "Land_Ind_Workshop01_01" createVehicle [7774.48, 12631.132]; + _vehicle_1346 = _this; + _this setDir 237.9478; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7774.48, 12631.132]; +}; + +_vehicle_1349 = objNull; +if (true) then +{ + _this = "MAP_IndPipe2_big_ground1" createVehicle [7800.6016, 12564.797, 0.21088617]; + _vehicle_1349 = _this; + _this setDir 343.12219; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7800.6016, 12564.797, 0.21088617]; +}; + +_vehicle_1354 = objNull; +if (true) then +{ + _this = "Land_Ind_Workshop01_box" createVehicle [7804.9658, 12579.756, -0.081947327]; + _vehicle_1354 = _this; + _this setDir 341.55197; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7804.9658, 12579.756, -0.081947327]; +}; + +_vehicle_1364 = objNull; +if (true) then +{ + _this = "MAP_IndPipe2_big_18" createVehicle [7791.7129, 12592.332, 0.29488069]; + _vehicle_1364 = _this; + _this setDir -18.378023; + _this setPos [7791.7129, 12592.332, 0.29488069]; +}; + +_vehicle_1370 = objNull; +if (true) then +{ + _this = "MAP_IndPipe2_big_18" createVehicle [7797.4272, 12575.175, 0.33114976]; + _vehicle_1370 = _this; + _this setDir -18.394876; + _this setPos [7797.4272, 12575.175, 0.33114976]; +}; + +_vehicle_1373 = objNull; +if (true) then +{ + _this = "MAP_IndPipe2_big_18" createVehicle [7800.6802, 12608.633, 0.24707189]; + _vehicle_1373 = _this; + _this setDir 73.276405; + _this setPos [7800.6802, 12608.633, 0.24707189]; +}; + +_vehicle_1376 = objNull; +if (true) then +{ + _this = "MAP_IndPipe2_bigL_R" createVehicle [7789.2705, 12604.2, 0.25786576]; + _vehicle_1376 = _this; + _this setDir -17.899719; + _this setPos [7789.2705, 12604.2, 0.25786576]; +}; + +_vehicle_1379 = objNull; +if (true) then +{ + _this = "MAP_IndPipe2_T_L" createVehicle [7812.0537, 12612.071, 0.25391951]; + _vehicle_1379 = _this; + _this setDir 72.675041; + _this setPos [7812.0537, 12612.071, 0.25391951]; +}; + +_vehicle_1382 = objNull; +if (true) then +{ + _this = "MAP_IndPipe2_bigL_L" createVehicle [7821.1577, 12616.521, 0.258434]; + _vehicle_1382 = _this; + _this setDir 73.759819; + _this setPos [7821.1577, 12616.521, 0.258434]; +}; + +_vehicle_1385 = objNull; +if (true) then +{ + _this = "MAP_IndPipe2_T_L" createVehicle [7820.8931, 12641.068, 0.25757682]; + _vehicle_1385 = _this; + _this setDir 72.589394; + _this setPos [7820.8931, 12641.068, 0.25757682]; +}; + +_vehicle_1388 = objNull; +if (true) then +{ + _this = "MAP_IndPipe2_big_18" createVehicle [7817.8477, 12626.724, 0.27502748]; + _vehicle_1388 = _this; + _this setDir -16.959375; + _this setPos [7817.8477, 12626.724, 0.27502748]; +}; + +_vehicle_1391 = objNull; +if (true) then +{ + _this = "MAP_IndPipe2_bigL_R" createVehicle [7815.6924, 12638.475, 0.25603756]; + _vehicle_1391 = _this; + _this setDir -17.838436; + _this setPos [7815.6924, 12638.475, 0.25603756]; +}; + +_vehicle_1393 = objNull; +if (true) then +{ + _this = "MAP_IndPipe2_big_18" createVehicle [7835.0586, 12645.84, 0.27234098]; + _vehicle_1393 = _this; + _this setDir 71.066978; + _this setPos [7835.0586, 12645.84, 0.27234098]; +}; + +_vehicle_1399 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_3" createVehicle [7827.3853, 12604.325, 0.00012969971]; + _vehicle_1399 = _this; + _this setDir -17.653694; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7827.3853, 12604.325, 0.00012969971]; +}; + +_vehicle_1402 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_9_2" createVehicle [7816.9624, 12637.286, 0.00015258789]; + _vehicle_1402 = _this; + _this setDir -197.48633; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7816.9624, 12637.286, 0.00015258789]; +}; + +_vehicle_1405 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_9" createVehicle [7825.396, 12614.617, 6.1035156e-005]; + _vehicle_1405 = _this; + _this setDir -107.01475; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7825.396, 12614.617, 6.1035156e-005]; +}; + +_vehicle_1409 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_9" createVehicle [7821.4033, 12628.045, -0.090993099]; + _vehicle_1409 = _this; + _this setDir -107.01475; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7821.4033, 12628.045, -0.090993099]; +}; + +_vehicle_1412 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_3" createVehicle [7818.7178, 12636.638, 5.3405762e-005]; + _vehicle_1412 = _this; + _this setDir -107.25523; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7818.7178, 12636.638, 5.3405762e-005]; +}; + +_vehicle_1415 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_9" createVehicle [7808.5537, 12634.129, 7.6293945e-005]; + _vehicle_1415 = _this; + _this setDir -203.28873; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7808.5537, 12634.129, 7.6293945e-005]; +}; + +_vehicle_1418 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_9_2" createVehicle [7800.2783, 12630.582, 6.1035156e-005]; + _vehicle_1418 = _this; + _this setDir -203.13016; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7800.2783, 12630.582, 6.1035156e-005]; +}; + +_vehicle_1421 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_3" createVehicle [7791.981, 12627.083, 7.6293945e-005]; + _vehicle_1421 = _this; + _this setDir -201.83371; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7791.981, 12627.083, 7.6293945e-005]; +}; + +_vehicle_1424 = objNull; +if (true) then +{ + _this = "MAP_asf3_6konec" createVehicle [7754.3921, 12610.604, 3.0517578e-005]; + _vehicle_1424 = _this; + _this setDir 140.20654; + _this setPos [7754.3921, 12610.604, 3.0517578e-005]; +}; + +_vehicle_1427 = objNull; +if (true) then +{ + _this = "MAP_IndPipe2_big_ground2" createVehicle [7845.0791, 12649.034, 0.30646935]; + _vehicle_1427 = _this; + _this setDir 70.427155; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7845.0791, 12649.034, 0.30646935]; +}; + +_vehicle_1431 = objNull; +if (true) then +{ + _this = "MAP_IndPipe1_20m" createVehicle [7874.3184, 12582.905, 0.055875607]; + _vehicle_1431 = _this; + _this setDir -103.63924; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7874.3184, 12582.905, 0.055875607]; +}; + +_vehicle_1435 = objNull; +if (true) then +{ + _this = "MAP_IndPipe1_stair" createVehicle [7864.2466, 12580.492, 0.23088312]; + _vehicle_1435 = _this; + _this setDir 256.7135; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7864.2466, 12580.492, 0.23088312]; +}; + +_vehicle_1436 = objNull; +if (true) then +{ + _this = "MAP_IndPipe1_valve" createVehicle [7890.5239, 12586.863, 0.14203395]; + _vehicle_1436 = _this; + _this setDir -104.63007; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7890.5239, 12586.863, 0.14203395]; +}; + +_vehicle_1440 = objNull; +if (true) then +{ + _this = "MAP_IndPipe1_20m" createVehicle [7848.0825, 12576.658, 0.06051933]; + _vehicle_1440 = _this; + _this setDir -103.56433; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7848.0825, 12576.658, 0.06051933]; +}; + +_vehicle_1442 = objNull; +if (true) then +{ + _this = "MAP_IndPipe1_20m" createVehicle [7827.9824, 12571.974, -0.015335854]; + _vehicle_1442 = _this; + _this setDir -103.1151; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7827.9824, 12571.974, -0.015335854]; +}; + +_vehicle_1445 = objNull; +if (true) then +{ + _this = "MAP_pumpa" createVehicle [7718.9258, 12578.927, 8.392334e-005]; + _vehicle_1445 = _this; + _this setPos [7718.9258, 12578.927, 8.392334e-005]; +}; + +_vehicle_1448 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [7705.9531, 12528.762, 0.00011444092]; + _vehicle_1448 = _this; + _this setDir 124.50201; + _this setPos [7705.9531, 12528.762, 0.00011444092]; +}; + +_vehicle_1450 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [7720.355, 12546.997, 5.3405762e-005]; + _vehicle_1450 = _this; + _this setDir 124.50201; + _this setPos [7720.355, 12546.997, 5.3405762e-005]; +}; + +_vehicle_1452 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [7734.7603, 12565.076, -7.6293945e-006]; + _vehicle_1452 = _this; + _this setDir 124.50201; + _this setPos [7734.7603, 12565.076, -7.6293945e-006]; +}; + +_vehicle_1454 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [7751.3984, 12574.767, 0.0001373291]; + _vehicle_1454 = _this; + _this setDir 212.74118; + _this setPos [7751.3984, 12574.767, 0.0001373291]; +}; + +_vehicle_1457 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [7745.4253, 12602.001, 9.9182129e-005]; + _vehicle_1457 = _this; + _this setDir 133.25655; + _this setPos [7745.4253, 12602.001, 9.9182129e-005]; +}; + +_vehicle_1460 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [7772.4795, 12625.15, 2.2888184e-005]; + _vehicle_1460 = _this; + _this setDir 152.8499; + _this setPos [7772.4795, 12625.15, 2.2888184e-005]; +}; + +_vehicle_1463 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [7796.8926, 12638.414, 0.00010681152]; + _vehicle_1463 = _this; + _this setDir 152.8499; + _this setPos [7796.8926, 12638.414, 0.00010681152]; +}; + +_vehicle_1465 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [7821.3228, 12651.434, 0.00015258789]; + _vehicle_1465 = _this; + _this setDir 152.8499; + _this setPos [7821.3228, 12651.434, 0.00015258789]; +}; + +_vehicle_1467 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [7865.5903, 12656.458, 7.6293945e-005]; + _vehicle_1467 = _this; + _this setDir 205.9785; + _this setPos [7865.5903, 12656.458, 7.6293945e-005]; +}; + +_vehicle_1469 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [7879.3843, 12640.64, 0.00011444092]; + _vehicle_1469 = _this; + _this setDir 269.20233; + _this setPos [7879.3843, 12640.64, 0.00011444092]; +}; + +_vehicle_1471 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [7878.5439, 12617.705, 7.6293945e-005]; + _vehicle_1471 = _this; + _this setDir 284.20206; + _this setPos [7878.5439, 12617.705, 7.6293945e-005]; +}; + +_vehicle_1473 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [7851.144, 12597.788, 9.9182129e-005]; + _vehicle_1473 = _this; + _this setDir 338.24484; + _this setPos [7851.144, 12597.788, 9.9182129e-005]; +}; + +_vehicle_1475 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [7821.7944, 12593.017, 3.8146973e-005]; + _vehicle_1475 = _this; + _this setDir 338.04602; + _this setPos [7821.7944, 12593.017, 3.8146973e-005]; +}; + +_vehicle_1477 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [7789.3413, 12582.643, 0.00015258789]; + _vehicle_1477 = _this; + _this setDir 337.26459; + _this setPos [7789.3413, 12582.643, 0.00015258789]; +}; + +_vehicle_1479 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [7720.3975, 12619.502, 0.00010681152]; + _vehicle_1479 = _this; + _this setDir 16.923697; + _this setPos [7720.3975, 12619.502, 0.00010681152]; +}; + +_vehicle_1481 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [7721.5454, 12662.101, -1.5258789e-005]; + _vehicle_1481 = _this; + _this setDir 127.10234; + _this setPos [7721.5454, 12662.101, -1.5258789e-005]; +}; + +_vehicle_1487 = objNull; +if (true) then +{ + _this = "Land_Chair_EP1" createVehicle [7726.2422, 12648.227, -0.0029579438]; + _vehicle_1487 = _this; + _this setDir 42.077667; + _this setPos [7726.2422, 12648.227, -0.0029579438]; +}; + +_vehicle_1491 = objNull; +if (true) then +{ + _this = "Land_Chair_EP1" createVehicle [7726.5444, 12645.13, 0.0049426812]; + _vehicle_1491 = _this; + _this setDir -59.887779; + _this setPos [7726.5444, 12645.13, 0.0049426812]; +}; + +_vehicle_1494 = objNull; +if (true) then +{ + _this = "Land_Chair_EP1" createVehicle [7725.8042, 12646.955, -0.12132435]; + _vehicle_1494 = _this; + _this setDir 110.9845; + _this setVehicleInit "this setVectorUp [1,1,0];"; + _this setPos [7725.8042, 12646.955, -0.12132435]; +}; + +_vehicle_1500 = objNull; +if (true) then +{ + _this = "SmallCraftTable_dz" createVehicle [7727.9194, 12649.016, -2.2888184e-005]; + _vehicle_1500 = _this; + _this setPos [7727.9194, 12649.016, -2.2888184e-005]; +}; + +_vehicle_1502 = objNull; +if (true) then +{ + _this = "Land_Bench_EP1" createVehicle [7724.6289, 12651.257, -2.2888184e-005]; + _vehicle_1502 = _this; + _this setDir 58.487434; + _this setPos [7724.6289, 12651.257, -2.2888184e-005]; +}; + +_vehicle_1504 = objNull; +if (true) then +{ + _this = "FoldChair" createVehicle [7728.2085, 12645.371, 7.6293945e-006]; + _vehicle_1504 = _this; + _this setDir 152.88995; + _this setPos [7728.2085, 12645.371, 7.6293945e-006]; +}; + +_vehicle_1505 = objNull; +if (true) then +{ + _this = "Land_Crates_EP1" createVehicle [7727.9028, 12648.913, 0.80981505]; + _vehicle_1505 = _this; + _this setPos [7727.9028, 12648.913, 0.80981505]; +}; + +_vehicle_1506 = objNull; +if (true) then +{ + _this = "Land_Bucket_EP1" createVehicle [7728.0898, 12648.938, 7.6293945e-006]; + _vehicle_1506 = _this; + _this setDir 5.7637253; + _this setPos [7728.0898, 12648.938, 7.6293945e-006]; +}; + +_vehicle_1509 = objNull; +if (true) then +{ + _this = "Land_Bucket_EP1" createVehicle [7700.0747, 12657.369, 5.3405762e-005]; + _vehicle_1509 = _this; + _this setDir -11.365155; + _this setPos [7700.0747, 12657.369, 5.3405762e-005]; +}; + +_vehicle_1511 = objNull; +if (true) then +{ + _this = "MAP_campfire" createVehicle [7727.3496, 12646.854, 5.3405762e-005]; + _vehicle_1511 = _this; + _this setPos [7727.3496, 12646.854, 5.3405762e-005]; +}; + +_vehicle_1513 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7708.0449, 12681.436, 0.022593636]; + _vehicle_1513 = _this; + _this setDir 58.261475; + _this setPos [7708.0449, 12681.436, 0.022593636]; +}; + +_vehicle_1515 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7691.8184, 12678.618, -0.0001373291]; + _vehicle_1515 = _this; + _this setDir 58.261475; + _this setPos [7691.8184, 12678.618, -0.0001373291]; +}; + +_vehicle_1517 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7669.6797, 12680.837, 0.00012207031]; + _vehicle_1517 = _this; + _this setDir 58.261475; + _this setPos [7669.6797, 12680.837, 0.00012207031]; +}; + +_vehicle_1519 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7693.0049, 12673.183, -7.6293945e-006]; + _vehicle_1519 = _this; + _this setDir 58.261475; + _this setPos [7693.0049, 12673.183, -7.6293945e-006]; +}; + +_vehicle_1521 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7718.6807, 12699.686, -0.00010681152]; + _vehicle_1521 = _this; + _this setDir 58.261475; + _this setPos [7718.6807, 12699.686, -0.00010681152]; +}; + +_vehicle_1523 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7725.3823, 12695.758, -7.6293945e-005]; + _vehicle_1523 = _this; + _this setDir 58.261475; + _this setPos [7725.3823, 12695.758, -7.6293945e-005]; +}; + +_vehicle_1525 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7699.5283, 12709.805, 2.2888184e-005]; + _vehicle_1525 = _this; + _this setDir 58.261475; + _this setPos [7699.5283, 12709.805, 2.2888184e-005]; +}; + +_vehicle_1527 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7680.6895, 12641.788, -2.2888184e-005]; + _vehicle_1527 = _this; + _this setDir 58.261475; + _this setPos [7680.6895, 12641.788, -2.2888184e-005]; +}; + +_vehicle_1529 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7683.1489, 12632.538, 2.2888184e-005]; + _vehicle_1529 = _this; + _this setDir 58.261475; + _this setPos [7683.1489, 12632.538, 2.2888184e-005]; +}; + +_vehicle_1532 = objNull; +if (true) then +{ + _this = "MAP_asf3_60_10" createVehicle [7772.603, 12601.43, 1.5258789e-005]; + _vehicle_1532 = _this; + _this setDir -115.46741; + _this setPos [7772.603, 12601.43, 1.5258789e-005]; +}; + +_vehicle_1538 = objNull; +if (true) then +{ + _this = "MAP_asf3_15_75" createVehicle [7783.2573, 12607.872, 0.00012207031]; + _vehicle_1538 = _this; + _this setDir 55.497849; + _this setPos [7783.2573, 12607.872, 0.00012207031]; +}; + +_vehicle_1541 = objNull; +if (true) then +{ + _this = "MAP_asf3_10_75" createVehicle [7783.4966, 12607.726, 4.5776367e-005]; + _vehicle_1541 = _this; + _this setDir -124.51134; + _this setPos [7783.4966, 12607.726, 4.5776367e-005]; +}; + +_vehicle_1544 = objNull; +if (true) then +{ + _this = "MAP_asf3_60_10" createVehicle [7766.1431, 12600.765, 7.6293945e-005]; + _vehicle_1544 = _this; + _this setDir -85.747574; + _this setPos [7766.1431, 12600.765, 7.6293945e-005]; +}; + +_vehicle_1547 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7727.374, 12647.231, -7.6293945e-006]; + _vehicle_1547 = _this; + _this setPos [7727.374, 12647.231, -7.6293945e-006]; +}; + +_vehicle_1549 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_9" createVehicle [7775.0596, 12618.317, 2.2888184e-005]; + _vehicle_1549 = _this; + _this setDir -209.98817; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7775.0596, 12618.317, 2.2888184e-005]; +}; + +_vehicle_1552 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_9" createVehicle [7767.2803, 12613.756, 5.3405762e-005]; + _vehicle_1552 = _this; + _this setDir -212.13522; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7767.2803, 12613.756, 5.3405762e-005]; +}; + +_vehicle_1555 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_9" createVehicle [7753.2993, 12593.465, 7.6293945e-006]; + _vehicle_1555 = _this; + _this setDir -106.88021; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7753.2993, 12593.465, 7.6293945e-006]; +}; + +_vehicle_1558 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_3" createVehicle [7752.0552, 12601.854, -2.2888184e-005]; + _vehicle_1558 = _this; + _this setDir -412.35217; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7752.0552, 12601.854, -2.2888184e-005]; +}; + +_vehicle_1560 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_3" createVehicle [7754.0532, 12604.128, 3.8146973e-005]; + _vehicle_1560 = _this; + _this setDir -44.117306; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7754.0532, 12604.128, 3.8146973e-005]; +}; + +_vehicle_1563 = objNull; +if (true) then +{ + _this = "MAP_t_fraxinus2s" createVehicle [7755.1924, 12599.356, 1.5258789e-005]; + _vehicle_1563 = _this; + _this setDir 44.08004; + _this setPos [7755.1924, 12599.356, 1.5258789e-005]; +}; + +_vehicle_1565 = objNull; +if (true) then +{ + _this = "MAP_t_fraxinus2s" createVehicle [7719.4375, 12629.505, -2.2888184e-005]; + _vehicle_1565 = _this; + _this setDir 52.136158; + _this setPos [7719.4375, 12629.505, -2.2888184e-005]; +}; + +_vehicle_1568 = objNull; +if (true) then +{ + _this = "Land_Ind_Workshop01_02" createVehicle [7812.5239, 12628.276, 0.23267296]; + _vehicle_1568 = _this; + _this setDir 71.326126; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7812.5239, 12628.276, 0.23267296]; +}; + +_vehicle_1571 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7756.271, 12651.111, 0.20699508]; + _vehicle_1571 = _this; + _this setDir 57.462753; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7756.271, 12651.111, 0.20699508]; +}; + +_vehicle_1574 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7752.9683, 12655.967, 0.14828065]; + _vehicle_1574 = _this; + _this setDir 55.254215; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7752.9683, 12655.967, 0.14828065]; +}; + +_vehicle_1577 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7749.5708, 12660.865, 0.20536713]; + _vehicle_1577 = _this; + _this setDir 55.254215; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7749.5708, 12660.865, 0.20536713]; +}; + +_vehicle_1580 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7742.9448, 12670.754, 0.24165122]; + _vehicle_1580 = _this; + _this setDir 57.462753; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7742.9448, 12670.754, 0.24165122]; +}; + +_vehicle_1585 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7736.2993, 12680.466, 0.44504744]; + _vehicle_1585 = _this; + _this setDir 55.254215; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7736.2993, 12680.466, 0.44504744]; +}; + +_vehicle_1588 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7721.7217, 12673.45, 0.033670809]; + _vehicle_1588 = _this; + _this setDir -32.387539; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7721.7217, 12673.45, 0.033670809]; +}; + +_vehicle_1591 = objNull; +if (true) then +{ + _this = "MAP_Misc_WindBreak" createVehicle [7753.0444, 12248.188, 9.1552734e-005]; + _vehicle_1591 = _this; + _this setDir 18.532312; + _this setPos [7753.0444, 12248.188, 9.1552734e-005]; +}; + +_vehicle_1593 = objNull; +if (true) then +{ + _this = "MAP_Misc_WindBreak" createVehicle [7756.7485, 12247.196, 0.00012207031]; + _vehicle_1593 = _this; + _this setDir 14.660294; + _this setPos [7756.7485, 12247.196, 0.00012207031]; +}; + +_vehicle_1595 = objNull; +if (true) then +{ + _this = "MAP_Misc_WindBreak" createVehicle [7749.3086, 12249.368, 0.00022888184]; + _vehicle_1595 = _this; + _this setDir 18.800556; + _this setPos [7749.3086, 12249.368, 0.00022888184]; +}; + +_vehicle_1597 = objNull; +if (true) then +{ + _this = "MAP_Misc_WindBreak" createVehicle [7745.7295, 12250.79, 0.00019836426]; + _vehicle_1597 = _this; + _this setDir 22.338715; + _this setPos [7745.7295, 12250.79, 0.00019836426]; +}; + +_vehicle_1599 = objNull; +if (true) then +{ + _this = "MAP_Misc_WindBreak" createVehicle [7879.0093, 12222.403, -4.5776367e-005]; + _vehicle_1599 = _this; + _this setPos [7879.0093, 12222.403, -4.5776367e-005]; +}; + +_vehicle_1601 = objNull; +if (true) then +{ + _this = "MAP_Misc_WindBreak" createVehicle [7875.0942, 12222.522, -3.0517578e-005]; + _vehicle_1601 = _this; + _this setPos [7875.0942, 12222.522, -3.0517578e-005]; +}; + +_vehicle_1603 = objNull; +if (true) then +{ + _this = "MAP_Misc_WindBreak" createVehicle [7871.0586, 12222.522, 3.0517578e-005]; + _vehicle_1603 = _this; + _this setPos [7871.0586, 12222.522, 3.0517578e-005]; +}; + +_vehicle_1605 = objNull; +if (true) then +{ + _this = "MAP_Misc_WindBreak" createVehicle [7867.0483, 12222.542, 7.6293945e-005]; + _vehicle_1605 = _this; + _this setPos [7867.0483, 12222.542, 7.6293945e-005]; +}; + +_vehicle_1611 = objNull; +if (true) then +{ + _this = "MAP_Wall_Stone" createVehicle [7632.231, 12356.156, 0.36922231]; + _vehicle_1611 = _this; + _this setDir 17.029335; + _this setPos [7632.231, 12356.156, 0.36922231]; +}; + +_vehicle_1613 = objNull; +if (true) then +{ + _this = "MAP_Wall_Stone" createVehicle [7653.7334, 12346.097, 0.30834171]; + _vehicle_1613 = _this; + _this setDir 21.233608; + _this setPos [7653.7334, 12346.097, 0.30834171]; +}; + +_vehicle_1615 = objNull; +if (true) then +{ + _this = "MAP_Wall_Stone" createVehicle [7970.8716, 12155.951, 0.51185071]; + _vehicle_1615 = _this; + _this setDir -4.6415567; + _this setPos [7970.8716, 12155.951, 0.51185071]; +}; + +_vehicle_1618 = objNull; +if (true) then +{ + _this = "MAP_Wall_Stone" createVehicle [7985.9258, 12156.199, 0.25162002]; + _vehicle_1618 = _this; + _this setDir -4.6415567; + _this setPos [7985.9258, 12156.199, 0.25162002]; +}; + +_vehicle_1620 = objNull; +if (true) then +{ + _this = "MAP_Wall_Stone" createVehicle [7924.1143, 12150.918, 0.00035095215]; + _vehicle_1620 = _this; + _this setDir -9.4444351; + _this setPos [7924.1143, 12150.918, 0.00035095215]; +}; + +_vehicle_1622 = objNull; +if (true) then +{ + _this = "MAP_Wall_Stone" createVehicle [8032.0952, 12150.245, 0.16680051]; + _vehicle_1622 = _this; + _this setDir -8.2560425; + _this setPos [8032.0952, 12150.245, 0.16680051]; +}; + +_vehicle_1624 = objNull; +if (true) then +{ + _this = "MAP_Wall_Stone" createVehicle [8062.2163, 12144.774, 0.26019099]; + _vehicle_1624 = _this; + _this setDir -0.21729359; + _this setPos [8062.2163, 12144.774, 0.26019099]; +}; + +_vehicle_1626 = objNull; +if (true) then +{ + _this = "MAP_Wall_Stone" createVehicle [8071.687, 12144.063, 6.1035156e-005]; + _vehicle_1626 = _this; + _this setDir -175.67734; + _this setPos [8071.687, 12144.063, 6.1035156e-005]; +}; + +_vehicle_1628 = objNull; +if (true) then +{ + _this = "MAP_Wall_Stone" createVehicle [7947.0083, 12153.862, 0.14351761]; + _vehicle_1628 = _this; + _this setDir -4.6415567; + _this setPos [7947.0083, 12153.862, 0.14351761]; +}; + +_vehicle_1631 = objNull; +if (true) then +{ + _this = "MAP_t_fraxinus2s" createVehicle [7721.687, 12282.861, -0.00022888184]; + _vehicle_1631 = _this; + _this setDir -4.9652934; + _this setPos [7721.687, 12282.861, -0.00022888184]; +}; + +_vehicle_1634 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7679.5713, 12353.59, 0.00019836426]; + _vehicle_1634 = _this; + _this setDir 58.261475; + _this setPos [7679.5713, 12353.59, 0.00019836426]; +}; + +_vehicle_1643 = objNull; +if (true) then +{ + _this = "MAP_t_picea1s" createVehicle [7680.332, 12348.311, -1.5258789e-005]; + _vehicle_1643 = _this; + _this setDir -4.9652934; + _this setPos [7680.332, 12348.311, -1.5258789e-005]; +}; + +_vehicle_1646 = objNull; +if (true) then +{ + _this = "MAP_t_betula2w" createVehicle [7741.4585, 12252.815, 0.00022888184]; + _vehicle_1646 = _this; + _this setDir -4.9652934; + _this setPos [7741.4585, 12252.815, 0.00022888184]; +}; + +_vehicle_1649 = objNull; +if (true) then +{ + _this = "MAP_b_corylus2s" createVehicle [7928.0942, 12227.546, 7.6293945e-005]; + _vehicle_1649 = _this; + _this setDir -4.9652934; + _this setPos [7928.0942, 12227.546, 7.6293945e-005]; +}; + +_vehicle_1654 = objNull; +if (true) then +{ + _this = "MAP_t_betula2w" createVehicle [7949.2651, 12201.791, 0.00010681152]; + _vehicle_1654 = _this; + _this setDir -20.418583; + _this setPos [7949.2651, 12201.791, 0.00010681152]; +}; + +_vehicle_1655 = objNull; +if (true) then +{ + _this = "MAP_b_corylus" createVehicle [7945.4023, 12203.514, -0.24807739]; + _vehicle_1655 = _this; + _this setDir -20.418583; + _this setPos [7945.4023, 12203.514, -0.24807739]; +}; + +_vehicle_1656 = objNull; +if (true) then +{ + _this = "MAP_b_corylus2s" createVehicle [7952.457, 12199.094, 0.37802124]; + _vehicle_1656 = _this; + _this setDir -20.418583; + _this setPos [7952.457, 12199.094, 0.37802124]; +}; + +_vehicle_1660 = objNull; +if (true) then +{ + _this = "MAP_t_betula2w" createVehicle [8096.8701, 12104.438, 4.5776367e-005]; + _vehicle_1660 = _this; + _this setDir -26.477226; + _this setPos [8096.8701, 12104.438, 4.5776367e-005]; +}; + +_vehicle_1661 = objNull; +if (true) then +{ + _this = "MAP_b_corylus" createVehicle [8092.8447, 12105.727, -0.27862549]; + _vehicle_1661 = _this; + _this setDir -26.477226; + _this setPos [8092.8447, 12105.727, -0.27862549]; +}; + +_vehicle_1662 = objNull; +if (true) then +{ + _this = "MAP_b_corylus2s" createVehicle [8100.3252, 12102.077, 0.36973572]; + _vehicle_1662 = _this; + _this setDir -26.477226; + _this setPos [8100.3252, 12102.077, 0.36973572]; +}; + +_vehicle_1667 = objNull; +if (true) then +{ + _this = "MAP_t_fagus2s" createVehicle [7722.1094, 12289.558, 0.00033569336]; + _vehicle_1667 = _this; + _this setDir -20.816936; + _this setPos [7722.1094, 12289.558, 0.00033569336]; +}; + +_vehicle_1669 = objNull; +if (true) then +{ + _this = "MAP_t_fagus2s" createVehicle [7924.7227, 12227.829, 0.00024414063]; + _vehicle_1669 = _this; + _this setDir -20.816936; + _this setPos [7924.7227, 12227.829, 0.00024414063]; +}; + +_vehicle_1671 = objNull; +if (true) then +{ + _this = "MAP_t_fagus2s" createVehicle [8096.3896, 12101.713, 0.00016784668]; + _vehicle_1671 = _this; + _this setDir -20.816936; + _this setPos [8096.3896, 12101.713, 0.00016784668]; +}; + +_vehicle_1683 = objNull; +if (true) then +{ + _this = "MAP_R2_Boulder1" createVehicle [7676.7256, 12398.646, 0.00025939941]; + _vehicle_1683 = _this; + _this setPos [7676.7256, 12398.646, 0.00025939941]; +}; + +_vehicle_1684 = objNull; +if (true) then +{ + _this = "MAP_R2_Boulder2" createVehicle [7675.2363, 12396.066, 0.061553955]; + _vehicle_1684 = _this; + _this setDir 21.0639; + _this setPos [7675.2363, 12396.066, 0.061553955]; +}; + +_vehicle_1685 = objNull; +if (true) then +{ + _this = "MAP_R2_Stone" createVehicle [7677.4258, 12395.498, -0.0050964355]; + _vehicle_1685 = _this; + _this setPos [7677.4258, 12395.498, -0.0050964355]; +}; + +_vehicle_1689 = objNull; +if (true) then +{ + _this = "MAP_R2_Boulder1" createVehicle [7948.042, 12204.901, 9.1552734e-005]; + _vehicle_1689 = _this; + _this setPos [7948.042, 12204.901, 9.1552734e-005]; +}; + +_vehicle_1690 = objNull; +if (true) then +{ + _this = "MAP_R2_Boulder2" createVehicle [7998.562, 12156.688, 0.023369178]; + _vehicle_1690 = _this; + _this setPos [7998.562, 12156.688, 0.023369178]; +}; + +_vehicle_1691 = objNull; +if (true) then +{ + _this = "MAP_R2_Stone" createVehicle [7951.0693, 12202.53, 0.044786636]; + _vehicle_1691 = _this; + _this setDir 135.40482; + _this setPos [7951.0693, 12202.53, 0.044786636]; +}; + +_vehicle_1695 = objNull; +if (true) then +{ + _this = "MAP_R2_Boulder1" createVehicle [8217.9365, 12050.63, 6.1035156e-005]; + _vehicle_1695 = _this; + _this setDir 14.772076; + _this setPos [8217.9365, 12050.63, 6.1035156e-005]; +}; + +_vehicle_1696 = objNull; +if (true) then +{ + _this = "MAP_R2_Boulder2" createVehicle [8217.1416, 12048.955, 0.29940227]; + _vehicle_1696 = _this; + _this setPos [8217.1416, 12048.955, 0.29940227]; +}; + +_vehicle_1697 = objNull; +if (true) then +{ + _this = "MAP_R2_Stone" createVehicle [8215.5469, 12050.654, 0.043756753]; + _vehicle_1697 = _this; + _this setDir -89.606598; + _this setPos [8215.5469, 12050.654, 0.043756753]; +}; + +_vehicle_1702 = objNull; +if (true) then +{ + _this = "MAP_b_corylus" createVehicle [7676.6133, 12396.769, 0.00024414063]; + _vehicle_1702 = _this; + _this setDir -4.9652934; + _this setPos [7676.6133, 12396.769, 0.00024414063]; +}; + +_vehicle_1705 = objNull; +if (true) then +{ + _this = "MAP_R2_Boulder1" createVehicle [7753.2261, 12578.139, 3.0517578e-005]; + _vehicle_1705 = _this; + _this setDir 104.75888; + _this setPos [7753.2261, 12578.139, 3.0517578e-005]; +}; + +_vehicle_1707 = objNull; +if (true) then +{ + _this = "MAP_R2_Boulder1" createVehicle [7740.1084, 12625.808, 6.8664551e-005]; + _vehicle_1707 = _this; + _this setPos [7740.1084, 12625.808, 6.8664551e-005]; +}; + +_vehicle_1710 = objNull; +if (true) then +{ + _this = "MAP_R2_Stone" createVehicle [7756.6348, 12598.038, 3.0517578e-005]; + _vehicle_1710 = _this; + _this setDir 164.66101; + _this setPos [7756.6348, 12598.038, 3.0517578e-005]; +}; + +_vehicle_1713 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_9_2" createVehicle [7853.7866, 12607.339, 9.9182129e-005]; + _vehicle_1713 = _this; + _this setDir -12.80795; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7853.7866, 12607.339, 9.9182129e-005]; +}; + +_vehicle_1716 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_9_2" createVehicle [7851.5659, 12653.754, 0.15024815]; + _vehicle_1716 = _this; + _this setDir 18.774645; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7851.5659, 12653.754, 0.15024815]; +}; + +_vehicle_1719 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_9" createVehicle [7868.7178, 12611.093]; + _vehicle_1719 = _this; + _this setDir -197.19313; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7868.7178, 12611.093]; +}; + +_vehicle_1722 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_9" createVehicle [7872.0127, 12615.463, 0.0001449585]; + _vehicle_1722 = _this; + _this setDir -448.06226; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7872.0127, 12615.463, 0.0001449585]; +}; + +_vehicle_1725 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7751.7793, 12578.25, 4.5776367e-005]; + _vehicle_1725 = _this; + _this setDir 41.869556; + _this setPos [7751.7793, 12578.25, 4.5776367e-005]; +}; + +_vehicle_1728 = objNull; +if (true) then +{ + _this = "MAP_IndPipe1_stair" createVehicle [7818.2563, 12577.563, 0.15283844]; + _vehicle_1728 = _this; + _this setDir 344.94992; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7818.2563, 12577.563, 0.15283844]; +}; + +_vehicle_1731 = objNull; +if (true) then +{ + _this = "MAP_IndPipe1_90degR" createVehicle [7818.6284, 12569.696, 0.0096162893]; + _vehicle_1731 = _this; + _this setDir -104.1507; + _this setPos [7818.6284, 12569.696, 0.0096162893]; +}; + +_vehicle_1738 = objNull; +if (true) then +{ + _this = "MAP_IndPipe1_90degL" createVehicle [7816.7324, 12582.574, 0.289303]; + _vehicle_1738 = _this; + _this setDir -17.522335; + _this setPos [7816.7324, 12582.574, 0.289303]; +}; + +_vehicle_1741 = objNull; +if (true) then +{ + _this = "MAP_IndPipe1_valve" createVehicle [7810.3877, 12578.745, 0.07488855]; + _vehicle_1741 = _this; + _this setDir -107.87357; + _this setPos [7810.3877, 12578.745, 0.07488855]; +}; + +_vehicle_1745 = objNull; +if (true) then +{ + _this = "MAP_Misc_GContainer_Big" createVehicle [7823.6919, 12606.321, 3.0517578e-005]; + _vehicle_1745 = _this; + _this setDir -18.933008; + _this setPos [7823.6919, 12606.321, 3.0517578e-005]; +}; + +_vehicle_1748 = objNull; +if (true) then +{ + _this = "MAP_Kontejner" createVehicle [7789.6138, 12592.117, 0.00019073486]; + _vehicle_1748 = _this; + _this setDir -13.263685; + _this setPos [7789.6138, 12592.117, 0.00019073486]; +}; + +_vehicle_1757 = objNull; +if (true) then +{ + _this = "MAP_pneu" createVehicle [7794.6445, 12623.011, -1.5258789e-005]; + _vehicle_1757 = _this; + _this setDir 54.558628; + _this setPos [7794.6445, 12623.011, -1.5258789e-005]; +}; + +_vehicle_1758 = objNull; +if (true) then +{ + _this = "MAP_Misc_TyreHeap" createVehicle [7817.3745, 12607.859, -0.072570801]; + _vehicle_1758 = _this; + _this setDir 10.805914; + _this setPos [7817.3745, 12607.859, -0.072570801]; +}; + +_vehicle_1762 = objNull; +if (true) then +{ + _this = "Misc_palletsfoiled" createVehicle [7791.6987, 12623.492, 0.24999237]; + _vehicle_1762 = _this; + _this setDir 54.558628; + _this setPos [7791.6987, 12623.492, 0.24999237]; +}; + +_vehicle_1763 = objNull; +if (true) then +{ + _this = "Land_Misc_Garb_Heap_EP1" createVehicle [7819.5273, 12602.975, -0.0021688398]; + _vehicle_1763 = _this; + _this setDir -39.03159; + _this setPos [7819.5273, 12602.975, -0.0021688398]; +}; + +_vehicle_1772 = objNull; +if (true) then +{ + _this = "MAP_Kontejner" createVehicle [7789.3247, 12593.746, -2.2888184e-005]; + _vehicle_1772 = _this; + _this setDir -25.274664; + _this setPos [7789.3247, 12593.746, -2.2888184e-005]; +}; + +_vehicle_1775 = objNull; +if (true) then +{ + _this = "MAP_Misc_GContainer_Big" createVehicle [7822.4424, 12609.861, 5.3405762e-005]; + _vehicle_1775 = _this; + _this setDir -18.933008; + _this setPos [7822.4424, 12609.861, 5.3405762e-005]; +}; + +_vehicle_1778 = objNull; +if (true) then +{ + _this = "MAP_garbage_paleta" createVehicle [7817.8477, 12605.875, 1.5258789e-005]; + _vehicle_1778 = _this; + _this setDir 10.805914; + _this setPos [7817.8477, 12605.875, 1.5258789e-005]; +}; + +_vehicle_1781 = objNull; +if (true) then +{ + _this = "Misc_concrete_High" createVehicle [7813.7783, 12603.403, 2.2888184e-005]; + _vehicle_1781 = _this; + _this setDir 75.529778; + _this setPos [7813.7783, 12603.403, 2.2888184e-005]; +}; + +_vehicle_1783 = objNull; +if (true) then +{ + _this = "Misc_concrete_High" createVehicle [7812.2813, 12606.841, 3.0517578e-005]; + _vehicle_1783 = _this; + _this setDir 66.481865; + _this setPos [7812.2813, 12606.841, 3.0517578e-005]; +}; + +_vehicle_1785 = objNull; +if (true) then +{ + _this = "Misc_concrete_High" createVehicle [7807.4063, 12602.67, 6.8664551e-005]; + _vehicle_1785 = _this; + _this setDir 204.63066; + _this setPos [7807.4063, 12602.67, 6.8664551e-005]; +}; + +_vehicle_1788 = objNull; +if (true) then +{ + _this = "MAP_Misc_Cargo1B" createVehicle [7786.9214, 12619.254, 4.5776367e-005]; + _vehicle_1788 = _this; + _this setDir 133.15564; + _this setPos [7786.9214, 12619.254, 4.5776367e-005]; +}; + +_vehicle_1790 = objNull; +if (true) then +{ + _this = "MAP_Misc_Cargo1B" createVehicle [7784.0835, 12617.356, -7.6293945e-006]; + _vehicle_1790 = _this; + _this setDir 155.2531; + _this setPos [7784.0835, 12617.356, -7.6293945e-006]; +}; + +_vehicle_1793 = objNull; +if (true) then +{ + _this = "MAP_Misc_Cargo2B" createVehicle [7776.9707, 12614.32, 3.0517578e-005]; + _vehicle_1793 = _this; + _this setDir -26.055584; + _this setPos [7776.9707, 12614.32, 3.0517578e-005]; +}; + +_vehicle_1796 = objNull; +if (true) then +{ + _this = "Misc_palletsfoiled" createVehicle [7792.0308, 12621.317, 1.5258789e-005]; + _vehicle_1796 = _this; + _this setDir 98.426163; + _this setPos [7792.0308, 12621.317, 1.5258789e-005]; +}; + +_vehicle_1802 = objNull; +if (true) then +{ + _this = "MAP_b_corylus" createVehicle [7768.4341, 12607.726, 3.8146973e-005]; + _vehicle_1802 = _this; + _this setDir -4.9652934; + _this setPos [7768.4341, 12607.726, 3.8146973e-005]; +}; + +_vehicle_1804 = objNull; +if (true) then +{ + _this = "MAP_b_corylus" createVehicle [7816.7383, 12635.597, 8.392334e-005]; + _vehicle_1804 = _this; + _this setDir -4.9652934; + _this setPos [7816.7383, 12635.597, 8.392334e-005]; +}; + +_vehicle_1806 = objNull; +if (true) then +{ + _this = "MAP_b_corylus" createVehicle [7813.0674, 12600.722, 3.0517578e-005]; + _vehicle_1806 = _this; + _this setDir -4.9652934; + _this setPos [7813.0674, 12600.722, 3.0517578e-005]; +}; + +_vehicle_1809 = objNull; +if (true) then +{ + _this = "MAP_t_betula2w" createVehicle [7811.939, 12598.788, 7.6293945e-006]; + _vehicle_1809 = _this; + _this setDir 102.25393; + _this setPos [7811.939, 12598.788, 7.6293945e-006]; +}; + +_vehicle_1812 = objNull; +if (true) then +{ + _this = "MAP_t_fraxinus2s" createVehicle [7784.6221, 12636.64, 7.6293945e-005]; + _vehicle_1812 = _this; + _this setDir 44.08004; + _this setPos [7784.6221, 12636.64, 7.6293945e-005]; +}; + +_vehicle_1814 = objNull; +if (true) then +{ + _this = "MAP_t_fraxinus2s" createVehicle [7827.9907, 12601.883, -7.6293945e-006]; + _vehicle_1814 = _this; + _this setDir 44.08004; + _this setPos [7827.9907, 12601.883, -7.6293945e-006]; +}; + +_vehicle_1816 = objNull; +if (true) then +{ + _this = "MAP_t_fraxinus2s" createVehicle [7843.4541, 12582.604, 7.6293945e-006]; + _vehicle_1816 = _this; + _this setDir 44.08004; + _this setPos [7843.4541, 12582.604, 7.6293945e-006]; +}; + +_vehicle_1818 = objNull; +if (true) then +{ + _this = "MAP_t_fraxinus2s" createVehicle [7884.8657, 12593.197, 8.392334e-005]; + _vehicle_1818 = _this; + _this setDir 44.08004; + _this setPos [7884.8657, 12593.197, 8.392334e-005]; +}; + +_vehicle_1820 = objNull; +if (true) then +{ + _this = "MAP_t_fraxinus2s" createVehicle [7867.2935, 12617.762, 4.5776367e-005]; + _vehicle_1820 = _this; + _this setDir 44.08004; + _this setPos [7867.2935, 12617.762, 4.5776367e-005]; +}; + +_vehicle_1822 = objNull; +if (true) then +{ + _this = "MAP_t_fraxinus2s" createVehicle [7851.9492, 12640.779, -0.015652796]; + _vehicle_1822 = _this; + _this setDir -16.151775; + _this setPos [7851.9492, 12640.779, -0.015652796]; +}; + +_vehicle_1824 = objNull; +if (true) then +{ + _this = "MAP_t_fraxinus2s" createVehicle [7815.7041, 12651.781, 0.03782098]; + _vehicle_1824 = _this; + _this setDir 44.08004; + _this setPos [7815.7041, 12651.781, 0.03782098]; +}; + +_vehicle_1826 = objNull; +if (true) then +{ + _this = "MAP_t_fraxinus2s" createVehicle [7829.1621, 12658.735, 3.8146973e-005]; + _vehicle_1826 = _this; + _this setDir 121.24178; + _this setVehicleInit "this setVectorUp [0,0.2,1];"; + _this setPos [7829.1621, 12658.735, 3.8146973e-005]; +}; + +_vehicle_1829 = objNull; +if (true) then +{ + _this = "MAP_t_fagus2s" createVehicle [7745.3521, 12551.158, 0.00015258789]; + _vehicle_1829 = _this; + _this setDir -20.816936; + _this setPos [7745.3521, 12551.158, 0.00015258789]; +}; + +_vehicle_1831 = objNull; +if (true) then +{ + _this = "MAP_t_fagus2s" createVehicle [7713.4946, 12581.323, 5.3405762e-005]; + _vehicle_1831 = _this; + _this setDir -20.816936; + _this setPos [7713.4946, 12581.323, 5.3405762e-005]; +}; + +_vehicle_1833 = objNull; +if (true) then +{ + _this = "MAP_t_fagus2s" createVehicle [7738.9575, 12624.373, 0]; + _vehicle_1833 = _this; + _this setDir -20.816936; + _this setPos [7738.9575, 12624.373, 0]; +}; + +_vehicle_1835 = objNull; +if (true) then +{ + _this = "MAP_t_fagus2s" createVehicle [7850.395, 12675.336, 4.5776367e-005]; + _vehicle_1835 = _this; + _this setDir -20.816936; + _this setPos [7850.395, 12675.336, 4.5776367e-005]; +}; + +_vehicle_1837 = objNull; +if (true) then +{ + _this = "MAP_t_fagus2s" createVehicle [7856.1421, 12616.145, 8.392334e-005]; + _vehicle_1837 = _this; + _this setDir 81.362343; + _this setPos [7856.1421, 12616.145, 8.392334e-005]; +}; + +_vehicle_1839 = objNull; +if (true) then +{ + _this = "MAP_t_fagus2s" createVehicle [7688.3843, 12524.267, 3.0517578e-005]; + _vehicle_1839 = _this; + _this setDir -20.816936; + _this setPos [7688.3843, 12524.267, 3.0517578e-005]; +}; + +_vehicle_1843 = objNull; +if (true) then +{ + _this = "MAP_t_fraxinus2s" createVehicle [7712.8008, 12560.506, 1.5258789e-005]; + _vehicle_1843 = _this; + _this setDir -4.9652934; + _this setPos [7712.8008, 12560.506, 1.5258789e-005]; +}; + +_vehicle_1845 = objNull; +if (true) then +{ + _this = "MAP_t_fraxinus2s" createVehicle [7699.7178, 12526.124, 2.2888184e-005]; + _vehicle_1845 = _this; + _this setDir -171.407; + _this setPos [7699.7178, 12526.124, 2.2888184e-005]; +}; + +_vehicle_1847 = objNull; +if (true) then +{ + _this = "MAP_t_fraxinus2s" createVehicle [7726.1094, 12534.006, 0.00010681152]; + _vehicle_1847 = _this; + _this setDir -4.9652934; + _this setPos [7726.1094, 12534.006, 0.00010681152]; +}; + +_vehicle_1849 = objNull; +if (true) then +{ + _this = "MAP_t_fraxinus2s" createVehicle [7748.147, 12558.806, 2.2888184e-005]; + _vehicle_1849 = _this; + _this setDir -102.5173; + _this setPos [7748.147, 12558.806, 2.2888184e-005]; +}; + +_vehicle_1867 = objNull; +if (true) then +{ + _this = "MAP_Ind_TankSmall2" createVehicle [7804.4976, 12627.524, 3.0517578e-005]; + _vehicle_1867 = _this; + _this setDir 70.371391; + _this setPos [7804.4976, 12627.524, 3.0517578e-005]; +}; + +_vehicle_1870 = objNull; +if (true) then +{ + _this = "MAP_Ind_TankSmall2" createVehicle [7800.3613, 12626.056, 4.5776367e-005]; + _vehicle_1870 = _this; + _this setDir 70.876022; + _this setPos [7800.3613, 12626.056, 4.5776367e-005]; +}; + +_vehicle_1873 = objNull; +if (true) then +{ + _this = "MAP_A_FuelStation_Feed" createVehicle [7805.6572, 12624.504]; + _vehicle_1873 = _this; + _this setDir -19.979933; + _this setPos [7805.6572, 12624.504]; +}; + +_vehicle_1877 = objNull; +if (true) then +{ + _this = "MAP_A_FuelStation_Feed" createVehicle [7801.3711, 12622.957, 3.0517578e-005]; + _vehicle_1877 = _this; + _this setDir -18.771927; + _this setPos [7801.3711, 12622.957, 3.0517578e-005]; +}; + +_vehicle_1915 = objNull; +if (true) then +{ + _this = "MAP_path_60_10" createVehicle [7856.3525, 12591.732, -5.3405762e-005]; + _vehicle_1915 = _this; + _this setDir -84.290199; + _this setPos [7856.3525, 12591.732, -5.3405762e-005]; +}; + +_vehicle_1916 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7848.5308, 12596.772, -0.016960144]; + _vehicle_1916 = _this; + _this setPos [7848.5308, 12596.772, -0.016960144]; +}; + +_vehicle_1917 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7849.2217, 12595.48, -0.035995483]; + _vehicle_1917 = _this; + _this setPos [7849.2217, 12595.48, -0.035995483]; +}; + +_vehicle_1918 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7850.083, 12594.446, -0.047325134]; + _vehicle_1918 = _this; + _this setPos [7850.083, 12594.446, -0.047325134]; +}; + +_vehicle_1919 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7851.165, 12593.656, -0.045433044]; + _vehicle_1919 = _this; + _this setPos [7851.165, 12593.656, -0.045433044]; +}; + +_vehicle_1920 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7853.3296, 12592.517, -0.035491943]; + _vehicle_1920 = _this; + _this setPos [7853.3296, 12592.517, -0.035491943]; +}; + +_vehicle_1921 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7854.3833, 12591.605, -0.021697998]; + _vehicle_1921 = _this; + _this setPos [7854.3833, 12591.605, -0.021697998]; +}; + +_vehicle_1922 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7852.0376, 12592.499, -0.050796509]; + _vehicle_1922 = _this; + _this setPos [7852.0376, 12592.499, -0.050796509]; +}; + +_vehicle_1943 = objNull; +if (true) then +{ + _this = "Mi8Wreck" createVehicle [7831.5459, 12639.111, 11.895364]; + _vehicle_1943 = _this; + _this setDir 107.72562; + _this setVehicleInit "this setVectorUp [0,0.1,1];"; + _this setPos [7831.5459, 12639.111, 11.895364]; +}; + +_vehicle_1945 = objNull; +if (true) then +{ + _this = "UralWreck" createVehicle [7692.6631, 12497.638, 0.00016784668]; + _vehicle_1945 = _this; + _this setDir -5.9451671; + _this setPos [7692.6631, 12497.638, 0.00016784668]; +}; + +_vehicle_1948 = objNull; +if (true) then +{ + _this = "UAZWreck" createVehicle [7688.6582, 12495.378, 0.0001449585]; + _vehicle_1948 = _this; + _this setDir 44.098309; + _this setPos [7688.6582, 12495.378, 0.0001449585]; +}; + +_vehicle_1951 = objNull; +if (true) then +{ + _this = "datsun01Wreck" createVehicle [7686.6333, 12489.239, 0.00015258789]; + _vehicle_1951 = _this; + _this setDir 232.77777; + _this setPos [7686.6333, 12489.239, 0.00015258789]; +}; + +_vehicle_1955 = objNull; +if (true) then +{ + _this = "datsun02Wreck" createVehicle [7688.6646, 12483.206, 0.00012969971]; + _vehicle_1955 = _this; + _this setDir 34.466957; + _this setPos [7688.6646, 12483.206, 0.00012969971]; +}; + +_vehicle_1956 = objNull; +if (true) then +{ + _this = "SKODAWreck" createVehicle [7684.0874, 12472.625, -0.058862612]; + _vehicle_1956 = _this; + _this setDir -180.0759; + _this setPos [7684.0874, 12472.625, -0.058862612]; +}; + +_vehicle_1960 = objNull; +if (true) then +{ + _this = "hiluxWreck" createVehicle [7698.8408, 12512.724, 3.0517578e-005]; + _vehicle_1960 = _this; + _this setDir 24.858015; + _this setPos [7698.8408, 12512.724, 3.0517578e-005]; +}; + +_vehicle_1963 = objNull; +if (true) then +{ + _this = "UralWreck" createVehicle [7748.3662, 12572.502, 0.1073505]; + _vehicle_1963 = _this; + _this setDir 10.213; + _this setPos [7748.3662, 12572.502, 0.1073505]; +}; + +_vehicle_1966 = objNull; +if (true) then +{ + _this = "SKODAWreck" createVehicle [7829.0386, 12621.867, 0.00010681152]; + _vehicle_1966 = _this; + _this setDir 175.336; + _this setPos [7829.0386, 12621.867, 0.00010681152]; +}; + +_vehicle_1969 = objNull; +if (true) then +{ + _this = "UAZWreck" createVehicle [7833.1943, 12610.861, 0.11985391]; + _vehicle_1969 = _this; + _this setDir 186.48119; + _this setVehicleInit "this setVectorUp [-0.08,-0.07,1];"; + _this setPos [7833.1943, 12610.861, 0.11985391]; +}; + +_vehicle_1971 = objNull; +if (true) then +{ + _this = "UAZWreck" createVehicle [7743.4219, 12635.737, 7.6293945e-006]; + _vehicle_1971 = _this; + _this setDir 143.22217; + _this setPos [7743.4219, 12635.737, 7.6293945e-006]; +}; + +_vehicle_1974 = objNull; +if (true) then +{ + _this = "datsun02Wreck" createVehicle [7724.7065, 12548.633, -7.6293945e-006]; + _vehicle_1974 = _this; + _this setDir 149.01137; + _this setPos [7724.7065, 12548.633, -7.6293945e-006]; +}; + +_vehicle_1977 = objNull; +if (true) then +{ + _this = "SKODAWreck" createVehicle [7764.3203, 12602.021, 3.8146973e-005]; + _vehicle_1977 = _this; + _this setDir 118.90509; + _this setPos [7764.3203, 12602.021, 3.8146973e-005]; +}; + +_vehicle_2019 = objNull; +if (true) then +{ + _this = "Misc_cargo_cont_small_EP1" createVehicle [7718.7051, 12515.634, 6.8664551e-005]; + _vehicle_2019 = _this; + _this setDir -245.5322; + _this setPos [7718.7051, 12515.634, 6.8664551e-005]; +}; + +_vehicle_2020 = objNull; +if (true) then +{ + _this = "Misc_Cargo1Bo_military" createVehicle [7720.3442, 12519.457, 0.12693252]; + _vehicle_2020 = _this; + _this setDir -53.617828; + _this setPos [7720.3442, 12519.457, 0.12693252]; +}; + +_vehicle_2021 = objNull; +if (true) then +{ + _this = "Land_Misc_Cargo1E_EP1" createVehicle [7712.5977, 12512.864, -0.19803619]; + _vehicle_2021 = _this; + _this setDir -65.276146; + _this setPos [7712.5977, 12512.864, -0.19803619]; +}; + +_vehicle_2026 = objNull; +if (true) then +{ + _this = "Misc_Cargo1Bo_military" createVehicle [7781.064, 12614.826, 0.00012969971]; + _vehicle_2026 = _this; + _this setDir -27.895704; + _this setPos [7781.064, 12614.826, 0.00012969971]; +}; + +_vehicle_2029 = objNull; +if (true) then +{ + _this = "UralWreck" createVehicle [7803.5903, 12618.259, 9.1552734e-005]; + _vehicle_2029 = _this; + _this setDir 46.550224; + _this setPos [7803.5903, 12618.259, 9.1552734e-005]; +}; + +_vehicle_2034 = objNull; +if (true) then +{ + _this = "UAZWreck" createVehicle [7776.3394, 12582.546, 0.09212894]; + _vehicle_2034 = _this; + _this setDir 232.32445; + _this setVehicleInit "this setVectorUp [-0.08,-0.07,1];"; + _this setPos [7776.3394, 12582.546, 0.09212894]; +}; + +_vehicle_2035 = objNull; +if (true) then +{ + _this = "MAP_datsun01T" createVehicle [7787.7085, 12566.985, -0.018056341]; + _vehicle_2035 = _this; + _this setDir 296.00208; + _this setPos [7787.7085, 12566.985, -0.018056341]; +}; + +_vehicle_2036 = objNull; +if (true) then +{ + _this = "SKODAWreck" createVehicle [7772.373, 12580.785, -0.008916216]; + _vehicle_2036 = _this; + _this setDir 250.5936; + _this setPos [7772.373, 12580.785, -0.008916216]; +}; + +_vehicle_2041 = objNull; +if (true) then +{ + _this = "MAP_Shed_M02" createVehicle [7801.4766, 12603.357]; + _vehicle_2041 = _this; + _this setDir -112.39171; + _this setPos [7801.4766, 12603.357]; +}; + +_vehicle_2044 = objNull; +if (true) then +{ + _this = "Land_Bench_EP1" createVehicle [7738.9175, 12576.024]; + _vehicle_2044 = _this; + _this setDir 149.35732; + _this setPos [7738.9175, 12576.024]; +}; + +_vehicle_2047 = objNull; +if (true) then +{ + _this = "Park_bench1" createVehicle [7717.0659, 12577.701, 6.1035156e-005]; + _vehicle_2047 = _this; + _this setDir 54.380444; + _this setPos [7717.0659, 12577.701, 6.1035156e-005]; +}; + +_vehicle_2049 = objNull; +if (true) then +{ + _this = "Park_bench1" createVehicle [7717.9004, 12581.289, 3.0517578e-005]; + _vehicle_2049 = _this; + _this setDir -37.520626; + _this setPos [7717.9004, 12581.289, 3.0517578e-005]; +}; + +_vehicle_2052 = objNull; +if (true) then +{ + _this = "MAP_Kontejner" createVehicle [7725.9644, 12581.821, 4.5776367e-005]; + _vehicle_2052 = _this; + _this setDir 144.67116; + _this setPos [7725.9644, 12581.821, 4.5776367e-005]; +}; + +_vehicle_2055 = objNull; +if (true) then +{ + _this = "Park_bench2_noRoad" createVehicle [7753.9185, 12589.495, -3.8146973e-005]; + _vehicle_2055 = _this; + _this setDir -107.29886; + _this setPos [7753.9185, 12589.495, -3.8146973e-005]; +}; + +_vehicle_2057 = objNull; +if (true) then +{ + _this = "Park_bench2_noRoad" createVehicle [7756.1606, 12582.707, 1.5258789e-005]; + _vehicle_2057 = _this; + _this setDir -107.79748; + _this setPos [7756.1606, 12582.707, 1.5258789e-005]; +}; + +_vehicle_2060 = objNull; +if (true) then +{ + _this = "MAP_b_corylus" createVehicle [7800.3452, 12596.388, -2.2888184e-005]; + _vehicle_2060 = _this; + _this setDir 14.772622; + _this setPos [7800.3452, 12596.388, -2.2888184e-005]; +}; + +_vehicle_2063 = objNull; +if (true) then +{ + _this = "hiluxWreck" createVehicle [7799.5977, 12234.467, 0.00025939941]; + _vehicle_2063 = _this; + _this setDir 91.926781; + _this setPos [7799.5977, 12234.467, 0.00025939941]; +}; + +_vehicle_2066 = objNull; +if (true) then +{ + _this = "SKODAWreck" createVehicle [7980.8081, 12190.571, 0.00038146973]; + _vehicle_2066 = _this; + _this setDir -45.135147; + _this setPos [7980.8081, 12190.571, 0.00038146973]; +}; + +_vehicle_2068 = objNull; +if (true) then +{ + _this = "MAP_SidewalkClearMiddle" createVehicle [7827.312, 12636.207, 0.18608657]; + _vehicle_2068 = _this; + _this setDir -19.798302; + _this setPos [7827.312, 12636.207, 0.18608657]; +}; + +_vehicle_2071 = objNull; +if (true) then +{ + _this = "MAP_asf3_1_1000" createVehicle [7901.4883, 12629.815, 0.00019073486]; + _vehicle_2071 = _this; + _this setDir 169.65346; + _this setPos [7901.4883, 12629.815, 0.00019073486]; +}; + +_vehicle_2074 = objNull; +if (true) then +{ + _this = "MAP_asf3_25" createVehicle [7903.521, 12634.43, 0.0001373291]; + _vehicle_2074 = _this; + _this setDir -93.487778; + _this setPos [7903.521, 12634.43, 0.0001373291]; +}; + +_vehicle_2081 = objNull; +if (true) then +{ + _this = "MAP_asf3_12" createVehicle [7903.3262, 12634.442, 9.9182129e-005]; + _vehicle_2081 = _this; + _this setDir 87.149544; + _this setPos [7903.3262, 12634.442, 9.9182129e-005]; +}; + +_vehicle_2084 = objNull; +if (true) then +{ + _this = "MAP_asf3_6konec" createVehicle [7921.0518, 12635.277, 0.00012207031]; + _vehicle_2084 = _this; + _this setDir -92.425903; + _this setPos [7921.0518, 12635.277, 0.00012207031]; +}; + +_vehicle_2087 = objNull; +if (true) then +{ + _this = "MAP_asf3_6konec" createVehicle [7900.6299, 12635.931, 3.0517578e-005]; + _vehicle_2087 = _this; + _this setDir -187.66949; + _this setPos [7900.6299, 12635.931, 3.0517578e-005]; +}; + +_vehicle_2096 = objNull; +if (true) then +{ + _this = "MAP_Ind_Shed_01_main" createVehicle [7917.4717, 12599.935, -0.018983008]; + _vehicle_2096 = _this; + _this setDir -9.5751905; + _this setPos [7917.4717, 12599.935, -0.018983008]; +}; + +_vehicle_2099 = objNull; +if (true) then +{ + _this = "MAP_Ind_Shed_01_main" createVehicle [7918.1396, 12595.843, 5.3405762e-005]; + _vehicle_2099 = _this; + _this setDir -9.7125874; + _this setPos [7918.1396, 12595.843, 5.3405762e-005]; +}; + +_vehicle_2104 = objNull; +if (true) then +{ + _this = "MAP_Ind_Shed_01_end" createVehicle [7915.5469, 12612.005, -0.019024676]; + _vehicle_2104 = _this; + _this setDir -8.7725954; + _this setPos [7915.5469, 12612.005, -0.019024676]; +}; + +_vehicle_2107 = objNull; +if (true) then +{ + _this = "MAP_Ind_Shed_01_end" createVehicle [7918.1895, 12595.648, 0.00017547607]; + _vehicle_2107 = _this; + _this setDir -9.6751947; + _this setPos [7918.1895, 12595.648, 0.00017547607]; +}; + +_vehicle_2110 = objNull; +if (true) then +{ + _this = "MAP_Zabradli_pruhovane_stred" createVehicle [7831.6016, 12619.991, 0.13792871]; + _vehicle_2110 = _this; + _this setDir -19.099663; + _this setPos [7831.6016, 12619.991, 0.13792871]; +}; + +_vehicle_2113 = objNull; +if (true) then +{ + _this = "MAP_Zabradli_pruhovane_stred" createVehicle [7832.3599, 12617.729, 0.14893979]; + _vehicle_2113 = _this; + _this setDir -18.267462; + _this setPos [7832.3599, 12617.729, 0.14893979]; +}; + +_vehicle_2119 = objNull; +if (true) then +{ + _this = "MAP_asf3_10_25" createVehicle [7876.7686, 12642.437, 0.00029754639]; + _vehicle_2119 = _this; + _this setDir -184.40236; + _this setPos [7876.7686, 12642.437, 0.00029754639]; +}; + +_vehicle_2122 = objNull; +if (true) then +{ + _this = "MAP_Zabradli_pruhovane_stred" createVehicle [7830.0586, 12624.47, 0.11895157]; + _vehicle_2122 = _this; + _this setDir -19.099663; + _this setPos [7830.0586, 12624.47, 0.11895157]; +}; + +_vehicle_2124 = objNull; +if (true) then +{ + _this = "MAP_Zabradli_pruhovane_stred" createVehicle [7829.2891, 12626.701, 0.11903284]; + _vehicle_2124 = _this; + _this setDir -19.099663; + _this setPos [7829.2891, 12626.701, 0.11903284]; +}; + +_vehicle_2127 = objNull; +if (true) then +{ + _this = "MAP_Zabradli_pruhovane_pravykonec" createVehicle [7828.5542, 12628.926, 0.12051488]; + _vehicle_2127 = _this; + _this setDir -198.84883; + _this setPos [7828.5542, 12628.926, 0.12051488]; +}; + +_vehicle_2151 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7696.3408, 12657.642, 0.022173939]; + _vehicle_2151 = _this; + _this setDir -32.738686; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7696.3408, 12657.642, 0.022173939]; +}; + +_vehicle_2157 = objNull; +if (true) then +{ + _this = "MAP_Shed_M02" createVehicle [7918.1016, 12641.177, 9.1552734e-005]; + _vehicle_2157 = _this; + _this setDir -186.76025; + _this setPos [7918.1016, 12641.177, 9.1552734e-005]; +}; + +_vehicle_2160 = objNull; +if (true) then +{ + _this = "MAP_Ind_Shed_01_end" createVehicle [7917.457, 12599.764, 0.0026898091]; + _vehicle_2160 = _this; + _this setDir -9.8302097; + _this setPos [7917.457, 12599.764, 0.0026898091]; +}; + +_vehicle_2163 = objNull; +if (true) then +{ + _this = "MAP_t_fraxinus2s" createVehicle [7798.1846, 12645.867, 3.0517578e-005]; + _vehicle_2163 = _this; + _this setDir 47.447834; + _this setPos [7798.1846, 12645.867, 3.0517578e-005]; +}; + +_vehicle_2165 = objNull; +if (true) then +{ + _this = "MAP_t_fraxinus2s" createVehicle [7873.6797, 12659.805, -7.6293945e-006]; + _vehicle_2165 = _this; + _this setDir -84.92836; + _this setPos [7873.6797, 12659.805, -7.6293945e-006]; +}; + +_vehicle_2167 = objNull; +if (true) then +{ + _this = "MAP_t_fraxinus2s" createVehicle [7769.3921, 12610.049, 6.1035156e-005]; + _vehicle_2167 = _this; + _this setDir 42.820072; + _this setPos [7769.3921, 12610.049, 6.1035156e-005]; +}; + +_vehicle_2170 = objNull; +if (true) then +{ + _this = "MAP_t_quercus3s" createVehicle [7767.6626, 12566.103, 0.00019836426]; + _vehicle_2170 = _this; + _this setDir -4.3791738; + _this setPos [7767.6626, 12566.103, 0.00019836426]; +}; + +_vehicle_2173 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7676.3979, 12481.855, -0.025486741]; + _vehicle_2173 = _this; + _this setDir 55.066406; + _this setPos [7676.3979, 12481.855, -0.025486741]; +}; + +_vehicle_2175 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7669.0313, 12479.948, 0.00021362305]; + _vehicle_2175 = _this; + _this setDir 58.261475; + _this setPos [7669.0313, 12479.948, 0.00021362305]; +}; + +_vehicle_2178 = objNull; +if (true) then +{ + _this = "MAP_t_picea1s" createVehicle [7679.6304, 12476.101, 5.3405762e-005]; + _vehicle_2178 = _this; + _this setDir -4.9652934; + _this setPos [7679.6304, 12476.101, 5.3405762e-005]; +}; + +_vehicle_2180 = objNull; +if (true) then +{ + _this = "MAP_t_picea1s" createVehicle [7674.7051, 12475.48, 0.00016021729]; + _vehicle_2180 = _this; + _this setDir -4.9652934; + _this setPos [7674.7051, 12475.48, 0.00016021729]; +}; + +_vehicle_2182 = objNull; +if (true) then +{ + _this = "MAP_t_picea1s" createVehicle [7673.8481, 12468.463, 7.6293945e-005]; + _vehicle_2182 = _this; + _this setDir -4.9652934; + _this setPos [7673.8481, 12468.463, 7.6293945e-005]; +}; + +_vehicle_2237 = objNull; +if (true) then +{ + _this = "MAP_Misc_Cargo1B" createVehicle [7923.9453, 12599.736, 7.6293945e-005]; + _vehicle_2237 = _this; + _this setDir 169.28972; + _this setPos [7923.9453, 12599.736, 7.6293945e-005]; +}; + +_vehicle_2238 = objNull; +if (true) then +{ + _this = "Misc_Cargo1Bo_military" createVehicle [7912.646, 12609.032, 0.059593841]; + _vehicle_2238 = _this; + _this setDir -15.679279; + _this setPos [7912.646, 12609.032, 0.059593841]; +}; + +_vehicle_2239 = objNull; +if (true) then +{ + _this = "MAP_Misc_Cargo2B" createVehicle [7920.1362, 12599.6, -0.22031403]; + _vehicle_2239 = _this; + _this setDir -26.055584; + _this setPos [7920.1362, 12599.6, -0.22031403]; +}; + +_vehicle_2246 = objNull; +if (true) then +{ + _this = "Land_Misc_Cargo1E_EP1" createVehicle [7920.5352, 12606.302, 2.2888184e-005]; + _vehicle_2246 = _this; + _this setDir -92.491623; + _this setPos [7920.5352, 12606.302, 2.2888184e-005]; +}; + +_vehicle_2249 = objNull; +if (true) then +{ + _this = "MAP_Misc_Cargo1B" createVehicle [7916.1504, 12598.137, -0.0051482185]; + _vehicle_2249 = _this; + _this setDir 167.60512; + _this setPos [7916.1504, 12598.137, -0.0051482185]; +}; + +_vehicle_2255 = objNull; +if (true) then +{ + _this = "MAP_Ind_Shed_01_main" createVehicle [7916.1035, 12608.105, -0.00482486]; + _vehicle_2255 = _this; + _this setDir -9.2521973; + _this setPos [7916.1035, 12608.105, -0.00482486]; +}; + +_vehicle_2256 = objNull; +if (true) then +{ + _this = "MAP_Ind_Shed_01_main" createVehicle [7916.7808, 12604.018, -0.044430524]; + _vehicle_2256 = _this; + _this setDir -9.7085018; + _this setPos [7916.7808, 12604.018, -0.044430524]; +}; + +_vehicle_2257 = objNull; +if (true) then +{ + _this = "MAP_Ind_Shed_01_end" createVehicle [7916.0864, 12607.971, -0.0049230447]; + _vehicle_2257 = _this; + _this setDir -9.8671026; + _this setPos [7916.0864, 12607.971, -0.0049230447]; +}; + +_vehicle_2258 = objNull; +if (true) then +{ + _this = "MAP_Ind_Shed_01_end" createVehicle [7916.8193, 12603.875, -0.01462337]; + _vehicle_2258 = _this; + _this setDir -9.6751947; + _this setPos [7916.8193, 12603.875, -0.01462337]; +}; + +_vehicle_2264 = objNull; +if (true) then +{ + _this = "MAP_Misc_Cargo1B" createVehicle [7912.3643, 12597.938, 3.0517578e-005]; + _vehicle_2264 = _this; + _this setDir 167.35693; + _this setPos [7912.3643, 12597.938, 3.0517578e-005]; +}; + +_vehicle_2267 = objNull; +if (true) then +{ + _this = "MAP_asf3_10_25" createVehicle [7816.8047, 12646.265, 2.2888184e-005]; + _vehicle_2267 = _this; + _this setDir 60.082756; + _this setPos [7816.8047, 12646.265, 2.2888184e-005]; +}; + +_vehicle_2273 = objNull; +if (true) then +{ + _this = "UralWreck" createVehicle [7798.1147, 12636.979, 1.5258789e-005]; + _vehicle_2273 = _this; + _this setDir 50.620239; + _this setPos [7798.1147, 12636.979, 1.5258789e-005]; +}; + +_vehicle_2276 = objNull; +if (true) then +{ + _this = "MAP_garbage_paleta" createVehicle [7819.3384, 12604.194, 3.0517578e-005]; + _vehicle_2276 = _this; + _this setDir 10.805914; + _this setPos [7819.3384, 12604.194, 3.0517578e-005]; +}; + +_vehicle_2278 = objNull; +if (true) then +{ + _this = "MAP_garbage_paleta" createVehicle [7800.3169, 12634.292, -1.5258789e-005]; + _vehicle_2278 = _this; + _this setDir 10.805914; + _this setPos [7800.3169, 12634.292, -1.5258789e-005]; +}; + +_vehicle_2281 = objNull; +if (true) then +{ + _this = "UralWreck" createVehicle [7916.1577, 12622.509, 7.6293945e-005]; + _vehicle_2281 = _this; + _this setDir 4.7043962; + _this setPos [7916.1577, 12622.509, 7.6293945e-005]; +}; + +_vehicle_2283 = objNull; +if (true) then +{ + _this = "UralWreck" createVehicle [7912.0835, 12635.12, 6.1035156e-005]; + _vehicle_2283 = _this; + _this setDir 84.43335; + _this setPos [7912.0835, 12635.12, 6.1035156e-005]; +}; + +_vehicle_2286 = objNull; +if (true) then +{ + _this = "MAP_Kontejner" createVehicle [7910.8804, 12629.214, 5.3405762e-005]; + _vehicle_2286 = _this; + _this setDir -5.6146502; + _this setPos [7910.8804, 12629.214, 5.3405762e-005]; +}; + +_vehicle_2288 = objNull; +if (true) then +{ + _this = "MAP_Kontejner" createVehicle [7906.6372, 12648.102, -9.9182129e-005]; + _vehicle_2288 = _this; + _this setDir 264.36893; + _this setPos [7906.6372, 12648.102, -9.9182129e-005]; +}; + +_vehicle_2296 = objNull; +if (true) then +{ + _this = "MAP_Shed_M01" createVehicle [7920.6548, 12628.425, 3.0517578e-005]; + _vehicle_2296 = _this; + _this setDir 81.905571; + _this setPos [7920.6548, 12628.425, 3.0517578e-005]; +}; + +_vehicle_2349 = objNull; +if (true) then +{ + _this = "MAP_asf3_30_25" createVehicle [7861.8057, 12628.811, 2.2888184e-005]; + _vehicle_2349 = _this; + _this setDir 64.579704; + _this setPos [7861.8057, 12628.811, 2.2888184e-005]; +}; + +_vehicle_2352 = objNull; +if (true) then +{ + _this = "MAP_asf3_12" createVehicle [7850.6353, 12623.466, 0.00010681152]; + _vehicle_2352 = _this; + _this setDir 64.730011; + _this setPos [7850.6353, 12623.466, 0.00010681152]; +}; + +_vehicle_2355 = objNull; +if (true) then +{ + _this = "MAP_asf3_6konec" createVehicle [7845.0562, 12621.014, 6.8664551e-005]; + _vehicle_2355 = _this; + _this setDir 67.084747; + _this setPos [7845.0562, 12621.014, 6.8664551e-005]; +}; + +_vehicle_2358 = objNull; +if (true) then +{ + _this = "SKODAWreck" createVehicle [7846.8521, 12623.641, 7.6293945e-006]; + _vehicle_2358 = _this; + _this setDir -288.9689; + _this setPos [7846.8521, 12623.641, 7.6293945e-006]; +}; + +_vehicle_2361 = objNull; +if (true) then +{ + _this = "UAZWreck" createVehicle [7847.9414, 12620.344, 1.5258789e-005]; + _vehicle_2361 = _this; + _this setDir 434.09283; + _this setPos [7847.9414, 12620.344, 1.5258789e-005]; +}; + +_vehicle_2364 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_3" createVehicle [7872.3706, 12624.475, 5.3405762e-005]; + _vehicle_2364 = _this; + _this setDir -87.370415; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7872.3706, 12624.475, 5.3405762e-005]; +}; + +_vehicle_2367 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_9" createVehicle [7872.9951, 12641.563, 4.5776367e-005]; + _vehicle_2367 = _this; + _this setDir -267.89236; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7872.9951, 12641.563, 4.5776367e-005]; +}; + +_vehicle_2370 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_3" createVehicle [7872.1099, 12644.165, -4.5776367e-005]; + _vehicle_2370 = _this; + _this setDir -311.98642; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7872.1099, 12644.165, -4.5776367e-005]; +}; + +_vehicle_2373 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_9" createVehicle [7864.2173, 12648.305, 0.091620408]; + _vehicle_2373 = _this; + _this setDir -336.43393; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7864.2173, 12648.305, 0.091620408]; +}; + +_vehicle_2375 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_9" createVehicle [7843.188, 12651.341, 0.17144112]; + _vehicle_2375 = _this; + _this setDir -382.58527; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7843.188, 12651.341, 0.17144112]; +}; + +_vehicle_2381 = objNull; +if (true) then +{ + _this = "MAP_Wall_TinCom_3" createVehicle [7861.6509, 12649.819, 0.32889649]; + _vehicle_2381 = _this; + _this setDir -322.23495; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7861.6509, 12649.819, 0.32889649]; +}; + +_vehicle_2385 = objNull; +if (true) then +{ + _this = "MAP_paletyC" createVehicle [7845.5713, 12616.46, -0.041063845]; + _vehicle_2385 = _this; + _this setDir 107.43632; + _this setPos [7845.5713, 12616.46, -0.041063845]; +}; + +_vehicle_2388 = objNull; +if (true) then +{ + _this = "Misc_concrete_High" createVehicle [7856.7183, 12646.489, 1.5258789e-005]; + _vehicle_2388 = _this; + _this setDir 45.554283; + _this setPos [7856.7183, 12646.489, 1.5258789e-005]; +}; + +_vehicle_2390 = objNull; +if (true) then +{ + _this = "Misc_concrete_High" createVehicle [7859.8701, 12644.338, 7.6293945e-006]; + _vehicle_2390 = _this; + _this setDir 146.18176; + _this setPos [7859.8701, 12644.338, 7.6293945e-006]; +}; + +_vehicle_2393 = objNull; +if (true) then +{ + _this = "MAP_Kontejner" createVehicle [7842.7344, 12626.341]; + _vehicle_2393 = _this; + _this setDir -17.987211; + _this setPos [7842.7344, 12626.341]; +}; + +_vehicle_2395 = objNull; +if (true) then +{ + _this = "MAP_Kontejner" createVehicle [7843.2969, 12624.635, 1.5258789e-005]; + _vehicle_2395 = _this; + _this setDir -19.427258; + _this setPos [7843.2969, 12624.635, 1.5258789e-005]; +}; + +_vehicle_2397 = objNull; +if (true) then +{ + _this = "MAP_Kontejner" createVehicle [7843.834, 12623.019, -2.2888184e-005]; + _vehicle_2397 = _this; + _this setDir -19.427258; + _this setPos [7843.834, 12623.019, -2.2888184e-005]; +}; + +_vehicle_2403 = objNull; +if (true) then +{ + _this = "UAZWreck" createVehicle [7900.7437, 12627.188, 3.0517578e-005]; + _vehicle_2403 = _this; + _this setDir 307.57349; + _this setPos [7900.7437, 12627.188, 3.0517578e-005]; +}; + +_vehicle_2451 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7897.0864, 12592.63, 0.43450448]; + _vehicle_2451 = _this; + _this setDir -102.44237; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7897.0864, 12592.63, 0.43450448]; +}; + +_vehicle_2454 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7895.8496, 12598.417, 0.15936959]; + _vehicle_2454 = _this; + _this setDir -102.44237; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7895.8496, 12598.417, 0.15936959]; +}; + +_vehicle_2457 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7895.1772, 12601.391, 0.062335387]; + _vehicle_2457 = _this; + _this setDir -102.44237; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7895.1772, 12601.391, 0.062335387]; +}; + +_vehicle_2463 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7891.5059, 12621.659, -0.28607419]; + _vehicle_2463 = _this; + _this setDir 83.600182; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7891.5059, 12621.659, -0.28607419]; +}; + +_vehicle_2466 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7889.5044, 12639.026, -0.12501641]; + _vehicle_2466 = _this; + _this setDir -98.119759; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7889.5044, 12639.026, -0.12501641]; +}; + +_vehicle_2469 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7888.8286, 12644.877, -0.10842062]; + _vehicle_2469 = _this; + _this setDir -95.251991; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7888.8286, 12644.877, -0.10842062]; +}; + +_vehicle_2474 = objNull; +if (true) then +{ + _this = "MAP_t_fraxinus2s" createVehicle [7683.5459, 12500.161]; + _vehicle_2474 = _this; + _this setDir -64.130959; + _this setPos [7683.5459, 12500.161]; +}; + +_vehicle_2479 = objNull; +if (true) then +{ + _this = "MAP_t_fagus2s" createVehicle [7699.3257, 12499.032, -9.1552734e-005]; + _vehicle_2479 = _this; + _this setDir -20.816936; + _this setPos [7699.3257, 12499.032, -9.1552734e-005]; +}; + +_vehicle_2481 = objNull; +if (true) then +{ + _this = "MAP_t_fagus2s" createVehicle [7805.916, 12595.266, 2.2888184e-005]; + _vehicle_2481 = _this; + _this setDir -20.816936; + _this setPos [7805.916, 12595.266, 2.2888184e-005]; +}; + +_vehicle_2483 = objNull; +if (true) then +{ + _this = "MAP_t_fagus2s" createVehicle [7893.3145, 12643.526, 0.00010681152]; + _vehicle_2483 = _this; + _this setDir -20.816936; + _this setPos [7893.3145, 12643.526, 0.00010681152]; +}; + +_vehicle_2485 = objNull; +if (true) then +{ + _this = "MAP_t_fagus2s" createVehicle [7885.0601, 12609.094, 6.1035156e-005]; + _vehicle_2485 = _this; + _this setDir -20.816936; + _this setPos [7885.0601, 12609.094, 6.1035156e-005]; +}; + +_vehicle_2491 = objNull; +if (true) then +{ + _this = "MAP_b_corylus" createVehicle [7854.0889, 12595.258, 9.1552734e-005]; + _vehicle_2491 = _this; + _this setDir -4.9652934; + _this setPos [7854.0889, 12595.258, 9.1552734e-005]; +}; + +_vehicle_2493 = objNull; +if (true) then +{ + _this = "MAP_b_corylus" createVehicle [7907.9736, 12622.494, 9.9182129e-005]; + _vehicle_2493 = _this; + _this setDir 137.61153; + _this setPos [7907.9736, 12622.494, 9.9182129e-005]; +}; + +_vehicle_2496 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7737.6196, 12548.15, 0.00016021729]; + _vehicle_2496 = _this; + _this setDir 41.869556; + _this setPos [7737.6196, 12548.15, 0.00016021729]; +}; + +_vehicle_2498 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7734.5928, 12548.466, 4.5776367e-005]; + _vehicle_2498 = _this; + _this setDir 41.869556; + _this setPos [7734.5928, 12548.466, 4.5776367e-005]; +}; + +_vehicle_2500 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7737.9351, 12598.32, 8.392334e-005]; + _vehicle_2500 = _this; + _this setDir 41.869556; + _this setPos [7737.9351, 12598.32, 8.392334e-005]; +}; + +_vehicle_2502 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7743.3281, 12651.467, 0.00015258789]; + _vehicle_2502 = _this; + _this setDir 41.869556; + _this setPos [7743.3281, 12651.467, 0.00015258789]; +}; + +_vehicle_2504 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7836.5063, 12593.169, 6.8664551e-005]; + _vehicle_2504 = _this; + _this setDir 41.869556; + _this setPos [7836.5063, 12593.169, 6.8664551e-005]; +}; + +_vehicle_2506 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7886.9243, 12645.209, -3.0517578e-005]; + _vehicle_2506 = _this; + _this setDir 41.869556; + _this setPos [7886.9243, 12645.209, -3.0517578e-005]; +}; + +_vehicle_2511 = objNull; +if (true) then +{ + _this = "MAP_Ind_TankSmall" createVehicle [7898.334, 12642.092, 6.8664551e-005]; + _vehicle_2511 = _this; + _this setDir 266.2706; + _this setPos [7898.334, 12642.092, 6.8664551e-005]; +}; + +_vehicle_2514 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7836.6123, 12665.418, 0.016612394]; + _vehicle_2514 = _this; + _this setDir 283.07846; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7836.6123, 12665.418, 0.016612394]; +}; + +_vehicle_2518 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7880.3984, 12690.699, -0.00018310547]; + _vehicle_2518 = _this; + _this setDir 58.261475; + _this setPos [7880.3984, 12690.699, -0.00018310547]; +}; + +_vehicle_2519 = objNull; +if (true) then +{ + _this = "MAP_t_picea1s" createVehicle [7841.0933, 12702.571, -0.84425354]; + _vehicle_2519 = _this; + _this setDir -4.9652934; + _this setPos [7841.0933, 12702.571, -0.84425354]; +}; + +_vehicle_2523 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7897.8608, 12671.663]; + _vehicle_2523 = _this; + _this setDir 58.261475; + _this setPos [7897.8608, 12671.663]; +}; + +_vehicle_2525 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7832.4219, 12701.154]; + _vehicle_2525 = _this; + _this setDir 58.261475; + _this setPos [7832.4219, 12701.154]; +}; + +_vehicle_2527 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7869.3022, 12702.514, 1.5258789e-005]; + _vehicle_2527 = _this; + _this setDir 58.261475; + _this setPos [7869.3022, 12702.514, 1.5258789e-005]; +}; + +_vehicle_2529 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7859.2402, 12705.655, 8.392334e-005]; + _vehicle_2529 = _this; + _this setDir 58.261475; + _this setPos [7859.2402, 12705.655, 8.392334e-005]; +}; + +_vehicle_2532 = objNull; +if (true) then +{ + _this = "MAP_t_picea1s" createVehicle [7854.4102, 12703.072, -0.0017993762]; + _vehicle_2532 = _this; + _this setDir -4.9652934; + _this setPos [7854.4102, 12703.072, -0.0017993762]; +}; + +_vehicle_2535 = objNull; +if (true) then +{ + _this = "MAP_paletyC" createVehicle [7831.6724, 12638.806, 10.972757]; + _vehicle_2535 = _this; + _this setDir 118.84065; + _this setPos [7831.6724, 12638.806, 10.972757]; +}; + +_vehicle_2543 = objNull; +if (true) then +{ + _this = "MAP_garbage_paleta" createVehicle [7847.373, 12615.553]; + _vehicle_2543 = _this; + _this setDir -7.8187428; + _this setPos [7847.373, 12615.553]; +}; + +_vehicle_2546 = objNull; +if (true) then +{ + _this = "Park_bench2" createVehicle [7768.6094, 12582.776, 0.16974762]; + _vehicle_2546 = _this; + _this setDir 160.50186; + _this setPos [7768.6094, 12582.776, 0.16974762]; +}; + +_vehicle_2622 = objNull; +if (true) then +{ + _this = "Hanged_MD" createVehicle [7826.8047, 12640.284, 3.9746211]; + _vehicle_2622 = _this; + _this setDir 73.022423; + _this setPos [7826.8047, 12640.284, 3.9746211]; +}; + +_vehicle_2624 = objNull; +if (true) then +{ + _this = "PowerGenerator" createVehicle [7722.9585, 12567.209, -4.5776367e-005]; + _vehicle_2624 = _this; + _this setDir -30.481247; + _this setPos [7722.9585, 12567.209, -4.5776367e-005]; +}; + +_vehicle_2627 = objNull; +if (true) then +{ + _this = "Pile_of_wood" createVehicle [7709.9028, 12645.979, -2.2888184e-005]; + _vehicle_2627 = _this; + _this setDir 326.71265; + _this setPos [7709.9028, 12645.979, -2.2888184e-005]; +}; + +_vehicle_2630 = objNull; +if (true) then +{ + _this = "Axe_woodblock" createVehicle [7705.5313, 12644.957, -7.6293945e-005]; + _vehicle_2630 = _this; + _this setDir 39.628578; + _this setPos [7705.5313, 12644.957, -7.6293945e-005]; +}; + +_vehicle_2647 = objNull; +if (true) then +{ + _this = "MAP_path_10_25" createVehicle [7731.022, 12584.595, 7.6293945e-006]; + _vehicle_2647 = _this; + _this setDir 141.57121; + _this setPos [7731.022, 12584.595, 7.6293945e-006]; +}; + +_vehicle_2651 = objNull; +if (true) then +{ + _this = "MAP_path_6" createVehicle [7737.0386, 12578.938, -2.2888184e-005]; + _vehicle_2651 = _this; + _this setDir 65.159111; + _this setPos [7737.0386, 12578.938, -2.2888184e-005]; +}; + +_vehicle_2657 = objNull; +if (true) then +{ + _this = "MAP_path_60_10" createVehicle [7729.6094, 12579.44, -2.2888184e-005]; + _vehicle_2657 = _this; + _this setDir 55.592091; + _this setPos [7729.6094, 12579.44, -2.2888184e-005]; +}; + +_vehicle_2659 = objNull; +if (true) then +{ + _this = "MAP_path_60_10" createVehicle [7729.6846, 12579.634, -7.6293945e-006]; + _vehicle_2659 = _this; + _this setDir -127.91202; + _this setPos [7729.6846, 12579.634, -7.6293945e-006]; +}; + +_vehicle_2661 = objNull; +if (true) then +{ + _this = "MAP_path_60_10" createVehicle [7715.3892, 12548.751, 6.1035156e-005]; + _vehicle_2661 = _this; + _this setDir 56.682251; + _this setPos [7715.3892, 12548.751, 6.1035156e-005]; +}; + +_vehicle_2664 = objNull; +if (true) then +{ + _this = "MAP_path_7_100" createVehicle [7747.2085, 12582.899, 2.2888184e-005]; + _vehicle_2664 = _this; + _this setDir 65.284477; + _this setPos [7747.2085, 12582.899, 2.2888184e-005]; +}; + +_vehicle_2667 = objNull; +if (true) then +{ + _this = "MAP_path_60_10" createVehicle [7851.7954, 12660.756, -7.6293945e-006]; + _vehicle_2667 = _this; + _this setPos [7851.7954, 12660.756, -7.6293945e-006]; +}; + +_vehicle_2669 = objNull; +if (true) then +{ + _this = "MAP_path_60_10" createVehicle [7846.0469, 12668.105, -3.0517578e-005]; + _vehicle_2669 = _this; + _this setDir 166.80687; + _this setPos [7846.0469, 12668.105, -3.0517578e-005]; +}; + +_vehicle_2672 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [7849.5854, 12668.607, -3.0517578e-005]; + _vehicle_2672 = _this; + _this setDir 163.46527; + _this setPos [7849.5854, 12668.607, -3.0517578e-005]; +}; + +_vehicle_2674 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7741.6987, 12581.266, 1.5258789e-005]; + _vehicle_2674 = _this; + _this setPos [7741.6987, 12581.266, 1.5258789e-005]; +}; + +_vehicle_2681 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7740.4624, 12580.458, 1.5258789e-005]; + _vehicle_2681 = _this; + _this setPos [7740.4624, 12580.458, 1.5258789e-005]; +}; + +_vehicle_2683 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7738.1528, 12580.833, -1.5258789e-005]; + _vehicle_2683 = _this; + _this setPos [7738.1528, 12580.833, -1.5258789e-005]; +}; + +_vehicle_2685 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7736.5425, 12581.152, -3.8146973e-005]; + _vehicle_2685 = _this; + _this setPos [7736.5425, 12581.152, -3.8146973e-005]; +}; + +_vehicle_2687 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7733.8154, 12581.05, -7.6293945e-005]; + _vehicle_2687 = _this; + _this setPos [7733.8154, 12581.05, -7.6293945e-005]; +}; + +_vehicle_2689 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7732.4019, 12582.67, 2.2888184e-005]; + _vehicle_2689 = _this; + _this setPos [7732.4019, 12582.67, 2.2888184e-005]; +}; + +_vehicle_2691 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7731.8267, 12580.383, -7.6293945e-006]; + _vehicle_2691 = _this; + _this setPos [7731.8267, 12580.383, -7.6293945e-006]; +}; + +_vehicle_2693 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7730.5151, 12579.853, 7.6293945e-006]; + _vehicle_2693 = _this; + _this setPos [7730.5151, 12579.853, 7.6293945e-006]; +}; + +_vehicle_2695 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7728.8174, 12579.088, -7.6293945e-006]; + _vehicle_2695 = _this; + _this setPos [7728.8174, 12579.088, -7.6293945e-006]; +}; + +_vehicle_2697 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7726.126, 12577.869, 3.0517578e-005]; + _vehicle_2697 = _this; + _this setPos [7726.126, 12577.869, 3.0517578e-005]; +}; + +_vehicle_2699 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7724.1802, 12577.647, -7.6293945e-005]; + _vehicle_2699 = _this; + _this setPos [7724.1802, 12577.647, -7.6293945e-005]; +}; + +_vehicle_2701 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7722.2827, 12577.598, -3.0517578e-005]; + _vehicle_2701 = _this; + _this setPos [7722.2827, 12577.598, -3.0517578e-005]; +}; + +_vehicle_2703 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7720.6851, 12577.972, 0]; + _vehicle_2703 = _this; + _this setPos [7720.6851, 12577.972, 0]; +}; + +_vehicle_2705 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7749.6177, 12584.021, -1.5258789e-005]; + _vehicle_2705 = _this; + _this setPos [7749.6177, 12584.021, -1.5258789e-005]; +}; + +_vehicle_2707 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7752.0259, 12584.998, 3.8146973e-005]; + _vehicle_2707 = _this; + _this setPos [7752.0259, 12584.998, 3.8146973e-005]; +}; + +_vehicle_2709 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7753.9585, 12585.731, -2.2888184e-005]; + _vehicle_2709 = _this; + _this setPos [7753.9585, 12585.731, -2.2888184e-005]; +}; + +_vehicle_2711 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7722.4795, 12550.232, -2.2888184e-005]; + _vehicle_2711 = _this; + _this setPos [7722.4795, 12550.232, -2.2888184e-005]; +}; + +_vehicle_2713 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7720.9795, 12550.259, -3.0517578e-005]; + _vehicle_2713 = _this; + _this setPos [7720.9795, 12550.259, -3.0517578e-005]; +}; + +_vehicle_2715 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7719.1289, 12550.037, 0]; + _vehicle_2715 = _this; + _this setPos [7719.1289, 12550.037, 0]; +}; + +_vehicle_2717 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7716.7842, 12549.391, 0]; + _vehicle_2717 = _this; + _this setPos [7716.7842, 12549.391, 0]; +}; + +_vehicle_2719 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7846.2397, 12664.341, -1.5258789e-005]; + _vehicle_2719 = _this; + _this setPos [7846.2397, 12664.341, -1.5258789e-005]; +}; + +_vehicle_2721 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7846.1387, 12666.291, -4.5776367e-005]; + _vehicle_2721 = _this; + _this setPos [7846.1387, 12666.291, -4.5776367e-005]; +}; + +_vehicle_2723 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7852.7241, 12664.888, 2.2888184e-005]; + _vehicle_2723 = _this; + _this setPos [7852.7241, 12664.888, 2.2888184e-005]; +}; + +_vehicle_2725 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7853.6465, 12666.433, -7.6293945e-006]; + _vehicle_2725 = _this; + _this setPos [7853.6465, 12666.433, -7.6293945e-006]; +}; + +_vehicle_2727 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7855.0913, 12667.96, 0]; + _vehicle_2727 = _this; + _this setPos [7855.0913, 12667.96, 0]; +}; + +_vehicle_2729 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7856.1802, 12668.548, 7.6293945e-006]; + _vehicle_2729 = _this; + _this setPos [7856.1802, 12668.548, 7.6293945e-006]; +}; + +_vehicle_2732 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7788.4004, 12646.416, 0.48569798]; + _vehicle_2732 = _this; + _this setDir -32.428715; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7788.4004, 12646.416, 0.48569798]; +}; + +_vehicle_2737 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7799.0337, 12652.086, 0.41840205]; + _vehicle_2737 = _this; + _this setDir -22.381056; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7799.0337, 12652.086, 0.41840205]; +}; + +_vehicle_2739 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7815.9912, 12657.489, 0.25806719]; + _vehicle_2739 = _this; + _this setDir -16.251894; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7815.9912, 12657.489, 0.25806719]; +}; + +_vehicle_2741 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7827.0703, 12660.715, 7.6293945e-006]; + _vehicle_2741 = _this; + _this setDir -16.911179; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7827.0703, 12660.715, 7.6293945e-006]; +}; + +_vehicle_2744 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7863.2344, 12671.981, 0.17152716]; + _vehicle_2744 = _this; + _this setDir 65.093285; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7863.2344, 12671.981, 0.17152716]; +}; + +_vehicle_2747 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7872.4746, 12670.326, -6.8664551e-005]; + _vehicle_2747 = _this; + _this setDir -13.351489; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7872.4746, 12670.326, -6.8664551e-005]; +}; + +_vehicle_2752 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7884.1387, 12657.971, -2.2888184e-005]; + _vehicle_2752 = _this; + _this setDir 104.02966; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7884.1387, 12657.971, -2.2888184e-005]; +}; + +_vehicle_2757 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7926.8789, 12612.339, 0.069882564]; + _vehicle_2757 = _this; + _this setDir -103.68739; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7926.8789, 12612.339, 0.069882564]; +}; + +_vehicle_2759 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7925.5815, 12618.064, 9.1552734e-005]; + _vehicle_2759 = _this; + _this setDir -102.28685; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7925.5815, 12618.064, 9.1552734e-005]; +}; + +_vehicle_2763 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7922.5342, 12635.469, 7.6293945e-006]; + _vehicle_2763 = _this; + _this setDir -99.127357; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7922.5342, 12635.469, 7.6293945e-006]; +}; + +_vehicle_2766 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7886.9155, 12580.815, 6.8664551e-005]; + _vehicle_2766 = _this; + _this setDir -10.263275; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7886.9155, 12580.815, 6.8664551e-005]; +}; + +_vehicle_2769 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7811.5605, 12567.753, -0.068127185]; + _vehicle_2769 = _this; + _this setDir 18.753082; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7811.5605, 12567.753, -0.068127185]; +}; + +_vehicle_2772 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7823.0278, 12568.326, 1.5258789e-005]; + _vehicle_2772 = _this; + _this setDir -11.278671; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7823.0278, 12568.326, 1.5258789e-005]; +}; + +_vehicle_2777 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7840.4604, 12571.457, 0.00010681152]; + _vehicle_2777 = _this; + _this setDir -11.366906; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7840.4604, 12571.457, 0.00010681152]; +}; + +_vehicle_2780 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7846.3159, 12572.66, 5.3405762e-005]; + _vehicle_2780 = _this; + _this setDir -11.637337; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7846.3159, 12572.66, 5.3405762e-005]; +}; + +_vehicle_2786 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7705.6123, 12583.728, -0.0090833195]; + _vehicle_2786 = _this; + _this setDir -68.85527; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7705.6123, 12583.728, -0.0090833195]; +}; + +_vehicle_2789 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7701.3989, 12572.67, -0.077093057]; + _vehicle_2789 = _this; + _this setDir -70.145775; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7701.3989, 12572.67, -0.077093057]; +}; + +_vehicle_2791 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7697.4766, 12561.832, -0.043621272]; + _vehicle_2791 = _this; + _this setDir -70.145775; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7697.4766, 12561.832, -0.043621272]; +}; + +_vehicle_2793 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7693.5815, 12550.558, -0.081338122]; + _vehicle_2793 = _this; + _this setDir -71.949638; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7693.5815, 12550.558, -0.081338122]; +}; + +_vehicle_2795 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7691.8652, 12545.137, -0.12187106]; + _vehicle_2795 = _this; + _this setDir -72.041855; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7691.8652, 12545.137, -0.12187106]; +}; + +_vehicle_2798 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7685.5112, 12529.16, -0.10458195]; + _vehicle_2798 = _this; + _this setDir -68.062004; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7685.5112, 12529.16, -0.10458195]; +}; + +_vehicle_2802 = objNull; +if (true) then +{ + _this = "MAP_asf3_6konec" createVehicle [7830.2661, 12626.381, 0.00010681152]; + _vehicle_2802 = _this; + _this setDir 254.9729; + _this setPos [7830.2661, 12626.381, 0.00010681152]; +}; + +_vehicle_2808 = objNull; +if (true) then +{ + _this = "MAP_SidewalkShortEnd" createVehicle [7767.2466, 12581.592, 0.11073505]; + _vehicle_2808 = _this; + _this setDir 250.95987; + _this setPos [7767.2466, 12581.592, 0.11073505]; +}; + +_vehicle_2809 = objNull; +if (true) then +{ + _this = "MAP_SidewalkClearShort" createVehicle [7768.645, 12582.078, 0.091730028]; + _vehicle_2809 = _this; + _this setDir -109.51961; + _this setPos [7768.645, 12582.078, 0.091730028]; +}; + +_vehicle_2812 = objNull; +if (true) then +{ + _this = "MAP_SidewalkShortEnd" createVehicle [7780.3906, 12586.243, 0.06813246]; + _vehicle_2812 = _this; + _this setDir 431.10373; + _this setPos [7780.3906, 12586.243, 0.06813246]; +}; + +_vehicle_2813 = objNull; +if (true) then +{ + _this = "MAP_SidewalkClearShort" createVehicle [7778.9834, 12585.766, 0.086411767]; + _vehicle_2813 = _this; + _this setDir 71.101097; + _this setPos [7778.9834, 12585.766, 0.086411767]; +}; + +_vehicle_2818 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7783.1631, 12586.698, -1.5258789e-005]; + _vehicle_2818 = _this; + _this setDir -4.9652934; + _this setPos [7783.1631, 12586.698, -1.5258789e-005]; +}; + +_vehicle_2820 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7790.7109, 12590.166]; + _vehicle_2820 = _this; + _this setDir 43.023148; + _this setPos [7790.7109, 12590.166]; +}; + +_vehicle_2823 = objNull; +if (true) then +{ + _this = "MAP_b_prunus" createVehicle [7792.1123, 12590.613, 3.0517578e-005]; + _vehicle_2823 = _this; + _this setDir 45.607632; + _this setPos [7792.1123, 12590.613, 3.0517578e-005]; +}; + +_vehicle_2825 = objNull; +if (true) then +{ + _this = "MAP_b_prunus" createVehicle [7765.0806, 12580.899, 7.6293945e-005]; + _vehicle_2825 = _this; + _this setDir -4.9652934; + _this setPos [7765.0806, 12580.899, 7.6293945e-005]; +}; + +_vehicle_2828 = objNull; +if (true) then +{ + _this = "Park_bench2" createVehicle [7778.4893, 12586.005, 0.16151376]; + _vehicle_2828 = _this; + _this setDir 160.50186; + _this setPos [7778.4893, 12586.005, 0.16151376]; +}; + +_vehicle_2831 = objNull; +if (true) then +{ + _this = "MAP_SidewalkShortEnd" createVehicle [7788.3169, 12596.713, 0.10145225]; + _vehicle_2831 = _this; + _this setDir 432.43317; + _this setPos [7788.3169, 12596.713, 0.10145225]; +}; + +_vehicle_2834 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7788.7144, 12596.757, 3.0517578e-005]; + _vehicle_2834 = _this; + _this setPos [7788.7144, 12596.757, 3.0517578e-005]; +}; + +_vehicle_2836 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7788.8086, 12595.581, 1.5258789e-005]; + _vehicle_2836 = _this; + _this setPos [7788.8086, 12595.581, 1.5258789e-005]; +}; + +_vehicle_2838 = objNull; +if (true) then +{ + _this = "ClutterCutter_small_2_EP1" createVehicle [7788.6099, 12598.019, 7.6293945e-006]; + _vehicle_2838 = _this; + _this setPos [7788.6099, 12598.019, 7.6293945e-006]; +}; + +_vehicle_2841 = objNull; +if (true) then +{ + _this = "MAP_b_prunus" createVehicle [7819.3579, 12590.41, 2.2888184e-005]; + _vehicle_2841 = _this; + _this setDir 99.60154; + _this setPos [7819.3579, 12590.41, 2.2888184e-005]; +}; + +_vehicle_2843 = objNull; +if (true) then +{ + _this = "MAP_b_prunus" createVehicle [7856.5059, 12588.113]; + _vehicle_2843 = _this; + _this setDir 62.803932; + _this setPos [7856.5059, 12588.113]; +}; + +_vehicle_2845 = objNull; +if (true) then +{ + _this = "MAP_b_prunus" createVehicle [7897.4468, 12586.325, -1.5258789e-005]; + _vehicle_2845 = _this; + _this setDir 45.607632; + _this setPos [7897.4468, 12586.325, -1.5258789e-005]; +}; + +_vehicle_2848 = objNull; +if (true) then +{ + _this = "Barrels" createVehicle [7788.3008, 12622.553, -1.5258789e-005]; + _vehicle_2848 = _this; + _this setPos [7788.3008, 12622.553, -1.5258789e-005]; +}; + +_vehicle_2850 = objNull; +if (true) then +{ + _this = "Barrels" createVehicle [7789.8125, 12622.216, 3.8146973e-005]; + _vehicle_2850 = _this; + _this setPos [7789.8125, 12622.216, 3.8146973e-005]; +}; + +_vehicle_2853 = objNull; +if (true) then +{ + _this = "MAP_Misc_WoodPile" createVehicle [7724.6001, 12651.206, 0.50919509]; + _vehicle_2853 = _this; + _this setDir 57.547928; + _this setPos [7724.6001, 12651.206, 0.50919509]; +}; + +_vehicle_2856 = objNull; +if (true) then +{ + _this = "Land_Bucket_EP1" createVehicle [7723.6875, 12650.473, 0]; + _vehicle_2856 = _this; + _this setDir -11.365155; + _this setPos [7723.6875, 12650.473, 0]; +}; + +_vehicle_2858 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7786.3052, 12565.237, 9.9182129e-005]; + _vehicle_2858 = _this; + _this setDir 80.297432; + _this setPos [7786.3052, 12565.237, 9.9182129e-005]; +}; + +_vehicle_2861 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7706.5942, 12635.159, 0.068727486]; + _vehicle_2861 = _this; + _this setDir -117.35567; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7706.5942, 12635.159, 0.068727486]; +}; + +_vehicle_2867 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_2" createVehicle [7703.8662, 12640.458, 0.22951004]; + _vehicle_2867 = _this; + _this setDir -117.40552; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7703.8662, 12640.458, 0.22951004]; +}; + +_vehicle_2868 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_3" createVehicle [7702.3062, 12643.828, -0.0019067111]; + _vehicle_2868 = _this; + _this setDir -117.27776; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7702.3062, 12643.828, -0.0019067111]; +}; + +_vehicle_2869 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_Pole" createVehicle [7702.9819, 12642.594, -0.12313259]; + _vehicle_2869 = _this; + _this setDir -33.315556; + _this setPos [7702.9819, 12642.594, -0.12313259]; +}; + +_vehicle_2874 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_2" createVehicle [7701.8018, 12644.919, 7.6293945e-006]; + _vehicle_2874 = _this; + _this setDir 54.449554; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7701.8018, 12644.919, 7.6293945e-006]; +}; + +_vehicle_2877 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_3" createVehicle [7703.0762, 12642.196, -1.5258789e-005]; + _vehicle_2877 = _this; + _this setDir -117.27776; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7703.0762, 12642.196, -1.5258789e-005]; +}; + +_vehicle_2881 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_2" createVehicle [7893.2495, 12609.875, 0.16128136]; + _vehicle_2881 = _this; + _this setDir -281.12323; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7893.2495, 12609.875, 0.16128136]; +}; + +_vehicle_2883 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_Pole" createVehicle [7893.6641, 12608.293, -0.22745343]; + _vehicle_2883 = _this; + _this setDir -13.438876; + _this setPos [7893.6641, 12608.293, -0.22745343]; +}; + +_vehicle_2895 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7892.2505, 12615.704, -0.10485651]; + _vehicle_2895 = _this; + _this setDir 81.790993; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7892.2505, 12615.704, -0.10485651]; +}; + +_vehicle_2898 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7894.5352, 12604.322, 0.026208308]; + _vehicle_2898 = _this; + _this setDir -102.44237; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7894.5352, 12604.322, 0.026208308]; +}; + +_vehicle_2901 = objNull; +if (true) then +{ + _this = "MAP_b_corylus" createVehicle [7892.021, 12607.672, 0.00012207031]; + _vehicle_2901 = _this; + _this setDir 16.278889; + _this setPos [7892.021, 12607.672, 0.00012207031]; +}; + +_vehicle_2904 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7890.8062, 12627.629, -0.32075951]; + _vehicle_2904 = _this; + _this setDir 83.600182; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7890.8062, 12627.629, -0.32075951]; +}; + +_vehicle_2907 = objNull; +if (true) then +{ + _this = "Misc_palletsfoiled_heap" createVehicle [7919.7637, 12611.158, 5.3405762e-005]; + _vehicle_2907 = _this; + _this setDir -13.194213; + _this setPos [7919.7637, 12611.158, 5.3405762e-005]; +}; + +_vehicle_2910 = objNull; +if (true) then +{ + _this = "Misc_palletsfoiled_heap" createVehicle [7918.4023, 12616.667, -2.2888184e-005]; + _vehicle_2910 = _this; + _this setDir 76.181114; + _this setPos [7918.4023, 12616.667, -2.2888184e-005]; +}; + +_vehicle_2913 = objNull; +if (true) then +{ + _this = "Land_Misc_IronPipes_EP1" createVehicle [7903.9624, 12596.549, 0.00016021729]; + _vehicle_2913 = _this; + _this setPos [7903.9624, 12596.549, 0.00016021729]; +}; + +_vehicle_2915 = objNull; +if (true) then +{ + _this = "Land_Misc_IronPipes_EP1" createVehicle [7902.5469, 12601.124, -6.1035156e-005]; + _vehicle_2915 = _this; + _this setDir 133.01071; + _this setPos [7902.5469, 12601.124, -6.1035156e-005]; +}; + +_vehicle_2917 = objNull; +if (true) then +{ + _this = "Land_Misc_IronPipes_EP1" createVehicle [7879.5103, 12662.375, -9.9182129e-005]; + _vehicle_2917 = _this; + _this setDir 62.539028; + _this setPos [7879.5103, 12662.375, -9.9182129e-005]; +}; + +_vehicle_2920 = objNull; +if (true) then +{ + _this = "MAP_plot_green_vrat_l" createVehicle [7684.1865, 12497.163, 0.00018310547]; + _vehicle_2920 = _this; + _this setDir -139.65869; + _this setPos [7684.1865, 12497.163, 0.00018310547]; +}; + +_vehicle_2922 = objNull; +if (true) then +{ + _this = "MAP_plot_green_vrat_l" createVehicle [7691.2856, 12493.597, 3.8146973e-005]; + _vehicle_2922 = _this; + _this setDir -172.01868; + _this setPos [7691.2856, 12493.597, 3.8146973e-005]; +}; + +_vehicle_2925 = objNull; +if (true) then +{ + _this = "MAP_Misc_TyreHeap" createVehicle [7920.23, 12631.634, 7.6293945e-006]; + _vehicle_2925 = _this; + _this setDir -15.161761; + _this setPos [7920.23, 12631.634, 7.6293945e-006]; +}; + +_vehicle_2928 = objNull; +if (true) then +{ + _this = "Misc_concrete_High" createVehicle [7908.3623, 12617.798]; + _vehicle_2928 = _this; + _this setDir -18.497639; + _this setPos [7908.3623, 12617.798]; +}; + +_vehicle_2930 = objNull; +if (true) then +{ + _this = "Misc_concrete_High" createVehicle [7894.9995, 12625.774, 9.1552734e-005]; + _vehicle_2930 = _this; + _this setDir 71.645378; + _this setPos [7894.9995, 12625.774, 9.1552734e-005]; +}; + +_vehicle_2933 = objNull; +if (true) then +{ + _this = "MAP_t_fagus2s" createVehicle [7912.375, 12628.531, 2.2888184e-005]; + _vehicle_2933 = _this; + _this setDir -20.816936; + _this setPos [7912.375, 12628.531, 2.2888184e-005]; +}; + +_vehicle_2935 = objNull; +if (true) then +{ + _this = "MAP_t_fagus2s" createVehicle [7904.6724, 12599.622, 9.1552734e-005]; + _vehicle_2935 = _this; + _this setDir 37.40802; + _this setPos [7904.6724, 12599.622, 9.1552734e-005]; +}; + +_vehicle_2938 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7853.4409, 12606.005, 3.0517578e-005]; + _vehicle_2938 = _this; + _this setDir 41.869556; + _this setPos [7853.4409, 12606.005, 3.0517578e-005]; +}; + +_vehicle_2940 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7893.9722, 12628.161, 5.3405762e-005]; + _vehicle_2940 = _this; + _this setDir 41.869556; + _this setPos [7893.9722, 12628.161, 5.3405762e-005]; +}; + +_vehicle_2942 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7920.7988, 12625.492, 8.392334e-005]; + _vehicle_2942 = _this; + _this setDir 41.869556; + _this setPos [7920.7988, 12625.492, 8.392334e-005]; +}; + +_vehicle_2944 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7894.4316, 12598.606, -4.5776367e-005]; + _vehicle_2944 = _this; + _this setDir 63.536247; + _this setPos [7894.4316, 12598.606, -4.5776367e-005]; +}; + +_vehicle_2946 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7895.8291, 12604.231, 3.0517578e-005]; + _vehicle_2946 = _this; + _this setDir 35.821102; + _this setPos [7895.8291, 12604.231, 3.0517578e-005]; +}; + +_vehicle_2949 = objNull; +if (true) then +{ + _this = "MAP_t_picea1s" createVehicle [7888.1567, 12624.854, 3.0517578e-005]; + _vehicle_2949 = _this; + _this setDir -4.9652934; + _this setPos [7888.1567, 12624.854, 3.0517578e-005]; +}; + +_vehicle_2952 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7883.6001, 12639.88, 3.8146973e-005]; + _vehicle_2952 = _this; + _this setDir 113.4809; + _this setPos [7883.6001, 12639.88, 3.8146973e-005]; +}; + +_vehicle_2954 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7840.2651, 12663.763, 2.2888184e-005]; + _vehicle_2954 = _this; + _this setDir 49.784916; + _this setPos [7840.2651, 12663.763, 2.2888184e-005]; +}; + +_vehicle_2957 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7853.4639, 12683.384, 0.041011512]; + _vehicle_2957 = _this; + _this setDir -10.893875; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7853.4639, 12683.384, 0.041011512]; +}; + +_vehicle_2960 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7847.1821, 12630.907, 3.0517578e-005]; + _vehicle_2960 = _this; + _this setDir -4.9652934; + _this setPos [7847.1821, 12630.907, 3.0517578e-005]; +}; + +_vehicle_2962 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7851.3979, 12612.929, 2.2888184e-005]; + _vehicle_2962 = _this; + _this setDir -4.9652934; + _this setPos [7851.3979, 12612.929, 2.2888184e-005]; +}; + +_vehicle_2964 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7880.6084, 12600.479, -7.6293945e-006]; + _vehicle_2964 = _this; + _this setDir -4.9652934; + _this setPos [7880.6084, 12600.479, -7.6293945e-006]; +}; + +_vehicle_2966 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7808.2822, 12581.278, 1.5258789e-005]; + _vehicle_2966 = _this; + _this setDir -4.9652934; + _this setPos [7808.2822, 12581.278, 1.5258789e-005]; +}; + +_vehicle_2971 = objNull; +if (true) then +{ + _this = "MAP_b_corylus" createVehicle [7788.7817, 12568.525, 6.8664551e-005]; + _vehicle_2971 = _this; + _this setDir 16.278889; + _this setPos [7788.7817, 12568.525, 6.8664551e-005]; +}; + +_vehicle_2973 = objNull; +if (true) then +{ + _this = "MAP_b_corylus" createVehicle [7736.478, 12550.03, 3.8146973e-005]; + _vehicle_2973 = _this; + _this setDir 16.278889; + _this setPos [7736.478, 12550.03, 3.8146973e-005]; +}; + +_vehicle_2976 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7714.5732, 12552.241, 9.1552734e-005]; + _vehicle_2976 = _this; + _this setDir 63.536247; + _this setPos [7714.5732, 12552.241, 9.1552734e-005]; +}; + +_vehicle_2978 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7691.7754, 12541.696, -0.041296557]; + _vehicle_2978 = _this; + _this setDir 63.536247; + _this setPos [7691.7754, 12541.696, -0.041296557]; +}; + +_vehicle_2981 = objNull; +if (true) then +{ + _this = "MAP_t_picea1s" createVehicle [7700.9712, 12468.36, 9.1552734e-005]; + _vehicle_2981 = _this; + _this setDir -4.9652934; + _this setPos [7700.9712, 12468.36, 9.1552734e-005]; +}; + +_vehicle_2984 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7827.2559, 12645.349, -9.9182129e-005]; + _vehicle_2984 = _this; + _this setDir 112.19613; + _this setPos [7827.2559, 12645.349, -9.9182129e-005]; +}; + +_vehicle_2987 = objNull; +if (true) then +{ + _this = "MAP_SidewalkShortEnd" createVehicle [7826.2051, 12639.279, 0.25476184]; + _vehicle_2987 = _this; + _this setDir 340.02982; + _this setPos [7826.2051, 12639.279, 0.25476184]; +}; + +_vehicle_2991 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7804.71, 12561.979]; + _vehicle_2991 = _this; + _this setDir -4.9652934; + _this setPos [7804.71, 12561.979]; +}; + +_vehicle_2994 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7875.3857, 12671.03, -2.2888184e-005]; + _vehicle_2994 = _this; + _this setDir -13.351489; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7875.3857, 12671.03, -2.2888184e-005]; +}; + +_vehicle_2999 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7713.5894, 12489.782, 0.040294319]; + _vehicle_2999 = _this; + _this setDir -219.2569; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7713.5894, 12489.782, 0.040294319]; +}; + +_vehicle_3001 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7724.541, 12500.413, 0.15339805]; + _vehicle_3001 = _this; + _this setDir -226.0134; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7724.541, 12500.413, 0.15339805]; +}; + +_vehicle_3006 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7739.4492, 12516.73, 0.094237469]; + _vehicle_3006 = _this; + _this setDir -229.81754; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7739.4492, 12516.73, 0.094237469]; +}; + +_vehicle_3009 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_3_D" createVehicle [7731.0732, 12507.853, -7.6293945e-006]; + _vehicle_3009 = _this; + _this setDir 138.28297; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7731.0732, 12507.853, -7.6293945e-006]; +}; + +_vehicle_3012 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_3_D" createVehicle [7715.9858, 12491.676, 0.093380965]; + _vehicle_3012 = _this; + _this setDir 138.80905; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7715.9858, 12491.676, 0.093380965]; +}; + +_vehicle_3015 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7719.5005, 12494.864, 0.1988048]; + _vehicle_3015 = _this; + _this setDir 129.32574; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7719.5005, 12494.864, 0.1988048]; +}; + +_vehicle_3018 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7727.7026, 12504.183, -1.5258789e-005]; + _vehicle_3018 = _this; + _this setDir 124.69922; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7727.7026, 12504.183, -1.5258789e-005]; +}; + +_vehicle_3020 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7729.9043, 12506.788, 5.3405762e-005]; + _vehicle_3020 = _this; + _this setDir 124.69922; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7729.9043, 12506.788, 5.3405762e-005]; +}; + +_vehicle_3024 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7734.6318, 12511.025, 0.1724512]; + _vehicle_3024 = _this; + _this setDir 131.63809; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7734.6318, 12511.025, 0.1724512]; +}; + +_vehicle_3028 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7681.9321, 12485.354, 9.9182129e-005]; + _vehicle_3028 = _this; + _this setDir -169.04593; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7681.9321, 12485.354, 9.9182129e-005]; +}; + +_vehicle_3034 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_3_Hole" createVehicle [7741.2163, 12519.042, -0.038108263]; + _vehicle_3034 = _this; + _this setDir 123.96923; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7741.2163, 12519.042, -0.038108263]; +}; + +_vehicle_3040 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_3" createVehicle [7742.9619, 12521.446, -0.054247636]; + _vehicle_3040 = _this; + _this setDir 125.64857; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7742.9619, 12521.446, -0.054247636]; +}; + +_vehicle_3043 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_3" createVehicle [7744.6714, 12523.787]; + _vehicle_3043 = _this; + _this setDir 125.64857; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7744.6714, 12523.787]; +}; + +_vehicle_3046 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7735.252, 12529.604, 0.44720191]; + _vehicle_3046 = _this; + _this setDir -52.068256; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7735.252, 12529.604, 0.44720191]; +}; + +_vehicle_3048 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7739.6309, 12532.876, 0.29643553]; + _vehicle_3048 = _this; + _this setDir -4.5086451; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7739.6309, 12532.876, 0.29643553]; +}; + +_vehicle_3054 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_3" createVehicle [7723.6431, 12514.021, 3.8146973e-005]; + _vehicle_3054 = _this; + _this setDir -52.74184; + _this setPos [7723.6431, 12514.021, 3.8146973e-005]; +}; + +_vehicle_3057 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7757.564, 12549.778, 0.028785238]; + _vehicle_3057 = _this; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7757.564, 12549.778, 0.028785238]; +}; + +_vehicle_3072 = objNull; +if (true) then +{ + _this = "MAP_paletyD" createVehicle [7917.0625, 12611.361, 7.6293945e-005]; + _vehicle_3072 = _this; + _this setDir 10.805914; + _this setPos [7917.0625, 12611.361, 7.6293945e-005]; +}; + +_vehicle_3075 = objNull; +if (true) then +{ + _this = "Land_Chair_EP1" createVehicle [7850.5767, 12616.743, 8.392334e-005]; + _vehicle_3075 = _this; + _this setPos [7850.5767, 12616.743, 8.392334e-005]; +}; + +_vehicle_3094 = objNull; +if (true) then +{ + _this = "MAP_kasna_new" createVehicle [7860.8657, 12618.007, -6.1035156e-005]; + _vehicle_3094 = _this; + _this setDir -24.03895; + _this setPos [7860.8657, 12618.007, -6.1035156e-005]; +}; + +_vehicle_3131 = objNull; +if (true) then +{ + _this = "MAP_drevena_bedna" createVehicle [7846.0449, 12617.47, 3.0517578e-005]; + _vehicle_3131 = _this; + _this setDir -11.041709; + _this setPos [7846.0449, 12617.47, 3.0517578e-005]; +}; + +_vehicle_3149 = objNull; +if (true) then +{ + _this = "MAP_drevena_bedna" createVehicle [7845.6689, 12618.589, 1.5258789e-005]; + _vehicle_3149 = _this; + _this setDir -31.70224; + _this setPos [7845.6689, 12618.589, 1.5258789e-005]; +}; + +_vehicle_3152 = objNull; +if (true) then +{ + _this = "MAP_drevena_bedna" createVehicle [7845.7871, 12618.038, 0.97278953]; + _vehicle_3152 = _this; + _this setDir 48.749416; + _this setPos [7845.7871, 12618.038, 0.97278953]; +}; + +_vehicle_3155 = objNull; +if (true) then +{ + _this = "Land_Crates_stack_EP1" createVehicle [7787.1172, 12598.455]; + _vehicle_3155 = _this; + _this setDir -18.051004; + _this setPos [7787.1172, 12598.455]; +}; + +_vehicle_3158 = objNull; +if (true) then +{ + _this = "MAP_P_pipe_big" createVehicle [7898.7129, 12598.843, 2.2888184e-005]; + _vehicle_3158 = _this; + _this setDir 100.24046; + _this setPos [7898.7129, 12598.843, 2.2888184e-005]; +}; + +_vehicle_3163 = objNull; +if (true) then +{ + _this = "MAP_garbage_misc" createVehicle [7817.3384, 12633.955, 8.392334e-005]; + _vehicle_3163 = _this; + _this setDir 10.767595; + _this setPos [7817.3384, 12633.955, 8.392334e-005]; +}; + +_vehicle_3165 = objNull; +if (true) then +{ + _this = "MAP_garbage_misc" createVehicle [7900.5684, 12598.122, 9.9182129e-005]; + _vehicle_3165 = _this; + _this setDir 10.767595; + _this setPos [7900.5684, 12598.122, 9.9182129e-005]; +}; + +_vehicle_3167 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7747.6357, 12539.605, 0.35511637]; + _vehicle_3167 = _this; + _this setDir -77.675339; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7747.6357, 12539.605, 0.35511637]; +}; + +_vehicle_3170 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7749.6011, 12545.132, 0.15544561]; + _vehicle_3170 = _this; + _this setDir -54.994434; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7749.6011, 12545.132, 0.15544561]; +}; + +_vehicle_3173 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_2" createVehicle [7753.6138, 12549.237, -0.04979641]; + _vehicle_3173 = _this; + _this setDir -26.920389; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7753.6138, 12549.237, -0.04979641]; +}; + +_vehicle_3177 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7780.6899, 12554.199, 3.0517578e-005]; + _vehicle_3177 = _this; + _this setDir -12.915766; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7780.6899, 12554.199, 3.0517578e-005]; +}; + +_vehicle_3179 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7786.2002, 12555.71]; + _vehicle_3179 = _this; + _this setDir -17.978888; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7786.2002, 12555.71]; +}; + +_vehicle_3182 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7791.1021, 12557.339, 9.9182129e-005]; + _vehicle_3182 = _this; + _this setDir -19.071436; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7791.1021, 12557.339, 9.9182129e-005]; +}; + +_vehicle_3185 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [7790.5249, 12572.307, 6.8664551e-005]; + _vehicle_3185 = _this; + _this setDir -40.325634; + _this setPos [7790.5249, 12572.307, 6.8664551e-005]; +}; + +_vehicle_3188 = objNull; +if (true) then +{ + _this = "MAP_b_corylus" createVehicle [7788.9834, 12558.271, 1.5258789e-005]; + _vehicle_3188 = _this; + _this setDir 86.013474; + _this setPos [7788.9834, 12558.271, 1.5258789e-005]; +}; + +_vehicle_3202 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7916.0996, 12588.691, 0.098016635]; + _vehicle_3202 = _this; + _this setDir -16.835325; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7916.0996, 12588.691, 0.098016635]; +}; + +_vehicle_3204 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7910.501, 12586.967, 0.24299401]; + _vehicle_3204 = _this; + _this setDir -16.835325; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7910.501, 12586.967, 0.24299401]; +}; + +_vehicle_3207 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7910.0327, 12586.813, 3.0517578e-005]; + _vehicle_3207 = _this; + _this setDir 162.86247; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7910.0327, 12586.813, 3.0517578e-005]; +}; + +_vehicle_3210 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_2" createVehicle [7904.1211, 12584.9, 6.8664551e-005]; + _vehicle_3210 = _this; + _this setDir -15.40204; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7904.1211, 12584.9, 6.8664551e-005]; +}; + +_vehicle_3213 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_Pole" createVehicle [7906.2573, 12585.625, 0.43084747]; + _vehicle_3213 = _this; + _this setDir -15.635259; + _this setPos [7906.2573, 12585.625, 0.43084747]; +}; + +_vehicle_3216 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7924.439, 12623.852, 4.5776367e-005]; + _vehicle_3216 = _this; + _this setDir -99.650764; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7924.439, 12623.852, 4.5776367e-005]; +}; + +_vehicle_3219 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7920.8911, 12647.258, 0.1117107]; + _vehicle_3219 = _this; + _this setDir -96.840584; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7920.8911, 12647.258, 0.1117107]; +}; + +_vehicle_3222 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7910.7197, 12650.915, -6.8664551e-005]; + _vehicle_3222 = _this; + _this setDir -0.90912426; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7910.7197, 12650.915, -6.8664551e-005]; +}; + +_vehicle_3224 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7916.3057, 12651.122, 0.0078656524]; + _vehicle_3224 = _this; + _this setDir -2.2477331; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7916.3057, 12651.122, 0.0078656524]; +}; + +_vehicle_3227 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_Pole" createVehicle [7920.3511, 12651.286, 0.38704887]; + _vehicle_3227 = _this; + _this setDir -15.635259; + _this setPos [7920.3511, 12651.286, 0.38704887]; +}; + +_vehicle_3230 = objNull; +if (true) then +{ + _this = "Land_Chair_EP1" createVehicle [7731.0479, 12578.598, 7.6293945e-005]; + _vehicle_3230 = _this; + _this setDir 110.9845; + _this setVehicleInit "this setVectorUp [1,1,0];"; + _this setPos [7731.0479, 12578.598, 7.6293945e-005]; +}; + +_vehicle_3233 = objNull; +if (true) then +{ + _this = "Land_Chair_EP1" createVehicle [7730.731, 12582.142, -2.2888184e-005]; + _vehicle_3233 = _this; + _this setDir 42.077667; + _this setPos [7730.731, 12582.142, -2.2888184e-005]; +}; + +_vehicle_3238 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7713.7119, 12595.712, 5.3405762e-005]; + _vehicle_3238 = _this; + _this setDir -33.716564; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7713.7119, 12595.712, 5.3405762e-005]; +}; + +_vehicle_3241 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7683.3022, 12523.707, 0.063509457]; + _vehicle_3241 = _this; + _this setDir -68.062004; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7683.3022, 12523.707, 0.063509457]; +}; + +_vehicle_3243 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7681.1528, 12518.295, 0.32377225]; + _vehicle_3243 = _this; + _this setDir -68.062004; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7681.1528, 12518.295, 0.32377225]; +}; + +_vehicle_3245 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7678.9429, 12512.729, 0.56284893]; + _vehicle_3245 = _this; + _this setDir -68.312981; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7678.9429, 12512.729, 0.56284893]; +}; + +_vehicle_3254 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4" createVehicle [7678.5972, 12498.443, 0.43101427]; + _vehicle_3254 = _this; + _this setDir 199.51678; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7678.5972, 12498.443, 0.43101427]; +}; + +_vehicle_3257 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_Pole" createVehicle [7710.0029, 12592.348, -3.0517578e-005]; + _vehicle_3257 = _this; + _this setDir 28.464458; + _this setPos [7710.0029, 12592.348, -3.0517578e-005]; +}; + +_vehicle_3259 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_Pole" createVehicle [7693.7144, 12493.223, 0.00019073486]; + _vehicle_3259 = _this; + _this setDir 18.083979; + _this setPos [7693.7144, 12493.223, 0.00019073486]; +}; + +_vehicle_3262 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7676.7632, 12507.205, 0.70251739]; + _vehicle_3262 = _this; + _this setDir -68.156609; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7676.7632, 12507.205, 0.70251739]; +}; + +_vehicle_3265 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_2" createVehicle [7675.7144, 12504.048, 0.17813382]; + _vehicle_3265 = _this; + _this setDir -75.220985; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7675.7144, 12504.048, 0.17813382]; +}; + +_vehicle_3268 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_3" createVehicle [7675.5029, 12501.442, 0.00018310547]; + _vehicle_3268 = _this; + _this setDir -78.054497; + _this setPos [7675.5029, 12501.442, 0.00018310547]; +}; + +_vehicle_3271 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_Pole" createVehicle [7674.7954, 12499.78, 0.31374401]; + _vehicle_3271 = _this; + _this setDir 22.770645; + _this setPos [7674.7954, 12499.78, 0.31374401]; +}; + +_vehicle_3273 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7775.0093, 12552.913, 6.1035156e-005]; + _vehicle_3273 = _this; + _this setDir -12.757367; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7775.0093, 12552.913, 6.1035156e-005]; +}; + +_vehicle_3276 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7828.8638, 12569.324, 0.0001449585]; + _vehicle_3276 = _this; + _this setDir -9.0099821; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7828.8638, 12569.324, 0.0001449585]; +}; + +_vehicle_3279 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7804.6582, 12654.191, 0.43110442]; + _vehicle_3279 = _this; + _this setDir -16.062721; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7804.6582, 12654.191, 0.43110442]; +}; + +_vehicle_3281 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7883.1304, 12663.501, 0.23480181]; + _vehicle_3281 = _this; + _this setDir 67.869278; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7883.1304, 12663.501, 0.23480181]; +}; + +_vehicle_3283 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7904.8823, 12650.732, 6.1035156e-005]; + _vehicle_3283 = _this; + _this setDir -2.6829262; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7904.8823, 12650.732, 6.1035156e-005]; +}; + +_vehicle_3285 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7921.6479, 12641.445, 1.5258789e-005]; + _vehicle_3285 = _this; + _this setDir -97.977661; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7921.6479, 12641.445, 1.5258789e-005]; +}; + +_vehicle_3287 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7929.2993, 12600.905, 1.5258789e-005]; + _vehicle_3287 = _this; + _this setDir -102.66679; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7929.2993, 12600.905, 1.5258789e-005]; +}; + +_vehicle_3289 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7921.7261, 12590.457, 3.0517578e-005]; + _vehicle_3289 = _this; + _this setDir -16.533419; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7921.7261, 12590.457, 3.0517578e-005]; +}; + +_vehicle_3291 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7881.0518, 12579.889, 0.098541617]; + _vehicle_3291 = _this; + _this setDir -8.2958708; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7881.0518, 12579.889, 0.098541617]; +}; + +_vehicle_3294 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_2" createVehicle [7869.4355, 12577.435, 3.8146973e-005]; + _vehicle_3294 = _this; + _this setDir -11.19252; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7869.4355, 12577.435, 3.8146973e-005]; +}; + +_vehicle_3298 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_3" createVehicle [7876.0879, 12579.213, 5.3405762e-005]; + _vehicle_3298 = _this; + _this setDir -16.845036; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7876.0879, 12579.213, 5.3405762e-005]; +}; + +_vehicle_3299 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_Pole" createVehicle [7874.3438, 12578.724, -0.042869568]; + _vehicle_3299 = _this; + _this setDir -5.8251467; + _this setVehicleInit "this setVectorUp [1,1,0];"; + _this setPos [7874.3438, 12578.724, -0.042869568]; +}; + +_vehicle_3303 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_3" createVehicle [7872.5093, 12578.586, 0.00022125244]; + _vehicle_3303 = _this; + _this setDir 177.78392; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7872.5093, 12578.586, 0.00022125244]; +}; + +_vehicle_3306 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_3" createVehicle [7877.4063, 12579.306, 0.00012969971]; + _vehicle_3306 = _this; + _this setDir 169.91122; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7877.4063, 12579.306, 0.00012969971]; +}; + +_vehicle_3309 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_Pole" createVehicle [7850.2612, 12573.518, 0.00010681152]; + _vehicle_3309 = _this; + _this setDir -9.6555786; + _this setPos [7850.2612, 12573.518, 0.00010681152]; +}; + +_vehicle_3312 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_3" createVehicle [7852.459, 12573.997, -0.00010681152]; + _vehicle_3312 = _this; + _this setDir 169.91122; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7852.459, 12573.997, -0.00010681152]; +}; + +_vehicle_3315 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_Pole" createVehicle [7880.8066, 12668.735, -5.3405762e-005]; + _vehicle_3315 = _this; + _this setDir -11.877622; + _this setVehicleInit "this setVectorUp [1,1,0];"; + _this setPos [7880.8066, 12668.735, -5.3405762e-005]; +}; + +_vehicle_3317 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_Pole" createVehicle [7879.251, 12671.934, 4.5776367e-005]; + _vehicle_3317 = _this; + _this setDir -5.8251467; + _this setVehicleInit "this setVectorUp [1,1,0];"; + _this setPos [7879.251, 12671.934, 4.5776367e-005]; +}; + +_vehicle_3320 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_3" createVehicle [7881.4248, 12666.988, 7.6293945e-006]; + _vehicle_3320 = _this; + _this setDir 73.51503; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7881.4248, 12666.988, 7.6293945e-006]; +}; + +_vehicle_3323 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_3" createVehicle [7879.9277, 12670.18, 2.2888184e-005]; + _vehicle_3323 = _this; + _this setDir 68.191025; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7879.9277, 12670.18, 2.2888184e-005]; +}; + +_vehicle_3327 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_Pole" createVehicle [7774.0859, 12637.081, 3.8146973e-005]; + _vehicle_3327 = _this; + _this setDir -37.830696; + _this setVehicleInit "this setVectorUp [1,1,0];"; + _this setPos [7774.0859, 12637.081, 3.8146973e-005]; +}; + +_vehicle_3328 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_3" createVehicle [7773.8022, 12635.552, -0.075187683]; + _vehicle_3328 = _this; + _this setDir 127.62495; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7773.8022, 12635.552, -0.075187683]; +}; + +_vehicle_3332 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_Pole" createVehicle [7770.9243, 12634.457, 7.6293945e-006]; + _vehicle_3332 = _this; + _this setDir -37.830696; + _this setVehicleInit "this setVectorUp [1,1,0];"; + _this setPos [7770.9243, 12634.457, 7.6293945e-006]; +}; + +_vehicle_3335 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_3" createVehicle [7774.2578, 12636.867, 1.5258789e-005]; + _vehicle_3335 = _this; + _this setDir 318.07513; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7774.2578, 12636.867, 1.5258789e-005]; +}; + +_vehicle_3338 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_3" createVehicle [7772.3154, 12635.726, -1.5258789e-005]; + _vehicle_3338 = _this; + _this setDir 318.07513; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7772.3154, 12635.726, -1.5258789e-005]; +}; + +_vehicle_3341 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_End_3" createVehicle [7711.2363, 12593.675, 3.8146973e-005]; + _vehicle_3341 = _this; + _this setDir 308.71304; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7711.2363, 12593.675, 3.8146973e-005]; +}; + +_vehicle_3344 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7699.4878, 12567.283, 7.6293945e-006]; + _vehicle_3344 = _this; + _this setDir -69.504143; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7699.4878, 12567.283, 7.6293945e-006]; +}; + +_vehicle_3347 = objNull; +if (true) then +{ + _this = "MAP_t_picea1s" createVehicle [7687.5742, 12613.419, -7.6293945e-006]; + _vehicle_3347 = _this; + _this setDir -4.9652934; + _this setPos [7687.5742, 12613.419, -7.6293945e-006]; +}; + +_vehicle_3349 = objNull; +if (true) then +{ + _this = "MAP_t_picea1s" createVehicle [7696.2666, 12675.953, -5.3405762e-005]; + _vehicle_3349 = _this; + _this setDir -4.9652934; + _this setPos [7696.2666, 12675.953, -5.3405762e-005]; +}; + +_vehicle_3351 = objNull; +if (true) then +{ + _this = "MAP_t_picea1s" createVehicle [7671.8506, 12685.063, -0.00018310547]; + _vehicle_3351 = _this; + _this setDir -4.9652934; + _this setPos [7671.8506, 12685.063, -0.00018310547]; +}; + +_vehicle_3353 = objNull; +if (true) then +{ + _this = "MAP_t_picea1s" createVehicle [7719.8081, 12693.51, 1.5258789e-005]; + _vehicle_3353 = _this; + _this setDir -4.9652934; + _this setPos [7719.8081, 12693.51, 1.5258789e-005]; +}; + +_vehicle_3355 = objNull; +if (true) then +{ + _this = "MAP_t_picea1s" createVehicle [7687.6631, 12673.383, 9.1552734e-005]; + _vehicle_3355 = _this; + _this setDir -4.9652934; + _this setPos [7687.6631, 12673.383, 9.1552734e-005]; +}; + +_vehicle_3357 = objNull; +if (true) then +{ + _this = "MAP_t_picea1s" createVehicle [7687.1963, 12637.019]; + _vehicle_3357 = _this; + _this setDir -4.9652934; + _this setPos [7687.1963, 12637.019]; +}; + +_vehicle_3360 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndCnc_4_D" createVehicle [7715.7471, 12620.471, 9.9182129e-005]; + _vehicle_3360 = _this; + _this setDir -122.20431; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7715.7471, 12620.471, 9.9182129e-005]; +}; + +_vehicle_3363 = objNull; +if (true) then +{ + _this = "MAP_garbage_paleta" createVehicle [7825.1743, 12639.88, 0.023668554]; + _vehicle_3363 = _this; + _this setDir 48.730839; + _this setPos [7825.1743, 12639.88, 0.023668554]; +}; + +_vehicle_3369 = objNull; +if (true) then +{ + _this = "SKODAWreck" createVehicle [7824.6357, 12636.652, -2.2888184e-005]; + _vehicle_3369 = _this; + _this setDir 160.88672; + _this setPos [7824.6357, 12636.652, -2.2888184e-005]; +}; + +_vehicle_3372 = objNull; +if (true) then +{ + _this = "Park_bench1" createVehicle [7790.9272, 12577.936, -0.040685773]; + _vehicle_3372 = _this; + _this setDir 70.428314; + _this setPos [7790.9272, 12577.936, -0.040685773]; +}; + +_vehicle_3374 = objNull; +if (true) then +{ + _this = "Park_bench1" createVehicle [7850.689, 12673.545, -2.2888184e-005]; + _vehicle_3374 = _this; + _this setDir -4.6770239; + _this setPos [7850.689, 12673.545, -2.2888184e-005]; +}; + +_vehicle_3377 = objNull; +if (true) then +{ + _this = "MAP_Kontejner" createVehicle [7860.0698, 12670.504, 7.6293945e-006]; + _vehicle_3377 = _this; + _this setDir -8.4194508; + _this setPos [7860.0698, 12670.504, 7.6293945e-006]; +}; + +_vehicle_3380 = objNull; +if (true) then +{ + _this = "MAP_paletyC" createVehicle [7843.272, 12667.403, 2.2888184e-005]; + _vehicle_3380 = _this; + _this setDir 107.43632; + _this setPos [7843.272, 12667.403, 2.2888184e-005]; +}; + +_vehicle_3383 = objNull; +if (true) then +{ + _this = "MAP_garbage_paleta" createVehicle [7843.666, 12664.731, 7.6293945e-006]; + _vehicle_3383 = _this; + _this setDir -7.8187428; + _this setPos [7843.666, 12664.731, 7.6293945e-006]; +}; + +_vehicle_3386 = objNull; +if (true) then +{ + _this = "Land_Chair_EP1" createVehicle [7851.5146, 12667.262, -7.6293945e-006]; + _vehicle_3386 = _this; + _this setPos [7851.5146, 12667.262, -7.6293945e-006]; +}; + +_vehicle_3388 = objNull; +if (true) then +{ + _this = "Land_Chair_EP1" createVehicle [7853.0234, 12667.976, -1.5258789e-005]; + _vehicle_3388 = _this; + _this setDir 95.150948; + _this setPos [7853.0234, 12667.976, -1.5258789e-005]; +}; + +_vehicle_3391 = objNull; +if (true) then +{ + _this = "Misc_concrete_High" createVehicle [7875.1362, 12656.505, -2.2888184e-005]; + _vehicle_3391 = _this; + _this setDir 141.53357; + _this setPos [7875.1362, 12656.505, -2.2888184e-005]; +}; + +_vehicle_3393 = objNull; +if (true) then +{ + _this = "Misc_concrete_High" createVehicle [7870.8428, 12661.853, 2.2888184e-005]; + _vehicle_3393 = _this; + _this setDir 20.668053; + _this setPos [7870.8428, 12661.853, 2.2888184e-005]; +}; + +_vehicle_3396 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7815.6128, 12659.087, -7.6293945e-005]; + _vehicle_3396 = _this; + _this setDir 41.869556; + _this setPos [7815.6128, 12659.087, -7.6293945e-005]; +}; + +_vehicle_3398 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7757.667, 12652.342, 3.0517578e-005]; + _vehicle_3398 = _this; + _this setDir 41.869556; + _this setPos [7757.667, 12652.342, 3.0517578e-005]; +}; + +_vehicle_3400 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7735.9771, 12683.471, -9.1552734e-005]; + _vehicle_3400 = _this; + _this setDir 41.869556; + _this setPos [7735.9771, 12683.471, -9.1552734e-005]; +}; + +_vehicle_3402 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7714.7217, 12671.391, -3.0517578e-005]; + _vehicle_3402 = _this; + _this setDir 41.869556; + _this setPos [7714.7217, 12671.391, -3.0517578e-005]; +}; + +_vehicle_3404 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7703.877, 12643.557, -7.6293945e-006]; + _vehicle_3404 = _this; + _this setDir 41.869556; + _this setPos [7703.877, 12643.557, -7.6293945e-006]; +}; + +_vehicle_3406 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7711.9375, 12596.388, 7.6293945e-005]; + _vehicle_3406 = _this; + _this setDir 41.869556; + _this setPos [7711.9375, 12596.388, 7.6293945e-005]; +}; + +_vehicle_3409 = objNull; +if (true) then +{ + _this = "MAP_b_corylus" createVehicle [7849.5859, 12677.765, 7.6293945e-005]; + _vehicle_3409 = _this; + _this setDir 16.278889; + _this setPos [7849.5859, 12677.765, 7.6293945e-005]; +}; + +_vehicle_3411 = objNull; +if (true) then +{ + _this = "MAP_b_corylus" createVehicle [7863.8018, 12665.798, 3.0517578e-005]; + _vehicle_3411 = _this; + _this setDir 16.278889; + _this setPos [7863.8018, 12665.798, 3.0517578e-005]; +}; + +_vehicle_3413 = objNull; +if (true) then +{ + _this = "MAP_b_corylus" createVehicle [7880.6128, 12649.854, 1.5258789e-005]; + _vehicle_3413 = _this; + _this setDir 16.278889; + _this setPos [7880.6128, 12649.854, 1.5258789e-005]; +}; + +_vehicle_3416 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7880.0132, 12647.433, 4.5776367e-005]; + _vehicle_3416 = _this; + _this setDir 41.869556; + _this setPos [7880.0132, 12647.433, 4.5776367e-005]; +}; + +_vehicle_3418 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7879.3931, 12651.148, 0.0001373291]; + _vehicle_3418 = _this; + _this setDir 41.869556; + _this setPos [7879.3931, 12651.148, 0.0001373291]; +}; + +_vehicle_3427 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7750.354, 12530.602, -0.26349542]; + _vehicle_3427 = _this; + _this setDir -231.90158; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7750.354, 12530.602, -0.26349542]; +}; + +_vehicle_3430 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7765.0024, 12541.633, 0.0001449585]; + _vehicle_3430 = _this; + _this setDir -194.98007; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7765.0024, 12541.633, 0.0001449585]; +}; + +_vehicle_3433 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7773.6895, 12543.951, 9.1552734e-005]; + _vehicle_3433 = _this; + _this setDir -194.98007; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7773.6895, 12543.951, 9.1552734e-005]; +}; + +_vehicle_3435 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7782.3369, 12546.228]; + _vehicle_3435 = _this; + _this setDir -194.98007; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7782.3369, 12546.228]; +}; + +_vehicle_3439 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7797.4351, 12551.152, -3.8146973e-005]; + _vehicle_3439 = _this; + _this setDir -196.01526; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7797.4351, 12551.152, -3.8146973e-005]; +}; + +_vehicle_3441 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7808.938, 12553.894, 8.392334e-005]; + _vehicle_3441 = _this; + _this setDir -190.84889; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7808.938, 12553.894, 8.392334e-005]; +}; + +_vehicle_3449 = objNull; +if (true) then +{ + _this = "MAP_CncBlock" createVehicle [7918.1958, 12637.156]; + _vehicle_3449 = _this; + _this setDir -93.736725; + _this setPos [7918.1958, 12637.156]; +}; + +_vehicle_3453 = objNull; +if (true) then +{ + _this = "MAP_CncBlock" createVehicle [7918.4067, 12634.313, -7.6293945e-006]; + _vehicle_3453 = _this; + _this setDir -93.736725; + _this setPos [7918.4067, 12634.313, -7.6293945e-006]; +}; + +_vehicle_3456 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7869.0654, 12625.33, 4.5776367e-005]; + _vehicle_3456 = _this; + _this setDir 41.869556; + _this setPos [7869.0654, 12625.33, 4.5776367e-005]; +}; + +_vehicle_3459 = objNull; +if (true) then +{ + _this = "MAP_vez" createVehicle [7696.9199, 12559.537, -2.2888184e-005]; + _vehicle_3459 = _this; + _this setDir -73.749771; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7696.9199, 12559.537, -2.2888184e-005]; +}; + +_vehicle_3461 = objNull; +if (true) then +{ + _this = "MAP_vez" createVehicle [7728.1592, 12520.459, 3.8146973e-005]; + _vehicle_3461 = _this; + _this setDir 131.5825; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7728.1592, 12520.459, 3.8146973e-005]; +}; + +_vehicle_3463 = objNull; +if (true) then +{ + _this = "MAP_vez" createVehicle [7784.6045, 12555.271, 6.1035156e-005]; + _vehicle_3463 = _this; + _this setDir -198.33414; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7784.6045, 12555.271, 6.1035156e-005]; +}; + +_vehicle_3465 = objNull; +if (true) then +{ + _this = "MAP_vez" createVehicle [7860.542, 12575.177, 0.00016021729]; + _vehicle_3465 = _this; + _this setDir -187.83096; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7860.542, 12575.177, 0.00016021729]; +}; + +_vehicle_3467 = objNull; +if (true) then +{ + _this = "MAP_vez" createVehicle [7917.9106, 12652.888, 2.2888184e-005]; + _vehicle_3467 = _this; + _this setDir 34.198452; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7917.9106, 12652.888, 2.2888184e-005]; +}; + +_vehicle_3469 = objNull; +if (true) then +{ + _this = "MAP_vez" createVehicle [7932.2051, 12596.282, 9.1552734e-005]; + _vehicle_3469 = _this; + _this setDir 112.35009; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7932.2051, 12596.282, 9.1552734e-005]; +}; + +_vehicle_3471 = objNull; +if (true) then +{ + _this = "MAP_vez" createVehicle [7847.9741, 12682.687, 2.2888184e-005]; + _vehicle_3471 = _this; + _this setDir -7.2314796; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7847.9741, 12682.687, 2.2888184e-005]; +}; + +_vehicle_3473 = objNull; +if (true) then +{ + _this = "MAP_vez" createVehicle [7803.2559, 12653.333, -5.3405762e-005]; + _vehicle_3473 = _this; + _this setDir -17.094494; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7803.2559, 12653.333, -5.3405762e-005]; +}; + +_vehicle_3476 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7635.4204, 12554.7, 5.3405762e-005]; + _vehicle_3476 = _this; + _this setDir 58.261475; + _this setPos [7635.4204, 12554.7, 5.3405762e-005]; +}; + +_vehicle_3478 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7630.3857, 12564.393, 7.6293945e-005]; + _vehicle_3478 = _this; + _this setDir 58.261475; + _this setPos [7630.3857, 12564.393, 7.6293945e-005]; +}; + +_vehicle_3480 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7626.687, 12574.174, 0.00012207031]; + _vehicle_3480 = _this; + _this setDir 58.261475; + _this setPos [7626.687, 12574.174, 0.00012207031]; +}; + +_vehicle_3482 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7615.2529, 12558.074, 0.00011444092]; + _vehicle_3482 = _this; + _this setDir 58.261475; + _this setPos [7615.2529, 12558.074, 0.00011444092]; +}; + +_vehicle_3484 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7589.7627, 12607.56, 4.5776367e-005]; + _vehicle_3484 = _this; + _this setDir 58.261475; + _this setPos [7589.7627, 12607.56, 4.5776367e-005]; +}; + +_vehicle_3486 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7601.6611, 12625.639, 1.5258789e-005]; + _vehicle_3486 = _this; + _this setDir 58.261475; + _this setPos [7601.6611, 12625.639, 1.5258789e-005]; +}; + +_vehicle_3488 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7592.4956, 12629.593, 6.8664551e-005]; + _vehicle_3488 = _this; + _this setDir 58.261475; + _this setPos [7592.4956, 12629.593, 6.8664551e-005]; +}; + +_vehicle_3490 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7581.3525, 12624.001, 1.5258789e-005]; + _vehicle_3490 = _this; + _this setDir 58.261475; + _this setPos [7581.3525, 12624.001, 1.5258789e-005]; +}; + +_vehicle_3492 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7568.6475, 12554.68, 1.5258789e-005]; + _vehicle_3492 = _this; + _this setDir 58.261475; + _this setPos [7568.6475, 12554.68, 1.5258789e-005]; +}; + +_vehicle_3494 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7561.8696, 12565.086, 3.8146973e-005]; + _vehicle_3494 = _this; + _this setDir 58.261475; + _this setPos [7561.8696, 12565.086, 3.8146973e-005]; +}; + +_vehicle_3496 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7558.2539, 12556.716, 0.00018310547]; + _vehicle_3496 = _this; + _this setDir 58.261475; + _this setPos [7558.2539, 12556.716, 0.00018310547]; +}; + +_vehicle_3499 = objNull; +if (true) then +{ + _this = "MAP_t_picea1s" createVehicle [7642.6465, 12621.509, -3.0517578e-005]; + _vehicle_3499 = _this; + _this setDir -4.9652934; + _this setPos [7642.6465, 12621.509, -3.0517578e-005]; +}; + +_vehicle_3501 = objNull; +if (true) then +{ + _this = "MAP_t_picea1s" createVehicle [7632.4028, 12572.5, 2.2888184e-005]; + _vehicle_3501 = _this; + _this setDir -4.9652934; + _this setPos [7632.4028, 12572.5, 2.2888184e-005]; +}; + +_vehicle_3503 = objNull; +if (true) then +{ + _this = "MAP_t_picea1s" createVehicle [7607.3389, 12620.054, -9.1552734e-005]; + _vehicle_3503 = _this; + _this setDir -4.9652934; + _this setPos [7607.3389, 12620.054, -9.1552734e-005]; +}; + +_vehicle_3505 = objNull; +if (true) then +{ + _this = "MAP_t_picea1s" createVehicle [7610.2139, 12609.206, 4.5776367e-005]; + _vehicle_3505 = _this; + _this setDir -4.9652934; + _this setPos [7610.2139, 12609.206, 4.5776367e-005]; +}; + +_vehicle_3508 = objNull; +if (true) then +{ + _this = "Pile_of_wood" createVehicle [7808.8906, 12575.16, 0.00019073486]; + _vehicle_3508 = _this; + _this setDir 430.78894; + _this setPos [7808.8906, 12575.16, 0.00019073486]; +}; + +_vehicle_3510 = objNull; +if (true) then +{ + _this = "Pile_of_wood" createVehicle [7873.2017, 12594.613, 0.00020599365]; + _vehicle_3510 = _this; + _this setDir 346.4054; + _this setPos [7873.2017, 12594.613, 0.00020599365]; +}; + +_vehicle_3513 = objNull; +if (true) then +{ + _this = "Land_Chair_EP1" createVehicle [7761.7554, 12597.08, 3.0517578e-005]; + _vehicle_3513 = _this; + _this setDir -59.887779; + _this setPos [7761.7554, 12597.08, 3.0517578e-005]; +}; + +_vehicle_3515 = objNull; +if (true) then +{ + _this = "Land_Chair_EP1" createVehicle [7855.0962, 12589.014, 1.5258789e-005]; + _vehicle_3515 = _this; + _this setDir -187.77448; + _this setPos [7855.0962, 12589.014, 1.5258789e-005]; +}; + +_vehicle_3517 = objNull; +if (true) then +{ + _this = "Land_Chair_EP1" createVehicle [7853.3965, 12588.111, 3.0517578e-005]; + _vehicle_3517 = _this; + _this setDir -102.72573; + _this setPos [7853.3965, 12588.111, 3.0517578e-005]; +}; + +_vehicle_3520 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_3_D" createVehicle [7800.2422, 12552.025, 7.6293945e-006]; + _vehicle_3520 = _this; + _this setDir 161.6131; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7800.2422, 12552.025, 7.6293945e-006]; +}; + +_vehicle_3523 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7817.7192, 12555.568, 4.5776367e-005]; + _vehicle_3523 = _this; + _this setDir -190.84889; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7817.7192, 12555.568, 4.5776367e-005]; +}; + +_vehicle_3527 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7826.4404, 12557.247, 9.1552734e-005]; + _vehicle_3527 = _this; + _this setDir -190.84889; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7826.4404, 12557.247, 9.1552734e-005]; +}; + +_vehicle_3532 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7843.8813, 12560.556, 7.6293945e-006]; + _vehicle_3532 = _this; + _this setDir -190.84889; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7843.8813, 12560.556, 7.6293945e-006]; +}; + +_vehicle_3534 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7852.5923, 12562.2, 7.6293945e-005]; + _vehicle_3534 = _this; + _this setDir -190.84889; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7852.5923, 12562.2, 7.6293945e-005]; +}; + +_vehicle_3536 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7861.3203, 12563.857, 5.3405762e-005]; + _vehicle_3536 = _this; + _this setDir -190.84889; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7861.3203, 12563.857, 5.3405762e-005]; +}; + +_vehicle_3538 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7870.0376, 12565.476, 3.0517578e-005]; + _vehicle_3538 = _this; + _this setDir -190.84889; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7870.0376, 12565.476, 3.0517578e-005]; +}; + +_vehicle_3541 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7878.7002, 12567.382, -0.10870387]; + _vehicle_3541 = _this; + _this setDir -194.2381; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7878.7002, 12567.382, -0.10870387]; +}; + +_vehicle_3544 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7829.4023, 12648.106, 6.1035156e-005]; + _vehicle_3544 = _this; + _this setDir 43.023148; + _this setPos [7829.4023, 12648.106, 6.1035156e-005]; +}; + +_vehicle_3546 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [7836.9497, 12650.66, -7.6293945e-006]; + _vehicle_3546 = _this; + _this setDir 43.023148; + _this setPos [7836.9497, 12650.66, -7.6293945e-006]; +}; + +_vehicle_3549 = objNull; +if (true) then +{ + _this = "MAP_t_betula2w" createVehicle [7832.8066, 12649.644]; + _vehicle_3549 = _this; + _this setDir 102.25393; + _this setPos [7832.8066, 12649.644]; +}; + +_vehicle_3550 = objNull; +if (true) then +{ + _this = "Land_Misc_deerstand" createVehicle [7612.5811, 12159.192, 0.78900099]; + _vehicle_3550 = _this; + _this setDir 197.37183; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [7612.5811, 12159.192, 0.78900099]; +}; + +_vehicle_3554 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7898.6812, 12571.969, 6.8664551e-005]; + _vehicle_3554 = _this; + _this setDir -191.04311; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7898.6812, 12571.969, 6.8664551e-005]; +}; + +_vehicle_3556 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7907.1528, 12573.562, 9.1552734e-005]; + _vehicle_3556 = _this; + _this setDir -190.84889; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7907.1528, 12573.562, 9.1552734e-005]; +}; + +_vehicle_3558 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7918.853, 12576.157, 0.059340518]; + _vehicle_3558 = _this; + _this setDir -190.84889; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7918.853, 12576.157, 0.059340518]; +}; + +_vehicle_3560 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7927.6113, 12577.684, -0.058003716]; + _vehicle_3560 = _this; + _this setDir -189.07741; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7927.6113, 12577.684, -0.058003716]; +}; + +_vehicle_3562 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7936.4082, 12579.176, -0.28788462]; + _vehicle_3562 = _this; + _this setDir -189.83501; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7936.4082, 12579.176, -0.28788462]; +}; + +_vehicle_3566 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7941.5527, 12588.576, -0.05608245]; + _vehicle_3566 = _this; + _this setDir -280.71292; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7941.5527, 12588.576, -0.05608245]; +}; + +_vehicle_3572 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_3_D" createVehicle [7835.1636, 12558.864, 7.6293945e-005]; + _vehicle_3572 = _this; + _this setDir 169.15225; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7835.1636, 12558.864, 7.6293945e-005]; +}; + +_vehicle_3575 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7757.7329, 12539.644, 6.1035156e-005]; + _vehicle_3575 = _this; + _this setDir 164.48991; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7757.7329, 12539.644, 6.1035156e-005]; +}; + +_vehicle_3578 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7753.0132, 12534.382, -0.29692084]; + _vehicle_3578 = _this; + _this setDir 114.88708; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7753.0132, 12534.382, -0.29692084]; +}; + +_vehicle_3580 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7790.2749, 12549.117]; + _vehicle_3580 = _this; + _this setDir 164.48991; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7790.2749, 12549.117]; +}; + +_vehicle_3582 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7786.7734, 12547.655, 5.3405762e-005]; + _vehicle_3582 = _this; + _this setDir 157.5959; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7786.7734, 12547.655, 5.3405762e-005]; +}; + +_vehicle_3585 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7830.0254, 12557.875, 7.6293945e-005]; + _vehicle_3585 = _this; + _this setDir 157.5959; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7830.0254, 12557.875, 7.6293945e-005]; +}; + +_vehicle_3587 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7833.6489, 12558.597, 2.2888184e-005]; + _vehicle_3587 = _this; + _this setDir 157.5959; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7833.6489, 12558.597, 2.2888184e-005]; +}; + +_vehicle_3589 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7883.8467, 12568.244, 0.00011444092]; + _vehicle_3589 = _this; + _this setDir 170.67369; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7883.8467, 12568.244, 0.00011444092]; +}; + +_vehicle_3592 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_3_D" createVehicle [7889.9209, 12570.269, 0.071947746]; + _vehicle_3592 = _this; + _this setDir 169.15225; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7889.9209, 12570.269, 0.071947746]; +}; + +_vehicle_3595 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7888.3931, 12569.974, -7.6293945e-006]; + _vehicle_3595 = _this; + _this setDir 165.55768; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7888.3931, 12569.974, -7.6293945e-006]; +}; + +_vehicle_3597 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7911.4673, 12574.765, 9.1552734e-005]; + _vehicle_3597 = _this; + _this setDir 160.05223; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7911.4673, 12574.765, 9.1552734e-005]; +}; + +_vehicle_3599 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7940.5278, 12580.279, -0.18834148]; + _vehicle_3599 = _this; + _this setDir 165.026; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7940.5278, 12580.279, -0.18834148]; +}; + +_vehicle_3602 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_3_D" createVehicle [7941.8813, 12580.862, 0.22457542]; + _vehicle_3602 = _this; + _this setDir 155.68962; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7941.8813, 12580.862, 0.22457542]; +}; + +_vehicle_3605 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7754.8975, 12537.334, 8.392334e-005]; + _vehicle_3605 = _this; + _this setDir 125.70568; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7754.8975, 12537.334, 8.392334e-005]; +}; + +_vehicle_3608 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7939.6157, 12600.632, -0.14459565]; + _vehicle_3608 = _this; + _this setDir -280.71292; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7939.6157, 12600.632, -0.14459565]; +}; + +_vehicle_3611 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7940.9541, 12593.282, -0.085611328]; + _vehicle_3611 = _this; + _this setDir 76.927849; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7940.9541, 12593.282, -0.085611328]; +}; + +_vehicle_3614 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7936.8413, 12616.052, 8.392334e-005]; + _vehicle_3614 = _this; + _this setDir -278.80399; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7936.8413, 12616.052, 8.392334e-005]; +}; + +_vehicle_3617 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7935.6973, 12624.903, -0.11276236]; + _vehicle_3617 = _this; + _this setDir -278.80399; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7935.6973, 12624.903, -0.11276236]; +}; + +_vehicle_3620 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7933.9863, 12637.072]; + _vehicle_3620 = _this; + _this setDir -278.80399; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7933.9863, 12637.072]; +}; + +_vehicle_3623 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7932.5918, 12645.894, 0.09865436]; + _vehicle_3623 = _this; + _this setDir -278.80399; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7932.5918, 12645.894, 0.09865436]; +}; + +_vehicle_3626 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7930.6602, 12657.835, -0.00011444092]; + _vehicle_3626 = _this; + _this setDir -278.80399; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7930.6602, 12657.835, -0.00011444092]; +}; + +_vehicle_3629 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_3_D" createVehicle [7939.1187, 12603.5, 4.5776367e-005]; + _vehicle_3629 = _this; + _this setDir 74.251991; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7939.1187, 12603.5, 4.5776367e-005]; +}; + +_vehicle_3632 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7938.0171, 12608.755, 3.0517578e-005]; + _vehicle_3632 = _this; + _this setDir 75.935005; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7938.0171, 12608.755, 3.0517578e-005]; +}; + +_vehicle_3634 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7935.1255, 12629.682, 8.392334e-005]; + _vehicle_3634 = _this; + _this setDir 83.045418; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7935.1255, 12629.682, 8.392334e-005]; +}; + +_vehicle_3636 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7932.0264, 12650.381, -4.5776367e-005]; + _vehicle_3636 = _this; + _this setDir 90.130608; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7932.0264, 12650.381, -4.5776367e-005]; +}; + +_vehicle_3639 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7928.7988, 12669.413, 0.17254101]; + _vehicle_3639 = _this; + _this setDir -276.18494; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7928.7988, 12669.413, 0.17254101]; +}; + +_vehicle_3642 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7929.7754, 12661.957, 0.037623398]; + _vehicle_3642 = _this; + _this setDir 90.130608; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7929.7754, 12661.957, 0.037623398]; +}; + +_vehicle_3645 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7921.231, 12669.913, 0.19976065]; + _vehicle_3645 = _this; + _this setDir -366.39554; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7921.231, 12669.913, 0.19976065]; +}; + +_vehicle_3648 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7912.5381, 12668.906, -0.00010681152]; + _vehicle_3648 = _this; + _this setDir -366.39554; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7912.5381, 12668.906, -0.00010681152]; +}; + +_vehicle_3651 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7903.71, 12667.912, -1.5258789e-005]; + _vehicle_3651 = _this; + _this setDir -366.39554; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7903.71, 12667.912, -1.5258789e-005]; +}; + +_vehicle_3654 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7894.896, 12666.874, -3.0517578e-005]; + _vehicle_3654 = _this; + _this setDir -366.39554; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7894.896, 12666.874, -3.0517578e-005]; +}; + +_vehicle_3657 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7891.8975, 12673.918, 0.054757368]; + _vehicle_3657 = _this; + _this setDir -281.36374; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7891.8975, 12673.918, 0.054757368]; +}; + +_vehicle_3660 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7886.0503, 12680.339, 0.39403251]; + _vehicle_3660 = _this; + _this setDir -317.40268; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7886.0503, 12680.339, 0.39403251]; +}; + +_vehicle_3663 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7874.3066, 12689.733, 0.041069835]; + _vehicle_3663 = _this; + _this setDir -317.40268; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7874.3066, 12689.733, 0.041069835]; +}; + +_vehicle_3666 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_3_D" createVehicle [7881.0425, 12683.956, -0.089835726]; + _vehicle_3666 = _this; + _this setDir 32.931194; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7881.0425, 12683.956, -0.089835726]; +}; + +_vehicle_3669 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7867.8188, 12695.954, 0.49989811]; + _vehicle_3669 = _this; + _this setDir -315.96619; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7867.8188, 12695.954, 0.49989811]; +}; + +_vehicle_3672 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7882.374, 12682.999, 0.32489157]; + _vehicle_3672 = _this; + _this setDir 36.549068; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7882.374, 12682.999, 0.32489157]; +}; + +_vehicle_3675 = objNull; +if (true) then +{ + _this = "MAP_Wall_Stone" createVehicle [7515.3779, 12288.584, 0.00030517578]; + _vehicle_3675 = _this; + _this setDir 83.419479; + _this setPos [7515.3779, 12288.584, 0.00030517578]; +}; + +_vehicle_3677 = objNull; +if (true) then +{ + _this = "MAP_Wall_Stone" createVehicle [7518.5801, 12251.837, 0.0001373291]; + _vehicle_3677 = _this; + _this setDir 95.108383; + _this setPos [7518.5801, 12251.837, 0.0001373291]; +}; + +_vehicle_3679 = objNull; +if (true) then +{ + _this = "MAP_Wall_Stone" createVehicle [7519.666, 12259.382, 0.00019836426]; + _vehicle_3679 = _this; + _this setDir 96.025909; + _this setPos [7519.666, 12259.382, 0.00019836426]; +}; + +_vehicle_3681 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7852.8643, 12698.323, 0.094097026]; + _vehicle_3681 = _this; + _this setDir -376.17581; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7852.8643, 12698.323, 0.094097026]; +}; + +_vehicle_3685 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7844.417, 12695.81, 0.032060124]; + _vehicle_3685 = _this; + _this setDir -376.17581; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7844.417, 12695.81, 0.032060124]; +}; + +_vehicle_3687 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7835.8374, 12693.281, -0.00010681152]; + _vehicle_3687 = _this; + _this setDir -376.17581; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7835.8374, 12693.281, -0.00010681152]; +}; + +_vehicle_3689 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7832.4136, 12685.776, 0.058873706]; + _vehicle_3689 = _this; + _this setDir -433.74115; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7832.4136, 12685.776, 0.058873706]; +}; + +_vehicle_3691 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7821.1914, 12670.242, -2.2888184e-005]; + _vehicle_3691 = _this; + _this setDir -379.34442; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7821.1914, 12670.242, -2.2888184e-005]; +}; + +_vehicle_3694 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7945.4258, 12619.851, 4.5776367e-005]; + _vehicle_3694 = _this; + _this setDir 58.261475; + _this setPos [7945.4258, 12619.851, 4.5776367e-005]; +}; + +_vehicle_3696 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7945.9219, 12629.768, -7.6293945e-006]; + _vehicle_3696 = _this; + _this setDir 58.261475; + _this setPos [7945.9219, 12629.768, -7.6293945e-006]; +}; + +_vehicle_3698 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7944.4424, 12604.818, 0.00017547607]; + _vehicle_3698 = _this; + _this setDir 58.261475; + _this setPos [7944.4424, 12604.818, 0.00017547607]; +}; + +_vehicle_3700 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7988.0654, 12627.088, 0]; + _vehicle_3700 = _this; + _this setDir 58.261475; + _this setPos [7988.0654, 12627.088, 0]; +}; + +_vehicle_3702 = objNull; +if (true) then +{ + _this = "MAP_t_picea2s" createVehicle [7983.354, 12619.925, 1.5258789e-005]; + _vehicle_3702 = _this; + _this setDir 58.261475; + _this setPos [7983.354, 12619.925, 1.5258789e-005]; +}; + +_vehicle_3705 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7828.7407, 12674.177, 0.11104791]; + _vehicle_3705 = _this; + _this setDir -433.74115; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7828.7407, 12674.177, 0.11104791]; +}; + +_vehicle_3708 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7812.8335, 12667.224, -3.8146973e-005]; + _vehicle_3708 = _this; + _this setDir -379.34442; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7812.8335, 12667.224, -3.8146973e-005]; +}; + +_vehicle_3711 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7804.4321, 12664.15, -3.0517578e-005]; + _vehicle_3711 = _this; + _this setDir -379.34442; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7804.4321, 12664.15, -3.0517578e-005]; +}; + +_vehicle_3714 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7795.9932, 12661.12]; + _vehicle_3714 = _this; + _this setDir -379.34442; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7795.9932, 12661.12]; +}; + +_vehicle_3717 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7785.1274, 12656.686, -1.5258789e-005]; + _vehicle_3717 = _this; + _this setDir -379.34442; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7785.1274, 12656.686, -1.5258789e-005]; +}; + +_vehicle_3721 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_3_D" createVehicle [7831.3223, 12682.724, 0.27015206]; + _vehicle_3721 = _this; + _this setDir 289.21323; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7831.3223, 12682.724, 0.27015206]; +}; + +_vehicle_3723 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_3_D" createVehicle [7793.4043, 12659.935, 0.11463118]; + _vehicle_3723 = _this; + _this setDir 329.76712; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7793.4043, 12659.935, 0.11463118]; +}; + +_vehicle_3726 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7774.0967, 12651.105, -7.6293945e-006]; + _vehicle_3726 = _this; + _this setDir -390.63788; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7774.0967, 12651.105, -7.6293945e-006]; +}; + +_vehicle_3729 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7780.5903, 12654.931, -1.5258789e-005]; + _vehicle_3729 = _this; + _this setDir -28.487507; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7780.5903, 12654.931, -1.5258789e-005]; +}; + +_vehicle_3732 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7763.8101, 12654.082, 7.6293945e-006]; + _vehicle_3732 = _this; + _this setDir -298.59677; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7763.8101, 12654.082, 7.6293945e-006]; +}; + +_vehicle_3735 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7770.1182, 12649.017, -4.5776367e-005]; + _vehicle_3735 = _this; + _this setDir -28.487507; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7770.1182, 12649.017, -4.5776367e-005]; +}; + +_vehicle_3737 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7767.4136, 12647.56, 6.1035156e-005]; + _vehicle_3737 = _this; + _this setDir 58.466633; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7767.4136, 12647.56, 6.1035156e-005]; +}; + +_vehicle_3740 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7759.436, 12661.885, 0.22985847]; + _vehicle_3740 = _this; + _this setDir -298.59677; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7759.436, 12661.885, 0.22985847]; +}; + +_vehicle_3743 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7740.521, 12694.79, 0.15102395]; + _vehicle_3743 = _this; + _this setDir -298.59677; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7740.521, 12694.79, 0.15102395]; +}; + +_vehicle_3748 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7749.7056, 12680.121, 0.397219]; + _vehicle_3748 = _this; + _this setDir -298.59677; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7749.7056, 12680.121, 0.397219]; +}; + +_vehicle_3750 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7754.0308, 12672.51, 0.1227911]; + _vehicle_3750 = _this; + _this setDir -298.59677; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7754.0308, 12672.51, 0.1227911]; +}; + +_vehicle_3753 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7860.0112, 12700.52, 0.26131272]; + _vehicle_3753 = _this; + _this setDir -13.088957; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7860.0112, 12700.52, 0.26131272]; +}; + +_vehicle_3755 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7864.3965, 12700.982, 0.32672706]; + _vehicle_3755 = _this; + _this setDir 15.347591; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7864.3965, 12700.982, 0.32672706]; +}; + +_vehicle_3758 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7757.7549, 12665.895, 0.16840039]; + _vehicle_3758 = _this; + _this setDir 64.550453; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7757.7549, 12665.895, 0.16840039]; +}; + +_vehicle_3761 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7746.624, 12684.626, 0.20611048]; + _vehicle_3761 = _this; + _this setDir 55.571999; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7746.624, 12684.626, 0.20611048]; +}; + +_vehicle_3764 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7744.2021, 12688.232, -6.8664551e-005]; + _vehicle_3764 = _this; + _this setDir 64.550453; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7744.2021, 12688.232, -6.8664551e-005]; +}; + +_vehicle_3767 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7733.5059, 12691.933, 0.12631439]; + _vehicle_3767 = _this; + _this setDir -392.07358; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7733.5059, 12691.933, 0.12631439]; +}; + +_vehicle_3770 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7725.9746, 12687.176, 0.078332059]; + _vehicle_3770 = _this; + _this setDir -392.07358; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7725.9746, 12687.176, 0.078332059]; +}; + +_vehicle_3773 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7718.3472, 12682.502]; + _vehicle_3773 = _this; + _this setDir -390.39151; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7718.3472, 12682.502]; +}; + +_vehicle_3776 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7710.5122, 12678.08, -0.088133812]; + _vehicle_3776 = _this; + _this setDir -389.11398; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7710.5122, 12678.08, -0.088133812]; +}; + +_vehicle_3779 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7702.7109, 12673.727, 8.392334e-005]; + _vehicle_3779 = _this; + _this setDir -389.11398; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7702.7109, 12673.727, 8.392334e-005]; +}; + +_vehicle_3782 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7694.8672, 12669.219, -7.6293945e-005]; + _vehicle_3782 = _this; + _this setDir -389.11398; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7694.8672, 12669.219, -7.6293945e-005]; +}; + +_vehicle_3785 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7684.541, 12663.372, 0.10646725]; + _vehicle_3785 = _this; + _this setDir -389.11398; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7684.541, 12663.372, 0.10646725]; +}; + +_vehicle_3788 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_3_D" createVehicle [7692.313, 12667.729, 0.10397159]; + _vehicle_3788 = _this; + _this setDir 329.76712; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7692.313, 12667.729, 0.10397159]; +}; + +_vehicle_3791 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7686.4502, 12656.112, 0.10135774]; + _vehicle_3791 = _this; + _this setDir -475.38388; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7686.4502, 12656.112, 0.10135774]; +}; + +_vehicle_3795 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7690.2935, 12648.013, -0.12145831]; + _vehicle_3795 = _this; + _this setDir -475.38388; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7690.2935, 12648.013, -0.12145831]; +}; + +_vehicle_3798 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7695.791, 12636.961, 0.21814525]; + _vehicle_3798 = _this; + _this setDir -478.97537; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7695.791, 12636.961, 0.21814525]; +}; + +_vehicle_3801 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7700.3428, 12629.255, 1.5258789e-005]; + _vehicle_3801 = _this; + _this setDir -478.97537; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7700.3428, 12629.255, 1.5258789e-005]; +}; + +_vehicle_3803 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7704.6304, 12621.347, 6.8664551e-005]; + _vehicle_3803 = _this; + _this setDir -478.97537; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7704.6304, 12621.347, 6.8664551e-005]; +}; + +_vehicle_3805 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7708.9419, 12613.563, 7.6293945e-006]; + _vehicle_3805 = _this; + _this setDir -478.97537; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7708.9419, 12613.563, 7.6293945e-006]; +}; + +_vehicle_3808 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7692.1807, 12643.49, 0.23030418]; + _vehicle_3808 = _this; + _this setDir -122.87712; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7692.1807, 12643.49, 0.23030418]; +}; + +_vehicle_3811 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7704.8667, 12605.661, 7.6293945e-006]; + _vehicle_3811 = _this; + _this setDir -392.88797; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7704.8667, 12605.661, 7.6293945e-006]; +}; + +_vehicle_3814 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_3_D" createVehicle [7710.3999, 12611.035, 7.6293945e-005]; + _vehicle_3814 = _this; + _this setDir 238.61043; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7710.3999, 12611.035, 7.6293945e-005]; +}; + +_vehicle_3817 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7700.7393, 12598.035, 7.6293945e-006]; + _vehicle_3817 = _this; + _this setDir -426.58185; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7700.7393, 12598.035, 7.6293945e-006]; +}; + +_vehicle_3821 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7697.2236, 12589.82, 3.8146973e-005]; + _vehicle_3821 = _this; + _this setDir -426.58185; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7697.2236, 12589.82, 3.8146973e-005]; +}; + +_vehicle_3823 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7693.6392, 12581.562, 0.060096473]; + _vehicle_3823 = _this; + _this setDir -426.58185; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7693.6392, 12581.562, 0.060096473]; +}; + +_vehicle_3825 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7690.1274, 12573.336, 0.13187456]; + _vehicle_3825 = _this; + _this setDir -426.58185; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7690.1274, 12573.336, 0.13187456]; +}; + +_vehicle_3828 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7682.3799, 12554.125, 0.10686911]; + _vehicle_3828 = _this; + _this setDir -427.76764; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7682.3799, 12554.125, 0.10686911]; +}; + +_vehicle_3831 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7685.7139, 12562.415, -7.6293945e-005]; + _vehicle_3831 = _this; + _this setDir -427.76764; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7685.7139, 12562.415, -7.6293945e-005]; +}; + +_vehicle_3834 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7678.2969, 12543.154, -0.096332438]; + _vehicle_3834 = _this; + _this setDir -427.76764; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7678.2969, 12543.154, -0.096332438]; +}; + +_vehicle_3838 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7675.0693, 12534.84, 4.5776367e-005]; + _vehicle_3838 = _this; + _this setDir -427.76764; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7675.0693, 12534.84, 4.5776367e-005]; +}; + +_vehicle_3841 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7671.7109, 12526.514, 0.25200054]; + _vehicle_3841 = _this; + _this setDir -427.76764; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7671.7109, 12526.514, 0.25200054]; +}; + +_vehicle_3844 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7667.4136, 12515.466, 0.012280177]; + _vehicle_3844 = _this; + _this setDir -427.76764; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7667.4136, 12515.466, 0.012280177]; +}; + +_vehicle_3847 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7664.1646, 12507.112, 0.29858291]; + _vehicle_3847 = _this; + _this setDir -427.76764; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7664.1646, 12507.112, 0.29858291]; +}; + +_vehicle_3850 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7657.8345, 12491.564, 0.25715676]; + _vehicle_3850 = _this; + _this setDir -427.76764; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7657.8345, 12491.564, 0.25715676]; +}; + +_vehicle_3853 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_9" createVehicle [7664.6504, 12488.631, 0.31909257]; + _vehicle_3853 = _this; + _this setDir -527.44135; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7664.6504, 12488.631, 0.31909257]; +}; + +_vehicle_3857 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7688.4268, 12569.386, 3.8146973e-005]; + _vehicle_3857 = _this; + _this setDir -71.094231; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7688.4268, 12569.386, 3.8146973e-005]; +}; + +_vehicle_3859 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7681.0703, 12550.113, -3.0517578e-005]; + _vehicle_3859 = _this; + _this setDir -72.192223; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7681.0703, 12550.113, -3.0517578e-005]; +}; + +_vehicle_3861 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7670.2686, 12522.403, 0.25116289]; + _vehicle_3861 = _this; + _this setDir -74.26413; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7670.2686, 12522.403, 0.25116289]; +}; + +_vehicle_3863 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7660.5239, 12498.464, 0.15817609]; + _vehicle_3863 = _this; + _this setDir -70.399147; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7660.5239, 12498.464, 0.15817609]; +}; + +_vehicle_3866 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7662.0376, 12501.934, 0.21309479]; + _vehicle_3866 = _this; + _this setDir -70.399147; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7662.0376, 12501.934, 0.21309479]; +}; + +_vehicle_3869 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7674.6816, 12486.638, 0.067260846]; + _vehicle_3869 = _this; + _this setDir -171.59384; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7674.6816, 12486.638, 0.067260846]; +}; + +_vehicle_3872 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [7670.3384, 12487.492, 0.16047135]; + _vehicle_3872 = _this; + _this setDir -172.66554; + _this setVehicleInit "this setVectorUp surfaceNormal position this;"; + _this setPos [7670.3384, 12487.492, 0.16047135]; +}; + +_vehicle_3873 = objNull; +if (true) then +{ + _this = "MAP_misc_amplion_conc" createVehicle [7842.2539, 12602.724, -9.9182129e-005]; + _vehicle_3873 = _this; + _this setDir -283.87323; + _this setPos [7842.2539, 12602.724, -9.9182129e-005]; +}; + +_vehicle_3876 = objNull; +if (true) then +{ + _this = "FoldChair" createVehicle [7693.752, 12478.734, -0.024700247]; + _vehicle_3876 = _this; + _this setDir 245.09908; + _this setPos [7693.752, 12478.734, -0.024700247]; +}; + +_vehicle_3877 = objNull; +if (true) then +{ + _this = "SmallCraftTable_dz" createVehicle [7693.9414, 12479.914, 0.032504044]; + _vehicle_3877 = _this; + _this setDir -88.115166; + _this setPos [7693.9414, 12479.914, 0.032504044]; +}; + +_vehicle_3882 = objNull; +if (true) then +{ + _this = "FoldChair" createVehicle [7694.1172, 12481.166, -0.0073470501]; + _vehicle_3882 = _this; + _this setDir 319.16434; + _this setPos [7694.1172, 12481.166, -0.0073470501]; +}; + +processInitCommands; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/KomyshovoRoadblock.sqf b/SQF/dayz_code/system/mission/chernarus/poi/KomyshovoRoadblock.sqf index 41829718..27b18643 100644 --- a/SQF/dayz_code/system/mission/chernarus/poi/KomyshovoRoadblock.sqf +++ b/SQF/dayz_code/system/mission/chernarus/poi/KomyshovoRoadblock.sqf @@ -1,447 +1,43 @@ -//Komyshovo Roadblock DayZ -//Created by Dr Bane 20/11/2013 -//Copyright Dr Bane And Musty Gaming - -if (isServer) then { - -_vehicle_2 = objNull; -if (true) then -{ - _this = "Land_fort_bagfence_long" createVehicle [11719.48, 3440.4539, 5.7220459e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_2 = _this; - _this setDir 165.89674; - _this setPos [11719.48, 3440.4539, 5.7220459e-006]; -}; - -_vehicle_3 = objNull; -if (true) then -{ - _this = "Land_fort_bagfence_long" createVehicle [11712.065, 3428.3638, -2.8133392e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_3 = _this; - _this setDir -103.87848; - _this setPos [11712.065, 3428.3638, -2.8133392e-005]; -}; - -_vehicle_4 = objNull; -if (true) then -{ - _this = "Land_fortified_nest_big" createVehicle [11714.736, 3437.1252, -1.4305115e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_4 = _this; - _this setDir 166.02483; - _this setPos [11714.736, 3437.1252, -1.4305115e-006]; -}; - -_vehicle_5 = objNull; -if (true) then -{ - _this = "Land_Misc_deerstand" createVehicle [11720.772, 3416.7151, -4.7683716e-007]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_5 = _this; - _this setDir 75.353737; - _this setPos [11720.772, 3416.7151, -4.7683716e-007]; -}; - -_vehicle_9 = objNull; -if (true) then -{ - _this = "Land_Fire_barrel" createVehicle [11707.735, 3431.6147, 1.1444092e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_9 = _this; - _this setPos [11707.735, 3431.6147, 1.1444092e-005]; -}; - -_vehicle_10 = objNull; -if (true) then -{ - _this = "ZavoraAnim" createVehicle [11713.635, 3419.4082, -9.5367432e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_10 = _this; - _this setDir 76.036537; - _this setPos [11713.635, 3419.4082, -9.5367432e-006]; -}; - -_vehicle_11 = objNull; -if (true) then -{ - _this = "Fort_RazorWire" createVehicle [11713.576, 3415.5337, 4.2915344e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_11 = _this; - _this setDir 74.307724; - _this setPos [11713.576, 3415.5337, 4.2915344e-006]; -}; - -_vehicle_12 = objNull; -if (true) then -{ - _this = "Fort_RazorWire" createVehicle [11708.621, 3435.376, 4.7683716e-007]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_12 = _this; - _this setDir 77.374557; - _this setPos [11708.621, 3435.376, 4.7683716e-007]; -}; - -_vehicle_13 = objNull; -if (true) then -{ - _this = "HMMWVWreck" createVehicle [11699.555, 3425.7571, -3.3378601e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_13 = _this; - _this setDir -81.309959; - _this setPos [11699.555, 3425.7571, -3.3378601e-006]; -}; - -_vehicle_14 = objNull; -if (true) then -{ - _this = "LADAWreck" createVehicle [11694.954, 3423.5427, 1.4781952e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_14 = _this; - _this setDir -113.2159; - _this setPos [11694.954, 3423.5427, 1.4781952e-005]; -}; - -_vehicle_15 = objNull; -if (true) then -{ - _this = "hiluxWreck" createVehicle [11689.701, 3422.4888, 1.001358e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_15 = _this; - _this setDir -99.812798; - _this setPos [11689.701, 3422.4888, 1.001358e-005]; -}; - -_vehicle_16 = objNull; -if (true) then -{ - _this = "LADAWreck" createVehicle [11705.452, 3416.7844, 3.8146973e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_16 = _this; - _this setDir -132.45085; - _this setPos [11705.452, 3416.7844, 3.8146973e-006]; -}; - -_vehicle_17 = objNull; -if (true) then -{ - _this = "SKODAWreck" createVehicle [11685.367, 3420.6243, 3.3855438e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_17 = _this; - _this setDir -73.341125; - _this setPos [11685.367, 3420.6243, 3.3855438e-005]; -}; - -_vehicle_18 = objNull; -if (true) then -{ - _this = "UAZWreck" createVehicle [11700.761, 3416.4656, -8.5830688e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_18 = _this; - _this setDir -92.262016; - _this setPos [11700.761, 3416.4656, -8.5830688e-006]; -}; - -_vehicle_19 = objNull; -if (true) then -{ - _this = "UralWreck" createVehicle [11692.639, 3415.6863, -8.1062317e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_19 = _this; - _this setDir -121.88936; - _this setPos [11692.639, 3415.6863, -8.1062317e-006]; -}; - -_vehicle_20 = objNull; -if (true) then -{ - _this = "datsun02Wreck" createVehicle [11680.604, 3417.6348, -1.0967255e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_20 = _this; - _this setDir -154.7975; - _this setPos [11680.604, 3417.6348, -1.0967255e-005]; -}; - -_vehicle_21 = objNull; -if (true) then -{ - _this = "SKODAWreck" createVehicle [11677.889, 3420.9666, 3.9577484e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_21 = _this; - _this setDir -129.51091; - _this setPos [11677.889, 3420.9666, 3.9577484e-005]; -}; - -_vehicle_22 = objNull; -if (true) then -{ - _this = "HMMWVWreck" createVehicle [11681.577, 3410.0994, -4.7683716e-007]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_22 = _this; - _this setPos [11681.577, 3410.0994, -4.7683716e-007]; -}; - -_vehicle_23 = objNull; -if (true) then -{ - _this = "LADAWreck" createVehicle [11663.863, 3415.5874, 1.9550323e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_23 = _this; - _this setDir -79.741982; - _this setPos [11663.863, 3415.5874, 1.9550323e-005]; -}; - -_vehicle_27 = objNull; -if (true) then -{ - _this = "datsun01Wreck" createVehicle [11668.785, 3407.6177, 4.7683716e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_27 = _this; - _this setDir -142.55556; - _this setPos [11668.785, 3407.6177, 4.7683716e-006]; -}; - -_vehicle_28 = objNull; -if (true) then -{ - _this = "UAZWreck" createVehicle [11641.327, 3409.6914, 1.9073486e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_28 = _this; - _this setDir -93.814919; - _this setPos [11641.327, 3409.6914, 1.9073486e-006]; -}; - -_vehicle_30 = objNull; -if (true) then -{ - _this = "datsun02Wreck" createVehicle [11653.457, 3403.5032, 8.1062317e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_30 = _this; - _this setDir -39.047737; - _this setPos [11653.457, 3403.5032, 8.1062317e-006]; -}; - -_vehicle_31 = objNull; -if (true) then -{ - _this = "SKODAWreck" createVehicle [11608.349, 3402.2234, 7.6293945e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_31 = _this; - _this setPos [11608.349, 3402.2234, 7.6293945e-006]; -}; - -_vehicle_33 = objNull; -if (true) then -{ - _this = "UralWreck" createVehicle [11625.264, 3409.9734, -5.7220459e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_33 = _this; - _this setDir -126.20835; - _this setPos [11625.264, 3409.9734, -5.7220459e-006]; -}; - -_vehicle_34 = objNull; -if (true) then -{ - _this = "HMMWVWreck" createVehicle [11604.238, 3389.3557, 7.1525574e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_34 = _this; - _this setDir -120.86126; - _this setPos [11604.238, 3389.3557, 7.1525574e-005]; -}; - -_vehicle_35 = objNull; -if (true) then -{ - _this = "LADAWreck" createVehicle [11634.291, 3399.3804, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_35 = _this; - _this setDir -62.679699; - _this setPos [11634.291, 3399.3804, -1.5258789e-005]; -}; - -_vehicle_36 = objNull; -if (true) then -{ - _this = "UAZWreck" createVehicle [11587.318, 3383.6511, -1.9073486e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_36 = _this; - _this setDir -94.848938; - _this setPos [11587.318, 3383.6511, -1.9073486e-006]; -}; - -_vehicle_37 = objNull; -if (true) then -{ - _this = "SKODAWreck" createVehicle [11579.66, 3391.251, 6.0081482e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_37 = _this; - _this setDir -95.228081; - _this setPos [11579.66, 3391.251, 6.0081482e-005]; -}; - -_vehicle_38 = objNull; -if (true) then -{ - _this = "LADAWreck" createVehicle [11593.278, 3395.5137, 7.1525574e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_38 = _this; - _this setDir 249.85706; - _this setPos [11593.278, 3395.5137, 7.1525574e-006]; -}; - -_vehicle_40 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [11580.231, 3391.7131, -1.2302452]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_40 = _this; - _this setPos [11580.231, 3391.7131, -1.2302452]; -}; - -_vehicle_41 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [11604.376, 3389.4011, -2.3365021e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_41 = _this; - _this setPos [11604.376, 3389.4011, -2.3365021e-005]; -}; - -_vehicle_42 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [11664.599, 3415.8137, -0.55714953]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_42 = _this; - _this setPos [11664.599, 3415.8137, -0.55714953]; -}; - -_vehicle_43 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [11700.913, 3416.5945, -0.455836]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_43 = _this; - _this setPos [11700.913, 3416.5945, -0.455836]; -}; - -_vehicle_48 = objNull; -if (true) then -{ - _this = "Land_Misc_Garb_Heap_EP1" createVehicle [11658.789, 3415.3887, 2.4795532e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_48 = _this; - _this setPos [11658.789, 3415.3887, 2.4795532e-005]; -}; - -_vehicle_54 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [11681.44, 3409.2422, 2.8133392e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_54 = _this; - _this setPos [11681.44, 3409.2422, 2.8133392e-005]; -}; - -_vehicle_56 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [11678.358, 3421.3154, -0.55780995]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_56 = _this; - _this setPos [11678.358, 3421.3154, -0.55780995]; -}; - -_vehicle_62 = objNull; -if (true) then -{ - _this = "CampEast" createVehicle [11728.482, 3415.5869, 8.1062317e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_62 = _this; - _this setDir -194.24361; - _this setPos [11728.482, 3415.5869, 8.1062317e-006]; -}; - -_vehicle_63 = objNull; -if (true) then -{ - _this = "CampEast" createVehicle [11736.565, 3417.7786, -1.1920929e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_63 = _this; - _this setDir -194.30165; - _this setPos [11736.565, 3417.7786, -1.1920929e-005]; -}; - -_vehicle_66 = objNull; -if (true) then -{ - _this = "CampEast_EP1" createVehicle [11744.933, 3420.0603, -3.7193298e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_66 = _this; - _this setDir -194.99712; - _this setPos [11744.933, 3420.0603, -3.7193298e-005]; -}; - -_vehicle_67 = objNull; -if (true) then -{ - _this = "Land_tent_east" createVehicle [11730.796, 3438.7427, 2.7179718e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_67 = _this; - _this setDir 347.01086; - _this setPos [11730.796, 3438.7427, 2.7179718e-005]; -}; - -_vehicle_68 = objNull; -if (true) then -{ - _this = "Land_fort_bagfence_corner" createVehicle [11715.259, 3417.4905, 6.1988831e-006]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_68 = _this; - _this setDir 75.434654; - _this setPos [11715.259, 3417.4905, 6.1988831e-006]; -}; -}; +[[ + ["Land_fort_bagfence_long",[11719.48,3440.4539,5.7220459e-006],165.89674], + ["Land_fort_bagfence_long",[11712.065,3428.3638,-2.8133392e-005],-103.87848], + ["Land_fortified_nest_big",[11714.736,3437.1252,-1.4305115e-006],166.02483], + ["Land_Misc_deerstand",[11720.772,3416.7151,-4.7683716e-007],75.353737], + ["Land_Fire_barrel",[11707.735,3431.6147,1.1444092e-005],0], + ["ZavoraAnim",[11713.635,3419.4082,-9.5367432e-006],76.036537], + ["Fort_RazorWire",[11713.576,3415.5337,4.2915344e-006],74.307724], + ["Fort_RazorWire",[11708.621,3435.376,4.7683716e-007],77.374557], + ["HMMWVWreck",[11699.555,3425.7571,-3.3378601e-006],-81.309959], + ["LADAWreck",[11694.954,3423.5427,1.4781952e-005],-113.2159], + ["hiluxWreck",[11689.701,3422.4888,1.001358e-005],-99.812798], + ["LADAWreck",[11705.452,3416.7844,3.8146973e-006],-132.45085], + ["SKODAWreck",[11685.367,3420.6243,3.3855438e-005],-73.341125], + ["UAZWreck",[11700.761,3416.4656,-8.5830688e-006],-92.262016], + ["UralWreck",[11692.639,3415.6863,-8.1062317e-006],-121.88936], + ["datsun02Wreck",[11680.604,3417.6348,-1.0967255e-005],-154.7975], + ["SKODAWreck",[11677.889,3420.9666,3.9577484e-005],-129.51091], + ["HMMWVWreck",[11681.577,3410.0994,-4.7683716e-007],0], + ["LADAWreck",[11663.863,3415.5874,1.9550323e-005],-79.741982], + ["datsun01Wreck",[11668.785,3407.6177,4.7683716e-006],-142.55556], + ["UAZWreck",[11641.327,3409.6914,1.9073486e-006],-93.814919], + ["datsun02Wreck",[11653.457,3403.5032,8.1062317e-006],-39.047737], + ["SKODAWreck",[11608.349,3402.2234,7.6293945e-006],0], + ["UralWreck",[11625.264,3409.9734,-5.7220459e-006],-126.20835], + ["HMMWVWreck",[11604.238,3389.3557,7.1525574e-005],-120.86126], + ["LADAWreck",[11634.291,3399.3804,-1.5258789e-005],-62.679699], + ["UAZWreck",[11587.318,3383.6511,-1.9073486e-006],-94.848938], + ["SKODAWreck",[11579.66,3391.251,6.0081482e-005],-95.228081], + ["LADAWreck",[11593.278,3395.5137,7.1525574e-006],249.85706], + ["Land_Camp_Fire_DZ",[11580.231,3391.7131,-1.2302452],0], + ["Land_Camp_Fire_DZ",[11604.376,3389.4011,-2.3365021e-005],0], + ["Land_Camp_Fire_DZ",[11664.599,3415.8137,-0.55714953],0], + ["Land_Camp_Fire_DZ",[11700.913,3416.5945,-0.455836],0], + ["Land_Misc_Garb_Heap_EP1",[11658.789,3415.3887,2.4795532e-005],0], + ["Land_Camp_Fire_DZ",[11681.44,3409.2422,2.8133392e-005],0], + ["Land_Camp_Fire_DZ",[11678.358,3421.3154,-0.55780995],0], + ["CampEast",[11728.482,3415.5869,8.1062317e-006],-194.24361], + ["CampEast",[11736.565,3417.7786,-1.1920929e-005],-194.30165], + ["CampEast_EP1",[11744.933,3420.0603,-3.7193298e-005],-194.99712], + ["Land_tent_east",[11730.796,3438.7427,2.7179718e-005],347.01086], + ["Land_fort_bagfence_corner",[11715.259,3417.4905,6.1988831e-006],75.434654] +],false,false,false] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/MilitaryAirpoort.sqf b/SQF/dayz_code/system/mission/chernarus/poi/MilitaryAirpoort.sqf index 6160a414..922d4502 100644 --- a/SQF/dayz_code/system/mission/chernarus/poi/MilitaryAirpoort.sqf +++ b/SQF/dayz_code/system/mission/chernarus/poi/MilitaryAirpoort.sqf @@ -1,2237 +1,210 @@ -//Military Airpoort DayZ -//Created by Dr Bane 20/11/2013 -//Copyright Dr Bane And Musty Gaming - -if (isServer) then { - -_vehicle_6 = objNull; -if (true) then -{ - _this = "MAP_asf3_1_1000" createVehicle [3825.3159, 10108.598, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_6 = _this; - _this setDir -11.185805; - _this setPos [3825.3159, 10108.598, 3.0517578e-005]; -}; - -_vehicle_7 = objNull; -if (true) then -{ - _this = "MAP_asf3_1_1000" createVehicle [3822.219, 10125.634, -9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_7 = _this; - _this setDir -9.9437618; - _this setPos [3822.219, 10125.634, -9.1552734e-005]; -}; - -_vehicle_9 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3835.0566, 10144.542, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_9 = _this; - _this setPos [3835.0566, 10144.542, 0]; -}; - -_vehicle_10 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3822.8149, 10135.516, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_10 = _this; - _this setPos [3822.8149, 10135.516, -3.0517578e-005]; -}; - -_vehicle_11 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3825.7717, 10115.956, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_11 = _this; - _this setPos [3825.7717, 10115.956, 0]; -}; - -_vehicle_12 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3820.7786, 10143.821]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_12 = _this; - _this setDir -11.68897; - _this setPos [3820.7786, 10143.821]; -}; - -_vehicle_13 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3807.7896, 10164.764, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_13 = _this; - _this setPos [3807.7896, 10164.764, -3.0517578e-005]; -}; - -_vehicle_14 = objNull; -if (true) then -{ - _this = "MAP_asf3_10_100" createVehicle [3819.3381, 10142.812, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_14 = _this; - _this setDir -8.8621006; - _this setPos [3819.3381, 10142.812, 3.0517578e-005]; -}; - -_vehicle_15 = objNull; -if (true) then -{ - _this = "MAP_asf3_0_2000" createVehicle [3817.9858, 10160.022, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_15 = _this; - _this setDir 0.49615318; - _this setPos [3817.9858, 10160.022, -6.1035156e-005]; -}; - -_vehicle_20 = objNull; -if (true) then -{ - _this = "MAP_asf3_10_75" createVehicle [3817.2373, 10190.405, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_20 = _this; - _this setDir -188.83601; - _this setPos [3817.2373, 10190.405, 0.00012207031]; -}; - -_vehicle_21 = objNull; -if (true) then -{ - _this = "MAP_asf3_0_2000" createVehicle [3817.3105, 10190.246, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_21 = _this; - _this setDir -8.7227564; - _this setPos [3817.3105, 10190.246, -3.0517578e-005]; -}; - -_vehicle_22 = objNull; -if (true) then -{ - _this = "MAP_asf3_10_75" createVehicle [3790.9268, 10252.16]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_22 = _this; - _this setDir 133.09224; - _this setPos [3790.9268, 10252.16]; -}; - -_vehicle_23 = objNull; -if (true) then -{ - _this = "MAP_asf3_10_75" createVehicle [3811.3318, 10219.895, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_23 = _this; - _this setDir 160.40416; - _this setPos [3811.3318, 10219.895, 9.1552734e-005]; -}; - -_vehicle_24 = objNull; -if (true) then -{ - _this = "MAP_asf3_10_75" createVehicle [3806.3643, 10231.879, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_24 = _this; - _this setDir 152.45856; - _this setPos [3806.3643, 10231.879, -3.0517578e-005]; -}; - -_vehicle_26 = objNull; -if (true) then -{ - _this = "MAP_asf3_10_75" createVehicle [3799.4526, 10242.731, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_26 = _this; - _this setDir 142.91379; - _this setPos [3799.4526, 10242.731, 3.0517578e-005]; -}; - -_vehicle_27 = objNull; -if (true) then -{ - _this = "MAP_runway_beton" createVehicle [3724.6187, 10212.628, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_27 = _this; - _this setDir 44.269772; - _this setPos [3724.6187, 10212.628, -6.1035156e-005]; -}; - -_vehicle_29 = objNull; -if (true) then -{ - _this = "MAP_runway_beton" createVehicle [3696.0132, 10240.534, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_29 = _this; - _this setDir 44.184116; - _this setPos [3696.0132, 10240.534, 3.0517578e-005]; -}; - -_vehicle_30 = objNull; -if (true) then -{ - _this = "MAP_runway_beton" createVehicle [3667.377, 10268.412, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_30 = _this; - _this setDir 44.17395; - _this setPos [3667.377, 10268.412, 0.00012207031]; -}; - -_vehicle_31 = objNull; -if (true) then -{ - _this = "MAP_runway_beton_end1" createVehicle [3688.8093, 10333.029, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_31 = _this; - _this setDir 44.180363; - _this setPos [3688.8093, 10333.029, 6.1035156e-005]; -}; - -_vehicle_33 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3760.6812, 10261.354, 0.00015258789]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_33 = _this; - _this setDir -0.50650114; - _this setPos [3760.6812, 10261.354, 0.00015258789]; -}; - -_vehicle_34 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3750.6606, 10284.665]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_34 = _this; - _this setDir -0.50650114; - _this setPos [3750.6606, 10284.665]; -}; - -_vehicle_35 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3743.405, 10267.468, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_35 = _this; - _this setDir -0.50650114; - _this setPos [3743.405, 10267.468, -3.0517578e-005]; -}; - -_vehicle_36 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3722.5317, 10258.217, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_36 = _this; - _this setDir -0.3346678; - _this setPos [3722.5317, 10258.217, 9.1552734e-005]; -}; - -_vehicle_37 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3723.866, 10276.214, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_37 = _this; - _this setDir -0.50650114; - _this setPos [3723.866, 10276.214, -3.0517578e-005]; -}; - -_vehicle_38 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3713.532, 10248.95, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_38 = _this; - _this setPos [3713.532, 10248.95, 0]; -}; - -_vehicle_39 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3736.1445, 10245.626, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_39 = _this; - _this setDir -0.3346678; - _this setPos [3736.1445, 10245.626, 3.0517578e-005]; -}; - -_vehicle_40 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3737.3, 10226.258, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_40 = _this; - _this setDir -0.3346678; - _this setPos [3737.3, 10226.258, 3.0517578e-005]; -}; - -_vehicle_41 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3747.9329, 10235.669, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_41 = _this; - _this setPos [3747.9329, 10235.669, 0]; -}; - -_vehicle_42 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3745.0537, 10212.736, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_42 = _this; - _this setPos [3745.0537, 10212.736, -6.1035156e-005]; -}; - -_vehicle_43 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3773.3391, 10240.22, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_43 = _this; - _this setPos [3773.3391, 10240.22, 3.0517578e-005]; -}; - -_vehicle_44 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3781.0732, 10260.768, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_44 = _this; - _this setPos [3781.0732, 10260.768, 6.1035156e-005]; -}; - -_vehicle_45 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3781.7546, 10246.241, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_45 = _this; - _this setPos [3781.7546, 10246.241, 0]; -}; - -_vehicle_46 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3794.8918, 10251.539, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_46 = _this; - _this setPos [3794.8918, 10251.539, -3.0517578e-005]; -}; - -_vehicle_47 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3763.8347, 10246.762, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_47 = _this; - _this setPos [3763.8347, 10246.762, -3.0517578e-005]; -}; - -_vehicle_48 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3757.3701, 10221.23, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_48 = _this; - _this setPos [3757.3701, 10221.23, 6.1035156e-005]; -}; - -_vehicle_49 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3728.396, 10234.807, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_49 = _this; - _this setPos [3728.396, 10234.807, -3.0517578e-005]; -}; - -_vehicle_50 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3733.2837, 10213.01, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_50 = _this; - _this setPos [3733.2837, 10213.01, 0]; -}; - -_vehicle_51 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3761.5564, 10274.819, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_51 = _this; - _this setDir -0.50650114; - _this setPos [3761.5564, 10274.819, -3.0517578e-005]; -}; - -_vehicle_52 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3736.1018, 10293.056, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_52 = _this; - _this setDir -0.50650114; - _this setPos [3736.1018, 10293.056, 3.0517578e-005]; -}; - -_vehicle_53 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3738.4109, 10278.472, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_53 = _this; - _this setDir -0.50650114; - _this setPos [3738.4109, 10278.472, -3.0517578e-005]; -}; - -_vehicle_54 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3744.8159, 10300.588]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_54 = _this; - _this setDir -0.50650114; - _this setPos [3744.8159, 10300.588]; -}; - -_vehicle_55 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3730.1162, 10307.021, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_55 = _this; - _this setPos [3730.1162, 10307.021, 6.1035156e-005]; -}; - -_vehicle_56 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3720.3923, 10292.369, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_56 = _this; - _this setDir -0.50650114; - _this setPos [3720.3923, 10292.369, 3.0517578e-005]; -}; - -_vehicle_57 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3705.8743, 10285.435, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_57 = _this; - _this setDir -0.3346678; - _this setPos [3705.8743, 10285.435, -3.0517578e-005]; -}; - -_vehicle_58 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3700.415, 10274.433, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_58 = _this; - _this setPos [3700.415, 10274.433, 0]; -}; - -_vehicle_59 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3712.6045, 10261.92, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_59 = _this; - _this setPos [3712.6045, 10261.92, -3.0517578e-005]; -}; - -_vehicle_60 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3694.7302, 10291.204]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_60 = _this; - _this setDir -0.6588521; - _this setPos [3694.7302, 10291.204]; -}; - -_vehicle_61 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3707.5022, 10300.38]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_61 = _this; - _this setDir -0.32418403; - _this setPos [3707.5022, 10300.38]; -}; - -_vehicle_62 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3719.0176, 10312.553, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_62 = _this; - _this setDir -0.32418403; - _this setPos [3719.0176, 10312.553, -3.0517578e-005]; -}; - -_vehicle_63 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3716.3813, 10324.065, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_63 = _this; - _this setDir -0.32418403; - _this setPos [3716.3813, 10324.065, 3.0517578e-005]; -}; - -_vehicle_64 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3691.6453, 10308.996, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_64 = _this; - _this setDir -0.32418403; - _this setPos [3691.6453, 10308.996, -3.0517578e-005]; -}; - -_vehicle_65 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3683.825, 10300.422, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_65 = _this; - _this setDir -0.32418403; - _this setPos [3683.825, 10300.422, -3.0517578e-005]; -}; - -_vehicle_66 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3679.2568, 10317.911, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_66 = _this; - _this setDir -0.32418403; - _this setPos [3679.2568, 10317.911, 6.1035156e-005]; -}; - -_vehicle_67 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3688.0222, 10326.203, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_67 = _this; - _this setDir -0.32418403; - _this setPos [3688.0222, 10326.203, 6.1035156e-005]; -}; - -_vehicle_68 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3677.96, 10330.91, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_68 = _this; - _this setDir -0.32418403; - _this setPos [3677.96, 10330.91, -6.1035156e-005]; -}; - -_vehicle_69 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3730.3879, 10263.984, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_69 = _this; - _this setDir -0.50650114; - _this setPos [3730.3879, 10263.984, -3.0517578e-005]; -}; - -_vehicle_70 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3723.6025, 10248.189]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_70 = _this; - _this setDir -0.3346678; - _this setPos [3723.6025, 10248.189]; -}; - -_vehicle_71 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3747.5444, 10252.567]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_71 = _this; - _this setDir -0.50650114; - _this setPos [3747.5444, 10252.567]; -}; - -_vehicle_72 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3773.8052, 10271.313, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_72 = _this; - _this setPos [3773.8052, 10271.313, 6.1035156e-005]; -}; - -_vehicle_73 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3771.5752, 10255.088, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_73 = _this; - _this setPos [3771.5752, 10255.088, -6.1035156e-005]; -}; - -_vehicle_74 = objNull; -if (true) then -{ - _this = "Land_Hangar_2" createVehicle [3685.3945, 10267.442, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_74 = _this; - _this setDir -135.68135; - _this setPos [3685.3945, 10267.442, -3.0517578e-005]; -}; - -_vehicle_75 = objNull; -if (true) then -{ - _this = "Land_Mil_ControlTower" createVehicle [3703.4924, 10242.177, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_75 = _this; - _this setDir -225.61891; - _this setPos [3703.4924, 10242.177, 3.0517578e-005]; -}; - -_vehicle_77 = objNull; -if (true) then -{ - _this = "Land_Mil_Barracks_i" createVehicle [3718.3674, 10233.307, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_77 = _this; - _this setDir -45.469822; - _this setPos [3718.3674, 10233.307, -3.0517578e-005]; -}; - -_vehicle_78 = objNull; -if (true) then -{ - _this = "Land_Mil_Barracks_i" createVehicle [3667.1182, 10284.444, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_78 = _this; - _this setDir 314.29797; - _this setPos [3667.1182, 10284.444, 3.0517578e-005]; -}; - -_vehicle_79 = objNull; -if (true) then -{ - _this = "Land_SS_hangar" createVehicle [3711.3408, 10192.19, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_79 = _this; - _this setDir 584.09161; - _this setPos [3711.3408, 10192.19, 3.0517578e-005]; -}; - -_vehicle_81 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [3744.1667, 10196.554, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_81 = _this; - _this setPos [3744.1667, 10196.554, 3.0517578e-005]; -}; - -_vehicle_82 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [3752.5012, 10195.237, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_82 = _this; - _this setPos [3752.5012, 10195.237, 3.0517578e-005]; -}; - -_vehicle_83 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [3751.4607, 10202.605]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_83 = _this; - _this setPos [3751.4607, 10202.605]; -}; - -_vehicle_84 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [3816.1167, 10115.302, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_84 = _this; - _this setPos [3816.1167, 10115.302, 6.1035156e-005]; -}; - -_vehicle_85 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [3656.2351, 10269.758]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_85 = _this; - _this setPos [3656.2351, 10269.758]; -}; - -_vehicle_86 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [3707.677, 10220.626, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_86 = _this; - _this setPos [3707.677, 10220.626, 3.0517578e-005]; -}; - -_vehicle_87 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [3675.4695, 10235.775]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_87 = _this; - _this setPos [3675.4695, 10235.775]; -}; - -_vehicle_88 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [3800.3528, 10256.13, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_88 = _this; - _this setPos [3800.3528, 10256.13, 9.1552734e-005]; -}; - -_vehicle_89 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [3789.2441, 10281.568, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_89 = _this; - _this setPos [3789.2441, 10281.568, 9.1552734e-005]; -}; - -_vehicle_90 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [3827.5901, 10179.222, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_90 = _this; - _this setPos [3827.5901, 10179.222, 6.1035156e-005]; -}; - -_vehicle_91 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [3773.6492, 10289.699, 0.00024414063]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_91 = _this; - _this setDir -0.50650114; - _this setPos [3773.6492, 10289.699, 0.00024414063]; -}; - -_vehicle_92 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [3788.9299, 10290.012, 0.0002746582]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_92 = _this; - _this setPos [3788.9299, 10290.012, 0.0002746582]; -}; - -_vehicle_93 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [3773.0156, 10298.371, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_93 = _this; - _this setDir -0.50650114; - _this setPos [3773.0156, 10298.371, 9.1552734e-005]; -}; - -_vehicle_94 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [3817.0071, 10125.276, -9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_94 = _this; - _this setPos [3817.0071, 10125.276, -9.1552734e-005]; -}; - -_vehicle_95 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [3782.7583, 10284.926, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_95 = _this; - _this setPos [3782.7583, 10284.926, -3.0517578e-005]; -}; - -_vehicle_96 = objNull; -if (true) then -{ - _this = "MAP_t_picea3f" createVehicle [3650.5557, 10273.901, 0.00030517578]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_96 = _this; - _this setPos [3650.5557, 10273.901, 0.00030517578]; -}; - -_vehicle_133 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4_D" createVehicle [3782.5752, 10243.695, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_133 = _this; - _this setDir 134.56789; - _this setPos [3782.5752, 10243.695, 3.0517578e-005]; -}; - -_vehicle_135 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3778.4272, 10239.436, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_135 = _this; - _this setDir 134.39149; - _this setPos [3778.4272, 10239.436, 6.1035156e-005]; -}; - -_vehicle_137 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_End_2" createVehicle [3789.0664, 10250.226, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_137 = _this; - _this setDir -46.774445; - _this setPos [3789.0664, 10250.226, 0.00012207031]; -}; - -_vehicle_138 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_Pole" createVehicle [3792.7874, 10253.942, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_138 = _this; - _this setDir 43.621632; - _this setPos [3792.7874, 10253.942, 3.0517578e-005]; -}; - -_vehicle_140 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_End_3" createVehicle [3795.0974, 10255.253, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_140 = _this; - _this setDir -44.757542; - _this setPos [3795.0974, 10255.253, 0.00012207031]; -}; - -_vehicle_142 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3791.8928, 10258.706]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_142 = _this; - _this setDir 44.484047; - _this setPos [3791.8928, 10258.706]; -}; - -_vehicle_143 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3787.7219, 10262.801, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_143 = _this; - _this setDir 44.493969; - _this setPos [3787.7219, 10262.801, 0.00012207031]; -}; - -_vehicle_144 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3774.3076, 10235.189, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_144 = _this; - _this setDir 134.69618; - _this setPos [3774.3076, 10235.189, 6.1035156e-005]; -}; - -_vehicle_145 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3770.1191, 10230.896, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_145 = _this; - _this setDir 134.7504; - _this setPos [3770.1191, 10230.896, 9.1552734e-005]; -}; - -_vehicle_146 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4_D" createVehicle [3765.9397, 10226.653]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_146 = _this; - _this setDir 134.58046; - _this setPos [3765.9397, 10226.653]; -}; - -_vehicle_147 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3761.7883, 10222.374, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_147 = _this; - _this setDir 135.12917; - _this setPos [3761.7883, 10222.374, 3.0517578e-005]; -}; - -_vehicle_148 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_End_2" createVehicle [3757.7227, 10218.103]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_148 = _this; - _this setDir 132.0087; - _this setPos [3757.7227, 10218.103]; -}; - -_vehicle_149 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_Pole" createVehicle [3755.8291, 10216.196, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_149 = _this; - _this setDir 36.464252; - _this setPos [3755.8291, 10216.196, 0.00012207031]; -}; - -_vehicle_151 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_End_3" createVehicle [3754.8723, 10215.169]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_151 = _this; - _this setDir -45.127731; - _this setPos [3754.8723, 10215.169]; -}; - -_vehicle_152 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4_D" createVehicle [3783.3943, 10267.038, 0.00015258789]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_152 = _this; - _this setDir 43.649479; - _this setPos [3783.3943, 10267.038, 0.00015258789]; -}; - -_vehicle_153 = objNull; -if (true) then -{ - _this = "C130J_wreck_EP1" createVehicle [3657.696, 10358.34, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_153 = _this; - _this setDir 135.67921; - _this setPos [3657.696, 10358.34, 9.1552734e-005]; -}; - -_vehicle_157 = objNull; -if (true) then -{ - _this = "Land_Misc_deerstand" createVehicle [3830.4863, 10116.59, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_157 = _this; - _this setDir -7.137866; - _this setPos [3830.4863, 10116.59, 3.0517578e-005]; -}; - -_vehicle_159 = objNull; -if (true) then -{ - _this = "Barrels" createVehicle [3727.5986, 10234.664]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_159 = _this; - _this setDir 18.813044; - _this setPos [3727.5986, 10234.664]; -}; - -_vehicle_160 = objNull; -if (true) then -{ - _this = "Land_Misc_Garb_Heap_EP1" createVehicle [3741.1643, 10205.446, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_160 = _this; - _this setPos [3741.1643, 10205.446, 0.00012207031]; -}; - -_vehicle_161 = objNull; -if (true) then -{ - _this = "Paleta2" createVehicle [3745.0322, 10207.586]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_161 = _this; - _this setDir 69.840553; - _this setPos [3745.0322, 10207.586]; -}; - -_vehicle_163 = objNull; -if (true) then -{ - _this = "Land_Ind_TankSmall" createVehicle [3760.5347, 10224.95, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_163 = _this; - _this setDir -44.306816; - _this setPos [3760.5347, 10224.95, 6.1035156e-005]; -}; - -_vehicle_164 = objNull; -if (true) then -{ - _this = "Land_Ind_TankSmall" createVehicle [3767.1228, 10231.604]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_164 = _this; - _this setDir -45.187695; - _this setPos [3767.1228, 10231.604]; -}; - -_vehicle_165 = objNull; -if (true) then -{ - _this = "HMMWVWreck" createVehicle [3799.1453, 10238.581, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_165 = _this; - _this setDir 147.31805; - _this setPos [3799.1453, 10238.581, -3.0517578e-005]; -}; - -_vehicle_166 = objNull; -if (true) then -{ - _this = "UralWreck" createVehicle [3761.24, 10235.726, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_166 = _this; - _this setDir -122.48022; - _this setPos [3761.24, 10235.726, -3.0517578e-005]; -}; - -_vehicle_167 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3664.9065, 10271.031, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_167 = _this; - _this setDir -135.5675; - _this setPos [3664.9065, 10271.031, 3.0517578e-005]; -}; - -_vehicle_168 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3660.6062, 10275.168, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_168 = _this; - _this setDir -135.95262; - _this setPos [3660.6062, 10275.168, 3.0517578e-005]; -}; - -_vehicle_169 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4_D" createVehicle [3656.3887, 10279.318, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_169 = _this; - _this setDir -135.06606; - _this setPos [3656.3887, 10279.318, -3.0517578e-005]; -}; - -_vehicle_170 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_End_2" createVehicle [3656.2295, 10285.197, 0.00015258789]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_170 = _this; - _this setDir -45.852589; - _this setPos [3656.2295, 10285.197, 0.00015258789]; -}; - -_vehicle_171 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_End_3" createVehicle [3654.7195, 10282.954]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_171 = _this; - _this setDir 68.389603; - _this setPos [3654.7195, 10282.954]; -}; - -_vehicle_172 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3659.2837, 10288.596]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_172 = _this; - _this setDir 134.1716; - _this setPos [3659.2837, 10288.596]; -}; - -_vehicle_173 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4_D" createVehicle [3663.4412, 10292.875, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_173 = _this; - _this setDir 134.53278; - _this setPos [3663.4412, 10292.875, 3.0517578e-005]; -}; - -_vehicle_174 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4_D" createVehicle [3689.9351, 10246.914, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_174 = _this; - _this setDir 44.088318; - _this setPos [3689.9351, 10246.914, 9.1552734e-005]; -}; - -_vehicle_175 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_End_3" createVehicle [3694.5596, 10242.785]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_175 = _this; - _this setDir 43.065742; - _this setPos [3694.5596, 10242.785]; -}; - -_vehicle_176 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3704.9841, 10232.024, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_176 = _this; - _this setDir 44.97723; - _this setPos [3704.9841, 10232.024, -3.0517578e-005]; -}; - -_vehicle_177 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3709.2427, 10227.833]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_177 = _this; - _this setDir 44.833263; - _this setPos [3709.2427, 10227.833]; -}; - -_vehicle_200 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3701.1414, 10341.037, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_200 = _this; - _this setPos [3701.1414, 10341.037, -6.1035156e-005]; -}; - -_vehicle_201 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3710.1155, 10333.934, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_201 = _this; - _this setPos [3710.1155, 10333.934, -3.0517578e-005]; -}; - -_vehicle_202 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3694.7322, 10344.322, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_202 = _this; - _this setPos [3694.7322, 10344.322, 0]; -}; - -_vehicle_203 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3682.9941, 10359.47, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_203 = _this; - _this setPos [3682.9941, 10359.47, -3.0517578e-005]; -}; - -_vehicle_204 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3702.1204, 10313.281, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_204 = _this; - _this setPos [3702.1204, 10313.281, -3.0517578e-005]; -}; - -_vehicle_205 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3671.4377, 10298.156, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_205 = _this; - _this setPos [3671.4377, 10298.156, -6.1035156e-005]; -}; - -_vehicle_206 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [3764.113, 10239.477]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_206 = _this; - _this setPos [3764.113, 10239.477]; -}; - -_vehicle_207 = objNull; -if (true) then -{ - _this = "Body1" createVehicle [3719.1694, 10258.491, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_207 = _this; - _this setPos [3719.1694, 10258.491, -3.0517578e-005]; -}; - -_vehicle_208 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [3721.6797, 10243.908, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_208 = _this; - _this setDir -111.08324; - _this setPos [3721.6797, 10243.908, -3.0517578e-005]; -}; - -_vehicle_209 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [3713.2722, 10243.904, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_209 = _this; - _this setPos [3713.2722, 10243.904, 3.0517578e-005]; -}; - -_vehicle_210 = objNull; -if (true) then -{ - _this = "Body1" createVehicle [3757.3967, 10229.175, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_210 = _this; - _this setPos [3757.3967, 10229.175, 0]; -}; - -_vehicle_211 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [3802.0686, 10235.992, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_211 = _this; - _this setDir 31.964434; - _this setPos [3802.0686, 10235.992, -3.0517578e-005]; -}; - -_vehicle_212 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [3669.8408, 10296.382, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_212 = _this; - _this setPos [3669.8408, 10296.382, -3.0517578e-005]; -}; - -_vehicle_213 = objNull; -if (true) then -{ - _this = "Body1" createVehicle [3675.3115, 10297.215, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_213 = _this; - _this setPos [3675.3115, 10297.215, 0]; -}; - -_vehicle_215 = objNull; -if (true) then -{ - _this = "hiluxWreck" createVehicle [3788.2188, 10255.365, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_215 = _this; - _this setDir 107.26485; - _this setPos [3788.2188, 10255.365, 3.0517578e-005]; -}; - -_vehicle_216 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [3785.5476, 10259.679, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_216 = _this; - _this setDir 117.29826; - _this setPos [3785.5476, 10259.679, 3.0517578e-005]; -}; - -_vehicle_217 = objNull; -if (true) then -{ - _this = "AmmoCrates_NoInteractive_Large" createVehicle [3715.9766, 10251.991]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_217 = _this; - _this setPos [3715.9766, 10251.991]; -}; - -_vehicle_218 = objNull; -if (true) then -{ - _this = "Land_Misc_Cargo1E_EP1" createVehicle [3719.9546, 10204.804, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_218 = _this; - _this setPos [3719.9546, 10204.804, 6.1035156e-005]; -}; - -_vehicle_219 = objNull; -if (true) then -{ - _this = "Misc_Cargo1Bo_military" createVehicle [3724.1721, 10225.582, 0.00018310547]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_219 = _this; - _this setDir 71.360115; - _this setPos [3724.1721, 10225.582, 0.00018310547]; -}; - -_vehicle_220 = objNull; -if (true) then -{ - _this = "Land_Misc_Cargo1E_EP1" createVehicle [3773.1011, 10240.897, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_220 = _this; - _this setDir -42.60405; - _this setPos [3773.1011, 10240.897, 3.0517578e-005]; -}; - -_vehicle_221 = objNull; -if (true) then -{ - _this = "Land_Misc_Cargo1E_EP1" createVehicle [3776.1331, 10244.344]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_221 = _this; - _this setDir -59.835663; - _this setPos [3776.1331, 10244.344]; -}; - -_vehicle_222 = objNull; -if (true) then -{ - _this = "Land_Misc_Cargo1E_EP1" createVehicle [3779.8481, 10246.981, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_222 = _this; - _this setDir -37.084934; - _this setPos [3779.8481, 10246.981, -3.0517578e-005]; -}; - -//setDate [1985, 5, 10, 9, 30]; <---- what the hell was that - -_vehicle_226 = objNull; -if (true) then -{ - _this = "MAP_asf3_1_1000" createVehicle [3783.4404, 10200.586, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_226 = _this; - _this setDir 44.57972; - _this setPos [3783.4404, 10200.586, 3.0517578e-005]; -}; - -_vehicle_235 = objNull; -if (true) then -{ - _this = "MAP_asf3_15_75" createVehicle [3795.6882, 10212.797, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_235 = _this; - _this setDir 45.67374; - _this setPos [3795.6882, 10212.797, 3.0517578e-005]; -}; - -_vehicle_236 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3793.5476, 10160.691, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_236 = _this; - _this setDir 44.696571; - _this setPos [3793.5476, 10160.691, 3.0517578e-005]; -}; - -_vehicle_237 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3777.782, 10159.95, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_237 = _this; - _this setDir 44.696571; - _this setPos [3777.782, 10159.95, -3.0517578e-005]; -}; - -_vehicle_238 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3765.2056, 10158.893, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_238 = _this; - _this setDir 44.696571; - _this setPos [3765.2056, 10158.893, -3.0517578e-005]; -}; - -_vehicle_239 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3783.0032, 10174.156, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_239 = _this; - _this setDir 44.696571; - _this setPos [3783.0032, 10174.156, 3.0517578e-005]; -}; - -_vehicle_240 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3770.5981, 10172.787]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_240 = _this; - _this setDir 44.696571; - _this setPos [3770.5981, 10172.787]; -}; - -_vehicle_241 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3765.8508, 10185.534]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_241 = _this; - _this setPos [3765.8508, 10185.534]; -}; - -_vehicle_242 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3778.9431, 10195.28]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_242 = _this; - _this setPos [3778.9431, 10195.28]; -}; - -_vehicle_243 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3795.4836, 10172.459, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_243 = _this; - _this setDir 44.696571; - _this setPos [3795.4836, 10172.459, 3.0517578e-005]; -}; - -_vehicle_244 = objNull; -if (true) then -{ - _this = "MAP_runwayold_40_main" createVehicle [3773.6821, 10182.305]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_244 = _this; - _this setDir 44.696571; - _this setPos [3773.6821, 10182.305]; -}; - -_vehicle_245 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3793.9382, 10186.377, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_245 = _this; - _this setPos [3793.9382, 10186.377, 3.0517578e-005]; -}; - -_vehicle_246 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3767.1121, 10198.916, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_246 = _this; - _this setPos [3767.1121, 10198.916, 9.1552734e-005]; -}; - -_vehicle_247 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [3780.3613, 10183.857, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_247 = _this; - _this setPos [3780.3613, 10183.857, 9.1552734e-005]; -}; - -_vehicle_248 = objNull; -if (true) then -{ - _this = "Barrack2" createVehicle [3754.2629, 10180.587, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_248 = _this; - _this setDir -44.416225; - _this setPos [3754.2629, 10180.587, 3.0517578e-005]; -}; - -_vehicle_249 = objNull; -if (true) then -{ - _this = "Barrack2" createVehicle [3759.4336, 10185.654, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_249 = _this; - _this setDir -44.273655; - _this setPos [3759.4336, 10185.654, 3.0517578e-005]; -}; - -_vehicle_250 = objNull; -if (true) then -{ - _this = "MASH_EP1" createVehicle [3763.2378, 10192.063, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_250 = _this; - _this setDir 135.73686; - _this setPos [3763.2378, 10192.063, 3.0517578e-005]; -}; - -_vehicle_251 = objNull; -if (true) then -{ - _this = "MASH_EP1" createVehicle [3767.9285, 10196.819, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_251 = _this; - _this setDir 135.27429; - _this setPos [3767.9285, 10196.819, 3.0517578e-005]; -}; - -_vehicle_253 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3780.3948, 10203.67, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_253 = _this; - _this setDir -135.03011; - _this setPos [3780.3948, 10203.67, 3.0517578e-005]; -}; - -_vehicle_254 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3776.2805, 10207.763, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_254 = _this; - _this setDir -134.95572; - _this setPos [3776.2805, 10207.763, 6.1035156e-005]; -}; - -_vehicle_255 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3786.5605, 10197.565]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_255 = _this; - _this setDir 44.728886; - _this setPos [3786.5605, 10197.565]; -}; - -_vehicle_256 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3790.8044, 10193.417]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_256 = _this; - _this setDir 44.607571; - _this setPos [3790.8044, 10193.417]; -}; - -_vehicle_257 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4_D" createVehicle [3794.9731, 10189.274, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_257 = _this; - _this setDir 45.038445; - _this setPos [3794.9731, 10189.274, 9.1552734e-005]; -}; - -_vehicle_258 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3799.012, 10185.269, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_258 = _this; - _this setDir 44.742367; - _this setPos [3799.012, 10185.269, 6.1035156e-005]; -}; - -_vehicle_259 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3800.4587, 10181.13]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_259 = _this; - _this setDir 134.63934; - _this setPos [3800.4587, 10181.13]; -}; - -_vehicle_260 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3796.2705, 10176.872, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_260 = _this; - _this setDir 134.942; - _this setPos [3796.2705, 10176.872, 3.0517578e-005]; -}; - -_vehicle_261 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3792.1367, 10172.675, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_261 = _this; - _this setDir 134.00362; - _this setPos [3792.1367, 10172.675, -3.0517578e-005]; -}; - -_vehicle_262 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4_D" createVehicle [3787.9158, 10168.415, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_262 = _this; - _this setDir 134.6832; - _this setPos [3787.9158, 10168.415, -6.1035156e-005]; -}; - -_vehicle_263 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3783.7405, 10164.178]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_263 = _this; - _this setDir 134.5287; - _this setPos [3783.7405, 10164.178]; -}; - -_vehicle_264 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3779.5869, 10159.958, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_264 = _this; - _this setDir 135.18356; - _this setPos [3779.5869, 10159.958, 3.0517578e-005]; -}; - -_vehicle_265 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_End_2" createVehicle [3775.072, 10155.492, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_265 = _this; - _this setDir -44.03801; - _this setPos [3775.072, 10155.492, 3.0517578e-005]; -}; - -_vehicle_266 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_Pole" createVehicle [3771.2969, 10156.688, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_266 = _this; - _this setDir -43.831253; - _this setPos [3771.2969, 10156.688, 3.0517578e-005]; -}; - -_vehicle_267 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_End_3" createVehicle [3776.5454, 10156.865, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_267 = _this; - _this setDir -45.779484; - _this setPos [3776.5454, 10156.865, 3.0517578e-005]; -}; - -_vehicle_268 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_End_3" createVehicle [3773.9424, 10154.893, -9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_268 = _this; - _this setDir 45.019844; - _this setPos [3773.9424, 10154.893, -9.1552734e-005]; -}; - -_vehicle_269 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3768.3975, 10159.543, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_269 = _this; - _this setDir 44.803612; - _this setPos [3768.3975, 10159.543, -3.0517578e-005]; -}; - -_vehicle_270 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3764.188, 10163.698, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_270 = _this; - _this setDir 44.7495; - _this setPos [3764.188, 10163.698, 6.1035156e-005]; -}; - -_vehicle_271 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4_D" createVehicle [3760.0066, 10167.846, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_271 = _this; - _this setDir 44.524143; - _this setPos [3760.0066, 10167.846, 6.1035156e-005]; -}; - -_vehicle_272 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4_D" createVehicle [3755.7297, 10172.021, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_272 = _this; - _this setDir 44.175945; - _this setPos [3755.7297, 10172.021, 3.0517578e-005]; -}; - -_vehicle_274 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3746.9348, 10180.749, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_274 = _this; - _this setDir 45.078255; - _this setPos [3746.9348, 10180.749, 3.0517578e-005]; -}; - -_vehicle_275 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_End_3" createVehicle [3751.9839, 10175.709]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_275 = _this; - _this setDir 44.293858; - _this setPos [3751.9839, 10175.709]; -}; - -_vehicle_276 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_End_2" createVehicle [3753.5728, 10174.18]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_276 = _this; - _this setDir 45.260712; - _this setPos [3753.5728, 10174.18]; -}; - -_vehicle_277 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3748.4175, 10185.03, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_277 = _this; - _this setDir 134.92021; - _this setPos [3748.4175, 10185.03, -3.0517578e-005]; -}; - -_vehicle_278 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3752.6172, 10189.266]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_278 = _this; - _this setDir 134.92537; - _this setPos [3752.6172, 10189.266]; -}; - -_vehicle_279 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3756.7288, 10193.433, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_279 = _this; - _this setDir 134.65967; - _this setPos [3756.7288, 10193.433, -3.0517578e-005]; -}; - -_vehicle_280 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3772.1467, 10209.17]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_280 = _this; - _this setDir 134.7368; - _this setPos [3772.1467, 10209.17]; -}; - -_vehicle_281 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4" createVehicle [3767.9802, 10204.938]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_281 = _this; - _this setDir 134.44206; - _this setPos [3767.9802, 10204.938]; -}; - -_vehicle_282 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_4_D" createVehicle [3763.8232, 10200.712]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_282 = _this; - _this setDir 135.30008; - _this setPos [3763.8232, 10200.712]; -}; - -_vehicle_283 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_End_3" createVehicle [3759.4111, 10196.146]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_283 = _this; - _this setDir -46.855453; - _this setPos [3759.4111, 10196.146]; -}; - -_vehicle_284 = objNull; -if (true) then -{ - _this = "MAP_Wall_IndCnc_End_3" createVehicle [3760.8284, 10197.604]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_284 = _this; - _this setDir -45.738556; - _this setPos [3760.8284, 10197.604]; -}; - -_vehicle_293 = objNull; -if (true) then -{ - _this = "MAP_Shed_M02_ruins" createVehicle [3768.8252, 10164.48, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_293 = _this; - _this setDir -45.141129; - _this setPos [3768.8252, 10164.48, -6.1035156e-005]; -}; - -_vehicle_304 = objNull; -if (true) then -{ - _this = "Rubbish5" createVehicle [3773.9319, 10197.524, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_304 = _this; - _this setPos [3773.9319, 10197.524, 3.0517578e-005]; -}; - -_vehicle_305 = objNull; -if (true) then -{ - _this = "ZavoraAnim" createVehicle [3786.52, 10198.715, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_305 = _this; - _this setDir 44.582699; - _this setPos [3786.52, 10198.715, -3.0517578e-005]; -}; - -_vehicle_306 = objNull; -if (true) then -{ - _this = "CampEast" createVehicle [3793.0642, 10181.756]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_306 = _this; - _this setDir 135.25246; - _this setPos [3793.0642, 10181.756]; -}; - -_vehicle_307 = objNull; -if (true) then -{ - _this = "CampEast" createVehicle [3786.783, 10175.574, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_307 = _this; - _this setDir 135.47437; - _this setPos [3786.783, 10175.574, 9.1552734e-005]; -}; - -_vehicle_308 = objNull; -if (true) then -{ - _this = "CampEast" createVehicle [3780.4661, 10169.285, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_308 = _this; - _this setDir 135.32259; - _this setPos [3780.4661, 10169.285, 6.1035156e-005]; -}; - -_vehicle_318 = objNull; -if (true) then -{ - _this = "Land_Ind_BoardsPack1" createVehicle [3785.9409, 10194.699]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_318 = _this; - _this setDir -46.147747; - _this setPos [3785.9409, 10194.699]; -}; - -_vehicle_319 = objNull; -if (true) then -{ - _this = "Land_Ind_BoardsPack1" createVehicle [3786.9773, 10195.8, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_319 = _this; - _this setDir 134.02464; - _this setPos [3786.9773, 10195.8, 6.1035156e-005]; -}; - -_vehicle_320 = objNull; -if (true) then -{ - _this = "Land_Ind_BoardsPack1" createVehicle [3789.1101, 10193.689, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_320 = _this; - _this setDir -45.304409; - _this setPos [3789.1101, 10193.689, -6.1035156e-005]; -}; - -_vehicle_321 = objNull; -if (true) then -{ - _this = "Land_Ind_BoardsPack1" createVehicle [3788.043, 10192.63, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_321 = _this; - _this setDir -45.404705; - _this setPos [3788.043, 10192.63, 6.1035156e-005]; -}; - -_vehicle_322 = objNull; -if (true) then -{ - _this = "MAP_A_Castle_Stairs_A" createVehicle [3779.8196, 10195.759, -8.526885]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_322 = _this; - _this setDir 43.194855; - _this setPos [3779.8196, 10195.759, -8.526885]; -}; - -_vehicle_324 = objNull; -if (true) then -{ - _this = "Land_Misc_deerstand" createVehicle [3774.6978, 10206.236, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_324 = _this; - _this setDir 224.726353; - _this setPos [3774.6978, 10206.236, -3.0517578e-005]; -}; - -_vehicle_325 = objNull; -if (true) then -{ - _this = "FlagCarrierRedCross_EP1" createVehicle [3780.4919, 10202.366, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_325 = _this; - _this setPos [3780.4919, 10202.366, 6.1035156e-005]; -}; - -_vehicle_326 = objNull; -if (true) then -{ - _this = "FlagCarrierRedCross_EP1" createVehicle [3792.1567, 10190.87]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_326 = _this; - _this setPos [3792.1567, 10190.87]; -}; - -_vehicle_327 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [3778.478, 10201.803, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_327 = _this; - _this setDir -42.650253; - _this setPos [3778.478, 10201.803, 3.0517578e-005]; -}; - -_vehicle_328 = objNull; -if (true) then -{ - _this = "Body1" createVehicle [3772.342, 10193.213, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_328 = _this; - _this setPos [3772.342, 10193.213, 3.0517578e-005]; -}; - -_vehicle_329 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [3791.7732, 10184.093, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_329 = _this; - _this setDir 40.07402; - _this setPos [3791.7732, 10184.093, -3.0517578e-005]; -}; - -_vehicle_330 = objNull; -if (true) then -{ - _this = "Body1" createVehicle [3768.9685, 10171.18, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_330 = _this; - _this setPos [3768.9685, 10171.18, 0]; -}; - -_vehicle_331 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [3760.5063, 10178.691]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_331 = _this; - _this setDir 89.311447; - _this setPos [3760.5063, 10178.691]; -}; - -_vehicle_333 = objNull; -if (true) then -{ - _this = "Land_Misc_deerstand" createVehicle [3773.8142, 10158.719, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_333 = _this; - _this setDir -13.109641; - _this setPos [3773.8142, 10158.719, 3.0517578e-005]; -}; - -_vehicle_336 = objNull; -if (true) then -{ - _this = "MAP_asf3_6konec" createVehicle [3826.2429, 10102.542, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_336 = _this; - _this setDir -9.4858913; - _this setPos [3826.2429, 10102.542, -3.0517578e-005]; -}; -}; +[[ + ["MAP_asf3_1_1000",[3825.3159,10108.598,3.0517578e-005],-11.185805], + ["MAP_asf3_1_1000",[3822.219,10125.634,-9.1552734e-005],-9.9437618], + ["ClutterCutter_EP1",[3835.0566,10144.542,0],0], + ["ClutterCutter_EP1",[3822.8149,10135.516,-3.0517578e-005],0], + ["ClutterCutter_EP1",[3825.7717,10115.956,0],0], + ["ClutterCutter_EP1",[3820.7786,10143.821],-11.68897], + ["ClutterCutter_EP1",[3807.7896,10164.764,-3.0517578e-005],0], + ["MAP_asf3_10_100",[3819.3381,10142.812,3.0517578e-005],-8.8621006], + ["MAP_asf3_0_2000",[3817.9858,10160.022,-6.1035156e-005],0.49615318], + ["MAP_asf3_10_75",[3817.2373,10190.405,0.00012207031],-188.83601], + ["MAP_asf3_0_2000",[3817.3105,10190.246,-3.0517578e-005],-8.7227564], + ["MAP_asf3_10_75",[3790.9268,10252.16],133.09224], + ["MAP_asf3_10_75",[3811.3318,10219.895,9.1552734e-005],160.40416], + ["MAP_asf3_10_75",[3806.3643,10231.879,-3.0517578e-005],152.45856], + ["MAP_asf3_10_75",[3799.4526,10242.731,3.0517578e-005],142.91379], + ["MAP_runway_beton",[3724.6187,10212.628,-6.1035156e-005],44.269772], + ["MAP_runway_beton",[3696.0132,10240.534,3.0517578e-005],44.184116], + ["MAP_runway_beton",[3667.377,10268.412,0.00012207031],44.17395], + ["MAP_runway_beton_end1",[3688.8093,10333.029,6.1035156e-005],44.180363], + ["ClutterCutter_EP1",[3760.6812,10261.354,0.00015258789],-0.50650114], + ["ClutterCutter_EP1",[3750.6606,10284.665],-0.50650114], + ["ClutterCutter_EP1",[3743.405,10267.468,-3.0517578e-005],-0.50650114], + ["ClutterCutter_EP1",[3722.5317,10258.217,9.1552734e-005],-0.3346678], + ["ClutterCutter_EP1",[3723.866,10276.214,-3.0517578e-005],-0.50650114], + ["ClutterCutter_EP1",[3713.532,10248.95,0],0], + ["ClutterCutter_EP1",[3736.1445,10245.626,3.0517578e-005],-0.3346678], + ["ClutterCutter_EP1",[3737.3,10226.258,3.0517578e-005],-0.3346678], + ["ClutterCutter_EP1",[3747.9329,10235.669,0],0], + ["ClutterCutter_EP1",[3745.0537,10212.736,-6.1035156e-005],0], + ["ClutterCutter_EP1",[3773.3391,10240.22,3.0517578e-005],0], + ["ClutterCutter_EP1",[3781.0732,10260.768,6.1035156e-005],0], + ["ClutterCutter_EP1",[3781.7546,10246.241,0],0], + ["ClutterCutter_EP1",[3794.8918,10251.539,-3.0517578e-005],0], + ["ClutterCutter_EP1",[3763.8347,10246.762,-3.0517578e-005],0], + ["ClutterCutter_EP1",[3757.3701,10221.23,6.1035156e-005],0], + ["ClutterCutter_EP1",[3728.396,10234.807,-3.0517578e-005],0], + ["ClutterCutter_EP1",[3733.2837,10213.01,0],0], + ["ClutterCutter_EP1",[3761.5564,10274.819,-3.0517578e-005],-0.50650114], + ["ClutterCutter_EP1",[3736.1018,10293.056,3.0517578e-005],-0.50650114], + ["ClutterCutter_EP1",[3738.4109,10278.472,-3.0517578e-005],-0.50650114], + ["ClutterCutter_EP1",[3744.8159,10300.588],-0.50650114], + ["ClutterCutter_EP1",[3730.1162,10307.021,6.1035156e-005],0], + ["ClutterCutter_EP1",[3720.3923,10292.369,3.0517578e-005],-0.50650114], + ["ClutterCutter_EP1",[3705.8743,10285.435,-3.0517578e-005],-0.3346678], + ["ClutterCutter_EP1",[3700.415,10274.433,0],0], + ["ClutterCutter_EP1",[3712.6045,10261.92,-3.0517578e-005],0], + ["ClutterCutter_EP1",[3694.7302,10291.204],-0.6588521], + ["ClutterCutter_EP1",[3707.5022,10300.38],-0.32418403], + ["ClutterCutter_EP1",[3719.0176,10312.553,-3.0517578e-005],-0.32418403], + ["ClutterCutter_EP1",[3716.3813,10324.065,3.0517578e-005],-0.32418403], + ["ClutterCutter_EP1",[3691.6453,10308.996,-3.0517578e-005],-0.32418403], + ["ClutterCutter_EP1",[3683.825,10300.422,-3.0517578e-005],-0.32418403], + ["ClutterCutter_EP1",[3679.2568,10317.911,6.1035156e-005],-0.32418403], + ["ClutterCutter_EP1",[3688.0222,10326.203,6.1035156e-005],-0.32418403], + ["ClutterCutter_EP1",[3677.96,10330.91,-6.1035156e-005],-0.32418403], + ["ClutterCutter_EP1",[3730.3879,10263.984,-3.0517578e-005],-0.50650114], + ["ClutterCutter_EP1",[3723.6025,10248.189],-0.3346678], + ["ClutterCutter_EP1",[3747.5444,10252.567],-0.50650114], + ["ClutterCutter_EP1",[3773.8052,10271.313,6.1035156e-005],0], + ["ClutterCutter_EP1",[3771.5752,10255.088,-6.1035156e-005],0], + ["Land_Hangar_2",[3685.3945,10267.442,-3.0517578e-005],-135.68135], + ["Land_Mil_ControlTower",[3703.4924,10242.177,3.0517578e-005],-225.61891], + ["Land_Mil_Barracks_i",[3718.3674,10233.307,-3.0517578e-005],-45.469822], + ["Land_Mil_Barracks_i",[3667.1182,10284.444,3.0517578e-005],314.29797], + ["Land_SS_hangar",[3711.3408,10192.19,3.0517578e-005],584.09161], + ["MAP_t_picea2s",[3744.1667,10196.554,3.0517578e-005],0], + ["MAP_t_picea2s",[3752.5012,10195.237,3.0517578e-005],0], + ["MAP_t_picea2s",[3751.4607,10202.605],0], + ["MAP_t_picea2s",[3816.1167,10115.302,6.1035156e-005],0], + ["MAP_t_picea2s",[3656.2351,10269.758],0], + ["MAP_t_picea2s",[3707.677,10220.626,3.0517578e-005],0], + ["MAP_t_picea2s",[3675.4695,10235.775],0], + ["MAP_t_picea2s",[3800.3528,10256.13,9.1552734e-005],0], + ["MAP_t_picea2s",[3789.2441,10281.568,9.1552734e-005],0], + ["MAP_t_picea2s",[3827.5901,10179.222,6.1035156e-005],0], + ["MAP_t_picea2s",[3773.6492,10289.699,0.00024414063],-0.50650114], + ["MAP_t_picea2s",[3788.9299,10290.012,0.0002746582],0], + ["MAP_t_picea1s",[3773.0156,10298.371,9.1552734e-005],-0.50650114], + ["MAP_t_picea1s",[3817.0071,10125.276,-9.1552734e-005],0], + ["MAP_t_picea3f",[3782.7583,10284.926,-3.0517578e-005],0], + ["MAP_t_picea3f",[3650.5557,10273.901,0.00030517578],0], + ["MAP_Wall_IndCnc_4_D",[3782.5752,10243.695,3.0517578e-005],134.56789], + ["MAP_Wall_IndCnc_4",[3778.4272,10239.436,6.1035156e-005],134.39149], + ["MAP_Wall_IndCnc_End_2",[3789.0664,10250.226,0.00012207031],-46.774445], + ["MAP_Wall_IndCnc_Pole",[3792.7874,10253.942,3.0517578e-005],43.621632], + ["MAP_Wall_IndCnc_End_3",[3795.0974,10255.253,0.00012207031],-44.757542], + ["MAP_Wall_IndCnc_4",[3791.8928,10258.706],44.484047], + ["MAP_Wall_IndCnc_4",[3787.7219,10262.801,0.00012207031],44.493969], + ["MAP_Wall_IndCnc_4",[3774.3076,10235.189,6.1035156e-005],134.69618], + ["MAP_Wall_IndCnc_4",[3770.1191,10230.896,9.1552734e-005],134.7504], + ["MAP_Wall_IndCnc_4_D",[3765.9397,10226.653],134.58046], + ["MAP_Wall_IndCnc_4",[3761.7883,10222.374,3.0517578e-005],135.12917], + ["MAP_Wall_IndCnc_End_2",[3757.7227,10218.103],132.0087], + ["MAP_Wall_IndCnc_Pole",[3755.8291,10216.196,0.00012207031],36.464252], + ["MAP_Wall_IndCnc_End_3",[3754.8723,10215.169],-45.127731], + ["MAP_Wall_IndCnc_4_D",[3783.3943,10267.038,0.00015258789],43.649479], + ["C130J_wreck_EP1",[3657.696,10358.34,9.1552734e-005],135.67921], + ["Land_Misc_deerstand",[3830.4863,10116.59,3.0517578e-005],-7.137866], + ["Barrels",[3727.5986,10234.664],18.813044], + ["Land_Misc_Garb_Heap_EP1",[3741.1643,10205.446,0.00012207031],0], + ["Paleta2",[3745.0322,10207.586],69.840553], + ["Land_Ind_TankSmall",[3760.5347,10224.95,6.1035156e-005],-44.306816], + ["Land_Ind_TankSmall",[3767.1228,10231.604],-45.187695], + ["HMMWVWreck",[3799.1453,10238.581,-3.0517578e-005],147.31805], + ["UralWreck",[3761.24,10235.726,-3.0517578e-005],-122.48022], + ["MAP_Wall_IndCnc_4",[3664.9065,10271.031,3.0517578e-005],-135.5675], + ["MAP_Wall_IndCnc_4",[3660.6062,10275.168,3.0517578e-005],-135.95262], + ["MAP_Wall_IndCnc_4_D",[3656.3887,10279.318,-3.0517578e-005],-135.06606], + ["MAP_Wall_IndCnc_End_2",[3656.2295,10285.197,0.00015258789],-45.852589], + ["MAP_Wall_IndCnc_End_3",[3654.7195,10282.954],68.389603], + ["MAP_Wall_IndCnc_4",[3659.2837,10288.596],134.1716], + ["MAP_Wall_IndCnc_4_D",[3663.4412,10292.875,3.0517578e-005],134.53278], + ["MAP_Wall_IndCnc_4_D",[3689.9351,10246.914,9.1552734e-005],44.088318], + ["MAP_Wall_IndCnc_End_3",[3694.5596,10242.785],43.065742], + ["MAP_Wall_IndCnc_4",[3704.9841,10232.024,-3.0517578e-005],44.97723], + ["MAP_Wall_IndCnc_4",[3709.2427,10227.833],44.833263], + ["ClutterCutter_EP1",[3701.1414,10341.037,-6.1035156e-005],0], + ["ClutterCutter_EP1",[3710.1155,10333.934,-3.0517578e-005],0], + ["ClutterCutter_EP1",[3694.7322,10344.322,0],0], + ["ClutterCutter_EP1",[3682.9941,10359.47,-3.0517578e-005],0], + ["ClutterCutter_EP1",[3702.1204,10313.281,-3.0517578e-005],0], + ["ClutterCutter_EP1",[3671.4377,10298.156,-6.1035156e-005],0], + ["Body2",[3764.113,10239.477],0], + ["Body1",[3719.1694,10258.491,-3.0517578e-005],0], + ["Body2",[3721.6797,10243.908,-3.0517578e-005],-111.08324], + ["Body2",[3713.2722,10243.904,3.0517578e-005],0], + ["Body1",[3757.3967,10229.175,0],0], + ["Body2",[3802.0686,10235.992,-3.0517578e-005],31.964434], + ["Body2",[3669.8408,10296.382,-3.0517578e-005],0], + ["Body1",[3675.3115,10297.215,0],0], + ["hiluxWreck",[3788.2188,10255.365,3.0517578e-005],107.26485], + ["Body2",[3785.5476,10259.679,3.0517578e-005],117.29826], + ["AmmoCrates_NoInteractive_Large",[3715.9766,10251.991],0], + ["Land_Misc_Cargo1E_EP1",[3719.9546,10204.804,6.1035156e-005],0], + ["Misc_Cargo1Bo_military",[3724.1721,10225.582,0.00018310547],71.360115], + ["Land_Misc_Cargo1E_EP1",[3773.1011,10240.897,3.0517578e-005],-42.60405], + ["Land_Misc_Cargo1E_EP1",[3776.1331,10244.344],-59.835663], + ["Land_Misc_Cargo1E_EP1",[3779.8481,10246.981,-3.0517578e-005],-37.084934], + ["MAP_asf3_1_1000",[3783.4404,10200.586,3.0517578e-005],44.57972], + ["MAP_asf3_15_75",[3795.6882,10212.797,3.0517578e-005],45.67374], + ["ClutterCutter_EP1",[3793.5476,10160.691,3.0517578e-005],44.696571], + ["ClutterCutter_EP1",[3777.782,10159.95,-3.0517578e-005],44.696571], + ["ClutterCutter_EP1",[3765.2056,10158.893,-3.0517578e-005],44.696571], + ["ClutterCutter_EP1",[3783.0032,10174.156,3.0517578e-005],44.696571], + ["ClutterCutter_EP1",[3770.5981,10172.787],44.696571], + ["ClutterCutter_EP1",[3765.8508,10185.534],0], + ["ClutterCutter_EP1",[3778.9431,10195.28],0], + ["ClutterCutter_EP1",[3795.4836,10172.459,3.0517578e-005],44.696571], + ["MAP_runwayold_40_main",[3773.6821,10182.305],44.696571], + ["ClutterCutter_EP1",[3793.9382,10186.377,3.0517578e-005],0], + ["ClutterCutter_EP1",[3767.1121,10198.916,9.1552734e-005],0], + ["ClutterCutter_EP1",[3780.3613,10183.857,9.1552734e-005],0], + ["Barrack2",[3754.2629,10180.587,3.0517578e-005],-44.416225], + ["Barrack2",[3759.4336,10185.654,3.0517578e-005],-44.273655], + ["MASH_EP1",[3763.2378,10192.063,3.0517578e-005],135.73686], + ["MASH_EP1",[3767.9285,10196.819,3.0517578e-005],135.27429], + ["MAP_Wall_IndCnc_4",[3780.3948,10203.67,3.0517578e-005],-135.03011], + ["MAP_Wall_IndCnc_4",[3776.2805,10207.763,6.1035156e-005],-134.95572], + ["MAP_Wall_IndCnc_4",[3786.5605,10197.565],44.728886], + ["MAP_Wall_IndCnc_4",[3790.8044,10193.417],44.607571], + ["MAP_Wall_IndCnc_4_D",[3794.9731,10189.274,9.1552734e-005],45.038445], + ["MAP_Wall_IndCnc_4",[3799.012,10185.269,6.1035156e-005],44.742367], + ["MAP_Wall_IndCnc_4",[3800.4587,10181.13],134.63934], + ["MAP_Wall_IndCnc_4",[3796.2705,10176.872,3.0517578e-005],134.942], + ["MAP_Wall_IndCnc_4",[3792.1367,10172.675,-3.0517578e-005],134.00362], + ["MAP_Wall_IndCnc_4_D",[3787.9158,10168.415,-6.1035156e-005],134.6832], + ["MAP_Wall_IndCnc_4",[3783.7405,10164.178],134.5287], + ["MAP_Wall_IndCnc_4",[3779.5869,10159.958,3.0517578e-005],135.18356], + ["MAP_Wall_IndCnc_End_2",[3775.072,10155.492,3.0517578e-005],-44.03801], + ["MAP_Wall_IndCnc_Pole",[3771.2969,10156.688,3.0517578e-005],-43.831253], + ["MAP_Wall_IndCnc_End_3",[3776.5454,10156.865,3.0517578e-005],-45.779484], + ["MAP_Wall_IndCnc_End_3",[3773.9424,10154.893,-9.1552734e-005],45.019844], + ["MAP_Wall_IndCnc_4",[3768.3975,10159.543,-3.0517578e-005],44.803612], + ["MAP_Wall_IndCnc_4",[3764.188,10163.698,6.1035156e-005],44.7495], + ["MAP_Wall_IndCnc_4_D",[3760.0066,10167.846,6.1035156e-005],44.524143], + ["MAP_Wall_IndCnc_4_D",[3755.7297,10172.021,3.0517578e-005],44.175945], + ["MAP_Wall_IndCnc_4",[3746.9348,10180.749,3.0517578e-005],45.078255], + ["MAP_Wall_IndCnc_End_3",[3751.9839,10175.709],44.293858], + ["MAP_Wall_IndCnc_End_2",[3753.5728,10174.18],45.260712], + ["MAP_Wall_IndCnc_4",[3748.4175,10185.03,-3.0517578e-005],134.92021], + ["MAP_Wall_IndCnc_4",[3752.6172,10189.266],134.92537], + ["MAP_Wall_IndCnc_4",[3756.7288,10193.433,-3.0517578e-005],134.65967], + ["MAP_Wall_IndCnc_4",[3772.1467,10209.17],134.7368], + ["MAP_Wall_IndCnc_4",[3767.9802,10204.938],134.44206], + ["MAP_Wall_IndCnc_4_D",[3763.8232,10200.712],135.30008], + ["MAP_Wall_IndCnc_End_3",[3759.4111,10196.146],-46.855453], + ["MAP_Wall_IndCnc_End_3",[3760.8284,10197.604],-45.738556], + ["MAP_Shed_M02_ruins",[3768.8252,10164.48,-6.1035156e-005],-45.141129], + ["Rubbish5",[3773.9319,10197.524,3.0517578e-005],0], + ["ZavoraAnim",[3786.52,10198.715,-3.0517578e-005],44.582699], + ["CampEast",[3793.0642,10181.756],135.25246], + ["CampEast",[3786.783,10175.574,9.1552734e-005],135.47437], + ["CampEast",[3780.4661,10169.285,6.1035156e-005],135.32259], + ["Land_Ind_BoardsPack1",[3785.9409,10194.699],-46.147747], + ["Land_Ind_BoardsPack1",[3786.9773,10195.8,6.1035156e-005],134.02464], + ["Land_Ind_BoardsPack1",[3789.1101,10193.689,-6.1035156e-005],-45.304409], + ["Land_Ind_BoardsPack1",[3788.043,10192.63,6.1035156e-005],-45.404705], + ["MAP_A_Castle_Stairs_A",[3779.8196,10195.759,-8.526885],43.194855], + ["Land_Misc_deerstand",[3774.6978,10206.236,-3.0517578e-005],224.726353], + ["FlagCarrierRedCross_EP1",[3780.4919,10202.366,6.1035156e-005],0], + ["FlagCarrierRedCross_EP1",[3792.1567,10190.87],0], + ["Body2",[3778.478,10201.803,3.0517578e-005],-42.650253], + ["Body1",[3772.342,10193.213,3.0517578e-005],0], + ["Body2",[3791.7732,10184.093,-3.0517578e-005],40.07402], + ["Body1",[3768.9685,10171.18,0],0], + ["Body2",[3760.5063,10178.691],89.311447], + ["Land_Misc_deerstand",[3773.8142,10158.719,3.0517578e-005],-13.109641], + ["MAP_asf3_6konec",[3826.2429,10102.542,-3.0517578e-005],-9.4858913] +],false,false,false] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/NEA.sqf b/SQF/dayz_code/system/mission/chernarus/poi/NEA.sqf index 4d6dd216..83c945e6 100644 --- a/SQF/dayz_code/system/mission/chernarus/poi/NEA.sqf +++ b/SQF/dayz_code/system/mission/chernarus/poi/NEA.sqf @@ -1,3959 +1,392 @@ -//New NEA DayZ -//Created by Dr Bane 20/11/2013 -//Copyright Dr Bane And Musty Gaming - -if (isServer) then { - -_vehicle_5 = objNull; -if (true) then -{ - _this = "MAP_runway_beton" createVehicle [11833.352, 12724.786, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_5 = _this; - _this setDir 199.17528; - _this setPos [11833.352, 12724.786, 3.0517578e-005]; -}; - -_vehicle_6 = objNull; -if (true) then -{ - _this = "MAP_runway_dirt_1" createVehicle [12104.935, 12714.147, 0.00015258789]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_6 = _this; - _this setDir -70.88578; - _this setPos [12104.935, 12714.147, 0.00015258789]; -}; - -_vehicle_7 = objNull; -if (true) then -{ - _this = "MAP_runway_dirt_2" createVehicle [12029.501, 12740.337, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_7 = _this; - _this setDir -70.997932; - _this setPos [12029.501, 12740.337, 6.1035156e-005]; -}; - -_vehicle_8 = objNull; -if (true) then -{ - _this = "MAP_runway_dirt_3" createVehicle [11953.965, 12766.381, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_8 = _this; - _this setDir -70.944405; - _this setPos [11953.965, 12766.381, 3.0517578e-005]; -}; - -_vehicle_9 = objNull; -if (true) then -{ - _this = "MAP_runway_end15" createVehicle [11822.007, 12812.468, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_9 = _this; - _this setDir -70.471237; - _this setPos [11822.007, 12812.468, 3.0517578e-005]; -}; - -_vehicle_10 = objNull; -if (true) then -{ - _this = "MAP_runway_end33" createVehicle [12444.145, 12595.791]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_10 = _this; - _this setDir -70.591644; - _this setPos [12444.145, 12595.791]; -}; - -_vehicle_15 = objNull; -if (true) then -{ - _this = "MAP_runway_poj_draha" createVehicle [12115.081, 12679.46, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_15 = _this; - _this setDir -71.017082; - _this setPos [12115.081, 12679.46, 1.5258789e-005]; -}; - -_vehicle_19 = objNull; -if (true) then -{ - _this = "MAP_runway_poj_draha" createVehicle [12039.447, 12705.5, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_19 = _this; - _this setDir -70.887802; - _this setPos [12039.447, 12705.5, 1.5258789e-005]; -}; - -_vehicle_20 = objNull; -if (true) then -{ - _this = "MAP_runway_poj_draha" createVehicle [12190.391, 12653.309]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_20 = _this; - _this setDir -70.618553; - _this setPos [12190.391, 12653.309]; -}; - -_vehicle_21 = objNull; -if (true) then -{ - _this = "MAP_runway_poj_draha" createVehicle [12265.765, 12626.79, -7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_21 = _this; - _this setDir -70.65612; - _this setPos [12265.765, 12626.79, -7.6293945e-005]; -}; - -_vehicle_22 = objNull; -if (true) then -{ - _this = "MAP_runway_poj_draha" createVehicle [11964.168, 12731.456, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_22 = _this; - _this setDir -70.973801; - _this setPos [11964.168, 12731.456, 4.5776367e-005]; -}; - -_vehicle_23 = objNull; -if (true) then -{ - _this = "MAP_runway_poj_draha" createVehicle [11888.549, 12757.641]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_23 = _this; - _this setDir -70.747444; - _this setPos [11888.549, 12757.641]; -}; - -_vehicle_25 = objNull; -if (true) then -{ - _this = "MAP_runway_poj_L_2_end" createVehicle [11822.448, 12754.064, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_25 = _this; - _this setDir 19.445869; - _this setPos [11822.448, 12754.064, 1.5258789e-005]; -}; - -_vehicle_26 = objNull; -if (true) then -{ - _this = "MAP_runway_main" createVehicle [12180.6, 12688.236, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_26 = _this; - _this setDir -71.078163; - _this setPos [12180.6, 12688.236, -6.1035156e-005]; -}; - -_vehicle_27 = objNull; -if (true) then -{ - _this = "MAP_runway_main" createVehicle [12255.914, 12662.013]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_27 = _this; - _this setDir -70.771332; - _this setPos [12255.914, 12662.013]; -}; - -_vehicle_28 = objNull; -if (true) then -{ - _this = "MAP_runway_main" createVehicle [12331.299, 12635.485, 0.00010681152]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_28 = _this; - _this setDir -70.614288; - _this setPos [12331.299, 12635.485, 0.00010681152]; -}; - -_vehicle_29 = objNull; -if (true) then -{ - _this = "MAP_runway_main" createVehicle [12406.705, 12609.01]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_29 = _this; - _this setDir -70.66494; - _this setPos [12406.705, 12609.01]; -}; - -_vehicle_30 = objNull; -if (true) then -{ - _this = "MAP_runway_poj_L_1_end" createVehicle [12451.45, 12555.947]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_30 = _this; - _this setDir 19.091259; - _this setPos [12451.45, 12555.947]; -}; - -_vehicle_36 = objNull; -if (true) then -{ - _this = "MAP_runway_poj_draha" createVehicle [12341.155, 12600.269, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_36 = _this; - _this setDir -70.444229; - _this setPos [12341.155, 12600.269, 3.0517578e-005]; -}; - -_vehicle_37 = objNull; -if (true) then -{ - _this = "MAP_runway_poj_draha" createVehicle [12414.951, 12574.252, 0.00010681152]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_37 = _this; - _this setDir -70.63224; - _this setPos [12414.951, 12574.252, 0.00010681152]; -}; - -_vehicle_38 = objNull; -if (true) then -{ - _this = "MAP_runway_poj_draha" createVehicle [11791.481, 12695.446]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_38 = _this; - _this setDir 19.106287; - _this setPos [11791.481, 12695.446]; -}; - -_vehicle_39 = objNull; -if (true) then -{ - _this = "MAP_runway_poj_L_2_end" createVehicle [11795.605, 12631.493, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_39 = _this; - _this setDir -70.53743; - _this setPos [11795.605, 12631.493, -3.0517578e-005]; -}; - -_vehicle_44 = objNull; -if (true) then -{ - _this = "MAP_runway_poj_L_2_end" createVehicle [11842.692, 12630.96, -4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_44 = _this; - _this setDir -160.8102; - _this setPos [11842.692, 12630.96, -4.5776367e-005]; -}; - -_vehicle_45 = objNull; -if (true) then -{ - _this = "MAP_runway_poj_draha" createVehicle [11873.847, 12689.994, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_45 = _this; - _this setDir -160.6732; - _this setPos [11873.847, 12689.994, 3.0517578e-005]; -}; - -_vehicle_46 = objNull; -if (true) then -{ - _this = "MAP_runway_poj_T_1" createVehicle [11890.456, 12735.828, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_46 = _this; - _this setDir -70.75457; - _this setPos [11890.456, 12735.828, -1.5258789e-005]; -}; - -_vehicle_47 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12449.138, 12601.985, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_47 = _this; - _this setPos [12449.138, 12601.985, -1.5258789e-005]; -}; - -_vehicle_48 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12448.269, 12583.205, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_48 = _this; - _this setPos [12448.269, 12583.205, 6.1035156e-005]; -}; - -_vehicle_49 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12457.416, 12591.121, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_49 = _this; - _this setPos [12457.416, 12591.121, 3.0517578e-005]; -}; - -_vehicle_50 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12443.967, 12572.388, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_50 = _this; - _this setPos [12443.967, 12572.388, 1.5258789e-005]; -}; - -_vehicle_51 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12440.153, 12558.789, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_51 = _this; - _this setPos [12440.153, 12558.789, 3.0517578e-005]; -}; - -_vehicle_52 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12443.545, 12547.887, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_52 = _this; - _this setPos [12443.545, 12547.887, 9.1552734e-005]; -}; - -_vehicle_53 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12441.473, 12609.4, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_53 = _this; - _this setPos [12441.473, 12609.4, 3.0517578e-005]; -}; - -_vehicle_54 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12430.711, 12593.027, 0.0001373291]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_54 = _this; - _this setPos [12430.711, 12593.027, 0.0001373291]; -}; - -_vehicle_55 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12425.938, 12581.104, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_55 = _this; - _this setPos [12425.938, 12581.104, 4.5776367e-005]; -}; - -_vehicle_56 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12424.284, 12565.177, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_56 = _this; - _this setPos [12424.284, 12565.177, 3.0517578e-005]; -}; - -_vehicle_57 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12410.519, 12572.005, -9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_57 = _this; - _this setPos [12410.519, 12572.005, -9.1552734e-005]; -}; - -_vehicle_58 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12414.055, 12590.268, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_58 = _this; - _this setPos [12414.055, 12590.268, 3.0517578e-005]; -}; - -_vehicle_59 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12424.613, 12606.827, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_59 = _this; - _this setPos [12424.613, 12606.827, -1.5258789e-005]; -}; - -_vehicle_60 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12427.446, 12617.969, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_60 = _this; - _this setPos [12427.446, 12617.969, 1.5258789e-005]; -}; - -_vehicle_61 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12411.921, 12620.701, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_61 = _this; - _this setPos [12411.921, 12620.701, 3.0517578e-005]; -}; - -_vehicle_62 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12408.554, 12605.682, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_62 = _this; - _this setPos [12408.554, 12605.682, -3.0517578e-005]; -}; - -_vehicle_63 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12400.531, 12594.063, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_63 = _this; - _this setPos [12400.531, 12594.063, 1.5258789e-005]; -}; - -_vehicle_64 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12400.095, 12582.44, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_64 = _this; - _this setPos [12400.095, 12582.44, -1.5258789e-005]; -}; - -_vehicle_65 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12393.105, 12577.232, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_65 = _this; - _this setPos [12393.105, 12577.232, 0]; -}; - -_vehicle_66 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12380.116, 12582.962, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_66 = _this; - _this setPos [12380.116, 12582.962, 4.5776367e-005]; -}; - -_vehicle_67 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12384.822, 12597.572, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_67 = _this; - _this setPos [12384.822, 12597.572, -1.5258789e-005]; -}; - -_vehicle_68 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12391.923, 12609.14, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_68 = _this; - _this setPos [12391.923, 12609.14, 1.5258789e-005]; -}; - -_vehicle_69 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12396.623, 12622.667, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_69 = _this; - _this setPos [12396.623, 12622.667, 3.0517578e-005]; -}; - -_vehicle_70 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12384.899, 12630.688, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_70 = _this; - _this setPos [12384.899, 12630.688, 0]; -}; - -_vehicle_71 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12378.116, 12617.534, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_71 = _this; - _this setPos [12378.116, 12617.534, 0]; -}; - -_vehicle_72 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12370.082, 12606.084, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_72 = _this; - _this setPos [12370.082, 12606.084, 1.5258789e-005]; -}; - -_vehicle_73 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12367.645, 12594.518, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_73 = _this; - _this setPos [12367.645, 12594.518, 1.5258789e-005]; -}; - -_vehicle_74 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12364.29, 12588.428, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_74 = _this; - _this setPos [12364.29, 12588.428, 0]; -}; - -_vehicle_75 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12352.762, 12594.353, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_75 = _this; - _this setPos [12352.762, 12594.353, 0]; -}; - -_vehicle_76 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12356.578, 12605.061, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_76 = _this; - _this setPos [12356.578, 12605.061, 0]; -}; - -_vehicle_77 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12360.133, 12616.088, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_77 = _this; - _this setPos [12360.133, 12616.088, 0]; -}; - -_vehicle_78 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12365.306, 12628.296, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_78 = _this; - _this setPos [12365.306, 12628.296, 3.0517578e-005]; -}; - -_vehicle_79 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12370.574, 12637.955, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_79 = _this; - _this setPos [12370.574, 12637.955, 1.5258789e-005]; -}; - -_vehicle_80 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12355.402, 12640.513, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_80 = _this; - _this setPos [12355.402, 12640.513, 0]; -}; - -_vehicle_81 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12347.492, 12627.549, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_81 = _this; - _this setPos [12347.492, 12627.549, 1.5258789e-005]; -}; - -_vehicle_82 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12343.257, 12613.442, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_82 = _this; - _this setPos [12343.257, 12613.442, 0]; -}; - -_vehicle_83 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12338.662, 12600.644, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_83 = _this; - _this setPos [12338.662, 12600.644, -6.1035156e-005]; -}; - -_vehicle_84 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12325.665, 12603.455, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_84 = _this; - _this setPos [12325.665, 12603.455, 4.5776367e-005]; -}; - -_vehicle_85 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12328.533, 12614.692, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_85 = _this; - _this setPos [12328.533, 12614.692, 1.5258789e-005]; -}; - -_vehicle_86 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12334.059, 12626.479, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_86 = _this; - _this setPos [12334.059, 12626.479, 0]; -}; - -_vehicle_87 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12337.212, 12639.277, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_87 = _this; - _this setPos [12337.212, 12639.277, 4.5776367e-005]; -}; - -_vehicle_88 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12341.688, 12649.561, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_88 = _this; - _this setPos [12341.688, 12649.561, 0]; -}; - -_vehicle_89 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12326.564, 12651.172, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_89 = _this; - _this setPos [12326.564, 12651.172, -1.5258789e-005]; -}; - -_vehicle_90 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12321.225, 12637.012, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_90 = _this; - _this setPos [12321.225, 12637.012, -1.5258789e-005]; -}; - -_vehicle_91 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12316.511, 12625.511, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_91 = _this; - _this setPos [12316.511, 12625.511, -3.0517578e-005]; -}; - -_vehicle_92 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12312.228, 12614.416, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_92 = _this; - _this setPos [12312.228, 12614.416, 1.5258789e-005]; -}; - -_vehicle_93 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12311.803, 12607.522, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_93 = _this; - _this setPos [12311.803, 12607.522, 3.0517578e-005]; -}; - -_vehicle_94 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12300.34, 12610.76, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_94 = _this; - _this setPos [12300.34, 12610.76, 0]; -}; - -_vehicle_95 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12303.121, 12619.515, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_95 = _this; - _this setPos [12303.121, 12619.515, -6.1035156e-005]; -}; - -_vehicle_96 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12306.826, 12631.679, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_96 = _this; - _this setPos [12306.826, 12631.679, 3.0517578e-005]; -}; - -_vehicle_97 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12309.497, 12643.105, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_97 = _this; - _this setPos [12309.497, 12643.105, 0]; -}; - -_vehicle_98 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12313.968, 12655.063, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_98 = _this; - _this setPos [12313.968, 12655.063, -3.0517578e-005]; -}; - -_vehicle_99 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12302.725, 12659.687, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_99 = _this; - _this setPos [12302.725, 12659.687, -3.0517578e-005]; -}; - -_vehicle_100 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12298.065, 12648.667, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_100 = _this; - _this setPos [12298.065, 12648.667, 3.0517578e-005]; -}; - -_vehicle_101 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12294.225, 12636.635, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_101 = _this; - _this setPos [12294.225, 12636.635, 0]; -}; - -_vehicle_102 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12291.446, 12626.848, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_102 = _this; - _this setPos [12291.446, 12626.848, 1.5258789e-005]; -}; - -_vehicle_103 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12287.464, 12614.992, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_103 = _this; - _this setPos [12287.464, 12614.992, -1.5258789e-005]; -}; - -_vehicle_104 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12276.107, 12618.728, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_104 = _this; - _this setPos [12276.107, 12618.728, 4.5776367e-005]; -}; - -_vehicle_105 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12279.14, 12630.001, 0.00016784668]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_105 = _this; - _this setPos [12279.14, 12630.001, 0.00016784668]; -}; - -_vehicle_106 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12282.44, 12640.776, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_106 = _this; - _this setPos [12282.44, 12640.776, -3.0517578e-005]; -}; - -_vehicle_107 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12287.094, 12654.634, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_107 = _this; - _this setPos [12287.094, 12654.634, 0]; -}; - -_vehicle_108 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12290.029, 12664.062, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_108 = _this; - _this setPos [12290.029, 12664.062, 1.5258789e-005]; -}; - -_vehicle_109 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12279.977, 12667.794, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_109 = _this; - _this setPos [12279.977, 12667.794, 1.5258789e-005]; -}; - -_vehicle_110 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12274.697, 12654.005, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_110 = _this; - _this setPos [12274.697, 12654.005, 1.5258789e-005]; -}; - -_vehicle_111 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12269.475, 12641.901, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_111 = _this; - _this setPos [12269.475, 12641.901, 3.0517578e-005]; -}; - -_vehicle_112 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12265.341, 12628.562, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_112 = _this; - _this setPos [12265.341, 12628.562, -1.5258789e-005]; -}; - -_vehicle_113 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12261.723, 12623.555, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_113 = _this; - _this setPos [12261.723, 12623.555, 4.5776367e-005]; -}; - -_vehicle_114 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12266.063, 12670.29, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_114 = _this; - _this setPos [12266.063, 12670.29, 4.5776367e-005]; -}; - -_vehicle_115 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12260.409, 12655.261, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_115 = _this; - _this setPos [12260.409, 12655.261, 3.0517578e-005]; -}; - -_vehicle_116 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12252.529, 12643.91, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_116 = _this; - _this setPos [12252.529, 12643.91, 3.0517578e-005]; -}; - -_vehicle_117 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12248.785, 12630.418, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_117 = _this; - _this setPos [12248.785, 12630.418, 0]; -}; - -_vehicle_118 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12237.637, 12634.719, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_118 = _this; - _this setPos [12237.637, 12634.719, 0]; -}; - -_vehicle_119 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12240.345, 12644.953, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_119 = _this; - _this setPos [12240.345, 12644.953, -1.5258789e-005]; -}; - -_vehicle_120 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12245.996, 12656.736, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_120 = _this; - _this setPos [12245.996, 12656.736, 3.0517578e-005]; -}; - -_vehicle_121 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12250.003, 12669.15, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_121 = _this; - _this setPos [12250.003, 12669.15, 1.5258789e-005]; -}; - -_vehicle_122 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12253.217, 12678.033, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_122 = _this; - _this setPos [12253.217, 12678.033, 1.5258789e-005]; -}; - -_vehicle_123 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12236.409, 12683.36, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_123 = _this; - _this setPos [12236.409, 12683.36, 3.0517578e-005]; -}; - -_vehicle_124 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12234.014, 12668.953, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_124 = _this; - _this setPos [12234.014, 12668.953, 0]; -}; - -_vehicle_125 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12227.477, 12655.744, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_125 = _this; - _this setPos [12227.477, 12655.744, 1.5258789e-005]; -}; - -_vehicle_126 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12224.586, 12645.112, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_126 = _this; - _this setPos [12224.586, 12645.112, 1.5258789e-005]; -}; - -_vehicle_127 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12224.12, 12636.691, -4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_127 = _this; - _this setPos [12224.12, 12636.691, -4.5776367e-005]; -}; - -_vehicle_128 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12210.236, 12642.979, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_128 = _this; - _this setPos [12210.236, 12642.979, 1.5258789e-005]; -}; - -_vehicle_129 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12213.331, 12655.859, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_129 = _this; - _this setPos [12213.331, 12655.859, 0]; -}; - -_vehicle_130 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12217.076, 12667.909, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_130 = _this; - _this setPos [12217.076, 12667.909, 6.1035156e-005]; -}; - -_vehicle_131 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12222.063, 12679.743, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_131 = _this; - _this setPos [12222.063, 12679.743, 1.5258789e-005]; -}; - -_vehicle_132 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12223.627, 12688.579, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_132 = _this; - _this setPos [12223.627, 12688.579, 1.5258789e-005]; -}; - -_vehicle_133 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12211.212, 12691.705, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_133 = _this; - _this setPos [12211.212, 12691.705, -1.5258789e-005]; -}; - -_vehicle_134 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12206.646, 12678.009, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_134 = _this; - _this setPos [12206.646, 12678.009, 3.0517578e-005]; -}; - -_vehicle_135 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12202.547, 12667.329, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_135 = _this; - _this setPos [12202.547, 12667.329, 0]; -}; - -_vehicle_136 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12198.567, 12656.072, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_136 = _this; - _this setPos [12198.567, 12656.072, 3.0517578e-005]; -}; - -_vehicle_137 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12196.364, 12646.344, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_137 = _this; - _this setPos [12196.364, 12646.344, -6.1035156e-005]; -}; - -_vehicle_138 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12184.147, 12652.874, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_138 = _this; - _this setPos [12184.147, 12652.874, 6.1035156e-005]; -}; - -_vehicle_139 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12185.381, 12665.954, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_139 = _this; - _this setPos [12185.381, 12665.954, -3.0517578e-005]; -}; - -_vehicle_140 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12190.479, 12679.198, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_140 = _this; - _this setPos [12190.479, 12679.198, 0]; -}; - -_vehicle_141 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12195.455, 12694.118, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_141 = _this; - _this setPos [12195.455, 12694.118, 0]; -}; - -_vehicle_142 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12203.523, 12698.949, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_142 = _this; - _this setPos [12203.523, 12698.949, 0]; -}; - -_vehicle_143 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12184.054, 12700.647, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_143 = _this; - _this setPos [12184.054, 12700.647, 0]; -}; - -_vehicle_144 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12178.159, 12686.023, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_144 = _this; - _this setPos [12178.159, 12686.023, 3.0517578e-005]; -}; - -_vehicle_145 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12173.937, 12673.232, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_145 = _this; - _this setPos [12173.937, 12673.232, 0]; -}; - -_vehicle_146 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12170.143, 12661.287, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_146 = _this; - _this setPos [12170.143, 12661.287, 4.5776367e-005]; -}; - -_vehicle_147 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12172.007, 12653.897, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_147 = _this; - _this setPos [12172.007, 12653.897, 7.6293945e-005]; -}; - -_vehicle_148 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12157.32, 12660.926, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_148 = _this; - _this setPos [12157.32, 12660.926, 0]; -}; - -_vehicle_149 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12160.194, 12672.946, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_149 = _this; - _this setPos [12160.194, 12672.946, 3.0517578e-005]; -}; - -_vehicle_150 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12162.611, 12684.836, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_150 = _this; - _this setPos [12162.611, 12684.836, 0]; -}; - -_vehicle_151 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12165.782, 12696.961, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_151 = _this; - _this setPos [12165.782, 12696.961, 0]; -}; - -_vehicle_152 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12170.319, 12706.323, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_152 = _this; - _this setPos [12170.319, 12706.323, 1.5258789e-005]; -}; - -_vehicle_153 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12157.438, 12710.313, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_153 = _this; - _this setPos [12157.438, 12710.313, 3.0517578e-005]; -}; - -_vehicle_154 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12152.704, 12695.341, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_154 = _this; - _this setPos [12152.704, 12695.341, 0]; -}; - -_vehicle_155 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12148.332, 12682.457, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_155 = _this; - _this setPos [12148.332, 12682.457, 0]; -}; - -_vehicle_156 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12144.785, 12670.386, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_156 = _this; - _this setPos [12144.785, 12670.386, 1.5258789e-005]; -}; - -_vehicle_157 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12135.607, 12665.504, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_157 = _this; - _this setPos [12135.607, 12665.504, 1.5258789e-005]; -}; - -_vehicle_158 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12136.784, 12679.706, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_158 = _this; - _this setPos [12136.784, 12679.706, 0]; -}; - -_vehicle_159 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12138.868, 12691.088, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_159 = _this; - _this setPos [12138.868, 12691.088, 1.5258789e-005]; -}; - -_vehicle_160 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12142.33, 12703.661, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_160 = _this; - _this setPos [12142.33, 12703.661, 6.1035156e-005]; -}; - -_vehicle_161 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12143.224, 12715.053, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_161 = _this; - _this setPos [12143.224, 12715.053, 0]; -}; - -_vehicle_162 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12134.386, 12718.184, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_162 = _this; - _this setPos [12134.386, 12718.184, 3.0517578e-005]; -}; - -_vehicle_163 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12128.65, 12704.532, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_163 = _this; - _this setPos [12128.65, 12704.532, 0]; -}; - -_vehicle_164 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12123.266, 12688.767, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_164 = _this; - _this setPos [12123.266, 12688.767, 3.0517578e-005]; -}; - -_vehicle_165 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12123.714, 12674.122, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_165 = _this; - _this setPos [12123.714, 12674.122, 3.0517578e-005]; -}; - -_vehicle_166 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12109.708, 12678.537, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_166 = _this; - _this setPos [12109.708, 12678.537, 3.0517578e-005]; -}; - -_vehicle_167 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12113.136, 12693.396, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_167 = _this; - _this setPos [12113.136, 12693.396, -1.5258789e-005]; -}; - -_vehicle_168 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12117.562, 12707.989, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_168 = _this; - _this setPos [12117.562, 12707.989, 0]; -}; - -_vehicle_169 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12122.133, 12720.513, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_169 = _this; - _this setPos [12122.133, 12720.513, 3.0517578e-005]; -}; - -_vehicle_170 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12111.721, 12725.703, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_170 = _this; - _this setPos [12111.721, 12725.703, 3.0517578e-005]; -}; - -_vehicle_171 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12105.696, 12710.837, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_171 = _this; - _this setPos [12105.696, 12710.837, -1.5258789e-005]; -}; - -_vehicle_172 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12100.185, 12695.581, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_172 = _this; - _this setPos [12100.185, 12695.581, 3.0517578e-005]; -}; - -_vehicle_173 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12095.888, 12686.208, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_173 = _this; - _this setPos [12095.888, 12686.208, 0]; -}; - -_vehicle_174 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12080.766, 12690.188, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_174 = _this; - _this setPos [12080.766, 12690.188, 3.0517578e-005]; -}; - -_vehicle_175 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12085.862, 12701.523, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_175 = _this; - _this setPos [12085.862, 12701.523, 1.5258789e-005]; -}; - -_vehicle_176 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12088.903, 12713.447, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_176 = _this; - _this setPos [12088.903, 12713.447, 3.0517578e-005]; -}; - -_vehicle_177 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12092.709, 12725.762, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_177 = _this; - _this setPos [12092.709, 12725.762, 1.5258789e-005]; -}; - -_vehicle_178 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12096.975, 12733.729, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_178 = _this; - _this setPos [12096.975, 12733.729, 1.5258789e-005]; -}; - -_vehicle_179 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12085.109, 12736.413, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_179 = _this; - _this setPos [12085.109, 12736.413, 0]; -}; - -_vehicle_180 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12079.017, 12724.349, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_180 = _this; - _this setPos [12079.017, 12724.349, 1.5258789e-005]; -}; - -_vehicle_181 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12073.448, 12712.842, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_181 = _this; - _this setPos [12073.448, 12712.842, 0]; -}; - -_vehicle_182 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12069.974, 12701.076, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_182 = _this; - _this setPos [12069.974, 12701.076, 1.5258789e-005]; -}; - -_vehicle_183 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12065.617, 12690.351, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_183 = _this; - _this setPos [12065.617, 12690.351, 9.1552734e-005]; -}; - -_vehicle_184 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12053.842, 12696.022, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_184 = _this; - _this setPos [12053.842, 12696.022, 0]; -}; - -_vehicle_185 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12057.136, 12708.982, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_185 = _this; - _this setPos [12057.136, 12708.982, 6.1035156e-005]; -}; - -_vehicle_186 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12060.514, 12720.233, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_186 = _this; - _this setPos [12060.514, 12720.233, 1.5258789e-005]; -}; - -_vehicle_187 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12064.432, 12730.609, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_187 = _this; - _this setPos [12064.432, 12730.609, 1.5258789e-005]; -}; - -_vehicle_188 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12071.859, 12740.11, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_188 = _this; - _this setPos [12071.859, 12740.11, 0]; -}; - -_vehicle_189 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12056.973, 12745.313, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_189 = _this; - _this setPos [12056.973, 12745.313, 1.5258789e-005]; -}; - -_vehicle_190 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12052.312, 12730.878, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_190 = _this; - _this setPos [12052.312, 12730.878, 4.5776367e-005]; -}; - -_vehicle_191 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12047.233, 12717.738, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_191 = _this; - _this setPos [12047.233, 12717.738, 1.5258789e-005]; -}; - -_vehicle_192 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12044.311, 12707.099, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_192 = _this; - _this setPos [12044.311, 12707.099, 3.0517578e-005]; -}; - -_vehicle_193 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12038.868, 12699.035, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_193 = _this; - _this setPos [12038.868, 12699.035, -3.0517578e-005]; -}; - -_vehicle_194 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12025.358, 12705.295, -0.0001373291]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_194 = _this; - _this setPos [12025.358, 12705.295, -0.0001373291]; -}; - -_vehicle_195 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12029.154, 12716.378, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_195 = _this; - _this setPos [12029.154, 12716.378, 3.0517578e-005]; -}; - -_vehicle_196 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12030.744, 12728.67, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_196 = _this; - _this setPos [12030.744, 12728.67, 4.5776367e-005]; -}; - -_vehicle_197 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12034.885, 12740.086, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_197 = _this; - _this setPos [12034.885, 12740.086, 4.5776367e-005]; -}; - -_vehicle_198 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12042.495, 12751.11, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_198 = _this; - _this setPos [12042.495, 12751.11, 0]; -}; - -_vehicle_199 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12023.882, 12756.131, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_199 = _this; - _this setPos [12023.882, 12756.131, 1.5258789e-005]; -}; - -_vehicle_200 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12018.824, 12740.827, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_200 = _this; - _this setPos [12018.824, 12740.827, 1.5258789e-005]; -}; - -_vehicle_201 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12015.533, 12726.803, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_201 = _this; - _this setPos [12015.533, 12726.803, 0]; -}; - -_vehicle_202 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12011.602, 12713.39, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_202 = _this; - _this setPos [12011.602, 12713.39, 3.0517578e-005]; -}; - -_vehicle_203 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12013.309, 12704.627, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_203 = _this; - _this setPos [12013.309, 12704.627, 1.5258789e-005]; -}; - -_vehicle_204 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11996.918, 12713.501, -9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_204 = _this; - _this setPos [11996.918, 12713.501, -9.1552734e-005]; -}; - -_vehicle_205 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11997.146, 12727.386, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_205 = _this; - _this setPos [11997.146, 12727.386, 0]; -}; - -_vehicle_206 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12004.312, 12737.837, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_206 = _this; - _this setPos [12004.312, 12737.837, 4.5776367e-005]; -}; - -_vehicle_207 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12004.698, 12750.066, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_207 = _this; - _this setPos [12004.698, 12750.066, 0]; -}; - -_vehicle_208 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [12010.233, 12763.051, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_208 = _this; - _this setPos [12010.233, 12763.051, 1.5258789e-005]; -}; - -_vehicle_209 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11995.073, 12766.032, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_209 = _this; - _this setPos [11995.073, 12766.032, 0]; -}; - -_vehicle_210 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11991.207, 12752.036, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_210 = _this; - _this setPos [11991.207, 12752.036, 0]; -}; - -_vehicle_211 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11987.48, 12739.922, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_211 = _this; - _this setPos [11987.48, 12739.922, 1.5258789e-005]; -}; - -_vehicle_212 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11983.766, 12728.175, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_212 = _this; - _this setPos [11983.766, 12728.175, 4.5776367e-005]; -}; - -_vehicle_213 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11981.706, 12717.673, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_213 = _this; - _this setPos [11981.706, 12717.673, -1.5258789e-005]; -}; - -_vehicle_214 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11969.366, 12722.753, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_214 = _this; - _this setPos [11969.366, 12722.753, 1.5258789e-005]; -}; - -_vehicle_215 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11971.897, 12736.396, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_215 = _this; - _this setPos [11971.897, 12736.396, -3.0517578e-005]; -}; - -_vehicle_216 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11975.418, 12749.836, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_216 = _this; - _this setPos [11975.418, 12749.836, 0]; -}; - -_vehicle_217 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11979.256, 12762.235, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_217 = _this; - _this setPos [11979.256, 12762.235, 3.0517578e-005]; -}; - -_vehicle_218 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11981.789, 12772.279, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_218 = _this; - _this setPos [11981.789, 12772.279, 0]; -}; - -_vehicle_219 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11967.7, 12775.415, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_219 = _this; - _this setPos [11967.7, 12775.415, 1.5258789e-005]; -}; - -_vehicle_220 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11962.764, 12761.74, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_220 = _this; - _this setPos [11962.764, 12761.74, 1.5258789e-005]; -}; - -_vehicle_221 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11958.729, 12746.606, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_221 = _this; - _this setPos [11958.729, 12746.606, -3.0517578e-005]; -}; - -_vehicle_222 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11956.446, 12733.641, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_222 = _this; - _this setPos [11956.446, 12733.641, -3.0517578e-005]; -}; - -_vehicle_223 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11940.328, 12736.415, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_223 = _this; - _this setPos [11940.328, 12736.415, -1.5258789e-005]; -}; - -_vehicle_224 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11945.175, 12749.42, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_224 = _this; - _this setPos [11945.175, 12749.42, -3.0517578e-005]; -}; - -_vehicle_225 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11949.998, 12761.021, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_225 = _this; - _this setPos [11949.998, 12761.021, 3.0517578e-005]; -}; - -_vehicle_226 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11952.954, 12773.387, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_226 = _this; - _this setPos [11952.954, 12773.387, 0]; -}; - -_vehicle_227 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11952.819, 12781.21, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_227 = _this; - _this setPos [11952.819, 12781.21, 1.5258789e-005]; -}; - -_vehicle_228 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11940.223, 12784.269, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_228 = _this; - _this setPos [11940.223, 12784.269, 0]; -}; - -_vehicle_229 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11938.025, 12769.682, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_229 = _this; - _this setPos [11938.025, 12769.682, 4.5776367e-005]; -}; - -_vehicle_230 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11932.69, 12756.665, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_230 = _this; - _this setPos [11932.69, 12756.665, 0]; -}; - -_vehicle_231 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11929.305, 12746.166, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_231 = _this; - _this setPos [11929.305, 12746.166, -3.0517578e-005]; -}; - -_vehicle_232 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11925.022, 12741.172, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_232 = _this; - _this setPos [11925.022, 12741.172, 0]; -}; - -_vehicle_233 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11910.994, 12741.087, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_233 = _this; - _this setPos [11910.994, 12741.087, -1.5258789e-005]; -}; - -_vehicle_234 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11916.012, 12753.709, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_234 = _this; - _this setPos [11916.012, 12753.709, 7.6293945e-005]; -}; - -_vehicle_235 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11920.03, 12765.092, 0.00015258789]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_235 = _this; - _this setPos [11920.03, 12765.092, 0.00015258789]; -}; - -_vehicle_236 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11923.17, 12776.996, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_236 = _this; - _this setPos [11923.17, 12776.996, 1.5258789e-005]; -}; - -_vehicle_237 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11926.937, 12789.116, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_237 = _this; - _this setPos [11926.937, 12789.116, 1.5258789e-005]; -}; - -_vehicle_238 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11914.802, 12794.158, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_238 = _this; - _this setPos [11914.802, 12794.158, 0.00012207031]; -}; - -_vehicle_239 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11910.124, 12780.403, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_239 = _this; - _this setPos [11910.124, 12780.403, 0]; -}; - -_vehicle_240 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11906.202, 12767.164, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_240 = _this; - _this setPos [11906.202, 12767.164, 3.0517578e-005]; -}; - -_vehicle_241 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11901.23, 12753.686, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_241 = _this; - _this setPos [11901.23, 12753.686, 4.5776367e-005]; -}; - -_vehicle_242 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11895.944, 12743.282, -7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_242 = _this; - _this setPos [11895.944, 12743.282, -7.6293945e-005]; -}; - -_vehicle_243 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11898.353, 12733.475, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_243 = _this; - _this setPos [11898.353, 12733.475, 0]; -}; - -_vehicle_244 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11885.398, 12736.582, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_244 = _this; - _this setPos [11885.398, 12736.582, 4.5776367e-005]; -}; - -_vehicle_245 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11882.461, 12750.276, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_245 = _this; - _this setPos [11882.461, 12750.276, 4.5776367e-005]; -}; - -_vehicle_246 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11888.173, 12764.08, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_246 = _this; - _this setPos [11888.173, 12764.08, 1.5258789e-005]; -}; - -_vehicle_247 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11891.758, 12776.694, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_247 = _this; - _this setPos [11891.758, 12776.694, 1.5258789e-005]; -}; - -_vehicle_248 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11895.475, 12787.936, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_248 = _this; - _this setPos [11895.475, 12787.936, 1.5258789e-005]; -}; - -_vehicle_249 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11900.937, 12799.279, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_249 = _this; - _this setPos [11900.937, 12799.279, 3.0517578e-005]; -}; - -_vehicle_250 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11886.147, 12802.328, -7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_250 = _this; - _this setPos [11886.147, 12802.328, -7.6293945e-005]; -}; - -_vehicle_251 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11879.968, 12784.727, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_251 = _this; - _this setPos [11879.968, 12784.727, -1.5258789e-005]; -}; - -_vehicle_252 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11875.833, 12772.224, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_252 = _this; - _this setPos [11875.833, 12772.224, 0]; -}; - -_vehicle_253 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11871.435, 12758.445, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_253 = _this; - _this setPos [11871.435, 12758.445, 3.0517578e-005]; -}; - -_vehicle_254 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11856.719, 12765.083, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_254 = _this; - _this setPos [11856.719, 12765.083, 0]; -}; - -_vehicle_255 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11861.524, 12778.303, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_255 = _this; - _this setPos [11861.524, 12778.303, 3.0517578e-005]; -}; - -_vehicle_256 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11865.798, 12791.208, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_256 = _this; - _this setPos [11865.798, 12791.208, 0]; -}; - -_vehicle_257 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11874.163, 12797.659, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_257 = _this; - _this setPos [11874.163, 12797.659, 0]; -}; - -_vehicle_258 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11872.476, 12808.461, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_258 = _this; - _this setPos [11872.476, 12808.461, 3.0517578e-005]; -}; - -_vehicle_259 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11859.593, 12811.783, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_259 = _this; - _this setPos [11859.593, 12811.783, 1.5258789e-005]; -}; - -_vehicle_260 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11853.344, 12798.78, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_260 = _this; - _this setPos [11853.344, 12798.78, -3.0517578e-005]; -}; - -_vehicle_261 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11849.701, 12786.646, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_261 = _this; - _this setPos [11849.701, 12786.646, -3.0517578e-005]; -}; - -_vehicle_262 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11844.969, 12775.577, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_262 = _this; - _this setPos [11844.969, 12775.577, 1.5258789e-005]; -}; - -_vehicle_263 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11836.27, 12767.147, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_263 = _this; - _this setPos [11836.27, 12767.147, 4.5776367e-005]; -}; - -_vehicle_264 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11825.144, 12772.774, -0.0001373291]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_264 = _this; - _this setPos [11825.144, 12772.774, -0.0001373291]; -}; - -_vehicle_265 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11830.603, 12788.523, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_265 = _this; - _this setPos [11830.603, 12788.523, 0]; -}; - -_vehicle_266 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11837.979, 12799.686, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_266 = _this; - _this setPos [11837.979, 12799.686, 1.5258789e-005]; -}; - -_vehicle_267 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11843.769, 12816.066, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_267 = _this; - _this setPos [11843.769, 12816.066, 0]; -}; - -_vehicle_268 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11831.392, 12822.454, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_268 = _this; - _this setPos [11831.392, 12822.454, 1.5258789e-005]; -}; - -_vehicle_269 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11825.23, 12809.662, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_269 = _this; - _this setPos [11825.23, 12809.662, 3.0517578e-005]; -}; - -_vehicle_270 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11822.757, 12797.668, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_270 = _this; - _this setPos [11822.757, 12797.668, -1.5258789e-005]; -}; - -_vehicle_271 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11813.723, 12778.324, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_271 = _this; - _this setPos [11813.723, 12778.324, 3.0517578e-005]; -}; - -_vehicle_272 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11821.674, 12759.75, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_272 = _this; - _this setPos [11821.674, 12759.75, 4.5776367e-005]; -}; - -_vehicle_273 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11809.189, 12764.7, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_273 = _this; - _this setPos [11809.189, 12764.7, 0]; -}; - -_vehicle_274 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11804.84, 12747.866, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_274 = _this; - _this setPos [11804.84, 12747.866, 4.5776367e-005]; -}; - -_vehicle_275 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11811.66, 12744.911, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_275 = _this; - _this setPos [11811.66, 12744.911, 0]; -}; - -_vehicle_276 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11806.695, 12730.663, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_276 = _this; - _this setPos [11806.695, 12730.663, 0]; -}; - -_vehicle_277 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11797.649, 12732.933, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_277 = _this; - _this setPos [11797.649, 12732.933, -1.5258789e-005]; -}; - -_vehicle_278 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11793.252, 12715.276, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_278 = _this; - _this setPos [11793.252, 12715.276, 4.5776367e-005]; -}; - -_vehicle_279 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11806.406, 12716.162, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_279 = _this; - _this setPos [11806.406, 12716.162, 0]; -}; - -_vehicle_280 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11817.4, 12722.155, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_280 = _this; - _this setPos [11817.4, 12722.155, 3.0517578e-005]; -}; - -_vehicle_281 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11830.942, 12718.061, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_281 = _this; - _this setPos [11830.942, 12718.061, 6.1035156e-005]; -}; - -_vehicle_282 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11841.141, 12713.279, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_282 = _this; - _this setPos [11841.141, 12713.279, 3.0517578e-005]; -}; - -_vehicle_283 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11835.865, 12697.854, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_283 = _this; - _this setPos [11835.865, 12697.854, 3.0517578e-005]; -}; - -_vehicle_284 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11820.331, 12705.365, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_284 = _this; - _this setPos [11820.331, 12705.365, 0]; -}; - -_vehicle_285 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11828.585, 12684.733, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_285 = _this; - _this setPos [11828.585, 12684.733, 1.5258789e-005]; -}; - -_vehicle_286 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11836.787, 12693.276, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_286 = _this; - _this setPos [11836.787, 12693.276, 1.5258789e-005]; -}; - -_vehicle_287 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11826.392, 12671.255, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_287 = _this; - _this setPos [11826.392, 12671.255, -1.5258789e-005]; -}; - -_vehicle_288 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11820.186, 12657.934, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_288 = _this; - _this setPos [11820.186, 12657.934, -1.5258789e-005]; -}; - -_vehicle_289 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11820.368, 12653.997, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_289 = _this; - _this setPos [11820.368, 12653.997, 4.5776367e-005]; -}; - -_vehicle_290 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11806.033, 12658.229, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_290 = _this; - _this setPos [11806.033, 12658.229, 0]; -}; - -_vehicle_291 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11810.665, 12673.477, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_291 = _this; - _this setPos [11810.665, 12673.477, 4.5776367e-005]; -}; - -_vehicle_292 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11812.374, 12685.495, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_292 = _this; - _this setPos [11812.374, 12685.495, 3.0517578e-005]; -}; - -_vehicle_293 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11815.515, 12695.948, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_293 = _this; - _this setPos [11815.515, 12695.948, 1.5258789e-005]; -}; - -_vehicle_294 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11802.278, 12702.396, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_294 = _this; - _this setPos [11802.278, 12702.396, 1.5258789e-005]; -}; - -_vehicle_295 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11787.498, 12700.336, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_295 = _this; - _this setPos [11787.498, 12700.336, 3.0517578e-005]; -}; - -_vehicle_296 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11791.898, 12687.368, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_296 = _this; - _this setPos [11791.898, 12687.368, 0]; -}; - -_vehicle_297 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11793.908, 12671.397, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_297 = _this; - _this setPos [11793.908, 12671.397, -1.5258789e-005]; -}; - -_vehicle_298 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11801.524, 12680.248, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_298 = _this; - _this setPos [11801.524, 12680.248, 1.5258789e-005]; -}; - -_vehicle_299 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11789.115, 12661.667, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_299 = _this; - _this setPos [11789.115, 12661.667, 1.5258789e-005]; -}; - -_vehicle_300 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11782.063, 12677.065, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_300 = _this; - _this setPos [11782.063, 12677.065, 3.0517578e-005]; -}; - -_vehicle_301 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11774.023, 12662.949, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_301 = _this; - _this setPos [11774.023, 12662.949, 0]; -}; - -_vehicle_302 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11780.288, 12651.354, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_302 = _this; - _this setPos [11780.288, 12651.354, 1.5258789e-005]; -}; - -_vehicle_303 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11765.765, 12645.647, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_303 = _this; - _this setPos [11765.765, 12645.647, 3.0517578e-005]; -}; - -_vehicle_304 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11763.456, 12629.358, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_304 = _this; - _this setPos [11763.456, 12629.358, 0]; -}; - -_vehicle_305 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11778.76, 12635.271, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_305 = _this; - _this setPos [11778.76, 12635.271, 1.5258789e-005]; -}; - -_vehicle_306 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11792.172, 12628.86, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_306 = _this; - _this setPos [11792.172, 12628.86, 0]; -}; - -_vehicle_307 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11783.394, 12623.555, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_307 = _this; - _this setPos [11783.394, 12623.555, -1.5258789e-005]; -}; - -_vehicle_308 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11803.389, 12620.284, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_308 = _this; - _this setPos [11803.389, 12620.284, 3.0517578e-005]; -}; - -_vehicle_309 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11795.783, 12616.799, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_309 = _this; - _this setPos [11795.783, 12616.799, 4.5776367e-005]; -}; - -_vehicle_310 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11817.398, 12615.993, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_310 = _this; - _this setPos [11817.398, 12615.993, 1.5258789e-005]; -}; - -_vehicle_311 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11812.417, 12612.769, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_311 = _this; - _this setPos [11812.417, 12612.769, 3.0517578e-005]; -}; - -_vehicle_312 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11833.799, 12617.956, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_312 = _this; - _this setPos [11833.799, 12617.956, 3.0517578e-005]; -}; - -_vehicle_313 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11829.273, 12607.154, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_313 = _this; - _this setPos [11829.273, 12607.154, 3.0517578e-005]; -}; - -_vehicle_314 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11844.231, 12602.542, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_314 = _this; - _this setPos [11844.231, 12602.542, 1.5258789e-005]; -}; - -_vehicle_315 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11838.94, 12600.573, -0.00016784668]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_315 = _this; - _this setPos [11838.94, 12600.573, -0.00016784668]; -}; - -_vehicle_316 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11843.749, 12625.197, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_316 = _this; - _this setPos [11843.749, 12625.197, -1.5258789e-005]; -}; - -_vehicle_317 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11848.851, 12613.918, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_317 = _this; - _this setPos [11848.851, 12613.918, 4.5776367e-005]; -}; - -_vehicle_318 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11854.81, 12627.729, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_318 = _this; - _this setPos [11854.81, 12627.729, 6.1035156e-005]; -}; - -_vehicle_319 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11856.999, 12641.527, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_319 = _this; - _this setPos [11856.999, 12641.527, 3.0517578e-005]; -}; - -_vehicle_320 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11848.563, 12638.356, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_320 = _this; - _this setPos [11848.563, 12638.356, 4.5776367e-005]; -}; - -_vehicle_321 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11855.679, 12655.58, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_321 = _this; - _this setPos [11855.679, 12655.58, 0]; -}; - -_vehicle_322 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11864.201, 12654.292, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_322 = _this; - _this setPos [11864.201, 12654.292, 1.5258789e-005]; -}; - -_vehicle_323 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11868.429, 12665.724, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_323 = _this; - _this setPos [11868.429, 12665.724, -1.5258789e-005]; -}; - -_vehicle_324 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11861.743, 12672.924, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_324 = _this; - _this setPos [11861.743, 12672.924, 1.5258789e-005]; -}; - -_vehicle_325 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11867.039, 12687.274, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_325 = _this; - _this setPos [11867.039, 12687.274, 1.5258789e-005]; -}; - -_vehicle_326 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11871.112, 12700.725, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_326 = _this; - _this setPos [11871.112, 12700.725, 3.0517578e-005]; -}; - -_vehicle_327 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11874.452, 12679.165, -4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_327 = _this; - _this setPos [11874.452, 12679.165, -4.5776367e-005]; -}; - -_vehicle_328 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11879.123, 12697.389, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_328 = _this; - _this setPos [11879.123, 12697.389, 3.0517578e-005]; -}; - -_vehicle_329 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11884.053, 12711.415, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_329 = _this; - _this setPos [11884.053, 12711.415, 1.5258789e-005]; -}; - -_vehicle_330 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11877.112, 12720.295, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_330 = _this; - _this setPos [11877.112, 12720.295, 1.5258789e-005]; -}; - -_vehicle_331 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11887.821, 12723.569, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_331 = _this; - _this setPos [11887.821, 12723.569, -1.5258789e-005]; -}; - -_vehicle_332 = objNull; -if (true) then -{ - _this = "Land_a_stationhouse" createVehicle [11783.938, 12719.723, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_332 = _this; - _this setDir 289.05072; - _this setPos [11783.938, 12719.723, 7.6293945e-005]; -}; - -_vehicle_333 = objNull; -if (true) then -{ - _this = "Land_Hangar_2" createVehicle [11819.66, 12660.729, -0.033175748]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_333 = _this; - _this setDir -250.42317; - _this setVehicleInit "this setVectorUp [0,0,1];"; - _this setPos [11819.66, 12660.729, -0.033175748]; -}; - -_vehicle_334 = objNull; -if (true) then -{ - _this = "Land_Hangar_2" createVehicle [11835.981, 12707.853, -0.079139128]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_334 = _this; - _this setDir 109.25477; - _this setVehicleInit "this setVectorUp [0,0,1];"; - _this setPos [11835.981, 12707.853, -0.079139128]; -}; - -_vehicle_336 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [11761.144, 12703.628, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_336 = _this; - _this setPos [11761.144, 12703.628, 7.6293945e-005]; -}; - -_vehicle_337 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11762.61, 12695.992, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_337 = _this; - _this setPos [11762.61, 12695.992, -1.5258789e-005]; -}; - -_vehicle_338 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11761.371, 12714.642, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_338 = _this; - _this setPos [11761.371, 12714.642, -3.0517578e-005]; -}; - -_vehicle_339 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11770.902, 12727.278, -7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_339 = _this; - _this setPos [11770.902, 12727.278, -7.6293945e-005]; -}; - -_vehicle_340 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11773.456, 12738.76, -0.0001373291]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_340 = _this; - _this setPos [11773.456, 12738.76, -0.0001373291]; -}; - -_vehicle_341 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11762.16, 12723.547, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_341 = _this; - _this setPos [11762.16, 12723.547, 7.6293945e-005]; -}; - -_vehicle_342 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11764.688, 12733.994, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_342 = _this; - _this setPos [11764.688, 12733.994, 4.5776367e-005]; -}; - -_vehicle_343 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11753.16, 12627.361, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_343 = _this; - _this setPos [11753.16, 12627.361, 1.5258789e-005]; -}; - -_vehicle_344 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11767.412, 12616.044, -0.00010681152]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_344 = _this; - _this setPos [11767.412, 12616.044, -0.00010681152]; -}; - -_vehicle_345 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11780.59, 12610.603, -0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_345 = _this; - _this setPos [11780.59, 12610.603, -0.00012207031]; -}; - -_vehicle_346 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [11761.78, 12618.979, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_346 = _this; - _this setPos [11761.78, 12618.979, 1.5258789e-005]; -}; - -_vehicle_347 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [11757.4, 12622.27, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_347 = _this; - _this setPos [11757.4, 12622.27, -1.5258789e-005]; -}; - -_vehicle_348 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11755.268, 12614.63, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_348 = _this; - _this setPos [11755.268, 12614.63, 7.6293945e-005]; -}; - -_vehicle_349 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11811.876, 12641.568]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_349 = _this; - _this setPos [11811.876, 12641.568]; -}; - -_vehicle_350 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11804.383, 12642.653, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_350 = _this; - _this setPos [11804.383, 12642.653, -3.0517578e-005]; -}; - -_vehicle_351 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [11808.641, 12637.809, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_351 = _this; - _this setPos [11808.641, 12637.809, 3.0517578e-005]; -}; - -_vehicle_352 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [11818.883, 12641.522, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_352 = _this; - _this setPos [11818.883, 12641.522, 6.1035156e-005]; -}; - -_vehicle_353 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11832.808, 12730.636, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_353 = _this; - _this setPos [11832.808, 12730.636, -1.5258789e-005]; -}; - -_vehicle_354 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11855.613, 12712.761, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_354 = _this; - _this setPos [11855.613, 12712.761, -6.1035156e-005]; -}; - -_vehicle_355 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11841.183, 12731.658, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_355 = _this; - _this setPos [11841.183, 12731.658, 9.1552734e-005]; -}; - -_vehicle_356 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11850.245, 12724.468, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_356 = _this; - _this setPos [11850.245, 12724.468, 6.1035156e-005]; -}; - -_vehicle_357 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [11842.886, 12725.788]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_357 = _this; - _this setPos [11842.886, 12725.788]; -}; - -_vehicle_358 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [11836.327, 12735.938, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_358 = _this; - _this setPos [11836.327, 12735.938, 1.5258789e-005]; -}; - -_vehicle_359 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [11856.617, 12721.298]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_359 = _this; - _this setPos [11856.617, 12721.298]; -}; - -_vehicle_361 = objNull; -if (true) then -{ - _this = "MAP_t_betula2w" createVehicle [11799.246, 12647.899, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_361 = _this; - _this setDir -8.6476421; - _this setPos [11799.246, 12647.899, -1.5258789e-005]; -}; - -_vehicle_362 = objNull; -if (true) then -{ - _this = "MAP_t_betula2w" createVehicle [11773.365, 12610.281, 9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_362 = _this; - _this setPos [11773.365, 12610.281, 9.1552734e-005]; -}; - -_vehicle_363 = objNull; -if (true) then -{ - _this = "MAP_t_betula2w" createVehicle [11838.711, 12664.848]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_363 = _this; - _this setPos [11838.711, 12664.848]; -}; - -_vehicle_364 = objNull; -if (true) then -{ - _this = "MAP_t_betula2w" createVehicle [11758.773, 12708.232, -4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_364 = _this; - _this setPos [11758.773, 12708.232, -4.5776367e-005]; -}; - -_vehicle_365 = objNull; -if (true) then -{ - _this = "HMMWVWreck" createVehicle [11817.271, 12694.664, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_365 = _this; - _this setDir -36.19305; - _this setPos [11817.271, 12694.664, 1.5258789e-005]; -}; - -_vehicle_366 = objNull; -if (true) then -{ - _this = "ClutterCutter_EP1" createVehicle [11803.979, 12692.044, -9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_366 = _this; - _this setPos [11803.979, 12692.044, -9.1552734e-005]; -}; - -_vehicle_367 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [11821.301, 12694.59]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_367 = _this; - _this setDir 44.085854; - _this setPos [11821.301, 12694.59]; -}; - -_vehicle_368 = objNull; -if (true) then -{ - _this = "Body1" createVehicle [11812.969, 12694.115, 0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_368 = _this; - _this setPos [11812.969, 12694.115, 0]; -}; - -_vehicle_369 = objNull; -if (true) then -{ - _this = "Body2" createVehicle [11815.298, 12692.105]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_369 = _this; - _this setDir -60.295448; - _this setPos [11815.298, 12692.105]; -}; - -_vehicle_370 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [11817.798, 12693.678, -0.17121282]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_370 = _this; - _this setPos [11817.798, 12693.678, -0.17121282]; -}; - -_vehicle_371 = objNull; -if (true) then -{ - _this = "Land_Ind_TankSmall" createVehicle [11821.184, 12678.874, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_371 = _this; - _this setDir 19.464277; - _this setPos [11821.184, 12678.874, -1.5258789e-005]; -}; - -_vehicle_372 = objNull; -if (true) then -{ - _this = "Land_Ind_TankSmall" createVehicle [11831.584, 12675.185, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_372 = _this; - _this setDir 19.754786; - _this setPos [11831.584, 12675.185, 3.0517578e-005]; -}; - -_vehicle_373 = objNull; -if (true) then -{ - _this = "Paleta2" createVehicle [11816.019, 12739.777]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_373 = _this; - _this setDir -32.01495; - _this setPos [11816.019, 12739.777]; -}; - -_vehicle_374 = objNull; -if (true) then -{ - _this = "Rubbish1" createVehicle [11781.125, 12688.866]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_374 = _this; - _this setDir -57.322929; - _this setPos [11781.125, 12688.866]; -}; - -_vehicle_375 = objNull; -if (true) then -{ - _this = "Rubbish2" createVehicle [11786.964, 12656.147, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_375 = _this; - _this setDir -127.71127; - _this setPos [11786.964, 12656.147, 3.0517578e-005]; -}; - -_vehicle_376 = objNull; -if (true) then -{ - _this = "Land_Misc_Garb_Heap_EP1" createVehicle [11786.287, 12652.268, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_376 = _this; - _this setDir -23.96274; - _this setPos [11786.287, 12652.268, 1.5258789e-005]; -}; - -_vehicle_377 = objNull; -if (true) then -{ - _this = "Garbage_can" createVehicle [11788.643, 12657.678, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_377 = _this; - _this setPos [11788.643, 12657.678, -3.0517578e-005]; -}; - -_vehicle_378 = objNull; -if (true) then -{ - _this = "Garbage_container" createVehicle [11789.275, 12654.626, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_378 = _this; - _this setDir 2.9569733; - _this setPos [11789.275, 12654.626, -1.5258789e-005]; -}; - -_vehicle_379 = objNull; -if (true) then -{ - _this = "Garbage_container" createVehicle [11790.565, 12653.663, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_379 = _this; - _this setDir 31.469322; - _this setPos [11790.565, 12653.663, -1.5258789e-005]; -}; - -_vehicle_380 = objNull; -if (true) then -{ - _this = "UralWreck" createVehicle [11767.774, 12658.969, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_380 = _this; - _this setDir 52.665707; - _this setPos [11767.774, 12658.969, 3.0517578e-005]; -}; - -_vehicle_386 = objNull; -if (true) then -{ - _this = "MAP_dum_rasovna_ruins" createVehicle [11851.539, 12747.081, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_386 = _this; - _this setDir -67.506355; - _this setPos [11851.539, 12747.081, 3.0517578e-005]; -}; - -_vehicle_387 = objNull; -if (true) then -{ - _this = "MAP_domek_rosa_ruins" createVehicle [11863.676, 12747.392, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_387 = _this; - _this setDir -21.380117; - _this setPos [11863.676, 12747.392, 3.0517578e-005]; -}; - -_vehicle_388 = objNull; -if (true) then -{ - _this = "C130J_wreck_EP1" createVehicle [11858.439, 12751.198, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_388 = _this; - _this setDir 77.720589; - _this setPos [11858.439, 12751.198, -1.5258789e-005]; -}; - -_vehicle_391 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [11849.661, 12739.366, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_391 = _this; - _this setDir -122.1315; - _this setPos [11849.661, 12739.366, -1.5258789e-005]; -}; - -_vehicle_393 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenSpruce" createVehicle [11852.476, 12755.897]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_393 = _this; - _this setDir -79.998436; - _this setPos [11852.476, 12755.897]; -}; - -_vehicle_395 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [11846.301, 12746.378]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_395 = _this; - _this setDir -76.856926; - _this setPos [11846.301, 12746.378]; -}; - -_vehicle_397 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [11862.85, 12745.421]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_397 = _this; - _this setDir 161.46614; - _this setPos [11862.85, 12745.421]; -}; - -_vehicle_398 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [11865.15, 12744.08, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_398 = _this; - _this setDir -35.405952; - _this setPos [11865.15, 12744.08, 1.5258789e-005]; -}; - -_vehicle_399 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [11862.348, 12748.077, -0.35221288]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_399 = _this; - _this setPos [11862.348, 12748.077, -0.35221288]; -}; - -_vehicle_400 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [11863.922, 12749.056, -0.31857094]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_400 = _this; - _this setPos [11863.922, 12749.056, -0.31857094]; -}; - -_vehicle_401 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [11862.964, 12748.467, -0.34177306]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_401 = _this; - _this setPos [11862.964, 12748.467, -0.34177306]; -}; - -_vehicle_402 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [11846.282, 12751.074, -0.27414048]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_402 = _this; - _this setPos [11846.282, 12751.074, -0.27414048]; -}; - -_vehicle_403 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [11844.693, 12749.784, -0.14887024]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_403 = _this; - _this setPos [11844.693, 12749.784, -0.14887024]; -}; - -_vehicle_404 = objNull; -if (true) then -{ - _this = "Land_Camp_Fire_DZ" createVehicle [11845.191, 12747.735, -0.15923657]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_404 = _this; - _this setPos [11845.191, 12747.735, -0.15923657]; -}; - -_vehicle_405 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11886.819, 12680.772, -9.1552734e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_405 = _this; - _this setPos [11886.819, 12680.772, -9.1552734e-005]; -}; - -_vehicle_406 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11887.217, 12670.516, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_406 = _this; - _this setPos [11887.217, 12670.516, -3.0517578e-005]; -}; - -_vehicle_407 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11881.556, 12662.431, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_407 = _this; - _this setPos [11881.556, 12662.431, 6.1035156e-005]; -}; - -_vehicle_408 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11890.409, 12661.362, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_408 = _this; - _this setPos [11890.409, 12661.362, 6.1035156e-005]; -}; - -_vehicle_409 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11903.142, 12663.133, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_409 = _this; - _this setPos [11903.142, 12663.133, -1.5258789e-005]; -}; - -_vehicle_410 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [11896.127, 12667.582, -6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_410 = _this; - _this setPos [11896.127, 12667.582, -6.1035156e-005]; -}; - -_vehicle_411 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [11883.93, 12675.075, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_411 = _this; - _this setPos [11883.93, 12675.075, -3.0517578e-005]; -}; - -_vehicle_412 = objNull; -if (true) then -{ - _this = "MAP_t_picea1s" createVehicle [11897.16, 12649.117, -4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_412 = _this; - _this setPos [11897.16, 12649.117, -4.5776367e-005]; -}; - -_vehicle_413 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11906.478, 12654.97, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_413 = _this; - _this setPos [11906.478, 12654.97, 6.1035156e-005]; -}; - -_vehicle_414 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11903.38, 12643.253, 0.00012207031]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_414 = _this; - _this setPos [11903.38, 12643.253, 0.00012207031]; -}; - -_vehicle_415 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11896.461, 12656.793, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_415 = _this; - _this setPos [11896.461, 12656.793, 4.5776367e-005]; -}; - -_vehicle_416 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11888.38, 12651.196, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_416 = _this; - _this setPos [11888.38, 12651.196, -3.0517578e-005]; -}; - -_vehicle_417 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11891.998, 12642.348, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_417 = _this; - _this setPos [11891.998, 12642.348, 1.5258789e-005]; -}; - -_vehicle_418 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11896.085, 12633.092, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_418 = _this; - _this setPos [11896.085, 12633.092, 1.5258789e-005]; -}; - -_vehicle_419 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11911.656, 12669.844, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_419 = _this; - _this setPos [11911.656, 12669.844, 4.5776367e-005]; -}; - -_vehicle_420 = objNull; -if (true) then -{ - _this = "MAP_t_picea2s" createVehicle [11897.552, 12674.797, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_420 = _this; - _this setPos [11897.552, 12674.797, 3.0517578e-005]; -}; - -_vehicle_421 = objNull; -if (true) then -{ - _this = "MAP_t_betula2w" createVehicle [11906.236, 12677.297, -3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_421 = _this; - _this setPos [11906.236, 12677.297, -3.0517578e-005]; -}; - -_vehicle_422 = objNull; -if (true) then -{ - _this = "Land_Mil_Barracks_i" createVehicle [12572.636, 12497.678, 6.1035156e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_422 = _this; - _this setDir -3.3692484; - _this setPos [12572.636, 12497.678, 6.1035156e-005]; -}; - -_vehicle_423 = objNull; -if (true) then -{ - _this = "Land_Ind_Workshop01_01" createVehicle [11836.992, 12685.103, 7.6293945e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_423 = _this; - _this setDir -71.381462; - _this setPos [11836.992, 12685.103, 7.6293945e-005]; -}; -}; +[[ + ["MAP_runway_beton",[11833.352,12724.786,3.0517578e-005],199.17528], + ["MAP_runway_dirt_1",[12104.935,12714.147,0.00015258789],-70.88578], + ["MAP_runway_dirt_2",[12029.501,12740.337,6.1035156e-005],-70.997932], + ["MAP_runway_dirt_3",[11953.965,12766.381,3.0517578e-005],-70.944405], + ["MAP_runway_end15",[11822.007,12812.468,3.0517578e-005],-70.471237], + ["MAP_runway_end33",[12444.145,12595.791],-70.591644], + ["MAP_runway_poj_draha",[12115.081,12679.46,1.5258789e-005],-71.017082], + ["MAP_runway_poj_draha",[12039.447,12705.5,1.5258789e-005],-70.887802], + ["MAP_runway_poj_draha",[12190.391,12653.309],-70.618553], + ["MAP_runway_poj_draha",[12265.765,12626.79,-7.6293945e-005],-70.65612], + ["MAP_runway_poj_draha",[11964.168,12731.456,4.5776367e-005],-70.973801], + ["MAP_runway_poj_draha",[11888.549,12757.641],-70.747444], + ["MAP_runway_poj_L_2_end",[11822.448,12754.064,1.5258789e-005],19.445869], + ["MAP_runway_main",[12180.6,12688.236,-6.1035156e-005],-71.078163], + ["MAP_runway_main",[12255.914,12662.013],-70.771332], + ["MAP_runway_main",[12331.299,12635.485,0.00010681152],-70.614288], + ["MAP_runway_main",[12406.705,12609.01],-70.66494], + ["MAP_runway_poj_L_1_end",[12451.45,12555.947],19.091259], + ["MAP_runway_poj_draha",[12341.155,12600.269,3.0517578e-005],-70.444229], + ["MAP_runway_poj_draha",[12414.951,12574.252,0.00010681152],-70.63224], + ["MAP_runway_poj_draha",[11791.481,12695.446],19.106287], + ["MAP_runway_poj_L_2_end",[11795.605,12631.493,-3.0517578e-005],-70.53743], + ["MAP_runway_poj_L_2_end",[11842.692,12630.96,-4.5776367e-005],-160.8102], + ["MAP_runway_poj_draha",[11873.847,12689.994,3.0517578e-005],-160.6732], + ["MAP_runway_poj_T_1",[11890.456,12735.828,-1.5258789e-005],-70.75457], + ["ClutterCutter_EP1",[12449.138,12601.985,-1.5258789e-005],0], + ["ClutterCutter_EP1",[12448.269,12583.205,6.1035156e-005],0], + ["ClutterCutter_EP1",[12457.416,12591.121,3.0517578e-005],0], + ["ClutterCutter_EP1",[12443.967,12572.388,1.5258789e-005],0], + ["ClutterCutter_EP1",[12440.153,12558.789,3.0517578e-005],0], + ["ClutterCutter_EP1",[12443.545,12547.887,9.1552734e-005],0], + ["ClutterCutter_EP1",[12441.473,12609.4,3.0517578e-005],0], + ["ClutterCutter_EP1",[12430.711,12593.027,0.0001373291],0], + ["ClutterCutter_EP1",[12425.938,12581.104,4.5776367e-005],0], + ["ClutterCutter_EP1",[12424.284,12565.177,3.0517578e-005],0], + ["ClutterCutter_EP1",[12410.519,12572.005,-9.1552734e-005],0], + ["ClutterCutter_EP1",[12414.055,12590.268,3.0517578e-005],0], + ["ClutterCutter_EP1",[12424.613,12606.827,-1.5258789e-005],0], + ["ClutterCutter_EP1",[12427.446,12617.969,1.5258789e-005],0], + ["ClutterCutter_EP1",[12411.921,12620.701,3.0517578e-005],0], + ["ClutterCutter_EP1",[12408.554,12605.682,-3.0517578e-005],0], + ["ClutterCutter_EP1",[12400.531,12594.063,1.5258789e-005],0], + ["ClutterCutter_EP1",[12400.095,12582.44,-1.5258789e-005],0], + ["ClutterCutter_EP1",[12393.105,12577.232,0],0], + ["ClutterCutter_EP1",[12380.116,12582.962,4.5776367e-005],0], + ["ClutterCutter_EP1",[12384.822,12597.572,-1.5258789e-005],0], + ["ClutterCutter_EP1",[12391.923,12609.14,1.5258789e-005],0], + ["ClutterCutter_EP1",[12396.623,12622.667,3.0517578e-005],0], + ["ClutterCutter_EP1",[12384.899,12630.688,0],0], + ["ClutterCutter_EP1",[12378.116,12617.534,0],0], + ["ClutterCutter_EP1",[12370.082,12606.084,1.5258789e-005],0], + ["ClutterCutter_EP1",[12367.645,12594.518,1.5258789e-005],0], + ["ClutterCutter_EP1",[12364.29,12588.428,0],0], + ["ClutterCutter_EP1",[12352.762,12594.353,0],0], + ["ClutterCutter_EP1",[12356.578,12605.061,0],0], + ["ClutterCutter_EP1",[12360.133,12616.088,0],0], + ["ClutterCutter_EP1",[12365.306,12628.296,3.0517578e-005],0], + ["ClutterCutter_EP1",[12370.574,12637.955,1.5258789e-005],0], + ["ClutterCutter_EP1",[12355.402,12640.513,0],0], + ["ClutterCutter_EP1",[12347.492,12627.549,1.5258789e-005],0], + ["ClutterCutter_EP1",[12343.257,12613.442,0],0], + ["ClutterCutter_EP1",[12338.662,12600.644,-6.1035156e-005],0], + ["ClutterCutter_EP1",[12325.665,12603.455,4.5776367e-005],0], + ["ClutterCutter_EP1",[12328.533,12614.692,1.5258789e-005],0], + ["ClutterCutter_EP1",[12334.059,12626.479,0],0], + ["ClutterCutter_EP1",[12337.212,12639.277,4.5776367e-005],0], + ["ClutterCutter_EP1",[12341.688,12649.561,0],0], + ["ClutterCutter_EP1",[12326.564,12651.172,-1.5258789e-005],0], + ["ClutterCutter_EP1",[12321.225,12637.012,-1.5258789e-005],0], + ["ClutterCutter_EP1",[12316.511,12625.511,-3.0517578e-005],0], + ["ClutterCutter_EP1",[12312.228,12614.416,1.5258789e-005],0], + ["ClutterCutter_EP1",[12311.803,12607.522,3.0517578e-005],0], + ["ClutterCutter_EP1",[12300.34,12610.76,0],0], + ["ClutterCutter_EP1",[12303.121,12619.515,-6.1035156e-005],0], + ["ClutterCutter_EP1",[12306.826,12631.679,3.0517578e-005],0], + ["ClutterCutter_EP1",[12309.497,12643.105,0],0], + ["ClutterCutter_EP1",[12313.968,12655.063,-3.0517578e-005],0], + ["ClutterCutter_EP1",[12302.725,12659.687,-3.0517578e-005],0], + ["ClutterCutter_EP1",[12298.065,12648.667,3.0517578e-005],0], + ["ClutterCutter_EP1",[12294.225,12636.635,0],0], + ["ClutterCutter_EP1",[12291.446,12626.848,1.5258789e-005],0], + ["ClutterCutter_EP1",[12287.464,12614.992,-1.5258789e-005],0], + ["ClutterCutter_EP1",[12276.107,12618.728,4.5776367e-005],0], + ["ClutterCutter_EP1",[12279.14,12630.001,0.00016784668],0], + ["ClutterCutter_EP1",[12282.44,12640.776,-3.0517578e-005],0], + ["ClutterCutter_EP1",[12287.094,12654.634,0],0], + ["ClutterCutter_EP1",[12290.029,12664.062,1.5258789e-005],0], + ["ClutterCutter_EP1",[12279.977,12667.794,1.5258789e-005],0], + ["ClutterCutter_EP1",[12274.697,12654.005,1.5258789e-005],0], + ["ClutterCutter_EP1",[12269.475,12641.901,3.0517578e-005],0], + ["ClutterCutter_EP1",[12265.341,12628.562,-1.5258789e-005],0], + ["ClutterCutter_EP1",[12261.723,12623.555,4.5776367e-005],0], + ["ClutterCutter_EP1",[12266.063,12670.29,4.5776367e-005],0], + ["ClutterCutter_EP1",[12260.409,12655.261,3.0517578e-005],0], + ["ClutterCutter_EP1",[12252.529,12643.91,3.0517578e-005],0], + ["ClutterCutter_EP1",[12248.785,12630.418,0],0], + ["ClutterCutter_EP1",[12237.637,12634.719,0],0], + ["ClutterCutter_EP1",[12240.345,12644.953,-1.5258789e-005],0], + ["ClutterCutter_EP1",[12245.996,12656.736,3.0517578e-005],0], + ["ClutterCutter_EP1",[12250.003,12669.15,1.5258789e-005],0], + ["ClutterCutter_EP1",[12253.217,12678.033,1.5258789e-005],0], + ["ClutterCutter_EP1",[12236.409,12683.36,3.0517578e-005],0], + ["ClutterCutter_EP1",[12234.014,12668.953,0],0], + ["ClutterCutter_EP1",[12227.477,12655.744,1.5258789e-005],0], + ["ClutterCutter_EP1",[12224.586,12645.112,1.5258789e-005],0], + ["ClutterCutter_EP1",[12224.12,12636.691,-4.5776367e-005],0], + ["ClutterCutter_EP1",[12210.236,12642.979,1.5258789e-005],0], + ["ClutterCutter_EP1",[12213.331,12655.859,0],0], + ["ClutterCutter_EP1",[12217.076,12667.909,6.1035156e-005],0], + ["ClutterCutter_EP1",[12222.063,12679.743,1.5258789e-005],0], + ["ClutterCutter_EP1",[12223.627,12688.579,1.5258789e-005],0], + ["ClutterCutter_EP1",[12211.212,12691.705,-1.5258789e-005],0], + ["ClutterCutter_EP1",[12206.646,12678.009,3.0517578e-005],0], + ["ClutterCutter_EP1",[12202.547,12667.329,0],0], + ["ClutterCutter_EP1",[12198.567,12656.072,3.0517578e-005],0], + ["ClutterCutter_EP1",[12196.364,12646.344,-6.1035156e-005],0], + ["ClutterCutter_EP1",[12184.147,12652.874,6.1035156e-005],0], + ["ClutterCutter_EP1",[12185.381,12665.954,-3.0517578e-005],0], + ["ClutterCutter_EP1",[12190.479,12679.198,0],0], + ["ClutterCutter_EP1",[12195.455,12694.118,0],0], + ["ClutterCutter_EP1",[12203.523,12698.949,0],0], + ["ClutterCutter_EP1",[12184.054,12700.647,0],0], + ["ClutterCutter_EP1",[12178.159,12686.023,3.0517578e-005],0], + ["ClutterCutter_EP1",[12173.937,12673.232,0],0], + ["ClutterCutter_EP1",[12170.143,12661.287,4.5776367e-005],0], + ["ClutterCutter_EP1",[12172.007,12653.897,7.6293945e-005],0], + ["ClutterCutter_EP1",[12157.32,12660.926,0],0], + ["ClutterCutter_EP1",[12160.194,12672.946,3.0517578e-005],0], + ["ClutterCutter_EP1",[12162.611,12684.836,0],0], + ["ClutterCutter_EP1",[12165.782,12696.961,0],0], + ["ClutterCutter_EP1",[12170.319,12706.323,1.5258789e-005],0], + ["ClutterCutter_EP1",[12157.438,12710.313,3.0517578e-005],0], + ["ClutterCutter_EP1",[12152.704,12695.341,0],0], + ["ClutterCutter_EP1",[12148.332,12682.457,0],0], + ["ClutterCutter_EP1",[12144.785,12670.386,1.5258789e-005],0], + ["ClutterCutter_EP1",[12135.607,12665.504,1.5258789e-005],0], + ["ClutterCutter_EP1",[12136.784,12679.706,0],0], + ["ClutterCutter_EP1",[12138.868,12691.088,1.5258789e-005],0], + ["ClutterCutter_EP1",[12142.33,12703.661,6.1035156e-005],0], + ["ClutterCutter_EP1",[12143.224,12715.053,0],0], + ["ClutterCutter_EP1",[12134.386,12718.184,3.0517578e-005],0], + ["ClutterCutter_EP1",[12128.65,12704.532,0],0], + ["ClutterCutter_EP1",[12123.266,12688.767,3.0517578e-005],0], + ["ClutterCutter_EP1",[12123.714,12674.122,3.0517578e-005],0], + ["ClutterCutter_EP1",[12109.708,12678.537,3.0517578e-005],0], + ["ClutterCutter_EP1",[12113.136,12693.396,-1.5258789e-005],0], + ["ClutterCutter_EP1",[12117.562,12707.989,0],0], + ["ClutterCutter_EP1",[12122.133,12720.513,3.0517578e-005],0], + ["ClutterCutter_EP1",[12111.721,12725.703,3.0517578e-005],0], + ["ClutterCutter_EP1",[12105.696,12710.837,-1.5258789e-005],0], + ["ClutterCutter_EP1",[12100.185,12695.581,3.0517578e-005],0], + ["ClutterCutter_EP1",[12095.888,12686.208,0],0], + ["ClutterCutter_EP1",[12080.766,12690.188,3.0517578e-005],0], + ["ClutterCutter_EP1",[12085.862,12701.523,1.5258789e-005],0], + ["ClutterCutter_EP1",[12088.903,12713.447,3.0517578e-005],0], + ["ClutterCutter_EP1",[12092.709,12725.762,1.5258789e-005],0], + ["ClutterCutter_EP1",[12096.975,12733.729,1.5258789e-005],0], + ["ClutterCutter_EP1",[12085.109,12736.413,0],0], + ["ClutterCutter_EP1",[12079.017,12724.349,1.5258789e-005],0], + ["ClutterCutter_EP1",[12073.448,12712.842,0],0], + ["ClutterCutter_EP1",[12069.974,12701.076,1.5258789e-005],0], + ["ClutterCutter_EP1",[12065.617,12690.351,9.1552734e-005],0], + ["ClutterCutter_EP1",[12053.842,12696.022,0],0], + ["ClutterCutter_EP1",[12057.136,12708.982,6.1035156e-005],0], + ["ClutterCutter_EP1",[12060.514,12720.233,1.5258789e-005],0], + ["ClutterCutter_EP1",[12064.432,12730.609,1.5258789e-005],0], + ["ClutterCutter_EP1",[12071.859,12740.11,0],0], + ["ClutterCutter_EP1",[12056.973,12745.313,1.5258789e-005],0], + ["ClutterCutter_EP1",[12052.312,12730.878,4.5776367e-005],0], + ["ClutterCutter_EP1",[12047.233,12717.738,1.5258789e-005],0], + ["ClutterCutter_EP1",[12044.311,12707.099,3.0517578e-005],0], + ["ClutterCutter_EP1",[12038.868,12699.035,-3.0517578e-005],0], + ["ClutterCutter_EP1",[12025.358,12705.295,-0.0001373291],0], + ["ClutterCutter_EP1",[12029.154,12716.378,3.0517578e-005],0], + ["ClutterCutter_EP1",[12030.744,12728.67,4.5776367e-005],0], + ["ClutterCutter_EP1",[12034.885,12740.086,4.5776367e-005],0], + ["ClutterCutter_EP1",[12042.495,12751.11,0],0], + ["ClutterCutter_EP1",[12023.882,12756.131,1.5258789e-005],0], + ["ClutterCutter_EP1",[12018.824,12740.827,1.5258789e-005],0], + ["ClutterCutter_EP1",[12015.533,12726.803,0],0], + ["ClutterCutter_EP1",[12011.602,12713.39,3.0517578e-005],0], + ["ClutterCutter_EP1",[12013.309,12704.627,1.5258789e-005],0], + ["ClutterCutter_EP1",[11996.918,12713.501,-9.1552734e-005],0], + ["ClutterCutter_EP1",[11997.146,12727.386,0],0], + ["ClutterCutter_EP1",[12004.312,12737.837,4.5776367e-005],0], + ["ClutterCutter_EP1",[12004.698,12750.066,0],0], + ["ClutterCutter_EP1",[12010.233,12763.051,1.5258789e-005],0], + ["ClutterCutter_EP1",[11995.073,12766.032,0],0], + ["ClutterCutter_EP1",[11991.207,12752.036,0],0], + ["ClutterCutter_EP1",[11987.48,12739.922,1.5258789e-005],0], + ["ClutterCutter_EP1",[11983.766,12728.175,4.5776367e-005],0], + ["ClutterCutter_EP1",[11981.706,12717.673,-1.5258789e-005],0], + ["ClutterCutter_EP1",[11969.366,12722.753,1.5258789e-005],0], + ["ClutterCutter_EP1",[11971.897,12736.396,-3.0517578e-005],0], + ["ClutterCutter_EP1",[11975.418,12749.836,0],0], + ["ClutterCutter_EP1",[11979.256,12762.235,3.0517578e-005],0], + ["ClutterCutter_EP1",[11981.789,12772.279,0],0], + ["ClutterCutter_EP1",[11967.7,12775.415,1.5258789e-005],0], + ["ClutterCutter_EP1",[11962.764,12761.74,1.5258789e-005],0], + ["ClutterCutter_EP1",[11958.729,12746.606,-3.0517578e-005],0], + ["ClutterCutter_EP1",[11956.446,12733.641,-3.0517578e-005],0], + ["ClutterCutter_EP1",[11940.328,12736.415,-1.5258789e-005],0], + ["ClutterCutter_EP1",[11945.175,12749.42,-3.0517578e-005],0], + ["ClutterCutter_EP1",[11949.998,12761.021,3.0517578e-005],0], + ["ClutterCutter_EP1",[11952.954,12773.387,0],0], + ["ClutterCutter_EP1",[11952.819,12781.21,1.5258789e-005],0], + ["ClutterCutter_EP1",[11940.223,12784.269,0],0], + ["ClutterCutter_EP1",[11938.025,12769.682,4.5776367e-005],0], + ["ClutterCutter_EP1",[11932.69,12756.665,0],0], + ["ClutterCutter_EP1",[11929.305,12746.166,-3.0517578e-005],0], + ["ClutterCutter_EP1",[11925.022,12741.172,0],0], + ["ClutterCutter_EP1",[11910.994,12741.087,-1.5258789e-005],0], + ["ClutterCutter_EP1",[11916.012,12753.709,7.6293945e-005],0], + ["ClutterCutter_EP1",[11920.03,12765.092,0.00015258789],0], + ["ClutterCutter_EP1",[11923.17,12776.996,1.5258789e-005],0], + ["ClutterCutter_EP1",[11926.937,12789.116,1.5258789e-005],0], + ["ClutterCutter_EP1",[11914.802,12794.158,0.00012207031],0], + ["ClutterCutter_EP1",[11910.124,12780.403,0],0], + ["ClutterCutter_EP1",[11906.202,12767.164,3.0517578e-005],0], + ["ClutterCutter_EP1",[11901.23,12753.686,4.5776367e-005],0], + ["ClutterCutter_EP1",[11895.944,12743.282,-7.6293945e-005],0], + ["ClutterCutter_EP1",[11898.353,12733.475,0],0], + ["ClutterCutter_EP1",[11885.398,12736.582,4.5776367e-005],0], + ["ClutterCutter_EP1",[11882.461,12750.276,4.5776367e-005],0], + ["ClutterCutter_EP1",[11888.173,12764.08,1.5258789e-005],0], + ["ClutterCutter_EP1",[11891.758,12776.694,1.5258789e-005],0], + ["ClutterCutter_EP1",[11895.475,12787.936,1.5258789e-005],0], + ["ClutterCutter_EP1",[11900.937,12799.279,3.0517578e-005],0], + ["ClutterCutter_EP1",[11886.147,12802.328,-7.6293945e-005],0], + ["ClutterCutter_EP1",[11879.968,12784.727,-1.5258789e-005],0], + ["ClutterCutter_EP1",[11875.833,12772.224,0],0], + ["ClutterCutter_EP1",[11871.435,12758.445,3.0517578e-005],0], + ["ClutterCutter_EP1",[11856.719,12765.083,0],0], + ["ClutterCutter_EP1",[11861.524,12778.303,3.0517578e-005],0], + ["ClutterCutter_EP1",[11865.798,12791.208,0],0], + ["ClutterCutter_EP1",[11874.163,12797.659,0],0], + ["ClutterCutter_EP1",[11872.476,12808.461,3.0517578e-005],0], + ["ClutterCutter_EP1",[11859.593,12811.783,1.5258789e-005],0], + ["ClutterCutter_EP1",[11853.344,12798.78,-3.0517578e-005],0], + ["ClutterCutter_EP1",[11849.701,12786.646,-3.0517578e-005],0], + ["ClutterCutter_EP1",[11844.969,12775.577,1.5258789e-005],0], + ["ClutterCutter_EP1",[11836.27,12767.147,4.5776367e-005],0], + ["ClutterCutter_EP1",[11825.144,12772.774,-0.0001373291],0], + ["ClutterCutter_EP1",[11830.603,12788.523,0],0], + ["ClutterCutter_EP1",[11837.979,12799.686,1.5258789e-005],0], + ["ClutterCutter_EP1",[11843.769,12816.066,0],0], + ["ClutterCutter_EP1",[11831.392,12822.454,1.5258789e-005],0], + ["ClutterCutter_EP1",[11825.23,12809.662,3.0517578e-005],0], + ["ClutterCutter_EP1",[11822.757,12797.668,-1.5258789e-005],0], + ["ClutterCutter_EP1",[11813.723,12778.324,3.0517578e-005],0], + ["ClutterCutter_EP1",[11821.674,12759.75,4.5776367e-005],0], + ["ClutterCutter_EP1",[11809.189,12764.7,0],0], + ["ClutterCutter_EP1",[11804.84,12747.866,4.5776367e-005],0], + ["ClutterCutter_EP1",[11811.66,12744.911,0],0], + ["ClutterCutter_EP1",[11806.695,12730.663,0],0], + ["ClutterCutter_EP1",[11797.649,12732.933,-1.5258789e-005],0], + ["ClutterCutter_EP1",[11793.252,12715.276,4.5776367e-005],0], + ["ClutterCutter_EP1",[11806.406,12716.162,0],0], + ["ClutterCutter_EP1",[11817.4,12722.155,3.0517578e-005],0], + ["ClutterCutter_EP1",[11830.942,12718.061,6.1035156e-005],0], + ["ClutterCutter_EP1",[11841.141,12713.279,3.0517578e-005],0], + ["ClutterCutter_EP1",[11835.865,12697.854,3.0517578e-005],0], + ["ClutterCutter_EP1",[11820.331,12705.365,0],0], + ["ClutterCutter_EP1",[11828.585,12684.733,1.5258789e-005],0], + ["ClutterCutter_EP1",[11836.787,12693.276,1.5258789e-005],0], + ["ClutterCutter_EP1",[11826.392,12671.255,-1.5258789e-005],0], + ["ClutterCutter_EP1",[11820.186,12657.934,-1.5258789e-005],0], + ["ClutterCutter_EP1",[11820.368,12653.997,4.5776367e-005],0], + ["ClutterCutter_EP1",[11806.033,12658.229,0],0], + ["ClutterCutter_EP1",[11810.665,12673.477,4.5776367e-005],0], + ["ClutterCutter_EP1",[11812.374,12685.495,3.0517578e-005],0], + ["ClutterCutter_EP1",[11815.515,12695.948,1.5258789e-005],0], + ["ClutterCutter_EP1",[11802.278,12702.396,1.5258789e-005],0], + ["ClutterCutter_EP1",[11787.498,12700.336,3.0517578e-005],0], + ["ClutterCutter_EP1",[11791.898,12687.368,0],0], + ["ClutterCutter_EP1",[11793.908,12671.397,-1.5258789e-005],0], + ["ClutterCutter_EP1",[11801.524,12680.248,1.5258789e-005],0], + ["ClutterCutter_EP1",[11789.115,12661.667,1.5258789e-005],0], + ["ClutterCutter_EP1",[11782.063,12677.065,3.0517578e-005],0], + ["ClutterCutter_EP1",[11774.023,12662.949,0],0], + ["ClutterCutter_EP1",[11780.288,12651.354,1.5258789e-005],0], + ["ClutterCutter_EP1",[11765.765,12645.647,3.0517578e-005],0], + ["ClutterCutter_EP1",[11763.456,12629.358,0],0], + ["ClutterCutter_EP1",[11778.76,12635.271,1.5258789e-005],0], + ["ClutterCutter_EP1",[11792.172,12628.86,0],0], + ["ClutterCutter_EP1",[11783.394,12623.555,-1.5258789e-005],0], + ["ClutterCutter_EP1",[11803.389,12620.284,3.0517578e-005],0], + ["ClutterCutter_EP1",[11795.783,12616.799,4.5776367e-005],0], + ["ClutterCutter_EP1",[11817.398,12615.993,1.5258789e-005],0], + ["ClutterCutter_EP1",[11812.417,12612.769,3.0517578e-005],0], + ["ClutterCutter_EP1",[11833.799,12617.956,3.0517578e-005],0], + ["ClutterCutter_EP1",[11829.273,12607.154,3.0517578e-005],0], + ["ClutterCutter_EP1",[11844.231,12602.542,1.5258789e-005],0], + ["ClutterCutter_EP1",[11838.94,12600.573,-0.00016784668],0], + ["ClutterCutter_EP1",[11843.749,12625.197,-1.5258789e-005],0], + ["ClutterCutter_EP1",[11848.851,12613.918,4.5776367e-005],0], + ["ClutterCutter_EP1",[11854.81,12627.729,6.1035156e-005],0], + ["ClutterCutter_EP1",[11856.999,12641.527,3.0517578e-005],0], + ["ClutterCutter_EP1",[11848.563,12638.356,4.5776367e-005],0], + ["ClutterCutter_EP1",[11855.679,12655.58,0],0], + ["ClutterCutter_EP1",[11864.201,12654.292,1.5258789e-005],0], + ["ClutterCutter_EP1",[11868.429,12665.724,-1.5258789e-005],0], + ["ClutterCutter_EP1",[11861.743,12672.924,1.5258789e-005],0], + ["ClutterCutter_EP1",[11867.039,12687.274,1.5258789e-005],0], + ["ClutterCutter_EP1",[11871.112,12700.725,3.0517578e-005],0], + ["ClutterCutter_EP1",[11874.452,12679.165,-4.5776367e-005],0], + ["ClutterCutter_EP1",[11879.123,12697.389,3.0517578e-005],0], + ["ClutterCutter_EP1",[11884.053,12711.415,1.5258789e-005],0], + ["ClutterCutter_EP1",[11877.112,12720.295,1.5258789e-005],0], + ["ClutterCutter_EP1",[11887.821,12723.569,-1.5258789e-005],0], + ["Land_a_stationhouse",[11783.938,12719.723,7.6293945e-005],289.05072], + ["Land_Hangar_2",[11819.66,12660.729,-0.033175748],-250.42317], + ["Land_Hangar_2",[11835.981,12707.853,-0.079139128],109.25477], + ["MAP_t_picea1s",[11761.144,12703.628,7.6293945e-005],0], + ["MAP_t_picea2s",[11762.61,12695.992,-1.5258789e-005],0], + ["MAP_t_picea2s",[11761.371,12714.642,-3.0517578e-005],0], + ["MAP_t_picea2s",[11770.902,12727.278,-7.6293945e-005],0], + ["MAP_t_picea2s",[11773.456,12738.76,-0.0001373291],0], + ["MAP_t_picea2s",[11762.16,12723.547,7.6293945e-005],0], + ["MAP_t_picea2s",[11764.688,12733.994,4.5776367e-005],0], + ["MAP_t_picea2s",[11753.16,12627.361,1.5258789e-005],0], + ["MAP_t_picea2s",[11767.412,12616.044,-0.00010681152],0], + ["MAP_t_picea2s",[11780.59,12610.603,-0.00012207031],0], + ["MAP_t_picea1s",[11761.78,12618.979,1.5258789e-005],0], + ["MAP_t_picea1s",[11757.4,12622.27,-1.5258789e-005],0], + ["MAP_t_picea2s",[11755.268,12614.63,7.6293945e-005],0], + ["MAP_t_picea2s",[11811.876,12641.568],0], + ["MAP_t_picea2s",[11804.383,12642.653,-3.0517578e-005],0], + ["MAP_t_picea1s",[11808.641,12637.809,3.0517578e-005],0], + ["MAP_t_picea1s",[11818.883,12641.522,6.1035156e-005],0], + ["MAP_t_picea2s",[11832.808,12730.636,-1.5258789e-005],0], + ["MAP_t_picea2s",[11855.613,12712.761,-6.1035156e-005],0], + ["MAP_t_picea2s",[11841.183,12731.658,9.1552734e-005],0], + ["MAP_t_picea2s",[11850.245,12724.468,6.1035156e-005],0], + ["MAP_t_picea1s",[11842.886,12725.788],0], + ["MAP_t_picea1s",[11836.327,12735.938,1.5258789e-005],0], + ["MAP_t_picea1s",[11856.617,12721.298],0], + ["MAP_t_betula2w",[11799.246,12647.899,-1.5258789e-005],-8.6476421], + ["MAP_t_betula2w",[11773.365,12610.281,9.1552734e-005],0], + ["MAP_t_betula2w",[11838.711,12664.848],0], + ["MAP_t_betula2w",[11758.773,12708.232,-4.5776367e-005],0], + ["HMMWVWreck",[11817.271,12694.664,1.5258789e-005],-36.19305], + ["ClutterCutter_EP1",[11803.979,12692.044,-9.1552734e-005],0], + ["Body2",[11821.301,12694.59],44.085854], + ["Body1",[11812.969,12694.115,0],0], + ["Body2",[11815.298,12692.105],-60.295448], + ["Land_Camp_Fire_DZ",[11817.798,12693.678,-0.17121282],0], + ["Land_Ind_TankSmall",[11821.184,12678.874,-1.5258789e-005],19.464277], + ["Land_Ind_TankSmall",[11831.584,12675.185,3.0517578e-005],19.754786], + ["Paleta2",[11816.019,12739.777],-32.01495], + ["Rubbish1",[11781.125,12688.866],-57.322929], + ["Rubbish2",[11786.964,12656.147,3.0517578e-005],-127.71127], + ["Land_Misc_Garb_Heap_EP1",[11786.287,12652.268,1.5258789e-005],-23.96274], + ["Garbage_can",[11788.643,12657.678,-3.0517578e-005],0], + ["Garbage_container",[11789.275,12654.626,-1.5258789e-005],2.9569733], + ["Garbage_container",[11790.565,12653.663,-1.5258789e-005],31.469322], + ["UralWreck",[11767.774,12658.969,3.0517578e-005],52.665707], + ["MAP_dum_rasovna_ruins",[11851.539,12747.081,3.0517578e-005],-67.506355], + ["MAP_domek_rosa_ruins",[11863.676,12747.392,3.0517578e-005],-21.380117], + ["C130J_wreck_EP1",[11858.439,12751.198,-1.5258789e-005],77.720589], + ["MAP_misc_FallenTree2",[11849.661,12739.366,-1.5258789e-005],-122.1315], + ["MAP_misc_FallenSpruce",[11852.476,12755.897],-79.998436], + ["MAP_misc_FallenTree2",[11846.301,12746.378],-76.856926], + ["MAP_misc_stub2",[11862.85,12745.421],161.46614], + ["MAP_misc_stub2",[11865.15,12744.08,1.5258789e-005],-35.405952], + ["Land_Camp_Fire_DZ",[11862.348,12748.077,-0.35221288],0], + ["Land_Camp_Fire_DZ",[11863.922,12749.056,-0.31857094],0], + ["Land_Camp_Fire_DZ",[11862.964,12748.467,-0.34177306],0], + ["Land_Camp_Fire_DZ",[11846.282,12751.074,-0.27414048],0], + ["Land_Camp_Fire_DZ",[11844.693,12749.784,-0.14887024],0], + ["Land_Camp_Fire_DZ",[11845.191,12747.735,-0.15923657],0], + ["MAP_t_picea2s",[11886.819,12680.772,-9.1552734e-005],0], + ["MAP_t_picea2s",[11887.217,12670.516,-3.0517578e-005],0], + ["MAP_t_picea2s",[11881.556,12662.431,6.1035156e-005],0], + ["MAP_t_picea2s",[11890.409,12661.362,6.1035156e-005],0], + ["MAP_t_picea2s",[11903.142,12663.133,-1.5258789e-005],0], + ["MAP_t_picea1s",[11896.127,12667.582,-6.1035156e-005],0], + ["MAP_t_picea1s",[11883.93,12675.075,-3.0517578e-005],0], + ["MAP_t_picea1s",[11897.16,12649.117,-4.5776367e-005],0], + ["MAP_t_picea2s",[11906.478,12654.97,6.1035156e-005],0], + ["MAP_t_picea2s",[11903.38,12643.253,0.00012207031],0], + ["MAP_t_picea2s",[11896.461,12656.793,4.5776367e-005],0], + ["MAP_t_picea2s",[11888.38,12651.196,-3.0517578e-005],0], + ["MAP_t_picea2s",[11891.998,12642.348,1.5258789e-005],0], + ["MAP_t_picea2s",[11896.085,12633.092,1.5258789e-005],0], + ["MAP_t_picea2s",[11911.656,12669.844,4.5776367e-005],0], + ["MAP_t_picea2s",[11897.552,12674.797,3.0517578e-005],0], + ["MAP_t_betula2w",[11906.236,12677.297,-3.0517578e-005],0], + ["Land_Mil_Barracks_i",[12572.636,12497.678,6.1035156e-005],-3.3692484], + ["Land_Ind_Workshop01_01",[11836.992,12685.103,7.6293945e-005],-71.381462] +],false,false,false] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/NWATentCamp.sqf b/SQF/dayz_code/system/mission/chernarus/poi/NWATentCamp.sqf new file mode 100644 index 00000000..d6a88a7b --- /dev/null +++ b/SQF/dayz_code/system/mission/chernarus/poi/NWATentCamp.sqf @@ -0,0 +1,1717 @@ +//This spawns in a military tent compound just north of the NW Airfield at 039 043. +//Created by Nox 2017-02-01. Contact: DayZ Europa, Dayz mod discord +//Copyright by the DayZ Mod dev team. + +_vehicle_94 = objNull; +if (true) then +{ + _this = "Misc_Cargo1Bo_military" createVehicle [3890.2683, 11011.416, 0.042650443]; + _vehicle_94 = _this; + _this setDir -132.28661; + _this setPos [3890.2683, 11011.416, 0.042650443]; +}; + +_vehicle_118 = objNull; +if (true) then +{ + _this = "HMMWVWreck" createVehicle [3926.7175, 10959.546, -3.0517578e-005]; + _vehicle_118 = _this; + _this setDir -20.396053; + _this setPos [3926.7175, 10959.546, -3.0517578e-005]; +}; + +_vehicle_119 = objNull; +if (true) then +{ + _this = "Mi8Wreck" createVehicle [3952.6052, 11055.924]; + _vehicle_119 = _this; + _this setDir 3.9880834; + _this setPos [3952.6052, 11055.924]; +}; + +_vehicle_122 = objNull; +if (true) then +{ + _this = "UralWreck" createVehicle [3889.4087, 11042.636, 3.0517578e-005]; + _vehicle_122 = _this; + _this setDir -375.14511; + _this setPos [3889.4087, 11042.636, 3.0517578e-005]; +}; + +_vehicle_123 = objNull; +if (true) then +{ + _this = "BMP2Wreck" createVehicle [3923.8643, 10978.193, -0.0064422311]; + _vehicle_123 = _this; + _this setDir -49.264545; + _this setPos [3923.8643, 10978.193, -0.0064422311]; +}; + +_vehicle_127 = objNull; +if (true) then +{ + _this = "UAZWreck" createVehicle [3879.3914, 11035.235, 9.1552734e-005]; + _vehicle_127 = _this; + _this setDir -225.91878; + _this setPos [3879.3914, 11035.235, 9.1552734e-005]; +}; + +_vehicle_134 = objNull; +if (true) then +{ + _this = "datsun02Wreck" createVehicle [3930.4602, 10968.363, 9.1552734e-005]; + _vehicle_134 = _this; + _this setDir -19.265348; + _this setPos [3930.4602, 10968.363, 9.1552734e-005]; +}; + +_vehicle_142 = objNull; +if (true) then +{ + _this = "Sign_Checkpoint_EP1" createVehicle [3926.8413, 10984.315]; + _vehicle_142 = _this; + _this setPos [3926.8413, 10984.315]; +}; + +_vehicle_158 = objNull; +if (true) then +{ + _this = "AmmoCrates_NoInteractive_Large" createVehicle [3916.5845, 11006.377, -3.0517578e-005]; + _vehicle_158 = _this; + _this setDir 133.20999; + _this setPos [3916.5845, 11006.377, -3.0517578e-005]; +}; + +_vehicle_159 = objNull; +if (true) then +{ + _this = "AmmoCrates_NoInteractive_Medium" createVehicle [3965.4653, 11060.445]; + _vehicle_159 = _this; + _this setPos [3965.4653, 11060.445]; +}; + +_vehicle_160 = objNull; +if (true) then +{ + _this = "AmmoCrates_NoInteractive_Small" createVehicle [3964.8689, 11061.323, -9.1552734e-005]; + _vehicle_160 = _this; + _this setPos [3964.8689, 11061.323, -9.1552734e-005]; +}; + +_vehicle_167 = objNull; +if (true) then +{ + _this = "PowGen_Big" createVehicle [3945.8833, 11077.228]; + _vehicle_167 = _this; + _this setDir 94.93306; + _this setPos [3945.8833, 11077.228]; +}; + +_vehicle_170 = objNull; +if (true) then +{ + _this = "Camp" createVehicle [3916.978, 11056.58, -3.0517578e-005]; + _vehicle_170 = _this; + _this setDir 46.633144; + _this setPos [3916.978, 11056.58, -3.0517578e-005]; +}; + +_vehicle_174 = objNull; +if (true) then +{ + _this = "Misc_Cargo1B_military" createVehicle [3892.7014, 11008.477, -0.019631863]; + _vehicle_174 = _this; + _this setDir 48.62606; + _this setPos [3892.7014, 11008.477, -0.019631863]; +}; + +_vehicle_203 = objNull; +if (true) then +{ + _this = "Camp" createVehicle [3921.8413, 11051.56, -3.0517578e-005]; + _vehicle_203 = _this; + _this setDir 46.633144; + _this setPos [3921.8413, 11051.56, -3.0517578e-005]; +}; + +_vehicle_205 = objNull; +if (true) then +{ + _this = "Camp" createVehicle [3926.9348, 11045.705]; + _vehicle_205 = _this; + _this setDir 46.633144; + _this setPos [3926.9348, 11045.705]; +}; + +_vehicle_210 = objNull; +if (true) then +{ + _this = "Camp" createVehicle [3930.9038, 11058.846, 3.0517578e-005]; + _vehicle_210 = _this; + _this setDir 230.97359; + _this setPos [3930.9038, 11058.846, 3.0517578e-005]; +}; + +_vehicle_212 = objNull; +if (true) then +{ + _this = "Camp" createVehicle [3926.1023, 11064.544]; + _vehicle_212 = _this; + _this setDir 230.97359; + _this setPos [3926.1023, 11064.544]; +}; + +_vehicle_217 = objNull; +if (true) then +{ + _this = "Land_Toilet" createVehicle [3909.1519, 11049.229, 3.0517578e-005]; + _vehicle_217 = _this; + _this setDir 407.06842; + _this setPos [3909.1519, 11049.229, 3.0517578e-005]; +}; + +_vehicle_231 = objNull; +if (true) then +{ + _this = "Land_radar_EP1" createVehicle [3934.9553, 11235.147]; + _vehicle_231 = _this; + _this setDir 159.35098; + _this setPos [3934.9553, 11235.147]; +}; + +_vehicle_236 = objNull; +if (true) then +{ + _this = "Land_Ind_TankSmall" createVehicle [3879.323, 11041.94, -6.1035156e-005]; + _vehicle_236 = _this; + _this setDir -44.442314; + _this setPos [3879.323, 11041.94, -6.1035156e-005]; +}; + +_vehicle_238 = objNull; +if (true) then +{ + _this = "Land_Ind_TankSmall2" createVehicle [3961.1497, 11067.28, -3.0517578e-005]; + _vehicle_238 = _this; + _this setDir 48.722527; + _this setPos [3961.1497, 11067.28, -3.0517578e-005]; +}; + +_vehicle_247 = objNull; +if (true) then +{ + _this = "Land_Fort_Watchtower" createVehicle [3919.3335, 11004.488, 0.021191061]; + _vehicle_247 = _this; + _this setDir -44.249626; + _this setPos [3919.3335, 11004.488, 0.021191061]; +}; + +_vehicle_257 = objNull; +if (true) then +{ + _this = "Land_HBarrier3" createVehicle [3890.3984, 11002.224, -3.0517578e-005]; + _vehicle_257 = _this; + _this setDir -40.811821; + _this setPos [3890.3984, 11002.224, -3.0517578e-005]; +}; + +_vehicle_258 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3934.1211, 11023.296]; + _vehicle_258 = _this; + _this setDir 107.08715; + _this setPos [3934.1211, 11023.296]; +}; + +_vehicle_266 = objNull; +if (true) then +{ + _this = "ZavoraAnim" createVehicle [3933.1504, 10995.512, 3.0517578e-005]; + _vehicle_266 = _this; + _this setDir 360.07468; + _this setPos [3933.1504, 10995.512, 3.0517578e-005]; +}; + +_vehicle_273 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3960.4856, 11047.874]; + _vehicle_273 = _this; + _this setDir -40.935375; + _this setPos [3960.4856, 11047.874]; +}; + +_vehicle_290 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_3" createVehicle [3934.2615, 11011.859, 6.1035156e-005]; + _vehicle_290 = _this; + _this setDir -33.592312; + _this setPos [3934.2615, 11011.859, 6.1035156e-005]; +}; + +_vehicle_297 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_3" createVehicle [3923.3259, 11002.253, -3.0517578e-005]; + _vehicle_297 = _this; + _this setDir -47.739304; + _this setPos [3923.3259, 11002.253, -3.0517578e-005]; +}; + +_vehicle_302 = objNull; +if (true) then +{ + _this = "MAP_Wall_IndFnc_Pole" createVehicle [3924.2529, 11003.306]; + _vehicle_302 = _this; + _this setDir -47.435883; + _this setPos [3924.2529, 11003.306]; +}; + +_vehicle_304 = objNull; +if (true) then +{ + _this = "Land_Toilet" createVehicle [3911.8259, 11046.045, -3.0517578e-005]; + _vehicle_304 = _this; + _this setDir 410.85168; + _this setPos [3911.8259, 11046.045, -3.0517578e-005]; +}; + +_vehicle_306 = objNull; +if (true) then +{ + _this = "Land_Toilet" createVehicle [3910.3691, 11047.762]; + _vehicle_306 = _this; + _this setDir 407.35742; + _this setPos [3910.3691, 11047.762]; +}; + +_vehicle_315 = objNull; +if (true) then +{ + _this = "Land_Ind_TankSmall" createVehicle [3955.8899, 11072.895, 3.0517578e-005]; + _vehicle_315 = _this; + _this setDir 48.479504; + _this setPos [3955.8899, 11072.895, 3.0517578e-005]; +}; + +_vehicle_318 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3896.4202, 11007.482, 0.00012207031]; + _vehicle_318 = _this; + _this setDir -221.52559; + _this setPos [3896.4202, 11007.482, 0.00012207031]; +}; + +_vehicle_320 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3897.2339, 11008.399, 3.0517578e-005]; + _vehicle_320 = _this; + _this setDir -42.035709; + _this setPos [3897.2339, 11008.399, 3.0517578e-005]; +}; + +_vehicle_322 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3889.6357, 11000.879, -3.0517578e-005]; + _vehicle_322 = _this; + _this setDir -130.7234; + _this setPos [3889.6357, 11000.879, -3.0517578e-005]; +}; + +_vehicle_324 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3885.7905, 11005.141, 0.00021362305]; + _vehicle_324 = _this; + _this setDir -132.96863; + _this setPos [3885.7905, 11005.141, 0.00021362305]; +}; + +_vehicle_329 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3908.5933, 11011.088, 3.0517578e-005]; + _vehicle_329 = _this; + _this setDir -139.14868; + _this setPos [3908.5933, 11011.088, 3.0517578e-005]; +}; + +_vehicle_331 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3909.1624, 11009.737, 0.00021362305]; + _vehicle_331 = _this; + _this setDir -321.31256; + _this setPos [3909.1624, 11009.737, 0.00021362305]; +}; + +_vehicle_334 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3933.5264, 11011.874, -6.1035156e-005]; + _vehicle_334 = _this; + _this setDir -88.364952; + _this setPos [3933.5264, 11011.874, -6.1035156e-005]; +}; + +_vehicle_336 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3933.6663, 11017.552, 3.0517578e-005]; + _vehicle_336 = _this; + _this setDir -87.355087; + _this setPos [3933.6663, 11017.552, 3.0517578e-005]; +}; + +_vehicle_338 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3938.293, 11027.42, -3.0517578e-005]; + _vehicle_338 = _this; + _this setDir -220.63132; + _this setPos [3938.293, 11027.42, -3.0517578e-005]; +}; + +_vehicle_340 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3939.1626, 11028.37]; + _vehicle_340 = _this; + _this setDir -43.761044; + _this setPos [3939.1626, 11028.37]; +}; + +_vehicle_343 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3943.4441, 11032.145, -3.0517578e-005]; + _vehicle_343 = _this; + _this setDir -42.807655; + _this setPos [3943.4441, 11032.145, -3.0517578e-005]; +}; + +_vehicle_345 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3948.6501, 11036.696]; + _vehicle_345 = _this; + _this setDir -40.709114; + _this setPos [3948.6501, 11036.696]; +}; + +_vehicle_350 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3955.1833, 11042.4, 6.1035156e-005]; + _vehicle_350 = _this; + _this setDir -39.870502; + _this setPos [3955.1833, 11042.4, 6.1035156e-005]; +}; + +_vehicle_352 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3964.7356, 11051.678]; + _vehicle_352 = _this; + _this setDir -41.617138; + _this setPos [3964.7356, 11051.678]; +}; + +_vehicle_403 = objNull; +if (true) then +{ + _this = "MAP_Heli_H_cross" createVehicle [3953.8809, 11055.072, 6.1035156e-005]; + _vehicle_403 = _this; + _this setPos [3953.8809, 11055.072, 6.1035156e-005]; +}; + +_vehicle_410 = objNull; +if (true) then +{ + _this = "MAP_Heli_H_cross" createVehicle [3940.5549, 11071.127, -6.1035156e-005]; + _vehicle_410 = _this; + _this setPos [3940.5549, 11071.127, -6.1035156e-005]; +}; + +_vehicle_413 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3969.5073, 11056.625, 3.0517578e-005]; + _vehicle_413 = _this; + _this setDir -132.29822; + _this setPos [3969.5073, 11056.625, 3.0517578e-005]; +}; + +_vehicle_420 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3967.3645, 11061.326]; + _vehicle_420 = _this; + _this setDir -131.6759; + _this setPos [3967.3645, 11061.326]; +}; + +_vehicle_423 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3969.0088, 11055.492, 3.0517578e-005]; + _vehicle_423 = _this; + _this setDir 136.46523; + _this setPos [3969.0088, 11055.492, 3.0517578e-005]; +}; + +_vehicle_426 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3969.9678, 11056.365, 3.0517578e-005]; + _vehicle_426 = _this; + _this setDir 136.46523; + _this setPos [3969.9678, 11056.365, 3.0517578e-005]; +}; + +_vehicle_431 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3961.585, 11070.019, 3.0517578e-005]; + _vehicle_431 = _this; + _this setDir -132.29822; + _this setPos [3961.585, 11070.019, 3.0517578e-005]; +}; + +_vehicle_433 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3953.4353, 11076.45, -3.0517578e-005]; + _vehicle_433 = _this; + _this setDir -132.29822; + _this setPos [3953.4353, 11076.45, -3.0517578e-005]; +}; + +_vehicle_446 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3965.4937, 11065.751]; + _vehicle_446 = _this; + _this setDir -132.29822; + _this setPos [3965.4937, 11065.751]; +}; + +_vehicle_449 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3957.6367, 11074.252, -3.0517578e-005]; + _vehicle_449 = _this; + _this setDir -132.29822; + _this setPos [3957.6367, 11074.252, -3.0517578e-005]; +}; + +_vehicle_455 = objNull; +if (true) then +{ + _this = "Camp" createVehicle [3935.4446, 11053.462, -3.0517578e-005]; + _vehicle_455 = _this; + _this setDir 230.97359; + _this setPos [3935.4446, 11053.462, -3.0517578e-005]; +}; + +_vehicle_458 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3949.5503, 11080.751]; + _vehicle_458 = _this; + _this setDir -132.29822; + _this setPos [3949.5503, 11080.751]; +}; + +_vehicle_463 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3941.6497, 11087.372, 3.0517578e-005]; + _vehicle_463 = _this; + _this setDir -223.29887; + _this setPos [3941.6497, 11087.372, 3.0517578e-005]; +}; + +_vehicle_466 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3931.9006, 11011.67, 3.0517578e-005]; + _vehicle_466 = _this; + _this setDir 82.981972; + _this setPos [3931.9006, 11011.67, 3.0517578e-005]; +}; + +_vehicle_478 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3937.5693, 11083.276, -9.1552734e-005]; + _vehicle_478 = _this; + _this setDir -223.29887; + _this setPos [3937.5693, 11083.276, -9.1552734e-005]; +}; + +_vehicle_482 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3933.3994, 11079.257, -9.1552734e-005]; + _vehicle_482 = _this; + _this setDir -223.29887; + _this setPos [3933.3994, 11079.257, -9.1552734e-005]; +}; + +_vehicle_484 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3928.6194, 11074.534, 9.1552734e-005]; + _vehicle_484 = _this; + _this setDir -223.29887; + _this setPos [3928.6194, 11074.534, 9.1552734e-005]; +}; + +_vehicle_489 = objNull; +if (true) then +{ + _this = "MAP_Hlidac_budka" createVehicle [3925.0127, 10988.146]; + _vehicle_489 = _this; + _this setDir 630.42322; + _this setPos [3925.0127, 10988.146]; +}; + +_vehicle_519 = objNull; +if (true) then +{ + _this = "MAP_fort_bagfence_corner" createVehicle [3924.0623, 10985.124, -3.0517578e-005]; + _vehicle_519 = _this; + _this setDir 2.2258055; + _this setPos [3924.0623, 10985.124, -3.0517578e-005]; +}; + +_vehicle_533 = objNull; +if (true) then +{ + _this = "MAP_CncBlock" createVehicle [3929.6238, 10972.504, 0.0028391904]; + _vehicle_533 = _this; + _this setDir 1.5170435; + _this setPos [3929.6238, 10972.504, 0.0028391904]; +}; + +_vehicle_535 = objNull; +if (true) then +{ + _this = "MAP_CncBlock" createVehicle [3926.7927, 10972.521]; + _vehicle_535 = _this; + _this setDir 0.96982956; + _this setPos [3926.7927, 10972.521]; +}; + +_vehicle_538 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3943.1277, 11087.921]; + _vehicle_538 = _this; + _this setDir 160.80922; + _this setPos [3943.1277, 11087.921]; +}; + +_vehicle_540 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3945.6211, 11085.415]; + _vehicle_540 = _this; + _this setDir 222.69772; + _this setPos [3945.6211, 11085.415]; +}; + +_vehicle_543 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3881.3391, 11010.534, -3.0517578e-005]; + _vehicle_543 = _this; + _this setDir -128.03677; + _this setPos [3881.3391, 11010.534, -3.0517578e-005]; +}; + +_vehicle_545 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3877.7144, 11014.983, 6.1035156e-005]; + _vehicle_545 = _this; + _this setDir -128.03677; + _this setPos [3877.7144, 11014.983, 6.1035156e-005]; +}; + +_vehicle_548 = objNull; +if (true) then +{ + _this = "Misc_Cargo1B_military" createVehicle [3888.2156, 11014.706, 6.1035156e-005]; + _vehicle_548 = _this; + _this setDir 48.268764; + _this setPos [3888.2156, 11014.706, 6.1035156e-005]; +}; + +_vehicle_550 = objNull; +if (true) then +{ + _this = "Misc_Cargo1B_military" createVehicle [3886.4006, 11016.949, 6.1035156e-005]; + _vehicle_550 = _this; + _this setDir 43.230724; + _this setPos [3886.4006, 11016.949, 6.1035156e-005]; +}; + +_vehicle_552 = objNull; +if (true) then +{ + _this = "Misc_Cargo1B_military" createVehicle [3888.1787, 11014.727, 2.4500997]; + _vehicle_552 = _this; + _this setDir 228.59882; + _this setPos [3888.1787, 11014.727, 2.4500997]; +}; + +_vehicle_616 = objNull; +if (true) then +{ + _this = "MAP_misc_amplion_wood" createVehicle [3892.6082, 11033.824, -3.0517578e-005]; + _vehicle_616 = _this; + _this setDir -166.00587; + _this setPos [3892.6082, 11033.824, -3.0517578e-005]; +}; + +_vehicle_645 = objNull; +if (true) then +{ + _this = "MAP_drevena_bedna" createVehicle [3891.854, 11012.223]; + _vehicle_645 = _this; + _this setDir 141.02856; + _this setPos [3891.854, 11012.223]; +}; + +_vehicle_647 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3945.6348, 11088.727]; + _vehicle_647 = _this; + _this setDir 231.51234; + _this setPos [3945.6348, 11088.727]; +}; + +_vehicle_653 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3953.1792, 11040.681, 6.1035156e-005]; + _vehicle_653 = _this; + _this setDir 149.50349; + _this setPos [3953.1792, 11040.681, 6.1035156e-005]; +}; + +_vehicle_656 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3924.3425, 11070.637, -3.0517578e-005]; + _vehicle_656 = _this; + _this setDir -220.3396; + _this setPos [3924.3425, 11070.637, -3.0517578e-005]; +}; + +_vehicle_659 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3920.0825, 11066.521, 3.0517578e-005]; + _vehicle_659 = _this; + _this setDir -224.30481; + _this setPos [3920.0825, 11066.521, 3.0517578e-005]; +}; + +_vehicle_662 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3915.7876, 11062.602, -6.1035156e-005]; + _vehicle_662 = _this; + _this setDir 129.68227; + _this setPos [3915.7876, 11062.602, -6.1035156e-005]; +}; + +_vehicle_665 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3913.2483, 11062.121, -6.1035156e-005]; + _vehicle_665 = _this; + _this setDir 161.49112; + _this setPos [3913.2483, 11062.121, -6.1035156e-005]; +}; + +_vehicle_668 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3912.9346, 11060.215]; + _vehicle_668 = _this; + _this setDir 127.98961; + _this setPos [3912.9346, 11060.215]; +}; + +_vehicle_671 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3912.1348, 11059.161, 6.1035156e-005]; + _vehicle_671 = _this; + _this setDir -224.30481; + _this setPos [3912.1348, 11059.161, 6.1035156e-005]; +}; + +_vehicle_674 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3908.2458, 11055.146, -6.1035156e-005]; + _vehicle_674 = _this; + _this setDir -224.30481; + _this setPos [3908.2458, 11055.146, -6.1035156e-005]; +}; + +_vehicle_677 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3903.885, 11051.306, 3.0517578e-005]; + _vehicle_677 = _this; + _this setDir -222.24062; + _this setPos [3903.885, 11051.306, 3.0517578e-005]; +}; + +_vehicle_682 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3895.4761, 11045.241, 3.0517578e-005]; + _vehicle_682 = _this; + _this setDir -135.36388; + _this setPos [3895.4761, 11045.241, 3.0517578e-005]; +}; + +_vehicle_685 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3891.5979, 11049.498, 3.0517578e-005]; + _vehicle_685 = _this; + _this setDir -135.36388; + _this setPos [3891.5979, 11049.498, 3.0517578e-005]; +}; + +_vehicle_688 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3874.1519, 11019.541, 0.00012207031]; + _vehicle_688 = _this; + _this setDir -128.03677; + _this setPos [3874.1519, 11019.541, 0.00012207031]; +}; + +_vehicle_690 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3870.7314, 11024.147, -6.1035156e-005]; + _vehicle_690 = _this; + _this setDir -128.03677; + _this setPos [3870.7314, 11024.147, -6.1035156e-005]; +}; + +_vehicle_693 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3887.5137, 11053.805]; + _vehicle_693 = _this; + _this setDir -225.6996; + _this setPos [3887.5137, 11053.805]; +}; + +_vehicle_695 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3883.4102, 11049.721, -3.0517578e-005]; + _vehicle_695 = _this; + _this setDir -225.6996; + _this setPos [3883.4102, 11049.721, -3.0517578e-005]; +}; + +_vehicle_697 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3868.0457, 11033.869, 6.1035156e-005]; + _vehicle_697 = _this; + _this setDir -228.25618; + _this setPos [3868.0457, 11033.869, 6.1035156e-005]; +}; + +_vehicle_700 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3867.0417, 11028.646]; + _vehicle_700 = _this; + _this setDir 65.725311; + _this setPos [3867.0417, 11028.646]; +}; + +_vehicle_702 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3866.3826, 11029.756, 6.1035156e-005]; + _vehicle_702 = _this; + _this setDir 50.645046; + _this setPos [3866.3826, 11029.756, 6.1035156e-005]; +}; + +_vehicle_705 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3872.2158, 11037.831, 6.1035156e-005]; + _vehicle_705 = _this; + _this setDir -220.49664; + _this setPos [3872.2158, 11037.831, 6.1035156e-005]; +}; + +_vehicle_708 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3873.178, 11038.983, 6.1035156e-005]; + _vehicle_708 = _this; + _this setDir -57.472492; + _this setPos [3873.178, 11038.983, 6.1035156e-005]; +}; + +_vehicle_714 = objNull; +if (true) then +{ + _this = "Land_tent_east" createVehicle [3940.1069, 11040.798]; + _vehicle_714 = _this; + _this setDir -133.63884; + _this setPos [3940.1069, 11040.798]; +}; + +_vehicle_728 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3882.0564, 11009.451, 0.00018310547]; + _vehicle_728 = _this; + _this setDir -129.04329; + _this setPos [3882.0564, 11009.451, 0.00018310547]; +}; + +_vehicle_731 = objNull; +if (true) then +{ + _this = "Land_tent_east" createVehicle [3930.6797, 11031.964, 0.00012207031]; + _vehicle_731 = _this; + _this setDir -222.19072; + _this setPos [3930.6797, 11031.964, 0.00012207031]; +}; + +_vehicle_734 = objNull; +if (true) then +{ + _this = "UAZWreck" createVehicle [3882.624, 11037.957, -6.1035156e-005]; + _vehicle_734 = _this; + _this setDir -385.28848; + _this setPos [3882.624, 11037.957, -6.1035156e-005]; +}; + +_vehicle_740 = objNull; +if (true) then +{ + _this = "Land_Fort_Watchtower" createVehicle [3872.2214, 11029.103, -3.0517578e-005]; + _vehicle_740 = _this; + _this setDir -39.170345; + _this setPos [3872.2214, 11029.103, -3.0517578e-005]; +}; + +_vehicle_743 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3879.29, 11045.612, 0.00015258789]; + _vehicle_743 = _this; + _this setDir -225.6996; + _this setPos [3879.29, 11045.612, 0.00015258789]; +}; + +_vehicle_747 = objNull; +if (true) then +{ + _this = "USMC_WarfareBFieldhHospital" createVehicle [3894.4197, 11021.018, -0.10382144]; + _vehicle_747 = _this; + _this setDir 135.35919; + _this setPos [3894.4197, 11021.018, -0.10382144]; +}; + +_vehicle_749 = objNull; +if (true) then +{ + _this = "UralWreck" createVehicle [3879.6946, 11027.001, 0.00030517578]; + _vehicle_749 = _this; + _this setDir -473.62155; + _this setPos [3879.6946, 11027.001, 0.00030517578]; +}; + +_vehicle_753 = objNull; +if (true) then +{ + _this = "Land_Toilet" createVehicle [3914.9788, 11047.928, 3.0517578e-005]; + _vehicle_753 = _this; + _this setDir 233.04257; + _this setPos [3914.9788, 11047.928, 3.0517578e-005]; +}; + +_vehicle_755 = objNull; +if (true) then +{ + _this = "Land_Toilet" createVehicle [3913.2917, 11049.845, 0.00015258789]; + _vehicle_755 = _this; + _this setDir 223.1655; + _this setPos [3913.2917, 11049.845, 0.00015258789]; +}; + +_vehicle_757 = objNull; +if (true) then +{ + _this = "Land_Toilet" createVehicle [3911.7246, 11051.477, 0.00021362305]; + _vehicle_757 = _this; + _this setDir 560.56427; + _this setPos [3911.7246, 11051.477, 0.00021362305]; +}; + +_vehicle_760 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3875.0376, 11041.893, 3.0517578e-005]; + _vehicle_760 = _this; + _this setDir -41.082367; + _this setPos [3875.0376, 11041.893, 3.0517578e-005]; +}; + +_vehicle_762 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3872.1035, 11041.907, 3.0517578e-005]; + _vehicle_762 = _this; + _this setDir -57.472492; + _this setPos [3872.1035, 11041.907, 3.0517578e-005]; +}; + +_vehicle_766 = objNull; +if (true) then +{ + _this = "RU_WarfareBVehicleServicePoint" createVehicle [3876.4482, 11020.225]; + _vehicle_766 = _this; + _this setDir 410.29111; + _this setPos [3876.4482, 11020.225]; +}; + +_vehicle_779 = objNull; +if (true) then +{ + _this = "Land_HBarrier5" createVehicle [3899.6135, 11047.374]; + _vehicle_779 = _this; + _this setDir -224.26852; + _this setPos [3899.6135, 11047.374]; +}; + +_vehicle_782 = objNull; +if (true) then +{ + _this = "hiluxWreck" createVehicle [3928.6189, 11000.549, -3.0517578e-005]; + _vehicle_782 = _this; + _this setDir -161.06534; + _this setPos [3928.6189, 11000.549, -3.0517578e-005]; +}; + +_vehicle_784 = objNull; +if (true) then +{ + _this = "UralWreck" createVehicle [3937.8904, 11061.807, 3.0517578e-005]; + _vehicle_784 = _this; + _this setDir -389.63504; + _this setPos [3937.8904, 11061.807, 3.0517578e-005]; +}; + +_vehicle_790 = objNull; +if (true) then +{ + _this = "BMP2Wreck" createVehicle [3916.8054, 11012.497]; + _vehicle_790 = _this; + _this setDir -99.934082; + _this setPos [3916.8054, 11012.497]; +}; + +_vehicle_791 = objNull; +if (true) then +{ + _this = "AmmoCrates_NoInteractive_Large" createVehicle [3914.7695, 11045.874]; + _vehicle_791 = _this; + _this setDir -177.98792; + _this setPos [3914.7695, 11045.874]; +}; + +_vehicle_792 = objNull; +if (true) then +{ + _this = "AmmoCrates_NoInteractive_Medium" createVehicle [3913.4922, 11045.173, -6.1035156e-005]; + _vehicle_792 = _this; + _this setDir -44.77565; + _this setPos [3913.4922, 11045.173, -6.1035156e-005]; +}; + +_vehicle_795 = objNull; +if (true) then +{ + _this = "Land_CamoNetVar_EAST" createVehicle [3914.1277, 11048.075, 0.16966489]; + _vehicle_795 = _this; + _this setDir -131.92813; + _this setPos [3914.1277, 11048.075, 0.16966489]; +}; + +_vehicle_804 = objNull; +if (true) then +{ + _this = "MAP_Barbedwire" createVehicle [3934.5552, 11001.538]; + _vehicle_804 = _this; + _this setDir 89.441734; + _this setPos [3934.5552, 11001.538]; +}; + +_vehicle_810 = objNull; +if (true) then +{ + _this = "MAP_Barbedwire" createVehicle [3933.9561, 11007.279, -3.0517578e-005]; + _vehicle_810 = _this; + _this setDir 89.441734; + _this setPos [3933.9561, 11007.279, -3.0517578e-005]; +}; + +_vehicle_813 = objNull; +if (true) then +{ + _this = "MAP_Barbedwire" createVehicle [3924.6062, 10994.094, 6.1035156e-005]; + _vehicle_813 = _this; + _this setDir 89.441734; + _this setPos [3924.6062, 10994.094, 6.1035156e-005]; +}; + +_vehicle_816 = objNull; +if (true) then +{ + _this = "MAP_Barbedwire" createVehicle [3924.5537, 10999.546]; + _vehicle_816 = _this; + _this setDir 89.441734; + _this setPos [3924.5537, 10999.546]; +}; + +_vehicle_823 = objNull; +if (true) then +{ + _this = "MAP_garbage_paleta" createVehicle [3899.5264, 11025.557, 3.0517578e-005]; + _vehicle_823 = _this; + _this setPos [3899.5264, 11025.557, 3.0517578e-005]; +}; + +_vehicle_824 = objNull; +if (true) then +{ + _this = "MAP_ground_garbage_long" createVehicle [3915.1479, 11028.792, -6.1035156e-005]; + _vehicle_824 = _this; + _this setPos [3915.1479, 11028.792, -6.1035156e-005]; +}; + +_vehicle_825 = objNull; +if (true) then +{ + _this = "MAP_ground_garbage_square3" createVehicle [3918.9116, 11026.861, -3.0517578e-005]; + _vehicle_825 = _this; + _this setPos [3918.9116, 11026.861, -3.0517578e-005]; +}; + +_vehicle_826 = objNull; +if (true) then +{ + _this = "MAP_ground_garbage_square5" createVehicle [3919.5437, 11030.021, 0]; + _vehicle_826 = _this; + _this setPos [3919.5437, 11030.021, 0]; +}; + +_vehicle_828 = objNull; +if (true) then +{ + _this = "MAP_garbage_paleta" createVehicle [3914.9065, 11044.02, -3.0517578e-005]; + _vehicle_828 = _this; + _this setPos [3914.9065, 11044.02, -3.0517578e-005]; +}; + +_vehicle_830 = objNull; +if (true) then +{ + _this = "MAP_garbage_paleta" createVehicle [3950.6409, 11075.237, -3.0517578e-005]; + _vehicle_830 = _this; + _this setPos [3950.6409, 11075.237, -3.0517578e-005]; +}; + +_vehicle_836 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3904.0269, 11014.88, -3.0517578e-005]; + _vehicle_836 = _this; + _this setDir 6.75213; + _this setPos [3904.0269, 11014.88, -3.0517578e-005]; +}; + +_vehicle_838 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3901.2493, 11012.736, -3.0517578e-005]; + _vehicle_838 = _this; + _this setDir -43.10437; + _this setPos [3901.2493, 11012.736, -3.0517578e-005]; +}; + +_vehicle_841 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3900.8831, 11014.613]; + _vehicle_841 = _this; + _this setDir -65.760361; + _this setPos [3900.8831, 11014.613]; +}; + +_vehicle_848 = objNull; +if (true) then +{ + _this = "MAP_b_canina2s" createVehicle [3933.5659, 11055.147]; + _vehicle_848 = _this; + _this setPos [3933.5659, 11055.147]; +}; + +_vehicle_849 = objNull; +if (true) then +{ + _this = "MAP_b_corylus" createVehicle [3935.9395, 11079.084, -3.0517578e-005]; + _vehicle_849 = _this; + _this setPos [3935.9395, 11079.084, -3.0517578e-005]; +}; + +_vehicle_850 = objNull; +if (true) then +{ + _this = "MAP_b_corylus2s" createVehicle [3910.7593, 11061.272, -6.1035156e-005]; + _vehicle_850 = _this; + _this setPos [3910.7593, 11061.272, -6.1035156e-005]; +}; + +_vehicle_851 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [3918.2095, 11052.664]; + _vehicle_851 = _this; + _this setPos [3918.2095, 11052.664]; +}; + +_vehicle_853 = objNull; +if (true) then +{ + _this = "MAP_b_prunus" createVehicle [3911.4248, 11049.113]; + _vehicle_853 = _this; + _this setPos [3911.4248, 11049.113]; +}; + +_vehicle_856 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [3896.8748, 11025.564]; + _vehicle_856 = _this; + _this setDir -47.956081; + _this setPos [3896.8748, 11025.564]; +}; + +_vehicle_858 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [3872.6326, 11036.002, -6.1035156e-005]; + _vehicle_858 = _this; + _this setDir -33.796577; + _this setPos [3872.6326, 11036.002, -6.1035156e-005]; +}; + +_vehicle_861 = objNull; +if (true) then +{ + _this = "MAP_b_corylus2s" createVehicle [3944.1904, 11090.22]; + _vehicle_861 = _this; + _this setPos [3944.1904, 11090.22]; +}; + +_vehicle_869 = objNull; +if (true) then +{ + _this = "MAP_ruiny_kopa_1Tv" createVehicle [3917.5198, 11043.328, 0.00018310547]; + _vehicle_869 = _this; + _this setPos [3917.5198, 11043.328, 0.00018310547]; +}; + +_vehicle_871 = objNull; +if (true) then +{ + _this = "MAP_ruiny_kopa_1Tv" createVehicle [3963.9709, 11055.825, 0.00018310547]; + _vehicle_871 = _this; + _this setPos [3963.9709, 11055.825, 0.00018310547]; +}; + +_vehicle_873 = objNull; +if (true) then +{ + _this = "MAP_ruiny_kopa_1Tv" createVehicle [3930.6887, 11014.858, 0.00012207031]; + _vehicle_873 = _this; + _this setPos [3930.6887, 11014.858, 0.00012207031]; +}; + +_vehicle_880 = objNull; +if (true) then +{ + _this = "MAP_Barel7" createVehicle [3883.4114, 11044.823]; + _vehicle_880 = _this; + _this setPos [3883.4114, 11044.823]; +}; + +_vehicle_890 = objNull; +if (true) then +{ + _this = "MAP_Barels2" createVehicle [3881.4788, 11045.384, 9.1552734e-005]; + _vehicle_890 = _this; + _this setDir 110.23277; + _this setPos [3881.4788, 11045.384, 9.1552734e-005]; +}; + +_vehicle_891 = objNull; +if (true) then +{ + _this = "MAP_Barels3" createVehicle [3958.5818, 11070.507]; + _vehicle_891 = _this; + _this setDir 140.82567; + _this setPos [3958.5818, 11070.507]; +}; + +_vehicle_893 = objNull; +if (true) then +{ + _this = "MAP_Barel7" createVehicle [3948.1599, 11074.986, 0.00015258789]; + _vehicle_893 = _this; + _this setDir -63.921005; + _this setPos [3948.1599, 11074.986, 0.00015258789]; +}; + +_vehicle_895 = objNull; +if (true) then +{ + _this = "MAP_Barel7" createVehicle [3946.729, 11075.162, 6.1035156e-005]; + _vehicle_895 = _this; + _this setPos [3946.729, 11075.162, 6.1035156e-005]; +}; + +_vehicle_897 = objNull; +if (true) then +{ + _this = "MAP_Barel7" createVehicle [3947.1885, 11074.5, 0.00012207031]; + _vehicle_897 = _this; + _this setDir -156.50668; + _this setPos [3947.1885, 11074.5, 0.00012207031]; +}; + +_vehicle_899 = objNull; +if (true) then +{ + _this = "MAP_Barel7" createVehicle [3957.5813, 11068.795, 3.0517578e-005]; + _vehicle_899 = _this; + _this setDir 80.968987; + _this setPos [3957.5813, 11068.795, 3.0517578e-005]; +}; + +_vehicle_901 = objNull; +if (true) then +{ + _this = "MAP_Barel7" createVehicle [3956.8694, 11069.556, 0.0002746582]; + _vehicle_901 = _this; + _this setPos [3956.8694, 11069.556, 0.0002746582]; +}; + +_vehicle_904 = objNull; +if (true) then +{ + _this = "MAP_Barels3" createVehicle [3958.6672, 11070.562, 1.0090218]; + _vehicle_904 = _this; + _this setDir 140.82567; + _this setPos [3958.6672, 11070.562, 1.0090218]; +}; + +_vehicle_907 = objNull; +if (true) then +{ + _this = "MAP_Barel7" createVehicle [3963.0327, 11064.512, 3.0517578e-005]; + _vehicle_907 = _this; + _this setDir -18.778915; + _this setPos [3963.0327, 11064.512, 3.0517578e-005]; +}; + +_vehicle_910 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3924.8154, 11004.533, -3.0517578e-005]; + _vehicle_910 = _this; + _this setDir 117.72036; + _this setPos [3924.8154, 11004.533, -3.0517578e-005]; +}; + +_vehicle_912 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3935.0447, 10998.551, -3.0517578e-005]; + _vehicle_912 = _this; + _this setDir 82.981972; + _this setPos [3935.0447, 10998.551, -3.0517578e-005]; +}; + +_vehicle_914 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3933.8813, 10997.015]; + _vehicle_914 = _this; + _this setDir -10.706585; + _this setPos [3933.8813, 10997.015]; +}; + +_vehicle_917 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3925.9829, 10992.259, 3.0517578e-005]; + _vehicle_917 = _this; + _this setDir -10.706585; + _this setPos [3925.9829, 10992.259, 3.0517578e-005]; +}; + +_vehicle_919 = objNull; +if (true) then +{ + _this = "Land_HBarrier1" createVehicle [3935.3247, 10996.939, 9.1552734e-005]; + _vehicle_919 = _this; + _this setDir -9.7976151; + _this setPos [3935.3247, 10996.939, 9.1552734e-005]; +}; + +_vehicle_921 = objNull; +if (true) then +{ + _this = "RU_WarfareBFieldhHospital" createVehicle [3905.1602, 11038.551, -0.1152747]; + _vehicle_921 = _this; + _this setDir -46.321651; + _this setPos [3905.1602, 11038.551, -0.1152747]; +}; + +_vehicle_923 = objNull; +if (true) then +{ + _this = "RU_WarfareBFieldhHospital" createVehicle [3912.6558, 11031.218, -0.11383289]; + _vehicle_923 = _this; + _this setDir -45.612534; + _this setPos [3912.6558, 11031.218, -0.11383289]; +}; + +_vehicle_926 = objNull; +if (true) then +{ + _this = "Land_tent_east" createVehicle [3922.7493, 11023.584, 0.10214803]; + _vehicle_926 = _this; + _this setDir -317.09241; + _this setPos [3922.7493, 11023.584, 0.10214803]; +}; + +_vehicle_928 = objNull; +if (true) then +{ + _this = "MAP_misc_amplion_wood" createVehicle [3900.8169, 11017.997, 3.0517578e-005]; + _vehicle_928 = _this; + _this setDir -408.19693; + _this setPos [3900.8169, 11017.997, 3.0517578e-005]; +}; + +_vehicle_931 = objNull; +if (true) then +{ + _this = "MAP_b_prunus" createVehicle [3915.2917, 11041.988]; + _vehicle_931 = _this; + _this setPos [3915.2917, 11041.988]; +}; + +_vehicle_934 = objNull; +if (true) then +{ + _this = "Land_CamoNetVar_EAST" createVehicle [3911.7053, 11019.861]; + _vehicle_934 = _this; + _this setDir -194.55721; + _this setPos [3911.7053, 11019.861]; +}; + +_vehicle_936 = objNull; +if (true) then +{ + _this = "MAP_PowGen_Big" createVehicle [3930.0867, 11235.203, -3.0517578e-005]; + _vehicle_936 = _this; + _this setDir -149.44051; + _this setPos [3930.0867, 11235.203, -3.0517578e-005]; +}; + +_vehicle_941 = objNull; +if (true) then +{ + _this = "MAP_hromada_beden_dekorativniX" createVehicle [3926.1436, 11054.496, 3.0517578e-005]; + _vehicle_941 = _this; + _this setDir -394.20468; + _this setPos [3926.1436, 11054.496, 3.0517578e-005]; +}; + +_vehicle_943 = objNull; +if (true) then +{ + _this = "MAP_LocalBasicWeapons" createVehicle [3925.1895, 11056.307, 3.0517578e-005]; + _vehicle_943 = _this; + _this setDir -36.406075; + _this setPos [3925.1895, 11056.307, 3.0517578e-005]; +}; + +_vehicle_952 = objNull; +if (true) then +{ + _this = "MAP_Barbedwire" createVehicle [3948.3716, 11044.758, -3.0517578e-005]; + _vehicle_952 = _this; + _this setDir 18.56122; + _this setPos [3948.3716, 11044.758, -3.0517578e-005]; +}; + +_vehicle_959 = objNull; +if (true) then +{ + _this = "MAP_PowerGenerator" createVehicle [3922.5994, 11059.581, 6.1035156e-005]; + _vehicle_959 = _this; + _this setDir -40.753048; + _this setPos [3922.5994, 11059.581, 6.1035156e-005]; +}; + +_vehicle_961 = objNull; +if (true) then +{ + _this = "MAP_PowerGenerator" createVehicle [3924.0088, 11057.874, 9.1552734e-005]; + _vehicle_961 = _this; + _this setDir -40.753048; + _this setPos [3924.0088, 11057.874, 9.1552734e-005]; +}; + +_vehicle_964 = objNull; +if (true) then +{ + _this = "MAP_b_prunus" createVehicle [3935.938, 11057.091]; + _vehicle_964 = _this; + _this setDir 60.405724; + _this setPos [3935.938, 11057.091]; +}; + +_vehicle_966 = objNull; +if (true) then +{ + _this = "MAP_b_prunus" createVehicle [3896.176, 11042.676, 0.00012207031]; + _vehicle_966 = _this; + _this setPos [3896.176, 11042.676, 0.00012207031]; +}; + +_vehicle_969 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [3887.7498, 11041.682, 6.1035156e-005]; + _vehicle_969 = _this; + _this setDir -33.796577; + _this setPos [3887.7498, 11041.682, 6.1035156e-005]; +}; + +_vehicle_971 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [3924.6016, 11003.563, 3.0517578e-005]; + _vehicle_971 = _this; + _this setDir -33.796577; + _this setPos [3924.6016, 11003.563, 3.0517578e-005]; +}; + +_vehicle_974 = objNull; +if (true) then +{ + _this = "MAP_b_prunus" createVehicle [3918.4031, 11010.768, 6.1035156e-005]; + _vehicle_974 = _this; + _this setPos [3918.4031, 11010.768, 6.1035156e-005]; +}; + +_vehicle_976 = objNull; +if (true) then +{ + _this = "MAP_b_prunus" createVehicle [3932.1389, 11012.96, 0.00018310547]; + _vehicle_976 = _this; + _this setPos [3932.1389, 11012.96, 0.00018310547]; +}; + +_vehicle_979 = objNull; +if (true) then +{ + _this = "MAP_Barel7" createVehicle [3923.9292, 11046.224, 6.1035156e-005]; + _vehicle_979 = _this; + _this setDir -63.921005; + _this setPos [3923.9292, 11046.224, 6.1035156e-005]; +}; + +_vehicle_981 = objNull; +if (true) then +{ + _this = "MAP_Barel7" createVehicle [3899.9604, 11022.378, 6.1035156e-005]; + _vehicle_981 = _this; + _this setDir -74.875923; + _this setPos [3899.9604, 11022.378, 6.1035156e-005]; +}; + +_vehicle_983 = objNull; +if (true) then +{ + _this = "MAP_Barel7" createVehicle [3880.3279, 11014.064, 0.00021362305]; + _vehicle_983 = _this; + _this setDir -63.921005; + _this setPos [3880.3279, 11014.064, 0.00021362305]; +}; + +_vehicle_985 = objNull; +if (true) then +{ + _this = "MAP_Barel7" createVehicle [3936.4644, 11061.205, 6.1035156e-005]; + _vehicle_985 = _this; + _this setDir 10.531802; + _this setPos [3936.4644, 11061.205, 6.1035156e-005]; +}; + +_vehicle_988 = objNull; +if (true) then +{ + _this = "MAP_Barbedwire" createVehicle [3943.2668, 11049.723, 6.1035156e-005]; + _vehicle_988 = _this; + _this setDir 76.099854; + _this setPos [3943.2668, 11049.723, 6.1035156e-005]; +}; + +_vehicle_991 = objNull; +if (true) then +{ + _this = "Land_CamoNetVar_EAST" createVehicle [3930.2402, 11043.725]; + _vehicle_991 = _this; + _this setDir -108.10652; + _this setPos [3930.2402, 11043.725]; +}; + +_vehicle_994 = objNull; +if (true) then +{ + _this = "MAP_hromada_beden_dekorativniX" createVehicle [3940.1929, 11074.996, 0.00018310547]; + _vehicle_994 = _this; + _this setDir -347.64011; + _this setPos [3940.1929, 11074.996, 0.00018310547]; +}; + +_vehicle_997 = objNull; +if (true) then +{ + _this = "MAP_b_canina2s" createVehicle [3953.9509, 11058.038]; + _vehicle_997 = _this; + _this setPos [3953.9509, 11058.038]; +}; + +_vehicle_1000 = objNull; +if (true) then +{ + _this = "MAP_b_prunus" createVehicle [3949.3979, 11051.779, 9.1552734e-005]; + _vehicle_1000 = _this; + _this setDir 1.3066831; + _this setPos [3949.3979, 11051.779, 9.1552734e-005]; +}; + +_vehicle_1003 = objNull; +if (true) then +{ + _this = "MAP_b_canina2s" createVehicle [3941.5591, 11069.095]; + _vehicle_1003 = _this; + _this setPos [3941.5591, 11069.095]; +}; + +_vehicle_1005 = objNull; +if (true) then +{ + _this = "MAP_b_canina2s" createVehicle [3930.106, 11017.404, 3.0517578e-005]; + _vehicle_1005 = _this; + _this setPos [3930.106, 11017.404, 3.0517578e-005]; +}; + +_vehicle_1008 = objNull; +if (true) then +{ + _this = "MAP_b_corylus2s" createVehicle [3914.071, 11009.081, 0.00039672852]; + _vehicle_1008 = _this; + _this setPos [3914.071, 11009.081, 0.00039672852]; +}; + +_vehicle_1010 = objNull; +if (true) then +{ + _this = "MAP_b_corylus2s" createVehicle [3924.9402, 11068.505, -9.1552734e-005]; + _vehicle_1010 = _this; + _this setDir -69.078972; + _this setPos [3924.9402, 11068.505, -9.1552734e-005]; +}; + +_vehicle_1012 = objNull; +if (true) then +{ + _this = "MAP_b_corylus2s" createVehicle [3948.3203, 11079.558, 9.1552734e-005]; + _vehicle_1012 = _this; + _this setPos [3948.3203, 11079.558, 9.1552734e-005]; +}; + +_vehicle_1014 = objNull; +if (true) then +{ + _this = "MAP_b_prunus" createVehicle [3940.4402, 11031.171, 3.0517578e-005]; + _vehicle_1014 = _this; + _this setDir 1.3066831; + _this setPos [3940.4402, 11031.171, 3.0517578e-005]; +}; + +_vehicle_1015 = objNull; +if (true) then +{ + _this = "Land_Misc_deerstand" createVehicle [3887.9919, 11048.234, 0.44055828]; + _vehicle_1015 = _this; + _this setDir 133.44647; + _this setPos [3887.9919, 11048.234, 0.44055828]; +}; + +_vehicle_1017 = objNull; +if (true) then +{ + _this = "Land_Misc_deerstand" createVehicle [3919.6902, 11062.58, -6.1035156e-005]; + _vehicle_1017 = _this; + _this setDir 133.44647; + _this setPos [3919.6902, 11062.58, -6.1035156e-005]; +}; + +_vehicle_1020 = objNull; +if (true) then +{ + _this = "Land_CamoNetVar_EAST" createVehicle [3880.7075, 11036.651, 3.0517578e-005]; + _vehicle_1020 = _this; + _this setDir -216.4897; + _this setPos [3880.7075, 11036.651, 3.0517578e-005]; +}; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/Shakhovka.sqf b/SQF/dayz_code/system/mission/chernarus/poi/Shakhovka.sqf new file mode 100644 index 00000000..13438d0e --- /dev/null +++ b/SQF/dayz_code/system/mission/chernarus/poi/Shakhovka.sqf @@ -0,0 +1,1227 @@ +//This spawns in a military check point going into town at the northern end of Shakhovka. +//Created by Nox 2017-02-01. Contact: DayZ Europa, Dayz mod discord +//Copyright by the DayZ Mod dev team. + +_vehicle_1 = objNull; +if (true) then +{ + _this = "MAP_HBarrier1" createVehicle [9564.4189, 6669.1694, -0.14846949]; + _vehicle_1 = _this; + _this setDir 10.147971; + _this setPos [9564.4189, 6669.1694, -0.14846949]; +}; + +_vehicle_2 = objNull; +if (true) then +{ + _this = "MAP_HBarrier3" createVehicle [9587.4854, 6635.1445, -0.050388746]; + _vehicle_2 = _this; + _this setDir -0.39430982; + _this setPos [9587.4854, 6635.1445, -0.050388746]; +}; + +_vehicle_3 = objNull; +if (true) then +{ + _this = "MAP_HBarrier5" createVehicle [9591.1563, 6635.1587, -0.0066405814]; + _vehicle_3 = _this; + _this setPos [9591.1563, 6635.1587, -0.0066405814]; +}; + +_vehicle_5 = objNull; +if (true) then +{ + _this = "MAP_HBarrier5" createVehicle [9597.0078, 6635.248, -0.056754377]; + _vehicle_5 = _this; + _this setDir -6.3392906; + _this setPos [9597.0078, 6635.248, -0.056754377]; +}; + +_vehicle_9 = objNull; +if (true) then +{ + _this = "MAP_HBarrier5" createVehicle [9605.1309, 6639.5796, 4.5776367e-005]; + _vehicle_9 = _this; + _this setDir 85.560028; + _this setPos [9605.1309, 6639.5796, 4.5776367e-005]; +}; + +_vehicle_11 = objNull; +if (true) then +{ + _this = "MAP_HBarrier5" createVehicle [9603.9854, 6645.2671, 0.00024414063]; + _vehicle_11 = _this; + _this setDir 77.910789; + _this setPos [9603.9854, 6645.2671, 0.00024414063]; +}; + +_vehicle_15 = objNull; +if (true) then +{ + _this = "MAP_HBarrier5" createVehicle [9599.2832, 6656.8955, -0.11580816]; + _vehicle_15 = _this; + _this setDir 60.731491; + _this setPos [9599.2832, 6656.8955, -0.11580816]; +}; + +_vehicle_17 = objNull; +if (true) then +{ + _this = "MAP_HBarrier5" createVehicle [9597.96, 6662.6465]; + _vehicle_17 = _this; + _this setDir 79.075653; + _this setPos [9597.96, 6662.6465]; +}; + +_vehicle_21 = objNull; +if (true) then +{ + _this = "MAP_HBarrier5" createVehicle [9588.4473, 6668.6147, -0.1803387]; + _vehicle_21 = _this; + _this setDir 17.034077; + _this setPos [9588.4473, 6668.6147, -0.1803387]; +}; + +_vehicle_23 = objNull; +if (true) then +{ + _this = "MAP_HBarrier5" createVehicle [9582.5986, 6669.1958, -0.17976369]; + _vehicle_23 = _this; + _this setDir 4.2656097; + _this setPos [9582.5986, 6669.1958, -0.17976369]; +}; + +_vehicle_25 = objNull; +if (true) then +{ + _this = "MAP_HBarrier5" createVehicle [9576.7637, 6669.3252, -0.13527918]; + _vehicle_25 = _this; + _this setPos [9576.7637, 6669.3252, -0.13527918]; +}; + +_vehicle_27 = objNull; +if (true) then +{ + _this = "MAP_HBarrier5" createVehicle [9571.4014, 6667.1328, -0.38446707]; + _vehicle_27 = _this; + _this setDir -21.997446; + _this setPos [9571.4014, 6667.1328, -0.38446707]; +}; + +_vehicle_29 = objNull; +if (true) then +{ + _this = "MAP_HBarrier5" createVehicle [9565.7803, 6668.667, -0.13188381]; + _vehicle_29 = _this; + _this setDir 21.087645; + _this setPos [9565.7803, 6668.667, -0.13188381]; +}; + +_vehicle_33 = objNull; +if (true) then +{ + _this = "MAP_HBarrier5" createVehicle [9581.6533, 6634.7861, 6.1035156e-005]; + _vehicle_33 = _this; + _this setDir -6.1612172; + _this setPos [9581.6533, 6634.7861, 6.1035156e-005]; +}; + +_vehicle_35 = objNull; +if (true) then +{ + _this = "MAP_HBarrier5" createVehicle [9576.1631, 6633.0225, 1.5258789e-005]; + _vehicle_35 = _this; + _this setDir -15.163078; + _this setPos [9576.1631, 6633.0225, 1.5258789e-005]; +}; + +_vehicle_126 = objNull; +if (true) then +{ + _this = "MAP_Stan_east" createVehicle [8579.1348, 10735.236, 0.00091552734]; + _vehicle_126 = _this; + _this setPos [8579.1348, 10735.236, 0.00091552734]; +}; + +_vehicle_135 = objNull; +if (true) then +{ + _this = "MAP_Hlidac_budka" createVehicle [9561.8809, 6664.4717, 0.00010681152]; + _vehicle_135 = _this; + _this setDir 45.308399; + _this setPos [9561.8809, 6664.4717, 0.00010681152]; +}; + +_vehicle_140 = objNull; +if (true) then +{ + _this = "MAP_CamoNet_EAST" createVehicle [9554.376, 6651.6055, 0.29174802]; + _vehicle_140 = _this; + _this setDir -120.51927; + _this setPos [9554.376, 6651.6055, 0.29174802]; +}; + +_vehicle_141 = objNull; +if (true) then +{ + _this = "MAP_CamoNet_EAST_var1" createVehicle [9582.8672, 6651.4824, 1.5258789e-005]; + _vehicle_141 = _this; + _this setDir 253.05736; + _this setPos [9582.8672, 6651.4824, 1.5258789e-005]; +}; + +_vehicle_155 = objNull; +if (true) then +{ + _this = "MAP_fort_bagfence_long" createVehicle [9558.3535, 6657.1187, 9.1552734e-005]; + _vehicle_155 = _this; + _this setDir 49.942844; + _this setPos [9558.3535, 6657.1187, 9.1552734e-005]; +}; + +_vehicle_156 = objNull; +if (true) then +{ + _this = "MAP_fort_bagfence_corner" createVehicle [9563.3633, 6661.6514, -0.16050753]; + _vehicle_156 = _this; + _this setDir -45.279251; + _this setPos [9563.3633, 6661.6514, -0.16050753]; +}; + +_vehicle_157 = objNull; +if (true) then +{ + _this = "MAP_fort_bagfence_long" createVehicle [9554.2617, 6661.1357, 4.5776367e-005]; + _vehicle_157 = _this; + _this setDir 44.137775; + _this setPos [9554.2617, 6661.1357, 4.5776367e-005]; +}; + +_vehicle_238 = objNull; +if (true) then +{ + _this = "Concrete_Wall_EP1" createVehicle [9558.7773, 6667.0723, 4.5776367e-005]; + _vehicle_238 = _this; + _this setDir -33.107681; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [9558.7773, 6667.0723, 4.5776367e-005]; +}; + +_vehicle_240 = objNull; +if (true) then +{ + _this = "Concrete_Wall_EP1" createVehicle [9560.7432, 6668.6226, 9.1552734e-005]; + _vehicle_240 = _this; + _this setDir -45.540707; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [9560.7432, 6668.6226, 9.1552734e-005]; +}; + +_vehicle_243 = objNull; +if (true) then +{ + _this = "Concrete_Wall_EP1" createVehicle [9562.5859, 6669.4194, -0.025939517]; + _vehicle_243 = _this; + _this setDir -2.655802; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [9562.5859, 6669.4194, -0.025939517]; +}; + +_vehicle_246 = objNull; +if (true) then +{ + _this = "Concrete_Wall_EP1" createVehicle [9552.1152, 6661.8584, -3.0517578e-005]; + _vehicle_246 = _this; + _this setDir -44.170742; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [9552.1152, 6661.8584, -3.0517578e-005]; +}; + +_vehicle_249 = objNull; +if (true) then +{ + _this = "Concrete_Wall_EP1" createVehicle [9550.5186, 6659.9424, -1.5258789e-005]; + _vehicle_249 = _this; + _this setDir -55.849533; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [9550.5186, 6659.9424, -1.5258789e-005]; +}; + +_vehicle_252 = objNull; +if (true) then +{ + _this = "Concrete_Wall_EP1" createVehicle [9550.6924, 6658.0742, -6.1035156e-005]; + _vehicle_252 = _this; + _this setDir -113.51531; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [9550.6924, 6658.0742, -6.1035156e-005]; +}; + +_vehicle_255 = objNull; +if (true) then +{ + _this = "Concrete_Wall_EP1" createVehicle [9550.54, 6656.1211, 4.5776367e-005]; + _vehicle_255 = _this; + _this setDir -53.455177; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [9550.54, 6656.1211, 4.5776367e-005]; +}; + +_vehicle_259 = objNull; +if (true) then +{ + _this = "Concrete_Wall_EP1" createVehicle [9549.1328, 6654.1563, -0.26590762]; + _vehicle_259 = _this; + _this setDir -53.127342; + _this setVehicleInit "this setVectorUp [0,0,1];"; + _this setPos [9549.1328, 6654.1563, -0.26590762]; +}; + +_vehicle_265 = objNull; +if (true) then +{ + _this = "MAP_fort_bagfence_long" createVehicle [9560.2314, 6654.7266, 7.6293945e-005]; + _vehicle_265 = _this; + _this setDir 54.37431; + _this setPos [9560.2314, 6654.7266, 7.6293945e-005]; +}; + +_vehicle_268 = objNull; +if (true) then +{ + _this = "MAP_fort_bagfence_long" createVehicle [9561.873, 6652.1802, -0.013850577]; + _vehicle_268 = _this; + _this setDir 59.53756; + _this setPos [9561.873, 6652.1802, -0.013850577]; +}; + +_vehicle_270 = objNull; +if (true) then +{ + _this = "Land_Toilet" createVehicle [9563.5449, 6638.3589, 0.00010681152]; + _vehicle_270 = _this; + _this setDir 168.35199; + _this setPos [9563.5449, 6638.3589, 0.00010681152]; +}; + +_vehicle_279 = objNull; +if (true) then +{ + _this = "Notice_board" createVehicle [9557.5332, 6656.249, 1.5258789e-005]; + _vehicle_279 = _this; + _this setDir -319.83801; + _this setPos [9557.5332, 6656.249, 1.5258789e-005]; +}; + +_vehicle_280 = objNull; +if (true) then +{ + _this = "Paleta1" createVehicle [9565.8955, 6661.0801, -4.5776367e-005]; + _vehicle_280 = _this; + _this setPos [9565.8955, 6661.0801, -4.5776367e-005]; +}; + +_vehicle_281 = objNull; +if (true) then +{ + _this = "Paleta2" createVehicle [9565.8076, 6661.8823, -4.5776367e-005]; + _vehicle_281 = _this; + _this setPos [9565.8076, 6661.8823, -4.5776367e-005]; +}; + +_vehicle_282 = objNull; +if (true) then +{ + _this = "Land_Barrel_empty" createVehicle [9565.2832, 6661.8164, -0.0092395376]; + _vehicle_282 = _this; + _this setPos [9565.2832, 6661.8164, -0.0092395376]; +}; + +_vehicle_283 = objNull; +if (true) then +{ + _this = "PowerGenerator" createVehicle [9600.1602, 6641.9648, -3.0517578e-005]; + _vehicle_283 = _this; + _this setDir 171.97923; + _this setPos [9600.1602, 6641.9648, -3.0517578e-005]; +}; + +_vehicle_300 = objNull; +if (true) then +{ + _this = "LADAWreck" createVehicle [9551.9131, 6667.7915, -1.5258789e-005]; + _vehicle_300 = _this; + _this setDir 8.7121878; + _this setPos [9551.9131, 6667.7915, -1.5258789e-005]; +}; + +_vehicle_302 = objNull; +if (true) then +{ + _this = "datsun01Wreck" createVehicle [9547.9668, 6671.7925, 1.5258789e-005]; + _vehicle_302 = _this; + _this setDir -19.136129; + _this setPos [9547.9668, 6671.7925, 1.5258789e-005]; +}; + +_vehicle_303 = objNull; +if (true) then +{ + _this = "datsun02Wreck" createVehicle [9531.4277, 6674.2891, -0.11088796]; + _vehicle_303 = _this; + _this setDir -53.174622; + _this setPos [9531.4277, 6674.2891, -0.11088796]; +}; + +_vehicle_304 = objNull; +if (true) then +{ + _this = "SKODAWreck" createVehicle [9545.2852, 6670.5156, 1.5258789e-005]; + _vehicle_304 = _this; + _this setDir -70.602058; + _this setPos [9545.2852, 6670.5156, 1.5258789e-005]; +}; + +_vehicle_305 = objNull; +if (true) then +{ + _this = "UAZWreck" createVehicle [9540.1377, 6673.8403, 1.5258789e-005]; + _vehicle_305 = _this; + _this setDir -48.801605; + _this setPos [9540.1377, 6673.8403, 1.5258789e-005]; +}; + +_vehicle_310 = objNull; +if (true) then +{ + _this = "UAZWreck" createVehicle [9548.6455, 6667.8022, 0.00010681152]; + _vehicle_310 = _this; + _this setDir -103.4128; + _this setPos [9548.6455, 6667.8022, 0.00010681152]; +}; + +_vehicle_314 = objNull; +if (true) then +{ + _this = "SKODAWreck" createVehicle [9539.6318, 6676.7148]; + _vehicle_314 = _this; + _this setDir -59.982613; + _this setPos [9539.6318, 6676.7148]; +}; + +_vehicle_316 = objNull; +if (true) then +{ + _this = "SKODAWreck" createVehicle [9536.4746, 6674.5669, -1.5258789e-005]; + _vehicle_316 = _this; + _this setDir -91.279297; + _this setPos [9536.4746, 6674.5669, -1.5258789e-005]; +}; + +_vehicle_319 = objNull; +if (true) then +{ + _this = "UralWreck" createVehicle [9543.9141, 6675.4058, -9.1552734e-005]; + _vehicle_319 = _this; + _this setDir -25.459192; + _this setPos [9543.9141, 6675.4058, -9.1552734e-005]; +}; + +_vehicle_328 = objNull; +if (true) then +{ + _this = "MAP_Fort_Barricade" createVehicle [9554.0947, 6665.3696, 0.00022888184]; + _vehicle_328 = _this; + _this setDir -40.827724; + _this setPos [9554.0947, 6665.3696, 0.00022888184]; +}; + +_vehicle_329 = objNull; +if (true) then +{ + _this = "MAP_HBarrier1" createVehicle [9594.3467, 6666.8633, -0.029752402]; + _vehicle_329 = _this; + _this setPos [9594.3467, 6666.8633, -0.029752402]; +}; + +_vehicle_331 = objNull; +if (true) then +{ + _this = "MAP_HBarrier1" createVehicle [9597.2109, 6664.0557, -0.00010681152]; + _vehicle_331 = _this; + _this setDir 36.390491; + _this setPos [9597.2109, 6664.0557, -0.00010681152]; +}; + +_vehicle_333 = objNull; +if (true) then +{ + _this = "MAP_HBarrier1" createVehicle [9597.3438, 6667.6211, -0.10654662]; + _vehicle_333 = _this; + _this setDir 2.5504274; + _this setPos [9597.3438, 6667.6211, -0.10654662]; +}; + +_vehicle_336 = objNull; +if (true) then +{ + _this = "MAP_HBarrier1" createVehicle [9603.1104, 6632.9893, 0.013236066]; + _vehicle_336 = _this; + _this setDir 13.66839; + _this setPos [9603.1104, 6632.9893, 0.013236066]; +}; + +_vehicle_338 = objNull; +if (true) then +{ + _this = "MAP_fortified_nest_small" createVehicle [9602.4727, 6648.5898]; + _vehicle_338 = _this; + _this setDir -105.53274; + _this setPos [9602.4727, 6648.5898]; +}; + +_vehicle_341 = objNull; +if (true) then +{ + _this = "MAP_vez" createVehicle [9559.0762, 6666.4556, 7.6293945e-005]; + _vehicle_341 = _this; + _this setDir -49.514622; + _this setPos [9559.0762, 6666.4556, 7.6293945e-005]; +}; + +_vehicle_343 = objNull; +if (true) then +{ + _this = "MAP_vez" createVehicle [9550.0957, 6658.5698]; + _vehicle_343 = _this; + _this setDir -48.679432; + _this setPos [9550.0957, 6658.5698]; +}; + +_vehicle_345 = objNull; +if (true) then +{ + _this = "MAP_HBarrier1" createVehicle [9602.25, 6651.9214, 0.031809881]; + _vehicle_345 = _this; + _this setDir 56.632462; + _this setPos [9602.25, 6651.9214, 0.031809881]; +}; + +_vehicle_347 = objNull; +if (true) then +{ + _this = "MAP_HBarrier1" createVehicle [9603.8193, 6646.5625, 6.1035156e-005]; + _vehicle_347 = _this; + _this setDir 82.395638; + _this setPos [9603.8193, 6646.5625, 6.1035156e-005]; +}; + +_vehicle_361 = objNull; +if (true) then +{ + _this = "Land_Toilet" createVehicle [9565.0459, 6638.7808, 6.1035156e-005]; + _vehicle_361 = _this; + _this setDir 168.35199; + _this setPos [9565.0459, 6638.7808, 6.1035156e-005]; +}; + +_vehicle_364 = objNull; +if (true) then +{ + _this = "Land_Toilet" createVehicle [9566.4922, 6639.1211, -1.5258789e-005]; + _vehicle_364 = _this; + _this setDir 168.35199; + _this setPos [9566.4922, 6639.1211, -1.5258789e-005]; +}; + +_vehicle_368 = objNull; +if (true) then +{ + _this = "PowerGenerator" createVehicle [9597.7041, 6653.5708, 1.5258789e-005]; + _vehicle_368 = _this; + _this setDir 167.20656; + _this setPos [9597.7041, 6653.5708, 1.5258789e-005]; +}; + +_vehicle_385 = objNull; +if (true) then +{ + _this = "AmmoCrates_NoInteractive_Large" createVehicle [9555.7715, 6652.0767, 3.0517578e-005]; + _vehicle_385 = _this; + _this setDir 57.611809; + _this setPos [9555.7715, 6652.0767, 3.0517578e-005]; +}; + +_vehicle_386 = objNull; +if (true) then +{ + _this = "AmmoCrates_NoInteractive_Medium" createVehicle [9561.0449, 6650.1855, 0.172525]; + _vehicle_386 = _this; + _this setDir -1.1921819; + _this setPos [9561.0449, 6650.1855, 0.172525]; +}; + +_vehicle_387 = objNull; +if (true) then +{ + _this = "AmmoCrates_NoInteractive_Small" createVehicle [9562.1582, 6649.9614, 0.20693633]; + _vehicle_387 = _this; + _this setDir 92.06385; + _this setPos [9562.1582, 6649.9614, 0.20693633]; +}; + +_vehicle_388 = objNull; +if (true) then +{ + _this = "AmmoCrate_NoInteractive_" createVehicle [9561.9268, 6650.0732, 0.48922709]; + _vehicle_388 = _this; + _this setDir -95.787567; + _this setPos [9561.9268, 6650.0732, 0.48922709]; +}; + +_vehicle_405 = objNull; +if (true) then +{ + _this = "PowGen_Big" createVehicle [9571.1943, 6664.5737, 0.00021362305]; + _vehicle_405 = _this; + _this setDir -73.068626; + _this setPos [9571.1943, 6664.5737, 0.00021362305]; +}; + +_vehicle_411 = objNull; +if (true) then +{ + _this = "RU_WarfareBVehicleServicePoint" createVehicle [9579.5283, 6636.791, -0.11657652]; + _vehicle_411 = _this; + _this setDir -11.671355; + _this setPos [9579.5283, 6636.791, -0.11657652]; +}; + +_vehicle_413 = objNull; +if (true) then +{ + _this = "UAZWreck" createVehicle [9571.8799, 6651.4185, 1.5258789e-005]; + _vehicle_413 = _this; + _this setDir -209.37212; + _this setPos [9571.8799, 6651.4185, 1.5258789e-005]; +}; + +_vehicle_420 = objNull; +if (true) then +{ + _this = "Land_CncBlock_D" createVehicle [9554.1777, 6669.5962, -0.05801864]; + _vehicle_420 = _this; + _this setDir -140.9301; + _this setPos [9554.1777, 6669.5962, -0.05801864]; +}; + +_vehicle_421 = objNull; +if (true) then +{ + _this = "Land_CncBlock_Stripes" createVehicle [9550.4746, 6670.8467, 3.0517578e-005]; + _vehicle_421 = _this; + _this setDir -52.539318; + _this setPos [9550.4746, 6670.8467, 3.0517578e-005]; +}; + +_vehicle_423 = objNull; +if (true) then +{ + _this = "Garbage_can" createVehicle [9592.3857, 6644.8188, 3.0517578e-005]; + _vehicle_423 = _this; + _this setPos [9592.3857, 6644.8188, 3.0517578e-005]; +}; + +_vehicle_427 = objNull; +if (true) then +{ + _this = "MAP_fort_bagfence_long" createVehicle [9566.1094, 6656.9019, 6.1035156e-005]; + _vehicle_427 = _this; + _this setDir 55.446556; + _this setPos [9566.1094, 6656.9019, 6.1035156e-005]; +}; + +_vehicle_429 = objNull; +if (true) then +{ + _this = "MAP_fort_bagfence_long" createVehicle [9567.7451, 6654.2485, 7.6293945e-005]; + _vehicle_429 = _this; + _this setDir 59.338245; + _this setPos [9567.7451, 6654.2485, 7.6293945e-005]; +}; + +_vehicle_431 = objNull; +if (true) then +{ + _this = "MAP_fort_bagfence_long" createVehicle [9569.2324, 6651.5771, -0.037321635]; + _vehicle_431 = _this; + _this setDir 61.510441; + _this setPos [9569.2324, 6651.5771, -0.037321635]; +}; + +_vehicle_434 = objNull; +if (true) then +{ + _this = "MAP_fort_bagfence_long" createVehicle [9570.6484, 6648.8379, -0.016594641]; + _vehicle_434 = _this; + _this setDir 63.102085; + _this setPos [9570.6484, 6648.8379, -0.016594641]; +}; + +_vehicle_437 = objNull; +if (true) then +{ + _this = "AmmoCrates_NoInteractive_Large" createVehicle [9565.7764, 6635.7402, 2.7623479]; + _vehicle_437 = _this; + _this setPos [9565.7764, 6635.7402, 2.7623479]; +}; + +_vehicle_440 = objNull; +if (true) then +{ + _this = "Land_CncBlock_D" createVehicle [9541.9199, 6669.1045, 0.12908489]; + _vehicle_440 = _this; + _this setDir 21.954151; + _this setPos [9541.9199, 6669.1045, 0.12908489]; +}; + +_vehicle_443 = objNull; +if (true) then +{ + _this = "Land_CncBlock_D" createVehicle [9545.5498, 6666.981, 6.1035156e-005]; + _vehicle_443 = _this; + _this setDir 31.707098; + _this setPos [9545.5498, 6666.981, 6.1035156e-005]; +}; + +_vehicle_446 = objNull; +if (true) then +{ + _this = "Land_CncBlock_D" createVehicle [9548.6289, 6664.9312, 3.0517578e-005]; + _vehicle_446 = _this; + _this setDir 31.707098; + _this setPos [9548.6289, 6664.9312, 3.0517578e-005]; +}; + +_vehicle_449 = objNull; +if (true) then +{ + _this = "Land_CncBlock_D" createVehicle [9538.4775, 6670.3501, 0.00024414063]; + _vehicle_449 = _this; + _this setDir 21.954151; + _this setPos [9538.4775, 6670.3501, 0.00024414063]; +}; + +_vehicle_451 = objNull; +if (true) then +{ + _this = "Land_CncBlock_D" createVehicle [9535.2002, 6671.7432, 9.1552734e-005]; + _vehicle_451 = _this; + _this setDir 21.954151; + _this setPos [9535.2002, 6671.7432, 9.1552734e-005]; +}; + +_vehicle_453 = objNull; +if (true) then +{ + _this = "Land_CncBlock_D" createVehicle [9531.7695, 6673.1455, 1.5258789e-005]; + _vehicle_453 = _this; + _this setDir 21.954151; + _this setPos [9531.7695, 6673.1455, 1.5258789e-005]; +}; + +_vehicle_456 = objNull; +if (true) then +{ + _this = "Land_CncBlock_D" createVehicle [9551.1621, 6672.248, 6.1035156e-005]; + _vehicle_456 = _this; + _this setDir -140.9301; + _this setPos [9551.1621, 6672.248, 6.1035156e-005]; +}; + +_vehicle_458 = objNull; +if (true) then +{ + _this = "Land_CncBlock_D" createVehicle [9547.4941, 6675.1948, 0.00019836426]; + _vehicle_458 = _this; + _this setDir -140.9301; + _this setPos [9547.4941, 6675.1948, 0.00019836426]; +}; + +_vehicle_460 = objNull; +if (true) then +{ + _this = "Land_CncBlock_D" createVehicle [9542.2471, 6678.5527, 6.1035156e-005]; + _vehicle_460 = _this; + _this setDir -148.51549; + _this setPos [9542.2471, 6678.5527, 6.1035156e-005]; +}; + +_vehicle_467 = objNull; +if (true) then +{ + _this = "Land_CncBlock_Stripes" createVehicle [9542.2266, 6671.8242, 0.00015258789]; + _vehicle_467 = _this; + _this setDir -62.960697; + _this setPos [9542.2266, 6671.8242, 0.00015258789]; +}; + +_vehicle_471 = objNull; +if (true) then +{ + _this = "UAZWreck" createVehicle [9514.5908, 6677.3384, -1.5258789e-005]; + _vehicle_471 = _this; + _this setDir -15.435764; + _this setPos [9514.5908, 6677.3384, -1.5258789e-005]; +}; + +_vehicle_475 = objNull; +if (true) then +{ + _this = "Land_CncBlock_D" createVehicle [9538.6426, 6680.8267, 0.0001373291]; + _vehicle_475 = _this; + _this setDir -150.3896; + _this setPos [9538.6426, 6680.8267, 0.0001373291]; +}; + +_vehicle_477 = objNull; +if (true) then +{ + _this = "Land_CncBlock_D" createVehicle [9535.5078, 6682.3853, 0.00010681152]; + _vehicle_477 = _this; + _this setDir -150.3896; + _this setPos [9535.5078, 6682.3853, 0.00010681152]; +}; + +_vehicle_480 = objNull; +if (true) then +{ + _this = "MAP_fort_bagfence_long" createVehicle [9571.8691, 6646.0469, -0.021534169]; + _vehicle_480 = _this; + _this setDir 67.286621; + _this setPos [9571.8691, 6646.0469, -0.021534169]; +}; + +_vehicle_483 = objNull; +if (true) then +{ + _this = "Paleta1" createVehicle [9560.9629, 6649.9414, 0.0042284383]; + _vehicle_483 = _this; + _this setPos [9560.9629, 6649.9414, 0.0042284383]; +}; + +_vehicle_486 = objNull; +if (true) then +{ + _this = "Land_CncBlock_Stripes" createVehicle [9536.0547, 6680.624, 4.5776367e-005]; + _vehicle_486 = _this; + _this setDir -62.960697; + _this setPos [9536.0547, 6680.624, 4.5776367e-005]; +}; + +_vehicle_488 = objNull; +if (true) then +{ + _this = "Land_CncBlock_Stripes" createVehicle [9535.083, 6678.6719, 6.1035156e-005]; + _vehicle_488 = _this; + _this setDir -62.960697; + _this setPos [9535.083, 6678.6719, 6.1035156e-005]; +}; + +_vehicle_490 = objNull; +if (true) then +{ + _this = "Land_CncBlock_Stripes" createVehicle [9526.2236, 6676.5981, 3.0517578e-005]; + _vehicle_490 = _this; + _this setDir -67.463562; + _this setPos [9526.2236, 6676.5981, 3.0517578e-005]; +}; + +_vehicle_492 = objNull; +if (true) then +{ + _this = "Land_CncBlock_Stripes" createVehicle [9527.2686, 6678.9888, 4.5776367e-005]; + _vehicle_492 = _this; + _this setDir -65.179108; + _this setPos [9527.2686, 6678.9888, 4.5776367e-005]; +}; + +_vehicle_497 = objNull; +if (true) then +{ + _this = "FoldTable" createVehicle [9558.0928, 6654.5732]; + _vehicle_497 = _this; + _this setPos [9558.0928, 6654.5732]; +}; + +_vehicle_498 = objNull; +if (true) then +{ + _this = "FoldChair" createVehicle [9559.666, 6651.0098, 3.0517578e-005]; + _vehicle_498 = _this; + _this setPos [9559.666, 6651.0098, 3.0517578e-005]; +}; + +_vehicle_500 = objNull; +if (true) then +{ + _this = "SmallTable" createVehicle [9560.6641, 6651.6777, -3.0517578e-005]; + _vehicle_500 = _this; + _this setDir -55.706463; + _this setPos [9560.6641, 6651.6777, -3.0517578e-005]; +}; + +_vehicle_504 = objNull; +if (true) then +{ + _this = "FoldTable" createVehicle [9560.0322, 6653.1812, -1.5258789e-005]; + _vehicle_504 = _this; + _this setDir 54.962189; + _this setPos [9560.0322, 6653.1812, -1.5258789e-005]; +}; + +_vehicle_506 = objNull; +if (true) then +{ + _this = "FoldTable" createVehicle [9581.5957, 6652.8267]; + _vehicle_506 = _this; + _this setDir 64.290703; + _this setPos [9581.5957, 6652.8267]; +}; + +_vehicle_508 = objNull; +if (true) then +{ + _this = "FoldTable" createVehicle [9583.2275, 6649.4487, 0.00056053419]; + _vehicle_508 = _this; + _this setDir 63.702538; + _this setPos [9583.2275, 6649.4487, 0.00056053419]; +}; + +_vehicle_511 = objNull; +if (true) then +{ + _this = "FoldChair" createVehicle [9557.9619, 6653.48, -1.5258789e-005]; + _vehicle_511 = _this; + _this setDir -160.03514; + _this setPos [9557.9619, 6653.48, -1.5258789e-005]; +}; + +_vehicle_513 = objNull; +if (true) then +{ + _this = "FoldChair" createVehicle [9559.4805, 6652, -1.5258789e-005]; + _vehicle_513 = _this; + _this setDir -129.82602; + _this setPos [9559.4805, 6652, -1.5258789e-005]; +}; + +_vehicle_515 = objNull; +if (true) then +{ + _this = "FoldChair" createVehicle [9584.4492, 6649.894, -4.5776367e-005]; + _vehicle_515 = _this; + _this setDir 92.774452; + _this setPos [9584.4492, 6649.894, -4.5776367e-005]; +}; + +_vehicle_517 = objNull; +if (true) then +{ + _this = "FoldChair" createVehicle [9583.8535, 6652.7349, 3.0517578e-005]; + _vehicle_517 = _this; + _this setDir 58.719639; + _this setPos [9583.8535, 6652.7349, 3.0517578e-005]; +}; + +_vehicle_522 = objNull; +if (true) then +{ + _this = "Sign_Checkpoint" createVehicle [9545.6172, 6665.4727, 1.5258789e-005]; + _vehicle_522 = _this; + _this setDir -55.664108; + _this setPos [9545.6172, 6665.4727, 1.5258789e-005]; +}; + +_vehicle_523 = objNull; +if (true) then +{ + _this = "Sign_Checkpoint_EP1" createVehicle [9527.9072, 6677.3281, 1.5258789e-005]; + _vehicle_523 = _this; + _this setDir -61.952232; + _this setPos [9527.9072, 6677.3281, 1.5258789e-005]; +}; + +_vehicle_533 = objNull; +if (true) then +{ + _this = "Info_Board_EP1" createVehicle [9565.9785, 6657.957, 4.5776367e-005]; + _vehicle_533 = _this; + _this setDir 53.251987; + _this setPos [9565.9785, 6657.957, 4.5776367e-005]; +}; + +_vehicle_539 = objNull; +if (true) then +{ + _this = "EvMap" createVehicle [9560.5049, 6652.9126, 0.79876357]; + _vehicle_539 = _this; + _this setPos [9560.5049, 6652.9126, 0.79876357]; +}; + +_vehicle_540 = objNull; +if (true) then +{ + _this = "Laptop_EP1" createVehicle [9559.7871, 6653.4927, 0.79212636]; + _vehicle_540 = _this; + _this setPos [9559.7871, 6653.4927, 0.79212636]; +}; + +_vehicle_541 = objNull; +if (true) then +{ + _this = "Loudspeaker" createVehicle [9563.0859, 6660.8022, 2.8771956]; + _vehicle_541 = _this; + _this setPos [9563.0859, 6660.8022, 2.8771956]; +}; + +_vehicle_543 = objNull; +if (true) then +{ + _this = "Loudspeaker" createVehicle [9552.6563, 6660.8535, 4.3402476]; + _vehicle_543 = _this; + _this setDir -170.91331; + _this setPos [9552.6563, 6660.8535, 4.3402476]; +}; + +_vehicle_547 = objNull; +if (true) then +{ + _this = "UralWreck" createVehicle [9577.8174, 6642.8354, 3.0517578e-005]; + _vehicle_547 = _this; + _this setDir -102.39157; + _this setPos [9577.8174, 6642.8354, 3.0517578e-005]; +}; + +_vehicle_554 = objNull; +if (true) then +{ + _this = "MAP_misc_amplion_wood" createVehicle [9601.1328, 6636.9312, 0.0001373291]; + _vehicle_554 = _this; + _this setPos [9601.1328, 6636.9312, 0.0001373291]; +}; + +_vehicle_556 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [9576.8691, 6634.3936]; + _vehicle_556 = _this; + _this setPos [9576.8691, 6634.3936]; +}; + +_vehicle_558 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [9557.376, 6657.7007, 9.1552734e-005]; + _vehicle_558 = _this; + _this setPos [9557.376, 6657.7007, 9.1552734e-005]; +}; + +_vehicle_560 = objNull; +if (true) then +{ + _this = "MAP_PowLines_WoodL" createVehicle [9569.1816, 6628.543, -4.5776367e-005]; + _vehicle_560 = _this; + _this setPos [9569.1816, 6628.543, -4.5776367e-005]; +}; + +_vehicle_563 = objNull; +if (true) then +{ + _this = "MAP_misc_amplion_wood" createVehicle [9593.4365, 6665.8452, 0.00012207031]; + _vehicle_563 = _this; + _this setDir -135.32204; + _this setPos [9593.4365, 6665.8452, 0.00012207031]; +}; + +_vehicle_573 = objNull; +if (true) then +{ + _this = "MAP_t_fagus2s" createVehicle [9594.6006, 6632.9507, 9.1552734e-005]; + _vehicle_573 = _this; + _this setPos [9594.6006, 6632.9507, 9.1552734e-005]; +}; + +_vehicle_574 = objNull; +if (true) then +{ + _this = "MAP_b_corylus" createVehicle [9601, 6658.0098]; + _vehicle_574 = _this; + _this setPos [9601, 6658.0098]; +}; + +_vehicle_576 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [9604.4541, 6653.4487, 6.1035156e-005]; + _vehicle_576 = _this; + _this setPos [9604.4541, 6653.4487, 6.1035156e-005]; +}; + +_vehicle_578 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [9593.5938, 6669.3931, 0.0001373291]; + _vehicle_578 = _this; + _this setPos [9593.5938, 6669.3931, 0.0001373291]; +}; + +_vehicle_580 = objNull; +if (true) then +{ + _this = "MAP_b_craet2" createVehicle [9583.2393, 6633.0801, 0.00057983398]; + _vehicle_580 = _this; + _this setPos [9583.2393, 6633.0801, 0.00057983398]; +}; + +_vehicle_582 = objNull; +if (true) then +{ + _this = "Camp" createVehicle [9578.2979, 6663.8979, -1.5258789e-005]; + _vehicle_582 = _this; + _this setDir 186.11646; + _this setPos [9578.2979, 6663.8979, -1.5258789e-005]; +}; + +_vehicle_585 = objNull; +if (true) then +{ + _this = "Camp" createVehicle [9584.7686, 6663.2505, -4.5776367e-005]; + _vehicle_585 = _this; + _this setDir 190.53137; + _this setPos [9584.7686, 6663.2505, -4.5776367e-005]; +}; + +_vehicle_587 = objNull; +if (true) then +{ + _this = "Camp" createVehicle [9591.4375, 6661.9688, 9.1552734e-005]; + _vehicle_587 = _this; + _this setDir 192.35356; + _this setPos [9591.4375, 6661.9688, 9.1552734e-005]; +}; + +_vehicle_590 = objNull; +if (true) then +{ + _this = "CampEast" createVehicle [9595.9287, 6641.2271, 6.1035156e-005]; + _vehicle_590 = _this; + _this setDir 82.859413; + _this setPos [9595.9287, 6641.2271, 6.1035156e-005]; +}; + +_vehicle_594 = objNull; +if (true) then +{ + _this = "CampEast" createVehicle [9593.4873, 6652.4766, 1.5258789e-005]; + _vehicle_594 = _this; + _this setDir 78.299477; + _this setPos [9593.4873, 6652.4766, 1.5258789e-005]; +}; + +_vehicle_596 = objNull; +if (true) then +{ + _this = "MAP_fort_bagfence_long" createVehicle [9564.9609, 6646.4536, -0.10362446]; + _vehicle_596 = _this; + _this setDir 65.603111; + _this setPos [9564.9609, 6646.4536, -0.10362446]; +}; + +_vehicle_599 = objNull; +if (true) then +{ + _this = "MAP_fort_bagfence_long" createVehicle [9566.1699, 6643.5518, -0.10758121]; + _vehicle_599 = _this; + _this setDir 69.278519; + _this setPos [9566.1699, 6643.5518, -0.10758121]; +}; + +_vehicle_602 = objNull; +if (true) then +{ + _this = "MAP_fort_bagfence_long" createVehicle [9568.1006, 6636.8955, -0.11261839]; + _vehicle_602 = _this; + _this setDir 74.708069; + _this setPos [9568.1006, 6636.8955, -0.11261839]; +}; + +_vehicle_605 = objNull; +if (true) then +{ + _this = "MAP_fort_bagfence_long" createVehicle [9569.1953, 6632.1792, -0.095271848]; + _vehicle_605 = _this; + _this setDir 76.41642; + _this setPos [9569.1953, 6632.1792, -0.095271848]; +}; + +_vehicle_608 = objNull; +if (true) then +{ + _this = "MAP_fort_bagfence_long" createVehicle [9575.2412, 6635.0933, -0.095222868]; + _vehicle_608 = _this; + _this setDir 74.354935; + _this setPos [9575.2412, 6635.0933, -0.095222868]; +}; + +_vehicle_611 = objNull; +if (true) then +{ + _this = "MAP_fort_bagfence_long" createVehicle [9574.4844, 6637.9609, -0.089696713]; + _vehicle_611 = _this; + _this setDir 75.552841; + _this setPos [9574.4844, 6637.9609, -0.089696713]; +}; + +_vehicle_612 = objNull; +if (true) then +{ + _this = "Land_Fort_Watchtower" createVehicle [9565.5977, 6632.3076, -0.0041821287]; + _vehicle_612 = _this; + _this setDir -13.909041; + _this setPos [9565.5977, 6632.3076, -0.0041821287]; +}; + +_vehicle_615 = objNull; +if (true) then +{ + _this = "MAP_pumpa" createVehicle [9678.9531, 6536.8862, -0.029886188]; + _vehicle_615 = _this; + _this setPos [9678.9531, 6536.8862, -0.029886188]; +}; + +_vehicle_617 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [9568.7949, 6627.3477]; + _vehicle_617 = _this; + _this setPos [9568.7949, 6627.3477]; +}; + +_vehicle_619 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [9559.2266, 6670.1221, -3.0517578e-005]; + _vehicle_619 = _this; + _this setPos [9559.2266, 6670.1221, -3.0517578e-005]; +}; + +_vehicle_621 = objNull; +if (true) then +{ + _this = "MAP_b_craet1" createVehicle [9548.0605, 6651.9556, -9.1552734e-005]; + _vehicle_621 = _this; + _this setPos [9548.0605, 6651.9556, -9.1552734e-005]; +}; + +processInitCommands; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/Trains.sqf b/SQF/dayz_code/system/mission/chernarus/poi/Trains.sqf new file mode 100644 index 00000000..b196a4e6 --- /dev/null +++ b/SQF/dayz_code/system/mission/chernarus/poi/Trains.sqf @@ -0,0 +1,1200 @@ +//This spawns in trains at the coast mostly centered around the cites and industrial depos. +//Created by Nox 2017-02-01. Contact: DayZ Europa, Dayz mod discord +//Copyright by the DayZ Mod dev team. + +_vehicle_0 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [10168.34, 2073.5605, 0.16311467]; + _vehicle_0 = _this; + _this setDir 75.7155; + _this setPos [10168.34, 2073.5605, 0.16311467]; +}; + +_vehicle_1 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [10194.354, 2080.1013, 0.16088665]; + _vehicle_1 = _this; + _this setDir -104.07324; + _this setPos [10194.354, 2080.1013, 0.16088665]; +}; + +_vehicle_4 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [10180.1, 2076.5244, 0.12867387]; + _vehicle_4 = _this; + _this setDir 75.7155; + _this setPos [10180.1, 2076.5244, 0.12867387]; +}; + +_vehicle_7 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [10211.06, 2084.248, 0.1511931]; + _vehicle_7 = _this; + _this setDir -104.13638; + _this setPos [10211.06, 2084.248, 0.1511931]; +}; + +_vehicle_10 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [10156.546, 2070.572, 0.13901874]; + _vehicle_10 = _this; + _this setDir 75.7155; + _this setPos [10156.546, 2070.572, 0.13901874]; +}; + +_vehicle_13 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [10142.152, 2066.9414, 0.1718477]; + _vehicle_13 = _this; + _this setDir -104.1255; + _this setPos [10142.152, 2066.9414, 0.1718477]; +}; + +_vehicle_18 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [10247.015, 2074.5259, 0.20048724]; + _vehicle_18 = _this; + _this setDir -104.14349; + _this setPos [10247.015, 2074.5259, 0.20048724]; +}; + +_vehicle_20 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [10224.864, 2068.9856, 0.18680921]; + _vehicle_20 = _this; + _this setDir -104.05599; + _this setPos [10224.864, 2068.9856, 0.18680921]; +}; + +_vehicle_22 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [10235.968, 2071.7852, 0.16446462]; + _vehicle_22 = _this; + _this setDir -104.00745; + _this setPos [10235.968, 2071.7852, 0.16446462]; +}; + +_vehicle_24 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [10213.746, 2066.2131, 0.18029809]; + _vehicle_24 = _this; + _this setDir -104.24618; + _this setPos [10213.746, 2066.2131, 0.18029809]; +}; + +_vehicle_26 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [10202.753, 2063.416, 0.15816996]; + _vehicle_26 = _this; + _this setDir -104.06039; + _this setPos [10202.753, 2063.416, 0.15816996]; +}; + +_vehicle_33 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [10188.856, 2059.9319, 0.17784159]; + _vehicle_33 = _this; + _this setDir -104.17323; + _this setPos [10188.856, 2059.9319, 0.17784159]; +}; + +_vehicle_38 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [10157.445, 2066.0146, 0.14003865]; + _vehicle_38 = _this; + _this setDir 256.08145; + _this setPos [10157.445, 2066.0146, 0.14003865]; +}; + +_vehicle_41 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [10145.63, 2063.0632, 0.15391025]; + _vehicle_41 = _this; + _this setDir 255.76538; + _this setPos [10145.63, 2063.0632, 0.15391025]; +}; + +_vehicle_43 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [10133.894, 2060.063, 0.11580159]; + _vehicle_43 = _this; + _this setDir 255.82715; + _this setPos [10133.894, 2060.063, 0.11580159]; +}; + +_vehicle_46 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [10171.752, 2069.6736, 0.1724544]; + _vehicle_46 = _this; + _this setDir -104.18198; + _this setPos [10171.752, 2069.6736, 0.1724544]; +}; + +_vehicle_51 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [10202.681, 2077.46, 0.12733701]; + _vehicle_51 = _this; + _this setDir 255.6918; + _this setPos [10202.681, 2077.46, 0.12733701]; +}; + +_vehicle_54 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [10217.138, 2081.1311, 0.17603226]; + _vehicle_54 = _this; + _this setDir -104.0986; + _this setPos [10217.138, 2081.1311, 0.17603226]; +}; + +_vehicle_56 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [10233.838, 2085.3457, 0.16773948]; + _vehicle_56 = _this; + _this setDir -103.96792; + _this setPos [10233.838, 2085.3457, 0.16773948]; +}; + +_vehicle_60 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [10140.701, 2052.3032, 0.13833019]; + _vehicle_60 = _this; + _this setDir 75.7155; + _this setPos [10140.701, 2052.3032, 0.13833019]; +}; + +_vehicle_63 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [10119.749, 2056.5088, 0.17134969]; + _vehicle_63 = _this; + _this setDir -104.3255; + _this setPos [10119.749, 2056.5088, 0.17134969]; +}; + +_vehicle_65 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [10126.392, 2048.7168, 0.1908232]; + _vehicle_65 = _this; + _this setDir -104.28819; + _this setPos [10126.392, 2048.7168, 0.1908232]; +}; + +_vehicle_68 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [10169.311, 2059.5181, 0.13154817]; + _vehicle_68 = _this; + _this setDir 75.7155; + _this setPos [10169.311, 2059.5181, 0.13154817]; +}; + +_vehicle_73 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [10154.914, 2055.8909, 0.19882825]; + _vehicle_73 = _this; + _this setDir -104.02966; + _this setPos [10154.914, 2055.8909, 0.19882825]; +}; + +_vehicle_75 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [10183.559, 2063.0818, 0.17626882]; + _vehicle_75 = _this; + _this setDir -104.17327; + _this setPos [10183.559, 2063.0818, 0.17626882]; +}; + +_vehicle_77 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [10172.257, 2055.7822, 0.18531027]; + _vehicle_77 = _this; + _this setDir -103.9958; + _this setPos [10172.257, 2055.7822, 0.18531027]; +}; + +_vehicle_80 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [10321.797, 2102.7678, 0.177573]; + _vehicle_80 = _this; + _this setDir 256.08838; + _this setPos [10321.797, 2102.7678, 0.177573]; +}; + +_vehicle_82 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [10333.732, 2105.7834, 0.13175739]; + _vehicle_82 = _this; + _this setDir 255.59486; + _this setPos [10333.732, 2105.7834, 0.13175739]; +}; + +_vehicle_84 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [10345.563, 2108.7847, 0.12369472]; + _vehicle_84 = _this; + _this setDir 256.08838; + _this setPos [10345.563, 2108.7847, 0.12369472]; +}; + +_vehicle_86 = objNull; +if (true) then +{ + _this = "Land_loco_742_blue" createVehicle [10358.212, 2111.9692, 0.00013160706]; + _vehicle_86 = _this; + _this setDir -104.11324; + _this setPos [10358.212, 2111.9692, 0.00013160706]; +}; + +_vehicle_87 = objNull; +if (true) then +{ + _this = "Land_loco_742_red" createVehicle [10226.541, 2088.1741, 4.7683716e-006]; + _vehicle_87 = _this; + _this setDir -284.36655; + _this setPos [10226.541, 2088.1741, 4.7683716e-006]; +}; + +_vehicle_89 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [10307.447, 2099.1365, 0.16859774]; + _vehicle_89 = _this; + _this setDir -104.09306; + _this setPos [10307.447, 2099.1365, 0.16859774]; +}; + +_vehicle_91 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [10290.701, 2094.896, 0.1874747]; + _vehicle_91 = _this; + _this setDir -104.23044; + _this setPos [10290.701, 2094.896, 0.1874747]; +}; + +_vehicle_93 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [10200.337, 2067.3086, 0.16706154]; + _vehicle_93 = _this; + _this setDir -104.22247; + _this setPos [10200.337, 2067.3086, 0.16706154]; +}; + +_vehicle_95 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [10217.125, 2071.5454, 0.17909291]; + _vehicle_95 = _this; + _this setDir -104.13795; + _this setPos [10217.125, 2071.5454, 0.17909291]; +}; + +_vehicle_99 = objNull; +if (true) then +{ + _this = "Land_loco_742_red" createVehicle [13105.715, 10483.943, -1.4305115e-006]; + _vehicle_99 = _this; + _this setDir -341.03436; + _this setPos [13105.715, 10483.943, -1.4305115e-006]; +}; + +_vehicle_100 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [13101.68, 10472.258, 0.19352071]; + _vehicle_100 = _this; + _this setDir -160.78401; + _this setPos [13101.68, 10472.258, 0.19352071]; +}; + +_vehicle_104 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [13082.898, 10418.163, 0.1809956]; + _vehicle_104 = _this; + _this setDir 199.16992; + _this setPos [13082.898, 10418.163, 0.1809956]; +}; + +_vehicle_107 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [13097.947, 10461.538, 0.20758525]; + _vehicle_107 = _this; + _this setDir -160.94257; + _this setPos [13097.947, 10461.538, 0.20758525]; +}; + +_vehicle_109 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [13094.23, 10450.78, 0.19408225]; + _vehicle_109 = _this; + _this setDir -160.78401; + _this setPos [13094.23, 10450.78, 0.19408225]; +}; + +_vehicle_111 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [13090.494, 10440.046, 0.23444112]; + _vehicle_111 = _this; + _this setDir -160.88452; + _this setPos [13090.494, 10440.046, 0.23444112]; +}; + +_vehicle_113 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [13086.799, 10429.325, 0.19502294]; + _vehicle_113 = _this; + _this setDir -160.78401; + _this setPos [13086.799, 10429.325, 0.19502294]; +}; + +_vehicle_116 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [13078.924, 10406.671, 0.19173983]; + _vehicle_116 = _this; + _this setDir 199.16992; + _this setPos [13078.924, 10406.671, 0.19173983]; +}; + +_vehicle_119 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [12991.476, 10210.285, 0.16309255]; + _vehicle_119 = _this; + _this setDir 199.16992; + _this setPos [12991.476, 10210.285, 0.16309255]; +}; + +_vehicle_122 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [13096.424, 10471.038, 0.16120704]; + _vehicle_122 = _this; + _this setDir 378.66269; + _this setPos [13096.424, 10471.038, 0.16120704]; +}; + +_vehicle_125 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [13092.42, 10459.461, 0.11967738]; + _vehicle_125 = _this; + _this setDir 379.17749; + _this setPos [13092.42, 10459.461, 0.11967738]; +}; + +_vehicle_128 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [13088.519, 10448.34, 0.15718408]; + _vehicle_128 = _this; + _this setDir 379.24594; + _this setPos [13088.519, 10448.34, 0.15718408]; +}; + +_vehicle_130 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [13084.43, 10436.51, 0.12047588]; + _vehicle_130 = _this; + _this setDir 379.11691; + _this setPos [13084.43, 10436.51, 0.12047588]; +}; + +_vehicle_133 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [10188.484, 2073.8965, 0.18404235]; + _vehicle_133 = _this; + _this setDir -104.18198; + _this setPos [10188.484, 2073.8965, 0.18404235]; +}; + +_vehicle_135 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [12986.592, 10196.229, 0.18461999]; + _vehicle_135 = _this; + _this setDir -161.05334; + _this setPos [12986.592, 10196.229, 0.18461999]; +}; + +_vehicle_141 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [12980.976, 10179.925, 0.16564548]; + _vehicle_141 = _this; + _this setDir -161.05334; + _this setPos [12980.976, 10179.925, 0.16564548]; +}; + +_vehicle_144 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [12990.805, 10194.453, 0.17858858]; + _vehicle_144 = _this; + _this setDir -161.05334; + _this setPos [12990.805, 10194.453, 0.17858858]; +}; + +_vehicle_147 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [12995.652, 10208.425, 0.13177715]; + _vehicle_147 = _this; + _this setDir 379.11987; + _this setPos [12995.652, 10208.425, 0.13177715]; +}; + +_vehicle_150 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [13101.17, 10484.818, 0.16765063]; + _vehicle_150 = _this; + _this setDir -161.05334; + _this setPos [13101.17, 10484.818, 0.16765063]; +}; + +_vehicle_156 = objNull; +if (true) then +{ + _this = "Land_loco_742_red" createVehicle [13137.681, 7092.771, -3.862381e-005]; + _vehicle_156 = _this; + _this setDir -196.70021; + _this setPos [13137.681, 7092.771, -3.862381e-005]; +}; + +_vehicle_158 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [13123.843, 7137.7847, 0.16117001]; + _vehicle_158 = _this; + _this setDir 343.1142; + _this setPos [13123.843, 7137.7847, 0.16117001]; +}; + +_vehicle_159 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [13145.244, 7099.7104, 0.20274206]; + _vehicle_159 = _this; + _this setDir -196.8839; + _this setPos [13145.244, 7099.7104, 0.20274206]; +}; + +_vehicle_165 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [13134.074, 7104.5952, 0.18495156]; + _vehicle_165 = _this; + _this setDir -196.61456; + _this setPos [13134.074, 7104.5952, 0.18495156]; +}; + +_vehicle_167 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [13130.689, 7115.4546, 0.17786545]; + _vehicle_167 = _this; + _this setDir -196.61456; + _this setPos [13130.689, 7115.4546, 0.17786545]; +}; + +_vehicle_169 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [13127.361, 7126.3179, 0.18172124]; + _vehicle_169 = _this; + _this setDir -196.61456; + _this setPos [13127.361, 7126.3179, 0.18172124]; +}; + +_vehicle_175 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [13165.261, 7065.9019, 0.12680015]; + _vehicle_175 = _this; + _this setDir 163.08119; + _this setPos [13165.261, 7065.9019, 0.12680015]; +}; + +_vehicle_184 = objNull; +if (true) then +{ + _this = "Land_loco_742_blue" createVehicle [13168.99, 7053.6831, 5.7220459e-006]; + _vehicle_184 = _this; + _this setDir -197.39967; + _this setPos [13168.99, 7053.6831, 5.7220459e-006]; +}; + +_vehicle_187 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [13161.596, 7077.6421, 0.1145039]; + _vehicle_187 = _this; + _this setDir 163.08119; + _this setPos [13161.596, 7077.6421, 0.1145039]; +}; + +_vehicle_190 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [13158.002, 7089.4604, 0.17738642]; + _vehicle_190 = _this; + _this setDir 162.60304; + _this setPos [13158.002, 7089.4604, 0.17738642]; +}; + +_vehicle_193 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [13120.205, 7149.4312, 0.15123719]; + _vehicle_193 = _this; + _this setDir 343.1142; + _this setPos [13120.205, 7149.4312, 0.15123719]; +}; + +_vehicle_196 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [13116.597, 7161.1509, 0.15909816]; + _vehicle_196 = _this; + _this setDir 343.1142; + _this setPos [13116.597, 7161.1509, 0.15909816]; +}; + +_vehicle_199 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [13150.365, 7083.2466, 0.19699007]; + _vehicle_199 = _this; + _this setDir -197.04967; + _this setPos [13150.365, 7083.2466, 0.19699007]; +}; + +_vehicle_202 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [13155.423, 7066.8052, 0.18083097]; + _vehicle_202 = _this; + _this setDir -197.05629; + _this setPos [13155.423, 7066.8052, 0.18083097]; +}; + +_vehicle_206 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [13153.7, 7103.4712, 0.15378696]; + _vehicle_206 = _this; + _this setDir -197.16132; + _this setPos [13153.7, 7103.4712, 0.15378696]; +}; + +_vehicle_209 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [13140.184, 7116.2046, 0.20366365]; + _vehicle_209 = _this; + _this setDir -196.8839; + _this setPos [13140.184, 7116.2046, 0.20366365]; +}; + +_vehicle_216 = objNull; +if (true) then +{ + _this = "Land_loco_742_red" createVehicle [12011.022, 3559.6802, -0.0032919291]; + _vehicle_216 = _this; + _this setDir -102.86237; + _this setPos [12011.022, 3559.6802, -0.0032919291]; +}; + +_vehicle_235 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [11996.037, 3556.0806, 0.2143043]; + _vehicle_235 = _this; + _this setDir -103.5245; + _this setPos [11996.037, 3556.0806, 0.2143043]; +}; + +_vehicle_241 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [11965.34, 3548.7786, 0.15012184]; + _vehicle_241 = _this; + _this setDir -102.65045; + _this setPos [11965.34, 3548.7786, 0.15012184]; +}; + +_vehicle_244 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [11979.241, 3552.0664, 0.20414105]; + _vehicle_244 = _this; + _this setDir -103.5245; + _this setPos [11979.241, 3552.0664, 0.20414105]; +}; + +_vehicle_262 = objNull; +if (true) then +{ + _this = "Land_loco_742_red" createVehicle [8116.5786, 3247.2932, 0.46909302]; + _vehicle_262 = _this; + _this setDir -252.69336; + _this setPos [8116.5786, 3247.2932, 0.46909302]; +}; + +_vehicle_265 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [8104.54, 3251.0259, 0.48940232]; + _vehicle_265 = _this; + _this setDir 106.51037; + _this setPos [8104.54, 3251.0259, 0.48940232]; +}; + +_vehicle_268 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [8092.5532, 3254.5642, 0.253389]; + _vehicle_268 = _this; + _this setDir 106.90629; + _this setPos [8092.5532, 3254.5642, 0.253389]; +}; + +_vehicle_271 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [8080.728, 3258.2129, 0.19662026]; + _vehicle_271 = _this; + _this setDir 106.85039; + _this setPos [8080.728, 3258.2129, 0.19662026]; +}; + +_vehicle_274 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [8066.5981, 3262.4456, 0.18470447]; + _vehicle_274 = _this; + _this setDir -73.185547; + _this setPos [8066.5981, 3262.4456, 0.18470447]; +}; + +_vehicle_295 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [8050.0444, 3267.467, 0.17641233]; + _vehicle_295 = _this; + _this setDir -73.185547; + _this setPos [8050.0444, 3267.467, 0.17641233]; +}; + +_vehicle_298 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [8033.437, 3272.4993, 0.16611838]; + _vehicle_298 = _this; + _this setDir -73.185547; + _this setPos [8033.437, 3272.4993, 0.16611838]; +}; + +_vehicle_301 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [8016.9058, 3277.446, 0.17802897]; + _vehicle_301 = _this; + _this setDir -73.185547; + _this setPos [8016.9058, 3277.446, 0.17802897]; +}; + +_vehicle_303 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [6537.9966, 2593.0725, 0.20289856]; + _vehicle_303 = _this; + _this setDir -139.2421; + _this setPos [6537.9966, 2593.0725, 0.20289856]; +}; + +_vehicle_306 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [6530.5347, 2584.3757, 0.20150344]; + _vehicle_306 = _this; + _this setDir -139.2421; + _this setPos [6530.5347, 2584.3757, 0.20150344]; +}; + +_vehicle_309 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [6522.9946, 2575.5559, 0.1891567]; + _vehicle_309 = _this; + _this setDir -139.2421; + _this setPos [6522.9946, 2575.5559, 0.1891567]; +}; + +_vehicle_312 = objNull; +if (true) then +{ + _this = "Land_loco_742_red" createVehicle [6564.5605, 2669.853, 0.0036750352]; + _vehicle_312 = _this; + _this setDir 40.098568; + _this setPos [6564.5605, 2669.853, 0.0036750352]; +}; + +_vehicle_315 = objNull; +if (true) then +{ + _this = "Land_loco_742_blue" createVehicle [6585.1104, 2672.6362, -0.0079055373]; + _vehicle_315 = _this; + _this setDir -139.99869; + _this setPos [6585.1104, 2672.6362, -0.0079055373]; +}; + +_vehicle_318 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [6576.7373, 2662.8779, 0.1262452]; + _vehicle_318 = _this; + _this setDir 40.771858; + _this setPos [6576.7373, 2662.8779, 0.1262452]; +}; + +_vehicle_321 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [6567.1069, 2651.688, 0.20115079]; + _vehicle_321 = _this; + _this setDir -139.2592; + _this setPos [6567.1069, 2651.688, 0.20115079]; +}; + +_vehicle_324 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [6530.8647, 2609.3066, 0.18185288]; + _vehicle_324 = _this; + _this setDir -139.2592; + _this setPos [6530.8647, 2609.3066, 0.18185288]; +}; + +_vehicle_327 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [6521.3413, 2598.238, 0.1547417]; + _vehicle_327 = _this; + _this setDir 40.771858; + _this setPos [6521.3413, 2598.238, 0.1547417]; +}; + +_vehicle_329 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [6513.3799, 2589.0034, 0.14472093]; + _vehicle_329 = _this; + _this setDir 40.771858; + _this setPos [6513.3799, 2589.0034, 0.14472093]; +}; + +_vehicle_332 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [6556.2466, 2660.1909, 0.14219607]; + _vehicle_332 = _this; + _this setDir 40.771858; + _this setPos [6556.2466, 2660.1909, 0.14219607]; +}; + +_vehicle_335 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [6548.2046, 2650.8391, 0.15219624]; + _vehicle_335 = _this; + _this setDir 40.771858; + _this setPos [6548.2046, 2650.8391, 0.15219624]; +}; + +_vehicle_337 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [6553.3276, 2649.6594, 0.14278285]; + _vehicle_337 = _this; + _this setDir 40.771858; + _this setPos [6553.3276, 2649.6594, 0.14278285]; +}; + +_vehicle_340 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [6574.3848, 2674.2017, 0.15485144]; + _vehicle_340 = _this; + _this setDir -139.2592; + _this setPos [6574.3848, 2674.2017, 0.15485144]; +}; + +_vehicle_342 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [6562.9932, 2660.9431, 0.1581381]; + _vehicle_342 = _this; + _this setDir -139.2592; + _this setPos [6562.9932, 2660.9431, 0.1581381]; +}; + +_vehicle_344 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [6508.1738, 2604.2358, 0.18422979]; + _vehicle_344 = _this; + _this setDir -139.2592; + _this setPos [6508.1738, 2604.2358, 0.18422979]; +}; + +_vehicle_347 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [6513.5742, 2603.4265, 0.11749856]; + _vehicle_347 = _this; + _this setDir 40.771858; + _this setPos [6513.5742, 2603.4265, 0.11749856]; +}; + +_vehicle_349 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [6505.6426, 2594.1279, 0.14583036]; + _vehicle_349 = _this; + _this setDir 40.771858; + _this setPos [6505.6426, 2594.1279, 0.14583036]; +}; + +_vehicle_351 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [6497.5703, 2584.7683, 0.11711362]; + _vehicle_351 = _this; + _this setDir 40.771858; + _this setPos [6497.5703, 2584.7683, 0.11711362]; +}; + +_vehicle_354 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [6487.9185, 2573.4939, 0.18579072]; + _vehicle_354 = _this; + _this setDir -139.2592; + _this setPos [6487.9185, 2573.4939, 0.18579072]; +}; + +_vehicle_356 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [6496.9551, 2591.1719, 0.18747902]; + _vehicle_356 = _this; + _this setDir -139.2592; + _this setPos [6496.9551, 2591.1719, 0.18747902]; +}; + +_vehicle_358 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [6523.1538, 2614.4971, 0.17385378]; + _vehicle_358 = _this; + _this setDir -139.2592; + _this setPos [6523.1538, 2614.4971, 0.17385378]; +}; + +_vehicle_360 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [6503.5488, 2577.6704, 0.17835204]; + _vehicle_360 = _this; + _this setDir -139.2592; + _this setPos [6503.5488, 2577.6704, 0.17835204]; +}; + +_vehicle_362 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [6476.6914, 2560.4395, 0.18146025]; + _vehicle_362 = _this; + _this setDir -139.2592; + _this setPos [6476.6914, 2560.4395, 0.18146025]; +}; + +_vehicle_380 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [3632.3921, 2183.5303, 0.19203061]; + _vehicle_380 = _this; + _this setDir -162.28281; + _this setPos [3632.3921, 2183.5303, 0.19203061]; +}; + +_vehicle_383 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [3635.8564, 2194.4097, 0.20080027]; + _vehicle_383 = _this; + _this setDir -162.28281; + _this setPos [3635.8564, 2194.4097, 0.20080027]; +}; + +_vehicle_385 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [3639.2097, 2205.2725, 0.178624]; + _vehicle_385 = _this; + _this setDir -162.28281; + _this setPos [3639.2097, 2205.2725, 0.178624]; +}; + +_vehicle_387 = objNull; +if (true) then +{ + _this = "Land_wagon_tanker" createVehicle [3642.6494, 2216.1147, 0.18965124]; + _vehicle_387 = _this; + _this setDir -162.28281; + _this setPos [3642.6494, 2216.1147, 0.18965124]; +}; + +_vehicle_390 = objNull; +if (true) then +{ + _this = "Land_loco_742_blue" createVehicle [3646.4063, 2227.8547]; + _vehicle_390 = _this; + _this setDir -161.9512; + _this setPos [3646.4063, 2227.8547]; +}; + +_vehicle_393 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [3624.4604, 2174.0303, 0.17226967]; + _vehicle_393 = _this; + _this setDir -162.34853; + _this setPos [3624.4604, 2174.0303, 0.17226967]; +}; + +_vehicle_396 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [3628.9941, 2188.1265, 0.12625498]; + _vehicle_396 = _this; + _this setDir 17.60228; + _this setPos [3628.9941, 2188.1265, 0.12625498]; +}; + +_vehicle_399 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [3633.467, 2202.1299, 0.12796654]; + _vehicle_399 = _this; + _this setDir -162.34853; + _this setPos [3633.467, 2202.1299, 0.12796654]; +}; + +_vehicle_402 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [3637.9761, 2216.2969, 0.1378399]; + _vehicle_402 = _this; + _this setDir 17.60228; + _this setPos [3637.9761, 2216.2969, 0.1378399]; +}; + +_vehicle_405 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [3642.4448, 2230.3662, 0.19228981]; + _vehicle_405 = _this; + _this setDir -162.34853; + _this setPos [3642.4448, 2230.3662, 0.19228981]; +}; + +_vehicle_407 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [3647.6504, 2246.7869, 0.1974943]; + _vehicle_407 = _this; + _this setDir -162.34853; + _this setPos [3647.6504, 2246.7869, 0.1974943]; +}; + +_vehicle_435 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [13365.297, 6192.6582, 0.66846478]; + _vehicle_435 = _this; + _this setDir -181.59329; + _this setPos [13365.297, 6192.6582, 0.66846478]; +}; + +_vehicle_439 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [13364.172, 6231.8828, 0.15535162]; + _vehicle_439 = _this; + _this setDir -1.4627239; + _this setPos [13364.172, 6231.8828, 0.15535162]; +}; + +_vehicle_440 = objNull; +if (true) then +{ + _this = "Land_loco_742_red" createVehicle [13363.705, 6244.874, -0.011174453]; + _vehicle_440 = _this; + _this setDir -1.8258147; + _this setPos [13363.705, 6244.874, -0.011174453]; +}; + +_vehicle_444 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [13364.511, 6219.7334, 0.26885888]; + _vehicle_444 = _this; + _this setDir -1.6258848; + _this setPos [13364.511, 6219.7334, 0.26885888]; +}; + +_vehicle_447 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [13364.831, 6207.665, 0.45789]; + _vehicle_447 = _this; + _this setDir -1.6315914; + _this setPos [13364.831, 6207.665, 0.45789]; +}; + +_vehicle_450 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [13365.816, 6175.3945, 0.73842734]; + _vehicle_450 = _this; + _this setDir -181.59329; + _this setPos [13365.816, 6175.3945, 0.73842734]; +}; + +_vehicle_452 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [13366.309, 6158.1797, 0.73748678]; + _vehicle_452 = _this; + _this setDir -181.59329; + _this setPos [13366.309, 6158.1797, 0.73748678]; +}; + +_vehicle_455 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [13366.788, 6141.2021, 0.73386806]; + _vehicle_455 = _this; + _this setDir -181.59329; + _this setPos [13366.788, 6141.2021, 0.73386806]; +}; + +_vehicle_458 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [13367.184, 6126.5557, 0.68958515]; + _vehicle_458 = _this; + _this setDir -1.6338431; + _this setPos [13367.184, 6126.5557, 0.68958515]; +}; + +_vehicle_460 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [13367.551, 6114.3896, 0.63070971]; + _vehicle_460 = _this; + _this setDir -1.4627239; + _this setPos [13367.551, 6114.3896, 0.63070971]; +}; + +_vehicle_463 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [13368.008, 6099.5674, 0.74625611]; + _vehicle_463 = _this; + _this setDir -181.59329; + _this setPos [13368.008, 6099.5674, 0.74625611]; +}; + +_vehicle_471 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [13011.744, 10254.89, 0.1583827]; + _vehicle_471 = _this; + _this setDir -160.84531; + _this setPos [13011.744, 10254.89, 0.1583827]; +}; + +_vehicle_473 = objNull; +if (true) then +{ + _this = "Land_loco_742_blue" createVehicle [13020.726, 10280.809, -0.0048257643]; + _vehicle_473 = _this; + _this setDir 19.05731; + _this setPos [13020.726, 10280.809, -0.0048257643]; +}; + +_vehicle_474 = objNull; +if (true) then +{ + _this = "Land_wagon_box" createVehicle [13016.564, 10268.684, 0.13962048]; + _vehicle_474 = _this; + _this setDir 19.090483; + _this setPos [13016.564, 10268.684, 0.13962048]; +}; + +_vehicle_476 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [13006.112, 10238.703, 0.18509533]; + _vehicle_476 = _this; + _this setDir -160.84531; + _this setPos [13006.112, 10238.703, 0.18509533]; +}; + +_vehicle_478 = objNull; +if (true) then +{ + _this = "Land_wagon_flat" createVehicle [13000.476, 10222.328, 0.1864008]; + _vehicle_478 = _this; + _this setDir -160.84531; + _this setPos [13000.476, 10222.328, 0.1864008]; +}; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/Twains.sqf b/SQF/dayz_code/system/mission/chernarus/poi/Twains.sqf deleted file mode 100644 index 0c9f84cb..00000000 --- a/SQF/dayz_code/system/mission/chernarus/poi/Twains.sqf +++ /dev/null @@ -1,3411 +0,0 @@ -/** - * ArmA 2 Chernarus Map Addition - * Static Trains And Wagons On Chernarus Rails - * SQF version 1.0 - * - * mission.sqm created by allavett - * trains_wagons.sqf created* and edited by Mr.Weegley - * *.sqf created using SQM2Biedi converter - * - * - * http://opendayz.net/threads/trains-and-wagons-to-chernarus-rails.17499/ - * allavett - http://opendayz.net/members/allavett.6155/ - * Mr.Weegley - http://opendayz.net/members/mr-weegley.14613/ - */ - -if (isServer) then { - - -{ - _p=(nearestObject _x) setDamage 1; -} forEach [ - [7158.09,3179.44], [7157.34,3180.52], [7156.56,3181.75], [7156.99,3181.48], [7161.91,3172.63], [7154.69,3185.93], [7132.54,3178.82], - [7101.17,3178.3], [7104.24,3174.3], [7105.87,3171.97], [7113.37,3176.82], [7111.22,3182.5], [7124.8,3162.29], [7124.8,3162.29], [7236.87,3211.72], - [7241.08,3214.2], [7245.5,3216.57] -]; - - - - -_vehicle_1 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [10320.4,2097.65,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_1 = _this; - _this setDir 75.8932; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.15];}; }; - _this setPos [10320.4,2097.65,0]; -}; - -_vehicle_2 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [10297,2091.73,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_2 = _this; - _this setDir 75.7489; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.15];}; }; - _this setPos [10297,2091.73,0]; -}; - -_vehicle_3 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [10308.6,2094.65,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_3 = _this; - _this setDir 255.905; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.15];}; }; - _this setPos [10308.6,2094.65,0]; -}; - -_vehicle_4 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10210.7,2084.2,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_4 = _this; - _this setDir 75.9351; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10210.7,2084.2,0]; -}; - -_vehicle_5 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [10282.7,2088.11,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_5 = _this; - _this setDir 75.6848; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10282.7,2088.11,0]; -}; - -_vehicle_6 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10212.2,2070.33,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_6 = _this; - _this setDir 75.7936; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10212.2,2070.33,0]; -}; - -_vehicle_7 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10201.2,2067.56,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_7 = _this; - _this setDir 75.9703; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10201.2,2067.56,0]; -}; - -_vehicle_8 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [10226,2073.78,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_8 = _this; - _this setDir 75.8529; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10226,2073.78,0]; -}; - -_vehicle_9 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [10242.6,2077.98,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_9 = _this; - _this setDir 75.935; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10242.6,2077.98,0]; -}; - -_vehicle_10 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10209.6,1956.79,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_10 = _this; - _this setDir 185.741; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10209.6,1956.79,0]; -}; - -_vehicle_11 = objNull; -if (true) then -{ - _this = "Land_loco_742_red" createVehicle [10210.9,1968.99,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_11 = _this; - _this setDir 6.31329; - _this setPos [10210.9,1968.99,0]; -}; - -_vehicle_12 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [10268.6,2084.53,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_12 = _this; - _this setDir 75.9063; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.15];}; }; - _this setPos [10268.6,2084.53,0]; -}; - -_vehicle_13 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [10256.9,2081.58,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_13 = _this; - _this setDir 75.9183; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.15];}; }; - _this setPos [10256.9,2081.58,0]; -}; - -_vehicle_14 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [10190,2064.7,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_14 = _this; - _this setDir 75.8851; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.15];}; }; - _this setPos [10190,2064.7,0]; -}; - -_vehicle_15 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [10071.4,2007.54,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_15 = _this; - _this setDir 75.8851; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.15];}; }; - _this setPos [10071.4,2007.54,0]; -}; - -_vehicle_16 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [10175.7,2061.11,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_16 = _this; - _this setDir 75.8529; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10175.7,2061.11,0]; -}; - -_vehicle_17 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10161.9,2057.66,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_17 = _this; - _this setDir 75.7936; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10161.9,2057.66,0]; -}; - -_vehicle_18 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10150.9,2054.9,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_18 = _this; - _this setDir 75.9703; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10150.9,2054.9,0]; -}; - -_vehicle_19 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [10196.8,2080.7,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_19 = _this; - _this setDir 75.8748; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10196.8,2080.7,0]; -}; - -_vehicle_20 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [10182.7,2077.18,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_20 = _this; - _this setDir 75.9063; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.15];}; }; - _this setPos [10182.7,2077.18,0]; -}; - -_vehicle_21 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [10171,2074.23,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_21 = _this; - _this setDir 75.9183; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.15];}; }; - _this setPos [10171,2074.23,0]; -}; - -_vehicle_22 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [10159.3,2071.3,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_22 = _this; - _this setDir 75.8932; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.15];}; }; - _this setPos [10159.3,2071.3,0]; -}; - -_vehicle_23 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [10147.6,2068.36,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_23 = _this; - _this setDir 75.9448; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.15];}; }; - _this setPos [10147.6,2068.36,0]; -}; - -_vehicle_24 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10151.6,2064.59,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_24 = _this; - _this setDir 75.7456; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10151.6,2064.59,0]; -}; - -_vehicle_25 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10140.7,2061.83,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_25 = _this; - _this setDir 75.7646; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10140.7,2061.83,0]; -}; - -_vehicle_26 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [10165.5,2068.04,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_26 = _this; - _this setDir 75.8194; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10165.5,2068.04,0]; -}; - -_vehicle_27 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [10182.1,2072.25,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_27 = _this; - _this setDir 75.887; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10182.1,2072.25,0]; -}; - -_vehicle_28 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [10196.4,2075.86,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_28 = _this; - _this setDir 75.8704; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.15];}; }; - _this setPos [10196.4,2075.86,0]; -}; - -_vehicle_29 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [10129.5,2058.96,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_29 = _this; - _this setDir 75.8372; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.15];}; }; - _this setPos [10129.5,2058.96,0]; -}; - -_vehicle_30 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [10115.2,2055.35,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_30 = _this; - _this setDir 75.8049; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10115.2,2055.35,0]; -}; - -_vehicle_31 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10101.4,2051.88,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_31 = _this; - _this setDir 75.7662; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10101.4,2051.88,0]; -}; - -_vehicle_32 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10090.5,2049.15,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_32 = _this; - _this setDir 75.9223; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10090.5,2049.15,0]; -}; - -_vehicle_33 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [10210.5,2079.41,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_33 = _this; - _this setDir 75.8529; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10210.5,2079.41,0]; -}; - -_vehicle_34 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [10135.9,2065.42,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_34 = _this; - _this setDir 75.9448; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.15];}; }; - _this setPos [10135.9,2065.42,0]; -}; - -_vehicle_35 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [10168.7,2054.86,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_35 = _this; - _this setDir 75.9938; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10168.7,2054.86,0]; -}; - -_vehicle_36 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10154.9,2051.41,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_36 = _this; - _this setDir 75.9375; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10154.9,2051.41,0]; -}; - -_vehicle_37 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10143.9,2048.69,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_37 = _this; - _this setDir 75.9703; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10143.9,2048.69,0]; -}; - -_vehicle_38 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [10185.3,2059.04,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_38 = _this; - _this setDir 75.8459; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10185.3,2059.04,0]; -}; - -_vehicle_39 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [10202,2063.21,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_39 = _this; - _this setDir 75.935; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10202,2063.21,0]; -}; - -_vehicle_40 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10132.9,2045.94,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_40 = _this; - _this setDir 75.9678; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10132.9,2045.94,0]; -}; - -_vehicle_41 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10121.9,2043.18,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_41 = _this; - _this setDir 75.9703; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10121.9,2043.18,0]; -}; - -_vehicle_42 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [10137.1,2051.41,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_42 = _this; - _this setDir 75.8529; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10137.1,2051.41,0]; -}; - -_vehicle_43 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10215.8,2066.71,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_43 = _this; - _this setDir 75.7936; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10215.8,2066.71,0]; -}; - -_vehicle_44 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [10229.6,2070.15,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_44 = _this; - _this setDir 75.935; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10229.6,2070.15,0]; -}; - -_vehicle_45 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10276.3,2081.89,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_45 = _this; - _this setDir 75.9375; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10276.3,2081.89,0]; -}; - -_vehicle_46 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10265.4,2079.14,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_46 = _this; - _this setDir 75.9703; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10265.4,2079.14,0]; -}; - -_vehicle_47 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10254.4,2076.39,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_47 = _this; - _this setDir 75.9678; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10254.4,2076.39,0]; -}; - -_vehicle_48 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10243.4,2073.63,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_48 = _this; - _this setDir 75.9703; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10243.4,2073.63,0]; -}; - -_vehicle_49 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10320.2,2092.91,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_49 = _this; - _this setDir 75.9375; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10320.2,2092.91,0]; -}; - -_vehicle_50 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10309.2,2090.14,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_50 = _this; - _this setDir 75.9703; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10309.2,2090.14,0]; -}; - -_vehicle_51 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10298.3,2087.39,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_51 = _this; - _this setDir 75.9678; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10298.3,2087.39,0]; -}; - -_vehicle_52 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10287.3,2084.65,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_52 = _this; - _this setDir 75.9703; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10287.3,2084.65,0]; -}; - -_vehicle_53 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [10331.5,2095.69,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_53 = _this; - _this setDir 255.993; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.15];}; }; - _this setPos [10331.5,2095.69,0]; -}; - -_vehicle_54 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10342.9,2098.59,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_54 = _this; - _this setDir 75.9375; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10342.9,2098.59,0]; -}; - -_vehicle_55 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [10224.5,1778.98,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_55 = _this; - _this setDir 89.9098; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.19];}; }; - _this setPos [10224.5,1778.98,0]; -}; - -_vehicle_56 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [10241.7,1779.02,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_56 = _this; - _this setDir 89.9149; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.19];}; }; - _this setPos [10241.7,1779.02,0]; -}; - -_vehicle_57 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [10258.9,1779.04,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_57 = _this; - _this setDir 89.8509; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.19];}; }; - _this setPos [10258.9,1779.04,0]; -}; - -_vehicle_58 = objNull; -if (true) then -{ - _this = "Misc_Cargo1Bo_military" createVehicle [10226.3,1796.87,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_58 = _this; - _this setDir -90.8482; - _this setPos [10226.3,1796.87,0]; -}; - -_vehicle_59 = objNull; -if (true) then -{ - _this = "Land_Misc_Cargo1Eo_EP1" createVehicle [10247,1802.73,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_59 = _this; - _this setDir -323.696; - _this setPos [10247,1802.73,0]; -}; - -_vehicle_60 = objNull; -if (true) then -{ - _this = "Misc_Cargo1Bo_military" createVehicle [10238.3,1796.53,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_60 = _this; - _this setDir -96.8035; - _this setPos [10238.3,1796.53,0]; -}; - -_vehicle_61 = objNull; -if (true) then -{ - _this = "Land_Misc_Cargo1Eo_EP1" createVehicle [10231.5, 1807.3101]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_61 = _this; - _this setDir -259.845; - _this setPos [10231.5, 1807.3101]; -}; - -_vehicle_62 = objNull; -if (true) then -{ - _this = "Land_Misc_Cargo1Eo_EP1" createVehicle [10254.2,1779.13,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_62 = _this; - _this setDir -270.189; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [10254.2,1779.13,0]; -}; - -_vehicle_63 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10207.3,1934.35,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_63 = _this; - _this setDir 185.938; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10207.3,1934.35,0]; -}; - -_vehicle_64 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [10208.5,1945.61,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_64 = _this; - _this setDir 185.94; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [10208.5,1945.61,0]; -}; - -_vehicle_65 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [10831.7,2655.71,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_65 = _this; - _this setDir 20.7185; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [10831.7,2655.71,0]; -}; - -_vehicle_66 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [10836,2667.02,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_66 = _this; - _this setDir 20.7185; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [10836,2667.02,0]; -}; - -_vehicle_67 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [10840.2,2678.31,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_67 = _this; - _this setDir 20.6669; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [10840.2,2678.31,0]; -}; - -_vehicle_68 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [10844.5,2689.61,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_68 = _this; - _this setDir 20.692; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [10844.5,2689.61,0]; -}; - -_vehicle_69 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [10848.8,2700.91,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_69 = _this; - _this setDir 20.68; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [10848.8,2700.91,0]; -}; - -_vehicle_70 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [12671.4,3657.35,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_70 = _this; - _this setDir 65.7905; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [12671.4,3657.35,0]; -}; - -_vehicle_71 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [12682.5,3662.32,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_71 = _this; - _this setDir 65.7771; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [12682.5,3662.32,0]; -}; - -_vehicle_72 = objNull; -if (true) then -{ - _this = "Land_loco_742_blue" createVehicle [13365.1,6200.56,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_72 = _this; - _this setDir -1.726; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.91]; _this setvectordirandup [[-0.1,4,-0.055],[0,0,1]];}; }; - _this setPos [13365.1,6200.56,0]; -}; - -_vehicle_73 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13366.3,6158.73,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_73 = _this; - _this setDir -1.83542; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.32];}; }; - _this setPos [13366.3,6158.73,0]; -}; - -_vehicle_74 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [13370.2,6024.76,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_74 = _this; - _this setDir -1.66878; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13370.2,6024.76,0]; -}; - -_vehicle_75 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13367.8,6107.19,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_75 = _this; - _this setDir -1.61082; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13367.8,6107.19,0]; -}; - -_vehicle_76 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13370.6,6010.2,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_76 = _this; - _this setDir -1.65283; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [13370.6,6010.2,0]; -}; - -_vehicle_77 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [13365.5,6185.31,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_77 = _this; - _this setDir -1.72675; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.34];}; }; - _this setPos [13365.5,6185.31,0]; -}; - -_vehicle_78 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13367.1,6129.8,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_78 = _this; - _this setDir -1.72828; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13367.1,6129.8,0]; -}; - -_vehicle_79 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13365.9,6170.78,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_79 = _this; - _this setDir -1.70484; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.31];}; }; - _this setPos [13365.9,6170.78,0]; -}; - -_vehicle_80 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [13366.7,6144.05,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_80 = _this; - _this setDir -1.66526; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.34];}; }; - _this setPos [13366.7,6144.05,0]; -}; - -_vehicle_81 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13367.4,6118.5,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_81 = _this; - _this setDir -1.63602; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13367.4,6118.5,0]; -}; - -_vehicle_82 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13371,5997.94,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_82 = _this; - _this setDir -181.671; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [13371,5997.94,0]; -}; - -_vehicle_83 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [13369.7,6041.92,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_83 = _this; - _this setDir -1.62039; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13369.7,6041.92,0]; -}; - -_vehicle_84 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13368.8,6073.3,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_84 = _this; - _this setDir -1.69969; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13368.8,6073.3,0]; -}; - -_vehicle_85 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13371.3,5985.9,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_85 = _this; - _this setDir 178.315; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [13371.3,5985.9,0]; -}; - -_vehicle_86 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [13369.2,6059.07,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_86 = _this; - _this setDir -1.75524; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13369.2,6059.07,0]; -}; - -_vehicle_87 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13368.1,6095.92,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_87 = _this; - _this setDir -1.61497; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13368.1,6095.92,0]; -}; - -_vehicle_88 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [13369.8,5891.87,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_88 = _this; - _this setDir 3.50865; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13369.8,5891.87,0]; -}; - -_vehicle_89 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13372,5962.98,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_89 = _this; - _this setDir -1.50273; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13372,5962.98,0]; -}; - -_vehicle_90 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13368.9,5877.37,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_90 = _this; - _this setDir 3.43258; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [13368.9,5877.37,0]; -}; - -_vehicle_91 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13368.1,5865.12,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_91 = _this; - _this setDir -176.595; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [13368.1,5865.12,0]; -}; - -_vehicle_92 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [13370.8,5909.01,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_92 = _this; - _this setDir 3.56523; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13370.8,5909.01,0]; -}; - -_vehicle_93 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13372.4,5940.43,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_93 = _this; - _this setDir 0.541619; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13372.4,5940.43,0]; -}; - -_vehicle_94 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13367.4,5853.06,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_94 = _this; - _this setDir 183.507; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [13367.4,5853.06,0]; -}; - -_vehicle_95 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [13371.8,5926.17,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_95 = _this; - _this setDir 3.31062; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13371.8,5926.17,0]; -}; - -_vehicle_96 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13372.3,5951.67,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_96 = _this; - _this setDir -1.42689; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13372.3,5951.67,0]; -}; - -_vehicle_97 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13366.7,5841.19,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_97 = _this; - _this setDir 3.50865; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [13366.7,5841.19,0]; -}; - -_vehicle_98 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13365.9,5828.98,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_98 = _this; - _this setDir -176.403; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [13365.9,5828.98,0]; -}; - -_vehicle_99 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13365.2,5816.93,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_99 = _this; - _this setDir 183.452; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [13365.2,5816.93,0]; -}; - -_vehicle_100 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13364.5,5805.36,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_100 = _this; - _this setDir 3.65769; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13364.5,5805.36,0]; -}; - -_vehicle_101 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13362.4,5771.5,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_101 = _this; - _this setDir 3.46276; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13362.4,5771.5,0]; -}; - -_vehicle_102 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [13361.6,5757.31,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_102 = _this; - _this setDir 3.53349; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13361.6,5757.31,0]; -}; - -_vehicle_103 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13363.8,5794.07,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_103 = _this; - _this setDir 3.46518; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13363.8,5794.07,0]; -}; - -_vehicle_104 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13360,5731.86,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_104 = _this; - _this setDir 3.4403; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13360,5731.86,0]; -}; - -_vehicle_105 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13360.7,5743.12,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_105 = _this; - _this setDir 3.46518; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13360.7,5743.12,0]; -}; - -_vehicle_106 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13358.6,5709.3,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_106 = _this; - _this setDir 3.46276; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13358.6,5709.3,0]; -}; - -_vehicle_107 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13359.3,5720.58,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_107 = _this; - _this setDir 3.50071; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13359.3,5720.58,0]; -}; - -_vehicle_108 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13357.9,5697.53,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_108 = _this; - _this setDir 183.417; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [13357.9,5697.53,0]; -}; - -_vehicle_109 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13357.2,5685.63,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_109 = _this; - _this setDir 2.9396; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [13357.2,5685.63,0]; -}; - -_vehicle_110 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13356.8,5673.43,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_110 = _this; - _this setDir -179.362; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [13356.8,5673.43,0]; -}; - -_vehicle_111 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13368.4,6084.61,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_111 = _this; - _this setDir -1.61742; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13368.4,6084.61,0]; -}; - -_vehicle_112 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13371.7,5974.28,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_112 = _this; - _this setDir -1.46178; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13371.7,5974.28,0]; -}; - -_vehicle_113 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13363.1,5782.79,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_113 = _this; - _this setDir 3.48919; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [13363.1,5782.79,0]; -}; - -_vehicle_114 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [13127.1,7142.86,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_114 = _this; - _this setDir -17.1187; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.21];}; }; - _this setPos [13127.1,7142.86,0]; -}; - -_vehicle_115 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13131.4,7129.02,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_115 = _this; - _this setDir -17.1947; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [13131.4,7129.02,0]; -}; - -_vehicle_116 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13135,7117.26,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_116 = _this; - _this setDir -197.223; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [13135,7117.26,0]; -}; - -_vehicle_117 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [13122.1,7159.27,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_117 = _this; - _this setDir -17.0611; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.21];}; }; - _this setPos [13122.1,7159.27,0]; -}; - -_vehicle_118 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13138.6,7105.71,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_118 = _this; - _this setDir 162.88; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [13138.6,7105.71,0]; -}; - -_vehicle_119 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13142.1,7094.34,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_119 = _this; - _this setDir -17.1187; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [13142.1,7094.34,0]; -}; - -_vehicle_120 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13145.7,7082.65,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_120 = _this; - _this setDir -197.03; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [13145.7,7082.65,0]; -}; - -_vehicle_121 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13149.2,7071.12,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_121 = _this; - _this setDir 162.824; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [13149.2,7071.12,0]; -}; - -_vehicle_122 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13152.6,7060.03,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_122 = _this; - _this setDir -16.9696; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.21];}; }; - _this setPos [13152.6,7060.03,0]; -}; - -_vehicle_123 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13155.9,7049.21,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_123 = _this; - _this setDir -17.1621; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.21];}; }; - _this setPos [13155.9,7049.21,0]; -}; - -_vehicle_124 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13159.3,7038.42,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_124 = _this; - _this setDir -17.1381; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.21];}; }; - _this setPos [13159.3,7038.42,0]; -}; - -_vehicle_125 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [13151.5,7110.7,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_125 = _this; - _this setDir -17.1601; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.21];}; }; - _this setPos [13151.5,7110.7,0]; -}; - -_vehicle_126 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13155.7,7096.79,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_126 = _this; - _this setDir -17.1737; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [13155.7,7096.79,0]; -}; - -_vehicle_127 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13159.3,7085.25,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_127 = _this; - _this setDir -17.1704; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [13159.3,7085.25,0]; -}; - -_vehicle_128 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13162.9,7073.7,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_128 = _this; - _this setDir -17.1955; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [13162.9,7073.7,0]; -}; - -_vehicle_129 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13166.4,7062.17,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_129 = _this; - _this setDir -17.1439; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [13166.4,7062.17,0]; -}; - -_vehicle_130 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13248.4,6766.7,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_130 = _this; - _this setDir -17.1318; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [13248.4,6766.7,0]; -}; - -_vehicle_131 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [12908.6,9963.84,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_131 = _this; - _this setDir 8.72928; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.21];}; }; - _this setPos [12908.6,9963.84,0]; -}; - -_vehicle_132 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [12906.9,9952.43,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_132 = _this; - _this setDir 8.81977; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [12906.9,9952.43,0]; -}; - -_vehicle_133 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [12999,10218,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_133 = _this; - _this setDir 19.0526; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [12999,10218,0]; -}; - -_vehicle_134 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13022.1,10284.6,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_134 = _this; - _this setDir 19.0979; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.205];}; }; - _this setPos [13022.1,10284.6,0]; -}; - -_vehicle_135 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [12991.2,10195.5,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_135 = _this; - _this setDir 19.0436; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.205];}; }; - _this setPos [12991.2,10195.5,0]; -}; - -_vehicle_136 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13018.4,10273.9,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_136 = _this; - _this setDir 19.1208; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.205];}; }; - _this setPos [13018.4,10273.9,0]; -}; - -_vehicle_137 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13025.8,10295.3,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_137 = _this; - _this setDir 19.1883; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.205];}; }; - _this setPos [13025.8,10295.3,0]; -}; - -_vehicle_138 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13006.7,10240.4,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_138 = _this; - _this setDir 19.1417; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.205];}; }; - _this setPos [13006.7,10240.4,0]; -}; - -_vehicle_139 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [12987.4,10184.5,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_139 = _this; - _this setDir 19.0537; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [12987.4,10184.5,0]; -}; - -_vehicle_140 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13003,10229.4,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_140 = _this; - _this setDir 19.1331; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [13003,10229.4,0]; -}; - -_vehicle_141 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13010.6,10251.4,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_141 = _this; - _this setDir 199.046; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [13010.6,10251.4,0]; -}; - -_vehicle_142 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13014.5,10262.8,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_142 = _this; - _this setDir 199.109; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [13014.5,10262.8,0]; -}; - -_vehicle_143 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [12995.1,10206.6,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_143 = _this; - _this setDir 19.1871; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [12995.1,10206.6,0]; -}; - -_vehicle_144 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13029.5,10306,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_144 = _this; - _this setDir 19.1883; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.205];}; }; - _this setPos [13029.5,10306,0]; -}; - -_vehicle_145 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13033.4,10317.1,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_145 = _this; - _this setDir 379.168; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16];}; }; - _this setPos [13033.4,10317.1,0]; -}; - -_vehicle_146 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13114,10507.9,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_146 = _this; - _this setDir 199.036; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.18];}; }; - _this setPos [13114,10507.9,0]; -}; - -_vehicle_147 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13090.9,10441.3,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_147 = _this; - _this setDir 199.081; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.205];}; }; - _this setPos [13090.9,10441.3,0]; -}; - -_vehicle_148 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13121.8,10530.4,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_148 = _this; - _this setDir 199.2; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.205];}; }; - _this setPos [13121.8,10530.4,0]; -}; - -_vehicle_149 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13094.6,10452,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_149 = _this; - _this setDir 199.104; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.205];}; }; - _this setPos [13094.6,10452,0]; -}; - -_vehicle_150 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13087.2,10430.6,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_150 = _this; - _this setDir 199.011; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.22];}; }; - _this setPos [13087.2,10430.6,0]; -}; - -_vehicle_151 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13106.2,10485.5,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_151 = _this; - _this setDir 199.125; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.205];}; }; - _this setPos [13106.2,10485.5,0]; -}; - -_vehicle_152 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13125.6,10541.4,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_152 = _this; - _this setDir 199.015; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.18];}; }; - _this setPos [13125.6,10541.4,0]; -}; - -_vehicle_153 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13110,10496.5,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_153 = _this; - _this setDir 199.117; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.18];}; }; - _this setPos [13110,10496.5,0]; -}; - -_vehicle_154 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13102.4,10474.5,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_154 = _this; - _this setDir 379.029; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.18];}; }; - _this setPos [13102.4,10474.5,0]; -}; - -_vehicle_155 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13098.5,10463.1,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_155 = _this; - _this setDir 379.092; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.18];}; }; - _this setPos [13098.5,10463.1,0]; -}; - -_vehicle_156 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13117.9,10519.3,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_156 = _this; - _this setDir 199.171; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.18];}; }; - _this setPos [13117.9,10519.3,0]; -}; - -_vehicle_157 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [13083.5,10419.9,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_157 = _this; - _this setDir 198.96; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.22];}; }; - _this setPos [13083.5,10419.9,0]; -}; - -_vehicle_158 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13079.7,10408.8,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_158 = _this; - _this setDir 559.152; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.18];}; }; - _this setPos [13079.7,10408.8,0]; -}; - -_vehicle_159 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13102.7,10503,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_159 = _this; - _this setDir 19.1541; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.18];}; }; - _this setPos [13102.7,10503,0]; -}; - -_vehicle_160 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [13106.6,10514.4,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_160 = _this; - _this setDir 19.115; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.18];}; }; - _this setPos [13106.6,10514.4,0]; -}; - -_vehicle_161 = objNull; -if (true) then -{ - _this = "Land_loco_742_red" createVehicle [13098.5,10491,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_161 = _this; - _this setDir -160.837; - _this setPos [13098.5,10491,0]; -}; - -/* Colliding with Chernogorsk Traintracks / Roadblock -_vehicle_162 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [6548.56,2651.34,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_162 = _this; - _this setDir 40.6864; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.21 ];}; }; - _this setPos [6548.56,2651.34,0]; -}; -*/ - -/* Colliding with Chernogorsk Traintracks / Roadblock -_vehicle_163 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [6533.65,2633.95,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_163 = _this; - _this setDir 40.6281; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16 ];}; }; - _this setPos [6533.65,2633.95,0]; -}; -*/ - -_vehicle_164 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [6517.91,2615.62,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_164 = _this; - _this setDir 40.6412; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16 ];}; }; - _this setPos [6517.91,2615.62,0]; -}; - -_vehicle_165 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [6525.69,2624.66,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_165 = _this; - _this setDir 220.639; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16 ];}; }; - _this setPos [6525.69,2624.66,0]; -}; - -/* Colliding with Chernogorsk Traintracks / Roadblock -_vehicle_166 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [6541.2,2642.78,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_166 = _this; - _this setDir 40.6699; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.21 ];}; }; - _this setPos [6541.2,2642.78,0]; -}; -*/ - -_vehicle_167 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [6508.3,2604.47,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_167 = _this; - _this setDir 40.7534; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2 ];}; }; - _this setPos [6508.3,2604.47,0]; -}; - -/* Colliding with Chernogorsk Traintracks / Roadblock -_vehicle_168 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [6546.45,2627.71,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_168 = _this; - _this setDir 40.72; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.21 ];}; }; - _this setPos [6546.45,2627.71,0]; -}; -*/ - -_vehicle_169 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [6539.11,2619.12,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_169 = _this; - _this setDir 40.5307; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.21 ];}; }; - _this setPos [6539.11,2619.12,0]; -}; - -/* Colliding with Chernogorsk Traintracks / Roadblock -_vehicle_170 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [6555.74,2638.48,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_170 = _this; - _this setDir 40.6135; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.21 ];}; }; - _this setPos [6555.74,2638.48,0]; -}; -*/ - -/* Colliding with Chernogorsk Traintracks / Roadblock -_vehicle_171 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [6566.93,2651.51,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_171 = _this; - _this setDir 40.7265; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.21 ];}; }; - _this setPos [6566.93,2651.51,0]; -}; -*/ - -_vehicle_172 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [6533.01,2587.37,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_172 = _this; - _this setDir 40.7015; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.21 ];}; }; - _this setPos [6533.01,2587.37,0]; -}; - -_vehicle_173 = objNull; -if (true) then -{ - _this = "Land_loco_742_red" createVehicle [6525.06,2578.03,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_173 = _this; - _this setDir -139.265; - _this setPos [6525.06,2578.03,0]; -}; - -_vehicle_174 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [6498.84,2593.43,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_174 = _this; - _this setDir 40.6412; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16 ];}; }; - _this setPos [6498.84,2593.43,0]; -}; - -_vehicle_175 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [6490.97,2584.29,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_175 = _this; - _this setDir 40.6412; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16 ];}; }; - _this setPos [6490.97,2584.29,0]; -}; - -_vehicle_176 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [6975.78,2709.83,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_176 = _this; - _this setDir -39.1664; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2 ];}; }; - _this setPos [6975.78,2709.83,0]; -}; - -_vehicle_177 = objNull; -if (true) then -{ - _this = "Land_loco_742_red" createVehicle [6990.01,2706.97,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_177 = _this; - _this setDir -39.1795; - _this setPos [6990.01,2706.97,0]; -}; - -_vehicle_178 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [6982.92,2701.08,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_178 = _this; - _this setDir 320.932; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [6982.92,2701.08,0]; -}; - -_vehicle_179 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [6968.65,2718.6,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_179 = _this; - _this setDir -38.9921; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2 ];}; }; - _this setPos [6968.65,2718.6,0]; -}; - -_vehicle_180 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [6977.53,2715.06,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_180 = _this; - _this setDir -39.0062; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.144];}; }; - _this setPos [6977.53,2715.06,0]; -}; - -_vehicle_181 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [6992.76,2696.31,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_181 = _this; - _this setDir -39.1552; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.144];}; }; - _this setPos [6992.76,2696.31,0]; -}; - -_vehicle_182 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [6985.15,2705.68,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_182 = _this; - _this setDir -39.2022; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.144];}; }; - _this setPos [6985.15,2705.68,0]; -}; - -_vehicle_183 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [6969.91,2724.43,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_183 = _this; - _this setDir -39.1852; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.147];}; }; - _this setPos [6969.91,2724.43,0]; -}; - -_vehicle_184 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [6940.98,2395.26,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_184 = _this; - _this setDir 52.0169; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.173];}; }; - _this setPos [6940.98,2395.26,0]; -}; - -_vehicle_185 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [6954.5,2405.83,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_185 = _this; - _this setDir 52.0778; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.173];}; }; - _this setPos [6954.5,2405.83,0]; -}; - -_vehicle_186 = objNull; -if (true) then -{ - _this = "Land_Misc_Cargo1E_EP1" createVehicle [6950.61,2402.79,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_186 = _this; - _this setDir -127.844; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [6950.61,2402.79,0]; -}; - -_vehicle_187 = objNull; -if (true) then -{ - _this = "Misc_Cargo1B_military" createVehicle [6955.99,2406.99,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_187 = _this; - _this setDir 52.2078; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [6955.99,2406.99,0]; -}; - -_vehicle_188 = objNull; -if (true) then -{ - _this = "Misc_cargo_cont_small_EP1" createVehicle [6959.6,2409.72,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_188 = _this; - _this setDir 232.525; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [6959.6,2409.72,0]; -}; - -_vehicle_189 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [6927.51,2384.74,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_189 = _this; - _this setDir 52.0169; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.173];}; }; - _this setPos [6927.51,2384.74,0]; -}; - -_vehicle_190 = objNull; -if (true) then -{ - _this = "Land_Misc_Cargo1Eo_EP1" createVehicle [6943.61,2397.3,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_190 = _this; - _this setDir 51.9726; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [6943.61,2397.3,0]; -}; - -_vehicle_191 = objNull; -if (true) then -{ - _this = "Misc_Cargo1B_military" createVehicle [6938.71,2393.39,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_191 = _this; - _this setDir 52.2078; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [6938.71,2393.39,0]; -}; - -_vehicle_192 = objNull; -if (true) then -{ - _this = "Misc_Cargo1Bo_military" createVehicle [7069.49,2507.18,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_192 = _this; - _this setDir 33.1085; - _this setPos [7069.49,2507.18,0]; -}; - -_vehicle_193 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [6531.57,2610.31,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_193 = _this; - _this setDir 40.4888; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.16 ];}; }; - _this setPos [6531.57,2610.31,0]; -}; - -_vehicle_194 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [6939.54,2388.32,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_194 = _this; - _this setDir 232.087; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.147];}; }; - _this setPos [6939.54,2388.32,0]; -}; - -_vehicle_195 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [3623.7,2171.53,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_195 = _this; - _this setDir 17.7007; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.155];}; }; - _this setPos [3623.7,2171.53,0]; -}; - -_vehicle_196 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [3627.4,2183.16,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_196 = _this; - _this setDir 17.7007; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.155];}; }; - _this setPos [3627.4,2183.16,0]; -}; - -_vehicle_197 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [3631.05,2194.64,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_197 = _this; - _this setDir 17.7007; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.155];}; }; - _this setPos [3631.05,2194.64,0]; -}; - -_vehicle_198 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [3634.73,2206.28,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_198 = _this; - _this setDir 17.7007; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.155];}; }; - _this setPos [3634.73,2206.28,0]; -}; - -_vehicle_199 = objNull; -if (true) then -{ - _this = "Land_loco_742_blue" createVehicle [7102.12,3174.18,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_199 = _this; - _this setDir 110.911; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 1.3 ]; _this setvectordirandup [[-1,-1,0],[-5,0,-1]];}; }; - _this setPos [7102.12,3174.18,0]; -}; - -_vehicle_200 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [7107.71,3170.25,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_200 = _this; - _this setDir 185; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 1.2 ]; _this setvectordirandup [[0,0.1,0],[-100,0,0]];}; }; - _this setPos [7107.71,3170.25,0]; -}; - -_vehicle_201 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [7110.45,3178.59,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_201 = _this; - _this setDir 1.35996; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.6 ]; _this setvectordirandup [[-0.8,-0.9,0.3],[0,0.9,0.9]];}; }; - _this setPos [7110.45,3178.59,0]; -}; - -_vehicle_202 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7157.28,3185.96,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_202 = _this; - _this setDir 267.443; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.1];}; }; - _this setPos [7157.28,3185.96,0]; -}; - -_vehicle_203 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [7132.42,3165.21,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_203 = _this; - _this setDir -151.81; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.3];}; }; - _this setPos [7132.42,3165.21,0]; -}; - -_vehicle_204 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7246.22,3214.1,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_204 = _this; - _this setDir -94.937; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.1];}; }; - _this setPos [7246.22,3214.1,0]; -}; - -_vehicle_205 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [7347.18,3252.48,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_205 = _this; - _this setDir -103.959; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.14];}; }; - _this setPos [7347.18,3252.48,0]; -}; - -_vehicle_206 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [7361.46,3256.02,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_206 = _this; - _this setDir 76.1935; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.45];}; }; - _this setPos [7361.46,3256.02,0]; -}; - -_vehicle_207 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7391.89,3263.52,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_207 = _this; - _this setDir 76.2594; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.395]; _this setvectordirandup [[1,0.24,0.023],[0,0,0.1]];}; }; - _this setPos [7391.89,3263.52,0]; -}; - -_vehicle_208 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [7426.81,3271.69,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_208 = _this; - _this setDir 79.0538; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3];}; }; - _this setPos [7426.81,3271.69,0]; -}; - -_vehicle_209 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [7565.06,3286.06,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_209 = _this; - _this setDir 86.4748; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [7565.06,3286.06,0]; -}; - -_vehicle_210 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7533.75,3284.17,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_210 = _this; - _this setDir 86.3477; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [7533.75,3284.17,0]; -}; - -_vehicle_211 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [7266.51,3220.54,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_211 = _this; - _this setDir 71.8477; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.85];}; }; - _this setPos [7266.51,3220.54,0]; -}; - -_vehicle_212 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [7300.95,3235.73,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_212 = _this; - _this setDir 66.2679; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.72]; _this setvectordirandup [[-1,-0.444,0.016],[0,0,0.1]];}; }; - _this setPos [7300.95,3235.73,0]; -}; - -_vehicle_213 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7324.47,3245.84,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_213 = _this; - _this setDir 69.3402; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [7324.47,3245.84,0]; -}; - -_vehicle_214 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [7621.82,3289.54,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_214 = _this; - _this setDir 86.5142; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [7621.82,3289.54,0]; -}; - -_vehicle_215 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7590.48,3287.64,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_215 = _this; - _this setDir 86.332; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [7590.48,3287.64,0]; -}; - -_vehicle_216 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [7123.26,3159.89,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_216 = _this; - _this setDir 96.9888; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 1]; _this setvectordirandup [[-1,0,0],[5,-5,-1]];}; }; - _this setPos [7123.26,3159.89,0]; -}; - -_vehicle_217 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [7234.76,3208.31,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_217 = _this; - _this setDir 40.9211; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.1]; _this setvectordirandup [[-0.9,-0.9,0.02],[0,0.005,0.1]];}; }; - _this setPos [7234.76,3208.31,0]; -}; - -_vehicle_218 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7314,3241.5,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_218 = _this; - _this setDir 66.2006; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.3]; _this setvectordirandup [[1,0.44,-0.015],[0,0,0.1]];}; }; - _this setPos [7314,3241.5,0]; -}; - -_vehicle_219 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [7116.92,3184.8,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_219 = _this; - _this setDir 114.526; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 1.2 ]; _this setvectordirandup [[-5.8,-0.9,0.2],[0,-0.9,0.2]];}; }; - _this setPos [7116.92,3184.8,0]; -}; - -_vehicle_220 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [7210.89,3196.77,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_220 = _this; - _this setDir -115.266; - _this setPos [7210.89,3196.77,0]; -}; - -_vehicle_221 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7223.67,3201.53,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_221 = _this; - _this setDir -96.6494; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.1];}; }; - _this setPos [7223.67,3201.53,0]; -}; - -_vehicle_222 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [7403.32,3266.33,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_222 = _this; - _this setDir 76.1952; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.9]; _this setvectordirandup [[1,0.24,0.023],[0,0,0.1]];}; }; - _this setPos [7403.32,3266.33,0]; -}; - -_vehicle_223 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [7547.91,3285.01,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_223 = _this; - _this setDir 86.4514; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [7547.91,3285.01,0]; -}; - -_vehicle_224 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7579.27,3286.91,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_224 = _this; - _this setDir -93.5671; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [7579.27,3286.91,0]; -}; - -_vehicle_225 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [7414.9,3269.16,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_225 = _this; - _this setDir 256.565; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.3]; _this setvectordirandup [[-1,-0.234,-0.003],[0,0,0.1]];}; }; - _this setPos [7414.9,3269.16,0]; -}; - -_vehicle_226 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [7378.12,3260.13,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_226 = _this; - _this setDir 76.1244; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.2];}; }; - _this setPos [7378.12,3260.13,0]; -}; - -_vehicle_227 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7438.25,3273.66,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_227 = _this; - _this setDir 81.1056; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [7438.25,3273.66,0]; -}; - -_vehicle_228 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7169.23,3180.84,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_228 = _this; - _this setDir 13.7257; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.1];}; }; - _this setPos [7169.23,3180.84,0]; -}; - -_vehicle_229 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7127.4,3182.17,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_229 = _this; - _this setDir 61.8182; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.1];}; }; - _this setPos [7127.4,3182.17,0]; -}; - -_vehicle_230 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7256.01,3216.84,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_230 = _this; - _this setDir 30; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.4]; _this setvectordirandup [[0.1,0.04,0],[0,0.1,0.5]];}; }; - _this setPos [7256.01,3216.84,0]; -}; - -_vehicle_231 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [7276.77,3224.81,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_231 = _this; - _this setDir 62.2029; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.9];}; }; - _this setPos [7276.77,3224.81,0]; -}; - -_vehicle_232 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [7287.65,3229.83,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_232 = _this; - _this setDir 69.6055; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.93]; _this setvectordirandup [[1,0.44,0.016],[0,0,0.1]];}; }; - _this setPos [7287.65,3229.83,0]; -}; - -_vehicle_233 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7449.4,3275.38,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_233 = _this; - _this setDir 81.0941; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [7449.4,3275.38,0]; -}; - -_vehicle_234 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7460.57,3277.09,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_234 = _this; - _this setDir 81.4058; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [7460.57,3277.09,0]; -}; - -_vehicle_235 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7471.73,3278.79,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_235 = _this; - _this setDir 81.4323; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [7471.73,3278.79,0]; -}; - -_vehicle_236 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7482.89,3280.38,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_236 = _this; - _this setDir 82.6699; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [7482.89,3280.38,0]; -}; - -_vehicle_237 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7494.1,3281.6,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_237 = _this; - _this setDir 84.9623; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [7494.1,3281.6,0]; -}; - -_vehicle_238 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7522.48,3283.45,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_238 = _this; - _this setDir 86.5176; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [7522.48,3283.45,0]; -}; - -_vehicle_239 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [7701.24,3294.42,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_239 = _this; - _this setDir 86.4458; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.18];}; }; - _this setPos [7701.24,3294.42,0]; -}; - -_vehicle_240 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7669.9,3292.46,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_240 = _this; - _this setDir 86.5497; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.24]; _this setvectordirandup [[1,0.06,-0.001],[0,0,0.1]];}; }; - _this setPos [7669.9,3292.46,0]; -}; - -_vehicle_241 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7726.66,3295.97,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_241 = _this; - _this setDir 86.4875; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.19];}; }; - _this setPos [7726.66,3295.97,0]; -}; - -_vehicle_242 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [7684.1,3293.35,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_242 = _this; - _this setDir 86.4589; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.2];}; }; - _this setPos [7684.1,3293.35,0]; -}; - -_vehicle_243 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7715.44,3295.24,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_243 = _this; - _this setDir -93.4031; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.18];}; }; - _this setPos [7715.44,3295.24,0]; -}; - -_vehicle_244 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7636.04,3290.42,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_244 = _this; - _this setDir 86.6897; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [7636.04,3290.42,0]; -}; - -_vehicle_245 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7647.33,3291.12,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_245 = _this; - _this setDir 86.4755; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [7647.33,3291.12,0]; -}; - -_vehicle_246 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7658.61,3291.72,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_246 = _this; - _this setDir 86.4554; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.29]; _this setvectordirandup [[1,0.064,-0.001],[0,0,0.1]];}; }; - _this setPos [7658.61,3291.72,0]; -}; - -_vehicle_247 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [7121.97,3181.71,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_247 = _this; - _this setDir -132.027; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.3];}; }; - _this setPos [7121.97,3181.71,0]; -}; - -_vehicle_248 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [7160.86,3179.13,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_248 = _this; - _this setDir -50.3757; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.1]; _this setvectordirandup [[-1,0.8,0],[-0.1,0,1]];}; }; - _this setPos [7160.86,3179.13,0]; -}; - -_vehicle_249 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [7141.34,3172.62,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_249 = _this; - _this setDir 71.8785; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.3];}; }; - _this setPos [7141.34,3172.62,0]; -}; - -_vehicle_250 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [7151.17,3178.25,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_250 = _this; - _this setDir 37.7236; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.3];}; }; - _this setPos [7151.17,3178.25,0]; -}; - -_vehicle_251 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7190.67,3185.98,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_251 = _this; - _this setDir 18.081; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.1];}; }; - _this setPos [7190.67,3185.98,0]; -}; - -_vehicle_252 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7112.81,3160.71,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_252 = _this; - _this setDir 56.5019; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.1];}; }; - _this setPos [7112.81,3160.71,0]; -}; - -_vehicle_253 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7116.03,3166.55,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_253 = _this; - _this setDir 137.568; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.6 ]; _this setvectordirandup [[-1.8,3,0],[0,-0.1,0.1]];}; }; - _this setPos [7116.03,3166.55,0]; -}; - -_vehicle_254 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7110.4,3169.71,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_254 = _this; - _this setDir 29.0014; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.6 ]; _this setvectordirandup [[0.1,-0.9,0.1],[0,-5.2,0.1]];}; }; - _this setPos [7110.4,3169.71,0]; -}; - -_vehicle_255 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [7106,3162.41,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_255 = _this; - _this setDir 138.884; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.3 ]; _this setvectordirandup [[0.5,0.1,0],[100,0,0]];}; }; - _this setPos [7106,3162.41,0]; -}; - -_vehicle_256 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [7145.63,3181.54,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_256 = _this; - _this setDir -128.163; - _this setPos [7145.63,3181.54,0]; -}; - -_vehicle_257 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7173.86,3187.55,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_257 = _this; - _this setDir 94.6955; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.1];}; }; - _this setPos [7173.86,3187.55,0]; -}; - -_vehicle_258 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7198.27,3191.93,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_258 = _this; - _this setDir 80.1429; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.1];}; }; - _this setPos [7198.27,3191.93,0]; -}; - -_vehicle_259 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7183.31,3183.96,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_259 = _this; - _this setDir 130.869; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.1];}; }; - _this setPos [7183.31,3183.96,0]; -}; - -_vehicle_260 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [7508.28,3282.56,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_260 = _this; - _this setDir 86.4346; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [7508.28,3282.56,0]; -}; - -_vehicle_261 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [7604.7,3288.48,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_261 = _this; - _this setDir 86.742; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.35];}; }; - _this setPos [7604.7,3288.48,0]; -}; - -_vehicle_262 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [7740.88,3296.84,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_262 = _this; - _this setDir 86.4998; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.208];}; }; - _this setPos [7740.88,3296.84,0]; -}; - -_vehicle_263 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [7758.04,3297.7,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_263 = _this; - _this setDir 87.9836; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.222];}; }; - _this setPos [7758.04,3297.7,0]; -}; - -_vehicle_264 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [7775.25,3297.81,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_264 = _this; - _this setDir 91.2598; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.225];}; }; - _this setPos [7775.25,3297.81,0]; -}; - -_vehicle_265 = objNull; -if (true) then -{ - _this = "Land_wagon_flat" createVehicle [7792.42,3297.37,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_265 = _this; - _this setDir 91.6922; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 1.205];}; }; - _this setPos [7792.42,3297.37,0]; -}; - -_vehicle_266 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [7335.53,3249.47,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_266 = _this; - _this setDir -105.878; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.15];}; }; - _this setPos [7335.53,3249.47,0]; -}; - -_vehicle_267 = objNull; -if (true) then -{ - _this = "BRDMWreck" createVehicle [7259.51,3214.84,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_267 = _this; - _this setDir -272.392; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.5];}; }; - _this setPos [7259.51,3214.84,0]; -}; - -_vehicle_268 = objNull; -if (true) then -{ - _this = "SKODAWreck" createVehicle [7369.42,3275.15,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_268 = _this; - _this setDir -1153.34; - _this setPos [7369.42,3275.15,0]; -}; - -_vehicle_269 = objNull; -if (true) then -{ - _this = "ClutterCutter_small_EP1" createVehicle [7369.54,3275.15,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_269 = _this; - _this setDir -919.288; - _this setPos [7369.54,3275.15,0]; -}; - -_vehicle_270 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7118.34,3172.56,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_270 = _this; - _this setDir 13.7257; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.6 ]; _this setvectordirandup [[0.3,-5.9,0.3],[-0.1,0.9,0.6]];}; }; - _this setPos [7118.34,3172.56,0]; -}; - -_vehicle_271 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7123.31,3163.96,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_271 = _this; - _this setDir 117.366; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.3]; _this setvectordirandup [[1,-0.3,0],[0,-0.15,0.1]];}; }; - _this setPos [7123.31,3163.96,0]; -}; - -_vehicle_272 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7123.23,3169.97,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_272 = _this; - _this setDir -130.992; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.1];}; }; - _this setPos [7123.23,3169.97,0]; -}; - -_vehicle_273 = objNull; -if (true) then -{ - _this = "Land_wagon_box" createVehicle [7116.3,3177.32,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_273 = _this; - _this setDir -50.3435; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.6 ]; _this setvectordirandup [[0.1,-5.9,0.3],[-0.5,0.9,0.6]];}; }; - _this setPos [7116.3,3177.32,0]; -}; - -_vehicle_274 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7123.95,3175.53,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_274 = _this; - _this setDir 70.3041; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.1];}; }; - _this setPos [7123.95,3175.53,0]; -}; - -_vehicle_275 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7128.32,3168.8,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_275 = _this; - _this setDir -169.665; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.1]; _this setvectordirandup [[0,-1,-0.1],[0,-0.05,1]];}; }; - _this setPos [7128.32,3168.8,0]; -}; - -_vehicle_276 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7129.83,3177.81,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_276 = _this; - _this setDir -69.0689; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.1];}; }; - _this setPos [7129.83,3177.81,0]; -}; - -_vehicle_277 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7134.06,3173.39,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_277 = _this; - _this setDir -123.337; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.1];}; }; - _this setPos [7134.06,3173.39,0]; -}; - -_vehicle_278 = objNull; -if (true) then -{ - _this = "Land_wagon_tanker" createVehicle [7136.33,3180.78,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_278 = _this; - _this setDir -251.253; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.1];}; }; - _this setPos [7136.33,3180.78,0]; -}; - -_vehicle_279 = objNull; -if (true) then -{ - _this = "Land_Misc_Cargo1E_EP1" createVehicle [7109.97,3181.77,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_279 = _this; - _this setDir -92.7887; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.35]; _this setvectordirandup [[1,-0.2,0.25],[-5,2,1]];}; }; - _this setPos [7109.97,3181.77,0]; -}; - -_vehicle_280 = objNull; -if (true) then -{ - _this = "Misc_Cargo1B_military" createVehicle [7162.27,3173.02,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_280 = _this; - _this setDir 52.2078; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)+ 0.31]; _this setvectordirandup [[-1,-0.8,-0.3],[0.1,0,1]];}; }; - _this setPos [7162.27,3173.02,0]; -}; - -_vehicle_281 = objNull; -if (true) then -{ - _this = "Land_Misc_Cargo1Eo_EP1" createVehicle [7103.13,3168.99,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_281 = _this; - _this spawn { sleep 1;if (isServer) then {_this setvectordirandup [[-0.5,-1,-0.15],[0,0,1]];}; }; - _this setPos [7103.13,3168.99,0]; -}; - -_vehicle_282 = objNull; -if (true) then -{ - _this = "Misc_Cargo1B_military" createVehicle [7156.41,3177.2,0]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_282 = _this; - _this spawn { sleep 1;if (isServer) then {_this setpos [(getpos _this select 0), (getpos _this select 1), (getpos _this select 2)- 0.1]; _this setvectordirandup [[1,-1,0],[-15,0,-1]];}; }; - _this setPos [7156.41,3177.2,0]; -}; -processInitCommands; -}; diff --git a/SQF/dayz_code/system/mission/chernarus/poi/ZelenogorskBuildings.sqf b/SQF/dayz_code/system/mission/chernarus/poi/ZelenogorskBuildings.sqf index 41e69a48..8210ccb0 100644 --- a/SQF/dayz_code/system/mission/chernarus/poi/ZelenogorskBuildings.sqf +++ b/SQF/dayz_code/system/mission/chernarus/poi/ZelenogorskBuildings.sqf @@ -1,142 +1,15 @@ -//Zelenogorsk Buildings DayZ -//Created by Dr Bane 20/11/2013 -//Copyright Dr Bane And Musty Gaming - -if (isServer) then { - -_vehicle_155 = objNull; -if (true) then -{ - _this = "Land_A_Hospital" createVehicle [2503.7185, 5086.52, -4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_155 = _this; - _this setDir -33.496323; - _this setPos [2503.7185, 5086.52, -4.5776367e-005]; -}; - -_vehicle_160 = objNull; -if (true) then -{ - _this = "Land_A_Office01" createVehicle [2513.2856, 5050.8096]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_160 = _this; - _this setDir -121.60757; - _this setPos [2513.2856, 5050.8096]; -}; - -_vehicle_163 = objNull; -if (true) then -{ - _this = "MAP_misc_FallenTree2" createVehicle [2529.1804, 5010.2158, 1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_163 = _this; - _this setDir -11.951188; - _this setPos [2529.1804, 5010.2158, 1.5258789e-005]; -}; - -_vehicle_166 = objNull; -if (true) then -{ - _this = "MAP_misc_stub2" createVehicle [2531.5798, 5002.7026]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_166 = _this; - _this setPos [2531.5798, 5002.7026]; -}; - -_vehicle_168 = objNull; -if (true) then -{ - _this = "MAP_t_betula2s" createVehicle [2531.5203, 5096.9082, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_168 = _this; - _this setDir 11.079486; - _this setPos [2531.5203, 5096.9082, -1.5258789e-005]; -}; - -_vehicle_169 = objNull; -if (true) then -{ - _this = "MAP_t_betula2s" createVehicle [2492.0283, 5066.7285]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_169 = _this; - _this setDir 40.170475; - _this setPos [2492.0283, 5066.7285]; -}; - -_vehicle_170 = objNull; -if (true) then -{ - _this = "MAP_t_betula2w" createVehicle [2536.5967, 5095.6318, 4.5776367e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_170 = _this; - _this setDir -48.802349; - _this setPos [2536.5967, 5095.6318, 4.5776367e-005]; -}; - -_vehicle_173 = objNull; -if (true) then -{ - _this = "MAP_t_fagus2W" createVehicle [2528.623, 5088.9038]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_173 = _this; - _this setPos [2528.623, 5088.9038]; -}; - -_vehicle_179 = objNull; -if (true) then -{ - _this = "MAP_t_populus3s" createVehicle [2562.9749, 5083.749]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_179 = _this; - _this setPos [2562.9749, 5083.749]; -}; - -_vehicle_182 = objNull; -if (true) then -{ - _this = "MAP_phone_box" createVehicle [2542.759, 5070.0776, 0.0001373291]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_182 = _this; - _this setPos [2542.759, 5070.0776, 0.0001373291]; -}; - -_vehicle_183 = objNull; -if (true) then -{ - _this = "MAP_phone_box" createVehicle [2538.0273, 5070.0796, 3.0517578e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_183 = _this; - _this setPos [2538.0273, 5070.0796, 3.0517578e-005]; -}; - -_vehicle_184 = objNull; -if (true) then -{ - _this = "MAP_phone_box" createVehicle [2540.3445, 5070.0625, -1.5258789e-005]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_184 = _this; - _this setPos [2540.3445, 5070.0625, -1.5258789e-005]; -}; - -_vehicle_188 = objNull; -if (true) then -{ - _this = "MAP_A_statue01" createVehicle [2540.7234, 5062.2808]; -_this setVariable ["", true]; // prevent network SV by loot/zeds spawner - - _vehicle_188 = _this; - _this setPos [2540.7234, 5062.2808]; -}; -}; +[[ + ["Land_A_Hospital",[2503.7185,5086.52,-4.5776367e-005],-33.496323], + ["Land_A_Office01",[2513.2856,5050.8096],-121.60757], + ["MAP_misc_FallenTree2",[2529.1804,5010.2158,1.5258789e-005],-11.951188], + ["MAP_misc_stub2",[2531.5798,5002.7026],0], + ["MAP_t_betula2s",[2531.5203,5096.9082,-1.5258789e-005],11.079486], + ["MAP_t_betula2s",[2492.0283,5066.7285],40.170475], + ["MAP_t_betula2w",[2536.5967,5095.6318,4.5776367e-005],-48.802349], + ["MAP_t_fagus2W",[2528.623,5088.9038],0], + ["MAP_t_populus3s",[2562.9749,5083.749],0], + ["MAP_phone_box",[2542.759,5070.0776,0.0001373291],0], + ["MAP_phone_box",[2538.0273,5070.0796,3.0517578e-005],0], + ["MAP_phone_box",[2540.3445,5070.0625,-1.5258789e-005],0], + ["MAP_A_statue01",[2540.7234,5062.2808],0] +],false,false,false] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/init.sqf b/SQF/dayz_code/system/mission/chernarus/poi/init.sqf index 55a0cc82..2a974bf2 100644 --- a/SQF/dayz_code/system/mission/chernarus/poi/init.sqf +++ b/SQF/dayz_code/system/mission/chernarus/poi/init.sqf @@ -1,10 +1,23 @@ -[] execVM "\z\addons\dayz_code\system\mission\chernarus\poi\DevilsFarm.sqf"; -[] execVM "\z\addons\dayz_code\system\mission\chernarus\poi\NEA.sqf"; -[] execVM "\z\addons\dayz_code\system\mission\chernarus\poi\C130Crash.sqf"; -[] execVM "\z\addons\dayz_code\system\mission\chernarus\poi\ChernoBuildings.sqf"; -[] execVM "\z\addons\dayz_code\system\mission\chernarus\poi\DeadForest.sqf"; -[] execVM "\z\addons\dayz_code\system\mission\chernarus\poi\KomyshovoRoadblock.sqf"; -[] execVM "\z\addons\dayz_code\system\mission\chernarus\poi\MilitaryAirpoort.sqf"; -[] execVM "\z\addons\dayz_code\system\mission\chernarus\poi\ZelenogorskBuildings.sqf"; -[] execVM "\z\addons\dayz_code\system\mission\chernarus\poi\Twains.sqf"; +/* + Add POI objects on server machine only. + Do not use execVM. This must be unscheduled to finish before server_monitor.sqf runs (vehicles or players can spawn on top) + Do not use createVehicleLocal for these. They contain trees and buildings (need chopped/destroyed status synchronized for all clients) +*/ +{ + call compile preprocessFileLineNumbers ("\z\addons\dayz_code\system\mission\chernarus\poi\" + _x + ".sqf"); +} forEach [ + "Trains", + "DevilsFarm", + "NEA", + "C130Crash", + "ChernoBuildings", + "DeadForest", + "KomyshovoRoadblock", + "MilitaryAirpoort", + "ZelenogorskBuildings", + "NWATentCamp", + "ElektroWells", + "GvozdnoMilitaryBase", + "Shakhovka" +]; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/security/antiwallhack.sqf b/SQF/dayz_code/system/mission/chernarus/security/antiwallhack.sqf deleted file mode 100644 index e82b71a9..00000000 --- a/SQF/dayz_code/system/mission/chernarus/security/antiwallhack.sqf +++ /dev/null @@ -1,158 +0,0 @@ -{ - _x call poi_processObject; -} forEach [ - ["Land_CncBlock_D",[6426.74,2747.85,10.6855],38.3,0], - ["Land_CncBlock_D",[6425.25,2749.02,10.6739],38.3,0], - ["Land_CncBlock_D",[6400.16,2770.7,3.2032],128.3,0], - ["Land_CncBlock_D",[6401.79,2772.76,3.20045],128.3,0], - ["Land_CncBlock_D",[6403.01,2774.31,3.19839],128.3,0], - ["Land_CncBlock_D",[6398.18,2768.22,-0.173495],128.3,0], - ["Fort_RazorWire",[6405.39,2770.66,3.20274],218.3,0], - ["Fort_RazorWire",[6406.32,2771.77,3.20001],218.3,0], - ["Hedgehog",[6401.71,2771.71,3.20185],123.3,0], - ["Hedgehog",[6400.48,2770.17,3.20391],128.3,0], - ["Fort_RazorWire",[6410.84,2768.17,3.19878],218.3,0], - ["Land_CncBlock_D",[6804.03,2690.31,10.6875],132.587,0], - ["Land_CncBlock_D",[6805.31,2691.71,10.6768],132.587,0], - ["Land_CncBlock_D",[6828.8,2715.1,3.19361],222.587,0], - ["Land_CncBlock_D",[6830.73,2713.32,3.19448],222.587,0], - ["Land_CncBlock_D",[6832.19,2711.98,3.19513],222.587,0], - ["Land_CncBlock_D",[6826.48,2717.25,-0.187448],222.587,0], - ["Fort_RazorWire",[6828.37,2709.88,3.19615],312.587,0], - ["Fort_RazorWire",[6829.41,2708.87,3.19664],312.587,0], - ["Hedgehog",[6829.7,2713.47,3.1944],217.587,0], - ["Hedgehog",[6828.24,2714.82,3.19374],222.587,0], - ["Fort_RazorWire",[6825.48,2704.63,3.19872],312.587,0], - ["Land_CncBlock_D",[10526.9,2272.29,10.6792],53.4887,0], - ["Land_CncBlock_D",[10525.8,2273.82,10.6692],53.4887,0], - ["Land_CncBlock_D",[10507.2,2301.3,3.19743],143.489,0], - ["Land_CncBlock_D",[10509.3,2302.87,3.19743],143.489,0], - ["Land_CncBlock_D",[10510.9,2304.04,3.19743],143.489,0], - ["Land_CncBlock_D",[10504.7,2299.43,-0.18257],143.489,0], - ["Fort_RazorWire",[10512.3,2299.9,3.19743],233.489,0], - ["Fort_RazorWire",[10513.5,2300.73,3.19743],233.489,0], - ["Hedgehog",[10509,2301.88,3.19743],138.489,0], - ["Hedgehog",[10507.4,2300.71,3.19743],143.489,0], - ["Fort_RazorWire",[10516.9,2296.07,3.19743],233.489,0], - ["Land_CncBlock_D",[11944,9107.9,10.6653],130,0], - ["Land_CncBlock_D",[11945.2,9109.35,10.6601],130,0], - ["Land_CncBlock_D",[11967.6,9133.78,3.19747],220,0], - ["Land_CncBlock_D",[11969.6,9132.09,3.19747],220,0], - ["Land_CncBlock_D",[11971.2,9130.83,3.19747],220,0], - ["Land_CncBlock_D",[11965.2,9135.84,-0.182529],220,0], - ["Fort_RazorWire",[11967.4,9128.56,3.19747],310,0], - ["Fort_RazorWire",[11968.5,9127.59,3.19747],310,0], - ["Hedgehog",[11968.6,9132.2,3.19747],215,0], - ["Hedgehog",[11967.1,9133.48,3.19747],220,0], - ["Fort_RazorWire",[11964.8,9123.18,3.20053],310,0], - ["Fort_RazorWire",[6853.76,2508.97,39.8627],42.737,0], - ["Fort_RazorWire",[6859.9,2503.3,39.8627],42.737,0], - ["Fort_RazorWire",[6849.11,2503.94,39.8627],42.737,0], - ["Fort_RazorWire",[6855.25,2498.27,39.8627],42.737,0], - ["Fort_RazorWire",[6847.48,2510.04,39.8627],132.737,0], - ["Fort_RazorWire",[6861,2497.23,39.8627],312.737,0], - ["Fort_RazorWire",[6855.74,2507.81,0.969074],222.737,0], - ["Fort_RazorWire",[6858.96,2507.24,-0.0109253],222.737,0], - ["Land_CncBlock_D",[6553.02,2804.52,13.9319],131.19,0], - ["Land_CncBlock_D",[6553.35,2803.33,14.0019],131.19,0], - ["Land_CncBlock_D",[6566.32,2816.69,14.0169],41.1904,0], - ["Land_CncBlock_D",[6569.35,2820.09,13.9719],221.19,0], - ["Land_CncBlock_D",[6567.25,2821.93,13.9819],221.19,0], - ["Land_CncBlock_D",[6565.27,2822.01,14.0019],131.19,0], - ["Land_CncBlock_D",[6563.68,2820.2,14.0019],131.19,0], - ["Land_CncBlock_D",[6563.9,2818.43,13.9783],41.1904,0], - ["Land_CncBlock_D",[6567.98,2816.57,14.0175],311.19,0], - ["Land_CncBlock_D",[6569.49,2818.3,14.0096],311.19,0], - ["Land_CncBlock_D",[7036.61,2529.03,13.9319],323.357,0], - ["Land_CncBlock_D",[7036.54,2530.26,14.0019],323.357,0], - ["Land_CncBlock_D",[7021.05,2519.93,14.0019],233.357,0], - ["Land_CncBlock_D",[7017.38,2517.24,13.9719],53.3567,0], - ["Land_CncBlock_D",[7019.04,2515.01,13.9819],53.3567,0], - ["Land_CncBlock_D",[7020.96,2514.51,14.0019],323.357,0], - ["Land_CncBlock_D",[7022.89,2515.94,14.0019],323.357,0], - ["Land_CncBlock_D",[7023.04,2517.72,13.9719],233.357,0], - ["Land_CncBlock_D",[7019.46,2520.4,14.0019],143.357,0], - ["Land_CncBlock_D",[7017.61,2519.03,14.0019],143.357,0], - ["Land_CncBlock_D",[10026.6,1834.65,13.9319],268.591,0], - ["Land_CncBlock_D",[10025.5,1835.3,14.0019],268.591,0], - ["Land_CncBlock_D",[10025,1816.69,14.0019],178.591,0], - ["Land_CncBlock_D",[10025.1,1812.14,13.9719],358.591,0], - ["Land_CncBlock_D",[10027.9,1812.21,13.9819],358.591,0], - ["Land_CncBlock_D",[10029.4,1813.48,14.0019],268.591,0], - ["Land_CncBlock_D",[10029.3,1815.89,14.0019],268.591,0], - ["Land_CncBlock_D",[10028,1817.05,13.9719],178.591,0], - ["Land_CncBlock_D",[10023.7,1815.66,14.0019],88.5905,0], - ["Land_CncBlock_D",[10023.8,1813.36,14.0019],88.5905,0], - ["Land_CncBlock_D",[3803.82,8926.21,10.6657],295,0], - ["Land_CncBlock_D",[3803.13,8928.22,10.7549],205,0], - ["Land_CncBlock_D",[3801.27,8927.49,10.7941],115,0], - ["Land_CncBlock_D",[3802.42,8926.83,10.744],70,0], - ["Land_CncBlock_D",[3801.85,8925.71,10.8741],25,0], - ["Land_CncBlock_D",[3802.7,8926.99,10.7443],340,0], - ["Land_CncBlock_D",[10482.8,2357.99,10.8159],55.7548,0], - ["Land_CncBlock_D",[10484.9,2357.56,10.906],325.755,0], - ["Land_CncBlock_D",[10485.2,2359.52,10.946],235.755,0], - ["Land_CncBlock_D",[10484,2358.88,10.896],190.755,0], - ["Land_CncBlock_D",[10483.4,2359.94,11.0261],145.755,0], - ["Land_CncBlock_D",[10484,2358.56,10.896],100.755,0], - ["Land_CncBlock_D",[12743,9591.97,10.8159],100,0], - ["Land_CncBlock_D",[12744.2,9590.21,10.906],10,0], - ["Land_CncBlock_D",[12745.8,9591.39,10.946],280,0], - ["Land_CncBlock_D",[12744.5,9591.74,10.896],235,0], - ["Land_CncBlock_D",[12744.8,9592.97,11.0261],190,0], - ["Land_CncBlock_D",[12744.3,9591.51,10.896],145,0], - ["Land_CncBlock_D",[3795.05,8840.28,0.431946],115,0], - ["Land_CncBlock_D",[3797.49,8840.65,0.434418],205,0], - ["Land_CncBlock_D",[3798.92,8838.35,0.431458],295,0], - ["Land_CncBlock_D",[6528.55,2803.38,0.421799],39.394,0], - ["Land_CncBlock_D",[6528.8,2805.83,0.4291],129.394,0], - ["Land_CncBlock_D",[6531.38,2806.65,0.42868],219.394,0], - ["Land_CncBlock_D",[6808.46,2454.72,0.427643],45.4698,0], - ["Land_CncBlock_D",[6808.96,2457.13,0.427613],135.47,0], - ["Land_CncBlock_D",[6811.62,2457.67,0.427193],225.47,0], - ["Misc_TyreHeap",[2855.6,9763.91,0.392761],358.517,0], - ["SKODAWreck",[2851.39,9748.99,0.698425],143.517,0], - ["SKODAWreck",[2849.1,9748.52,0.744751],143.517,0], - ["UralWreck",[2865.33,9738.06,0.690796],282.517,0], - ["datsun01Wreck",[2861.93,9757.81,0.715485],138.517,0], - ["SKODAWreck",[2857.55,9756.62,0.707581],138.517,0], - ["SKODAWreck",[2864.08,9729.46,0.762054],330.517,0], - ["UralWreck",[2853.83,9760.11,0.707977],172.517,0], - ["SKODAWreck",[2848.05,9752.76,0.712708],112.517,0], - ["LADAWreck",[2869.99,9744.72,0.612976],47.5172,0], - ["Misc_TyreHeap",[2873.45,9728.41,0.377014],57.5172,0], - ["Misc_TyreHeap",[4559.44,4546.45,-0.0964355],356,0], - ["SKODAWreck",[4555.89,4531.36,0.203568],141,0], - ["SKODAWreck",[4553.63,4530.79,0.203568],141,0], - ["UralWreck",[4570.3,4521.05,0.203568],280,0], - ["datsun01Wreck",[4566.04,4540.63,0.203568],136,0], - ["SKODAWreck",[4561.71,4539.25,0.203568],136,0], - ["SKODAWreck",[4569.43,4512.41,0.203568],328,0], - ["UralWreck",[4557.84,4542.57,0.203568],170,0], - ["SKODAWreck",[4552.39,4534.97,0.203568],110,0], - ["LADAWreck",[4574.66,4527.9,0.103577],45,0], - ["Misc_TyreHeap",[4578.83,4511.77,-0.10643],55,0], - ["Misc_TyreHeap",[6355.3,7703.04,-0.247253],72,0], - ["SKODAWreck",[6339.8,7702.83,0.0517578],217,0], - ["SKODAWreck",[6338.7,7704.89,0.0545044],217,0], - ["UralWreck",[6333.28,7686.36,0.0613098],356,0], - ["datsun01Wreck",[6351.24,7695.23,0.0513],212,0], - ["SKODAWreck",[6348.86,7699.1,0.0513],212,0], - ["SKODAWreck",[6324.68,7685.11,0.0513],44,0], - ["UralWreck",[6351.15,7703.66,0.0528564],246,0], - ["SKODAWreck",[6342.45,7707.11,0.0574646],186,0], - ["LADAWreck",[6340.99,7683.79,-0.043335],121,0], - ["Misc_TyreHeap",[6326.34,7675.84,-0.253143],131,0], - ["Misc_TyreHeap",[11348.2,6643.79,0.0348358],111.033,0], - ["SKODAWreck",[11336,6653.39,0.334831],256.033,0], - ["SKODAWreck",[11336.5,6655.68,0.334831],256.033,0], - ["UralWreck",[11320.6,6644.7,0.334831],35.0333,0], - ["datsun01Wreck",[11340.1,6640.28,0.334831],251.033,0], - ["SKODAWreck",[11340.7,6644.78,0.334831],251.033,0], - ["SKODAWreck",[11313.1,6649.14,0.334831],83.0333,0], - ["UralWreck",[11345.4,6646.88,0.334831],285.033,0], - ["SKODAWreck",[11340.8,6655.04,0.334831],225.033,0], - ["LADAWreck",[11325,6637.85,0.234833],160.033,0], - ["Misc_TyreHeap",[11308.6,6640.9,0.0248337],170.033,0], - ["Fort_Barricade_EP1",[11459.571,7390.7227,-0.040615425],225.14645,0] -]; diff --git a/SQF/dayz_code/system/mission/chernarus/security/init.sqf b/SQF/dayz_code/system/mission/chernarus/security/init.sqf deleted file mode 100644 index 948b55b0..00000000 --- a/SQF/dayz_code/system/mission/chernarus/security/init.sqf +++ /dev/null @@ -1,19 +0,0 @@ -//diag_log [ diag_tickTime, __FILE__, "Sp4wing security concrete blocks"]; -poi_processObject = { - private ["_type","_pos","_dir","_elevation","_tilt","_o"]; - _type = _this select 0; - _pos = _this select 1; - _dir = _this select 2; - _elevation = _this select 3; - _tilt = _this select 4; - - _o = _type createVehicleLocal _pos; - _o setDir _dir; - _o setPosATL _pos; - - _o setVariable ["", true]; // prevent network SV by loot/zeds spawner -}; - -if (toLower worldName == "chernarus") then { //need to add building coordinates for other maps - call compile preprocessFileLineNumbers ("\z\addons\dayz_code\system\mission\chernarus\security\antiwallhack.sqf"); -}; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/waterHoleProxy.sqf b/SQF/dayz_code/system/mission/chernarus/waterHoleProxy.sqf new file mode 100644 index 00000000..f0aee054 --- /dev/null +++ b/SQF/dayz_code/system/mission/chernarus/waterHoleProxy.sqf @@ -0,0 +1,185 @@ +// Same as \dayz_code\Configs\CfgTownGenerator\chernarusWaters.hpp +[[ + ["WaterHoleProxy",[9249,13577.1,-0.2],0], + ["WaterHoleProxy",[9244.5,13540.9,0.7],0], + ["WaterHoleProxy",[9394.7,13801.7,0.5],0], + ["WaterHoleProxy",[9435,13789.7,1.1],0], + ["WaterHoleProxy",[9441.5,13742,1],0], + ["WaterHoleProxy",[9443.7,13692.5,1],0], + ["WaterHoleProxy",[9484.8,13745.5,0.7],0], + ["WaterHoleProxy",[9484.8,13692.5,2],0], + ["WaterHoleProxy",[9515.6,13728.3,0.2],0], + ["WaterHoleProxy",[9625.6,13688,7.4],0], + ["WaterHoleProxy",[9534.6,13692.5,1.5],0], + ["WaterHoleProxy",[9584.5,13688.5,4.2],0], + ["WaterHoleProxy",[9282.6,13590.4,0.7],0], + ["WaterHoleProxy",[9301.1,13617.6,0.2],0], + ["WaterHoleProxy",[9385.2,13627.2,1.9],0], + ["WaterHoleProxy",[9385.2,13590.4,2.9],0], + ["WaterHoleProxy",[9282.6,13541,1.2],0], + ["WaterHoleProxy",[9335.3,13553.1,-0.8],0], + ["WaterHoleProxy",[9335.3,13590.4,3.1],0], + ["WaterHoleProxy",[9335,13622.1,0.5],0], + ["WaterHoleProxy",[9385.2,13560.7,0.8],0], + ["WaterHoleProxy",[9435,13640,1.2],0], + ["WaterHoleProxy",[9484.8,13555.1,0.5],0], + ["WaterHoleProxy",[9484.8,13640,2.3],0], + ["WaterHoleProxy",[9435,13554,-0.3],0], + ["WaterHoleProxy",[9435,13590.4,2.9],0], + ["WaterHoleProxy",[9484.8,13590.4,3],0], + ["WaterHoleProxy",[9584.5,13640,4.9],0], + ["WaterHoleProxy",[9634.3,13640,8.7],0], + ["WaterHoleProxy",[9534.6,13590.4,2.3],0], + ["WaterHoleProxy",[9584.5,13589.9,3.8],0], + ["WaterHoleProxy",[9534.6,13640,2.4],0], + ["WaterHoleProxy",[9634.3,13592,2.9],0], + ["WaterHoleProxy",[9534.6,13557.6,-0.7],0], + ["WaterHoleProxy",[9672.4,13598.1,1.5],0], + ["WaterHoleProxy",[9667.1,13625,5.3],0], + ["WaterHoleProxy",[2175.7,11843.5,1],0], + ["WaterHoleProxy",[2179.5,11804.7,-0.5],0], + ["WaterHoleProxy",[2224.4,11841.7,1.8],0], + ["WaterHoleProxy",[2226.3,11798.2,1.1],0], + ["WaterHoleProxy",[3804.6,8854.2,0],0], + ["WaterHoleProxy",[3456.1,8559.2,-0.7],0], + ["WaterHoleProxy",[3506.4,8559.3,0.3],0], + ["WaterHoleProxy",[3456.1,8535.1,1.7],0], + ["WaterHoleProxy",[4437.3,9096.3,0.8],0], + ["WaterHoleProxy",[5643.3,8575.1,0.3],0], + ["WaterHoleProxy",[6563.8,9303.6,0.7],0], + ["WaterHoleProxy",[6599.8,9303.4,0],0], + ["WaterHoleProxy",[6558.3,9256.7,1.2],0], + ["WaterHoleProxy",[6601.4,9257.7,1.6],0], + ["WaterHoleProxy",[7354.2,9272.9,0.2],0], + ["WaterHoleProxy",[7467.7,9263.1,0.4],0], + ["WaterHoleProxy",[3506.2,8533.5,1.3],0], + ["WaterHoleProxy",[3368.1,6483.2,1.4],0], + ["WaterHoleProxy",[4143.4,7246,0.9],0], + ["WaterHoleProxy",[4138.1,7209,1],0], + ["WaterHoleProxy",[4167.4,7214.3,0],0], + ["WaterHoleProxy",[4169.3,7245.5,1],0], + ["WaterHoleProxy",[4221,6747.1,0.8],0], + ["WaterHoleProxy",[4809.7,6594.6,0],0], + ["WaterHoleProxy",[5917.6,7951.6,1.2],0], + ["WaterHoleProxy",[7074.4,7328,2.7],0], + ["WaterHoleProxy",[4498.3,6434,0],0], + ["WaterHoleProxy",[4480.8,6430.3,0],0], + ["WaterHoleProxy",[4928.2,5634.5,0],0], + ["WaterHoleProxy",[4368.9,4646.7,0],0], + ["WaterHoleProxy",[5769.7,5203.6,0.2],0], + ["WaterHoleProxy",[5789.7,5171.7,1.2],0], + ["WaterHoleProxy",[5765,5172.5,0.5],0], + ["WaterHoleProxy",[5789.7,5209.7,1.1],0], + ["WaterHoleProxy",[7692.2,5935.2,0.2],0], + ["WaterHoleProxy",[7717.9,4926.1,0.4],0], + ["WaterHoleProxy",[8278.9,12146.4,1],0], + ["WaterHoleProxy",[8775.3,11626.2,0],0], + ["WaterHoleProxy",[9438.4,8830.6,0],0], + ["WaterHoleProxy",[11767.2,12180.6,0],0], + ["WaterHoleProxy",[11877.8,12382.5,0],0], + ["WaterHoleProxy",[13278,12111.2,2.2],0], + ["WaterHoleProxy",[13292.3,12147.4,0.5],0], + ["WaterHoleProxy",[13315.9,12111.2,1.2],0], + ["WaterHoleProxy",[13379.6,12097.2,1.6],0], + ["WaterHoleProxy",[13315.8,12151.4,0.9],0], + ["WaterHoleProxy",[13284.2,12027.5,-1.6],0], + ["WaterHoleProxy",[13276.4,12060.7,1.1],0], + ["WaterHoleProxy",[13323.6,12010.1,1.3],0], + ["WaterHoleProxy",[13374.9,12010.1,2.6],0], + ["WaterHoleProxy",[13374.9,11961,2],0], + ["WaterHoleProxy",[13374.9,12060.7,1.8],0], + ["WaterHoleProxy",[13420.6,11963.1,-1.5],0], + ["WaterHoleProxy",[13419.9,12057.1,1.5],0], + ["WaterHoleProxy",[13323.9,12060.7,-0.3],0], + ["WaterHoleProxy",[13418.1,12010.1,1.9],0], + ["WaterHoleProxy",[13323.9,11961.3,1.8],0], + ["WaterHoleProxy",[13182.8,11558.9,1.3],0], + ["WaterHoleProxy",[13292.1,11925.7,0.9],0], + ["WaterHoleProxy",[13291.3,11946.9,0.6],0], + ["WaterHoleProxy",[13323.9,11921.1,0.6],0], + ["WaterHoleProxy",[13371.4,11924.5,0.3],0], + ["WaterHoleProxy",[13287.9,11586.9,2.6],0], + ["WaterHoleProxy",[13233.6,11546.8,2.3],0], + ["WaterHoleProxy",[13233.6,11585.4,-0.3],0], + ["WaterHoleProxy",[13286.4,11536.4,2.2],0], + ["WaterHoleProxy",[12525.6,10437.4,0],0], + ["WaterHoleProxy",[12436.5,9557.1,0],0], + ["WaterHoleProxy",[12881.2,10122.1,0],0], + ["WaterHoleProxy",[12799.9,10064.1,0],0], + ["WaterHoleProxy",[12876.5,9581.3,0],0], + ["WaterHoleProxy",[12179.6,9476.4,0],0], + ["WaterHoleProxy",[11945.1,9222.4,0],0], + ["WaterHoleProxy",[12020.3,9178.3,0],0], + ["WaterHoleProxy",[11898,9149.8,0],0], + ["WaterHoleProxy",[12083.5,9093.3,0],0], + ["WaterHoleProxy",[11947.9,8922.3,0],0], + ["WaterHoleProxy",[12701.6,9468,0],0], + ["WaterHoleProxy",[12758.5,8821.9,0.8],0], + ["WaterHoleProxy",[12762,8800.1,0.4],0], + ["WaterHoleProxy",[12792.9,8818.3,1.5],0], + ["WaterHoleProxy",[12794,8798.5,1.4],0], + ["WaterHoleProxy",[11443.8,7391.2,1],0], + ["WaterHoleProxy",[7856.5,5668.2,0.3],0], + ["WaterHoleProxy",[8690.1,4907,1.6],0], + ["WaterHoleProxy",[8730.1,4909.1,2.1],0], + ["WaterHoleProxy",[8761,4912.1,2.2],0], + ["WaterHoleProxy",[9221.3,4937,0.8],0], + ["WaterHoleProxy",[11148.2,6555.3,0],0], + ["WaterHoleProxy",[11717.3,6543.9,1],0], + ["WaterHoleProxy",[12325.9,8347.2,0],0], + ["WaterHoleProxy",[13056.4,7220.5,0.4],0], + ["WaterHoleProxy",[13055.1,7248.3,0.4],0], + ["WaterHoleProxy",[13115.5,7240.5,-1.1],0], + ["WaterHoleProxy",[13115.4,7222.1,0.4],0], + ["WaterHoleProxy",[11749.4,6543.4,0],0], + ["WaterHoleProxy",[11719.3,6509.1,-2.4],0], + ["WaterHoleProxy",[11751.3,6509.1,1.5],0], + ["WaterHoleProxy",[12607.6,5723.5,0],0], + ["WaterHoleProxy",[13216.7,6264,1],0], + ["WaterHoleProxy",[12909,5638.5,0],0], + ["WaterHoleProxy",[11719.2,5119.4,1.4],0], + ["WaterHoleProxy",[12392,5313.2,1.1],0], + ["WaterHoleProxy",[13341.7,5458.2,0],0], + ["WaterHoleProxy",[12760.5,4957.9,0.5],0], + ["WaterHoleProxy",[3356.4,3951.1,0],0], + ["WaterHoleProxy",[3780.9,2586.8,0],0], + ["WaterHoleProxy",[5734.5,4111.3,1],0], + ["WaterHoleProxy",[6822.3,4491.5,1],0], + ["WaterHoleProxy",[7720.6,3971.6,1.2],0], + ["WaterHoleProxy",[6252.5,3353.9,0.7],0], + ["WaterHoleProxy",[6511,3546.6,0],0], + ["WaterHoleProxy",[6460.1,3095.3,1.2],0], + ["WaterHoleProxy",[7758.8,3413.1,0.9],0], + ["WaterHoleProxy",[7036.9,3041.3,0.3],0], + ["WaterHoleProxy",[7077.1,2963.7,0.4],0], + ["WaterHoleProxy",[7063.6,3001.6,0.4],0], + ["WaterHoleProxy",[7956.9,3363.5,1.3],0], + ["WaterHoleProxy",[9831.4,4623.1,2],0], + ["WaterHoleProxy",[9980.5,4201.4,1.5],0], + ["WaterHoleProxy",[9986.9,4163.5,0.5],0], + ["WaterHoleProxy",[10024.6,4157.4,0.7],0], + ["WaterHoleProxy",[10015.5,4195.1,-0.5],0], + ["WaterHoleProxy",[10690.4,4526.8,1.7],0], + ["WaterHoleProxy",[10293.3,3660.1,2.5],0], + ["WaterHoleProxy",[10286.3,3739.1,1.6],0], + ["WaterHoleProxy",[10170.7,3200.5,0.6],0], + ["WaterHoleProxy",[10200.7,3201.5,2.9],0], + ["WaterHoleProxy",[10167.5,3151.5,2.9],0], + ["WaterHoleProxy",[10199.3,3153.7,0.4],0], + ["WaterHoleProxy",[12567.9,3679.5,1.6],0], + ["WaterHoleProxy",[6769.9,2974.7,0],0], + ["WaterHoleProxy",[13409.7,2762.7,0],0], + ["WaterHoleProxy",[6047.1,10302.2,-0.1],0], + ["WaterHoleProxy",[6170.9,10415,0],0], + ["WaterHoleProxy",[5945.1,10179.9,0],0], + ["WaterHoleProxy",[3327.3,3989.6,-0.1],0], + ["WaterHoleProxy",[3407.8,3909.3,0],0], + ["WaterHoleProxy",[3376.9,3955.6,-0.1],0], + ["WaterHoleProxy",[2556.3,3451.4,0],0], + ["WaterHoleProxy",[4555.8,4348.9,0],0], + ["WaterHoleProxy",[4469,3918.4,0],0], + ["WaterHoleProxy",[4420.2,3962.4,-0.1],0], + ["WaterHoleProxy",[4044.5,3327.4,0],0], + ["WaterHoleProxy",[4602.9,2745.4,0],0], + ["WaterHoleProxy",[2588,5941,1],0] +],true,true,true] call fnc_spawnObjects; diff --git a/SQF/dayz_code/system/mission/namalsk/waterHoleProxy.sqf b/SQF/dayz_code/system/mission/namalsk/waterHoleProxy.sqf new file mode 100644 index 00000000..63609ed5 --- /dev/null +++ b/SQF/dayz_code/system/mission/namalsk/waterHoleProxy.sqf @@ -0,0 +1,33 @@ +[[ + ["WaterHoleProxy",[5193.92,8091.52,1.52362],0], // [107010: pond_big_31_04.p3d] 051047 + ["WaterHoleProxy",[5162.8,8212.08,1.11529],0], // [106525: pond_big_31_04.p3d] 051045 + ["WaterHoleProxy",[5121.34,8131.57,1.68131],0], // [106579: pond_small_20.p3d] 051046 + ["WaterHoleProxy",[5104.38,7949.99,1.79525],0], // [33551: pond_small_20.p3d] 051048 + ["WaterHoleProxy",[4968.5,8125.26,-0.128666],0], // [33118: misc_wellpump.p3d] 049046 + ["WaterHoleProxy",[4934.95,8142.99,1.24742],0], // [32104: pond_big_31_04.p3d] 049046 + ["WaterHoleProxy",[4913.85,8105.75,0.918705],0], // [32933: pond_big_44.p3d] 049046 + ["WaterHoleProxy",[6002.17,6671.57,-0.183643],0], // [172323: misc_wellpump.p3d] 060061 + ["WaterHoleProxy",[5701.74,9428.14,2.00399],0], // [51648: pond_small_20.p3d] 057033 + ["WaterHoleProxy",[5620.9,9420.72,1.29331],0], // [51635: pond_big_31_04.p3d] 056033 + ["WaterHoleProxy",[4606.99,8843.52,1.45167],0], // [74117: pond_big_31_04.p3d] 046039 + ["WaterHoleProxy",[7319.2,7002.32,-0.0789185],0], // [176715: misc_wellpump.p3d] 073057 + ["WaterHoleProxy",[4908.86,6666.81,-0.0604973],0], // [150046: misc_wellpump.p3d] 049061 + ["WaterHoleProxy",[7231.44,6795.31,2.03099],0], // [177259: pond_big_31_04.p3d] 072060 + ["WaterHoleProxy",[6211.93,9866.19,-0.156921],0], // [90055: misc_wellpump.p3d] 062029 + ["WaterHoleProxy",[3988.03,7567.89,0],0], // [94587: misc_wellpump.p3d] 039052 + ["WaterHoleProxy",[7081.24,6160.29,-0.0930176],0], // [179488: misc_wellpump.p3d] 070066 + ["WaterHoleProxy",[7904.44,6849.89,4.23209],0], // [194376: pond_small_20.p3d] 079059 + ["WaterHoleProxy",[7050.56,5765.46,-0.0713615],0], // [186283: misc_wellpump.p3d] 070070 + ["WaterHoleProxy",[3574.5,6644.54,-1.52588e-005],0], // [133976: misc_wellpump.p3d] 035061 + ["WaterHoleProxy",[5777.57,10735.6,-0.105515],0], // [66751: misc_wellpump.p3d] 057020 + ["WaterHoleProxy",[7142.32,10849.7,-0.104141],0], // [7941: misc_wellpump.p3d] 071019 + ["WaterHoleProxy",[6382.19,11106.1,1.16179],0], // [16677: pond_big_44.p3d] 063016 + ["WaterHoleProxy",[4515.11,10962.8,-0.105227],0], // [14571: misc_wellpump.p3d] 045018 + ["WaterHoleProxy",[7298.87,11101.5,1.67537],0], // [22813: pond_big_44.p3d] 072016 + ["WaterHoleProxy",[4283.29,4803.7,-0.180942],0], // [193572: misc_wellpump.p3d] 042079 + ["WaterHoleProxy",[8288.24,10757.7,0],0], // [78443: misc_wellpump.p3d] 082020 + ["WaterHoleProxy",[9018.04,10104.3,0.000231743],0], // [125974: misc_wellpump.p3d] 090026 + ["WaterHoleProxy",[7850.7,11203.2,1.46191],0], // [75239: pond_big_44.p3d] 078015 + ["WaterHoleProxy",[8825.5,10605.9,-0.000326157],0], // [38226: misc_wellpump.p3d] 088021 + ["WaterHoleProxy",[2205.65,5762.24,-0.12517],0] // [1097: misc_wellpump.p3d] 022070 +],true,true,true] call fnc_spawnObjects; diff --git a/SQF/dayz_code/system/mission/napf/waterHoleProxy.sqf b/SQF/dayz_code/system/mission/napf/waterHoleProxy.sqf new file mode 100644 index 00000000..be3e0fce --- /dev/null +++ b/SQF/dayz_code/system/mission/napf/waterHoleProxy.sqf @@ -0,0 +1,219 @@ +[[ + ["WaterHoleProxy",[10987.8,8124.02,2.46219],0], // [516318: nagara_pond_3.p3d] 109123 + ["WaterHoleProxy",[9630.88,9157.42,1.27319],0], // [90194: pond_small_03.p3d] 096113 + ["WaterHoleProxy",[8830.25,8408.68,1.62749],0], // [340712: pond_small_15.p3d] 088120 + ["WaterHoleProxy",[10573.6,10677.1,2.69863],0], // [298502: kakaru_pond.p3d] 105098 + ["WaterHoleProxy",[12474,10041.6,-0.00100708],0], // [439142: misc_well.p3d] 124104 + ["WaterHoleProxy",[9171.73,10387.9,1.23034],0], // [75600: pond_small_01.p3d] 091100 + ["WaterHoleProxy",[9853.79,10789.1,1.62645],0], // [80860: pond_small_03.p3d] 098096 + ["WaterHoleProxy",[13873.6,7669.02,0],0], // [780578: sk_pond_50x.p3d] 138128 + ["WaterHoleProxy",[10886.9,5010.2,-0.171722],0], // [635083: sk_pond_50x.p3d] 108154 + ["WaterHoleProxy",[10868,4993.14,7.14198],0], // [635088: sk_pond_50x.p3d] 108154 + ["WaterHoleProxy",[8172.76,10696.4,1.57575],0], // [71170: kakaru_pond.p3d] 081097 + ["WaterHoleProxy",[10904,4991.25,-4.0303],0], // [635082: sk_pond_50x.p3d] 109154 + ["WaterHoleProxy",[10858.1,4975.49,11.2934],0], // [635087: sk_pond_50x.p3d] 108155 + ["WaterHoleProxy",[10885,4974.19,4.32936],0], // [635084: sk_pond_50x.p3d] 108155 + ["WaterHoleProxy",[10866.4,4957.46,10.1635],0], // [635086: sk_pond_50x.p3d] 108155 + ["WaterHoleProxy",[10847.9,4940.74,14.453],0], // [635089: sk_pond_50x.p3d] 108155 + ["WaterHoleProxy",[10900.4,4937.67,4.41199],0], // [635074: sk_pond_50x.p3d] 109155 + ["WaterHoleProxy",[10829.3,4924.01,15.9437],0], // [635090: sk_pond_50x.p3d] 108155 + ["WaterHoleProxy",[10810.7,4907.28,17.8159],0], // [635092: sk_pond_50x.p3d] 108155 + ["WaterHoleProxy",[10863.3,4904.21,11.5556],0], // [635075: sk_pond_50x.p3d] 108155 + ["WaterHoleProxy",[10933.9,4900.51,4.56717],0], // [635073: sk_pond_50x.p3d] 109155 + ["WaterHoleProxy",[10792.1,4890.55,20.5998],0], // [635093: sk_pond_50x.p3d] 107155 + ["WaterHoleProxy",[11004.5,4896.81,-8.20416],0], // [635057: sk_pond_50x.p3d] 110155 + ["WaterHoleProxy",[10773.6,4873.82,26.8091],0], // [635091: sk_pond_50x.p3d] 107156 + ["WaterHoleProxy",[10826.1,4870.75,19.0459],0], // [635076: sk_pond_50x.p3d] 108156 + ["WaterHoleProxy",[10896.7,4867.05,16.8392],0], // [635072: sk_pond_50x.p3d] 108156 + ["WaterHoleProxy",[10755,4857.09,31.6352],0], // [635094: sk_pond_50x.p3d] 107156 + ["WaterHoleProxy",[10967.3,4863.35,7.0914],0], // [635058: sk_pond_50x.p3d] 109156 + ["WaterHoleProxy",[11037.9,4859.65,-6.52841],0], // [635056: sk_pond_50x.p3d] 110156 + ["WaterHoleProxy",[10736.4,4840.37,35.508],0], // [635095: sk_pond_50x.p3d] 107156 + ["WaterHoleProxy",[10788.9,4837.29,33.7762],0], // [635077: sk_pond_50x.p3d] 107156 + ["WaterHoleProxy",[10859.6,4833.6,27.9606],0], // [635071: sk_pond_50x.p3d] 108156 + ["WaterHoleProxy",[10717.8,4823.64,39.1563],0], // [635096: sk_pond_50x.p3d] 107156 + ["WaterHoleProxy",[10930.2,4829.9,18.5661],0], // [635059: sk_pond_50x.p3d] 109156 + ["WaterHoleProxy",[11000.8,4826.2,8.25858],0], // [635055: sk_pond_50x.p3d] 110156 + ["WaterHoleProxy",[10699.3,4806.91,40.5467],0], // [635097: sk_pond_50x.p3d] 106156 + ["WaterHoleProxy",[10751.8,4803.84,40.0699],0], // [635078: sk_pond_50x.p3d] 107156 + ["WaterHoleProxy",[11071.4,4822.5,-7.3381],0], // [635041: sk_pond_50x.p3d] 110156 + ["WaterHoleProxy",[10822.4,4800.14,37.6998],0], // [635070: sk_pond_50x.p3d] 108156 + ["WaterHoleProxy",[10680.7,4790.18,37.9697],0], // [635123: sk_pond_50x.p3d] 106156 + ["WaterHoleProxy",[10893,4796.44,29.7399],0], // [635060: sk_pond_50x.p3d] 108156 + ["WaterHoleProxy",[10963.6,4792.74,22.4507],0], // [635054: sk_pond_50x.p3d] 109156 + ["WaterHoleProxy",[10662.1,4773.45,32.7776],0], // [635125: sk_pond_50x.p3d] 106157 + ["WaterHoleProxy",[11034.2,4789.04,11.3653],0], // [635042: sk_pond_50x.p3d] 110156 + ["WaterHoleProxy",[10714.6,4770.38,36.4117],0], // [635079: sk_pond_50x.p3d] 107157 + ["WaterHoleProxy",[10785.2,4766.68,39.2586],0], // [635069: sk_pond_50x.p3d] 107157 + ["WaterHoleProxy",[11104.9,4785.34,-0.454941],0], // [635040: sk_pond_50x.p3d] 111156 + ["WaterHoleProxy",[10855.9,4762.98,38.2487],0], // [635061: sk_pond_50x.p3d] 108157 + ["WaterHoleProxy",[10643.5,4756.72,24.929],0], // [635133: sk_pond_50x.p3d] 106157 + ["WaterHoleProxy",[10926.5,4759.28,34.589],0], // [635053: sk_pond_50x.p3d] 109157 + ["WaterHoleProxy",[10997.1,4755.58,28.2487],0], // [635043: sk_pond_50x.p3d] 109157 + ["WaterHoleProxy",[10624.9,4740,15.8796],0], // [887624: sk_pond_50x.p3d] 106157 + ["WaterHoleProxy",[10677.5,4736.92,20.7703],0], // [635080: sk_pond_50x.p3d] 106157 + ["WaterHoleProxy",[10748.1,4733.22,30.0067],0], // [635068: sk_pond_50x.p3d] 107157 + ["WaterHoleProxy",[11067.7,4751.88,19.7227],0], // [635039: sk_pond_50x.p3d] 110157 + ["WaterHoleProxy",[10818.7,4729.52,36.5026],0], // [635062: sk_pond_50x.p3d] 108157 + ["WaterHoleProxy",[10606.3,4723.27,5.54526],0], // [887625: sk_pond_50x.p3d] 106157 + ["WaterHoleProxy",[10889.3,4725.82,37.054],0], // [635052: sk_pond_50x.p3d] 108157 + ["WaterHoleProxy",[11138.3,4748.18,4.3936],0], // [635028: sk_pond_50x.p3d] 111157 + ["WaterHoleProxy",[10959.9,4722.13,35.8851],0], // [635044: sk_pond_50x.p3d] 109157 + ["WaterHoleProxy",[10587.4,4706.2,-5.27829],0], // [635116: sk_pond_50x.p3d] 105157 + ["WaterHoleProxy",[10640.3,4703.46,0.893494],0], // [635081: sk_pond_50x.p3d] 106157 + ["WaterHoleProxy",[11030.5,4718.43,32.779],0], // [635038: sk_pond_50x.p3d] 110157 + ["WaterHoleProxy",[10710.9,4699.77,10.5278],0], // [635067: sk_pond_50x.p3d] 107157 + ["WaterHoleProxy",[10781.5,4696.07,25.7829],0], // [635064: sk_pond_50x.p3d] 107157 + ["WaterHoleProxy",[11101.2,4714.73,24.1172],0], // [635029: sk_pond_50x.p3d] 111157 + ["WaterHoleProxy",[10852.2,4692.37,28.794],0], // [635051: sk_pond_50x.p3d] 108157 + ["WaterHoleProxy",[10922.8,4688.67,31.8981],0], // [635045: sk_pond_50x.p3d] 109157 + ["WaterHoleProxy",[11171.8,4711.03,-4.4812],0], // [635027: sk_pond_50x.p3d] 111157 + ["WaterHoleProxy",[11488.5,4766.42,-6.62918],0], // [635110: sk_pond_50x.p3d] 114157 + ["WaterHoleProxy",[10993.4,4684.97,33.6074],0], // [635037: sk_pond_50x.p3d] 109157 + ["WaterHoleProxy",[10673.8,4666.31,-7.47173],0], // [635066: sk_pond_50x.p3d] 106158 + ["WaterHoleProxy",[12158.7,4975.43,0.0831299],0], // [765428: sk_pond_50x.p3d] 121155 + ["WaterHoleProxy",[11242.4,4707.33,-11.2663],0], // [635012: sk_pond_50x.p3d] 112157 + ["WaterHoleProxy",[10744.4,4662.61,5.76035],0], // [635065: sk_pond_50x.p3d] 107158 + ["WaterHoleProxy",[11064,4681.27,29.4846],0], // [635030: sk_pond_50x.p3d] 110157 + ["WaterHoleProxy",[10815,4658.91,14.6644],0], // [635050: sk_pond_50x.p3d] 108158 + ["WaterHoleProxy",[10885.6,4655.21,17.0698],0], // [635046: sk_pond_50x.p3d] 108158 + ["WaterHoleProxy",[11134.6,4677.57,21.2833],0], // [635026: sk_pond_50x.p3d] 111158 + ["WaterHoleProxy",[11313,4703.63,-4.06461],0], // [635008: sk_pond_50x.p3d] 113157 + ["WaterHoleProxy",[10956.2,4651.51,22.3561],0], // [635036: sk_pond_50x.p3d] 109158 + ["WaterHoleProxy",[11205.2,4673.87,11.4274],0], // [635011: sk_pond_50x.p3d] 112158 + ["WaterHoleProxy",[11383.6,4699.93,2.11406],0], // [635000: sk_pond_50x.p3d] 113157 + ["WaterHoleProxy",[11026.8,4647.81,23.9478],0], // [635031: sk_pond_50x.p3d] 110158 + ["WaterHoleProxy",[11508.5,4720.61,0.973633],0], // [635108: sk_pond_50x.p3d] 115157 + ["WaterHoleProxy",[10777.8,4625.45,-9.78914],0], // [635049: sk_pond_50x.p3d] 107158 + ["WaterHoleProxy",[11275.8,4670.17,10.142],0], // [635007: sk_pond_50x.p3d] 112158 + ["WaterHoleProxy",[11097.5,4644.11,15.3609],0], // [635025: sk_pond_50x.p3d] 110158 + ["WaterHoleProxy",[10848.5,4621.75,2.15944],0], // [635047: sk_pond_50x.p3d] 108158 + ["WaterHoleProxy",[10919.1,4618.05,2.73297],0], // [635035: sk_pond_50x.p3d] 109158 + ["WaterHoleProxy",[11168.1,4640.41,16.6479],0], // [635010: sk_pond_50x.p3d] 111158 + ["WaterHoleProxy",[11346.4,4666.47,11.6621],0], // [635001: sk_pond_50x.p3d] 113158 + ["WaterHoleProxy",[11716.4,4751.62,1.8837],0], // [764769: sk_pond_50x.p3d] 117157 + ["WaterHoleProxy",[10989.7,4614.35,4.71136],0], // [635032: sk_pond_50x.p3d] 109158 + ["WaterHoleProxy",[11766.2,4756.03,-0.668121],0], // [764768: sk_pond_50x.p3d] 117157 + ["WaterHoleProxy",[11238.7,4636.71,19.2278],0], // [635006: sk_pond_50x.p3d] 112158 + ["WaterHoleProxy",[11060.3,4610.65,-0.599152],0], // [635024: sk_pond_50x.p3d] 110158 + ["WaterHoleProxy",[11417.1,4662.77,-4.37135],0], // [634999: sk_pond_50x.p3d] 114158 + ["WaterHoleProxy",[10811.3,4588.29,-16.4482],0], // [635048: sk_pond_50x.p3d] 108158 + ["WaterHoleProxy",[11309.3,4633.01,19.2797],0], // [635002: sk_pond_50x.p3d] 113158 + ["WaterHoleProxy",[11130.9,4606.96,-2.43341],0], // [635009: sk_pond_50x.p3d] 111158 + ["WaterHoleProxy",[10881.9,4584.6,-18.4049],0], // [635034: sk_pond_50x.p3d] 108158 + ["WaterHoleProxy",[10952.5,4580.9,-19.8656],0], // [635033: sk_pond_50x.p3d] 109158 + ["WaterHoleProxy",[11201.5,4603.26,9.55371],0], // [635005: sk_pond_50x.p3d] 112158 + ["WaterHoleProxy",[11379.9,4629.32,11.8494],0], // [634998: sk_pond_50x.p3d] 113158 + ["WaterHoleProxy",[11023.1,4577.2,-25.9564],0], // [635013: sk_pond_50x.p3d] 110159 + ["WaterHoleProxy",[11272.1,4599.56,17.3799],0], // [635003: sk_pond_50x.p3d] 112158 + ["WaterHoleProxy",[11342.8,4595.86,19.7369],0], // [634997: sk_pond_50x.p3d] 113158 + ["WaterHoleProxy",[11235,4566.1,-11.1143],0], // [635004: sk_pond_50x.p3d] 112159 + ["WaterHoleProxy",[11413.4,4592.16,-2.01369],0], // [634992: sk_pond_50x.p3d] 114158 + ["WaterHoleProxy",[11305.6,4562.4,4.33154],0], // [634996: sk_pond_50x.p3d] 113159 + ["WaterHoleProxy",[11376.2,4558.7,15.8378],0], // [634994: sk_pond_50x.p3d] 113159 + ["WaterHoleProxy",[11446.8,4555,-9.04701],0], // [634990: sk_pond_50x.p3d] 114159 + ["WaterHoleProxy",[11339.1,4525.24,8.1026],0], // [634995: sk_pond_50x.p3d] 113159 + ["WaterHoleProxy",[11570.1,4563.73,1.27332],0], // [635109: sk_pond_50x.p3d] 115159 + ["WaterHoleProxy",[11622.2,4569.26,-0.326691],0], // [773554: sk_pond_50x.p3d] 116159 + ["WaterHoleProxy",[11409.7,4521.54,8.57024],0], // [634989: sk_pond_50x.p3d] 114159 + ["WaterHoleProxy",[11480.3,4517.85,-5.37982],0], // [634991: sk_pond_50x.p3d] 114159 + ["WaterHoleProxy",[11372.5,4488.09,11.0176],0], // [634891: sk_pond_50x.p3d] 113159 + ["WaterHoleProxy",[11590.1,4517.9,-3.22922],0], // [773553: sk_pond_50x.p3d] 115159 + ["WaterHoleProxy",[11443.1,4484.39,4.64772],0], // [634988: sk_pond_50x.p3d] 114159 + ["WaterHoleProxy",[11335.4,4454.63,-1.92999],0], // [634890: sk_pond_50x.p3d] 113160 + ["WaterHoleProxy",[11406,4450.93,8.49318],0], // [634900: sk_pond_50x.p3d] 114160 + ["WaterHoleProxy",[11476.6,4447.23,-1.43602],0], // [634987: sk_pond_50x.p3d] 114160 + ["WaterHoleProxy",[11368.8,4417.47,4.4339],0], // [634859: sk_pond_50x.p3d] 113160 + ["WaterHoleProxy",[11439.4,4413.77,2.99809],0], // [634903: sk_pond_50x.p3d] 114160 + ["WaterHoleProxy",[11331.6,4384.01,-9.76031],0], // [634837: sk_pond_50x.p3d] 113160 + ["WaterHoleProxy",[11402.3,4380.32,3.2477],0], // [634879: sk_pond_50x.p3d] 114160 + ["WaterHoleProxy",[11472.9,4376.62,-2.42068],0], // [634930: sk_pond_50x.p3d] 114161 + ["WaterHoleProxy",[11365.1,4346.86,-1.43745],0], // [619407: sk_pond_50x.p3d] 113161 + ["WaterHoleProxy",[14723.7,7707.29,0.812378],0], // [784281: sk_pond_50x.p3d] 147127 + ["WaterHoleProxy",[11435.7,4343.16,0.659912],0], // [634881: sk_pond_50x.p3d] 114161 + ["WaterHoleProxy",[11398.6,4309.7,-0.888474],0], // [619406: sk_pond_50x.p3d] 113161 + ["WaterHoleProxy",[11283.7,4184.99,1.40248],0], // [635023: pond_big_02.p3d] 112162 + ["WaterHoleProxy",[14401.5,10624.2,1.78522],0], // [438952: pond_big_01.p3d] 144098 + ["WaterHoleProxy",[8465.91,12161,0.561134],0], // [145688: nagara_pond_2.p3d] 084083 + ["WaterHoleProxy",[6573.84,6753.3,1.65832],0], // [741015: pond_small_09.p3d] 065137 + ["WaterHoleProxy",[8370.76,12211.6,1.56451],0], // [19466: nagara_pond_2.p3d] 083082 + ["WaterHoleProxy",[12078.2,12684.6,1.81325],0], // [366143: pond_small_05.p3d] 120077 + ["WaterHoleProxy",[14651.7,10543.6,1.91735],0], // [438940: nagara_pond_1.p3d] 146099 + ["WaterHoleProxy",[14709.7,10535.8,1.7049],0], // [438945: rasman_pond.p3d] 147099 + ["WaterHoleProxy",[6378.31,6751.98,1.64444],0], // [650405: pond_small_09.p3d] 063137 + ["WaterHoleProxy",[6288.85,6725.98,1.63806],0], // [614041: pond_small_09.p3d] 062137 + ["WaterHoleProxy",[11485.6,13184.4,1.69251],0], // [366002: nagara_pond_2.p3d] 114072 + ["WaterHoleProxy",[11502.8,13248.6,1.75877],0], // [366023: nagara_pond_3.p3d] 115072 + ["WaterHoleProxy",[13120.3,12693.8,3.13171],0], // [398399: pond_small_07.p3d] 131077 + ["WaterHoleProxy",[14136.7,11987.1,2.09159],0], // [424987: pond_small_08.p3d] 141084 + ["WaterHoleProxy",[14111.1,12089.6,-6.09547],0], // [52126: sk_pond_50x.p3d] 141083 + ["WaterHoleProxy",[14157.1,12070.1,0.316508],0], // [52112: sk_pond_50x.p3d] 141084 + ["WaterHoleProxy",[14130.6,12135.6,1.4165],0], // [52095: sk_pond_50x.p3d] 141083 + ["WaterHoleProxy",[14176.6,12116.1,2.88378],0], // [52094: sk_pond_50x.p3d] 141083 + ["WaterHoleProxy",[13795.9,12442.2,2.54335],0], // [409416: pond_small_07.p3d] 137080 + ["WaterHoleProxy",[13165.3,3907.17,2.3602],0], // [959670: sk_pond_50x.p3d] 131165 + ["WaterHoleProxy",[14150.1,12181.7,4.22544],0], // [52096: sk_pond_50x.p3d] 141082 + ["WaterHoleProxy",[14196.1,12162.2,1.97623],0], // [52048: sk_pond_50x.p3d] 141083 + ["WaterHoleProxy",[14169.6,12227.7,4.90834],0], // [52097: sk_pond_50x.p3d] 141082 + ["WaterHoleProxy",[14215.7,12208.2,2.71867],0], // [52036: sk_pond_50x.p3d] 142082 + ["WaterHoleProxy",[15317.8,5955.62,-2.80199],0], // [821993: sk_pond_50x.p3d] 153145 + ["WaterHoleProxy",[13518.6,12905.6,1.40116],0], // [398388: pond_small_09.p3d] 135075 + ["WaterHoleProxy",[15531.2,6125.95,-2.64243],0], // [841003: sk_pond_50x.p3d] 155143 + ["WaterHoleProxy",[14697.3,4769.11,3.87218],0], // [844954: sk_pond_50x.p3d] 146157 + ["WaterHoleProxy",[6122.57,5123.45,-0.0539093],0], // [679856: misc_well.p3d] 061153 + ["WaterHoleProxy",[9804.14,13986.4,1.12068],0], // [248698: pond_small_02.p3d] 098064 + ["WaterHoleProxy",[9920.89,14201.9,1.22956],0], // [222701: pond_small_03.p3d] 099062 + ["WaterHoleProxy",[9926.72,14281.3,1.72974],0], // [222696: pond_big_02.p3d] 099061 + ["WaterHoleProxy",[6743.57,12920.8,1.04188],0], // [110722: pond_small_10.p3d] 067075 + ["WaterHoleProxy",[9981.65,14370.1,2.49849],0], // [222702: pond_small_02.p3d] 099061 + ["WaterHoleProxy",[6799.05,13006.2,0.802612],0], // [128645: pond_small_11.p3d] 067074 + ["WaterHoleProxy",[6704.98,12952.4,0.896782],0], // [128650: pond_small_12.p3d] 067075 + ["WaterHoleProxy",[6307.72,4017.32,1.01775],0], // [710994: rasman_pond.p3d] 063164 + ["WaterHoleProxy",[4458.62,9331.67,2.03163],0], // [619754: nagara_pond_1.p3d] 044111 + ["WaterHoleProxy",[4678.44,10484.4,1.84071],0], // [619644: pond_small_10.p3d] 046099 + ["WaterHoleProxy",[12210.6,14561.1,1.24606],0], // [264717: nagara_pond_1.p3d] 122059 + ["WaterHoleProxy",[12878.1,14492.3,-0.705601],0], // [976518: sk_pond_50x.p3d] 128059 + ["WaterHoleProxy",[12927.5,14500.2,1.42102],0], // [976517: sk_pond_50x.p3d] 129059 + ["WaterHoleProxy",[8844.21,14646,1.84563],0], // [222571: pond_small_07.p3d] 088058 + ["WaterHoleProxy",[7577.08,14133.2,-3.43323e-005],0], // [172830: misc_well.p3d] 075063 + ["WaterHoleProxy",[12870.2,14541.7,1.01112],0], // [976516: sk_pond_50x.p3d] 128059 + ["WaterHoleProxy",[5857.86,3956.34,1.87843],0], // [695477: nagara_pond_1.p3d] 058165 + ["WaterHoleProxy",[8860.1,14691.2,1.14171],0], // [222542: pond_small_09.p3d] 088057 + ["WaterHoleProxy",[12919.6,14549.6,3.23018],0], // [293661: sk_pond_50x.p3d] 129059 + ["WaterHoleProxy",[14327.8,13880.5,-0.156022],0], // [846656: sk_pond_50x.p3d] 143065 + ["WaterHoleProxy",[12848.1,14712.4,1.24404],0], // [293675: pond_small_10.p3d] 128057 + ["WaterHoleProxy",[5401.35,4219.47,2.13702],0], // [678642: kakaru_pond.p3d] 054162 + ["WaterHoleProxy",[16621.8,11761.4,2.92961],0], // [456006: pond_small_04.p3d] 166087 + ["WaterHoleProxy",[16616.1,4972.86,2.00712],0], // [7618: pond_small_01.p3d] 166155 + ["WaterHoleProxy",[16839,5163.87,0],0], // [36254: misc_well.p3d] 168153 + ["WaterHoleProxy",[8937.28,1638.61,0.688255],0], // [866750: sk_pond_50x.p3d] 089188 + ["WaterHoleProxy",[4204.53,4895.96,1.87843],0], // [662926: nagara_pond_1.p3d] 042155 + ["WaterHoleProxy",[3948.11,4871.19,1.87843],0], // [662930: nagara_pond_1.p3d] 039156 + ["WaterHoleProxy",[3219.63,10457.8,1.62751],0], // [632379: pond_small_06.p3d] 032100 + ["WaterHoleProxy",[9611.45,16079.3,0.925324],0], // [198164: pond_small_02.p3d] 096044 + ["WaterHoleProxy",[17597.1,4630.28,-2.33115],0], // [3508: sk_pond_50x.p3d] 175158 + ["WaterHoleProxy",[2791.64,8754.18,-0.1236],0], // [627213: nagara_pond_1.p3d] 027117 + ["WaterHoleProxy",[17647.1,4680.28,4.831],0], // [1349: sk_pond_50x.p3d] 176157 + ["WaterHoleProxy",[17647.1,4630.28,14.6426],0], // [1201: sk_pond_50x.p3d] 176158 + ["WaterHoleProxy",[17697.1,4680.28,4.79833],0], // [1281: sk_pond_50x.p3d] 176157 + ["WaterHoleProxy",[17647.1,4580.28,-2.00972],0], // [21472: sk_pond_50x.p3d] 176158 + ["WaterHoleProxy",[17697.1,4630.28,11.5447],0], // [1211: sk_pond_50x.p3d] 176158 + ["WaterHoleProxy",[3507.66,4872.45,1.80212],0], // [674052: kakaru_pond.p3d] 035156 + ["WaterHoleProxy",[18404.1,10360.3,-1.15134],0], // [561293: sk_pond_50x.p3d] 184101 + ["WaterHoleProxy",[17747.1,4680.28,-2.96148],0], // [21475: sk_pond_50x.p3d] 177157 + ["WaterHoleProxy",[17697.1,4580.28,-2.61644],0], // [21473: sk_pond_50x.p3d] 176158 + ["WaterHoleProxy",[17747.1,4630.28,-0.662346],0], // [1210: sk_pond_50x.p3d] 177158 + ["WaterHoleProxy",[2667.13,8731.55,0.425976],0], // [627211: nagara_pond_1.p3d] 026117 + ["WaterHoleProxy",[18575.9,9994.99,-11.8012],0], // [796458: sk_pond_50x.p3d] 185104 + ["WaterHoleProxy",[18554.8,10205,-2.88353],0], // [802612: sk_pond_50x.p3d] 185102 + ["WaterHoleProxy",[18076.6,11701.5,3.09347],0], // [572152: pond_small_09.p3d] 180087 + ["WaterHoleProxy",[5463.33,15046.6,1.97],0], // [164326: pond_small_02.p3d] 054054 + ["WaterHoleProxy",[5414.24,15066.6,2.79421],0], // [164312: pond_small_05.p3d] 054054 + ["WaterHoleProxy",[3932.53,2990.15,-0.501898],0], // [695707: rasman_pond.p3d] 039174 + ["WaterHoleProxy",[19076.9,6383.57,0.975849],0], // [2813: nagara_pond_1.p3d] 190140 + ["WaterHoleProxy",[2328.37,11233,0.00192261],0], // [635420: misc_well.p3d] 023092 + ["WaterHoleProxy",[18400.8,3345.79,1.15218],0], // [931875: sk_pond_50x.p3d] 184171 + ["WaterHoleProxy",[5566.61,16182.1,-0.112603],0], // [975772: misc_well.p3d] 055042 + ["WaterHoleProxy",[18369,17160.6,6.48499e-005],0] // [554594: misc_wellpump.p3d] 183033 +],true,true,true] call fnc_spawnObjects; + diff --git a/SQF/dayz_code/system/player_monitor.fsm b/SQF/dayz_code/system/player_monitor.fsm index 91d68b69..2a2d74e4 100644 --- a/SQF/dayz_code/system/player_monitor.fsm +++ b/SQF/dayz_code/system/player_monitor.fsm @@ -1,12 +1,12 @@ /*%FSM*/ /*%FSM*/ /* -item0[] = {"init",0,250,-75.000000,-200.000000,25.000000,-150.000000,0.000000,"init"}; -item1[] = {"isServer",4,218,50.000000,-200.000000,150.000000,-150.000000,0.000000,"isServer"}; -item2[] = {"wait",2,250,50.000000,-125.000000,150.000000,-75.000000,0.000000,"wait"}; -item3[] = {"Allow_Connection",4,218,50.000000,-50.000000,150.000000,0.000000,0.000000,"Allow" \n "Connection"}; +item0[] = {"init",0,250,-75.000000,-600.000000,25.000000,-550.000000,0.000000,"init"}; +item1[] = {"isServer",4,218,-225.000000,-600.000000,-125.000000,-550.000000,0.000000,"isServer"}; +item2[] = {"wait",2,250,-350.000000,-525.000000,-250.000000,-475.000000,0.000000,"wait"}; +item3[] = {"Allow_Connection",1,250,-225.000000,-450.000000,-125.000000,-400.000000,0.000000,"Allow" \n "Connection"}; item4[] = {"Loading",2,250,-75.000000,-50.000000,25.000000,0.000000,0.000000,"Loading"}; -item5[] = {"Client",4,218,-75.000000,-125.000000,25.000000,-75.000000,0.000000,"Client"}; +item5[] = {"Client",4,218,-75.000000,-525.000000,25.000000,-475.000000,0.000000,"Client"}; item6[] = {"player____null_player",4,218,-175.000000,100.000000,-75.000000,150.000000,0.000000,"player != null" \n "player == player"}; item7[] = {"Collect",2,250,-75.000000,150.000000,25.000000,200.000000,0.000000,"Collect"}; item8[] = {"Has_PlayerID",4,218,-175.000000,200.000000,-75.000000,250.000000,1.000000,"Has PlayerID"}; @@ -18,9 +18,9 @@ item13[] = {"Parse_Login",2,250,-75.000000,550.000000,25.000000,600.000000,0.000 item14[] = {"Hive_Bad",4,218,125.000000,550.000000,225.000000,600.000000,10.000000,"Hive" \n "Bad"}; item15[] = {"ERROR__Wrong_HIVE",2,250,325.000000,550.000000,425.000000,600.000000,0.000000,"ERROR:" \n "Wrong HIVE" \n "Version"}; item16[] = {"Character_Setup",4,218,-175.000000,600.000000,-75.000000,650.000000,0.000000,"Character" \n "Setup"}; -item17[] = {"Phase_One",2,4346,-75.000000,650.000000,25.000000,700.000000,0.000000,"Phase One"}; +item17[] = {"Phase_One",2,250,-75.000000,650.000000,25.000000,700.000000,0.000000,"Phase One"}; item18[] = {"Response",4,218,-175.000000,700.000000,-75.000000,750.000000,0.000000,"Response"}; -item19[] = {"Phase_Two",2,250,-75.000000,750.000000,25.000000,800.000000,0.000000,"Phase Two"}; +item19[] = {"Phase_Two",2,4346,-75.000000,750.000000,25.000000,800.000000,0.000000,"Phase Two"}; item20[] = {"Dead_Player",4,218,125.000000,750.000000,225.000000,800.000000,0.000000,"Dead" \n "Player"}; item21[] = {"ERROR__Player_Already",2,250,325.000000,750.000000,425.000000,800.000000,0.000000,"ERROR:" \n "Player Already" \n "Dead"}; item22[] = {"Alive",4,218,-175.000000,800.000000,-75.000000,850.000000,0.000000,"Alive"}; @@ -40,7 +40,7 @@ item35[] = {"sleep",4,218,525.000000,550.000000,625.000000,600.000000,0.000000," item36[] = {"sleep",4,218,525.000000,750.000000,625.000000,800.000000,0.000000,"sleep"}; item37[] = {"sleep",4,218,525.000000,850.000000,625.000000,900.000000,0.000000,"sleep"}; item38[] = {"Enable_Sim",2,250,-75.000000,50.000000,25.000000,100.000000,0.000000,"Enable Sim"}; -item39[] = {"Initialized",4,218,-175.000000,0.000000,-75.000000,50.000000,0.000000,"Initialized"}; +item39[] = {"Initialized",4,218,25.000000,0.000000,125.000000,50.000000,0.000000,"Initialized"}; item40[] = {"ERROR__Client_Files",2,250,325.000000,50.000000,425.000000,100.000000,0.000000,"ERROR:" \n "Client Files " \n "are missing missing"}; item41[] = {"sleep_",4,218,525.000000,50.000000,625.000000,100.000000,0.000000,"sleep" \n ""}; item42[] = {"Stream",2,250,-75.000000,1050.000000,25.000000,1100.000000,0.000000,"Stream"}; @@ -109,135 +109,153 @@ item104[] = {"retry_Login",4,218,-250.000000,350.000000,-150.000000,400.000000,0 item105[] = {"",7,210,-379.000031,471.000000,-371.000000,479.000000,0.000000,""}; item106[] = {"Finish_1",2,250,-75.000000,1500.000000,25.000000,1550.000000,0.000000,"Finish"}; item107[] = {"dayz_preloadFini",4,218,50.000000,1550.000000,150.000000,1600.000000,0.000000,"dayz_preloadFinished"}; +item108[] = {"dayz_util_dll_Ch",2,250,25.000000,-225.000000,125.000000,-175.000000,0.000000,"dayz_util.dll" \n "Check"}; +item109[] = {"Loaded",4,218,25.000000,-150.000000,125.000000,-100.000000,0.000000,"Loaded"}; +item110[] = {"Not_Loaded",4,218,175.000000,-225.000000,275.000000,-175.000000,0.000000,"Not Loaded"}; +item111[] = {"get_ready_to_clo_2",2,250,325.000000,-225.000000,425.000000,-175.000000,0.000000,"get ready to close"}; +item112[] = {"",7,210,821.000000,-204.000000,829.000000,-196.000000,0.000000,""}; +item113[] = {"sleep_",4,218,525.000000,-225.000000,625.000000,-175.000000,0.000000,"sleep" \n ""}; +item114[] = {"Dayz_clientEXT_C",2,250,-75.000000,-425.000000,25.000000,-375.000000,0.000000,"Dayz_clientEXT" \n "Check"}; +item115[] = {"False",4,218,-75.000000,-350.000000,25.000000,-300.000000,0.000000,"False"}; +item116[] = {"True",4,218,25.000000,-425.000000,125.000000,-375.000000,0.000000,"True"}; link0[] = {0,1}; link1[] = {0,5}; -link2[] = {1,2}; -link3[] = {2,3}; -link4[] = {3,4}; -link5[] = {4,39}; -link6[] = {5,4}; -link7[] = {6,7}; -link8[] = {7,8}; -link9[] = {7,9}; -link10[] = {8,54}; -link11[] = {9,10}; -link12[] = {10,34}; -link13[] = {11,12}; -link14[] = {11,45}; -link15[] = {12,99}; -link16[] = {13,14}; -link17[] = {13,16}; -link18[] = {13,57}; -link19[] = {14,15}; -link20[] = {15,35}; -link21[] = {16,17}; -link22[] = {17,18}; -link23[] = {18,19}; -link24[] = {19,20}; -link25[] = {19,22}; -link26[] = {20,21}; -link27[] = {21,36}; -link28[] = {22,23}; -link29[] = {23,24}; -link30[] = {23,26}; -link31[] = {24,52}; -link32[] = {25,28}; -link33[] = {26,27}; -link34[] = {27,37}; -link35[] = {28,29}; -link36[] = {29,30}; -link37[] = {30,31}; -link38[] = {31,53}; -link39[] = {33,72}; -link40[] = {34,82}; -link41[] = {35,77}; -link42[] = {36,78}; -link43[] = {37,80}; -link44[] = {38,6}; -link45[] = {38,76}; -link46[] = {39,38}; -link47[] = {40,41}; -link48[] = {41,81}; -link49[] = {42,43}; -link50[] = {43,25}; -link51[] = {44,11}; -link52[] = {45,46}; -link53[] = {46,44}; -link54[] = {46,47}; -link55[] = {47,48}; -link56[] = {48,49}; -link57[] = {49,98}; -link58[] = {51,42}; -link59[] = {52,33}; -link60[] = {52,51}; -link61[] = {53,106}; -link62[] = {54,55}; -link63[] = {54,56}; -link64[] = {55,74}; -link65[] = {56,11}; -link66[] = {57,58}; -link67[] = {58,89}; -link68[] = {58,93}; -link69[] = {59,60}; -link70[] = {60,68}; -link71[] = {61,85}; -link72[] = {61,91}; -link73[] = {62,63}; -link74[] = {63,70}; -link75[] = {64,67}; -link76[] = {64,69}; -link77[] = {65,71}; -link78[] = {66,61}; -link79[] = {67,65}; -link80[] = {68,64}; -link81[] = {69,66}; -link82[] = {70,71}; -link83[] = {71,88}; -link84[] = {72,73}; -link85[] = {73,79}; -link86[] = {74,75}; -link87[] = {75,83}; -link88[] = {76,40}; -link89[] = {77,50}; -link90[] = {78,77}; -link91[] = {79,80}; -link92[] = {80,78}; -link93[] = {81,82}; -link94[] = {82,83}; -link95[] = {83,98}; -link96[] = {84,58}; -link97[] = {85,61}; -link98[] = {86,60}; -link99[] = {87,63}; -link100[] = {88,16}; -link101[] = {89,90}; -link102[] = {90,59}; -link103[] = {90,84}; -link104[] = {90,86}; -link105[] = {91,92}; -link106[] = {92,62}; -link107[] = {92,87}; -link108[] = {92,94}; -link109[] = {93,58}; -link110[] = {94,61}; -link111[] = {95,105}; -link112[] = {96,97}; -link113[] = {96,103}; -link114[] = {97,101}; -link115[] = {98,50}; -link116[] = {99,95}; -link117[] = {99,100}; -link118[] = {100,13}; -link119[] = {101,102}; -link120[] = {101,103}; -link121[] = {102,96}; -link122[] = {103,104}; -link123[] = {104,11}; -link124[] = {105,96}; -link125[] = {106,107}; -link126[] = {107,32}; -globals[] = {25.000000,1,0,0,0,640,480,1,257,6316128,1,-515.955017,323.737183,917.740479,113.035477,624,598,1}; -window[] = {2,-1,-1,-1,-1,552,26,1046,26,3,642}; +link2[] = {1,3}; +link3[] = {4,39}; +link4[] = {5,114}; +link5[] = {6,7}; +link6[] = {7,8}; +link7[] = {7,9}; +link8[] = {8,54}; +link9[] = {9,10}; +link10[] = {10,34}; +link11[] = {11,12}; +link12[] = {11,45}; +link13[] = {12,99}; +link14[] = {13,14}; +link15[] = {13,16}; +link16[] = {13,57}; +link17[] = {14,15}; +link18[] = {15,35}; +link19[] = {16,17}; +link20[] = {17,18}; +link21[] = {18,19}; +link22[] = {19,20}; +link23[] = {19,22}; +link24[] = {20,21}; +link25[] = {21,36}; +link26[] = {22,23}; +link27[] = {23,24}; +link28[] = {23,26}; +link29[] = {24,52}; +link30[] = {25,28}; +link31[] = {26,27}; +link32[] = {27,37}; +link33[] = {28,29}; +link34[] = {29,30}; +link35[] = {30,31}; +link36[] = {31,53}; +link37[] = {33,72}; +link38[] = {34,82}; +link39[] = {35,77}; +link40[] = {36,78}; +link41[] = {37,80}; +link42[] = {38,6}; +link43[] = {38,76}; +link44[] = {39,38}; +link45[] = {40,41}; +link46[] = {41,81}; +link47[] = {42,43}; +link48[] = {43,25}; +link49[] = {44,11}; +link50[] = {45,46}; +link51[] = {46,44}; +link52[] = {46,47}; +link53[] = {47,48}; +link54[] = {48,49}; +link55[] = {49,98}; +link56[] = {51,42}; +link57[] = {52,33}; +link58[] = {52,51}; +link59[] = {53,106}; +link60[] = {54,55}; +link61[] = {54,56}; +link62[] = {55,74}; +link63[] = {56,11}; +link64[] = {57,58}; +link65[] = {58,89}; +link66[] = {58,93}; +link67[] = {59,60}; +link68[] = {60,68}; +link69[] = {61,85}; +link70[] = {61,91}; +link71[] = {62,63}; +link72[] = {63,70}; +link73[] = {64,67}; +link74[] = {64,69}; +link75[] = {65,71}; +link76[] = {66,61}; +link77[] = {67,65}; +link78[] = {68,64}; +link79[] = {69,66}; +link80[] = {70,71}; +link81[] = {71,88}; +link82[] = {72,73}; +link83[] = {73,79}; +link84[] = {74,75}; +link85[] = {75,83}; +link86[] = {76,40}; +link87[] = {77,50}; +link88[] = {78,77}; +link89[] = {79,80}; +link90[] = {80,78}; +link91[] = {81,82}; +link92[] = {82,83}; +link93[] = {83,98}; +link94[] = {84,58}; +link95[] = {85,61}; +link96[] = {86,60}; +link97[] = {87,63}; +link98[] = {88,16}; +link99[] = {89,90}; +link100[] = {90,59}; +link101[] = {90,84}; +link102[] = {90,86}; +link103[] = {91,92}; +link104[] = {92,62}; +link105[] = {92,87}; +link106[] = {92,94}; +link107[] = {93,58}; +link108[] = {94,61}; +link109[] = {95,105}; +link110[] = {96,97}; +link111[] = {96,103}; +link112[] = {97,101}; +link113[] = {98,50}; +link114[] = {99,95}; +link115[] = {99,100}; +link116[] = {100,13}; +link117[] = {101,102}; +link118[] = {101,103}; +link119[] = {102,96}; +link120[] = {103,104}; +link121[] = {104,11}; +link122[] = {105,96}; +link123[] = {106,107}; +link124[] = {107,32}; +link125[] = {108,109}; +link126[] = {108,110}; +link127[] = {109,4}; +link128[] = {110,111}; +link129[] = {111,113}; +link130[] = {112,81}; +link131[] = {113,112}; +link132[] = {114,115}; +link133[] = {114,116}; +link134[] = {115,4}; +link135[] = {116,108}; +globals[] = {25.000000,1,0,0,0,640,480,1,273,6316128,1,-171.047653,515.509705,1124.457764,466.506927,624,598,1}; +window[] = {2,-1,-1,-1,-1,630,104,1124,104,3,642}; *//*%FSM*/ class FSM { @@ -276,7 +294,7 @@ class FSM class Client { priority = 0.000000; - to="Loading"; + to="Dayz_clientEXT_C"; precondition = /*%FSM*/""/*%FSM*/; condition=/*%FSM*/"!isServer"/*%FSM*/; action=/*%FSM*/""/*%FSM*/; @@ -286,7 +304,7 @@ class FSM class isServer { priority = 0.000000; - to="wait"; + to="Allow_Connection"; precondition = /*%FSM*/""/*%FSM*/; condition=/*%FSM*/"isServer"/*%FSM*/; action=/*%FSM*/""/*%FSM*/; @@ -303,16 +321,17 @@ class FSM precondition = /*%FSM*/""/*%FSM*/; class Links { - /*%FSM*/ - class Allow_Connection - { - priority = 0.000000; - to="Loading"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"allowConnection"/*%FSM*/; - action=/*%FSM*/""/*%FSM*/; - }; - /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Allow_Connection + { + name = "Allow_Connection"; + init = /*%FSM*/""/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { }; }; /*%FSM*/ @@ -617,7 +636,11 @@ class FSM " _countr = 0;" \n " {" \n " if (_x == ""BoltSteel"") then { _x = ""1Rnd_Arrow_Wood"" }; // Convert BoltSteel to WoodenArrow" \n - " if (_x == ""ItemBloodbag"") then { _x = ""bloodBagONEG"" }; // Convert ItemBloodbag into universal blood type/rh bag" \n + " if (dayz_classicBloodBagSystem) then {" \n + " if (_x in dayz_typedBags) then {_x = ""ItemBloodbag""};" \n + " } else {" \n + " if (_x == ""ItemBloodbag"") then { _x = ""bloodBagONEG"" }; // Convert ItemBloodbag into universal blood type/rh bag" \n + " };" \n " dayz_myBackpack addMagazineCargoGlobal [_x,(_backpackMagQty select _countr)];" \n " _countr = _countr + 1;" \n " } forEach _backpackMagTypes;" \n @@ -749,21 +772,23 @@ class FSM "};" \n "" \n "//Work out survival time" \n - "_totalMins = _survival select 0;" \n + "_totalMins = _survival select 3;" \n "_days = floor (_totalMins / 1440);" \n "_totalMins = (_totalMins - (_days * 1440));" \n "_hours = floor (_totalMins / 60);" \n "_mins = (_totalMins - (_hours * 60));" \n "" \n + "player setVariable [""SurvivalTime"",(_survival select 3),false];" \n + "" \n "//player variables" \n "dayz_characterID = _charID;" \n - "dayz_hasFire = objNull; //records players Fireplace object" \n "dayz_myCursorTarget = objNull;" \n "dayz_myPosition = getPosATL player; //Last recorded position" \n "dayz_lastMeal = (_lastAte * 60);" \n "dayz_lastDrink = (_lastDrank * 60);" \n "dayz_zombiesLocal = 0; //Used to record how many local zombies being tracked" \n - "dayz_Survived = _days; //total alive dayz" \n + "dayz_Survived = [_days,_hours,_mins,(_survival select 3)]; //total alive dayz" \n + "dayz_loginTime = diag_tickTime;" \n "" \n "//load in medical details" \n "r_player_dead = player getVariable[""USEC_isDead"",false];" \n @@ -885,6 +910,7 @@ class FSM "{deleteVehicle _x} count (_setPos nearEntities [""zZombie_Base"",30]);" \n "player setDir _setDir;" \n "player setPosATL _setPos;" \n + "if (surfaceIsWater respawn_west_original) then {player call fn_exitSwim;};" \n "player setVelocity [0,0,0.5];" \n "{player reveal _x} count _torev4l;" \n "dayz_myPosition = _setPos;" \n @@ -899,7 +925,7 @@ class FSM priority = 0.000000; to="Preload_Display"; precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"call sched_townGenerator_ready"/*%FSM*/; + condition=/*%FSM*/"(!dayz_townGenerator or {call sched_townGenerator_ready})"/*%FSM*/; action=/*%FSM*/""/*%FSM*/; }; /*%FSM*/ @@ -941,7 +967,6 @@ class FSM "player disableConversation true;" \n "" \n "eh_player_killed = player addeventhandler [""FiredNear"",{_this call player_weaponFiredNear;} ];" \n - "player addEventHandler ['Respawn', player_death];" \n "" \n "//_state = player getVariable[""state"",[]];" \n "_currentWpn = """";" \n @@ -1014,11 +1039,6 @@ class FSM { name = "Initialize"; init = /*%FSM*/"if (_debug == 1) then {diag_log [diag_tickTime,'Initialize'];};" \n - "" \n - "if (!isNil ""dayzInfectedCamps"") then {" \n - " //diag_log (""Infected Camps: "" +str(dayzInfectedCamps));" \n - " dayzInfectedCamps call infectedcamps;" \n - "};" \n "" \n "//Medical" \n "dayz_medicalH = [] execVM ""\z\addons\dayz_code\medical\init_medical.sqf""; //Medical Monitor Script (client only)" \n @@ -1047,7 +1067,7 @@ class FSM "dayz_musicH = [] spawn player_music;" \n "dayz_slowCheck = [] spawn player_spawn_2;" \n "Dayz_logonTime = daytime;" \n - "Dayz_logonDate = dayz_Survived;" \n + "Dayz_logonDate = floor ((_survival select 0) / 1440);" \n "_position = getPosATL player;" \n "_radius = 200;" \n "//Current amounts" \n @@ -1081,6 +1101,9 @@ class FSM init = /*%FSM*/"diag_log 'player_forceSave called from fsm';" \n "//call player_forceSave;" \n "" \n + "//Check for bad controls at login" \n + "false spawn ui_updateControls;" \n + "" \n "publicVariableServer ""PVDZ_plr_LoginRecord"";"/*%FSM*/; precondition = /*%FSM*/""/*%FSM*/; class Links @@ -1178,7 +1201,7 @@ class FSM priority = 0.000000; to="Load_In"; precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"(!isNil 'dayz_plantSpawner_done' && {dayz_plantSpawner_done == 2} && {!isNil 'BIS_fnc_init'})"/*%FSM*/; + condition=/*%FSM*/"((!dayz_townGenerator or (!isNil 'dayz_plantSpawner_done' && {dayz_plantSpawner_done == 2})) && (!isNil 'BIS_fnc_init'))"/*%FSM*/; action=/*%FSM*/""/*%FSM*/; }; /*%FSM*/ @@ -1762,11 +1785,12 @@ class FSM name = "Finish_1"; init = /*%FSM*/"if (_debug == 1) then {diag_log [diag_tickTime,'Finish'];};" \n "" \n - "PVDZ_plr_LoginRecord = [_playerUID,_charID,0,toArray (name vehicle player)];" \n + "dayz_playerName = if (alive player) then {name player} else {'unknown'};" \n + "PVDZ_plr_LoginRecord = [_playerUID,_charID,0,toArray dayz_playerName];" \n "" \n "progressLoadingScreen 1;" \n "" \n - "diag_log format ['Sent to server PVDZ_plr_LoginRecord: [%1, %2, %3, %4]',_playerUID,_charID,0,(name vehicle player)]; " \n + "diag_log format ['Sent to server PVDZ_plr_LoginRecord: [%1, %2, %3, %4]',_playerUID,_charID,0,dayz_playerName]; " \n "" \n "_world = toUpper(worldName); //toUpper(getText (configFile >> ""CfgWorlds"" >> (worldName) >> ""description""));" \n "_nearestCity = nearestLocations [getPos player, [""NameCityCapital"",""NameCity"",""NameVillage"",""NameLocal""],1000];" \n @@ -1774,13 +1798,19 @@ class FSM "Dayz_logonTown = ""Wilderness"";" \n "if (count _nearestCity > 0) then {Dayz_logonTown = text (_nearestCity select 0)};" \n "" \n - "[_world,Dayz_logonTown,format[localize ""str_player_06"",dayz_Survived]] spawn {uiSleep 5; _this spawn BIS_fnc_infoText;};" \n + "[_world,Dayz_logonTown,format[localize ""str_player_06"",(floor ((_survival select 0) / 1440))]] spawn {uiSleep 5; _this spawn BIS_fnc_infoText;};" \n "" \n "Dayz_loginCompleted = true;" \n "" \n "//Other Counters" \n " dayz_currentGlobalAnimals = count entities ""CAAnimalBase"";" \n - " dayz_currentGlobalZombies = count entities ""zZombie_Base"";"/*%FSM*/; + " dayz_currentGlobalZombies = count entities ""zZombie_Base"";" \n + "" \n + "{" \n + " call compile preprocessFileLineNumbers (""\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\""+_x+"".sqf""); " \n + "} count infectedWaterHoles;" \n + " " \n + "diag_log (infectedWaterHoles);"/*%FSM*/; precondition = /*%FSM*/""/*%FSM*/; class Links { @@ -1797,10 +1827,100 @@ class FSM }; }; /*%FSM*/ + /*%FSM*/ + class dayz_util_dll_Ch + { + name = "dayz_util_dll_Ch"; + init = /*%FSM*/"_isLoaded = (""dayz.util"" callextension ""1"") != """";" \n + "" \n + "diag_log format[""INFO -- CallExtension %1"",_isLoaded];"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Not_Loaded + { + priority = 0.000000; + to="get_ready_to_clo_2"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"!_isLoaded"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Loaded + { + priority = 0.000000; + to="Loading"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_isLoaded"/*%FSM*/; + action=/*%FSM*/"diag_log ""INFO - dayz_util.dll Extension Loaded"";"/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class get_ready_to_clo_2 + { + name = "get_ready_to_clo_2"; + init = /*%FSM*/"diag_log ""ERROR - dayz_util.dll Extension not Loaded"";" \n + "" \n + "dayz_loadScreenMsg =""Warning - Extension not Loaded"";" \n + "" \n + "_myTime = diag_tickTime;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class sleep_ + { + priority = 0.000000; + to="Disconnect"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"(diag_tickTime - _myTime) > 5 && !isnil ""BIS_MPF_InitDone"""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Dayz_clientEXT_C + { + name = "Dayz_clientEXT_C"; + init = /*%FSM*/""/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class True + { + priority = 0.000000; + to="dayz_util_dll_Ch"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"Dayz_clientEXT"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class False + { + priority = 0.000000; + to="Loading"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"!Dayz_clientEXT"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ }; initState="init"; finalStates[] = { + "Allow_Connection", "Finish", }; }; diff --git a/SQF/dayz_code/system/player_spawn_2.sqf b/SQF/dayz_code/system/player_spawn_2.sqf index e42b23c6..bfbf9b84 100644 --- a/SQF/dayz_code/system/player_spawn_2.sqf +++ b/SQF/dayz_code/system/player_spawn_2.sqf @@ -3,19 +3,11 @@ disableSerialization; _timeOut = 0; _messTimer = 0; _lastTemp = dayz_temperatur; -_debug = getMarkerpos "respawn_west"; _timer = diag_tickTime; _timer1 = diag_tickTime; -_spawnCheck = diag_tickTime; -_timer2 = diag_Ticktime; -_timer5 = diag_Ticktime; -_timer10 = diag_Ticktime; _timer30 = diag_Ticktime; _timer150 = diag_ticktime; - -_forceHumanity = false; -_runonce = false; _timerMonitor = diag_ticktime; player setVariable ["temperature",dayz_temperatur,true]; @@ -45,7 +37,7 @@ while {1 == 1} do { //reset position _randomSpot = true; _tempPos = getPosATL player; - _distance = _debug distance _tempPos; + _distance = respawn_west_original distance _tempPos; if (_distance < 2000) then { _randomSpot = false; }; @@ -73,29 +65,12 @@ while {1 == 1} do { }; if (_timeOut > 150) then { - _humanity = player getVariable ["humanity",0]; - if (_humanity < 1 or _forceHumanity) then { - if (vehicle player != player) then { - [round(_timeOut / 10),0] call player_humanityChange; - _forceHumanity = false; - } else { - _humanity = _humanity + round(_timeOut / 10); - player setVariable["humanity",_humanity,true]; - _forceHumanity = true; - }; - }; - _timeOut = 0; - }; - -/* - if ((Dayz_loginCompleted) && (diag_tickTime < 25)) then { - - [0,0] call player_humanityChange; - - diag_log ("Running"); - _timer10 = diag_Ticktime; - }; -*/ + _humanity = player getVariable ["humanity",0]; + if (_humanity < 1) then { + [round(_timeOut / 10),0] call player_humanityChange; + }; + _timeOut = 0; + }; //reset OpenTarget variable if the timer has run out. if (OpenTarget_Time > 0 && {diag_tickTime - OpenTarget_Time >= dayz_OpenTarget_TimerTicks}) then @@ -218,7 +193,7 @@ while {1 == 1} do { // Regen some blood if player is well fed and resting // Attention: regen _result must not trigger the "up" arrow of the blood icon - if (r_player_blood < 12000 and dayz_hunger < SleepFood + if (r_player_blood < r_player_bloodTotal and dayz_hunger < SleepFood and dayz_thirst < SleepWater and !r_player_injured and !r_player_infected and !(r_player_Sepsis select 0) and !r_player_unconscious) then { @@ -226,10 +201,10 @@ while {1 == 1} do { switch (1==1) do { case (_result < 0.25) : {}; // not well fed case ((toArray(animationState player) select 5) == 112) : { // prone - _result = _result * (1 + 10 * (12000 - r_player_blood) / 12000); + _result = _result * (1 + 10 * (r_player_bloodTotal - r_player_blood) / r_player_bloodTotal); }; case (speed player < 1) : { // still - _result = _result * (1 + 4 * sqrt((12000 - r_player_blood) / 12000)); + _result = _result * (1 + 4 * sqrt((r_player_bloodTotal - r_player_blood) / r_player_bloodTotal)); }; default { // moving }; @@ -237,14 +212,21 @@ while {1 == 1} do { r_player_bloodregen = r_player_bloodregen + _result; }; - if (r_player_blood > 12000) then { - r_player_blood = 12000; + if (r_player_blood > r_player_bloodTotal) then { + r_player_blood = r_player_bloodTotal; }; //Record low bloow _lowBlood = player getVariable ["USEC_lowBlood", false]; - if ((r_player_blood < r_player_bloodTotal) and !_lowBlood) then { - player setVariable["USEC_lowBlood",true,true]; + if (r_player_blood < r_player_bloodTotal) then { + if (!_lowBlood) then { + player setVariable ["USEC_lowBlood",true,true]; + }; + } else { + if (_lowBlood && !r_player_injured) then { + player setVariable ["USEC_lowBlood",false,true]; + r_player_lowblood = false; + }; }; //Broadcast Hunger/Thirst @@ -264,13 +246,9 @@ while {1 == 1} do { PVDZ_plr_Save = [player,nil,false,dayz_playerAchievements]; publicVariableServer "PVDZ_plr_Save"; - PVDZ_serverStoreVar = [player,"Achievements",dayz_playerAchievements]; - publicVariableServer "PVDZ_serverStoreVar"; - player setVariable ["Achievements",dayz_playerAchievements,false]; - - if (isServer) then { - PVDZ_plr_Save call server_playerSync; - }; + //PVDZ_serverStoreVar = [player,"Achievements",dayz_playerAchievements]; + //publicVariableServer "PVDZ_serverStoreVar"; + //player setVariable ["Achievements",dayz_playerAchievements,false]; dayz_unsaved = false; dayz_lastSave = diag_ticktime; @@ -310,8 +288,6 @@ while {1 == 1} do { player setVariable["startcombattimer", 0, false]; }; }; - //setGroupIconsVisible [false,false]; - //clearGroupIcons group player; uiSleep 2; @@ -364,10 +340,9 @@ while {1 == 1} do { diag_log (str(_backpacks)); if ((count (_weapons select 0) < 1) and (count (_magazines select 0) < 1) and (count (_backpacks select 0) < 1)) then { - //remove vehicle, Need to ask server to remove. + diag_log format["Deleting empty nearby box: %1",_x]; PVDZ_obj_Delete = [_x,player]; - diag_log (str(PVDZ_obj_Delete)); publicVariableServer "PVDZ_obj_Delete"; }; @@ -379,7 +354,7 @@ while {1 == 1} do { //Two primary guns pickup exploit fix if ((primaryWeapon player != "") && (!(primaryWeapon player in MeleeWeapons)) && (dayz_onBack != "") && (!(dayz_onBack in MeleeWeapons)) && (isNull (findDisplay 106)) && (animationState player != "amovpknlmstpslowwrfldnon_amovpknlmstpsraswrfldnon" OR animationState player != "amovpercmstpslowwrfldnon_amovpercmstpsraswrfldnon" OR animationState player != "amovpercmstpslowwrfldnon_amovpercmstpsraswrfldnon")) then { - cutText [localize "str_player_ammo_2primary","PLAIN DOWN"]; + localize "str_player_ammo_2primary" call dayz_rollingMessages; player playActionNow "stop"; player action ["dropWeapon", player, primaryWeapon player]; //sleep 3; @@ -392,7 +367,7 @@ while {1 == 1} do { _stop = diag_tickTime; /* if ((diag_tickTime - _timerMonitor) > 60) then { - diag_log format ["Loop Monitor - Spawn2: %1, DA: %2, UA: %3, SA: %4",(_stop - _start),(diag_tickTime - (player getVariable "damageActions")),(diag_tickTime - (player getVariable "upgradeActions")),(diag_tickTime - (player getVariable "selfActions"))]; + diag_log format ["Loop Monitor - Spawn2: %1, DA: %2, SA: %3",(_stop - _start),(diag_tickTime - (player getVariable "damageActions")),(diag_tickTime - (player getVariable "selfActions"))]; _timerMonitor = diag_ticktime; }; */ diff --git a/SQF/dayz_code/system/progress_monitor.sqf b/SQF/dayz_code/system/progress_monitor.sqf index 503bc346..1a501a33 100644 --- a/SQF/dayz_code/system/progress_monitor.sqf +++ b/SQF/dayz_code/system/progress_monitor.sqf @@ -1,4 +1,4 @@ -private["_display","_control1","_control2"]; +private["_display","_control1","_control2","_watermark"]; disableSerialization; //diag_log "DEBUG: loadscreen guard started."; @@ -6,21 +6,35 @@ _timeoutStart=diag_ticktime; while {true} do { if (diag_ticktime - _timeoutStart >= 120) exitWith { 1 cutText [localize "str_player_login_timeout", "PLAIN DOWN"]; - sleep 5; + uiSleep 5; endMission "END1"; }; if ((!isNil "Dayz_loginCompleted") and {(Dayz_loginCompleted)}) exitWith { //diag_log [ __FILE__, __LINE__, "End loop"]; + + // Logo watermark: adding a logo in the bottom left corner of the screen with the server name + if (!isNil "dayZ_serverName") then { + 5 cutRsc ["wm_disp","PLAIN"]; + _watermark = (uiNamespace getVariable "wm_disp") displayCtrl 1; + _watermark ctrlSetText dayZ_serverName; + if (profileNamespace getVariable ["streamerMode",0] == 1) then {_watermark ctrlShow false;}; + }; + + if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { + dayz_rulesHandle = execVM "rules.sqf"; + }; }; _display = uiNameSpace getVariable "BIS_loadingScreen"; - if ((!isNil "_display") and {(dayz_loadScreenMsg != "" )}) then { - _control1 = _display displayctrl 8400; - _control1 ctrlSetText dayz_loadScreenMsg; + if (!isNil "_display") then { + if (dayz_loadScreenMsg != "" ) then { + _control1 = _display displayctrl 8400; + _control1 ctrlSetText dayz_loadScreenMsg; + }; + _control2 = _display displayctrl 102; + _control2 ctrlSetText format["%1",floor(diag_ticktime - _timeoutStart)]; }; - _control2 = _display displayctrl 102; - _control2 ctrlSetText format["%1",floor(diag_ticktime - _timeoutStart)]; - sleep 0.2; + uiSleep 0.2; //diag_log [ __FILE__, __LINE__, "Looping..."]; }; diff --git a/SQF/dayz_code/system/scheduler/sched_animals.sqf b/SQF/dayz_code/system/scheduler/sched_animals.sqf index dc1165e9..2d1d3507 100644 --- a/SQF/dayz_code/system/scheduler/sched_animals.sqf +++ b/SQF/dayz_code/system/scheduler/sched_animals.sqf @@ -3,7 +3,7 @@ sched_animals = { HIDE_FSM_VARS - private ["_min","_count","_global","_obj","_x","_animalssupported","_type","_root","_favouritezones","_angle","_radius","_randrefpoint","_PosList","_Pos","_agent","_pos", "_vehicle", "_speed", "_i"]; + private ["_min","_count","_global","_obj","_x","_animalssupported","_type","_root","_favouritezones","_angle","_radius","_randrefpoint","_PosList","_Pos","_agent","_pos", "_vehicle", "_speed"]; _min = diag_fpsmin; _vehicle = vehicle player; _count = 0; @@ -43,9 +43,9 @@ sched_animals = { if (_speed distance [0,0,0] > 12) exitWith {objNull}; if ((_vehicle != player) AND {((count crew _vehicle > 1) AND {(driver _vehicle != player)})}) exitWith {objNull}; - //diag_log [ dayz_maxGlobalAnimals / (1 max count playableUnits), ceil(1.2*(dayz_maxGlobalAnimals - _global) / (1 max count playableUnits)) min (dayz_maxAnimals - _count), _global,dayz_maxAnimals, _count, dayz_maxGlobalAnimals, _global ]; - for "_x" from 0 max (2 min (ceil(1.5*(dayz_maxGlobalAnimals - _global) / (1 max count playableUnits)) min (dayz_maxAnimals - _count))) to 1 step -1 do { - _animalssupported = ["hen","hen","hen","Cow","Sheep","WildBoar","WildBoar","WildBoar","Goat","Rabbit","Rabbit"]; + //diag_log [ dayz_maxGlobalAnimals / (1 max (playersNumber west)), ceil(1.2*(dayz_maxGlobalAnimals - _global) / (1 max (playersNumber west))) min (dayz_maxAnimals - _count), _global,dayz_maxAnimals, _count, dayz_maxGlobalAnimals, _global ]; + for "_x" from 0 max (2 min (ceil(1.5*(dayz_maxGlobalAnimals - _global) / (1 max (playersNumber west))) min (dayz_maxAnimals - _count))) to 1 step -1 do { + _animalssupported = ["Hen","Hen","Hen","Cow","Sheep","WildBoar","WildBoar","WildBoar","Goat","Rabbit","Rabbit"]; _type = _animalssupported select floor random count _animalssupported; if (_type == "Cow") then { _animalssupported = ["Cow01","Cow02","Cow03","Cow04"]; diff --git a/SQF/dayz_code/system/scheduler/sched_antiTeleport.sqf b/SQF/dayz_code/system/scheduler/sched_antiTeleport.sqf index 60691ac9..b892a3d3 100644 --- a/SQF/dayz_code/system/scheduler/sched_antiTeleport.sqf +++ b/SQF/dayz_code/system/scheduler/sched_antiTeleport.sqf @@ -6,21 +6,21 @@ */ sched_antiTP_init = { - if (dayz_antihack == 1) then { diag_log [ diag_ticktime, __FILE__, "Anti Teleport inited"]; }; - [dayz_antihack == 1, [], 0, 0, objNull] + diag_log [ diag_ticktime, __FILE__, "Anti Teleport inited"]; + [true, [], 0, 0, objNull, respawn_west_original] }; sched_antiTP = { private ["_lastpos","_lastheight","_lasttime","_lastVehicle","_debug","_curpos","_distance","_curtime","_difftime", "_curheight","_speed","_topSpeed","_terrainHeight","_safetyVehicle","_curPos"]; - _antihack = _this select 0; _lastpos = _this select 1; _lastheight = _this select 2; _lasttime = _this select 3; _lastVehicle = _this select 4; + _debug = _this select 5; - if (((_antihack) and {(typeName player == "OBJECT")}) AND {((player in playableUnits) AND {(alive player)})}) then { + if (typeName player == "OBJECT" && {(player in playableUnits) && (alive player)}) then { if (count _lastpos != 3) then { _lastpos = getPosATL (vehicle player); _lastheight = (ATLtoASL _lastpos) select 2; @@ -31,7 +31,6 @@ sched_antiTP = { _distance = _lastpos distance _curpos; _curtime = diag_ticktime; _difftime = _curtime - _lasttime; - _debug = getMarkerpos "respawn_west"; if ((_distance > 10) OR {(_difftime > 1)}) then { _curheight = (ATLtoASL _curpos) select 2; @@ -63,6 +62,6 @@ sched_antiTP = { }; }; - [_antihack, _lastpos, _lastheight, _lasttime, _lastVehicle] + ["", _lastpos, _lastheight, _lasttime, _lastVehicle, _debug] }; \ No newline at end of file diff --git a/SQF/dayz_code/system/scheduler/sched_init.sqf b/SQF/dayz_code/system/scheduler/sched_init.sqf index 73407b23..4ceed37c 100644 --- a/SQF/dayz_code/system/scheduler/sched_init.sqf +++ b/SQF/dayz_code/system/scheduler/sched_init.sqf @@ -2,23 +2,29 @@ _base="z\addons\dayz_code\system\scheduler\"; call compile preprocessFileLineNumbers (_base+"sched_oneachframe.sqf"); -call compile preprocessFileLineNumbers (_base+"sched_towngenerator.sqf"); call compile preprocessFileLineNumbers (_base+"sched_throwable.sqf"); -call compile preprocessFileLineNumbers (_base+"sched_planthint.sqf"); call compile preprocessFileLineNumbers (_base+"sched_bloodstains.sqf"); call compile preprocessFileLineNumbers (_base+"sched_animals.sqf"); call compile preprocessFileLineNumbers (_base+"sched_buriedZeds.sqf"); call compile preprocessFileLineNumbers (_base+"sched_gravity.sqf"); -call compile preprocessFileLineNumbers (_base+"sched_security.sqf"); -call compile preprocessFileLineNumbers (_base+"sched_antiTeleport.sqf"); call compile preprocessFileLineNumbers (_base+"sched_newDay.sqf"); call compile preprocessFileLineNumbers (_base+"sched_spawnCheck.sqf"); call compile preprocessFileLineNumbers (_base+"sched_playerActions.sqf"); call compile preprocessFileLineNumbers (_base+"sched_medical.sqf"); -call compile preprocessFileLineNumbers (_base+"sched_achievement.sqf"); +//call compile preprocessFileLineNumbers (_base+"sched_achievement.sqf"); call compile preprocessFileLineNumbers (_base+"sched_gui.sqf"); call compile preprocessFileLineNumbers (_base+"sched_buildingBubble.sqf"); +if (dayz_antihack == 1) then { + call compile preprocessFileLineNumbers (_base+"sched_security.sqf"); + call compile preprocessFileLineNumbers (_base+"sched_antiTeleport.sqf"); +}; + +if (dayz_townGenerator) then { + call compile preprocessFileLineNumbers (_base+"sched_towngenerator.sqf"); + call compile preprocessFileLineNumbers (_base+"sched_planthint.sqf"); +}; + _list = []; if (!isNil "_this") then { call _this; }; // patch the code before starting the scheduler (the task contents can't be modified after the FSM has started) if (count _list == 0) then { @@ -26,18 +32,14 @@ if (count _list == 0) then { // period offset loop code <-> ctx, init code ->ctx [ 0, 0, sched_onEachFrame, sched_onEachFrame_init ], // SPECIAL: nul period -> code returns boolean requesting to skip other tasks [ 0.2, 20, sched_gravity, sched_gravity_init ], - [ 0.2, 0.15, sched_security, sched_security_init ], - [ 0.2, 0.05, sched_antiTP, sched_antiTP_init ], [ 0.1, 0.01, sched_playerActions ], - [ 0.2, 0.07, sched_townGenerator, sched_townGenerator_init ], [ 0.2, 0.12, sched_gui, sched_gui_init ], [ 2, 0.13, sched_medical_effects, sched_medical_effects_init ], [ 10, 15.13, sched_medical_effectsSlow ], [ 6, 24.18, sched_spawnCheck, sched_spawnCheck_init ], [ 1, 0.63, sched_throwable, sched_throwable_init ], [ 1, 0.33, sched_medical, sched_medical_init ], - [ 10, 0.26, sched_plantHint ], - [ 3, 2.70, sched_achievement, sched_achievement_init ], + //[ 3, 2.70, sched_achievement, sched_achievement_init ], [ 4, 2.38, sched_bloodStains, sched_bloodStains_init ], [ 60, 10.44, sched_animals ], [ 10, 5.44, sched_medical_slow ], @@ -45,6 +47,17 @@ if (count _list == 0) then { [ 60, 20.44, sched_newDay ], [ 1, 0.51, sched_buriedZeds, sched_buriedZeds_init ] ]; + + if (dayz_antihack == 1) then { + _list set [count _list, [0.2, 0.15, sched_security, sched_security_init]]; + _list set [count _list, [0.2, 0.05, sched_antiTP, sched_antiTP_init]]; + }; + + //Disable townGenerator for alternative maps or when junk is not wanted on Chernarus + if (dayz_townGenerator) then { + _list set [count _list, [0.2, 0.07, sched_townGenerator, sched_townGenerator_init]]; + _list set [count _list, [10, 0.26, sched_plantHint]]; + }; }; _list execFSM (_base+"scheduler.fsm"); diff --git a/SQF/dayz_code/system/scheduler/sched_medical.sqf b/SQF/dayz_code/system/scheduler/sched_medical.sqf index 37463f74..acf698a4 100644 --- a/SQF/dayz_code/system/scheduler/sched_medical.sqf +++ b/SQF/dayz_code/system/scheduler/sched_medical.sqf @@ -3,7 +3,7 @@ #include "scheduler.hpp" sched_medical_slow = { // 10 seconds - if (abs (r_player_blood - (player getVariable["USEC_BloodQty", 12000])) > 120) then { + if (abs (r_player_blood - (player getVariable["USEC_BloodQty", r_player_bloodTotal])) > 120) then { //Do not global send player setVariable["USEC_BloodQty", r_player_blood, false]; player setVariable["medForceUpdate", true, false]; @@ -18,23 +18,17 @@ sched_medical_slow = { // 10 seconds sched_medical_init = { [ []spawn{} ] }; sched_medical = { // 1 second HIDE_FSM_VARS - private ["_method","_unconHdlr"]; + private "_unconHdlr"; _unconHdlr = _this select 0; - if (r_player_blood == 12000) then { + if (r_player_blood == r_player_bloodTotal) then { r_player_foodstack = 0; }; //r_player_unconscious = getVariable ["NORRN_unconscious", true]; - _method = switch (true) do { - case (dayz_lastDamageSource != "none" && diag_tickTime - dayz_lastDamageTime < 30): {dayz_lastDamageSource}; //Major event takes priority for cause of death - case (dayz_lastMedicalSource != "none" && diag_tickTime - dayz_lastMedicalTime < 10): {dayz_lastMedicalSource}; //Starve, Dehyd, Sick - default {"bled"}; //No other damage sources in last 30 seconds - }; - if (r_player_blood <= 0) then { - [dayz_sourceBleeding, _method] spawn player_death; + [dayz_sourceBleeding,"find"] call player_death; }; if (!canStand player) then { // be consistant with player_updateGui.sqf @@ -128,28 +122,21 @@ sched_medical_effects = { }; sched_medical_effectsSlow = { - // every 10 seconds: diziness using slow shakecam, to handle pain and lack of water + // every 10 seconds HIDE_FSM_VARS - if ((r_player_inpain or dayz_thirst >= SleepWater) and !r_player_unconscious and (1 > random 9) and (0 == player getVariable["startcombattimer",0])) then { - _blurTask = [] spawn { - _strength = 0.5 + (random 1); - _duration = 8 + (random 10); - enableCamShake true; - - //[posCoef, vertCoef, horzCoef, bankCoef, interpolation] - setCamShakeParams [0.02, 0.05, 0.1, 0.3, true]; - addCamShake [_strength, _duration, 0.4]; - playSound "breath_1"; - - //Lets make sure the spawn ends 1 sec after the _duration timer this should provide a smooth transtion rather then a snap to focus. - sleep _duration + 1; - }; - }; - - if (r_player_infected and !r_player_unconscious and 1 > random 2 and ((vehicle player == player and speed player < 5) or (vehicle player != player))) then { - [player,"cough",1,false] call dayz_zombieSpeak; - addCamShake [2, 1, 25]; + if (!r_player_unconscious && (r_player_infected or r_player_inpain)) then { + //Original pain shake was stronger [2, 1, 25] + //Low blood still uses strong shake in init_medical.sqf + addCamShake [1, 1, 20]; + + if (!r_player_infected) then { + playSound "breath_1"; //In pain + } else { + if (1 > random 2 && (speed player < 5 or {vehicle player != player})) then { + [player,"cough",1,false] call dayz_zombieSpeak; + }; + }; }; objNull diff --git a/SQF/dayz_code/system/scheduler/sched_oneachframe.sqf b/SQF/dayz_code/system/scheduler/sched_oneachframe.sqf index 5cac9884..5acc2f15 100644 --- a/SQF/dayz_code/system/scheduler/sched_oneachframe.sqf +++ b/SQF/dayz_code/system/scheduler/sched_oneachframe.sqf @@ -25,9 +25,11 @@ sched_onEachFrame = { }; if (sched_ef_lowFPSctr >= 100) then { sched_ef_lowFPSctr = 2; - hintSilent localize "str_player_lowPFS"; - diag_log format [ "h1nt: LOW FPS (%1)", diag_fpsmin ]; + if (!visibleMap) then { + hintSilent localize "str_player_lowPFS"; + diag_log format [ "h1nt: LOW FPS (%1)", diag_fpsmin ]; + }; }; _ret -}; \ No newline at end of file +}; diff --git a/SQF/dayz_code/system/scheduler/sched_playerActions.sqf b/SQF/dayz_code/system/scheduler/sched_playerActions.sqf index 9f0109db..141a43a3 100644 --- a/SQF/dayz_code/system/scheduler/sched_playerActions.sqf +++ b/SQF/dayz_code/system/scheduler/sched_playerActions.sqf @@ -2,9 +2,11 @@ sched_playerActions = { HIDE_FSM_VARS - call fnc_usec_selfActions; - call fnc_usec_damageActions; - call fnc_usec_upgradeActions; - + + if (!dayz_actionInProgress) then { + call fnc_usec_selfActions; + call fnc_usec_damageActions; + }; + objNull }; diff --git a/SQF/dayz_code/system/scheduler/sched_security.sqf b/SQF/dayz_code/system/scheduler/sched_security.sqf index 58f12ba9..03e4567f 100644 --- a/SQF/dayz_code/system/scheduler/sched_security.sqf +++ b/SQF/dayz_code/system/scheduler/sched_security.sqf @@ -1,15 +1,13 @@ // (c) facoptere@gmail.com, licensed to DayZMod for the community sched_security_init = { - if (dayz_antihack == 1) then { diag_log [ diag_ticktime, __FILE__, "Some security routines inited"]; }; - if (dayz_antihack == 1) then { [ "", time, 0, 0, grpNull ] } else { [] } + diag_log [ diag_ticktime, __FILE__, "Some security routines inited"]; + [ "", time, 0, 0, grpNull ] }; sched_security = { private ["_netid","_timeTrickCount","_idTrickCount","_time","_otime","_pid", "_quit", "_list"]; - if (count _this != 5) exitWith { [] }; - _netid = _this select 0; _otime = _this select 1; _idTrickCount = _this select 2; @@ -50,7 +48,7 @@ sched_security = { }; }; - if (isNull _grp) then { _grp = group ((allmissionobjects 'FunctionsManager') select 0); }; + if (isNull _grp) then { _grp = group ((entities 'FunctionsManager') select 0); }; if (!isNull _grp) then { _list = units _grp; if (count _list > 1) then { diff --git a/SQF/dayz_code/system/scheduler/sched_spawnCheck.sqf b/SQF/dayz_code/system/scheduler/sched_spawnCheck.sqf index acba04ac..832934cb 100644 --- a/SQF/dayz_code/system/scheduler/sched_spawnCheck.sqf +++ b/SQF/dayz_code/system/scheduler/sched_spawnCheck.sqf @@ -4,7 +4,7 @@ sched_spawnCheck_init = { []spawn{} }; sched_spawnCheck = { HIDE_FSM_VARS if (scriptDone _this) then { - _this = [] execVM '\z\addons\dayz_code\compile\player_spawnCheck.sqf'; // stuffed with "sleep" commands, can't put it in scheduler + _this = [] spawn player_spawnCheck; // calls buildingSpawnZombies --> zombie_generate which uses sleep, can't put in scheduler }; _this; }; \ No newline at end of file diff --git a/SQF/dayz_code/system/scheduler/sched_towngenerator.sqf b/SQF/dayz_code/system/scheduler/sched_towngenerator.sqf index 807bd49b..b9410d02 100644 --- a/SQF/dayz_code/system/scheduler/sched_towngenerator.sqf +++ b/SQF/dayz_code/system/scheduler/sched_towngenerator.sqf @@ -161,8 +161,12 @@ sched_townGenerator = { if ("" != (_x select 1)) then { _position = _x select 2; _blocked = false; - {if (_position distance _x < 150) exitWith {_blocked = true;};} forEach dayz_townGeneratorBlackList; - if (!_blocked && dayz_townGenerator) then { + { + if (_position distance _x < 150) exitWith { + _blocked = true; + }; + } forEach dayz_townGeneratorBlackList; + if (!_blocked) then { _object = (_x select 1) createVehicleLocal [0,0,0]; _object setDir (_x select 3); _object setPos [_position select 0,_position select 1,0]; diff --git a/SQF/dayz_code/system/watermark.sqf b/SQF/dayz_code/system/watermark.sqf deleted file mode 100644 index 2328accb..00000000 --- a/SQF/dayz_code/system/watermark.sqf +++ /dev/null @@ -1,7 +0,0 @@ -// Logo watermark: adding a logo in the bottom left corner of the screen with the server name in it -[] spawn { - waitUntil {(!isNull Player) and (alive Player) and (player == player)}; - waituntil {!(isNull (findDisplay 46))}; - 5 cutRsc ["wm_disp","PLAIN"]; - ((uiNamespace getVariable "wm_disp") displayCtrl 1) ctrlSetText dayZ_serverName; -}; diff --git a/SQF/dayz_code/system/zombie_agent.fsm b/SQF/dayz_code/system/zombie_agent.fsm index 83b25d57..33f47823 100644 --- a/SQF/dayz_code/system/zombie_agent.fsm +++ b/SQF/dayz_code/system/zombie_agent.fsm @@ -3,160 +3,204 @@ /* item0[] = {"init",0,250,50.000000,-400.000000,150.000000,-350.000000,0.000000,"init"}; item1[] = {"End",1,250,175.000000,-250.000000,275.000000,-200.000000,0.000000,"End"}; -item2[] = {"wait",4,218,-75.000000,0.000000,25.000000,50.000000,0.000000,"wait"}; -item3[] = {"Looking_for_Targ",2,250,-75.000000,75.000000,25.000000,125.000000,0.000000,"Looking for" \n "Target"}; +item2[] = {"wait",4,218,-75.000000,-50.000000,25.000000,0.000000,0.000000,"wait"}; +item3[] = {"Looking_for_Targ",2,250,-75.000000,25.000000,25.000000,75.000000,0.000000,"Looking for" \n "Target"}; item4[] = {"Not_Alive",4,218,25.000000,375.000000,125.000000,425.000000,5.000000,"Not" \n "Alive"}; -item5[] = {"Nobody_Near",4,218,25.000000,450.000000,125.000000,500.000000,6.000000,"Nobody" \n "Near"}; -item6[] = {"loiter",4,218,-400.000000,0.000000,-300.000000,50.000000,0.000000,"loiter"}; -item7[] = {"Loiter",2,250,-400.000000,75.000000,-300.000000,125.000000,0.000000,"Loiter"}; +item5[] = {"Nobody_Near",4,218,25.000000,525.000000,125.000000,575.000000,6.000000,"Nobody" \n "Near"}; +item6[] = {"loiter",4,218,-1225.000000,0.000000,-1125.000000,50.000000,0.000000,"loiter"}; +item7[] = {"Loiter",2,250,-1225.000000,75.000000,-1125.000000,125.000000,0.000000,"Loiter"}; item8[] = {"",7,210,-29.000042,396.000000,-20.999958,404.000000,0.000000,""}; -item9[] = {"",7,210,-29.000042,470.999939,-20.999958,479.000061,0.000000,""}; +item9[] = {"",7,210,-29.000040,470.999939,-20.999960,479.000061,0.000000,""}; item10[] = {"true",8,218,-75.000000,-400.000000,25.000000,-350.000000,0.000000,"true"}; item11[] = {"Begin",2,250,-75.000000,-150.000000,25.000000,-100.000000,0.000000,"Begin"}; -item12[] = {"",7,210,-29.000006,-29.000004,-20.999996,-20.999996,0.000000,""}; -item13[] = {"",7,210,-354.000092,-29.000004,-345.999908,-20.999996,0.000000,""}; -item14[] = {"",7,210,-329.000031,208.500000,-321.000000,216.500000,0.000000,""}; -item15[] = {"Has_Target",4,218,-150.000000,275.000000,-50.000000,325.000000,5.000000,"Has" \n "Target"}; -item16[] = {"Chase",2,4346,-150.000000,375.000000,-50.000000,425.000000,0.000000,"Chase"}; -item17[] = {"Time_Check",4,218,50.000000,75.000000,150.000000,125.000000,1.000000,"Time" \n "Check"}; -item18[] = {"",7,210,-29.000006,208.500000,-20.999996,216.500000,0.000000,""}; -item19[] = {"",7,210,-29.000006,296.000000,-20.999996,304.000031,0.000000,""}; -item20[] = {"Time_Check",4,218,-275.000000,75.000000,-175.000000,125.000000,0.000000,"Time" \n "Check"}; -item21[] = {"Check",8,218,-300.000000,300.000000,-200.000000,350.000000,1.000000,"Check"}; -item22[] = {"No_Target",4,218,-400.000000,450.000000,-300.000000,500.000000,3.000000,"No" \n "Target"}; -item23[] = {"",7,210,-479.000000,471.000000,-471.000000,479.000000,0.000000,""}; -item24[] = {"",7,210,-479.000000,208.500000,-471.000000,216.500000,0.000000,""}; -item25[] = {"",7,210,221.000000,396.000000,229.000000,404.000000,0.000000,""}; -item26[] = {"",7,210,221.000000,471.000000,229.000000,479.000000,0.000000,""}; -item27[] = {"Cleanup_",2,250,175.000000,200.000000,275.000000,250.000000,0.000000,"Cleanup?"}; -item28[] = {"nobody_around",4,218,175.000000,-25.000000,275.000000,25.000000,0.000000,"nobody" \n "around"}; -item29[] = {"",7,210,-104.000023,471.000000,-95.999985,479.000000,0.000000,""}; -item30[] = {"cant_see",4,218,-275.000000,575.000000,-175.000000,625.000000,2.000000,"cant" \n "see"}; -item31[] = {"Finish_Move",2,250,-275.000000,650.000000,-175.000000,700.000000,0.000000,"Finish" \n "Move"}; -item32[] = {"finished",4,218,-425.000000,650.000000,-325.000000,700.000000,1.000000,"finished"}; -item33[] = {"",7,210,-479.000000,671.000000,-471.000000,679.000000,0.000000,""}; -item34[] = {"",7,210,-29.000002,671.000000,-20.999998,679.000000,0.000000,""}; -item35[] = {"",7,210,-404.000000,208.500000,-396.000000,216.500000,0.000000,""}; -item36[] = {"someone_here",4,218,300.000000,200.000000,400.000000,250.000000,0.000000,"someone" \n "here"}; -item37[] = {"wait",2,250,300.000000,125.000000,400.000000,175.000000,0.000000,"wait"}; -item38[] = {"time_up",4,218,300.000000,-25.000000,400.000000,25.000000,0.000000,"time" \n "up"}; -item39[] = {"",7,210,346.000000,95.999992,354.000000,104.000000,0.000000,""}; -item40[] = {"",7,210,221.000000,96.000008,229.000000,103.999977,0.000000,""}; -item41[] = {"Time_Check",4,218,425.000000,125.000000,525.000000,175.000000,0.000000,"Time" \n "Check"}; -item42[] = {"",7,210,346.000000,-79.000000,354.000000,-71.000000,0.000000,""}; -item43[] = {"",7,210,221.000000,-79.000000,229.000000,-71.000000,0.000000,""}; -item44[] = {"too_long",4,218,-425.000000,725.000000,-325.000000,775.000000,0.000000,"too long"}; -item45[] = {"",7,210,-229.000000,746.000000,-221.000000,754.000000,0.000000,""}; -item46[] = {"",7,210,-479.000000,746.000000,-471.000000,754.000000,0.000000,""}; -item47[] = {"Reset_Targeting",2,250,-525.000000,325.000000,-425.000000,375.000000,0.000000,"Reset" \n "Targeting"}; -item48[] = {"true",8,218,-525.000000,250.000000,-425.000000,300.000000,0.000000,"true"}; -item49[] = {"deleted",4,218,425.000000,-25.000000,525.000000,25.000000,0.000000,"deleted"}; -item50[] = {"",7,210,471.000000,-79.000000,479.000000,-71.000000,0.000000,""}; -item51[] = {"",7,210,471.000000,95.999977,479.000000,104.000023,0.000000,""}; -item52[] = {"",7,210,-104.000000,596.000000,-95.999992,604.000000,0.000000,""}; -item53[] = {"player_check",4,218,-525.000000,75.000000,-425.000000,125.000000,2.000000,"player" \n "check"}; -item54[] = {"player_check",4,218,50.000000,0.000000,150.000000,50.000000,2.000000,"player" \n "check"}; -item55[] = {"is_Dedicated",4,218,50.000000,-250.000000,150.000000,-200.000000,5.000000,"is" \n "Dedicated"}; -item56[] = {"MoveCompleted_",4,218,-525.000000,-75.000000,-425.000000,-25.000000,3.000000,"MoveCompleted "}; -item57[] = {"Failed_Move",4,218,-675.000000,-100.000000,-575.000000,-50.000000,3.000000,"Failed Move"}; -item58[] = {"Target_Dead",4,218,-275.000000,500.000000,-175.000000,550.000000,3.000000,"Target Dead"}; -item59[] = {"",7,210,-479.000000,521.000000,-471.000000,529.000000,0.000000,""}; -item60[] = {"Start_Attack",4,218,-725.000000,175.000000,-625.000000,225.000000,0.000000,"Start Attack"}; -item61[] = {"End_Attack",4,218,-725.000000,100.000000,-625.000000,150.000000,0.000000,"End Attack"}; -item62[] = {"TargetMoved",4,218,50.000000,300.000000,150.000000,350.000000,3.000000,"TargetMoved"}; -item63[] = {"Not_moving",4,218,-300.000000,150.000000,-200.000000,200.000000,1.000000,"Not moving"}; -item64[] = {"TimeOut",8,218,-300.000000,375.000000,-200.000000,425.000000,2.000000,"TimeOut"}; -item65[] = {"____FAKE____",9,2600,0.000000,0.000000,0.000000,0.000000,0.000000,"____FAKE____"}; +item12[] = {"",7,210,-1179.000122,-29.000004,-1170.999878,-20.999996,0.000000,""}; +item13[] = {"",7,210,-354.000031,121.000000,-346.000000,129.000000,0.000000,""}; +item14[] = {"UnitReady",4,218,-275.000000,275.000000,-175.000000,325.000000,5.000000,"UnitReady"}; +item15[] = {"Chase",2,250,-150.000000,375.000000,-50.000000,425.000000,0.000000,"Chase"}; +item16[] = {"Time_Check",4,218,50.000000,25.000000,150.000000,75.000000,1.000000,"Time" \n "Check"}; +item17[] = {"",7,210,-29.000006,121.000000,-20.999994,129.000000,0.000000,""}; +item18[] = {"",7,210,-29.000008,221.000000,-20.999992,229.000015,0.000000,""}; +item19[] = {"Time_Check",4,218,-1100.000000,75.000000,-1000.000000,125.000000,0.000000,"Time" \n "Check"}; +item20[] = {"No_Target",4,218,-400.000000,450.000000,-300.000000,500.000000,3.000000,"No" \n "Target"}; +item21[] = {"",7,210,-479.000000,471.000000,-471.000000,479.000000,0.000000,""}; +item22[] = {"",7,210,-729.000000,346.000000,-721.000000,354.000000,0.000000,""}; +item23[] = {"",7,210,221.000000,396.000000,229.000000,404.000000,0.000000,""}; +item24[] = {"",7,210,221.000000,471.000000,229.000000,479.000000,0.000000,""}; +item25[] = {"Cleanup_",2,250,175.000000,200.000000,275.000000,250.000000,0.000000,"Cleanup?"}; +item26[] = {"nobody_around",4,218,175.000000,-25.000000,275.000000,25.000000,0.000000,"nobody" \n "around"}; +item27[] = {"",7,210,-104.000023,471.000000,-95.999985,479.000000,0.000000,""}; +item28[] = {"cant_see",4,218,-275.000000,575.000000,-175.000000,625.000000,2.000000,"cant" \n "see"}; +item29[] = {"Finish_Move",2,250,-275.000000,650.000000,-175.000000,700.000000,0.000000,"Finish" \n "Move"}; +item30[] = {"finished",4,218,-425.000000,650.000000,-325.000000,700.000000,1.000000,"finished"}; +item31[] = {"",7,210,-479.000000,671.000000,-471.000000,679.000000,0.000000,""}; +item32[] = {"",7,210,-29.000002,671.000000,-20.999998,679.000000,0.000000,""}; +item33[] = {"Move",2,250,-650.000000,50.000000,-550.000000,100.000000,0.000000,"Move"}; +item34[] = {"someone_here",4,218,300.000000,200.000000,400.000000,250.000000,0.000000,"someone" \n "here"}; +item35[] = {"wait",2,250,300.000000,125.000000,400.000000,175.000000,0.000000,"wait"}; +item36[] = {"time_up",4,218,300.000000,-25.000000,400.000000,25.000000,0.000000,"time" \n "up"}; +item37[] = {"",7,210,346.000000,95.999992,354.000000,104.000000,0.000000,""}; +item38[] = {"",7,210,221.000000,96.000008,229.000000,103.999977,0.000000,""}; +item39[] = {"Time_Check",4,218,425.000000,125.000000,525.000000,175.000000,0.000000,"Time" \n "Check"}; +item40[] = {"",7,210,346.000000,-79.000000,354.000000,-71.000000,0.000000,""}; +item41[] = {"",7,210,221.000000,-79.000000,229.000000,-71.000000,0.000000,""}; +item42[] = {"too_long",4,218,-425.000000,725.000000,-325.000000,775.000000,0.000000,"too long"}; +item43[] = {"",7,210,-229.000000,746.000000,-221.000000,754.000000,0.000000,""}; +item44[] = {"",7,210,-479.000000,746.000000,-471.000000,754.000000,0.000000,""}; +item45[] = {"Reset_Targeting",2,250,-525.000000,325.000000,-425.000000,375.000000,0.000000,"Reset" \n "Targeting"}; +item46[] = {"true",8,218,-1050.000000,275.000000,-950.000000,325.000000,0.000000,"true"}; +item47[] = {"deleted",4,218,425.000000,-25.000000,525.000000,25.000000,0.000000,"deleted"}; +item48[] = {"",7,210,471.000000,-79.000000,479.000000,-71.000000,0.000000,""}; +item49[] = {"",7,210,471.000000,95.999977,479.000000,104.000023,0.000000,""}; +item50[] = {"",7,210,-104.000000,596.000000,-95.999992,604.000000,0.000000,""}; +item51[] = {"player_check",4,218,-1350.000000,75.000000,-1250.000000,125.000000,2.000000,"player" \n "check"}; +item52[] = {"player_check",4,218,50.000000,-50.000000,150.000000,0.000000,2.000000,"player" \n "check"}; +item53[] = {"is_Dedicated",4,218,50.000000,-250.000000,150.000000,-200.000000,5.000000,"is" \n "Dedicated"}; +item54[] = {"MoveCompleted_",4,218,-1250.000000,-325.000000,-1150.000000,-275.000000,3.000000,"MoveCompleted "}; +item55[] = {"Failed_Move",4,218,-1425.000000,-375.000000,-1325.000000,-325.000000,3.000000,"Failed Move"}; +item56[] = {"Target_Dead",4,218,-275.000000,500.000000,-175.000000,550.000000,3.000000,"Target Dead"}; +item57[] = {"",7,210,-479.000000,521.000000,-471.000000,529.000000,0.000000,""}; +item58[] = {"Start_Attack",4,218,-1475.000000,-100.000000,-1375.000000,-50.000000,0.000000,"Start Attack"}; +item59[] = {"End_Attack",4,218,-1475.000000,-175.000000,-1375.000000,-125.000000,0.000000,"End Attack"}; +item60[] = {"TargetMoved",4,218,-1350.000000,-275.000000,-1250.000000,-225.000000,3.000000,"TargetMoved"}; +item61[] = {"Not_moving",4,218,-1450.000000,-275.000000,-1350.000000,-225.000000,1.000000,"Not moving"}; +item62[] = {"TimeCheck",4,218,-150.000000,275.000000,-50.000000,325.000000,2.000000,"TimeCheck"}; +item63[] = {"No_Agent",4,218,25.000000,450.000000,125.000000,500.000000,5.000000,"No Agent"}; +item64[] = {"",7,210,221.000015,546.000061,229.000000,553.999939,0.000000,""}; +item65[] = {"",7,210,-29.000042,545.999939,-20.999958,554.000061,0.000000,""}; +item66[] = {"loiter",4,218,-400.000000,-50.000000,-300.000000,0.000000,0.000000,"loiter"}; +item67[] = {"Loiter_1",2,250,-400.000000,25.000000,-300.000000,75.000000,0.000000,"Loiter"}; +item68[] = {"Time_Check",4,218,-275.000000,50.000000,-175.000000,100.000000,0.000000,"Time" \n "Check"}; +item69[] = {"MoveCompleted_",4,218,-525.000000,50.000000,-425.000000,100.000000,3.000000,"MoveCompleted "}; +item70[] = {"Failed_Move",4,218,-525.000000,100.000000,-425.000000,150.000000,3.000000,"Failed Move"}; +item71[] = {"Not_moving",4,218,-525.000000,0.000000,-425.000000,50.000000,1.000000,"Not moving"}; +item72[] = {"",7,210,-604.000000,-29.000000,-596.000000,-21.000000,0.000000,""}; +item73[] = {"player_check",4,218,-275.000000,0.000000,-175.000000,50.000000,2.000000,"player" \n "check"}; +item74[] = {"True",8,218,-525.000000,-50.000000,-425.000000,0.000000,0.000000,"True"}; +item75[] = {"",7,210,-729.000000,-129.000000,-721.000000,-121.000000,0.000000,""}; +item76[] = {"",7,210,-354.000000,-129.000000,-346.000000,-121.000000,0.000000,""}; +item77[] = {"InRange",4,218,-275.000000,400.000000,-175.000000,450.000000,1.000000,"InRange"}; +item78[] = {"Attacking_Wait",2,250,-400.000000,375.000000,-300.000000,425.000000,0.000000,"Attacking Wait"}; +item79[] = {"NotInRange",4,218,-275.000000,350.000000,-175.000000,400.000000,1.000000,"NotInRange"}; +item80[] = {"TimeCheck",4,218,-400.000000,275.000000,-300.000000,325.000000,0.000000,"TimeCheck"}; +item81[] = {"Has_Target",4,218,-150.000000,200.000000,-50.000000,250.000000,0.000000,"Has" \n "Target"}; +item82[] = {"Reset_MoveTo",2,250,-275.000000,200.000000,-175.000000,250.000000,0.000000,"Reset MoveTo"}; +item83[] = {"____FAKE____",9,3320,0.000000,0.000000,0.000000,0.000000,0.000000,"____FAKE____"}; link0[] = {0,10}; -link1[] = {0,55}; +link1[] = {0,53}; link2[] = {2,3}; -link3[] = {3,17}; -link4[] = {3,18}; -link5[] = {3,54}; -link6[] = {4,25}; -link7[] = {5,26}; +link3[] = {3,16}; +link4[] = {3,17}; +link5[] = {3,52}; +link6[] = {4,23}; +link7[] = {5,64}; link8[] = {6,7}; -link9[] = {7,14}; -link10[] = {7,20}; -link11[] = {7,53}; -link12[] = {8,4}; -link13[] = {8,9}; -link14[] = {9,5}; +link9[] = {7,19}; +link10[] = {7,51}; +link11[] = {8,4}; +link12[] = {8,9}; +link13[] = {9,63}; +link14[] = {9,65}; link15[] = {10,11}; -link16[] = {11,12}; -link17[] = {12,2}; -link18[] = {12,13}; -link19[] = {13,6}; -link20[] = {14,18}; -link21[] = {15,16}; -link22[] = {16,8}; -link23[] = {16,29}; -link24[] = {16,64}; -link25[] = {17,3}; -link26[] = {18,19}; -link27[] = {19,8}; -link28[] = {19,15}; -link29[] = {20,7}; -link30[] = {22,23}; -link31[] = {23,47}; -link32[] = {24,35}; -link33[] = {25,27}; -link34[] = {26,25}; -link35[] = {27,36}; -link36[] = {27,40}; -link37[] = {28,43}; -link38[] = {29,22}; -link39[] = {29,52}; -link40[] = {29,58}; -link41[] = {30,31}; -link42[] = {31,32}; -link43[] = {31,34}; -link44[] = {31,45}; -link45[] = {32,33}; -link46[] = {33,59}; -link47[] = {34,9}; -link48[] = {35,7}; -link49[] = {36,37}; -link50[] = {37,39}; -link51[] = {37,41}; -link52[] = {38,42}; -link53[] = {39,38}; -link54[] = {39,40}; -link55[] = {39,51}; -link56[] = {40,28}; -link57[] = {41,37}; -link58[] = {42,43}; -link59[] = {43,1}; -link60[] = {44,46}; -link61[] = {45,44}; -link62[] = {46,33}; -link63[] = {47,48}; -link64[] = {48,24}; -link65[] = {49,50}; -link66[] = {50,42}; -link67[] = {51,49}; -link68[] = {52,30}; -link69[] = {53,7}; -link70[] = {54,3}; -link71[] = {55,1}; -link72[] = {58,59}; -link73[] = {59,23}; -link74[] = {64,16}; -link75[] = {21,65}; -link76[] = {65,21}; -link77[] = {56,65}; -link78[] = {65,56}; -link79[] = {57,65}; -link80[] = {65,57}; -link81[] = {60,65}; -link82[] = {65,60}; -link83[] = {61,65}; -link84[] = {65,61}; -link85[] = {62,65}; -link86[] = {65,62}; -link87[] = {63,65}; -link88[] = {65,63}; -globals[] = {25.000000,1,0,0,0,640,480,1,157,6316128,1,-640.890259,559.593506,704.095276,-186.586182,806,598,1}; +link16[] = {11,2}; +link17[] = {11,76}; +link18[] = {12,6}; +link19[] = {13,17}; +link20[] = {14,15}; +link21[] = {15,8}; +link22[] = {15,27}; +link23[] = {15,62}; +link24[] = {15,77}; +link25[] = {16,3}; +link26[] = {17,18}; +link27[] = {18,8}; +link28[] = {18,81}; +link29[] = {19,7}; +link30[] = {20,21}; +link31[] = {21,45}; +link32[] = {22,75}; +link33[] = {23,25}; +link34[] = {24,23}; +link35[] = {25,34}; +link36[] = {25,38}; +link37[] = {26,41}; +link38[] = {27,20}; +link39[] = {27,50}; +link40[] = {27,56}; +link41[] = {28,29}; +link42[] = {29,30}; +link43[] = {29,32}; +link44[] = {29,43}; +link45[] = {30,31}; +link46[] = {31,57}; +link47[] = {32,65}; +link48[] = {33,72}; +link49[] = {34,35}; +link50[] = {35,37}; +link51[] = {35,39}; +link52[] = {36,40}; +link53[] = {37,36}; +link54[] = {37,38}; +link55[] = {37,49}; +link56[] = {38,26}; +link57[] = {39,35}; +link58[] = {40,41}; +link59[] = {41,1}; +link60[] = {42,44}; +link61[] = {43,42}; +link62[] = {44,31}; +link63[] = {45,22}; +link64[] = {47,48}; +link65[] = {48,40}; +link66[] = {49,47}; +link67[] = {50,28}; +link68[] = {51,7}; +link69[] = {52,3}; +link70[] = {53,1}; +link71[] = {56,57}; +link72[] = {57,21}; +link73[] = {62,15}; +link74[] = {63,24}; +link75[] = {64,24}; +link76[] = {65,5}; +link77[] = {66,67}; +link78[] = {67,13}; +link79[] = {67,68}; +link80[] = {67,69}; +link81[] = {67,70}; +link82[] = {67,71}; +link83[] = {67,73}; +link84[] = {68,67}; +link85[] = {69,33}; +link86[] = {70,33}; +link87[] = {71,33}; +link88[] = {72,74}; +link89[] = {73,67}; +link90[] = {74,67}; +link91[] = {75,76}; +link92[] = {76,66}; +link93[] = {77,78}; +link94[] = {78,79}; +link95[] = {78,80}; +link96[] = {79,15}; +link97[] = {80,78}; +link98[] = {81,82}; +link99[] = {82,14}; +link100[] = {83,6}; +link101[] = {46,83}; +link102[] = {83,46}; +link103[] = {54,83}; +link104[] = {83,54}; +link105[] = {55,83}; +link106[] = {83,55}; +link107[] = {58,83}; +link108[] = {83,58}; +link109[] = {59,83}; +link110[] = {83,59}; +link111[] = {60,83}; +link112[] = {83,60}; +link113[] = {61,83}; +link114[] = {83,61}; +globals[] = {25.000000,1,0,0,0,640,480,1,189,6316128,1,-713.213928,288.267639,611.326172,-131.708481,806,598,1}; window[] = {2,-1,-1,-1,-1,727,26,1234,26,3,824}; *//*%FSM*/ class FSM @@ -168,8 +212,8 @@ class FSM class init { name = "init"; - init = /*%FSM*/"_position = _this select 0;" \n - "_agent = _this select 1;" \n + init = /*%FSM*/"_agent = _this select 1; //Compatible with old configs like Namalsk's custom zombies" \n + "_position = _agent modelToWorld [0,0,0];" \n "_secondHand = false;" \n "" \n "if (count _this > 2) then {" \n @@ -195,7 +239,7 @@ class FSM priority = 0.000000; to="Begin"; precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"dayz_clientPreload and !(isNull _agent)"/*%FSM*/; + condition=/*%FSM*/"(!isNil 'dayz_clientPreload' && {dayz_clientPreload}) && !(isNull _agent)"/*%FSM*/; action=/*%FSM*/""/*%FSM*/; }; /*%FSM*/ @@ -251,42 +295,23 @@ class FSM action=/*%FSM*/""/*%FSM*/; }; /*%FSM*/ - /*%FSM*/ - class Has_Target + /*%FSM*/ + class Not_Alive { priority = 5.000000; - to="Chase"; + to="Cleanup_"; precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"!(isNull _target)"/*%FSM*/; - action=/*%FSM*/"//Leader cries out" \n - "if (_isSomeone) then {" \n - " [_agent,""spotted"",0,false] call dayz_zombieSpeak;" \n - "};" \n - "" \n - "if (!_hasMoved) then {" \n - " _agent setVariable[""doLoiter"",true,true];" \n - "};" \n - "" \n - "//Lets see if we can get the AI to stop running away before heading to the player" \n - "_agent moveTo (getposATL _agent);" \n - "" \n - "_countr = 0;" \n - "_losCheck = 0;" \n - "_agroCheck = 0;" \n - "_cantSee = false;" \n - "_cantSeeAnything = false;" \n - "" \n - "" \n - "//diag_log (""Has Target"");"/*%FSM*/; + condition=/*%FSM*/"!_isAlive"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; }; /*%FSM*/ - /*%FSM*/ - class Not_Alive + /*%FSM*/ + class No_Agent { priority = 5.000000; to="Cleanup_"; precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"!_isAlive"/*%FSM*/; + condition=/*%FSM*/"(isNull _agent)"/*%FSM*/; action=/*%FSM*/""/*%FSM*/; }; /*%FSM*/ @@ -313,6 +338,16 @@ class FSM action=/*%FSM*/""/*%FSM*/; }; /*%FSM*/ + /*%FSM*/ + class Has_Target + { + priority = 0.000000; + to="Reset_MoveTo"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"!(isNull _target)"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ }; }; /*%FSM*/ @@ -360,55 +395,6 @@ class FSM precondition = /*%FSM*/""/*%FSM*/; class Links { - /*%FSM*/ - class Nobody_Near - { - priority = 6.000000; - to="Cleanup_"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"!_isSomeone"/*%FSM*/; - action=/*%FSM*/""/*%FSM*/; - }; - /*%FSM*/ - /*%FSM*/ - class Has_Target - { - priority = 5.000000; - to="Chase"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"!(isNull _target)"/*%FSM*/; - action=/*%FSM*/"//Leader cries out" \n - "if (_isSomeone) then {" \n - " [_agent,""spotted"",0,false] call dayz_zombieSpeak;" \n - "};" \n - "" \n - "if (!_hasMoved) then {" \n - " _agent setVariable[""doLoiter"",true,true];" \n - "};" \n - "" \n - "//Lets see if we can get the AI to stop running away before heading to the player" \n - "_agent moveTo (getposATL _agent);" \n - "" \n - "_countr = 0;" \n - "_losCheck = 0;" \n - "_agroCheck = 0;" \n - "_cantSee = false;" \n - "_cantSeeAnything = false;" \n - "" \n - "" \n - "//diag_log (""Has Target"");"/*%FSM*/; - }; - /*%FSM*/ - /*%FSM*/ - class Not_Alive - { - priority = 5.000000; - to="Cleanup_"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"!_isAlive"/*%FSM*/; - action=/*%FSM*/""/*%FSM*/; - }; - /*%FSM*/ /*%FSM*/ class player_check { @@ -455,9 +441,7 @@ class FSM "_timeN = diag_tickTime;" \n "" \n "_agent setBehaviour ""CARELESS"";" \n - "" \n - " _id = _agent addeventhandler [""HandleDamage"",{_this call local_zombieDamage}];" \n - "" \n + "_agent setSpeedMode ""FULL"";" \n "//hint ""run local zombie"";" \n "_isSomeone = true;" \n "" \n @@ -489,10 +473,10 @@ class FSM class loiter { priority = 0.000000; - to="Loiter"; + to="Loiter_1"; precondition = /*%FSM*/""/*%FSM*/; condition=/*%FSM*/"_hasMoved"/*%FSM*/; - action=/*%FSM*/"_myDest = [_agent,_position] call zombie_loiter;" \n + action=/*%FSM*/"" \n "_agent forceSpeed 2;"/*%FSM*/; }; /*%FSM*/ @@ -514,34 +498,25 @@ class FSM { name = "Chase"; init = /*%FSM*/"_timeN = diag_tickTime;" \n - "" \n - "if (isNull _agent) exitWith {}; //Prevent errors if zombie is suddenly deleted" \n - "_agent forceSpeed (_agent getVariable [""speedLimit"", 3]);" \n "" \n "_target = _agent call zombie_findTargetAgent;" \n - "_targetPos = getPosATL _target;" \n + "_targetPos = _target modelToWorld [0,-1,0];" \n "_isAlive = alive _agent;" \n "_isTargetAlive = alive _target;" \n "" \n + "" \n "//Move to location" \n "if (_movingTo distance _targetPos > .5) then {" \n - " //diag_log format[""Chase - %1 - [%2,%3] - Range %4"",(typeof _agent),_myDest,_movingTo,(_myDest distance _movingTo)];" \n - "" \n " _agent moveTo _targetPos;" \n - " _movingTo = _targetPos;" \n + " _agent setSpeedMode ""FULL"";" \n "};" \n "" \n "" \n - "" \n "//Check if LOS" \n "if ((_agroCheck % 8) == 0) then {" \n " _agroCheck = 0;" \n " _cantSee = [_target,_agent] call dayz_losCheck;" \n - "};" \n - "" \n - "" \n - "" \n - "//diag_log format[""%1"",(typeof _agent)];"/*%FSM*/; + "};"/*%FSM*/; precondition = /*%FSM*/""/*%FSM*/; class Links { @@ -565,13 +540,23 @@ class FSM action=/*%FSM*/""/*%FSM*/; }; /*%FSM*/ + /*%FSM*/ + class No_Agent + { + priority = 5.000000; + to="Cleanup_"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"(isNull _agent)"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ /*%FSM*/ class No_Target { priority = 3.000000; to="Reset_Targeting"; precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"(isNull _target)"/*%FSM*/; + condition=/*%FSM*/"(isNull _target) && ((diag_tickTime - _timeN) > 5)"/*%FSM*/; action=/*%FSM*/""/*%FSM*/; }; /*%FSM*/ @@ -595,17 +580,33 @@ class FSM action=/*%FSM*/"//diag_log (""Cant See"");"/*%FSM*/; }; /*%FSM*/ - /*%FSM*/ - class TimeOut + /*%FSM*/ + class TimeCheck { priority = 2.000000; to="Chase"; precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"(diag_tickTime - _timeN) > 1" \n + condition=/*%FSM*/"(diag_tickTime - _timeN) > 2" \n ""/*%FSM*/; action=/*%FSM*/"_agroCheck= _agroCheck + 1;"/*%FSM*/; }; /*%FSM*/ + /*%FSM*/ + class InRange + { + priority = 1.000000; + to="Attacking_Wait"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_agent distance _targetPos < 3.1"/*%FSM*/; + action=/*%FSM*/"_agent stop true;" \n + "" \n + "_myDest = [ _agent modelToWorld [0,0,0]];" \n + "" \n + "_agent setVariable [""myDest"",(_agent modelToWorld [0,0,0])];" \n + "" \n + "_agroCheck= 0;"/*%FSM*/; + }; + /*%FSM*/ }; }; /*%FSM*/ @@ -687,6 +688,27 @@ class FSM }; }; /*%FSM*/ + /*%FSM*/ + class Move + { + name = "Move"; + init = /*%FSM*/"_myDest = [_agent,_position] call zombie_loiter;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class True + { + priority = 0.000000; + to="Loiter_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ /*%FSM*/ class wait { @@ -759,7 +781,7 @@ class FSM "_remotetargets = _agent getVariable [""remotetargets"",[]];" \n "" \n "//Clear remote on reset" \n - "if (isNull _agent) then {_remotetargets = [];};" \n + "if (isNull _agent) then {_remotetargets = [];};" \n "if (count _remotetargets > 0) then {" \n " _agent setVariable [""remotetargets"",[],true];" \n "};" \n @@ -776,16 +798,210 @@ class FSM precondition = /*%FSM*/""/*%FSM*/; class Links { - /*%FSM*/ - class true + /*%FSM*/ + class loiter { priority = 0.000000; - to="Loiter"; + to="Loiter_1"; precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"true"/*%FSM*/; - action=/*%FSM*/"//diag_log (""Reset"");" \n + condition=/*%FSM*/"_hasMoved"/*%FSM*/; + action=/*%FSM*/"" \n + "_agent forceSpeed 2;"/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Loiter_1 + { + name = "Loiter_1"; + init = /*%FSM*/"_isAlive = alive _agent;" \n + "_timeN = diag_tickTime;" \n + "" \n + "//Look for target" \n + "_target = _agent call zombie_findTargetAgent;" \n + "" \n + "if (_myDest distance (getposATL _agent) > 3) then {" \n + " _agent moveTo _myDest;" \n + "};" \n + "" \n + "//diag_log (""loitering..."" + str(_agent distance (_agent getVariable [""myDest"",_myDest])));"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Nobody_Near + { + priority = 6.000000; + to="Cleanup_"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"!_isSomeone"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class No_Agent + { + priority = 5.000000; + to="Cleanup_"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"(isNull _agent)"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Not_Alive + { + priority = 5.000000; + to="Cleanup_"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"!_isAlive"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Failed_Move + { + priority = 3.000000; + to="Move"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"moveToFailed _agent;"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class MoveCompleted_ + { + priority = 3.000000; + to="Move"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"moveToCompleted _agent;" \n + "//_agent distance (_agent getVariable [""myDest"",getposATL _agent]) < 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class player_check + { + priority = 2.000000; + to="Loiter_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"(diag_tickTime - _entityTime) > 30"/*%FSM*/; + action=/*%FSM*/"_entityTime = diag_tickTime;" \n "" \n - ""/*%FSM*/; + "_list = (getposATL _agent) nearEntities [[""CAManBase"",""AllVehicles""],300];" \n + "_isSomeone = ({isPlayer _x} count _list) > 0;"/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Not_moving + { + priority = 1.000000; + to="Move"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"(Speed _agent == 0)" \n + ""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Time_Check + { + priority = 0.000000; + to="Loiter_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"(diag_tickTime - _timeN) > 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Has_Target + { + priority = 0.000000; + to="Reset_MoveTo"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"!(isNull _target)"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Attacking_Wait + { + name = "Attacking_Wait"; + init = /*%FSM*/"_targetPos = _target modelToWorld [0,-1,0];" \n + "" \n + "_timeN = diag_tickTime;" \n + ""/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class NotInRange + { + priority = 1.000000; + to="Chase"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_agent distance _targetPos > 3.1"/*%FSM*/; + action=/*%FSM*/"_agent stop false;"/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class TimeCheck + { + priority = 0.000000; + to="Attacking_Wait"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"((diag_tickTime - _timeN) > 1)"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Reset_MoveTo + { + name = "Reset_MoveTo"; + init = /*%FSM*/"_agent moveTo (_agent modelToWorld [0,0,0]);"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class UnitReady + { + priority = 5.000000; + to="Chase"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"unitReady _agent"/*%FSM*/; + action=/*%FSM*/"//Leader cries out" \n + "if (_isSomeone) then {" \n + " [_agent,""spotted"",0,false] call dayz_zombieSpeak;" \n + "};" \n + "" \n + "if (!_hasMoved) then {" \n + " _agent setVariable[""doLoiter"",true,true];" \n + "};" \n + "" \n + "_myDest = [ _agent modelToWorld [0,0,0]];" \n + "_agent setVariable [""myDest"",(_agent modelToWorld [0,0,0])];" \n + "" \n + "_agent forceSpeed (_agent getVariable [""speedLimit"", 3]);" \n + "" \n + "//Lets see if we can get the AI to stop running away before heading to the player" \n + "_agent moveTo (_agent modelToWorld [0,0,0]);" \n + "" \n + "_countr = 0;" \n + "_losCheck = 0;" \n + "_agroCheck = 0;" \n + "_cantSee = false;" \n + "_cantSeeAnything = false;" \n + "" \n + "" \n + "//diag_log (""Has Target"");"/*%FSM*/; }; /*%FSM*/ }; @@ -799,6 +1015,17 @@ class FSM precondition = /*%FSM*/""/*%FSM*/; class Links { + /*%FSM*/ + class TargetMoved + { + priority = 3.000000; + to="____FAKE____"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"(((_agent distance _target) >= 3) and ((diag_tickTime - _timeN) > 1))" \n + ""/*%FSM*/; + action=/*%FSM*/"diag_log (""TargetMoved"");"/*%FSM*/; + }; + /*%FSM*/ /*%FSM*/ class MoveCompleted_ { @@ -823,17 +1050,6 @@ class FSM ""/*%FSM*/; }; /*%FSM*/ - /*%FSM*/ - class TargetMoved - { - priority = 3.000000; - to="____FAKE____"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"(((_agent distance _target) >= 3) and ((diag_tickTime - _timeN) > 1))" \n - ""/*%FSM*/; - action=/*%FSM*/"diag_log (""TargetMoved"");"/*%FSM*/; - }; - /*%FSM*/ /*%FSM*/ class Not_moving { @@ -845,30 +1061,6 @@ class FSM action=/*%FSM*/"_myDest = [_agent,_position] call zombie_loiter;"/*%FSM*/; }; /*%FSM*/ - /*%FSM*/ - class Check - { - priority = 1.000000; - to="____FAKE____"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"((_agent distance _target) >= 2)" \n - ""/*%FSM*/; - action=/*%FSM*/"// reset stance to favorite one" \n - "//if (_agent distance _targetPos > 5) then {" \n - "// _agent setUnitPos (_agent getVariable [""stance"", ""UP""]);" \n - "//};" \n - "" \n - "//diag_log (""Reset Chase"");" \n - "" \n - "/*" \n - "if (_agent distance _targetPos < 5) then {" \n - " //Stand up" \n - " _agent setUnitPos ""UP"";" \n - "};" \n - "*/" \n - ""/*%FSM*/; - }; - /*%FSM*/ /*%FSM*/ class End_Attack { @@ -893,6 +1085,29 @@ class FSM "_timeAttack = diag_ticktime;"/*%FSM*/; }; /*%FSM*/ + /*%FSM*/ + class true + { + priority = 0.000000; + to="____FAKE____"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"true"/*%FSM*/; + action=/*%FSM*/"//diag_log (""Reset"");" \n + "" \n + ""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class loiter + { + priority = 0.000000; + to="Loiter"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_hasMoved"/*%FSM*/; + action=/*%FSM*/"_myDest = [_agent,_position] call zombie_loiter;" \n + "_agent forceSpeed 2;"/*%FSM*/; + }; + /*%FSM*/ }; }; /*%FSM*/ diff --git a/SQF/dayz_code/system/zombie_wildagent.fsm b/SQF/dayz_code/system/zombie_wildagent.fsm index 7b213d0c..2cdab3d8 100644 --- a/SQF/dayz_code/system/zombie_wildagent.fsm +++ b/SQF/dayz_code/system/zombie_wildagent.fsm @@ -114,13 +114,13 @@ class FSM class init { name = "init"; - init = /*%FSM*/"_position = _this select 0;" \n - "_agent = _this select 1;" \n + init = /*%FSM*/"_agent = _this select 0;" \n + "_position = _agent modelToWorld [0,0,0];" \n "" \n "_secondHand = false;" \n "" \n "" \n - "if (count _this > 2) then {" \n + "if (count _this > 1) then {" \n " //_secondHand = true;" \n " diag_log (""Second Hand Zombie Initialized: "" + str(_this));" \n "};" \n @@ -136,7 +136,7 @@ class FSM priority = 0.000000; to="End_1"; precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"count _this > 2"/*%FSM*/; + condition=/*%FSM*/"count _this > 1"/*%FSM*/; action=/*%FSM*/"diag_log (""Second Hand"");"/*%FSM*/; }; /*%FSM*/ @@ -282,9 +282,6 @@ class FSM "_agent disableAI ""FSM"";" \n "_newDest = getPosATL _agent;" \n "_timeN = time;" \n - "" \n - " _id = _agent addeventhandler [""HandleDamage"",{_this call local_zombieDamage}];" \n - "" \n "_target = objNull;" \n "_targetPos = [];" \n "_countr = 0;" \n diff --git a/SQF/dayz_code/traps/beartrap.sqf b/SQF/dayz_code/traps/beartrap.sqf index 11295d3a..8bda41c9 100644 --- a/SQF/dayz_code/traps/beartrap.sqf +++ b/SQF/dayz_code/traps/beartrap.sqf @@ -12,9 +12,6 @@ _init = { _arm = { //if (isServer) then { - _trap animate ["LeftShutter", 0]; - _trap animate ["RightShutter", 0]; - _trigger = createTrigger ["EmptyDetector", getPosATL _trap]; _trigger setpos getPosATL _trap; _trigger setTriggerArea [0.5, 0.5, 0, false]; @@ -27,7 +24,7 @@ _arm = { [_trap, _trigger] call arm_trap; //} else { - _trap setVariable ["armed", true, true]; + //_trap setVariable ["armed", true, true]; //}; }; @@ -50,18 +47,20 @@ _remove = { _trigger = { if (isServer) then { - private ["_entity"]; + private "_entity"; _entity = _this select 0; _trap animate ["LeftShutter", 1]; _trap animate ["RightShutter", 1]; [nil,_trap,rSAY,["trap_bear_0",60]] call RE; - - if (_entity isKindOf "Animal") then { - _entity setDamage 1; - } else { - [_entity, "Legs", [_entity]] call server_sendToClient; + + if (!isNull _entity) then { + if (_entity isKindOf "Animal") then { + _entity setDamage 1; + } else { + [_entity, "Legs", [_entity]] call server_sendToClient; + }; }; [_trap] call trigger_trap; @@ -71,7 +70,7 @@ _trigger = { private ["_event", "_trap", "_args"]; _event = _this select 0; _trap = if (typeOf (_this select 1) == "EmptyDetector") then { dayz_traps_active select (dayz_traps_trigger find (_this select 1)) } else { _this select 1 }; -_args = if (count _this > 2) then { _this select 2 } else { [] }; +_args = if (count _this > 2) then { _this select 2 } else { [objNull] }; switch (_event) do { case "init": { diff --git a/SQF/dayz_code/traps/beartrapflare.sqf b/SQF/dayz_code/traps/beartrapflare.sqf index 4e82735c..b588fa50 100644 --- a/SQF/dayz_code/traps/beartrapflare.sqf +++ b/SQF/dayz_code/traps/beartrapflare.sqf @@ -12,10 +12,6 @@ _init = { _arm = { //if (isServer) then { - // don't work (due to proxies n stuff) - //_trap animate ["LeftShutter", 0]; - //_trap animate ["RightShutter", 0]; - _trigger = createTrigger ["EmptyDetector", getPosATL _trap]; _trigger setpos getPosATL _trap; _trigger setTriggerArea [0.5, 0.5, 0, false]; @@ -28,7 +24,7 @@ _arm = { [_trap, _trigger] call arm_trap; //} else { - _trap setVariable ["armed", true, true]; + //_trap setVariable ["armed", true, true]; //}; }; @@ -51,7 +47,7 @@ _remove = { _trigger = { if (isServer) then { - private ["_entity"]; + private "_entity"; _entity = _this select 0; // don't work (due to proxies n stuff) @@ -59,11 +55,13 @@ _trigger = { //_trap animate ["RightShutter", 1]; [nil,_trap,rSAY,["trap_bear_0",60]] call RE; - - if (_entity isKindOf "Animal") then { - _entity setDamage 1; - } else { - [_entity, "Legs", [_entity]] call server_sendToClient; + + if (!isNull _entity) then { + if (_entity isKindOf "Animal") then { + _entity setDamage 1; + } else { + [_entity, "Legs", [_entity]] call server_sendToClient; + }; }; _flare = createVehicle ["RoadFlare", getPosATL _trap, [], 0, "CAN_COLLIDE"]; @@ -90,7 +88,7 @@ _trigger = { private ["_event", "_trap", "_args"]; _event = _this select 0; _trap = if (typeOf (_this select 1) == "EmptyDetector") then { dayz_traps_active select (dayz_traps_trigger find (_this select 1)) } else { _this select 1 }; -_args = if (count _this > 2) then { _this select 2 } else { [] }; +_args = if (count _this > 2) then { _this select 2 } else { [objNull] }; switch (_event) do { case "init": { diff --git a/SQF/dayz_code/traps/beartrapsmoke.sqf b/SQF/dayz_code/traps/beartrapsmoke.sqf index 1acda518..3db8c94c 100644 --- a/SQF/dayz_code/traps/beartrapsmoke.sqf +++ b/SQF/dayz_code/traps/beartrapsmoke.sqf @@ -12,10 +12,6 @@ _init = { _arm = { //if (isServer) then { - // don't work (due to proxies n stuff) - //_trap animate ["LeftShutter", 0]; - //_trap animate ["RightShutter", 0]; - _trigger = createTrigger ["EmptyDetector", getPosATL _trap]; _trigger setpos getPosATL _trap; _trigger setTriggerArea [0.5, 0.5, 0, false]; @@ -28,7 +24,7 @@ _arm = { [_trap, _trigger] call arm_trap; //} else { - _trap setVariable ["armed", true, true]; + //_trap setVariable ["armed", true, true]; //}; }; @@ -51,7 +47,7 @@ _remove = { _trigger = { if (isServer) then { - private ["_entity"]; + private "_entity"; _entity = _this select 0; // don't work (due to proxies n stuff) @@ -60,10 +56,12 @@ _trigger = { [nil,_trap,rSAY,["trap_bear_0",60]] call RE; - if (_entity isKindOf "Animal") then { - _entity setDamage 1; - } else { - [_entity, "Legs", [_entity]] call server_sendToClient; + if (!isNull _entity) then { + if (_entity isKindOf "Animal") then { + _entity setDamage 1; + } else { + [_entity, "Legs", [_entity]] call server_sendToClient; + }; }; createVehicle ["SmokeShell", getPosATL _trap, [], 0, "CAN_COLLIDE"]; @@ -86,7 +84,7 @@ _trigger = { private ["_event", "_trap", "_args"]; _event = _this select 0; _trap = if (typeOf (_this select 1) == "EmptyDetector") then { dayz_traps_active select (dayz_traps_trigger find (_this select 1)) } else { _this select 1 }; -_args = if (count _this > 2) then { _this select 2 } else { [] }; +_args = if (count _this > 2) then { _this select 2 } else { [objNull] }; switch (_event) do { case "init": { diff --git a/SQF/dayz_code/traps/functions/arm.sqf b/SQF/dayz_code/traps/functions/arm.sqf index dfaedd94..e0c102de 100644 --- a/SQF/dayz_code/traps/functions/arm.sqf +++ b/SQF/dayz_code/traps/functions/arm.sqf @@ -1,12 +1,20 @@ _trap = _this select 0; _trigger = _this select 1; +//Doesn't work on flare and smoke beartraps "due to proxies n stuff" _trap animate ['LeftShutter', 0]; _trap animate ['RightShutter', 0]; -_trap setVariable ["armed", true, true]; +if !(_trap getVariable ["armed", false]) then { + _trap setVariable ["armed", true, true]; +}; + PVDZ_veh_Save = [_trap, "gear"]; -publicVariableServer "PVDZ_veh_Save"; +if (isServer) then { + PVDZ_veh_Save call server_updateObject; +} else { + publicVariableServer "PVDZ_veh_Save"; +}; dayz_traps_active set [count dayz_traps_active, _trap]; dayz_traps_trigger set [count dayz_traps_trigger, _trigger]; diff --git a/SQF/dayz_code/traps/functions/disarm.sqf b/SQF/dayz_code/traps/functions/disarm.sqf index c426a6b2..3de9f6b1 100644 --- a/SQF/dayz_code/traps/functions/disarm.sqf +++ b/SQF/dayz_code/traps/functions/disarm.sqf @@ -3,9 +3,16 @@ _trap = _this select 0; _trap animate ['LeftShutter', 1]; _trap animate ['RightShutter', 1]; -_trap setVariable ["armed", false, true]; +if (_trap getVariable ["armed", false]) then { + _trap setVariable ["armed", false, true]; +}; + PVDZ_veh_Save = [_trap, "gear"]; -publicVariableServer "PVDZ_veh_Save"; +if (isServer) then { + PVDZ_veh_Save call server_updateObject; +} else { + publicVariableServer "PVDZ_veh_Save"; +}; if (_trap in dayz_traps_active) then { deleteVehicle (dayz_traps_trigger select (dayz_traps_active find _trap)); diff --git a/SQF/dayz_code/traps/functions/remove.sqf b/SQF/dayz_code/traps/functions/remove.sqf index 48a4b179..ea633343 100644 --- a/SQF/dayz_code/traps/functions/remove.sqf +++ b/SQF/dayz_code/traps/functions/remove.sqf @@ -1 +1,17 @@ -[nil,nil,nil,_this select 0] call compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\remove.sqf" \ No newline at end of file +private ["_obj","_objectID","_objectUID"]; + +_obj = _this select 0; +_objectID = _obj getVariable ["ObjectID","0"]; +_objectUID = _obj getVariable ["ObjectUID","0"]; + +if (isServer) then { + [_objectID,_objectUID] call server_deleteObj; +} else { + if (count _this == 2) then { + //single use trap triggered, remove with no animation + //For normal remove let object_pickup.sqf perform deletion to ensure player has room in gear first, no others remove at same time and animation runs + PVDZ_obj_Destroy = [_objectID,_objectUID]; + publicVariableServer "PVDZ_obj_Destroy"; + deleteVehicle _obj; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/traps/functions/setup.sqf b/SQF/dayz_code/traps/functions/setup.sqf index 721bb51f..af46d3a1 100644 --- a/SQF/dayz_code/traps/functions/setup.sqf +++ b/SQF/dayz_code/traps/functions/setup.sqf @@ -10,7 +10,9 @@ if (!isNull _trap) then { if (isNull _trap) exitWith { /* break from loop */ }; if (((parseNumber _id > 0) || (parseNumber _uid > 0)) && !isNil "_armed") exitWith { - dayz_traps set [count dayz_traps, _trap]; + if (isServer) then { + dayz_traps set [count dayz_traps, _trap]; + }; }; sleep 0.5; diff --git a/SQF/dayz_code/traps/functions/trigger.sqf b/SQF/dayz_code/traps/functions/trigger.sqf index 44b3cd07..d7c71dce 100644 --- a/SQF/dayz_code/traps/functions/trigger.sqf +++ b/SQF/dayz_code/traps/functions/trigger.sqf @@ -1,7 +1,7 @@ _trap = _this select 0; if (getNumber (configFile >> "CfgVehicles" >> typeOf _trap >> "singleUse") > 0) then { - [_trap] call remove_trap; + [_trap,true] call remove_trap; } else { [_trap] call disarm_trap; }; diff --git a/SQF/dayz_code/traps/tripcans.sqf b/SQF/dayz_code/traps/tripcans.sqf index fc9078c1..75e9fda9 100644 --- a/SQF/dayz_code/traps/tripcans.sqf +++ b/SQF/dayz_code/traps/tripcans.sqf @@ -28,7 +28,7 @@ _arm = { [_trap, _trigger] call arm_trap; //} else { - _trap setVariable ["armed", true, true]; + //_trap setVariable ["armed", true, true]; //}; }; @@ -51,7 +51,7 @@ _remove = { _trigger = { if (isServer) then { - private ["_entity"]; + private "_entity"; _entity = _this select 0; [nil,_trap,rSAY,["z_trap_trigger_0",60]] call RE; @@ -64,7 +64,7 @@ _trigger = { private ["_event", "_trap", "_args"]; _event = _this select 0; _trap = if (typeOf (_this select 1) == "EmptyDetector") then { dayz_traps_active select (dayz_traps_trigger find (_this select 1)) } else { _this select 1 }; -_args = if (count _this > 2) then { _this select 2 } else { [] }; +_args = if (count _this > 2) then { _this select 2 } else { [objNull] }; switch (_event) do { case "init": { diff --git a/SQF/dayz_code/traps/tripflare.sqf b/SQF/dayz_code/traps/tripflare.sqf index c271d223..14569bc7 100644 --- a/SQF/dayz_code/traps/tripflare.sqf +++ b/SQF/dayz_code/traps/tripflare.sqf @@ -28,7 +28,7 @@ _arm = { [_trap, _trigger] call arm_trap; //} else { - _trap setVariable ["armed", true, true]; + //_trap setVariable ["armed", true, true]; //}; }; @@ -51,7 +51,7 @@ _remove = { _trigger = { if (isServer) then { - private ["_entity"]; + private "_entity"; _entity = _this select 0; [nil,_trap,rSAY,["z_trap_trigger_0",60]] call RE; @@ -72,7 +72,7 @@ _trigger = { private ["_event", "_trap", "_args"]; _event = _this select 0; _trap = if (typeOf (_this select 1) == "EmptyDetector") then { dayz_traps_active select (dayz_traps_trigger find (_this select 1)) } else { _this select 1 }; -_args = if (count _this > 2) then { _this select 2 } else { [] }; +_args = if (count _this > 2) then { _this select 2 } else { [objNull] }; switch (_event) do { case "init": { diff --git a/SQF/dayz_code/traps/tripgrenade.sqf b/SQF/dayz_code/traps/tripgrenade.sqf index 9351cc59..1574c6c9 100644 --- a/SQF/dayz_code/traps/tripgrenade.sqf +++ b/SQF/dayz_code/traps/tripgrenade.sqf @@ -11,6 +11,24 @@ _init = { }; _arm = { + _exit = false; + + if (!isDedicated && !(_trap getVariable["fullRefund",true])) then { + _exit = true; + { + if (_x in magazines player) exitWith { + player removeMagazine _x; + _exit = false; + _trap setVariable ["fullRefund",true,true]; + }; + } count ["HandGrenade_West","HandGrenade_East"]; + }; + + if (_exit) exitWith { + //Trap was already triggered, require grenade to rearm + format[localize "str_player_03",localize "str_dn_grenade"] call dayz_rollingMessages; + }; + //if (isServer) then { _pos = getPosATL _trap; _pos1 = _trap modelToWorld (_trap selectionPosition "TripA"); @@ -28,7 +46,7 @@ _arm = { [_trap, _trigger] call arm_trap; //} else { - _trap setVariable ["armed", true, true]; + //_trap setVariable ["armed", true, true]; //}; }; @@ -45,13 +63,15 @@ _remove = { [_trap] call remove_trap; } else { [_trap] call remove_trap; + + //Refund is determined in object_pickup.sqf [0,0,0,["cfgMagazines","ItemTrapTripwireGrenade",_trap]] spawn object_pickup; }; }; _trigger = { if (isServer) then { - private ["_entity"]; + private "_entity"; _entity = _this select 0; [nil,_trap,rSAY,["z_trap_trigger_0",60]] call RE; @@ -62,13 +82,17 @@ _trigger = { _flare = createVehicle ["GrenadeHandTimedWest_DZ", _position, [], 0, "CAN_COLLIDE"]; [_trap] call trigger_trap; + //Trap is left nearby to allow null source in damage handler. + + //TO-DO: save this variable to DB, currently allows one free rearm after server restart + _trap setVariable ["fullRefund",false,true]; }; }; private ["_event", "_trap", "_args"]; _event = _this select 0; _trap = if (typeOf (_this select 1) == "EmptyDetector") then { dayz_traps_active select (dayz_traps_trigger find (_this select 1)) } else { _this select 1 }; -_args = if (count _this > 2) then { _this select 2 } else { [] }; +_args = if (count _this > 2) then { _this select 2 } else { [objNull] }; switch (_event) do { case "init": { diff --git a/SQF/dayz_code/traps/tripsmoke.sqf b/SQF/dayz_code/traps/tripsmoke.sqf index 077906ec..db39f090 100644 --- a/SQF/dayz_code/traps/tripsmoke.sqf +++ b/SQF/dayz_code/traps/tripsmoke.sqf @@ -11,6 +11,24 @@ _init = { }; _arm = { + _exit = false; + + if (!isDedicated && !(_trap getVariable["fullRefund",true])) then { + _exit = true; + { + if (_x in magazines player) exitWith { + player removeMagazine _x; + _exit = false; + _trap setVariable ["fullRefund",true,true]; + }; + } count ["SmokeShell","SmokeShellRed","SmokeShellGreen"]; + }; + + if (_exit) exitWith { + //Trap was already triggered, require smoke to rearm + format[localize "str_player_03",localize "str_dn_smoke"] call dayz_rollingMessages; + }; + //if (isServer) then { _pos = getPosATL _trap; _pos1 = _trap modelToWorld (_trap selectionPosition "TripA"); @@ -28,7 +46,7 @@ _arm = { [_trap, _trigger] call arm_trap; //} else { - _trap setVariable ["armed", true, true]; + //_trap setVariable ["armed", true, true]; //}; }; @@ -45,13 +63,15 @@ _remove = { [_trap] call remove_trap; } else { [_trap] call remove_trap; + + //Refund is determined in object_pickup.sqf [0,0,0,["cfgMagazines","ItemTrapTripwireSmoke",_trap]] spawn object_pickup; }; }; _trigger = { - //if (isServer) then { - private ["_entity"]; + if (isServer) then { + private "_entity"; _entity = _this select 0; [nil,_trap,rSAY,["z_trap_trigger_0",60]] call RE; @@ -62,13 +82,16 @@ _trigger = { _flare = createVehicle ["SmokeShell", _position, [], 0, "CAN_COLLIDE"]; [_trap] call trigger_trap; - //}; + + //TO-DO: save this variable to DB, currently allows one free rearm after server restart + _trap setVariable ["fullRefund",false,true]; + }; }; private ["_event", "_trap", "_args"]; _event = _this select 0; _trap = if (typeOf (_this select 1) == "EmptyDetector") then { dayz_traps_active select (dayz_traps_trigger find (_this select 1)) } else { _this select 1 }; -_args = if (count _this > 2) then { _this select 2 } else { [] }; +_args = if (count _this > 2) then { _this select 2 } else { [objNull] }; switch (_event) do { case "init": { diff --git a/SQF/dayz_code/util/Player.hpp b/SQF/dayz_code/util/Player.hpp index 5a976bd3..374499ff 100644 --- a/SQF/dayz_code/util/Player.hpp +++ b/SQF/dayz_code/util/Player.hpp @@ -44,8 +44,8 @@ Return value indicates whether the item was actually removed. */ /* Adds the specifed item on the ground at the player's feet. The weaponholder containing the item is returned. Returns null if the function fails.*/ -#define Player_DropWeapon(class) ([0, class] call dz_fn_player_dropItem) -#define Player_DropMagazine(class) ([1, class] call dz_fn_player_dropItem) +#define Player_DropWeapon(class) ([class,2,1] call fn_dropItem) +#define Player_DropMagazine(class) ([class,1,1] call fn_dropItem) #define Player_GetStance_STAND 1 #define Player_GetStance_KNEEL 2 diff --git a/SQF/dayz_code/util/ext.hpp b/SQF/dayz_code/util/ext.hpp new file mode 100644 index 00000000..18848f2d --- /dev/null +++ b/SQF/dayz_code/util/ext.hpp @@ -0,0 +1,18 @@ +#include "string.hpp" + +#ifndef _INCLUDE_GUARD_EXT_UTIL + #define _INCLUDE_GUARD_EXT_UTIL + + #define Ext_DLL "Dayz.Util" + #define Ext_Call(args) (Ext_DLL callExtension (args)) + + #define Ext_Loaded (dz_ext) + #define Ext_Version (dz_ext_version) + + #define Ext_GetSeparator() Ext_Call("1") + #define Ext_Separator (dz_ext_separator) + + #define Ext_Resolve(name) Ext_Call(String_Format2("2%1%2", Ext_Separator, name)) + + #define Ext_ParseBool(str) ((str) == "1") +#endif \ No newline at end of file diff --git a/SQF/dayz_code/util/player.sqf b/SQF/dayz_code/util/player.sqf index 664ec3b6..510aad6a 100644 --- a/SQF/dayz_code/util/player.sqf +++ b/SQF/dayz_code/util/player.sqf @@ -107,49 +107,6 @@ dz_fn_player_addItem = }; }; -dz_fn_player_dropItem = -{ - #define DROP_ITEM_WEAPON_HOLDER_SEARCH_RADIUS 2 - #define DROP_ITEM_WEAPON_HOLDER_PLAYER_OFFSET [0,0,0] - - Debug_Assert(!Player_IsOnLadder()); - - if (Player_IsInVehicle()) exitWith - { - diag_log "WARNING: dz_fn_player_dropItem called while player was in a vehicle."; - objNull - }; - - private ["_pos","_near","_wh"]; - - //Lets get the location of the player in the world - _pos = player modeltoWorld DROP_ITEM_WEAPON_HOLDER_PLAYER_OFFSET; - _pos set [2, 0]; - - //Find WeaponHolders close to the player. - _near = _pos nearObjects ["WeaponHolder", DROP_ITEM_WEAPON_HOLDER_SEARCH_RADIUS]; - - _wh = nil; - - if (count _near > 0) then - { _wh = _near select 0; }; - else - { _wh = createVehicle ["WeaponHolder", _pos, [], 0, "CAN_COLLIDE"]; } - - if (_this select 0 == 0) then - { _wh addWeaponCargoGlobal [_this select 1, 1]; } - else - { _wh addMagazineCargoGlobal [_this select 1, 1]; }; - - //Reveal the item - player reveal _wh; - - _wh - - #undef DROP_ITEM_WEAPON_HOLDER_SEARCH_RADIUS - #undef DROP_ITEM_WEAPON_HOLDER_PLAYER_OFFSET -}; - dz_fn_player_removeWeapon = { Player_RemoveWeapon_Fast(_this) diff --git a/SQF/dayz_communityassets/models/CncBlock_D.p3d b/SQF/dayz_communityassets/models/CncBlock_D.p3d new file mode 100644 index 00000000..b2772d1b Binary files /dev/null and b/SQF/dayz_communityassets/models/CncBlock_D.p3d differ diff --git a/SQF/dayz_communityassets/models/tent_a_ghost.p3d b/SQF/dayz_communityassets/models/tent_a_ghost.p3d new file mode 100644 index 00000000..f79d2d1a Binary files /dev/null and b/SQF/dayz_communityassets/models/tent_a_ghost.p3d differ diff --git a/SQF/dayz_communityassets/models/tent_dome_ghost.p3d b/SQF/dayz_communityassets/models/tent_dome_ghost.p3d new file mode 100644 index 00000000..59cfee53 Binary files /dev/null and b/SQF/dayz_communityassets/models/tent_dome_ghost.p3d differ diff --git a/SQF/dayz_communityweapons/CZ550/CZ550.p3d b/SQF/dayz_communityweapons/CZ550/CZ550.p3d new file mode 100644 index 00000000..447199ff Binary files /dev/null and b/SQF/dayz_communityweapons/CZ550/CZ550.p3d differ diff --git a/SQF/dayz_communityweapons/CZ550/model.cfg b/SQF/dayz_communityweapons/CZ550/model.cfg new file mode 100644 index 00000000..9631aa65 --- /dev/null +++ b/SQF/dayz_communityweapons/CZ550/model.cfg @@ -0,0 +1,5 @@ +class CfgModels +{ + class BoltRifle; + class CZ550 : BoltRifle {}; +}; \ No newline at end of file diff --git a/SQF/dayz_communityweapons/LeeEnfield/LeeEnfield.p3d b/SQF/dayz_communityweapons/LeeEnfield/LeeEnfield.p3d new file mode 100644 index 00000000..fe81a1b4 Binary files /dev/null and b/SQF/dayz_communityweapons/LeeEnfield/LeeEnfield.p3d differ diff --git a/SQF/dayz_communityweapons/LeeEnfield/model.cfg b/SQF/dayz_communityweapons/LeeEnfield/model.cfg new file mode 100644 index 00000000..545f4909 --- /dev/null +++ b/SQF/dayz_communityweapons/LeeEnfield/model.cfg @@ -0,0 +1,39 @@ +class CfgModels +{ + class Weapon + { + class Animations {}; + }; + class BoltRifle : Weapon + { + class Animations : Animations + { + class bolt_fire_begin_twist; + class bolt_fire_begin; + class bolt_fire_end; + class bolt_fire_end_twist; + }; + }; + class LeeEnfield : BoltRifle + { + class Animations : Animations + { + class bolt_fire_begin_twist : bolt_fire_begin_twist + { + angle1=(rad -80); + }; + class bolt_fire_begin : bolt_fire_begin + { + offset1=0.7; + }; + class bolt_fire_end : bolt_fire_end + { + offset1=-0.7; + }; + class bolt_fire_end_twist : bolt_fire_end_twist + { + angle1=(rad 80); + }; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_communityweapons/model.cfg b/SQF/dayz_communityweapons/model.cfg index b24507e1..9f2b9314 100644 --- a/SQF/dayz_communityweapons/model.cfg +++ b/SQF/dayz_communityweapons/model.cfg @@ -40,6 +40,16 @@ class CfgSkeletons "misc_cover","" }; }; + class BoltRifle : Weapon + { + isDiscrete = 1; + skeletonInherit="Weapon"; + skeletonBones[]= + { + "Bolt_Sliding", "", + "Bolt_Rotating", "Bolt_Sliding" + }; + }; class Pistol: Weapon { skeletonInherit="Weapon"; @@ -275,6 +285,51 @@ class CfgModels };*/ }; }; + class BoltRifle : Weapon + { + skeletonName="BoltRifle"; + class Animations: Animations + { + class bolt_fire_begin_twist + { + type="rotation"; + source="reload"; + selection="Bolt_Rotating"; + axis="bolt_axis"; + memory=1; + minValue=0.10000; + maxValue=0.25000; + angle0=0; + angle1=(rad 90); + }; + class bolt_fire_begin : bolt_fire_begin_twist + { + type="translation"; + selection="Bolt_Sliding"; + minValue=0.250000; + maxValue=0.475000; + offset0=0; + offset1=-0.8; + }; + class bolt_fire_end : bolt_fire_begin + { + type="translation"; + minValue=0.525000; + maxValue=0.750000; + offset0=0; + offset1=0.8; + }; + class bolt_fire_end_twist : bolt_fire_end + { + type="rotation"; + selection="Bolt_Rotating"; + minValue=0.75000; + maxValue=0.90000; + angle0=0; + angle1=(rad -90); + }; + }; + }; class Sniper_Rifle: Weapon { skeletonName="Rifle"; diff --git a/SQF/dayz_equip/config.cpp b/SQF/dayz_equip/config.cpp index 624cd39b..16e077cf 100644 --- a/SQF/dayz_equip/config.cpp +++ b/SQF/dayz_equip/config.cpp @@ -666,76 +666,7 @@ class CfgVehicles { displayName = $STR_BUILT_WIRE2; model = "\dayz_equip\models\wire_cat2.p3d"; }; - - class Hedgehog_DZ : BuiltItems { - scope = public; - destrType = "DestructNo"; - cost = 100; - model = "\ca\misc\jezek_kov"; - icon = "\ca\data\data\Unknown_object.paa"; - mapSize = 2; - armor = 400; - displayName = $STR_BUILT_HEDGEHOG; - vehicleClass = "Fortifications"; - class dismantle { - requiredtools[] = - { - //{"Item","Chance","ReturnedPart"} - {"ItemSledgeHammer",0.02,"ItemSledgeHammerBroken"}, - {"ItemCrowbar",0.04,"ItemCrowbarBent"} - }; //Tools needed - dismantleToo = "ItemTankTrap"; //Returned magazine item - attemps = 5; //Random number - }; - class UserActions { - class Dismantle { - displayNameDefault = $STR_BUILT_HEDGEHOG_Dismantle; - showWindow = 0; - hideOnUse = 1; - displayName = $STR_BUILT_HEDGEHOG_Dismantle; - position="action"; - radius = 2.7; - onlyForPlayer = 1; - condition = "(this getVariable ['CharacterID','0'] != dayz_characterID) && (alive this)"; - statement = "this spawn object_dismantle;"; - }; - }; - }; - - class Sandbag1_DZ : BuiltItems { - scope = public; - destrType = "DestructNo"; - cost = 100; - model = "\ca\misc2\BagFenceLong.p3d"; - icon = "\Ca\misc3\data\Icons\icon_fortBagFenceLong_ca.paa"; - mapSize = 2; - armor = 400; - displayName = $STR_BUILT_SANDBAG; - vehicleClass = "Fortifications"; - class dismantle { - requiredtools[] = - { - //{"Item","Chance","ReturnedPart"} - {"ItemShovel",0.02,"ItemShovelBroken"} - }; //Tools needed - dismantleToo = "ItemSandbag"; //Returned magazine item - attemps = 5; //Random number - }; - class UserActions { - class Dismantle { - displayNameDefault = $STR_BUILT_SANDBAG_Dismantle; - showWindow = 0; - hideOnUse = 1; - displayName = $STR_BUILT_SANDBAG_Dismantle; - position="action"; - radius = 2.7; - onlyForPlayer = 1; - condition = "(this getVariable ['CharacterID','0'] != dayz_characterID) && (alive this)"; - statement = "this spawn object_dismantle;"; - }; - }; - }; - + class Fence_DZ: BuiltItems { scope = public; destrType = "DestructNo"; diff --git a/SQF/dayz_equip/configs/Storage.hpp b/SQF/dayz_equip/configs/Storage.hpp index ee94e7ec..2c0a67e7 100644 --- a/SQF/dayz_equip/configs/Storage.hpp +++ b/SQF/dayz_equip/configs/Storage.hpp @@ -168,6 +168,15 @@ class TentStorage_base : DZ_storage_base { buildCollisionPoints = 6; buildCollisionPaths[] = {{0,1,2,3,4,5,0,2,4,0,3,1,5,3}}; }; +class TentStorage_Ghost : TentStorage_base { + model = "\z\addons\dayz_communityassets\models\tent_a_ghost.p3d"; + displayName = $STR_VEH_NAME_TENT; + vehicleClass = "Survival"; + pack = "WeaponHolder_ItemTent"; + transportMaxMagazines = 0; + transportMaxWeapons = 0; + transportMaxBackpacks = 0; +}; class TentStorage : TentStorage_base { displayName = $STR_VEH_NAME_TENT; vehicleClass = "Survival"; @@ -251,7 +260,15 @@ class DomeTentStorage_base : TentStorage_base { buildCollisionPoints = 7; buildCollisionPaths[] = {{1,0,4,3,1,6,4},{0,6,3},{5,6,2}}; }; - +class DomeTentStorage_Ghost : TentStorage_base { + model = "\z\addons\dayz_communityassets\models\tent_dome_ghost.p3d"; + displayName = $STR_VEH_NAME_DOME_TENT; + vehicleClass = "Survival"; + pack = "WeaponHolder_ItemTent"; + transportMaxMagazines = 0; + transportMaxWeapons = 0; + transportMaxBackpacks = 0; +}; class DomeTentStorage : DomeTentStorage_base { armor = 50; displayname = $STR_VEH_NAME_DOME_TENT; diff --git a/SQF/dayz_server/compile/server_onPlayerDisconnect.sqf b/SQF/dayz_server/compile/server_onPlayerDisconnect.sqf index a581157a..9105a6bf 100644 --- a/SQF/dayz_server/compile/server_onPlayerDisconnect.sqf +++ b/SQF/dayz_server/compile/server_onPlayerDisconnect.sqf @@ -1,18 +1,33 @@ -private ["_playerObj","_myGroup","_playerUID","_playerPos","_playerName"]; +/* + WARNING: Alive player objects are deleted by Arma shortly after onPlayerDisconnected fires + because DayZ uses disabledAI=1 https://community.bistudio.com/wiki/Description.ext#disabledAI + + References to the player object after that point will return objNull, so this function + and server_playerSync must be fast or the player will not save. +*/ +private ["_playerObj","_playerUID","_playerPos","_playerName","_characterID","_Sepsis"]; _playerUID = _this select 0; _playerName = _this select 1; _playerObj = nil; -_playerPos = []; -//Lets search all playerable units looking for the objects that matches our playerUID +//Lets search all players looking for the object that matches our UID +//If the player just died then the new unit they respawned into will be found (respawnDelay=0 in description.ext) { if ((getPlayerUID _x) == _playerUID) exitWith { _playerObj = _x; _playerPos = getPosATL _playerObj;}; -} forEach playableUnits; +} count playableUnits; -//If for some reason the playerOBj does not exist lets exit the disconnect system. +//If playerObj is not in playableUnits then lets exit the disconnect system. if (isNil "_playerObj") exitWith { - diag_log format["%1: nil player object, _this:%2", __FILE__, _this]; + diag_log format["INFO: OnPlayerDisconnect exiting. Player is not in playableUnits. %1", _this]; +}; + +//Player object is alive in debug zone. The player most likely just respawned. +if (_playerPos distance respawn_west_original < 1500) exitWith { + diag_log format["INFO: OnPlayerDisconnect exiting. Player is near respawn_west. This is normal after death. %1", _this]; + if (!isNull _playerObj) then { + _playerObj call sched_co_deleteVehicle; + }; }; //diag_log format["get: %1 (%2), sent: %3 (%4)",typeName (getPlayerUID _playerObj), getPlayerUID _playerObj, typeName _playerUID, _playerUID]; @@ -25,36 +40,36 @@ _Sepsis = _playerObj getVariable["USEC_Sepsis",false]; _lastDamage = round(diag_ticktime - _lastDamage); //Readded Logout debug info. -diag_log format["INFO - Player: %3(UID:%1/CID:%2) as (%4), logged off at %5%6", - getPlayerUID _playerObj, +/* +diag_log format["INFO - Player: %3(UID:%1/CID:%2) as (%4), Disconnecting %5", + _playerUID, _characterID, _playerObj call fa_plr2str, typeOf _playerObj, - (getPosATL _playerObj) call fa_coor2str, - if ((_lastDamage > 5 AND (_lastDamage < 30)) AND ((alive _playerObj) AND (_playerObj distance (getMarkerpos "respawn_west") >= 2000))) then {" while in combat ("+str(_lastDamage)+" seconds left)"} else {""} -]; + if ((_lastDamage > 5 AND (_lastDamage < 30)) AND (alive _playerObj)) then {" while in combat ("+str(_lastDamage)+" seconds left)"} else {""} +]; +*/ //Login processing do not sync -if (_playerUID in dayz_ghostPlayers) exitwith { +if (_playerUID in dayz_ghostPlayers) exitWith { + //Note player is alive (see set in dayz_ghostPlayers below) diag_log format["ERROR: Cannot Sync Character [%1,%2] Still processing login",_playerName,_playerUID]; //Lets remove the object. if (!isNull _playerObj) then { - _myGroup = group _playerObj; - deleteGroup _myGroup; + _playerObj call sched_co_deleteVehicle; }; }; //Make sure we know the ID of the object before we try and sync any info to the DB -if (_characterID != "?") exitwith { - +if (_characterID != "?") then { //If the player has sepsis before logging off lets give them infected status. if (_Sepsis) then { _playerObj setVariable["USEC_infected",true,true]; }; //Record Player Login/LogOut - [_playerUID,_characterID,2,_playerName] call dayz_recordLogin; + [_playerUID,_characterID,3,(_playerObj call fa_plr2str),(_playerPos call fa_coor2str),if ((_lastDamage > 5 AND (_lastDamage < 30)) AND (alive _playerObj)) then {" while in combat ("+str(_lastDamage)+" seconds left)"} else {""}] call dayz_recordLogin; //if the player object is inside a vehicle lets eject the player if (vehicle _playerObj != _playerObj) then { @@ -63,6 +78,7 @@ if (_characterID != "?") exitwith { //if player object is alive lets sync the player and remove the body and if ghosting is active add the player id to the array if (alive _playerObj) then { + // High priority. Sync must finish fast before player object isNull [_playerObj,nil,true] call server_playerSync; if (dayz_enableGhosting) then { @@ -77,15 +93,9 @@ if (_characterID != "?") exitwith { }; //Lets scan the area near the player logout position and save all objects. - { [_x,"gear"] call server_updateObject } foreach (nearestObjects [_playerPos, DayZ_GearedObjects, 10]); -}; - -if (isNull _playerObj) then { diag_log("Player Object does not esist"); }; - - -//Lets remove the object. -if (!isNull _playerObj) then { - _myGroup = group _playerObj; - deleteGroup _myGroup; + {[_x,"gear"] call server_updateObject} count (nearestObjects [_playerPos,DayZ_GearedObjects,10]); }; +if (alive _playerObj) then { + _playerObj call sched_co_deleteVehicle; +}; \ No newline at end of file diff --git a/SQF/dayz_server/compile/server_playerDied.sqf b/SQF/dayz_server/compile/server_playerDied.sqf index aeef6075..c9b371f6 100644 --- a/SQF/dayz_server/compile/server_playerDied.sqf +++ b/SQF/dayz_server/compile/server_playerDied.sqf @@ -1,6 +1,6 @@ #include "\z\addons\dayz_server\compile\server_toggle_debug.hpp" -private ["_characterID","_minutes","_newObject","_playerID","_key","_pos"]; +private ["_characterID","_minutes","_newObject","_playerID","_playerName","_key","_pos","_infected","_sourceName","_sourceWeapon","_distance","_message","_method","_suicide","_bodyName","_type"]; //[unit, weapon, muzzle, mode, ammo, magazine, projectile] _characterID = _this select 0; @@ -8,11 +8,15 @@ _minutes = _this select 1; _newObject = _this select 2; _playerID = _this select 3; _playerName = toString (_this select 4); //Sent as array to avoid publicVariable value restrictions +_infected = _this select 5; +_sourceName = toString (_this select 6); +_sourceWeapon = toString (_this select 7); +_distance = _this select 8; +_method = _this select 9; //Mark player as dead so we bypass the ghost system dayz_died set [count dayz_died, _playerID]; -_newObject setVariable ["processedDeath",diag_tickTime]; _newObject setVariable ["bodyName",_playerName,true]; _pos = getPosATL _newObject; @@ -31,10 +35,43 @@ if (_characterID != "0") then { #ifdef PLAYER_DEBUG diag_log format ["Player UID#%3 CID#%4 %1 as %5 died at %2", _newObject call fa_plr2str, _pos call fa_coor2str, - getPlayerUID _newObject,_characterID, + _playerID, _characterID, typeOf _newObject ]; #endif + +// DEATH MESSAGES +_suicide = ((_sourceName == _playerName) or (_method == "suicide")); + +if (_method in ["explosion","melee","shot","shothead","shotheavy","suicide"] && !(_method == "explosion" && (_suicide or _sourceName == "unknown"))) then { + if (_suicide) then { + _message = ["suicide",_playerName]; + } else { + if (_sourceWeapon == "") then {_sourceWeapon = "unknown weapon";}; + _message = ["killed",_playerName,_sourceName,_sourceWeapon,_distance]; + }; +} else { + // No source name, distance or weapon needed: "%1 died from %2" str_death_%1 (see stringtable) + // Possible methods: ["bled","combatlog","crash","crushed","dehyd","eject","fall","starve","sick","rad","runover","unknown","zombie"] + _message = ["died",_playerName,_method]; +}; + +if (_playerName != "unknown" or _sourceName != "unknown") then { + _type = _message select 0; + _bodyName = _message select 1; + + if (_type == "killed" && _sourceName == "AI") then { + _message set [2, (localize "STR_PLAYER_AI")]; + }; + + _message = switch _type do { + case "died": {format [localize "str_player_death_died", _bodyName, localize format["str_death_%1",_message select 2]]}; + case "killed": {format [localize "str_player_death_killed", _bodyName, _message select 2, _message select 3, _message select 4]}; + case "suicide": {format [localize "str_player_death_suicide", _bodyName]}; + }; + diag_log format["DeathMessage: %1",_message]; +}; + _newObject setDamage 1; _newObject setOwner 0; -//dead_bodyCleanup set [count dead_bodyCleanup,_newObject]; +//dead_bodyCleanup set [count dead_bodyCleanup,_newObject]; \ No newline at end of file diff --git a/SQF/dayz_server/compile/server_playerLogin.sqf b/SQF/dayz_server/compile/server_playerLogin.sqf index 476995d1..1fbbb643 100644 --- a/SQF/dayz_server/compile/server_playerLogin.sqf +++ b/SQF/dayz_server/compile/server_playerLogin.sqf @@ -14,7 +14,7 @@ if (isNil "sm_done") exitWith { diag_log ("Login cancelled, server is not ready. _inventory = []; _backpack = []; -_survival = [0,0,0]; +_survival = [0,0,0,0]; _model = ""; if (_playerID == "") then { @@ -75,6 +75,12 @@ if ((_primary select 0) == "ERROR") exitWith { diag_log format ["LOGIN RESULT: Exiting, failed to load _primary: %1 for player: %2 ",_primary,_playerID]; }; +/* + { + diag_log format["%1 - %2",_forEachIndex,_x]; + } foreach _primary; +*/ + //Process request _newPlayer = _primary select 1; _isNew = count _primary < 6; //_result select 1; @@ -113,7 +119,7 @@ if (!_isNew) then { }; -_isHiveOk = if (_hiveVer >= dayz_hiveVersionNo) then {true} else {false}; //EDITED +_isHiveOk = (_hiveVer >= dayz_hiveVersionNo); //EDITED PVCDZ_plr_Login = [_charID,_inventory,_backpack,_survival,_isNew,dayz_versionNo,_model,_isHiveOk,_newPlayer]; (owner _playerObj) publicVariableClient "PVCDZ_plr_Login"; @@ -133,7 +139,7 @@ if (_endMission) exitwith { {_x setDamage 1} count dayz_choppedTrees; //Record Player Login/LogOut -[_playerID,_charID,1,_playerName] call dayz_recordLogin; +[_playerID,_charID,2,(_playerObj call fa_plr2str),((getPosATL _playerObj) call fa_coor2str)] call dayz_recordLogin; PVCDZ_plr_PlayerAccepted = [_playerName,diag_ticktime]; (owner _playerObj) publicVariableClient "PVCDZ_plr_PlayerAccepted"; diff --git a/SQF/dayz_server/compile/server_playerSetup.sqf b/SQF/dayz_server/compile/server_playerSetup.sqf index d0b8c629..2c2ecad0 100644 --- a/SQF/dayz_server/compile/server_playerSetup.sqf +++ b/SQF/dayz_server/compile/server_playerSetup.sqf @@ -1,4 +1,4 @@ -private ["_characterID","_playerObj","_playerID","_dummy","_worldspace","_state","_doLoop","_key","_primary","_medical","_stats","_humanity","_randomSpot","_position","_debug","_distance","_fractures","_score","_findSpot","_mkr","_j","_isIsland","_w","_clientID"]; +private ["_characterID","_playerObj","_spawnSelection","_playerID","_dummy","_worldspace","_state","_doLoop","_key","_primary","_medical","_stats","_humanity","_randomSpot","_position","_distance","_fractures","_score","_findSpot","_mkr","_j","_isIsland","_w","_clientID"]; _characterID = _this select 0; _playerObj = _this select 1; @@ -67,10 +67,9 @@ if (count _Achievements == 0) then {_Achievements = [0,0,0,0,0,0,0,0,0,0,0,0,0,0 if (count _worldspace > 0) then { _position = _worldspace select 1; - if (count _position < 3) then {_randomSpot = true;}; //prevent debug world! + if (count _position < 3) exitWith {_randomSpot = true;}; //prevent debug world! - _debug = getMarkerpos "respawn_west"; - _distance = _debug distance _position; + _distance = respawn_west_original distance _position; if (_distance < 2000) then {_randomSpot = true;}; _distance = [0,0,0] distance _position; @@ -105,7 +104,7 @@ if (count _medical > 0) then { _playerObj setVariable ["unconsciousTime",(_medical select 10),true]; _playerObj setVariable ["messing",if (count _medical >= 14) then {(_medical select 13)} else {[0,0,0]},true]; _playerObj setVariable ["blood_testdone",if (count _medical >= 15) then {(_medical select 14)} else {false},true]; - if (count _medical >= 12) then { + if (count _medical > 12 && {typeName (_medical select 11) == "STRING"}) then { //Old character had no "messing" OR "messing" in place of blood_type _playerObj setVariable ["blood_type",(_medical select 11),true]; _playerObj setVariable ["rh_factor",(_medical select 12),true]; // diag_log [ "Character data: blood_type,rh_factor,testdone=", @@ -174,7 +173,7 @@ if (count _stats > 0) then { if (_randomSpot) then { private ["_counter","_position","_isNear","_isZero","_mkr"]; if (!isDedicated) then {endLoadingScreen;}; - _IslandMap = if (toLower worldName in ["caribou","cmr_ovaron","dayznogova","dingor","dzhg","fallujah","fapovo","fdf_isle1_a","isladuala","lingor","mbg_celle2","namalsk","napf","oring","panthera2","sara","sauerland","smd_sahrani_a2","tasmania2010","tavi","trinity","utes"]) then {true} else {false}; + _IslandMap = (toLower worldName in ["caribou","cmr_ovaron","dayznogova","dingor","dzhg","fallujah","fapovo","fdf_isle1_a","isladuala","lingor","mbg_celle2","namalsk","napf","oring","panthera2","sara","sauerland","smd_sahrani_a2","tasmania2010","tavi","trinity","utes"]); //spawn into random _findSpot = true; @@ -193,7 +192,7 @@ if (_randomSpot) then { && {(_position distance _mkr < 1400)}) then { // !ouside the disk _position set [2, 0]; if (((ATLtoASL _position) select 2 > 2.5) //! player's feet too wet - && {({alive _x} count (_position nearEntities ["Man",150]) == 0)}) then { // !too close from other players/zombies + && {({alive _x} count (_position nearEntities ["CAManBase",150]) == 0)}) then { // !too close from other players/zombies _pos = +(_position); _isIsland = false; //Can be set to true during the Check // we check over a 809-meter cross line, with an effective interlaced step of 5 meters @@ -222,12 +221,15 @@ _playerObj setVariable ["lastPos",getPosATL _playerObj]; PVCDZ_plr_Login2 = [_worldspace,_state]; _clientID = owner _playerObj; _clientID publicVariableClient "PVCDZ_plr_Login2"; -_clientID publicVariableClient "PVCDZ_plr_plantSpawner"; +if (dayz_townGenerator) then { + _clientID publicVariableClient "PVCDZ_plr_plantSpawner"; +}; //record time started -_playerObj setVariable ["lastTime",time]; +_playerObj setVariable ["lastTime",diag_ticktime]; -//diag_log format["LOGIN PUBLISHING: UID#%1 CID#%2 %3 as %4 should spawn at %5",getPlayerUID _playerObj,_characterID,_playerObj call fa_plr2str,typeOf _playerObj,(_worldspace select 1) call fa_coor2str]; +//Record Player Login/LogOut +[(getPlayerUID _playerObj),_characterID,1,(_playerObj call fa_plr2str),((_worldspace select 1) call fa_coor2str)] call dayz_recordLogin; PVDZ_plr_Login1 = null; PVDZ_plr_Login2 = null; diff --git a/SQF/dayz_server/compile/server_playerSync.sqf b/SQF/dayz_server/compile/server_playerSync.sqf index 4e1a0b47..52e3a5e2 100644 --- a/SQF/dayz_server/compile/server_playerSync.sqf +++ b/SQF/dayz_server/compile/server_playerSync.sqf @@ -1,41 +1,32 @@ -private ["_characterID","_temp","_currentWpn","_magazines","_force","_isNewPos","_humanity","_isNewGear","_currentModel","_modelChk","_playerPos","_playerGear","_playerBackp","_backpack","_killsB","_killsH","_medical","_isNewMed","_character","_timeSince","_charPos","_isInVehicle","_distanceFoot","_lastPos","_kills","_headShots","_timeGross","_timeLeft","_onLadder","_isTerminal","_currentAnim","_muzzles","_array","_key","_lastTime","_config","_currentState","_name","_debug","_distance"]; +private ["_characterID","_temp","_currentWpn","_magazines","_humanity","_currentModel","_modelChk", + "_playerPos","_playerGear","_playerBackp","_backpack","_killsB","_killsH","_medical","_character","_exitReason", + "_timeSince","_charPos","_isInVehicle","_distanceFoot","_lastPos","_kills","_headShots","_timeGross","_timeLeft","_onLadder", + "_isTerminal","_currentAnim","_muzzles","_array","_key","_lastTime","_config","_currentState","_name","_inDebug","_Achievements"]; //[player,array] _character = _this select 0; _magazines = _this select 1; _characterID = _character getVariable ["characterID","0"]; -_force = true; _charPos = getPosATL _character; _isInVehicle = vehicle _character != _character; _timeSince = 0; _humanity = 0; _name = if (alive _character) then {name _character} else {"Dead Player"}; _Achievements = []; -_debug = getMarkerpos "respawn_west"; -_distance = _debug distance _charPos; +_inDebug = (respawn_west_original distance _charPos) < 1500; -if (_character isKindOf "Animal") exitWith { - diag_log ("ERROR: Cannot Sync Character " + _name + " is an Animal class"); +_exitReason = switch true do { + case (isNil "_characterID"): {("ERROR: Cannot Sync Character " + _name + " has nil characterID")}; //Unit is null + case (_inDebug): {format["INFO: Cannot Sync Character %1 near respawn_west %2. This is normal when relogging or changing clothes.",_name,_charPos]}; + case (_characterID == "0"): {("ERROR: Cannot Sync Character " + _name + " has no characterID")}; + case (_character isKindOf "Animal"): {("ERROR: Cannot Sync Character " + _name + " is an Animal class")}; + default {"none"}; }; -if (isNil "_characterID") exitWith { - diag_log ("ERROR: Cannot Sync Character " + _name + " has nil characterID"); +if (_exitReason != "none") exitWith { + diag_log _exitReason; }; -if (_characterID == "0" or _distance < 1500) exitWith { - if (_distance < 1500) then { - diag_log format["INFO: server_playerSync: Cannot Sync Player %1 [%2]. Position in debug! %3 (May be changing clothes)",_name,_characterID,_charPos]; - } else { - diag_log ("ERROR: Cannot Sync Character " + _name + " as no characterID"); - }; -}; - -//Check for server initiated updates -_isNewMed = _character getVariable ["medForceUpdate",false]; //Med update is forced when a player receives some kind of med incident -_isNewPos = _character getVariable ["posForceUpdate",false]; //Med update is forced when a player receives some kind of med incident -_isNewGear = if (!isNil "_magazines") then { true } else { false }; -//diag_log ("Starting Save... MED: " + str(_isNewMed) + " / POS: " + str(_isNewPos)); sleep 0.05; - //Check for player initiated updates if (_characterID != "0") then { _playerPos = []; @@ -47,25 +38,20 @@ if (_characterID != "0") then { //diag_log ("Found Character..."); //Check if update is requested - if (_isNewPos or _force) then { - //diag_log ("position..." + str(_isNewPos) + " / " + str(_force)); sleep 0.05; - if (((_charPos select 0) == 0) && ((_charPos select 1) == 0)) then { - //Zero Position - } else { - //diag_log ("getting position..."); sleep 0.05; - _playerPos = [round (direction _character),_charPos]; - _lastPos = _character getVariable ["lastPos",_charPos]; - if (count _lastPos > 2 && count _charPos > 2) then { - if (!_isInVehicle) then {_distanceFoot = round (_charPos distance _lastPos);}; - _character setVariable["lastPos",_charPos]; - }; - if (count _charPos < 3) then {_playerPos = [];}; - //diag_log ("position = " + str(_playerPos)); sleep 0.05; + if !((_charPos select 0 == 0) && (_charPos select 1 == 0)) then { + //diag_log ("getting position..."); sleep 0.05; + _playerPos = [round (direction _character),_charPos]; + _lastPos = _character getVariable ["lastPos",_charPos]; + if (count _lastPos > 2 && count _charPos > 2) then { + if (!_isInVehicle) then {_distanceFoot = round (_charPos distance _lastPos);}; + _character setVariable["lastPos",_charPos]; }; - _character setVariable ["posForceUpdate",false,true]; + if (count _charPos < 3) then {_playerPos = [];}; + //diag_log ("position = " + str(_playerPos)); sleep 0.05; }; + _character setVariable ["posForceUpdate",false,true]; - if (_isNewGear) then { + if (!isNil "_magazines") then { if (typeName _magazines == "ARRAY") then { _playerGear = [weapons _character,_magazines select 0,_magazines select 1]; }; @@ -75,15 +61,12 @@ if (_characterID != "0") then { _backpack = unitBackpack _character; _playerBackp = [typeOf _backpack,getWeaponCargo _backpack,getMagazineCargo _backpack]; - if (_isNewMed or _force) then { - //diag_log ("medical..."); sleep 0.05; - if !(_character getVariable ["USEC_isDead",false]) then { - //diag_log ("medical check..."); sleep 0.05; - _medical = _character call player_sumMedical; - //diag_log ("medical result..." + str(_medical)); sleep 0.05; - }; - _character setVariable ["medForceUpdate",false,true]; + if !(_character getVariable ["USEC_isDead",false]) then { + //diag_log ("medical check..."); sleep 0.05; + _medical = _character call player_sumMedical; + //diag_log ("medical result..." + str(_medical)); sleep 0.05; }; + _character setVariable ["medForceUpdate",false,true]; //Process update if (_characterID != "0") then { @@ -103,11 +86,16 @@ if (_characterID != "0") then { _character addScore _kills; /* Assess how much time has passed, for recording total time on server + Note "lastTime" is -1 after clothes change */ - _lastTime = _character getVariable ["lastTime",diag_ticktime]; - _timeGross = (diag_ticktime - _lastTime); - _timeSince = floor (_timeGross / 60); - _timeLeft = (_timeGross - (_timeSince * 60)); + _lastTime = _character getVariable ["lastTime",-1]; + if (_lastTime == -1) then { + _character setVariable ["lastTime",diag_tickTime,false]; + } else { + _timeGross = (diag_tickTime - _lastTime); + _timeSince = floor (_timeGross / 60); + _timeLeft = (_timeGross - (_timeSince * 60)); + }; /* Get character state details */ @@ -163,8 +151,9 @@ if (_characterID != "0") then { if (alive _character) then { //Wait for HIVE to be free and send request _key = format["CHILD:201:%1:%2:%3:%4:%5:%6:%7:%8:%9:%10:%11:%12:%13:%14:%15:%16:",_characterID,_playerPos,_playerGear,_playerBackp,_medical,false,false,_kills,_headShots,_distanceFoot,_timeSince,_currentState,_killsH,_killsB,_currentModel,_humanity]; - //diag_log ("HIVE: WRITE: "+ str(_key) + " / " + _characterID); - //diag_log format["HIVE: SYNC: [%1,%2,%3,%4]",_characterID,_playerPos,_playerGear,_playerBackp]; + + diag_log str formatText["INFO - %2(UID:%4,CID:%3) PlayerSync, %1",_key,_name,_characterID,(getPlayerUID _character)]; + _key call server_hiveWrite; }; }; diff --git a/SQF/dayz_server/compile/server_publishObject.sqf b/SQF/dayz_server/compile/server_publishObject.sqf index 8070e5a1..b9a12b8a 100644 --- a/SQF/dayz_server/compile/server_publishObject.sqf +++ b/SQF/dayz_server/compile/server_publishObject.sqf @@ -1,6 +1,6 @@ #include "\z\addons\dayz_server\compile\server_toggle_debug.hpp" -private ["_type ","_objectUID ","_characterID ","_object","_worldspace","_key", "_ownerArray", "_inventory"]; +private ["_type","_objectUID","_characterID","_object","_worldspace","_key","_ownerArray","_inventory"]; _characterID = _this select 0; _object = _this select 1; diff --git a/SQF/dayz_server/compile/server_spawnInfectedCamps.sqf b/SQF/dayz_server/compile/server_spawnInfectedCamps.sqf index e03bb41d..f7cbe4ad 100644 --- a/SQF/dayz_server/compile/server_spawnInfectedCamps.sqf +++ b/SQF/dayz_server/compile/server_spawnInfectedCamps.sqf @@ -65,10 +65,10 @@ for "_i" from 1 to (CAMP_NUM) do _position set [2, 0]; //Check if a camp already exists within the minimum distance - if (count (nearestObjects [_position, [CAMP_CONTAINER_BASE], CAMP_MIN_DIST]) < 1) exitWith {}; + if (count (_position nearObjects [CAMP_CONTAINER_BASE,CAMP_MIN_DIST]) < 1) exitWith {}; }; - diag_log format ["Spawning an infected camp (%1) at %2", _composition, _position]; + diag_log format ["DEBUG: Spawning an infected camp (%1) at %2", _composition, _position]; //Spawn composition _compositionObjects = [_position, random 360,_composition] call spawnComposition; diff --git a/SQF/dayz_server/compile/server_updateObject.sqf b/SQF/dayz_server/compile/server_updateObject.sqf index c4174d3b..6ce94d22 100644 --- a/SQF/dayz_server/compile/server_updateObject.sqf +++ b/SQF/dayz_server/compile/server_updateObject.sqf @@ -2,12 +2,13 @@ #include "\z\addons\dayz_server\compile\server_toggle_debug.hpp" if (isNil "sm_done") exitWith {}; -private ["_object","_type","_objectID","_objectUID","_lastUpdate","_needUpdate","_object_position","_object_inventory","_object_damage","_isNotOk"]; +private ["_object","_type","_objectID","_objectUID","_lastUpdate","_needUpdate","_object_position","_object_inventory","_object_damage","_isNotOk","_totalDmg"]; _object = _this select 0; _type = _this select 1; _recorddmg = false; _isNotOk = false; _forced = if (count _this > 2) then {_this select 2} else {false}; +_totalDmg = if (count _this > 3) then {_this select 3} else {false}; _objectID = "0"; _objectUID = "0"; @@ -95,6 +96,7 @@ _object_damage = { _damage = damage _object; _array = []; _allFixed = true; + { _hit = [_object,_x] call object_getHit; _selection = getText (configFile >> "CfgVehicles" >> (typeOf _object) >> "HitPoints" >> _x >> "name"); @@ -107,7 +109,8 @@ _object_damage = { }; } forEach _hitpoints; - if (_allFixed) then {_object setDamage 0;}; + if (_allFixed && !_totalDmg) then {_object setDamage 0;}; + if (_forced) then { if (_object in needUpdate_objects) then {needUpdate_objects = needUpdate_objects - [_object];}; _recorddmg = true; @@ -128,22 +131,28 @@ _object_damage = { } else { _key = format["CHILD:306:%1:",_objectID] + str _array + ":" + str _damage + ":"; }; + #ifdef OBJECT_DEBUG diag_log ("HIVE: WRITE: "+ str(_key)); + #endif + _key call server_hiveWrite; }; }; //Walls _objWallDamage = { - private "_key"; - _damage = _this select 2; - _object setDamage _damage; + private ["_key","_damage"]; + _damage = (damage _object); if (_objectID == "0") then { _key = format["CHILD:306:%1:%2:%3:",_objectUID,[],_damage]; } else { _key = format["CHILD:306:%1:%2:%3:",_objectID,[],_damage]; }; + #ifdef OBJECT_DEBUG + diag_log ("HIVE: WRITE: "+ str(_key)); + #endif + _key call server_hiveWrite; }; @@ -160,7 +169,9 @@ _object_killed = { }; _key call server_hiveWrite; + #ifdef OBJECT_DEBUG diag_log format["DELETE: Deleted by KEY: %1",_key]; + #endif if ((typeOf _object) in DayZ_removableObjects) then {[_objectID,_objectUID] call server_deleteObj;}; }; @@ -174,12 +185,13 @@ _object_maintenance = { _variables set [count _variables, ["padlockCombination", _accessArray]]; if (_objectID == "0") then { - _key = format["CHILD:309:%1:%2:",_objectUID,_ownerArray]; + //_key = format["CHILD:309:%1:%2:",_objectUID,_ownerArray]; _key = format["CHILD:306:%1:%2:%3:",_objectUID,[],0]; //Wont work just now. } else { - _key = format["CHILD:303:%1:%2:",_objectID,_ownerArray]; + //_key = format["CHILD:303:%1:%2:",_objectID,_ownerArray]; _key = format["CHILD:306:%1:%2:%3:",_objectID,[],0]; }; + // #ifdef OBJECT_DEBUG diag_log ("HIVE: WRITE: Maintenance, "+ str(_key)); // #endif @@ -235,4 +247,4 @@ switch (_type) do { case "objWallDamage": { call _objWallDamage; }; -}; \ No newline at end of file +}; diff --git a/SQF/dayz_server/compile/zombie_Wildgenerate.sqf b/SQF/dayz_server/compile/zombie_Wildgenerate.sqf index b83a6824..e5468af7 100644 --- a/SQF/dayz_server/compile/zombie_Wildgenerate.sqf +++ b/SQF/dayz_server/compile/zombie_Wildgenerate.sqf @@ -38,7 +38,7 @@ while {_counter < _amount} do { _counter = _counter + 1; //Start behavior - //_id = [_position,_agent] execFSM "\z\AddOns\dayz_code\system\zombie_wildagent.fsm"; + //_id = [_agent] execFSM "\z\AddOns\dayz_code\system\zombie_wildagent.fsm"; //_agent setVariable [ "fsmid", _id ]; //Disable all zed systems diff --git a/SQF/dayz_server/eventHandlers/server_sendKey.sqf b/SQF/dayz_server/eventHandlers/server_sendKey.sqf new file mode 100644 index 00000000..8b065fd4 --- /dev/null +++ b/SQF/dayz_server/eventHandlers/server_sendKey.sqf @@ -0,0 +1,5 @@ +local _var = "PVDZ_fskey" + (_this select 1); +missionNamespace setVariable [_var, dz_fskey]; + +owner (_this select 0) publicVariableClient _var; +missionNamespace setVariable [_var, nil]; \ No newline at end of file diff --git a/SQF/dayz_server/eventHandlers/server_sendToClient.sqf b/SQF/dayz_server/eventHandlers/server_sendToClient.sqf index be13eb89..b6f75418 100644 --- a/SQF/dayz_server/eventHandlers/server_sendToClient.sqf +++ b/SQF/dayz_server/eventHandlers/server_sendToClient.sqf @@ -5,19 +5,9 @@ _variable = _this select 1; _arraytosend = _this select 2; _owner = owner _unit; -diag_log format ["%1, %2, %3, %4", _unit, _variable, _arraytosend, _owner]; +//diag_log format ["%1, %2, %3, %4", _unit, _variable, _arraytosend, _owner]; switch (_variable) do { - case "objWallDamage": { - _object = _arraytosend select 0; - if (local _object) then { - _arraytosend call fnc_Obj_FenceHandleDam; - } else { - PVCDZ_obj_Damage = _arraytosend; - _owner publicVariableClient "PVCDZ_obj_Damage"; - }; - }; - case "VehHandleDam": { _vehicle = _arraytosend select 0; if (local _vehicle) then { @@ -129,4 +119,5 @@ switch (_variable) do { PVCDZ_OpenTarget_Reset = true; _owner publicVariableClient "PVCDZ_OpenTarget_Reset"; }; + default { diag_log format ["%1, %2, %3, %4", _unit, _variable, _arraytosend, _owner]; }; }; \ No newline at end of file diff --git a/SQF/dayz_server/init/server_functions.sqf b/SQF/dayz_server/init/server_functions.sqf index 6f426b88..bd3d8911 100644 --- a/SQF/dayz_server/init/server_functions.sqf +++ b/SQF/dayz_server/init/server_functions.sqf @@ -23,12 +23,13 @@ server_deleteObj = compile preprocessFileLineNumbers "\z\addons\dayz_server\comp server_playerSync = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_playerSync.sqf"; zombie_findOwner = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\zombie_findOwner.sqf"; server_Wildgenerate = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\zombie_Wildgenerate.sqf"; -server_plantSpawner = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_plantSpawner.sqf"; base_fireMonitor = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\fire_monitor.sqf"; -server_systemCleanup = compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_cleanup.sqf"; +//server_systemCleanup = compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_cleanup.sqf"; spawnComposition = compile preprocessFileLineNumbers "ca\modules\dyno\data\scripts\objectMapper.sqf"; //"\z\addons\dayz_code\compile\object_mapper.sqf"; server_sendToClient = compile preprocessFileLineNumbers "\z\addons\dayz_server\eventHandlers\server_sendToClient.sqf"; +server_sendKey = compile preprocessFileLineNumbers "\z\addons\dayz_server\eventHandlers\server_sendKey.sqf"; + server_medicalSync = { _player = _this select 0; _array = _this select 1; @@ -49,7 +50,7 @@ server_medicalSync = { _player setVariable ["messing",(_array select 13)]; //13 _player setVariable ["blood_testdone",(_array select 14)]; //14 }; - +/* dayz_Achievements = { _achievementID = (_this select 0) select 0; _player = (_this select 0) select 1; @@ -59,6 +60,20 @@ dayz_Achievements = { _achievements set [_achievementID,1]; _player setVariable ["Achievements",_achievements]; }; +*/ + +//Send fences to this array to be synced to db, should prove to be better performaince wise rather then updaing each time they take damage. +server_addtoFenceUpdateArray = { + //Potential problem no current way to say what is setting the damage. + if ((_this select 0) isKindOf "DZ_buildables") then { + (_this select 0) setDamage (_this select 1); + + if !((_this select 0) in needUpdate_FenceObjects) then { + needUpdate_FenceObjects set [count needUpdate_FenceObjects, (_this select 0)]; + }; + }; +}; + vehicle_handleServerKilled = { private ["_unit","_killer"]; @@ -115,7 +130,7 @@ server_hiveReadWrite = { //diag_log ("ATTEMPT READ/WRITE: " + _key); _data = "HiveExt" callExtension _key; //diag_log ("READ/WRITE: " +str(_data)); - _resultArray = call compile format ["%1",_data]; + _resultArray = call compile str formatText["%1", _data]; _resultArray }; @@ -170,8 +185,9 @@ dayz_recordLogin = { _status = switch (1==1) do { case ((_this select 2) == 0): { "CLIENT LOADED & PLAYING" }; - case ((_this select 2) == 1): { "LOGGED IN" }; - case ((_this select 2) == 2): { "LOGGED OUT" }; + case ((_this select 2) == 1): { "LOGIN PUBLISHING, Location " +(_this select 4) }; + case ((_this select 2) == 2): { "LOGGING IN" }; + case ((_this select 2) == 3): { "LOGGED OUT, Location " +(_this select 4) +(_this select 5)}; }; _name = if (typeName (_this select 3) == "ARRAY") then { toString (_this select 3) } else { _this select 3 }; @@ -189,7 +205,7 @@ fa_coor2str = { _nearestCity = nearestLocations [_pos, ["NameCityCapital","NameCity","NameVillage","NameLocal"],1000]; _town = "Wilderness"; if (count _nearestCity > 0) then {_town = text (_nearestCity select 0)}; - _res = format["%1 [%2:%3]", _town, round((_pos select 0)/100), round((15360-(_pos select 1))/100)]; + _res = format["%1 [%2]", _town, mapGridPosition _pos]; _res }; @@ -206,4 +222,4 @@ fa_plr2str = { _res = format["PID#%1(%2)", owner _x, _name ]; }; _res -}; \ No newline at end of file +}; diff --git a/SQF/dayz_server/init/server_setKey.sqf b/SQF/dayz_server/init/server_setKey.sqf new file mode 100644 index 00000000..d6ccb8c9 --- /dev/null +++ b/SQF/dayz_server/init/server_setKey.sqf @@ -0,0 +1,24 @@ +#include "\z\addons\dayz_code\util\ext.hpp" + +diag_log format["INFO: Server Setkey - Started",true]; + +local _separator = Ext_GetSeparator(); + +#undef Ext_Separator +#define Ext_Separator (_separator) + +local _fn_stringFind = compile format [ // text:pattern -> pattern:text + 'parseNumber Ext_Call(String_Format1("%1%2%3%2", _this select 1) + (_this select 0))', + Ext_Resolve("StringFind"), _separator, "%1"]; +#define StringFind(text, pattern) ([text, pattern] call _fn_stringFind) + +local _fn_stringSub = compile format [ // text:offset -> offset:text + 'Ext_Call(String_Format1("%1%2%3%2", _this select 1) + (_this select 0))', + Ext_Resolve("StringSub"), _separator, "%1"]; +#define StringSub(text, offset) ([text, offset] call _fn_stringSub) + +local _mfstsign = loadFile "mfstsign"; +local _index = StringFind(_mfstsign, ":"); +dz_fskey = StringSub(_mfstsign, _index + 1); + +diag_log format["INFO: Server Setkey - %1",_index]; \ No newline at end of file diff --git a/SQF/dayz_server/system/s_fps.sqf b/SQF/dayz_server/system/s_fps.sqf index e03f89d7..e3c5b1f9 100644 --- a/SQF/dayz_server/system/s_fps.sqf +++ b/SQF/dayz_server/system/s_fps.sqf @@ -1,4 +1,4 @@ -while {isServer} do { - diag_log ("DEBUG FPS : " + str(diag_fps) ); - sleep 360; +while {true} do { + diag_log format["SERVER FPS: %1 PLAYERS: %2",round diag_fps,playersNumber west]; + uiSleep 360; }; \ No newline at end of file diff --git a/SQF/dayz_server/system/scheduler/sched_corpses.sqf b/SQF/dayz_server/system/scheduler/sched_corpses.sqf index aaab12e3..7d62191e 100644 --- a/SQF/dayz_server/system/scheduler/sched_corpses.sqf +++ b/SQF/dayz_server/system/scheduler/sched_corpses.sqf @@ -26,23 +26,25 @@ sched_co_deleteVehicle = { sched_corpses = { - private ["_delQtyZ","_delQtyP","_addFlies","_x","_deathTime","_onoff","_delQtyAnimal", "_sound", "_deathPos", "_cpos"]; + private ["_delQtyG","_delQtyZ","_delQtyP","_addFlies","_x","_deathTime","_onoff","_delQtyAnimal","_sound","_deathPos","_cpos","_animal","_nearPlayer"]; // EVERY 2 MINUTE // DELETE UNCONTROLLED ZOMBIES --- PUT FLIES ON FRESH PLAYER CORPSES --- REMOVE OLD FLIES & CORPSES _delQtyZ = 0; _delQtyP = 0; + _delQtyG = 0; _addFlies = 0; -// diag_log "bodies ..."; { - if (local _x) then { - if (_x isKindOf "zZombie_Base") then { + if (local _x && {_x isKindOf "CAManBase"}) then { + if (_x isKindOf "zZombie_Base") then { _x call sched_co_deleteVehicle; _delQtyZ = _delQtyZ + 1; } else { - if (_x isKindOf "CAManBase") then { - _deathTime = _x getVariable ["sched_co_deathTime", -1]; + //Only spawn flies on actual dead player, otherwise delete the body (clean up left over ghost from relogging, sometimes it is not deleted automatically by Arma or onPlayerDisconnect) + //AI mods will need to setVariable "bodyName" on their dead units to prevent them being cleaned up + _deathTime = _x getVariable ["sched_co_deathTime", -1]; + if (_x getVariable["bodyName",""] != "") then { if (_deathTime == -1) then { - _deathPos = _x getVariable [ "deathPos", getMarkerPos "respawn_west" ]; + _deathPos = _x getVariable ["deathPos",respawn_west_original]; _cpos = getPosATL _x; // forbid a move further than 50 meters, or burried body (antihack) if (_deathPos distance _cpos > 50 or _deathPos select 2 < -0.2) then { @@ -51,13 +53,14 @@ sched_corpses = { }; _deathTime = diag_tickTime; _x setVariable ["sched_co_deathTime", _deathTime]; - _x setVariable ["sched_co_fliesAdded", true]; - _addFlies = _addFlies + 1; - + if (dayz_enableFlies) then { + _x setVariable ["sched_co_fliesAdded", true]; + _addFlies = _addFlies + 1; + }; }; // 40 minutes = how long a player corpse stays on the map if (diag_tickTime - _deathTime > 40*60) then { - if (_x getVariable ["sched_co_fliesDeleted", false]) then { + if (_x getVariable["sched_co_fliesDeleted",false] or !dayz_enableFlies) then { // flies have been switched off, we can delete body _sound = _x getVariable ["sched_co_fliesSource", nil]; @@ -75,6 +78,8 @@ sched_corpses = { // body will be deleted at next round }; } else { + // Do not spawn flies immediately after death. Wait 10 minutes. + if ((diag_tickTime - _deathTime < 10*60) or !dayz_enableFlies) exitWith {}; _onoff = 1; // remove flies on heavy rain. if (rain > 0.25) then { _onoff = 0; }; @@ -98,6 +103,17 @@ sched_corpses = { PVCDZ_flies = [ _onoff, _x ]; publicVariable "PVCDZ_flies"; }; + } else { + if (_deathTime == -1) then { + _deathTime = diag_tickTime; + _x setVariable ["sched_co_deathTime", _deathTime]; + } else { + // Wait 30s to make sure the server had time to setVariable "bodyName". PVDZ_plr_Death can be delayed by a few seconds. + if (diag_tickTime - _deathTime > 30) then { + _x call sched_co_deleteVehicle; + _delQtyG = _delQtyG + 1; + }; + }; }; }; }; @@ -105,9 +121,13 @@ sched_corpses = { _delQtyAnimal = 0; { - if (local _x) then { - _x call sched_co_deleteVehicle; - _delQtyAnimal = _delQtyAnimal + 1; + _animal = _x; + if (local _animal) then { + _nearPlayer = {isPlayer _x} count (_animal nearEntities ["CAManBase",150]); + if (_nearPlayer == 0) then { + _animal call sched_co_deleteVehicle; + _delQtyAnimal = _delQtyAnimal + 1; + }; }; } forEach entities "CAAnimalBase"; @@ -120,9 +140,9 @@ sched_corpses = { } forEach allGroups; #ifdef SERVER_DEBUG - if (_delQtyZ+_delQtyP+_addFlies+_delQtyGrp > 0) then { - diag_log format ["%1: Deleted %2 uncontrolled zombies, %3 uncontrolled animals, %4 dead character bodies and %5 empty groups. Added %6 flies.", __FILE__, - _delQtyZ, _delQtyAnimal, _delQtyP,_delQtyGrp, _addFlies ]; + if (_delQtyZ+_delQtyP+_addFlies+_delQtyGrp+_delQtyG > 0) then { + diag_log format ["%1: Deleted %2 uncontrolled zombies, %3 uncontrolled animals, %4 dead character bodies, %7 ghosts and %5 empty groups. Added %6 flies.",__FILE__, + _delQtyZ,_delQtyAnimal,_delQtyP,_delQtyGrp,_addFlies,_delQtyG]; }; #endif diff --git a/SQF/dayz_server/system/scheduler/sched_init.sqf b/SQF/dayz_server/system/scheduler/sched_init.sqf index b217c598..17e79c42 100644 --- a/SQF/dayz_server/system/scheduler/sched_init.sqf +++ b/SQF/dayz_server/system/scheduler/sched_init.sqf @@ -3,22 +3,16 @@ _base="z\addons\dayz_server\system\scheduler\"; call compile preprocessFileLineNumbers (_base+"sched_corpses.sqf"); call compile preprocessFileLineNumbers (_base+"sched_lootpiles.sqf"); -//call compile preprocessFileLineNumbers (_base+"sched_playersHivesync.sqf"); -//call compile preprocessFileLineNumbers (_base+"sched_vehiclesHivesync.sqf"); call compile preprocessFileLineNumbers (_base+"sched_sync.sqf"); -//call compile preprocessFileLineNumbers (_base+"sched_traps.sqf"); call compile preprocessFileLineNumbers (_base+"sched_safetyVehicle.sqf"); [ // period offset code <-> ctx init code ->ctx - //[ 60, 121, sched_playersHivesync, sched_playersHivesync_init ], - //[ 60, 133, sched_vehiclesHivesync, sched_vehiclesHivesync_init ], [ 60, 224, sched_corpses ], [ 300, 336, sched_lootpiles_5m, sched_lootpiles_5m_init ], [ 6, 340, sched_lootpiles ], [ 900, 0, sched_sync ], [ 120, 48, sched_safetyVehicle ] - //[ 0.1, 1, sched_traps ] ] execFSM ("z\addons\dayz_code\system\scheduler\scheduler.fsm"); //diag_log [ __FILE__, "Scheduler started"]; diff --git a/SQF/dayz_server/system/scheduler/sched_playersHivesync.sqf b/SQF/dayz_server/system/scheduler/sched_playersHivesync.sqf deleted file mode 100644 index e55e4357..00000000 --- a/SQF/dayz_server/system/scheduler/sched_playersHivesync.sqf +++ /dev/null @@ -1,44 +0,0 @@ - - -sched_playershivewrite = { - private ["_n","_x","_damage","_pos","_otime","_opos","_odamage"]; - // EVERY 1 MINUTE - // FORCE HIVE WRITE FOR PLAYERS WHO NEED IT (HUMANITY OR POSITION OR TIMEOUT CHANGE) - _n = 0; - { - if ((isPlayer _x) AND {(alive _x)}) then { - _damage = _x getVariable [ "USEC_BloodQty", -1 ]; - _pos = visiblePosition _x; // genuine position, deals with player in vehicle or not - if (_damage >= 0) then { // not a character? - _otime = _x getVariable [ "sched_ph_sync_time", -1]; - _opos = _x getVariable [ "sched_ph_sync_pos", _pos]; - _odamage = _x getVariable [ "sched_ph_sync_dmg", _damage]; - if (_otime == -1) then { - _otime = diag_tickTime; - _x setVariable [ "sched_ph_sync_time", _otime]; - _x setVariable [ "sched_ph_sync_pos", _opos]; - _x setVariable [ "sched_ph_sync_dmg", _odamage]; - }; - if ((diag_tickTime - _otime > 600) OR {((_pos distance _opos > 50) OR {(_odamage != _damage)})}) then { - [_x, nil, true] call server_playerSync; - _x setVariable [ "sched_ph_sync_time", diag_tickTime]; - _x setVariable [ "sched_ph_sync_pos", _pos]; - _x setVariable [ "sched_ph_sync_dmg", _damage]; - _n = _n + 1; - }; - }; - if ([ -11000+500, 15360-21000+500, 0 ] distance _pos < 2000) then { - diag_log format [ "HACK, player %1 at anti-ESP zone, killing him but no HIVE save for him.", _x call fa_plr2str ]; - _x setVariable ["CharacterID", nil, true ]; - unassignVehicle _x; - _pos set [2, 2000]; // will be killed by gravity OR kick by anti TP - _x setPosATL _pos; - }; - }; - } forEach playableUnits; - if (_n > 0) then { - diag_log format ["%1: sync'ed %2 players to HIVE", __FILE__, _n]; - }; - - objNull -}; diff --git a/SQF/dayz_server/system/scheduler/sched_traps.sqf b/SQF/dayz_server/system/scheduler/sched_traps.sqf deleted file mode 100644 index 47b9ede4..00000000 --- a/SQF/dayz_server/system/scheduler/sched_traps.sqf +++ /dev/null @@ -1,33 +0,0 @@ -sched_traps = { - private ["_n","_x"]; - // EVERY 5 SECONDS - // CHECK TRAPS STATE - if (!isNil "dayz_traps") then { - _n = 0; - { - if ((isNil "_x") OR {(isNull _x)}) then { - dayz_traps = dayz_traps - [_x]; - } - else { - if (_x getVariable ["armed", false]) then { - if !(_x in dayz_traps_active) then { - ["arm", _x] call compile getText (configFile >> "CfgVehicles" >> typeOf _x >> "script"); - if !(_x in dayz_traps_active) then { dayz_traps_active set [ count dayz_traps_active, _x ]; }; - _n = _n + 1; - }; - } else { - if (_x in dayz_traps_active) then { - ["disarm", _x] call compile getText (configFile >> "CfgVehicles" >> typeOf _x >> "script"); - if (_x in dayz_traps_active) then { dayz_traps_active = dayz_traps_active - [_x]; }; - _n = _n + 1; - }; - }; - }; - } forEach dayz_traps; - if (_n > 0) then { - diag_log format ["%1: traps polling, changed %2 states", __FILE__, _n]; - }; - }; - - objNull -}; \ No newline at end of file diff --git a/SQF/dayz_server/system/scheduler/sched_vehiclesHivesync.sqf b/SQF/dayz_server/system/scheduler/sched_vehiclesHivesync.sqf deleted file mode 100644 index 46d37c19..00000000 --- a/SQF/dayz_server/system/scheduler/sched_vehiclesHivesync.sqf +++ /dev/null @@ -1,37 +0,0 @@ - -sched_vehicleshivewrite = { -private ["_n","_x","_damage","_pos","_otime","_opos","_odamage"]; - // EVERY 1 MINUTE - // FORCE HIVE WRITE FOR VEHICLES WHO NEED IT (DAMAGE OR POSITION OR TIMEOUT CHANGE) - _n = 0; - { - if (_x isKindOf "AllVehicles") then { - _damage = damage _x; - _pos = getPosASL _x; - _otime = _x getVariable [ "sched_vh_sync_time", -1]; - _opos = _x getVariable [ "sched_vh_sync_pos", _pos]; - _odamage = _x getVariable [ "sched_vh_sync_dmg", _damage]; - if (_otime == -1) then { - _otime = diag_tickTime - random 480; - _x setVariable [ "sched_vh_sync_time", _otime]; - _x setVariable [ "sched_vh_sync_pos", _opos]; - _x setVariable [ "sched_vh_sync_dmg", _odamage]; - }; - if ((diag_tickTime - _otime > 600) OR {((_pos distance _opos > 50) OR {(_odamage != _damage)})}) then { - _x setVariable [ "sched_vh_sync_time", diag_tickTime]; - _x setVariable [ "sched_vh_sync_pos", _pos]; - _x setVariable [ "sched_vh_sync_dmg", _damage]; - [_x, "all", true] call server_updateObject; - _n = _n + 1; - }/* - else { - diag_log format ["%1: veh %2 %3 %4 %5", __FILE__, _x, _otime, _opos, _odamage]; - }*/; - }; - } forEach vehicles; - if (_n > 0) then { - diag_log format ["%1: sync'ed %2 vehicles to HIVE", __FILE__, _n]; - }; - - objNull -}; diff --git a/SQF/dayz_server/system/server_cleanup.fsm b/SQF/dayz_server/system/server_cleanup.fsm deleted file mode 100644 index cca32c1f..00000000 --- a/SQF/dayz_server/system/server_cleanup.fsm +++ /dev/null @@ -1,399 +0,0 @@ -/*%FSM*/ -/*%FSM*/ -/* -item0[] = {"init",0,250,-75.000000,-425.000000,25.000000,-375.000000,0.000000,"init"}; -item1[] = {"true",8,218,-75.000000,-200.000000,25.000000,-150.000000,0.000000,"true"}; -item2[] = {"waiting",2,250,-75.000000,-125.000000,25.000000,-75.000000,0.000000,"waiting"}; -item3[] = {"too_many_dead",4,218,-125.000000,0.000000,-25.000000,50.000000,2.000000,"too many" \n "dead"}; -item4[] = {"cleanup_dead",2,250,-125.000000,75.000000,-25.000000,125.000000,0.000000,"cleanup" \n "dead"}; -item5[] = {"too_many_objects",4,218,175.000000,0.000000,275.000000,50.000000,2.000000,"too many" \n "objects"}; -item6[] = {"cleanup_objects",2,4346,175.000000,75.000000,275.000000,125.000000,0.000000,"cleanup" \n "objects"}; -item7[] = {"time_sync",4,218,-225.000000,0.000000,-125.000000,50.000000,1.000000,"time" \n "sync"}; -item8[] = {"sync_the_time",2,250,-225.000000,175.000000,-125.000000,225.000000,0.000000,"sync" \n "the time"}; -item9[] = {"true",8,218,-75.000000,250.000000,25.000000,300.000000,0.000000,"true"}; -item10[] = {"general_cleanup",2,250,-75.000000,350.000000,25.000000,400.000000,0.000000,"general" \n "cleanup"}; -item11[] = {"",7,210,-254.000015,371.000000,-246.000000,379.000031,0.000000,""}; -item12[] = {"",7,210,-254.000015,-179.000000,-246.000000,-171.000000,0.000000,""}; -item13[] = {"initialized",4,218,-75.000000,-350.000000,25.000000,-300.000000,0.000000,"initialized"}; -item14[] = {"prepare",2,250,-75.000000,-275.000000,25.000000,-225.000000,0.000000,"prepare"}; -item15[] = {"update_objects",2,250,-25.000000,75.000000,75.000000,125.000000,0.000000,"update objects"}; -item16[] = {"Objects_need_upd",4,218,-25.000000,0.000000,75.000000,50.000000,1.000000,"Objects" \n "need update"}; -item17[] = {"",7,210,-29.000000,-41.500000,-21.000000,-33.499996,0.000000,""}; -item18[] = {"",7,210,20.999998,-41.500000,29.000000,-33.500000,0.000000,""}; -item19[] = {"",7,210,121.000000,-41.500000,129.000000,-33.500000,0.000000,""}; -item20[] = {"",7,210,-79.000000,-41.500000,-71.000000,-33.500000,0.000000,""}; -item21[] = {"",7,210,-179.000000,-41.499996,-171.000000,-33.500000,0.000000,""}; -item22[] = {"",7,210,-79.000000,146.000000,-71.000000,154.000000,0.000000,""}; -item23[] = {"",7,210,21.000000,146.000000,28.999998,154.000000,0.000000,""}; -item24[] = {"",7,210,-29.000000,146.000000,-20.999998,154.000000,0.000000,""}; -item25[] = {"",7,210,308.500000,-104.000000,316.500000,-96.000000,0.000000,""}; -item26[] = {"",7,210,308.500031,271.000000,316.499969,279.000000,0.000000,""}; -item27[] = {"",7,210,-179.000000,271.000000,-171.000000,279.000000,0.000000,""}; -item28[] = {"",7,210,221.000000,-41.500000,229.000000,-33.500000,0.000000,""}; -item29[] = {"New_Cleanup_Obje",2,250,375.000000,75.000000,475.000000,125.000000,0.000000,"New Cleanup" \n "Objects"}; -item30[] = {"",7,210,221.000031,271.000000,228.999969,279.000000,0.000000,""}; -link0[] = {0,13}; -link1[] = {1,2}; -link2[] = {2,17}; -link3[] = {2,25}; -link4[] = {3,4}; -link5[] = {4,22}; -link6[] = {5,6}; -link7[] = {6,30}; -link8[] = {7,8}; -link9[] = {8,27}; -link10[] = {9,10}; -link11[] = {10,11}; -link12[] = {11,12}; -link13[] = {12,1}; -link14[] = {13,14}; -link15[] = {14,1}; -link16[] = {15,23}; -link17[] = {16,15}; -link18[] = {17,18}; -link19[] = {17,20}; -link20[] = {18,16}; -link21[] = {18,19}; -link22[] = {19,28}; -link23[] = {20,3}; -link24[] = {20,21}; -link25[] = {21,7}; -link26[] = {22,24}; -link27[] = {23,24}; -link28[] = {24,9}; -link29[] = {25,26}; -link30[] = {26,30}; -link31[] = {27,9}; -link32[] = {28,5}; -link33[] = {30,9}; -globals[] = {25.000000,1,0,0,0,640,480,1,13,6316128,1,-520.235962,640.978394,444.212921,-448.684845,779,599,1}; -window[] = {2,-1,-1,-32000,-32000,878,150,1479,150,3,797}; -*//*%FSM*/ -class FSM -{ - fsmName = "DayZ Server Cleanup"; - class States - { - /*%FSM*/ - class init - { - name = "init"; - init = /*%FSM*/""/*%FSM*/; - precondition = /*%FSM*/""/*%FSM*/; - class Links - { - /*%FSM*/ - class initialized - { - priority = 0.000000; - to="prepare"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"!isnil ""bis_fnc_init"""/*%FSM*/; - action=/*%FSM*/""/*%FSM*/; - }; - /*%FSM*/ - }; - }; - /*%FSM*/ - /*%FSM*/ - class waiting - { - name = "waiting"; - init = /*%FSM*/"//diag_log ""CLEANUP: Waiting for next task"";" \n - "" \n - "_numDead = {local _x} count allDead;" \n - ""/*%FSM*/; - precondition = /*%FSM*/""/*%FSM*/; - class Links - { - /*%FSM*/ - class too_many_dead - { - priority = 2.000000; - to="cleanup_dead"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"(_numDead > 100)"/*%FSM*/; - action=/*%FSM*/""/*%FSM*/; - }; - /*%FSM*/ - /*%FSM*/ - class too_many_objects - { - priority = 2.000000; - to="cleanup_objects"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"((diag_tickTime - _timeNem) > 150)" \n - "//(((count dayz_deseedloot) > 0) && (!isNil ""sm_done""))"/*%FSM*/; - action=/*%FSM*/"_timeNem = diag_tickTime;"/*%FSM*/; - }; - /*%FSM*/ - /*%FSM*/ - class time_sync - { - priority = 1.000000; - to="sync_the_time"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"((diag_tickTime - _lastUpdate) > 300)"/*%FSM*/; - action=/*%FSM*/"_lastUpdate = diag_tickTime;"/*%FSM*/; - }; - /*%FSM*/ - /*%FSM*/ - class Objects_need_upd - { - priority = 1.000000; - to="update_objects"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"(( (count needUpdate_objects) > 0) && (diag_tickTime -_lastNeedUpdate> 5) && (!isNil ""sm_done""))"/*%FSM*/; - action=/*%FSM*/"_lastNeedUpdate = diag_tickTime;"/*%FSM*/; - }; - /*%FSM*/ - /*%FSM*/ - class true - { - priority = 0.000000; - to="general_cleanup"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"true"/*%FSM*/; - action=/*%FSM*/""/*%FSM*/; - }; - /*%FSM*/ - }; - }; - /*%FSM*/ - /*%FSM*/ - class cleanup_dead - { - name = "cleanup_dead"; - init = /*%FSM*/""/*%FSM*/; - precondition = /*%FSM*/""/*%FSM*/; - class Links - { - /*%FSM*/ - class true - { - priority = 0.000000; - to="general_cleanup"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"true"/*%FSM*/; - action=/*%FSM*/""/*%FSM*/; - }; - /*%FSM*/ - }; - }; - /*%FSM*/ - /*%FSM*/ - class cleanup_objects - { - name = "cleanup_objects"; - init = /*%FSM*/""/*%FSM*/; - precondition = /*%FSM*/""/*%FSM*/; - class Links - { - /*%FSM*/ - class true - { - priority = 0.000000; - to="general_cleanup"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"true"/*%FSM*/; - action=/*%FSM*/""/*%FSM*/; - }; - /*%FSM*/ - }; - }; - /*%FSM*/ - /*%FSM*/ - class sync_the_time - { - name = "sync_the_time"; - init = /*%FSM*/""/*%FSM*/; - precondition = /*%FSM*/""/*%FSM*/; - class Links - { - /*%FSM*/ - class true - { - priority = 0.000000; - to="general_cleanup"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"true"/*%FSM*/; - action=/*%FSM*/""/*%FSM*/; - }; - /*%FSM*/ - }; - }; - /*%FSM*/ - /*%FSM*/ - class general_cleanup - { - name = "general_cleanup"; - init = /*%FSM*/""/*%FSM*/; - precondition = /*%FSM*/""/*%FSM*/; - class Links - { - /*%FSM*/ - class true - { - priority = 0.000000; - to="waiting"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"true"/*%FSM*/; - action=/*%FSM*/""/*%FSM*/; - }; - /*%FSM*/ - }; - }; - /*%FSM*/ - /*%FSM*/ - class prepare - { - name = "prepare"; - init = /*%FSM*/"diag_log (""CLEANUP: INITIALIZING CLEANUP SCRIPT"");" \n - "" \n - "_safety = dayz_serverObjectMonitor;" \n - "_dateNow = (DateToNumber date);" \n - "" \n - "_lastUpdate = diag_tickTime;" \n - "_timeNem =diag_tickTime;" \n - "_deadBodies = [];" \n - "_lastNeedUpdate = diag_tickTime;" \n - "_timeout = diag_tickTime;" \n - "_maxBodies = 15;" \n - "" \n - "_lootspawnerfdbykr = diag_tickTime; " \n - "_reseedloot = false;" \n - "" \n - "_amount = 0;" \n - "_hour = 0;" \n - "_minute = 0;"/*%FSM*/; - precondition = /*%FSM*/""/*%FSM*/; - class Links - { - /*%FSM*/ - class true - { - priority = 0.000000; - to="waiting"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"true"/*%FSM*/; - action=/*%FSM*/""/*%FSM*/; - }; - /*%FSM*/ - }; - }; - /*%FSM*/ - /*%FSM*/ - class update_objects - { - name = "update_objects"; - init = /*%FSM*/"diag_log format[""DEBUG: needUpdate_objects=%1"",needUpdate_objects];" \n - "" \n - "{" \n - "// _x setVariable [""needUpdate"",false,true];" \n - " needUpdate_objects = needUpdate_objects - [_x];" \n - " [_x,""damage"",true] call server_updateObject;" \n - "} forEach needUpdate_objects;" \n - ""/*%FSM*/; - precondition = /*%FSM*/""/*%FSM*/; - class Links - { - /*%FSM*/ - class true - { - priority = 0.000000; - to="general_cleanup"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"true"/*%FSM*/; - action=/*%FSM*/""/*%FSM*/; - }; - /*%FSM*/ - }; - }; - /*%FSM*/ - /*%FSM*/ - class New_Cleanup_Obje - { - name = "New_Cleanup_Obje"; - init = /*%FSM*/"diag_log ""DEBUG: New_Cleanup_Obje ""; " \n - "_lootingrids = [];" \n - "" \n - "{" \n - " _loc = _x select 0;" \n - " _ref = _x select 1;" \n - "" \n - " _nearBy = nearestObjects [_loc, [""ReammoBox""], 1500];" \n - " {" \n - " _lootingrids set [count _lootingrids,[_x,_ref]];" \n - " } foreach _nearBy;" \n - "" \n - " dayz_deseedloot set [0,-1];" \n - " dayz_deseedloot = dayz_deseedloot - [-1];" \n - "" \n - "}foreach dayz_deseedloot;" \n - "" \n - "_qty = count _lootingrids;" \n - "diag_log (""CLEANUP:TOTAL "" + str(_qty) + "" LOOT BAGS"");" \n - "" \n - "_delQty = 0;" \n - "_delQtyDroped = 0;" \n - "_delQtySpawned = 0;" \n - "_delQtyPerma = 0;" \n - "" \n - "{" \n - " " \n - " _obj = _x select 0;" \n - " _ref = _x select 1;" \n - "" \n - " diag_log format [""%1,%2"", _obj, _ref];" \n - "" \n - " _Dropped = (_obj getVariable [""Dropped"",false]);" \n - " _Spawned = (_obj getVariable [""spawnedLoot"",false]);" \n - " _Perma = (_obj getVariable [""permaLoot"",false]);" \n - "" \n - " if (!_Spawned and !_Perma) then {" \n - " _obj setVariable [""Dropped"",true];" \n - " };" \n - "" \n - " //Dropped loot" \n - " if (_Dropped) then {" \n - " " \n - " [""Dropped_Loot"",_obj,_ref] call server_systemCleanup;" \n - " _delQtyDroped = _delQtyDroped + 1;" \n - "" \n - " };" \n - "" \n - " //Spawned Loot" \n - " if (_Spawned) then {" \n - "" \n - " [""Spawned_Loot"",_obj,_ref] call server_systemCleanup;" \n - " _delQtySpawned = _delQtySpawned + 1; " \n - " " \n - " };" \n - "" \n - " //Permaloot" \n - " if (_Perma) then {" \n - "" \n - " _delQtyPerma = _delQtyPerma + 1;" \n - "" \n - " };" \n - "" \n - "} foreach _lootingrids;" \n - "" \n - "if ((_delQtySpawned > 0) or (_delQtyDroped > 0) or (_delQtyPerma > 0)) then {" \n - " //diag_log (""CLEANUP: DELETED "" + str(_delQty) + "" LOOT BAGS"");" \n - " diag_log format [""CLEANUP: (DELETED, DroppedLoot: %1, SpawnedLoot: %2), (KEPT, PermaLoot: %3)"", _delQtyDroped, _delQtySpawned, _delQtyPerma];" \n - "};" \n - ""/*%FSM*/; - precondition = /*%FSM*/""/*%FSM*/; - class Links - { - }; - }; - /*%FSM*/ - }; - initState="init"; - finalStates[] = - { - }; -}; -/*%FSM*/ \ No newline at end of file diff --git a/SQF/dayz_server/system/server_monitor.sqf b/SQF/dayz_server/system/server_monitor.sqf index d0ecef11..5f927fa9 100644 --- a/SQF/dayz_server/system/server_monitor.sqf +++ b/SQF/dayz_server/system/server_monitor.sqf @@ -71,7 +71,7 @@ if (_status == "ObjectStreamStart") then { _maintenanceModeVars = []; _dir = floor(random(360)); - _pos = getMarkerpos "respawn_west"; + _pos = respawn_west_original; _wsDone = false; if (count _worldspace >= 1 && {(typeName (_worldspace select 0)) == "SCALAR"}) then { @@ -204,9 +204,10 @@ if (_status == "ObjectStreamStart") then { } forEach _myArray; // # END OF STREAMING # - -call server_plantSpawner; // Draw the pseudo random seeds -[] execFSM "\z\addons\dayz_server\system\server_cleanup.fsm"; // launch the legacy task scheduler +if (dayz_townGenerator) then { + call compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_plantSpawner.sqf"; // Draw the pseudo random seeds +}; +[] execFSM "\z\addons\dayz_server\system\server_vehicleSync.fsm"; [] execVM "\z\addons\dayz_server\system\scheduler\sched_init.sqf"; // launch the new task scheduler createCenter civilian; @@ -235,10 +236,14 @@ publicVariable "sm_done"; }; { - if (isNull _x) then {dayz_traps = dayz_traps - [_x];}; - - _script = call compile getText (configFile >> "CfgVehicles" >> typeOf _x >> "script"); - _armed = _x getVariable ["armed", false]; + if (isNull _x) then { + dayz_traps = dayz_traps - [_x]; + _armed = false; + _script = {}; + } else { + _armed = _x getVariable ["armed", false]; + _script = call compile getText (configFile >> "CfgVehicles" >> typeOf _x >> "script"); + }; if (_armed) then { if !(_x in dayz_traps_active) then {["arm", _x] call _script;}; @@ -270,14 +275,28 @@ if (dayz_townGenerator) then {execVM "\z\addons\dayz_server\system\lit_fireplace default { // player hit _unit = _x select 0; _source = _x select 1; - if (((!(isNil {_source})) && {!(isNull _source)}) && {((_source isKindOf "CAManBase") && {owner _unit != owner _source})}) then { - diag_log format ["P1ayer %1 hit by %2 %3 from %4 meters", - _unit call fa_plr2Str, _source call fa_plr2Str, toString (_x select 2), _x select 3]; - if (_unit getVariable ["processedDeath",0] == 0) then { - _unit setVariable ["attacker", name _source]; + if (!isNull _source) then { + diag_log format ["P1ayer %1 hit by %2 %3 from %4 meters in %5 for %6 damage", + _unit call fa_plr2Str, _source call fa_plr2Str, toString (_x select 2), _x select 3, _x select 4, _x select 5]; + if (_unit getVariable ["bodyName",""] == "") then { _unit setVariable ["noatlf4", diag_ticktime]; // server-side "not in combat" test, if player is not already dead }; }; }; }; }; + +"PVDZ_objgather_Knockdown" addPublicVariableEventHandler { + _tree = (_this select 1) select 0; + _player = (_this select 1) select 1; + _dis = _player distance _tree; + _name = if (alive _player) then {name _player} else {"DeadPlayer"}; + _uid = getPlayerUID _player; + _treeModel = _tree call fn_getModelName; + + if ((_dis < 30) && (_treeModel in dayz_trees) && (_uid != "")) then { + _tree setDamage 1; + dayz_choppedTrees set [count dayz_choppedTrees,_tree]; + diag_log format["Server setDamage on tree %1 chopped down by %2(%3)",_treeModel,_name,_uid]; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_server/system/server_vehicleSync.fsm b/SQF/dayz_server/system/server_vehicleSync.fsm new file mode 100644 index 00000000..5d2b580e --- /dev/null +++ b/SQF/dayz_server/system/server_vehicleSync.fsm @@ -0,0 +1,177 @@ +/*%FSM*/ +/*%FSM*/ +/* +item0[] = {"init",0,250,-75.000000,-425.000000,25.000000,-375.000000,0.000000,"init"}; +item1[] = {"true",8,218,-75.000000,-200.000000,25.000000,-150.000000,0.000000,"true"}; +item2[] = {"waiting",2,250,-75.000000,-125.000000,25.000000,-75.000000,0.000000,"waiting"}; +item3[] = {"true",8,218,-75.000000,250.000000,25.000000,300.000000,0.000000,"true"}; +item4[] = {"",7,210,-204.000015,271.000000,-195.999985,279.000031,0.000000,""}; +item5[] = {"",7,210,-204.000015,-104.000000,-196.000000,-96.000000,0.000000,""}; +item6[] = {"initialized",4,218,-75.000000,-350.000000,25.000000,-300.000000,0.000000,"initialized"}; +item7[] = {"prepare",2,250,-75.000000,-275.000000,25.000000,-225.000000,0.000000,"prepare"}; +item8[] = {"update_objects",2,250,-125.000000,75.000000,-25.000000,125.000000,0.000000,"update objects"}; +item9[] = {"Objects_need_upd",4,218,-125.000000,0.000000,-25.000000,50.000000,1.000000,"Objects" \n "need update"}; +item10[] = {"FenceObjects_need",4,218,-25.000000,0.000000,75.000000,50.000000,1.000000,"FenceObjects" \n "need update"}; +item11[] = {"update_objects_1",2,250,-25.000000,75.000000,75.000000,125.000000,0.000000,"update objects"}; +link0[] = {0,6}; +link1[] = {1,2}; +link2[] = {2,9}; +link3[] = {2,10}; +link4[] = {3,4}; +link5[] = {4,5}; +link6[] = {5,2}; +link7[] = {6,7}; +link8[] = {7,1}; +link9[] = {8,3}; +link10[] = {9,8}; +link11[] = {10,11}; +link12[] = {11,3}; +globals[] = {25.000000,1,0,0,0,640,480,1,15,6316128,1,-520.235962,640.978394,444.212921,-448.684845,779,598,1}; +window[] = {2,-1,-1,-32000,-32000,780,52,1381,52,3,797}; +*//*%FSM*/ +class FSM +{ + fsmName = "DayZ Server Vehicle Sync"; + class States + { + /*%FSM*/ + class init + { + name = "init"; + init = /*%FSM*/""/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class initialized + { + priority = 0.000000; + to="prepare"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"!isnil ""bis_fnc_init"""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class waiting + { + name = "waiting"; + init = /*%FSM*/""/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class FenceObjects_need + { + priority = 1.000000; + to="update_objects_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"(( (count needUpdate_FenceObjects) > 0) && (diag_tickTime -_lastfenceUpdate> 5) && (!isNil ""sm_done""))"/*%FSM*/; + action=/*%FSM*/"_lastfenceUpdate = diag_tickTime;"/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Objects_need_upd + { + priority = 1.000000; + to="update_objects"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"(( (count needUpdate_objects) > 0) && (diag_tickTime -_lastVehicleUpdate> 5) && (!isNil ""sm_done""))"/*%FSM*/; + action=/*%FSM*/"_lastNeedUpdate = diag_tickTime;"/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class prepare + { + name = "prepare"; + init = /*%FSM*/"diag_log (""CLEANUP: INITIALIZING Vehicle SCRIPT"");" \n + "" \n + "" \n + "_lastVehicleUpdate = diag_tickTime;" \n + "_lastfenceUpdate = diag_tickTime;" \n + "" \n + "" \n + ""/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class true + { + priority = 0.000000; + to="waiting"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"true"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class update_objects + { + name = "update_objects"; + init = /*%FSM*/"diag_log format[""INFO: needUpdate_objects=%1"",needUpdate_objects];" \n + "" \n + "{" \n + " needUpdate_objects = needUpdate_objects - [_x];" \n + " [_x,""damage"",true] call server_updateObject;" \n + "} forEach needUpdate_objects;" \n + ""/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class true + { + priority = 0.000000; + to="waiting"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"true"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class update_objects_1 + { + name = "update_objects_1"; + init = /*%FSM*/"diag_log format[""INFO: needUpdate_FenceObjects=%1"",needUpdate_FenceObjects];" \n + "" \n + "{" \n + " needUpdate_FenceObjects = needUpdate_FenceObjects - [_x];" \n + " [_x,""objWallDamage""] call server_updateObject;" \n + "} forEach needUpdate_FenceObjects;" \n + ""/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class true + { + priority = 0.000000; + to="waiting"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"true"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + }; + initState="init"; + finalStates[] = + { + }; +}; +/*%FSM*/ \ No newline at end of file diff --git a/SQF/do_not_use_without_permissions.txt b/SQF/do_not_use_without_permissions.txt index 0b58dfac..b1711edf 100644 --- a/SQF/do_not_use_without_permissions.txt +++ b/SQF/do_not_use_without_permissions.txt @@ -1,5 +1,7 @@ All content was made by Dean Hall and the DayZ Community Development Team for DayZ Mod. +To use/edit/distribute any of the content in this mod please visit here for our permission system: + +https://github.com/DayZMod/DayZ/wiki/License-and-permission-to-use -object_update.sqf is not part of dayz you must seek permission to use. my skkype info R4Z0R49 diff --git a/SQL/1.8.8/1.8.8_Updates.sql b/SQL/1.8.8/1.8.8_Updates.sql index 5de792df..2ac80d4a 100644 --- a/SQL/1.8.8/1.8.8_Updates.sql +++ b/SQL/1.8.8/1.8.8_Updates.sql @@ -11,3 +11,15 @@ update object_classes set Classname = 'UH1H_2_DZ' where classname = 'UH1H_DZ2'; update object_data set Classname = 'UH1H_2_DZ' where classname = 'UH1H_DZ2'; update object_spawns set Classname = 'UH1H_2_DZ' where classname = 'UH1H_DZ2'; update vehicle_spawns set Classname = 'UH1H_2_DZ' where classname = 'UH1H_DZ2'; + +-- ---------------------------- +-- Woodensplint now takes two inventory slots, so replace it with an item that takes one (ItemMorphine) to avoid gear loss. +-- ---------------------------- +-- UPDATE character_data SET Backpack = REPLACE(Backpack, '"equip_woodensplint"', '"ItemMorphine"') WHERE INSTR(Backpack, '"equip_woodensplint"') > 0; +-- UPDATE character_data SET Inventory = REPLACE(Inventory, '"equip_woodensplint"', '"ItemMorphine"') WHERE INSTR(Inventory, '"equip_woodensplint"') > 0; + +-- ---------------------------- +-- Renamed DZ_Czech_Vest_Puch --> DZ_Czech_Vest_Pouch +-- ---------------------------- +UPDATE character_data SET Backpack = REPLACE(Backpack, 'DZ_Czech_Vest_Puch', 'DZ_Czech_Vest_Pouch') WHERE INSTR(Backpack, 'DZ_Czech_Vest_Puch') > 0; +UPDATE object_data SET Inventory = REPLACE(Inventory, 'DZ_Czech_Vest_Puch', 'DZ_Czech_Vest_Pouch') WHERE INSTR(Inventory, 'DZ_Czech_Vest_Puch') > 0; \ No newline at end of file diff --git a/SQL/1.8.8/pCleanup.sql b/SQL/1.8.8/pCleanup.sql index b3a94589..d128601e 100644 --- a/SQL/1.8.8/pCleanup.sql +++ b/SQL/1.8.8/pCleanup.sql @@ -19,7 +19,7 @@ BEGIN #remove damaged objects DELETE FROM object_data - WHERE CharacterID != 0 AND Damage = 1; + WHERE CharacterID != 0 AND Damage >= 1; #remove damaged vehicles older than vehicle_spawns.CleanupTime DELETE FROM object_data diff --git a/SQL/1.8.8/pCleanupBase.sql b/SQL/1.8.8/pCleanupBase.sql index 6c9af65f..578919ae 100644 --- a/SQL/1.8.8/pCleanupBase.sql +++ b/SQL/1.8.8/pCleanupBase.sql @@ -112,15 +112,15 @@ BEGIN Update object_data set Hitpoints = '["Maintenance"]' - WHERE (Classname = 'WoodenGate_1' or Classname = 'WoodenGate_1' or Classname = 'WoodenGate_1' or Classname = 'WoodenGate_1') + WHERE (Classname = 'WoodenGate_1' or Classname = 'WoodenGate_2' or Classname = 'WoodenGate_3' or Classname = 'WoodenGate_4') AND DATE(last_updated) < CURDATE() - INTERVAL 7 DAY AND Hitpoints = '[]'; #Check WoodenGate_1 update object_data - set Classname = 'WoodenGate_1' - where Classname = 'WoodenGate_foundation' + set Classname = 'WoodenGate_foundation' + where Classname = 'WoodenGate_1' AND Hitpoints = '["Maintenance"]' AND DATE(last_updated) < CURDATE() - INTERVAL 3 DAY; diff --git a/SQL/1.8.8/randomizeVehicleInventory.sql b/SQL/1.8.8/randomizeVehicleInventory.sql index 66d30b0b..f042cfec 100644 --- a/SQL/1.8.8/randomizeVehicleInventory.sql +++ b/SQL/1.8.8/randomizeVehicleInventory.sql @@ -13,7 +13,7 @@ CREATE DEFINER=`dayzhivemind`@`%` FUNCTION `randomizeVehicleInventory`(`c` varch BEGIN DECLARE WeaponClasses VARCHAR(255); DECLARE WeaponAmounts VARCHAR(255); - DECLARE MagazineClasses VARCHAR(255); + DECLARE MagazineClasses VARCHAR(512); #changed to 512 since vehicle inventory can be large DECLARE MagazineAmounts VARCHAR(255); DECLARE BackpackClasses VARCHAR(255); DECLARE BackpackAmounts VARCHAR(255); diff --git a/SQL/1.8.8/vehicle_inventory.sql b/SQL/1.8.8/vehicle_inventory.sql index ed3a9814..40592267 100644 --- a/SQL/1.8.8/vehicle_inventory.sql +++ b/SQL/1.8.8/vehicle_inventory.sql @@ -137,7 +137,6 @@ INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmo INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (8, 'Magazine', 'equip_gauzepackaged', 2, 2, 0.5000000000); INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (8, 'Magazine', 'equip_gauze', 2, 2, 0.5000000000); INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (8, 'Magazine', 'bloodTester', 1, 1, 0.5000000000); -INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (8, 'Magazine', 'transfusionKit', 1, 1, 0.5000000000); INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (8, 'Backpack', 'DZ_Patrol_Pack_EP1', 1, 1, 1.0000000000); /* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ @@ -153,7 +152,7 @@ INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmo INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (9, 'Magazine', '1Rnd_SMOKE_GP25', 1, 1, 0.2500000000); INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (9, 'Magazine', '30Rnd_545x39_AK', 2, 4, 1.0000000000); INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (9, 'Magazine', 'ItemJerrycan', 1, 1, 0.2500000000); -INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (9, 'Backpack', 'DZ_Czech_Vest_Puch', 1, 1, 0.8500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (9, 'Backpack', 'DZ_Czech_Vest_Pouch', 1, 1, 0.8500000000); /* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ /* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ diff --git a/SQL/1.8.8/vehicle_spawns_groups.sql b/SQL/1.8.8/vehicle_spawns_groups.sql index 0430c51d..dff6b035 100644 --- a/SQL/1.8.8/vehicle_spawns_groups.sql +++ b/SQL/1.8.8/vehicle_spawns_groups.sql @@ -37,16 +37,15 @@ INSERT INTO `vehicle_spawns_groups` VALUES (27,0), (27,10), (28,0), -(29,0), -(30,9), +(29,9), +(30,1), (31,1), -(32,1), -(33,0), -(34,1), +(32,0), +(33,1), +(34,2), (35,2), -(36,2), -(37,9), -(38,0), -(38,10); +(36,9), +(37,0), +(37,10); /*!40000 ALTER TABLE `vehicle_spawns_groups` ENABLE KEYS */; -UNLOCK TABLES; \ No newline at end of file +UNLOCK TABLES; diff --git a/SQL/1.8.9/1.8.9_Updates.sql b/SQL/1.8.9/1.8.9_Updates.sql new file mode 100644 index 00000000..b1d724af --- /dev/null +++ b/SQL/1.8.9/1.8.9_Updates.sql @@ -0,0 +1,5 @@ +/* + DayZ Mod 1.8.9 Updates + + RUN THIS FILE IF UPDATING AN EXISTING 188 DATABASE TO 189. +*/ diff --git a/SQL/1.8.9/3h updates.sql b/SQL/1.8.9/3h updates.sql new file mode 100644 index 00000000..96b0e5a8 --- /dev/null +++ b/SQL/1.8.9/3h updates.sql @@ -0,0 +1,24 @@ +-- -------------------------------------------------------- +-- Host: 184.164.146.210 +-- Server version: 5.5.27 - MySQL Community Server (GPL) +-- Server OS: Win32 +-- HeidiSQL Version: 9.1.0.4867 +-- -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8mb4 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; + +-- Dumping structure for event dayzhivemind.3h updates +DELIMITER // +CREATE DEFINER=`dayzhivemind`@`%` EVENT `3h updates` ON SCHEDULE EVERY 3 HOUR STARTS '2015-01-26 03:29:45' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN + update event_scheduler set LastRun = NOW() where System = "3hRespawns"; + + CALL `pMain`('1337'); + +END// +DELIMITER ; +/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */; +/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; diff --git a/SQL/1.8.9/character_data.sql b/SQL/1.8.9/character_data.sql new file mode 100644 index 00000000..ddc11c98 --- /dev/null +++ b/SQL/1.8.9/character_data.sql @@ -0,0 +1,48 @@ +-- -------------------------------------------------------- +-- Host: 184.164.146.210 +-- Server version: 5.6.11 - MySQL Community Server (GPL) +-- Server OS: Win64 +-- HeidiSQL version: 7.0.0.4053 +-- Date/time: 2014-06-23 08:38:17 +-- -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!40014 SET FOREIGN_KEY_CHECKS=0 */; + +-- Dumping structure for table dayzhivemind.character_data +CREATE TABLE IF NOT EXISTS `character_data` ( + `CharacterID` int(11) NOT NULL AUTO_INCREMENT, + `PlayerID` int(11) NOT NULL DEFAULT '1000', + `PlayerUID` varchar(45) NOT NULL DEFAULT '0', + `InstanceID` int(11) NOT NULL DEFAULT '0', + `Datestamp` datetime DEFAULT NULL, + `LastLogin` datetime NOT NULL, + `Inventory` longtext, + `Backpack` longtext, + `Worldspace` varchar(70) NOT NULL DEFAULT '[]', + `Medical` varchar(200) NOT NULL DEFAULT '[]', + `Alive` tinyint(4) NOT NULL DEFAULT '1', + `Generation` int(11) NOT NULL DEFAULT '1', + `LastAte` datetime NOT NULL, + `LastDrank` datetime NOT NULL, + `KillsZ` int(11) NOT NULL DEFAULT '0', + `HeadshotsZ` int(11) NOT NULL DEFAULT '0', + `distanceFoot` int(11) NOT NULL DEFAULT '0', + `duration` int(11) NOT NULL DEFAULT '0', + `currentState` varchar(1000) NOT NULL DEFAULT '[[],[]]', + `KillsH` int(11) NOT NULL DEFAULT '0', + `Model` varchar(50) NOT NULL DEFAULT '"Survivor2_DZ"', + `KillsB` int(11) NOT NULL DEFAULT '0', + `Humanity` int(11) NOT NULL DEFAULT '2500', + `last_updated` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, + PRIMARY KEY (`CharacterID`), + KEY `PlayerID` (`PlayerID`), + KEY `Alive_PlayerID` (`Alive`,`LastLogin`,`PlayerID`), + KEY `PlayerUID` (`PlayerUID`), + KEY `Alive_PlayerUID` (`Alive`,`LastLogin`,`PlayerUID`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- Data exporting was unselected. +/*!40014 SET FOREIGN_KEY_CHECKS=1 */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; diff --git a/SQL/1.8.9/character_dead.sql b/SQL/1.8.9/character_dead.sql new file mode 100644 index 00000000..ed0a2d17 --- /dev/null +++ b/SQL/1.8.9/character_dead.sql @@ -0,0 +1,48 @@ +-- -------------------------------------------------------- +-- Host: 184.164.146.210 +-- Server version: 5.6.11 - MySQL Community Server (GPL) +-- Server OS: Win64 +-- HeidiSQL version: 7.0.0.4053 +-- Date/time: 2014-06-23 08:38:18 +-- -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!40014 SET FOREIGN_KEY_CHECKS=0 */; + +-- Dumping structure for table dayzhivemind.character_dead +CREATE TABLE IF NOT EXISTS `character_dead` ( + `CharacterID` int(11) NOT NULL AUTO_INCREMENT, + `PlayerID` int(11) NOT NULL DEFAULT '0', + `PlayerUID` varchar(45) NOT NULL DEFAULT '0', + `InstanceID` int(11) NOT NULL DEFAULT '0', + `Datestamp` datetime DEFAULT NULL, + `LastLogin` datetime NOT NULL, + `Inventory` longtext, + `Backpack` longtext, + `Worldspace` varchar(70) NOT NULL DEFAULT '[]', + `Medical` varchar(200) NOT NULL DEFAULT '[]', + `Alive` tinyint(4) NOT NULL DEFAULT '1', + `Generation` int(11) NOT NULL DEFAULT '1', + `LastAte` datetime NOT NULL, + `LastDrank` datetime NOT NULL, + `KillsZ` int(11) NOT NULL DEFAULT '0', + `HeadshotsZ` int(11) NOT NULL DEFAULT '0', + `distanceFoot` int(11) NOT NULL DEFAULT '0', + `duration` int(11) NOT NULL DEFAULT '0', + `currentState` varchar(1000) NOT NULL DEFAULT '[[],[]]', + `KillsH` int(11) NOT NULL DEFAULT '0', + `Model` varchar(50) NOT NULL DEFAULT '"Survivor2_DZ"', + `KillsB` int(11) NOT NULL DEFAULT '0', + `Humanity` int(11) NOT NULL DEFAULT '2500', + `last_updated` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, + PRIMARY KEY (`CharacterID`), + KEY `PlayerID` (`PlayerID`), + KEY `Alive_PlayerID` (`Alive`,`LastLogin`,`PlayerID`), + KEY `PlayerUID` (`PlayerUID`), + KEY `Alive_PlayerUID` (`Alive`,`LastLogin`,`PlayerUID`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT; + +-- Data exporting was unselected. +/*!40014 SET FOREIGN_KEY_CHECKS=1 */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; diff --git a/SQL/1.8.9/countVehicles.sql b/SQL/1.8.9/countVehicles.sql new file mode 100644 index 00000000..013e2d7a --- /dev/null +++ b/SQL/1.8.9/countVehicles.sql @@ -0,0 +1,31 @@ +-- +-- Dumping routines for database 'dayzdev' +-- +/*!50003 DROP FUNCTION IF EXISTS `countVehicles` */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; +DELIMITER ;; +CREATE DEFINER=`dayzhivemind`@`%` FUNCTION `countVehicles`(`inst` int) RETURNS int(11) + READS SQL DATA +BEGIN + DECLARE count INT DEFAULT 0; + + SELECT COUNT(*) + INTO count + FROM object_data + WHERE CharacterID = 0 + AND Instance = inst; + + RETURN count; +END ;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; \ No newline at end of file diff --git a/SQL/1.8.9/countVehiclesClass.sql b/SQL/1.8.9/countVehiclesClass.sql new file mode 100644 index 00000000..42684cfd --- /dev/null +++ b/SQL/1.8.9/countVehiclesClass.sql @@ -0,0 +1,29 @@ +/*!50003 DROP FUNCTION IF EXISTS `countVehiclesClass` */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; +DELIMITER ;; +CREATE DEFINER=`dayzhivemind`@`%` FUNCTION `countVehiclesClass`(`inst` int,`c` varchar(255)) RETURNS int(11) + READS SQL DATA +BEGIN + DECLARE count INT DEFAULT 0; + + SELECT COUNT(*) + INTO count + FROM object_data + WHERE Instance = inst + AND CharacterID = 0 + AND Classname = c; + + RETURN count; +END ;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; \ No newline at end of file diff --git a/SQL/1.8.9/countVehiclesGroup.sql b/SQL/1.8.9/countVehiclesGroup.sql new file mode 100644 index 00000000..62608cd8 --- /dev/null +++ b/SQL/1.8.9/countVehiclesGroup.sql @@ -0,0 +1,46 @@ +/*!50003 DROP FUNCTION IF EXISTS `countVehiclesGroup` */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; +DELIMITER ;; +CREATE DEFINER=`dayzhivemind`@`%` FUNCTION `countVehiclesGroup`(`inst` int, `groupid` int) RETURNS int(11) + READS SQL DATA +BEGIN + DECLARE count INT; + + /*SELECT COUNT(*) + INTO count + FROM object_data AS obj + WHERE CharacterID = 0 + AND Instance = instance + AND t = (SELECT `Group` FROM vehicle_spawns AS spawn WHERE spawn.Classname = obj.Classname LIMIT 1);*/ + + SELECT COUNT(*) + INTO count + FROM object_data + WHERE CharacterID = 0 + AND Instance = inst + AND Classname IN + ( + SELECT Classname + FROM vehicle_spawns + WHERE ID IN + ( + SELECT Spawn_ID + FROM vehicle_spawns_groups + WHERE Group_ID = groupid + ) + ); + + RETURN count; +END ;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; \ No newline at end of file diff --git a/SQL/1.8.9/event_scheduler.sql b/SQL/1.8.9/event_scheduler.sql new file mode 100644 index 00000000..f8dab60e --- /dev/null +++ b/SQL/1.8.9/event_scheduler.sql @@ -0,0 +1,29 @@ +-- -------------------------------------------------------- +-- Host: 184.164.146.210 +-- Server version: 5.5.27 - MySQL Community Server (GPL) +-- Server OS: Win32 +-- HeidiSQL Version: 9.1.0.4867 +-- -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8mb4 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; + +-- Dumping structure for table dayzhivemind.event_scheduler +CREATE TABLE IF NOT EXISTS `event_scheduler` ( + `System` text, + `LastRun` timestamp NULL DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- Dumping data for table dayzhivemind.event_scheduler: ~2 rows (approximately) +/*!40000 ALTER TABLE `event_scheduler` DISABLE KEYS */; +INSERT INTO `event_scheduler` (`System`, `LastRun`) VALUES + ('3hRespawns', NULL), + ('pCleanup', NULL), + ('pCleanupBase', NULL), + ('pMain', NULL); +/*!40000 ALTER TABLE `event_scheduler` ENABLE KEYS */; +/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */; +/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; diff --git a/SQL/1.8.9/generateUID.sql b/SQL/1.8.9/generateUID.sql new file mode 100644 index 00000000..fcf47019 --- /dev/null +++ b/SQL/1.8.9/generateUID.sql @@ -0,0 +1,32 @@ +/*!50003 DROP FUNCTION IF EXISTS `generateUID` */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; +DELIMITER ;; +CREATE DEFINER=`dayzhivemind`@`%` FUNCTION `generateUID`(`inst` int) RETURNS bigint(20) +BEGIN + DECLARE Min BIGINT DEFAULT 10000000; + DECLARE Max BIGINT DEFAULT 99999999; + + DECLARE UID BIGINT DEFAULT 0; + + WHILE (UID = 0) DO + SET UID = ROUND(Min + RAND() * (Max - Min)); + + IF (UID IN (SELECT ObjectUID FROM object_data WHERE CharacterID = 0 AND Instance = inst)) THEN + SET UID = 0; + END IF; + END WHILE; + + RETURN UID; +END ;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; \ No newline at end of file diff --git a/SQL/1.8.9/getNumSpawnable.sql b/SQL/1.8.9/getNumSpawnable.sql new file mode 100644 index 00000000..5220379c --- /dev/null +++ b/SQL/1.8.9/getNumSpawnable.sql @@ -0,0 +1,32 @@ +/*!50003 DROP FUNCTION IF EXISTS `getNumSpawnable` */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; +DELIMITER ;; +CREATE DEFINER=`dayzhivemind`@`%` FUNCTION `getNumSpawnable`(`inst` int, `spawnid` int) RETURNS int(11) +BEGIN + DECLARE Class_Max INT DEFAULT (SELECT MaxNum - countVehiclesClass(inst, Classname) FROM vehicle_spawns WHERE ID = spawnid LIMIT 1); + DECLARE Group_Max INT DEFAULT + ( + SELECT MIN(MaxNum - countVehiclesGroup(inst, ID)) + FROM vehicle_groups + WHERE ID IN + ( + SELECT Group_ID + FROM vehicle_spawns_groups + WHERE Spawn_ID = spawnid + ) + ); + + RETURN IF(ISNULL(Group_Max), Class_Max, IF(Class_Max < Group_Max, Class_Max, Group_Max)); +END ;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; \ No newline at end of file diff --git a/SQL/1.8.9/object_data.sql b/SQL/1.8.9/object_data.sql new file mode 100644 index 00000000..9416de00 --- /dev/null +++ b/SQL/1.8.9/object_data.sql @@ -0,0 +1,35 @@ +-- -------------------------------------------------------- +-- Host: 184.164.146.210 +-- Server version: 5.6.11 - MySQL Community Server (GPL) +-- Server OS: Win64 +-- HeidiSQL version: 7.0.0.4053 +-- Date/time: 2014-06-23 08:38:22 +-- -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!40014 SET FOREIGN_KEY_CHECKS=0 */; + +-- Dumping structure for table dayzhivemind.object_data +CREATE TABLE IF NOT EXISTS `object_data` ( + `ObjectID` int(11) NOT NULL AUTO_INCREMENT, + `ObjectUID` bigint(20) NOT NULL DEFAULT '0', + `Instance` int(11) NOT NULL, + `Classname` varchar(50) DEFAULT NULL, + `Datestamp` datetime NOT NULL, + `CharacterID` int(11) NOT NULL DEFAULT '0', + `Worldspace` varchar(70) NOT NULL DEFAULT '[]', + `Inventory` longtext, + `Hitpoints` longtext NOT NULL, + `Fuel` double(13,5) NOT NULL DEFAULT '1.00000', + `Damage` double(13,5) NOT NULL DEFAULT '0.00000', + `last_updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, + PRIMARY KEY (`ObjectID`), + UNIQUE KEY `CheckUID` (`ObjectUID`,`Instance`), + KEY `ObjectUID` (`ObjectUID`), + KEY `Instance` (`Damage`,`Instance`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- Data exporting was unselected. +/*!40014 SET FOREIGN_KEY_CHECKS=1 */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; diff --git a/SQL/1.8.9/pCleanup.sql b/SQL/1.8.9/pCleanup.sql new file mode 100644 index 00000000..d128601e --- /dev/null +++ b/SQL/1.8.9/pCleanup.sql @@ -0,0 +1,114 @@ +/*!50003 DROP PROCEDURE IF EXISTS `pCleanup` */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; +DELIMITER ;; +CREATE DEFINER=`dayzhivemind`@`%` PROCEDURE `pCleanup`() +BEGIN +#Last ran + update event_scheduler set LastRun = NOW() where System = "pCleanup"; + +#starts outofbounds cleanup + CALL pCleanupOOB(); + +#remove damaged objects + DELETE + FROM object_data + WHERE CharacterID != 0 AND Damage >= 1; + +#remove damaged vehicles older than vehicle_spawns.CleanupTime + DELETE FROM object_data + WHERE CharacterID = 0 + AND Damage = 1 + AND SYSDATE() > DATE(last_updated) + INTERVAL ( + SELECT CleanupTime + FROM vehicle_spawns + WHERE vehicle_spawns.Classname = object_data.Classname + LIMIT 1) MINUTE; + +#remove empty tents older than seven days + DELETE + FROM object_data + WHERE (Classname like 'TentStorage%' or Classname like 'StashSmall%' or Classname like 'StashMedium%' or Classname like 'DomeTentStorage%') + AND DATE(last_updated) < CURDATE() - INTERVAL 7 DAY + AND Inventory = '[[[],[]],[[],[]],[[],[]]]'; + + DELETE + FROM object_data + WHERE (Classname like 'TentStorage%' or Classname like 'StashSmall%' or Classname like 'StashMedium%' or Classname like 'DomeTentStorage%') + AND DATE(last_updated) < CURDATE() - INTERVAL 7 DAY + AND Inventory = '[]'; + +#remove barbed wire older than two days + DELETE + FROM object_data + WHERE Classname = 'Wire_cat1' + AND DATE(last_updated) < CURDATE() - INTERVAL 2 DAY; + +#remove Tank Traps older than fifteen days + DELETE + FROM object_data + WHERE Classname = 'Hedgehog_DZ' + AND DATE(last_updated) < CURDATE() - INTERVAL 15 DAY; + +#remove Sandbags older than twenty days + DELETE + FROM object_data + WHERE Classname = 'Sandbag1_DZ' + AND DATE(last_updated) < CURDATE() - INTERVAL 20 DAY; + +#remove Traps older than five days + DELETE + FROM object_data + WHERE (Classname = 'BearTrap_DZ' or Classname = 'TrapBearTrapFlare' or Classname = 'TrapBearTrapSmoke' or Classname = 'Trap_Cans' or Classname = 'TrapTripwireFlare' or Classname = 'TrapTripwireGrenade' or Classname = 'TrapTripwireSmoke') + AND DATE(last_updated) < CURDATE() - INTERVAL 5 DAY; +#remove incomplete gates after 1 Day + DELETE + FROM object_data + WHERE (Classname = 'WoodenGate_foundation') + AND DATE(last_updated) < CURDATE() - INTERVAL 1 Day; +#remove incomplete fences after 1 Day + DELETE + FROM object_data + WHERE (Classname = 'WoodenFence_1_foundation') + AND DATE(last_updated) < CURDATE() - INTERVAL 1 Day; + +#remove incomplete fences after 3 Dayz + DELETE + FROM object_data + WHERE (Classname = 'WoodenFence_1_frame' or Classname = 'WoodenFence_quaterpanel' or Classname = 'WoodenFence_halfpanel' or Classname = 'WoodenFence_thirdpanel') + AND DATE(last_updated) < CURDATE() - INTERVAL 3 Day; + +#remove dead players from data table + DELETE + FROM character_data + WHERE Alive=0 AND DATE(last_updated) < CURDATE() - INTERVAL 90 Day; +#Remove Bad Data + DELETE + FROM object_data + WHERE Classname like '%_base'; + +#Remove wire if the owner has died. + DELETE + FROM Object_DATA + USING Object_DATA, Character_DATA + WHERE Object_DATA.Classname = 'Wire_cat1' + AND Object_DATA.CharacterID = Character_DATA.CharacterID + AND Character_DATA.Alive = 0; + +#remove Base_Fire_DZ older than 5 days + DELETE + FROM object_data + WHERE Classname = 'Base_Fire_DZ' + AND DATE(last_updated) < CURDATE() - INTERVAL 5 DAY; +END ;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; diff --git a/SQL/1.8.9/pCleanupBase.sql b/SQL/1.8.9/pCleanupBase.sql new file mode 100644 index 00000000..daa63b69 --- /dev/null +++ b/SQL/1.8.9/pCleanupBase.sql @@ -0,0 +1,163 @@ +-- -------------------------------------------------------- +-- Host: 184.164.146.210 +-- Server version: 5.5.27 - MySQL Community Server (GPL) +-- Server OS: Win32 +-- HeidiSQL Version: 9.1.0.4867 +-- -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8mb4 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; + +-- Dumping structure for procedure dayzhivemind.pCleanup +DELIMITER // +CREATE DEFINER=`dayzhivemind`@`%` PROCEDURE `pCleanupBase`() +BEGIN +#Last ran + update event_scheduler set LastRun = NOW() where System = "pCleanupBase"; + +#Start Maintenance 1-4 Mode + Update + object_data + set Hitpoints = '["Maintenance"]' + WHERE (Classname = 'WoodenFence_1' or Classname = 'WoodenFence_2' or Classname = 'WoodenFence_3' or Classname = 'WoodenFence_4') + AND DATE(last_updated) < CURDATE() - INTERVAL 7 DAY + AND Hitpoints = '[]'; + +#Start Maintenance 5-7 Mode + Update + object_data + set Hitpoints = '["Maintenance"]' + WHERE (Classname = 'WoodenFence_5' or Classname = 'WoodenFence_6' or Classname = 'WoodenFence_7') + AND DATE(last_updated) < CURDATE() - INTERVAL 14 DAY + AND Hitpoints = '[]'; + +#Check WoodenFence_1_foundation + update + object_data + set Classname = 'WoodenFence_1_foundation' + where Classname = 'WoodenFence_1_frame' + AND Hitpoints = '["Maintenance"]' + AND DATE(last_updated) < CURDATE() - INTERVAL 3 DAY; + +#Check WoodenFence_1_frame + update + object_data + set Classname = 'WoodenFence_1_frame' + where Classname = 'WoodenFence_quaterpanel' + AND Hitpoints = '["Maintenance"]' + AND DATE(last_updated) < CURDATE() - INTERVAL 3 DAY; + +#Check WoodenFence_halfpanel + update + object_data + set Classname = 'WoodenFence_quaterpanel' + where Classname = 'WoodenFence_halfpanel' + AND Hitpoints = '["Maintenance"]' + AND DATE(last_updated) < CURDATE() - INTERVAL 3 DAY; + +#Check WoodenFence_thirdpanel + update + object_data + set Classname = 'WoodenFence_halfpanel' + where Classname = 'WoodenFence_thirdpanel' + AND Hitpoints = '["Maintenance"]' + AND DATE(last_updated) < CURDATE() - INTERVAL 3 DAY; + +#Check fence 1 + update + object_data + set Classname = 'WoodenFence_thirdpanel' + where Classname = 'WoodenFence_1' + AND Hitpoints = '["Maintenance"]' + AND DATE(last_updated) < CURDATE() - INTERVAL 3 DAY; +#Check fence 2 + update + object_data + set Classname = 'WoodenFence_1' + where Classname = 'WoodenFence_2' + AND Hitpoints = '["Maintenance"]' + AND DATE(last_updated) < CURDATE() - INTERVAL 3 DAY; +#Check fence 3 + update + object_data + set Classname = 'WoodenFence_2' + where Classname = 'WoodenFence_3' + AND Hitpoints = '["Maintenance"]' + AND DATE(last_updated) < CURDATE() - INTERVAL 3 DAY; +#Check fence 4 + update + object_data + set Classname = 'WoodenFence_3' + where Classname = 'WoodenFence_4' + AND Hitpoints = '["Maintenance"]' + AND DATE(last_updated) < CURDATE() - INTERVAL 3 DAY; +#Check fence 5 + update + object_data + set Classname = 'WoodenFence_4' + where Classname = 'WoodenFence_5' + AND Hitpoints = '["Maintenance"]' + AND DATE(last_updated) < CURDATE() - INTERVAL 6 DAY; +#Check fence 6 + update + object_data + set Classname = 'WoodenFence_5' + where Classname = 'WoodenFence_6' + AND Hitpoints = '["Maintenance"]' + AND DATE(last_updated) < CURDATE() - INTERVAL 6 DAY; +#Check fence 7 + update + object_data + set Classname = 'WoodenFence_6' + where Classname = 'WoodenFence_7' + AND Hitpoints = '["Maintenance"]' + AND DATE(last_updated) < CURDATE() - INTERVAL 6 DAY; + +#DayZ_WoodenGates = ["WoodenGate_1","WoodenGate_2","WoodenGate_3","WoodenGate_4"]; +#Start Maintenance Mode Gates + Update + object_data + set Hitpoints = '["Maintenance"]' + WHERE (Classname = 'WoodenGate_1' or Classname = 'WoodenGate_2' or Classname = 'WoodenGate_3' or Classname = 'WoodenGate_4') + AND DATE(last_updated) < CURDATE() - INTERVAL 7 DAY + AND Hitpoints = '[]'; + +#Check WoodenGate_1 + update + object_data + set Classname = 'WoodenGate_foundation' + where Classname = 'WoodenGate_1' + AND Hitpoints = '["Maintenance"]' + AND DATE(last_updated) < CURDATE() - INTERVAL 3 DAY; + +#Check WoodenGate_2 + update + object_data + set Classname = 'WoodenGate_1' + where Classname = 'WoodenGate_2' + AND Hitpoints = '["Maintenance"]' + AND DATE(last_updated) < CURDATE() - INTERVAL 3 DAY; + +#Check WoodenGate_3 + update + object_data + set Classname = 'WoodenGate_2' + where Classname = 'WoodenGate_3' + AND Hitpoints = '["Maintenance"]' + AND DATE(last_updated) < CURDATE() - INTERVAL 3 DAY; + +#Check WoodenGate_4 + update + object_data + set Classname = 'WoodenGate_3' + where Classname = 'WoodenGate_4' + AND Hitpoints = '["Maintenance"]' + AND DATE(last_updated) < CURDATE() - INTERVAL 3 DAY; + +END// +DELIMITER ; +/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */; +/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; diff --git a/SQL/1.8.9/pCleanupOOB.sql b/SQL/1.8.9/pCleanupOOB.sql new file mode 100644 index 00000000..85805669 --- /dev/null +++ b/SQL/1.8.9/pCleanupOOB.sql @@ -0,0 +1,67 @@ +-- -------------------------------------------------------- +-- Host: 184.164.146.210 +-- Server version: 5.6.11 - MySQL Community Server (GPL) +-- Server OS: Win64 +-- HeidiSQL version: 7.0.0.4053 +-- Date/time: 2014-06-23 08:38:24 +-- -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!40014 SET FOREIGN_KEY_CHECKS=0 */; + +-- Dumping structure for procedure dayzhivemind.pCleanupOOB +DELIMITER // +CREATE DEFINER=`dayzhivemind`@`%` PROCEDURE `pCleanupOOB`() +BEGIN + + DECLARE intLineCount INT DEFAULT 0; + DECLARE intDummyCount INT DEFAULT 0; + DECLARE intDoLine INT DEFAULT 0; + DECLARE intWest INT DEFAULT 0; + DECLARE intNorth INT DEFAULT 0; + + SELECT COUNT(*) + INTO intLineCount + FROM Object_DATA; + + SELECT COUNT(*) + INTO intDummyCount + FROM Object_DATA + WHERE Classname = 'dummy'; + + WHILE (intLineCount > intDummyCount) DO + + SET intDoLine = intLineCount - 1; + + SELECT ObjectUID, Worldspace + INTO @rsObjectUID, @rsWorldspace + FROM Object_DATA + LIMIT intDoLine, 1; + + SELECT REPLACE(@rsWorldspace, '[', '') INTO @rsWorldspace; + SELECT REPLACE(@rsWorldspace, ']', '') INTO @rsWorldspace; + SELECT REPLACE(SUBSTRING(SUBSTRING_INDEX(@rsWorldspace, ',', 2), LENGTH(SUBSTRING_INDEX(@rsWorldspace, ',', 2 -1)) + 2), ',', '') INTO @West; + SELECT REPLACE(SUBSTRING(SUBSTRING_INDEX(@rsWorldspace, ',', 3), LENGTH(SUBSTRING_INDEX(@rsWorldspace, ',', 3 -1)) + 2), ',', '') INTO @North; + + SELECT INSTR(@West, '-') INTO intWest; + SELECT INSTR(@North, '-') INTO intNorth; + + IF (intNorth = 0) THEN + SELECT CONVERT(@North, DECIMAL(16,8)) INTO intNorth; + END IF; + +# Check for NSEW boundaries + IF (intWest < 0 OR intWest > 15360 OR intNorth > 15360 OR intNorth < 750) THEN + DELETE FROM Object_DATA + WHERE ObjectUID = @rsObjectUID; + END IF; + + SET intLineCount = intLineCount - 1; + + END WHILE; + +END// +DELIMITER ; +/*!40014 SET FOREIGN_KEY_CHECKS=1 */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; diff --git a/SQL/1.8.9/pMain.sql b/SQL/1.8.9/pMain.sql new file mode 100644 index 00000000..187852b1 --- /dev/null +++ b/SQL/1.8.9/pMain.sql @@ -0,0 +1,30 @@ +/*!50003 DROP PROCEDURE IF EXISTS `pMain` */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; +DELIMITER ;; +CREATE DEFINER=`dayzhivemind`@`%` PROCEDURE `pMain`(IN `i` INT) + MODIFIES SQL DATA +BEGIN +# Server instance ID. +#----------------------------------------------- + DECLARE sInstance VARCHAR(8) DEFAULT i; +#----------------------------------------------- +#Last Ran + update event_scheduler set LastRun = NOW() where System = "pMain"; +#Starts Cleanup + CALL pCleanupBase(); #comment out to disable base decay + CALL pCleanup(); + + CALL pSpawnVehicles(sInstance); +END ;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; \ No newline at end of file diff --git a/SQL/1.8.9/pSpawnVehicles.sql b/SQL/1.8.9/pSpawnVehicles.sql new file mode 100644 index 00000000..a79e1493 --- /dev/null +++ b/SQL/1.8.9/pSpawnVehicles.sql @@ -0,0 +1,145 @@ +/*!50003 DROP PROCEDURE IF EXISTS `pSpawnVehicles` */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; +DELIMITER ;; +CREATE DEFINER=`dayzhivemind`@`%` PROCEDURE `pSpawnVehicles`(IN `i` int) +BEGIN + #--------------------------------------------------------------- + #Change this to affect the maximum number of vehicles on the server. + DECLARE MaxVehicles INT DEFAULT 80; + + #Change this to affect the radius that is checked for existing vehicles when spawning. + #If set to 0 or negative vehicles will always spawn despite blocking vehicles. + DECLARE SearchRadius DOUBLE DEFAULT 10; + #--------------------------------------------------------------- + + DECLARE ServerInstance INT DEFAULT i; + DECLARE MaxNumSpawn INT DEFAULT MaxVehicles - countVehicles(ServerInstance); + + + set @countNULLs = 0; + set @tobjLoop = 3; + WHILE (@tobjLoop > 0) DO + DROP TEMPORARY TABLE IF EXISTS temp_objects; + CREATE TEMPORARY TABLE temp_objects AS + ( + SELECT CONVERT(SUBSTRING(SUBSTRING_INDEX(@ws, ",", 2), LENGTH(SUBSTRING_INDEX(@ws, ",", 1)) + 2), DECIMAL(10, 5)) AS X, + CONVERT(SUBSTRING(SUBSTRING_INDEX(@ws, ",", 3), LENGTH(SUBSTRING_INDEX(@ws, ",", 2)) + 2), DECIMAL(10, 5)) AS Y + FROM object_data + WHERE CharacterID = 0 + AND Instance = ServerInstance + AND (@ws := Worldspace) IS NOT NULL + AND (@ws := REPLACE(@ws, "[", "")) IS NOT NULL + AND (@ws := REPLACE(@ws, "]", "")) IS NOT NULL + ); + + set @countNULLs = (SELECT count(*) FROM temp_objects where (X IS NULL OR Y IS NULL)); + IF (@countNULLs > 0 ) THEN + SET @tobjLoop = @tobjLoop - 1; + ELSE + SET @tobjLoop = 0; + END IF; + END WHILE; + + IF (@countNULLs > 0 ) THEN + SELECT "No vehicles spawned. NULLs found in temp_objects."; + END IF; + + + DROP TEMPORARY TABLE IF EXISTS temp_locations; + CREATE TEMPORARY TABLE temp_locations AS + ( + SELECT vehicle_locations.ID, temp2.Worldspace + FROM + ( + SELECT Worldspace + FROM + ( + SELECT Worldspace, + CONVERT(SUBSTRING(SUBSTRING_INDEX(@ws, ",", 2), LENGTH(SUBSTRING_INDEX(@ws, ",", 1)) + 2), DECIMAL(10, 5)) AS X, + CONVERT(SUBSTRING(SUBSTRING_INDEX(@ws, ",", 3), LENGTH(SUBSTRING_INDEX(@ws, ",", 2)) + 2), DECIMAL(10, 5)) AS Y + FROM (SELECT Worldspace FROM vehicle_locations GROUP BY Worldspace) AS temp + WHERE (@ws := Worldspace) IS NOT NULL + AND (@ws := REPLACE(@ws, "[", "")) IS NOT NULL + AND (@ws := REPLACE(@ws, "]", "")) IS NOT NULL + ) AS temp1 + WHERE + ( + @distance := + ( + SELECT MIN(SQRT((temp_objects.X - temp1.X) * (temp_objects.X - temp1.X) + (temp_objects.Y - temp1.Y) * (temp_objects.Y - temp1.Y))) + FROM temp_objects + ) + ) IS NULL OR @distance > SearchRadius + ) AS temp2 + JOIN vehicle_locations + ON vehicle_locations.Worldspace = temp2.Worldspace + ); + + DROP TEMPORARY TABLE IF EXISTS temp_spawns; + CREATE TEMPORARY TABLE temp_spawns AS + ( + SELECT temp.ID, Classname, Worldspace, Chance, MinFuel, MaxFuel, MinDamage, MaxDamage + FROM + ( + SELECT * + FROM vehicle_spawns + WHERE (@numSpawnable := getNumSpawnable(ServerInstance, ID)) IS NOT NULL + AND @numSpawnable > 0 + ORDER BY RAND() + ) AS temp + JOIN temp_locations + ON temp_locations.ID = temp.Location + ORDER BY RAND() + ); + + SET @numSpawned = 0; + WHILE (@numSpawned < MaxNumSpawn AND (SELECT COUNT(*) FROM temp_spawns) > 0) DO + SET @spawnid = (SELECT ID FROM temp_spawns LIMIT 1); + SET @chance = (SELECT Chance FROM temp_spawns LIMIT 1); + SET @numSpawnable = getNumSpawnable(ServerInstance, @spawnid); + IF (@numSpawnable > 0 AND RAND() < @chance) THEN + SET @worldspace = (SELECT Worldspace FROM temp_spawns LIMIT 1); + + #SKI GOGGLES - prevent random double-WS inserts + set @countWS = (SELECT count(*) FROM object_data where characterid=0 AND worldspace=@worldspace); + IF (@CountWS < 1) THEN + #SKI GOGGLES - prevent random double-WS inserts + + INSERT INTO object_data (ObjectUID, Classname, Instance, CharacterID, Worldspace, Inventory, Hitpoints, Fuel, Damage, Datestamp) + SELECT generateUID(ServerInstance), Classname, ServerInstance, 0, Worldspace, + randomizeVehicleInventory(Classname), + randomizeVehicleHitpoints(Classname), + MinFuel + RAND() * (MaxFuel - MinFuel), + MinDamage + RAND() * (MaxDamage - MinDamage), + SYSDATE() + FROM temp_spawns + LIMIT 1; + #SKI GOGGLES - prevent random double-WS inserts + END IF; + #SKI GOGGLES - prevent random double-WS inserts + DELETE FROM temp_spawns WHERE Worldspace = @worldspace; + + SET @numSpawned = @numSpawned + 1; + END IF; + + SET @numSpawnable = @numSpawnable - 1; + + IF (@numSpawnable < 1) THEN + DELETE FROM temp_spawns WHERE ID = @spawnid; + END IF; + END WHILE; + + SELECT CONCAT(@numSpawned, " vehicles spawned."); +END ;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; diff --git a/SQL/1.8.9/player_data.sql b/SQL/1.8.9/player_data.sql new file mode 100644 index 00000000..3248cc07 --- /dev/null +++ b/SQL/1.8.9/player_data.sql @@ -0,0 +1,26 @@ +-- -------------------------------------------------------- +-- Host: 184.164.146.210 +-- Server version: 5.6.11 - MySQL Community Server (GPL) +-- Server OS: Win64 +-- HeidiSQL version: 7.0.0.4053 +-- Date/time: 2014-06-23 08:38:25 +-- -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!40014 SET FOREIGN_KEY_CHECKS=0 */; + +-- Dumping structure for table dayzhivemind.player_data +CREATE TABLE IF NOT EXISTS `player_data` ( + `playerID` int(11) NOT NULL DEFAULT '0', + `playerUID` varchar(45) NOT NULL DEFAULT '0', + `playerName` varchar(50) NOT NULL DEFAULT 'Null', + `playerMorality` int(11) NOT NULL DEFAULT '0', + `playerSex` int(11) NOT NULL DEFAULT '0', + KEY `playerID` (`playerID`), + KEY `playerUID` (`playerUID`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- Data exporting was unselected. +/*!40014 SET FOREIGN_KEY_CHECKS=1 */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; diff --git a/SQL/1.8.9/player_login.sql b/SQL/1.8.9/player_login.sql new file mode 100644 index 00000000..9c3c4ad3 --- /dev/null +++ b/SQL/1.8.9/player_login.sql @@ -0,0 +1,25 @@ +-- -------------------------------------------------------- +-- Host: 184.164.146.210 +-- Server version: 5.6.11 - MySQL Community Server (GPL) +-- Server OS: Win64 +-- HeidiSQL version: 7.0.0.4053 +-- Date/time: 2014-06-23 08:38:25 +-- -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!40014 SET FOREIGN_KEY_CHECKS=0 */; + +-- Dumping structure for table dayzhivemind.player_login +CREATE TABLE IF NOT EXISTS `player_login` ( + `LoginID` int(11) NOT NULL AUTO_INCREMENT, + `PlayerUID` varchar(45) NOT NULL, + `CharacterID` int(11) NOT NULL DEFAULT '0', + `datestamp` datetime NOT NULL, + `Action` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`LoginID`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- Data exporting was unselected. +/*!40014 SET FOREIGN_KEY_CHECKS=1 */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; diff --git a/SQL/1.8.9/randomizeVehicleHitpoints.sql b/SQL/1.8.9/randomizeVehicleHitpoints.sql new file mode 100644 index 00000000..7ddb60e6 --- /dev/null +++ b/SQL/1.8.9/randomizeVehicleHitpoints.sql @@ -0,0 +1,38 @@ +/*!50003 DROP FUNCTION IF EXISTS `randomizeVehicleHitpoints` */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; +DELIMITER ;; +CREATE DEFINER=`dayzhivemind`@`%` FUNCTION `randomizeVehicleHitpoints`(`class` varchar(255)) RETURNS varchar(2000) CHARSET latin1 + READS SQL DATA +BEGIN + #--------------------------------------------------------------- + #Random number r is generated in the range ]0, 1[. + #If r + MinDamage is less than Threshold, damage to part is set to MinDamage. + DECLARE Threshold DOUBLE DEFAULT 0.5; + #--------------------------------------------------------------- + + DECLARE Result varchar(2000); + DECLARE Hitpoints_ID INT DEFAULT (SELECT Hitpoints FROM vehicle_spawns WHERE Classname = class LIMIT 1); + + IF (ISNULL(Hitpoints_ID)) THEN + RETURN "[]"; + END IF; + + SELECT GROUP_CONCAT("[\"", PartName, "\",", TRUNCATE(IF ((@r := MinDamage + RAND() * (MaxDamage - MinDamage)) < Threshold, MinDamage, @r), 4), "]") + INTO Result + FROM vehicle_hitpoints + WHERE ID = Hitpoints_ID; + + RETURN CONCAT_WS("", "[", Result, "]"); +END ;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; diff --git a/SQL/1.8.9/randomizeVehicleInventory.sql b/SQL/1.8.9/randomizeVehicleInventory.sql new file mode 100644 index 00000000..f042cfec --- /dev/null +++ b/SQL/1.8.9/randomizeVehicleInventory.sql @@ -0,0 +1,106 @@ +/*!50003 DROP FUNCTION IF EXISTS `randomizeVehicleInventory` */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; +DELIMITER ;; +CREATE DEFINER=`dayzhivemind`@`%` FUNCTION `randomizeVehicleInventory`(`c` varchar(255)) RETURNS longtext CHARSET latin1 + READS SQL DATA +BEGIN + DECLARE WeaponClasses VARCHAR(255); + DECLARE WeaponAmounts VARCHAR(255); + DECLARE MagazineClasses VARCHAR(512); #changed to 512 since vehicle inventory can be large + DECLARE MagazineAmounts VARCHAR(255); + DECLARE BackpackClasses VARCHAR(255); + DECLARE BackpackAmounts VARCHAR(255); + + DECLARE InventoryID INT DEFAULT (SELECT Inventory FROM vehicle_spawns WHERE Classname = c LIMIT 1); + + DECLARE MaxWeapons INT DEFAULT (SELECT MaxWeapons FROM vehicle_spawns WHERE Classname = c LIMIT 1); + DECLARE MaxMagazines INT DEFAULT (SELECT MaxMagazines FROM vehicle_spawns WHERE Classname = c LIMIT 1); + DECLARE MaxBackpacks INT DEFAULT (SELECT MaxBackpacks FROM vehicle_spawns WHERE Classname = c LIMIT 1); + + IF (ISNULL(InventoryID)) THEN + RETURN "[]"; + END IF; + + #Weapons + SET @amt := 0; + SET @sum := 0; + SELECT GROUP_CONCAT("\"", Classname, "\""), + GROUP_CONCAT(IF(@sum > MaxWeapons, MaxWeapons - @sum + @amt, @amt)) + INTO WeaponClasses, WeaponAmounts + FROM + ( + SELECT * + FROM vehicle_inventory + WHERE ID = InventoryID + AND Type = "Weapon" + AND RAND() < Chance + ORDER BY RAND() + ) AS x + WHERE (@amt := ROUND(x.MinAmount + RAND() * (x.MaxAmount - x.MinAmount))) IS NOT NULL + AND (@sum := @sum + @amt) IS NOT NULL + AND @sum - @amt < MaxWeapons; + + #Magazines + SET @amt := 0; + SET @sum := 0; + SELECT GROUP_CONCAT("\"", Classname, "\""), + GROUP_CONCAT(IF(@sum > MaxMagazines, MaxMagazines - @sum + @amt, @amt)) + INTO MagazineClasses, MagazineAmounts + FROM + ( + SELECT * + FROM vehicle_inventory + WHERE ID = InventoryID + AND Type = "Magazine" + AND RAND() < Chance + ORDER BY RAND() + ) AS x + WHERE (@amt := ROUND(x.MinAmount + RAND() * (x.MaxAmount - x.MinAmount))) IS NOT NULL + AND (@sum := @sum + @amt) IS NOT NULL + AND @sum - @amt < MaxMagazines; + + #Backpacks + SET @amt := 0; + SET @sum := 0; + SELECT GROUP_CONCAT("\"", Classname, "\""), + GROUP_CONCAT(IF(@sum > MaxBackpacks, MaxBackpacks - @sum + @amt, @amt)) + INTO BackpackClasses, BackpackAmounts + FROM + ( + SELECT * + FROM vehicle_inventory + WHERE ID = InventoryID + AND Type = "Backpack" + AND RAND() < Chance + ORDER BY RAND() + ) AS x + WHERE (@amt := ROUND(x.MinAmount + RAND() * (x.MaxAmount - x.MinAmount))) IS NOT NULL + AND (@sum := @sum + @amt) IS NOT NULL + AND @sum - @amt < MaxBackpacks; + + #Concatenate all classes and amounts into one string in the format: + #[[[],[]],[[],[]],[[],[]]] + RETURN CONCAT_WS + ( + "", + "[[[", WeaponClasses, + "], [", WeaponAmounts, + "]], [[", MagazineClasses, + "], [", MagazineAmounts, + "]], [[", BackpackClasses, + "], [", BackpackAmounts, + "]]]" + ); +END ;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; diff --git a/SQL/1.8.9/rndspawn.sql b/SQL/1.8.9/rndspawn.sql new file mode 100644 index 00000000..77961e6b --- /dev/null +++ b/SQL/1.8.9/rndspawn.sql @@ -0,0 +1,30 @@ +-- -------------------------------------------------------- +-- Host: 184.164.146.210 +-- Server version: 5.6.11 - MySQL Community Server (GPL) +-- Server OS: Win64 +-- HeidiSQL version: 7.0.0.4053 +-- Date/time: 2014-06-23 08:38:29 +-- -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!40014 SET FOREIGN_KEY_CHECKS=0 */; + +-- Dumping structure for function dayzhivemind.rndspawn +DELIMITER // +CREATE DEFINER=`dayzhivemind`@`%` FUNCTION `rndspawn`(`chance` double) RETURNS tinyint(1) + DETERMINISTIC +BEGIN + + DECLARE bspawn tinyint(1) DEFAULT 0; + + IF (RAND() <= chance) THEN + SET bspawn = 1; + END IF; + + RETURN bspawn; + +END// +DELIMITER ; +/*!40014 SET FOREIGN_KEY_CHECKS=1 */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; diff --git a/SQL/1.8.9/vehicle_groups.sql b/SQL/1.8.9/vehicle_groups.sql new file mode 100644 index 00000000..d6a1a58b --- /dev/null +++ b/SQL/1.8.9/vehicle_groups.sql @@ -0,0 +1,32 @@ +-- +-- Table structure for table `vehicle_groups` +-- + +DROP TABLE IF EXISTS `vehicle_groups`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `vehicle_groups` ( + `ID` int(11) NOT NULL, + `MaxNum` int(11) NOT NULL, + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='0 Helicopters\r\n1 Military cars (Landrover W, Landrover D, HMMWV)\r\n2 Armed cars\r\n3 Bikes\r\n4 Trucks\r\n5 Buses\r\n6 Civilian cars\r\n7 Civilian cars high end\r\n8 Civilian cars low end\r\n9 AN-2\r\n10 UH-1H'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `vehicle_groups` +-- + +LOCK TABLES `vehicle_groups` WRITE; +/*!40000 ALTER TABLE `vehicle_groups` DISABLE KEYS */; +INSERT INTO `vehicle_groups` VALUES +(0,4), +(1,3), +(2,2), +(3,8), +(4,2), +(5,2), +(6,15), +(9,1), +(10,2); +/*!40000 ALTER TABLE `vehicle_groups` ENABLE KEYS */; +UNLOCK TABLES; \ No newline at end of file diff --git a/SQL/1.8.9/vehicle_hitpoints.sql b/SQL/1.8.9/vehicle_hitpoints.sql new file mode 100644 index 00000000..805c0d6d --- /dev/null +++ b/SQL/1.8.9/vehicle_hitpoints.sql @@ -0,0 +1,79 @@ +-- +-- Table structure for table `vehicle_hitpoints` +-- + +DROP TABLE IF EXISTS `vehicle_hitpoints`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `vehicle_hitpoints` ( + `ID` int(11) NOT NULL, + `PartName` varchar(255) CHARACTER SET latin1 NOT NULL, + `MinDamage` double(20,10) NOT NULL DEFAULT '0.5000000000', + `MaxDamage` double(20,10) NOT NULL DEFAULT '1.0000000000', + PRIMARY KEY (`ID`,`PartName`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `vehicle_hitpoints` +-- + +LOCK TABLES `vehicle_hitpoints` WRITE; +/*!40000 ALTER TABLE `vehicle_hitpoints` DISABLE KEYS */; +INSERT INTO `vehicle_hitpoints` VALUES +(1,'palivo',0.6000000000,0.8000000000), +(1,'motor',0.6000000000,0.8000000000), +(1,'karoserie',0.6000000000,1.0000000000), +(1,'wheel_1_1_steering',0.6000000000,1.0000000000), +(1,'wheel_1_2_steering',0.6000000000,1.0000000000), +(1,'wheel_2_1_steering',0.6000000000,1.0000000000), +(1,'wheel_2_2_steering',0.6000000000,1.0000000000), +(2,'motor',0.6000000000,0.8000000000), +(3,'motor',0.6000000000,0.8000000000), +(3,'elektronika',0.6000000000,1.0000000000), +(3,'mala vrtule',0.6000000000,1.0000000000), +(3,'velka vrtule',0.6000000000,1.0000000000), +(4,'glass1',0.6000000000,1.0000000000), +(4,'glass2',0.6000000000,1.0000000000), +(4,'glass3',0.6000000000,1.0000000000), +(4,'glass4',0.6000000000,1.0000000000), +(4,'glass5',0.6000000000,1.0000000000), +(4,'NEtrup',0.6000000000,1.0000000000), +(4,'motor',0.6000000000,0.8000000000), +(4,'elektronika',0.6000000000,1.0000000000), +(4,'mala vrtule',0.6000000000,1.0000000000), +(4,'velka vrtule',0.6000000000,1.0000000000), +(4,'munice',0.6000000000,1.0000000000), +(4,'sklo predni P',0.6000000000,1.0000000000), +(4,'sklo predni L',0.6000000000,1.0000000000), +(4,'glass6',0.6000000000,1.0000000000), +(5,'glass1',0.6000000000,1.0000000000), +(5,'glass2',0.6000000000,1.0000000000), +(5,'glass3',0.6000000000,1.0000000000), +(5,'motor',0.6000000000,0.8000000000), +(5,'palivo',0.6000000000,0.8000000000), +(5,'wheel_1_1_steering',0.6000000000,1.0000000000), +(5,'wheel_1_2_steering',0.6000000000,1.0000000000), +(5,'wheel_2_1_steering',0.6000000000,1.0000000000), +(5,'wheel_2_2_steering',0.6000000000,1.0000000000), +(5,'sklo predni P',0.6000000000,1.0000000000), +(5,'sklo predni L',0.6000000000,1.0000000000), +(5,'karoserie',0.6000000000,1.0000000000), +(5,'wheel_1_4_steering',0.6000000000,1.0000000000), +(5,'wheel_2_4_steering',0.6000000000,1.0000000000), +(5,'wheel_1_3_steering',0.6000000000,1.0000000000), +(5,'wheel_2_3_steering',0.6000000000,1.0000000000), +(5,'glass4',0.6000000000,1.0000000000), +(6,'glass1',0.6000000000,1.0000000000), +(6,'glass2',0.6000000000,1.0000000000), +(6,'glass3',0.6000000000,1.0000000000), +(6,'motor',0.6000000000,0.8000000000), +(6,'palivo',0.6000000000,0.8000000000), +(6,'wheel_1_1_steering',0.6000000000,1.0000000000), +(6,'wheel_1_2_steering',0.6000000000,1.0000000000), +(6,'wheel_2_1_steering',0.6000000000,1.0000000000), +(6,'wheel_2_2_steering',0.6000000000,1.0000000000), +(6,'karoserie',0.6000000000,1.0000000000), +(6,'glass4',0.6000000000,1.0000000000); +/*!40000 ALTER TABLE `vehicle_hitpoints` ENABLE KEYS */; +UNLOCK TABLES; \ No newline at end of file diff --git a/SQL/1.8.9/vehicle_inventory.sql b/SQL/1.8.9/vehicle_inventory.sql new file mode 100644 index 00000000..1e7bfe53 --- /dev/null +++ b/SQL/1.8.9/vehicle_inventory.sql @@ -0,0 +1,332 @@ +-- +-- Table structure for table `vehicle_inventory` +-- + +DROP TABLE IF EXISTS `vehicle_inventory`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `vehicle_inventory` ( + `ID` int(11) NOT NULL, + `Type` enum('Backpack','Magazine','Weapon') CHARACTER SET latin1 NOT NULL DEFAULT 'Magazine', + `Classname` varchar(255) CHARACTER SET latin1 NOT NULL, + `MinAmount` tinyint(3) NOT NULL DEFAULT '1', + `MaxAmount` tinyint(3) NOT NULL DEFAULT '1', + `Chance` double(20,10) NOT NULL DEFAULT '1.0000000000', + PRIMARY KEY (`ID`,`Type`,`Classname`), + KEY `ObjectUID` (`ID`) USING BTREE +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `vehicle_inventory` +-- + +LOCK TABLES `vehicle_inventory` WRITE; +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* S1203_TK_CIV_EP1 - stoner */ +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (1, 'Weapon', 'MeleeBaseBallBat', 1, 1, 0.8500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (1, 'Weapon', 'MeleeBaseBallBatBarbed', 1, 1, 0.2500000000); + +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (1, 'Magazine', 'ItemTent', 1, 1, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (1, 'Magazine', 'ItemTrashToiletpaper', 1, 2, 0.8500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (1, 'Magazine', 'equip_comfreyleafs', 1, 3, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (1, 'Magazine', 'ItemKosmosSmokes', 1, 2, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (1, 'Magazine', 'equip_herb_box', 1, 1, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (1, 'Magazine', 'FoodCakeCremeCakeClean', 2, 2, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (1, 'Magazine', 'FoodChipsChocolate', 1, 2, 0.6500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (1, 'Magazine', 'FoodChipsChocolateEmpty', 1, 3, 0.6500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (1, 'Magazine', 'FoodChipsSulahoops', 2, 2, 0.6500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (1, 'Magazine', 'FoodChipsSulahoopsEmpty', 2, 2, 0.6500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (1, 'Magazine', 'FoodCandyLegacys', 2, 2, 0.6500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (1, 'Magazine', 'ItemSodaRabbit', 1, 3, 0.8500000000); + +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (1, 'Magazine', 'ItemFuelcan', 1, 2, 0.7500000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* TT650_Ins, TT650_TK_CIV_EP1 - parts */ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (2, 'Magazine', 'PartGeneric', 1, 1, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (2, 'Magazine', 'ItemSodaRabbit', 1, 1, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (2, 'Magazine', 'PartWheel', 1, 1, 0.4000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (2, 'Magazine', 'ItemFuelcanEmpty', 1, 1, 1.0000000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/*SUV_DZ - gang */ +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (3, 'Weapon', 'PDW_DZ', 1, 1, 0.1500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (3, 'Weapon', 'ItemKnife', 1, 1, 0.7500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (3, 'Weapon', 'ItemMachete', 1, 1, 0.6500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (3, 'Weapon', 'MeleeBaseBallBatNails', 1, 1, 0.6500000000); + +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (3, 'Magazine', 'PipeBomb', 1, 1, 0.1500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (3, 'Magazine', 'FoodCanFrankBeans', 1, 2, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (3, 'Magazine', 'ItemSodaRabbit', 1, 2, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (3, 'Magazine', 'FoodCanFraggleos', 1, 2, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (3, 'Magazine', '30Rnd_9x19_UZI', 2, 4, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (3, 'Magazine', 'ItemFuelcan', 1, 1, 0.2500000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* PBX - spec ops */ +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (4, 'Weapon', 'M16A4_GL_ACOG_DZ', 1, 1, 0.1000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (4, 'Magazine', 'Skin_Sniper1_DZ', 1, 1, 0.1000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (4, 'Magazine', 'Skin_Camo1_DZ', 1, 1, 0.1500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (4, 'Magazine', 'HandGrenade_west', 2, 4, 0.1500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (4, 'Magazine', 'FoodMRE', 2, 2, 0.9000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (4, 'Magazine', 'SmokeShellGreen', 1, 2, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (4, 'Magazine', 'SmokeShellRed', 1, 2, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (4, 'Magazine', 'ItemFlashlightRed', 1, 1, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (4, 'Magazine', '30Rnd_556x45_StanagSD', 2, 4, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (4, 'Magazine', 'ItemFuelcan', 1, 1, 0.4500000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* HMMWV_DZ - NATO squad */ +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (5, 'Weapon', 'L110A1_CCO_DZ', 1, 1, 0.1500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (5, 'Magazine', 'FoodMRE', 2, 3, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (5, 'Magazine', 'ItemBandage', 2, 3, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (5, 'Magazine', 'SmokeShell', 1, 1, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (5, 'Magazine', 'HandGrenade_west', 2, 2, 0.3000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (5, 'Magazine', '200Rnd_556x45_M249', 2, 2, 0.7500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (5, 'Magazine', 'ItemJerrycan', 1, 1, 0.7500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (5, 'Backpack', 'DZ_ALICE_Pack_EP1', 1, 1, 0.3500000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* BUS Ikarus_TK_CIV_EP1, Ikarus - party bus */ +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (6, 'Weapon', 'MeleeBaseBallBatBarbed', 1, 1, 0.9500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (6, 'Weapon', 'MeleeBaseBallBatNails', 1, 1, 0.9500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (6, 'Magazine', 'FoodBeefRaw', 2, 4, 0.7500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (6, 'Magazine', 'ItemSodaPeppsy', 2, 4, 0.9500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (6, 'Magazine', 'TrashJackDaniels', 2, 2, 0.9500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (6, 'Magazine', 'FoodbaconRaw', 2, 4, 0.7500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (6, 'Magazine', 'ItemTrashToiletpaper', 2, 4, 0.9500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (6, 'Magazine', 'ItemTrashRazor', 1, 1, 0.9500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (6, 'Magazine', 'equip_rag', 2, 4, 0.6500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (6, 'Magazine', 'ItemCards', 2, 4, 0.9500000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* MH6J_DZ, AH6X_DZ - sniper */ +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (7, 'Weapon', 'FNFAL_ANPVS4_DZ', 1, 1, 0.1000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (7, 'Magazine', '20Rnd_762x51_FNFAL', 4, 4, 0.7500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (7, 'Magazine', 'ItemJerrycan', 1, 1, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (7, 'Magazine', 'ItemJerrycanEmpty', 1, 1, 0.7500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (7, 'Backpack', 'DZ_Backpack_EP1', 2, 2, 0.2500000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* UAZ_Unarmed_UN_EP1 - medical*/ +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (8, 'Weapon', 'M9_DZ', 1, 1, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (8, 'Magazine', '15Rnd_9x19_M9', 2, 3, 1.0000000000); + +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (8, 'Magazine', 'ItemBandage', 2, 5, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (8, 'Magazine', 'ItemPainkiller', 2, 2, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (8, 'Magazine', 'ItemMorphine', 2, 2, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (8, 'Magazine', 'ItemEpinephrine', 2, 2, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (8, 'Magazine', 'ItemAntibiotic', 1, 1, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (8, 'Magazine', 'emptyBloodBag', 1, 1, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (8, 'Magazine', 'bloodBagONEG', 2, 2, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (8, 'Magazine', 'equip_gauzepackaged', 2, 2, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (8, 'Magazine', 'equip_gauze', 2, 2, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (8, 'Magazine', 'bloodTester', 1, 1, 0.5000000000); + +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (8, 'Backpack', 'DZ_Patrol_Pack_EP1', 1, 1, 1.0000000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* UAZ_Unarmed_TK_EP1, UAZ_Unarmed_TK_CIV_EP1, UAZ_RU - eastern weapons */ +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (9, 'Weapon', 'AK74_DZ', 1, 1, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (9, 'Magazine', 'FoodmuttonCooked', 1, 2, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (9, 'Magazine', 'ItemWaterbottleDmg', 1, 1, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (9, 'Magazine', 'HandGrenade_east', 2, 2, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (9, 'Magazine', '1Rnd_HE_GP25', 1, 2, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (9, 'Magazine', '1Rnd_SMOKE_GP25', 1, 1, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (9, 'Magazine', '30Rnd_545x39_AK', 2, 4, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (9, 'Magazine', 'ItemJerrycan', 1, 1, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (9, 'Backpack', 'DZ_Czech_Vest_Pouch', 1, 1, 0.8500000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* BAF_Offroad_D, BAF_Offroad_W */ +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (10, 'Weapon', 'SA58_Holo_DZ', 1, 1, 0.1000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (10, 'Magazine', 'FoodMRE', 1, 2, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (10, 'Magazine', 'PartWheel', 1, 1, 0.3500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (10, 'Magazine', 'HandGrenade_west', 2, 2, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (10, 'Magazine', '30Rnd_762x39_SA58', 2, 4, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (10, 'Magazine', '20Rnd_762x51_DMR', 1, 2, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (10, 'Magazine', 'ItemJerrycanEmpty', 1, 1, 0.7500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (10, 'Backpack', 'DZ_British_ACU', 1, 1, 0.3500000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* hilux1_civil_3_open(pickup), - hunter */ +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (11, 'Weapon', 'CZ550_DZ', 1, 2, 0.4500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (11, 'Weapon', 'ItemKnife', 1, 1, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (11, 'Weapon', 'ItemFishingPole', 1, 1, 0.1500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (11, 'Weapon', 'ItemHatchet', 1, 1, 0.5000000000); + +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (11, 'Magazine', 'equip_brick', 1, 1, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (11, 'Magazine', 'PartWoodPile', 1, 1, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (11, 'Magazine', 'ItemTent', 1, 1, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (11, 'Magazine', 'FoodCanFrankBeans', 1, 2, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (11, 'Magazine', 'FoodCanRusStew', 1, 2, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (11, 'Magazine', '5Rnd_17HMR', 2, 4, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (11, 'Magazine', 'ItemFuelcan', 1, 2, 0.2500000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* Pickup_PK_INS, Offroad_DSHKM_INS[50 cal pickup] */ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (12, 'Weapon', 'M4A1_DZ', 1, 2, 0.1500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (12, 'Magazine', 'HandGrenade_west', 1, 1, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (12, 'Magazine', '30Rnd_556x45_Stanag', 2, 4, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (12, 'Magazine', 'ItemJerrycanEmpty', 1, 1, 0.2500000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* UH1H_DZ,UH1H_2_DZ */ +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (13, 'Weapon', 'G36K_Camo_DZ', 1, 1, 0.2000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (13, 'Magazine', '30Rnd_556x45_G36', 2, 4, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (13, 'Magazine', '100Rnd_762x51_M240', 1, 2, 0.1500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (13, 'Magazine', 'FoodMRE', 1, 1, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (13, 'Magazine', 'TrashJackDaniels', 1, 1, 0.6500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (13, 'Magazine', 'ItemSodaRabbit', 1, 2, 0.6500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (13, 'Magazine', 'ItemJerrycan', 1, 2, 0.6500000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* PLANE AN2_DZ - parts transport */ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (14, 'Weapon', 'PKM_DZ', 1, 2, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (14, 'Magazine', 'PartFueltank', 1, 1, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (14, 'Magazine', 'PartGlass', 1, 2, 0.4000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (14, 'Magazine', 'PartWheel', 1, 2, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (80, 'Magazine', 'PartEngine', 1, 1, 0.0500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (14, 'Magazine', '100Rnd_762x54_PK', 2, 4, 1.0000000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* AN2_2_DZ - food transport */ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (15, 'Weapon', 'AK74_DZ', 1, 1, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (15, 'Weapon', 'ItemMatchbox', 1, 1, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (15, 'Magazine', '30Rnd_545x39_AK', 2, 4, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (15, 'Magazine', 'FoodgoatRaw', 2, 3, 0.4500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (15, 'Magazine', 'FoodmuttonRaw', 1, 3, 0.6500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (15, 'Magazine', 'FishRawSeaBass', 2, 3, 0.4500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (15, 'Magazine', 'FishRawTrout', 1, 2, 0.6500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (15, 'Magazine', 'FoodCanSardines', 1, 1, 0.2500000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* Fishing_Boat*/ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (16, 'Weapon', 'ItemFishingPole', 1, 1, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (16, 'Weapon', 'ItemMachete', 1, 1, 0.7500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (16, 'Weapon', 'ItemCrowbar', 1, 1, 0.7500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (16, 'Magazine', 'FishRawSeaBass', 2, 3, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (16, 'Magazine', 'FishRawTrout', 2, 3, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (16, 'Magazine', 'ItemWaterbottleDmg', 1, 1, 0.6500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (16, 'Magazine', 'equip_duct_tape', 1, 1, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (16, 'Magazine', 'ItemSodaRabbit', 1, 2, 0.6500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (16, 'Magazine', 'ItemJerrycan', 1, 1, 0.2500000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* V3S_Civ - building supplies */ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (17, 'Weapon', 'ItemShovel', 1, 1, 0.7500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (17, 'Weapon', 'ItemPickaxe', 1, 1, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (17, 'Weapon', 'ItemPickaxeBroken', 1, 1, 0.7500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (17, 'Weapon', 'ItemSledgeHammer', 1, 1, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (17, 'Weapon', 'ItemSledgeHammerBroken', 1, 1, 0.7500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (17, 'Weapon', 'ItemCrowbar', 1, 2, 0.9500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (17, 'Magazine', 'ItemStone', 2, 4, 0.6500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (17, 'Magazine', 'ItemLog', 2, 4, 0.6500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (17, 'Magazine', 'equip_nails', 2, 4, 0.7500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (17, 'Magazine', 'equip_duct_tape', 1, 2, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (17, 'Magazine', 'equip_2inch_metal_pipe', 1, 2, 0.7500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (17, 'Magazine', 'equip_rope', 1, 2, 0.4500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (17, 'Magazine', 'ItemJerrycanEmpty', 1, 2, 0.7500000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* UralCivil - random supplies */ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (18, 'Weapon', 'Bizon_DZ', 1, 1, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (18, 'Weapon', 'Makarov_DZ', 1, 2, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (18, 'Magazine', '64Rnd_9x19_Bizon', 2, 4, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (18, 'Magazine', '8Rnd_9x18_Makarov', 2, 4, 1.0000000000); + +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (18, 'Magazine', 'PartEngine', 1, 1, 0.0500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (18, 'Magazine', 'PartGeneric', 1, 2, 0.6500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (18, 'Magazine', 'FoodCanSardines', 1, 1, 0.7500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (18, 'Magazine', 'ItemSodaPeppsy', 2, 2, 0.7500000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* car_sedan, car_hatchback - kidnapping */ +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (19, 'Weapon', 'Crossbow_DZ', 1, 1, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (19, 'Magazine', 'equip_duct_tape', 1, 1, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (19, 'Magazine', 'equip_rope', 1, 1, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (19, 'Magazine', 'ItemMorphine', 1, 1, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (19, 'Magazine', 'emptyBloodBag', 1, 1, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (19, 'Magazine', 'bloodBagONEG', 1, 1, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (19, 'Magazine', 'equip_gauzepackaged', 1, 1, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (19, 'Magazine', 'ItemTrashRazor', 1, 1, 0.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (19, 'Magazine', 'equip_rag', 1, 1, 0.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (19, 'Magazine', '1Rnd_Arrow_Wood', 2, 4, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (19, 'Magazine', 'TrashJackDaniels', 1, 1, 0.6500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (19, 'Magazine', 'ItemSodaRabbit', 2, 2, 0.6500000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* Civilian Skoda, SkodaGreen, SkodaBlue, Volha_1_TK_CIV_EP1, Volha_2_TK_CIV_EP1 - the basics */ +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (20, 'Weapon', 'LeeEnfield_DZ', 1, 1, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (20, 'Weapon', 'ItemKnife', 1, 1, 0.6500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (20, 'Weapon', 'ItemMachete', 1, 1, 0.6500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (20, 'Magazine', 'ItemTrashToiletpaper', 1, 1, 0.8500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (20, 'Magazine', 'ItemSodaRabbit', 6, 6, 0.8500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (20, 'Magazine', 'FoodCanHerpyEmpty', 1, 2, 0.6500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (20, 'Magazine', '10Rnd_303British', 2, 4, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (20, 'Magazine', 'ItemFuelcan', 1, 1, 0.7500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (20, 'Backpack', 'DZ_Patrol_Pack_EP1', 1, 2, 0.4500000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* Civilian SVD ATV_US_EP1 - hunter */ +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (21, 'Weapon', 'SVD_DZ', 1, 1, 0.1500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (21, 'Weapon', 'ItemCompass', 1, 1, 0.7500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (21, 'Weapon', 'ItemHatchet', 1, 1, 0.8000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (21, 'Weapon', 'ItemFishingPole', 1, 1, 0.2500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (21, 'Magazine', 'PartWoodPile', 1, 1, 0.3500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (21, 'Magazine', 'equip_brick', 1, 1, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (21, 'Magazine', 'FoodCanFrankBeans', 1, 2, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (21, 'Magazine', '10Rnd_762x54_SVD', 2, 4, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (21, 'Magazine', 'ItemTent', 1, 1, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (21, 'Magazine', 'ItemWaterbottleBoiled', 1, 1, 0.4000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (21, 'Magazine', 'FoodCanRusStew', 1, 1, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (21, 'Magazine', 'FoodrabbitCooked', 1, 1, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (21, 'Backpack', 'DZ_Patrol_Pack_EP1', 1, 1, 0.5000000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ + +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/* Civilian tractor - farmer */ +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (22, 'Weapon', 'Remington870_DZ', 1, 1, 0.3500000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (22, 'Magazine', 'equip_feathers', 2, 4, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (22, 'Magazine', '8Rnd_12Gauge_Slug', 2, 4, 1.0000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (22, 'Magazine', '2Rnd_12Gauge_Buck', 2, 4, 0.5000000000); +INSERT INTO `vehicle_inventory` (`ID`, `Type`, `Classname`, `MinAmount`, `MaxAmount`, `Chance`) VALUES (22, 'Magazine', 'ItemWire', 1, 2, 0.6500000000); +/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------*/ +/*!40000 ALTER TABLE `vehicle_inventory` ENABLE KEYS */; +UNLOCK TABLES; diff --git a/SQL/1.8.9/vehicle_locations.sql b/SQL/1.8.9/vehicle_locations.sql new file mode 100644 index 00000000..440acbf1 --- /dev/null +++ b/SQL/1.8.9/vehicle_locations.sql @@ -0,0 +1,231 @@ +-- +-- Table structure for table `vehicle_locations` +-- + +DROP TABLE IF EXISTS `vehicle_locations`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `vehicle_locations` ( + `ID` int(11) NOT NULL, + `Worldspace` varchar(255) CHARACTER SET latin1 NOT NULL, + PRIMARY KEY (`ID`,`Worldspace`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='0 ATV\r\n1 Motorcycle\r\n2 Huey\r\n4 Mi-17\r\n3 Little bird\r\n5 AN-2\r\n6 Bike\r\n7 Military car (Landrover, HMMWV, Camo UAZs, Armed pickups)\r\n10 Civilian car (including SUV)\r\n11 Bus\r\n12 Tractor\r\n13 Truck\r\n14 Boat'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `vehicle_locations` +-- + +LOCK TABLES `vehicle_locations` WRITE; +/*!40000 ALTER TABLE `vehicle_locations` DISABLE KEYS */; +INSERT INTO `vehicle_locations` VALUES +(0,'[126,[6556.34,5621.66,0]]'), +/* (0,'[166,[8316.43,7497.42,0]]'), /* REMOVED 188 - Between Novy and Black Forest (bounces around) */ +(0,'[202,[11464.035, 11381.071,0]]'), /* 114,39 Klen */ +/* (0,'[253,[11459.299,11386.546,0]]'), /* DUPLICATE 188 - Klen */ +(0,'[284,[8854.9082,2891.5762,0]]'), +(0,'[300,[9047.57,4480.17,0]]'), +(0,'[335,[8856.8359,2893.7903,0]]'), +(0,'[337,[3312.2793,11270.755,0]]'), +(0,'[50,[3684.0366, 5999.0117,0]]'), +(0, '[29,[13002.6,5963.83,0]]'), /* NEW 188 - Radio Tower Above Solichny Quarry */ +(0, '[298,[11859,12729.6,0]]'), /* NEW 188 - Polana Quarry */ +(0, '[152,[5664.46,2974.05,-0.003]]'), /* NEW 189 - power station above cherno */ +(0, '[158,[1884.38,11696.5,-0.013]]'), /* NEW 189 - shed sw skalka */ +(1,'[151,[6592.686,2906.8245,0]]'), +/* (1,'[213,[9515.67,7222.07,0]]'), /* REMOVED 188 - North of Shakhovka (next to shed) */ +/* (1,'[291,[11945.78,9099.3633,0]]'), /* REMOVED 188 - Upper Berenzino*/ +(1,'[372,[8762.8516, 11727.877,0]]'), +(1,'[52,[8713.4893, 7103.0518,0]]'), +(1, '[72,[13163.5,7094.64,0]]'), /* NEW 188 - Solichny Factory Train Station */ +(1, '[200,[13649.1,3904.67,0]]'), /* NEW 188 - Krutoy Cap Lighthouse */ +(1, '[195,[8063.63,3270.42,0]]'), /* NEW 188 - Prig Train Station */ +(1, '[283,[2699.45,5589.65,0]]'), /* NEW 188 - Zelenegorsk North Gas Station */ +(1, '[150,[10437.6,8882.8,0]]'), /* NEW 188 - Gorka Gas Station */ +(1, '[71,[5841.03,2204.58,0.0]]'), /* NEW 189 - gas station west of cherno */ +(1, '[201,[4399.33,2315.82,0.001]]'), /* NEW 189 - Balota Train Station */ +(1, '[0,[10348.0,2220.62,0]]'), /* NEW 189 - elektro main fire station */ +(1, '[166,[2027.68,2215.42,0.001]]'), /* NEW 189 - Kamenka Train Station */ +(1, '[0,[7005.00,2805.63,0]]'), /* NEW 189 - in front of cherno apts */ +(1, '[200,[13649.1,3904.67,0.001]]'), /* NEW 189 - Krutoy Cap/Lighthouse */ +(1, '[273,[13355.1,5448.12,0.001]]'), /* NEW 189 - 3 Valleys House/Fountain */ +(1, '[161,[11959.9,3553.81,0.001]]'), /* NEW 189 - kamyshovo train station*/ +(1, '[105,[12988.6,10228.6,0.001]]'), /* NEW 189 - Berenzino BIG Train Station */ +(1, '[277,[3007.11,7465.94,0.001]]'), /* NEW 189 - South Pusthoshka Gas Station next to station */ +(1, '[150,[10437.6,8882.8,0.001]]'), /* NEW 189 - gorka gas next to station */ +(2,'[0,[9837.5,3860.2,0]]'), +(2,'[133,[4211.8789,10735.168,0]]'), +(2,'[156,[7660.271,3982.0063,0]]'), +(2,'[172,[7220.6538,9116.3428,0]]'), +(2,'[181,[10153.5,12026.8,0]]'), +(2,'[2,[12010.7,12637.2,0]]'), +(2,'[240,[4871.19,10176.2,0]]'), +(2,'[241,[4811.56,9603.77,0]]'), +(2,'[310,[6365.7402,7795.3501,0]]'), +(2,'[37,[6366.01,2774.14,0]]'), +(2,'[60,[11279.154,4296.0205,0]]'), +(2,'[62,[13307,3231.95,0]]'), +(2,'[67,[10587.8,2188.25,0]]'), +(2,'[72,[6886.53,11437.1,0]]'), +/*(2,'[75,[13614.3,3170.86,0]]'), /* DUPLICATE 188 - Skalisty Island */ +/*(2,'[80,[6887.07,11436.8,0]]'), /* DUPLICATE 188 - Devil's Castle */ +(2, '[161,[12158.4,9737.48,0]]'), /* NEW 188 - Berenzino Soccer Field */ +(2, '[1,[9609.13,13505.7,0.0]]'), /* NEW 189 - near pobeda dam */ +(3,'[0,[9837.5,3860.2,0]]'), +(3,'[133,[4211.8789,10735.168,0]]'), +(3,'[156,[7660.271,3982.0063,0]]'), +(3,'[172,[7220.6538,9116.3428,0]]'), +(3,'[181,[10153.5,12026.8,0]]'), +(3,'[2,[12010.7,12637.2,0]]'), +(3,'[240,[4871.19,10176.2,0]]'), +(3,'[241,[4811.56,9603.77,0]]'), +(3,'[258,[7209.86,6984.74,0]]'), +(3,'[278,[11162.7,2509.88,0]]'), +(3,'[310,[6365.7402,7795.3501,0]]'), +(3,'[37,[6366.01,2774.14,0]]'), +(3,'[60,[11279.154,4296.0205,0]]'), +/*(3,'[62,[13307,3231.95,0]]'), /* DUPLICATE 188 - Skalsty Island */ +(3,'[67,[10587.8,2188.25,0]]'), +(3,'[72,[6886.53,11437.1,0]]'), +(3,'[75,[13614.3,3170.86,0]]'), +/*(3,'[80,[6887.07,11436.8,0]]'), /* DUPLICATE 188 - Devil's Castle */ +(3, '[0,[11801.5,3184.63,0]]'), /* NEW 188 - Otmel Island */ +(3, '[161,[12158.4,9737.48,0]]'), /* NEW 188 - Berenzino Soccer Field */ +(3, '[100,[9852.02,10323.9,-0.04]]'), /* NEW 189 - NW of Dubrovka */ +(3, '[48,[11783.4,6488.86,-0.039]]'), /* NEW 189 - E of Dolina */ +(4,'[0,[9837.5,3860.2,0]]'), +(4,'[133,[4211.8789,10735.168,0]]'), +(4,'[156,[7660.271,3982.0063,0]]'), +(4,'[172,[7220.6538,9116.3428,0]]'), +(4,'[181,[10153.5,12026.8,0]]'), +(4,'[241,[4811.56,9603.77,0]]'), +(4,'[310,[6365.7402,7795.3501,0]]'), +(4,'[37,[6366.01,2774.14,0]]'), +(4,'[62,[13307,3231.95,0]]'), +(4,'[67,[10587.8,2188.25,0]]'), +(4,'[72,[6886.53,11437.1,0]]'), +(4,'[75,[13614.3,3170.86,0]]'), +(4,'[80,[6887.07,11436.8,0]]'), +(5,'[240,[4586.84,10684.6,0]]'), +(5,'[252,[4530.52,10785.1,0]]'), +(5,'[32,[12492,12515,0]]'), +(5, '[2,[12059.0,12621.6,0]]'), /* NEW 188 - NEAF Hangar East*/ +(6,'[140,[12681.2,9467.42,0]]'), +(6,'[155,[12158.999,3468.7563,0]]'), +/*(6,'[155,[8680.75,2445.5315,0]]'), /* DUPLICATE 188 - Road Near Cap Golova */ +(6,'[179,[3474.3989, 2562.4915,0]]'), +(6,'[191,[2782.7134,5285.5342,0]]'), +(6,'[201,[8070.6958, 3358.7793,0]]'), +(6,'[23,[3203.0916, 3988.6379,0]]'), +(6,'[236,[1773.9318,2351.6221,0]]'), +(6,'[236,[3699.9189,2474.2119,0]]'), +(6,'[250,[11984.01,3835.9231,0]]'), +/*(6,'[255,[10153.068,2219.3547,0]]'), /* REMOVED 188 - Field Above Elektro */ +(6,'[316,[7943.5068,6988.1763,0]]'), +(6,'[322,[3097.96,7812.64,0]]'), +/*(6,'[35,[8345.7227, 2482.6855,0]]'), /* DUPLICATE 188 - Cap Golova */ +/*(6,'[50,[8040.6777, 7086.5356,0]]'), /* REMOVED 188 - Road NW of Guglova*/ +(6,'[73,[8350.0947, 2480.542,0]]'), +(6,'[181,[13360.3,6193.11,0]]'), /* NEW 188 - Quarry Train Station */ +(6,'[269,[3670.54,2406.9,0.0]]'), /*NEW 188 - Kamarova Train Station */ +(7,'[12,[4662.13,10436,0]]'), +(7,'[141,[11953.279,9107.3896,0]]'), +(7,'[157,[12235.8,9729.92,0]]'), +(7,'[157,[3693.0386, 5969.1489,0]]'), +(7,'[183,[4752.58,2535.77,0]]'), +(7,'[191,[4625.61,9675.62,0]]'), +(7,'[203,[3696.23,6013.07,0]]'), +(7,'[216,[4765.67,10260.7,0]]'), +(7,'[249,[11823.4,12691.1,0]]'), +(7,'[272,[6303.11,7833.36,0]]'), +(7,'[317,[3770.08,10237,0]]'), +(7,'[337,[6344.92,7772.4,0]]'), +(7,'[39,[12143.2,12611.2,0]]'), +(7,'[58,[3702.54,10182.1,0]]'), +(7,'[49,[1748.86,11738,5.188e-04]]'), /* NEW 189 - SW skalka secret base*/ +(7,'[304,[11702,3427.84,-4.735e-04]]'),/* NEW 189 - kamyshovo roadblock */ +(10,'[0,[6279.4966, 7810.3691,0]]'), +(10,'[106,[5265.94,5492.29,0]]'), +(10,'[116,[13343.8,12919,0]]'), +(10,'[124,[11309.963, 6646.3989,0]]'), +(10,'[133,[8310.9902, 3348.3579,0]]'), +(10,'[137,[2159.68,7907.71,0]]'), +(10,'[160,[11940.6,8868.87,0]]'), +(10,'[19,[10828.8,2703.23,0]]'), +(10,'[19,[11066.828,7915.2275,0]]'), +(10,'[194,[9727.78,8932.72,0]]'), +(10,'[207,[1740.8503,3622.6938,0]]'), +/*(10,'[222,[5165.7231,2375.7642,0]]'), /* REMOVED 188 - Behind Balota Warehouses*/ +/*(10,'[223,[4817.6572, 2556.5034,0]]'), /* REMOVED 188 - Behind Balota Hangars */ +/*(10,'[223,[6288.416, 7834.3521,0]]'), /* REMOVED 188 - Stary */ +(10,'[226,[1975.1283, 9150.0195,0]]'), +(10,'[228,[12355.3,10821.6,0]]'), +(10,'[229,[6914.04,2487.6,0]]'), +(10,'[241,[2614.0862,5079.6357,0]]'), +(10,'[266,[9157.8408,11019.819,0]]'), +(10,'[274,[11604.3,10636.8,0]]'), +(10,'[291,[8125.36,3167.17,0]]'), +(10,'[298,[9076.47,8016.35,0]]'), +(10,'[316,[7427.61,5155.17,0]]'), +(10,'[324,[13388,6603.21,0]]'), +(10,'[336,[7006.14,7717.57,0]]'), +(10,'[337,[8120.3057,9305.4912,0]]'), +(10,'[337,[9715.0352,6522.8286,0]]'), +(10,'[339,[11243.3,5376.82,0]]'), +(10,'[344,[2045.3989,7267.4165,0]]'), +(10,'[352,[12058.555,3577.8667,0]]'), +(10,'[353,[12869.565,4450.4077,0]]'), +(10,'[363,[5337.62,8656.55,0]]'), +(10, '[189,[12997.9,10072.8,0]]'), /* NEW 188 - Berenzino Gas Station */ +(10, '[11,[3000.37,7470.73,0]]'), /* NEW 188 - South Pusthoshka Gas Station */ +(10, '[181,[9447.17,8778.15,0]]'), /* NEW 188 - Gorka Garage */ +(10, '[33,[9930.09,10372,0.006]]'), /* NEW 189 - NW of dubrovka */ +(10, '[45,[2879.83,9706.21,-0.003]]'), /* NEW 189 - near red barn lopatino */ +(10, '[267,[3899.65,3573.4,0.059]]'), /* NEW 189 - red house east of Bor */ +(10, '[275,[9986.22,1876.52,0.001]]'), /* NEW 189 - Sheds on West side of Elektro */ +(10, '[1,[12636,5720.63,0.003]]'), /* NEW 189 - 3 valleys */ +(10, '[8,[2681.09,5603.85,-0.011]]'), /* NEW 189 - Zelenegorsk North Gas Station */ +(10, '[273,[4050.96,3321.29,0.001]]'), /* NEW 189 - above kamarova, end of driveway */ +(10, '[249,[5851.2,4728.07,-0.004]]'), /* NEW 189 - nadezhdino red house */ +(11,'[230,[3762.5764,8736.1709,0]]'), +(11,'[245,[4580.3203,4515.9282,0]]'), +(11,'[279,[10628.433,8037.8188,0]]'), +(11,'[333,[6040.0923,7806.5439,0]]'), +(11,'[59,[6705.8887, 2991.9358,0]]'), +(11,'[76,[10314.745, 2147.5374,0]]'), +(11, '[27,[12906.5,10084.8,0]]'), /* NEW 188 - NE Berenzino */ +(11, '[15,[3049.93,7979.65,-3.052e-05]'), /* NEW 189 - pushtoshka grocery */ +(11, '[243,[4513.57,6420.54,0.018]]'), /* NEW 189 - pogorevka */ +(12,'[19,[11246.52, 7534.7954,0]]'), +(12,'[195,[9681.8213,8947.2354,0]]'), +(12,'[220,[3083.52,9202.18,0]]'), +(12,'[262,[3825.1318,8941.4873,0]]'), +(12,'[95,[1690.58,5095.92,0]]'), +(12, '[109,[13140.8,10422.2,0]]'), /* NEW 188 - Berenzino Factory */ +(12, '[88,[11433.7,12234.2,0]]'), /* NEW 188 - Krasnostov Shed */ +(12, '[287,[8859.05,11657.7,0]]'), /* NEW 188 - Govodzno next to long barn */ +(12, '[320,[4641.08,6795.47,0.005]]'), /* NEW 189 - Rogovo next to long barn */ +(12, '[3,[3296.81,4918.27,-9.766e-04]]'), /* NEW 189 - Drozhino next to barn */ +(13,'[178,[13276.482, 6098.4463,0]]'), +(13,'[338,[1890.9952,12417.333,0]]'), +(13, '[245,[13056.4,7068.25,1.907]]'), /* NEW 188 - Solichny Factory */ +(13, '[359,[4140.46,8931.9,0.001]]'), /* NEW 188 - Vybor Factory Gate */ +(13, '[304,[10694.9,7952.77,1.5]]'), /* NEW 188 - Under Canopy in Polana */ +(13, '[10,[12747.7,9660.6,2.003]]'), /* NEW 189 - Berenzino Lumber Mill */ +(13, '[281,[7635.71,5194.12,0]]'), /* NEW 189 - under canopy west mogalevka */ +(13, '[42,[12737.3,12279.9,0.001]]'), /* NEW 189 - neaf cement factory */ +(14,'[245,[14417.589,12886.104,0]]'), +(14,'[268,[13098.13, 8250.8828,0]]'), +(14,'[315,[13222.181,10015.431,0]]'), +(14,'[315,[8317.2676,2348.6055,0]]'), +(14,'[55,[13454.882, 13731.796,0]]'), +(14, '[0,[11706.5,3131.63,0]]'), /* NEW 188 - Otmel Island */ +(14, '[0,[3610.00,2044.63,0]]'), /* NEW 188 - End of Kamarova Dock */ +(14, '[0,[1314.00,2249.25,0]]'), /* NEW 188 - Cove West of Kamenka */ +(14, '[28,[13570.2,6320.12,4.023]]'), /* NEW 189 - Solichny */ +(14, '[28,[10410.1,1788.2,3.737]]'), /* NEW 189 - Elektro SE */ +(14, '[88,[7975.11,2888.22,0.932]]'), /* NEW 189 - Chyornaya Bay */ +(14, '[81,[299.728,1534.76,0.282]]'), /* NEW 189 - West of Kamenka */ +(14, '[0,[13417.3,2856.22,0.908]]'); /* NEW 189 - Skalisty */ +/*!40000 ALTER TABLE `vehicle_locations` ENABLE KEYS */; +UNLOCK TABLES; diff --git a/SQL/1.8.9/vehicle_spawns.sql b/SQL/1.8.9/vehicle_spawns.sql new file mode 100644 index 00000000..536725e9 --- /dev/null +++ b/SQL/1.8.9/vehicle_spawns.sql @@ -0,0 +1,90 @@ +-- +-- Table structure for table `vehicle_spawns` +-- + +DROP TABLE IF EXISTS `vehicle_spawns`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `vehicle_spawns` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `Classname` varchar(255) NOT NULL, + `Chance` double NOT NULL, + `MaxNum` int(11) NOT NULL DEFAULT '1', + `Location` int(11) NOT NULL, + `Inventory` int(11) DEFAULT NULL, + `Hitpoints` int(11) DEFAULT NULL, + `MinDamage` double NOT NULL, + `MaxDamage` double NOT NULL, + `MinFuel` double NOT NULL, + `MaxFuel` double NOT NULL, + `MaxWeapons` int(11) NOT NULL, + `MaxMagazines` int(11) NOT NULL, + `MaxBackpacks` int(11) NOT NULL, + `CleanupTime` int(11) NOT NULL, + PRIMARY KEY (`ID`), + UNIQUE KEY `Classname` (`Classname`) USING HASH +) ENGINE=MyISAM AUTO_INCREMENT=39 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `vehicle_spawns` +-- + +LOCK TABLES `vehicle_spawns` WRITE; +/*!40000 ALTER TABLE `vehicle_spawns` DISABLE KEYS */; +INSERT INTO `vehicle_spawns` (`ID`, `Classname`, `Chance`, `MaxNum`, `Location`, `Inventory`, `Hitpoints`, `MinDamage`, `MaxDamage`, `MinFuel`, `MaxFuel`, `MaxWeapons`, `MaxMagazines`, `MaxBackpacks`, `CleanupTime`) VALUES +(1, 'UAZ_Unarmed_TK_EP1', 0.7, 2, 7, 9, 1, 0.2, 0.8, 0, 0.8, 10, 50, 8, 300), +(2, 'UAZ_Unarmed_UN_EP1', 0.59, 2, 10, 8, 1, 0.2, 0.8, 0, 0.8, 10, 50, 8, 300), +(3, 'UAZ_RU', 0.59, 1, 7, 9, 1, 0.2, 0.8, 0, 0.8, 10, 50, 8, 300), +(4, 'UAZ_Unarmed_TK_CIV_EP1', 0.59, 3, 10, 9, 1, 0.2, 0.8, 0, 0.8, 10, 50, 8, 300), +(5, 'SkodaBlue', 0.68, 2, 10, 20, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 300), +(6, 'Skoda', 0.68, 2, 10, 20, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 300), +(7, 'SkodaGreen', 0.68, 2, 10, 20, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 300), +(8, 'ATV_US_EP1', 0.7, 6, 0, 21, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 120), +(9, 'TT650_Ins', 0.72, 1, 1, 2, 2, 0.2, 0.8, 0, 0.8, 0, 5, 0, 120), +(10, 'TT650_TK_CIV_EP1', 0.72, 3, 1, 2, 2, 0.2, 0.8, 0, 0.8, 0, 5, 0, 120), +(11, 'Old_bike_TK_CIV_EP1', 0.64, 8, 6, NULL, NULL, 0.2, 0.8, 0, 0, 0, 0, 0, 60), +(12, 'hilux1_civil_3_open', 0.59, 3, 10, 11, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 300), +(13, 'Ikarus', 0.59, 2, 11, 6, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 180), +(14, 'Ikarus_TK_CIV_EP1', 0.59, 2, 11, 6, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 180), +(15, 'Tractor', 0.7, 3, 12, 22, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 60), +(16, 'S1203_TK_CIV_EP1', 0.69, 2, 10, 1, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 300), +(17, 'V3S_Civ', 0.66, 2, 13, 17, 1, 0.2, 0.8, 0, 0.8, 50, 200, 8, 300), +(18, 'UralCivil', 0.59, 2, 13, 18, 1, 0.2, 0.8, 0, 0.8, 50, 200, 8, 300), +(19, 'car_hatchback', 0.73, 2, 10, 19, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 300), +(20, 'Fishing_Boat', 0.61, 1, 14, 16, 2, 0.2, 0.8, 0, 0.8, 40, 400, 8, 300), +(21, 'PBX', 0.59, 1, 14, 4, 2, 0.2, 0.8, 0, 0.8, 5, 50, 2, 300), +(22, 'Smallboat_1', 0.59, 2, 14, 16, 2, 0.2, 0.8, 0, 0.8, 20, 200, 4, 300), +(23, 'Volha_1_TK_CIV_EP1', 0.71, 3, 10, 20, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 300), +(24, 'Volha_2_TK_CIV_EP1', 0.71, 3, 10, 20, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 300), +(25, 'SUV_DZ', 0.59, 1, 10, 3, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 300), +(26, 'car_sedan', 0.59, 2, 10, 19, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 300), +(27, 'UH1H_DZ', 0.59, 2, 2, 13, 3, 0.2, 0.8, 0, 0.8, 5, 25, 4, 900), +(28, 'AH6X_DZ', 0.48, 3, 3, 7, 4, 0.2, 0.8, 0, 0.8, 3, 30, 2, 900), +(29, 'AN2_DZ', 0.6, 1, 5, 14, NULL, 0, 0, 0.1, 0.4, 10, 80, 15, 900), +(30, 'BAF_Offroad_D', 0.54, 2, 7, 10, 5, 0.2, 0.8, 0, 0.8, 10, 90, 2, 300), +(31, 'BAF_Offroad_W', 0.54, 2, 7, 10, 5, 0.2, 0.8, 0, 0.8, 10, 90, 2, 300), +(32, 'MH6J_DZ', 0.48, 2, 3, 7, 3, 0.2, 0.8, 0, 0.8, 3, 30, 2, 900), +(33, 'HMMWV_DZ', 0.21, 2, 7, 5, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 300), +(34, 'Pickup_PK_INS', 0.1, 2, 7, 12, 6, 0.2, 0.8, 0, 0.8, 10, 50, 2, 300), +(35, 'Offroad_DSHKM_INS', 0.07, 1, 7, 12, 6, 0.2, 0.8, 0, 0.8, 10, 50, 2, 300), +(36, 'AN2_2_DZ', 1, 1, 5, 15, NULL, 0, 0, 0.1, 0.4, 10, 80, 15, 900), +(37, 'UH1H_2_DZ', 0.3, 1, 2, 13, 3, 0.2, 0.8, 0, 0.8, 5, 25, 4, 900), +(38, 'M1030', 0.72, 1, 1, 2, 2, 0.2, 0.8, 0, 0.8, 0, 5, 0, 120), +(39, 'Old_moto_TK_Civ_EP1', 0.72, 1, 1, 2, 2, 0.2, 0.8, 0, 0.8, 0, 5, 0, 120), +(40, 'UralCivil2', 0.66, 2, 13, 17, 1, 0.2, 0.8, 0, 0.8, 50, 200, 8, 300), +(41, 'Ural_TK_CIV_EP1', 0.66, 2, 13, 17, 1, 0.2, 0.8, 0, 0.8, 50, 200, 8, 300), +(42, 'Ural_CDF', 0.66, 2, 13, 17, 1, 0.2, 0.8, 0, 0.8, 50, 200, 8, 300), +(43, 'Ural_INS', 0.66, 2, 13, 17, 1, 0.2, 0.8, 0, 0.8, 50, 200, 8, 300), +(44, 'UralOpen_INS', 0.66, 2, 13, 17, 1, 0.2, 0.8, 0, 0.8, 50, 200, 8, 300), +(45, 'LandRover_TK_CIV_EP1', 0.54, 2, 7, 10, 5, 0.2, 0.8, 0, 0.8, 10, 90, 2, 300), +(46, 'LandRover_CZ_EP1', 0.54, 2, 7, 10, 5, 0.2, 0.8, 0, 0.8, 10, 90, 2, 300), +(47, 'datsun1_civil_2_covered', 0.59, 2, 10, 19, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 300), +(48, 'datsun1_civil_3_open', 0.59, 2, 10, 19, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 300), +(49, 'hilux1_civil_1_open', 0.59, 2, 10, 19, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 300), +(50, 'hilux1_civil_2_covered', 0.59, 2, 10, 19, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 300), +(51, 'VolhaLimo_TK_CIV_EP1', 0.59, 2, 10, 19, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 300), +(52, 'ladalm', 0.59, 2, 10, 19, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 300), +(53, 'lada2', 0.59, 2, 10, 19, 1, 0.2, 0.8, 0, 0.8, 10, 50, 2, 300); +/*!40000 ALTER TABLE `vehicle_spawns` ENABLE KEYS */; +UNLOCK TABLES; diff --git a/SQL/1.8.9/vehicle_spawns_groups.sql b/SQL/1.8.9/vehicle_spawns_groups.sql new file mode 100644 index 00000000..0430c51d --- /dev/null +++ b/SQL/1.8.9/vehicle_spawns_groups.sql @@ -0,0 +1,52 @@ +-- +-- Table structure for table `vehicle_spawns_groups` +-- + +DROP TABLE IF EXISTS `vehicle_spawns_groups`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `vehicle_spawns_groups` ( + `Spawn_ID` int(11) NOT NULL, + `Group_ID` int(11) NOT NULL, + PRIMARY KEY (`Spawn_ID`,`Group_ID`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `vehicle_spawns_groups` +-- + +LOCK TABLES `vehicle_spawns_groups` WRITE; +/*!40000 ALTER TABLE `vehicle_spawns_groups` DISABLE KEYS */; +INSERT INTO `vehicle_spawns_groups` VALUES +(2,6), +(4,6), +(5,6), +(6,6), +(7,6), +(12,6), +(13,5), +(14,5), +(16,6), +(17,4), +(18,4), +(19,6), +(23,6), +(24,6), +(26,6), +(27,0), +(27,10), +(28,0), +(29,0), +(30,9), +(31,1), +(32,1), +(33,0), +(34,1), +(35,2), +(36,2), +(37,9), +(38,0), +(38,10); +/*!40000 ALTER TABLE `vehicle_spawns_groups` ENABLE KEYS */; +UNLOCK TABLES; \ No newline at end of file