266 Commits

Author SHA1 Message Date
vbawol
740f4144f1 Merge pull request #1534 from raymix/master
updated stringtable compatibility with modular build
2014-08-18 00:59:52 -05:00
raymix
1c4be9a043 Merge remote-tracking branch 'upstream/master' 2014-08-18 04:08:14 +01:00
raymix
34a2d03163 compatibility for issue 1526 45m plotpole 2014-08-18 04:03:11 +01:00
vbawol
2542d94c21 Merge pull request #1531 from McKeighan/patch-10
Update UAZ.hpp
2014-08-17 14:04:00 -05:00
vbawol
a8a0e0ca5c Merge pull request #1532 from McKeighan/patch-11
Update Volha.hpp
2014-08-17 14:03:31 -05:00
vbawol
fe5af9425a Merge pull request #1526 from Mikeeeyy/patch-4
Update cannot build plot pole within 45m.
2014-08-17 14:02:09 -05:00
vbawol
ac07359c80 Merge pull request #1525 from Mikeeeyy/patch-3
Update cannot build plot pole within 45m.
2014-08-17 14:02:03 -05:00
McKeighan
1bdd96cd88 Update Volha.hpp
added armor damage resistance on upgrade.
2014-08-15 13:39:06 -04:00
McKeighan
5bb15f0c66 Update UAZ.hpp
Armor of only 50 on the upgrade seemed light since it's baseline is 40. The normal ratio of armor increase is X 2.5, so this has been applied to the 40.  (results in 100 armor).  Added damage resistance to the armor to increase it's effectiveness.
2014-08-15 13:36:47 -04:00
vbawol
a6f55498b7 Merge pull request #1528 from raymix/master
modular build code optimization + some extras
2014-08-15 01:52:04 -05:00
raymix
c66b229a96 modular build code optimization + some extras 2014-08-15 05:40:26 +01:00
Mikeeeyy
49fe5f4846 Update cannot build plot pole within 45m.
Updates the cannot build plot pole within 45m message to use the DZE_PlotPole variable.
2014-08-15 00:10:24 +01:00
Mikeeeyy
5ae7f920dd Update cannot build plot pole within 45m.
Updates the cannot build plot pole within 45m message to use the DZE_PlotPole variable.
2014-08-15 00:08:21 +01:00
vbawol
59124e6eef Merge pull request #1523 from Legodev/master
added Items for a simple Plantingsystem
2014-08-14 12:20:58 -05:00
vbawol
8192dd7b50 Merge pull request #1519 from McKeighan/patch-7
Update Offroad_DSHKM.hpp
2014-08-14 12:09:57 -05:00
vbawol
8bd438f4c6 Merge pull request #1515 from McKeighan/patch-3
Update AH6.hpp
2014-08-14 12:08:06 -05:00
vbawol
ba6a5c7dc1 Merge pull request #1513 from McKeighan/patch-1
Update cfgVehicles.hpp
2014-08-14 12:06:59 -05:00
vbawol
c7b400f36a Merge pull request #1524 from Mikeeeyy/patch-2
Fix Maintain Area/Preview not disappearing
2014-08-14 12:06:31 -05:00
vbawol
d8841474c6 Merge pull request #1521 from SJossy/patch-3
Update fn_damageActions.sqf
2014-08-14 12:05:27 -05:00
vbawol
ef0a157eb2 Merge pull request #1512 from raymix/master
minor range adjustments
2014-08-14 12:01:52 -05:00
vbawol
a0372bc88d Merge pull request #1509 from SJossy/patch-2
Update server_functions.sqf
2014-08-14 12:01:34 -05:00
Mikeeeyy
3e42af0bb4 Fix Maintain Area/Preview not disappearing
When players would look at a plot pole, they would get the maintain/preview option and if they looked away they would still have it.
2014-08-13 14:10:43 +01:00
Legodev
688c1f15b6 added Items for a simple Plantingsystem 2014-08-13 00:18:35 +02:00
vbawol
ca37210345 Merge pull request #1511 from Markokil321/patch-5
Update player_goFishing.sqf
2014-08-10 23:47:49 -05:00
vbawol
29adecc2e9 Merge pull request #1510 from Markokil321/patch-4
Add "Cannot fish while in combat"  text
2014-08-10 23:47:36 -05:00
vbawol
db15170622 Merge pull request #1508 from Uro1/master
Dynamic_vehicle & Traders spawning non-upgradable classes of hilux1 & datsun1 vehicles
2014-08-10 23:47:13 -05:00
vbawol
95676f0db7 Merge pull request #1507 from Beefheart/patch-1
Update Lada.hpp
2014-08-10 23:41:41 -05:00
Steven
04ee8578ff Update fn_damageActions.sqf
Bikes can currently be unlimited siphon sources
2014-08-11 12:09:15 +08:00
McKeighan
06b7eca2c8 Update Offroad_DSHKM.hpp
Drop in the segments that actually ALLOWS the player to upgrade to the different variants.
2014-08-10 13:09:16 -04:00
McKeighan
a79a86889d Update AH6.hpp 2014-08-09 13:40:23 -04:00
McKeighan
18d283428b Update cfgVehicles.hpp
Added definition for class TANK.

This will make vehicles like the M113 much easier to correct in future roll outs as currently many of them have turret issues.
2014-08-09 13:17:07 -04:00
raymix
14ebc32bd4 minor range adjustments 2014-08-09 14:21:21 +01:00
Marko
64d9be9169 Update player_goFishing.sqf
Added better message when trying to fish while in combat, to avoid confusion.
2014-08-09 11:41:43 +02:00
Marko
f2145b6b8d Add "Cannot fish ehile in combat" text
To avoid confusion when players try to fish while in combat, google translate was used, so excuse any wonky translations.
2014-08-09 11:38:36 +02:00
Steven
29c9f979df Update server_functions.sqf
Cut & paste casualty
2014-08-09 11:26:18 +08:00
Uro1
7dd6aac669 Typo 2014-08-08 21:26:27 +01:00
Uro1
589bf3eaa1 Update changlog 2014-08-08 21:24:43 +01:00
Uro1
2573bd184c Server & Traders spawning non-upgradable vehicles
Server and Traders spawning non-upgradable hilux1 & datsun1 variants
2014-08-08 21:18:48 +01:00
Beefheart
b1764bff8e Update Lada.hpp
fixed some copy-paste errors
2014-08-08 21:50:19 +02:00
Uro1
504503a46e Merge pull request #10 from vbawol/master
merge from epoch master
2014-08-08 20:19:22 +01:00
vbawol
2bd68a04f6 Merge pull request #1506 from raymix/master
bug fix & adjustable snap range
2014-08-08 12:19:48 -05:00
raymix
176c0372b4 bug fix & adjustable snap range 2014-08-08 13:30:25 +01:00
vbawol
ff706fde43 Merge pull request #1505 from raymix/master
function based player_build
2014-08-07 11:19:18 -05:00
raymix
73470f1e90 modular player_build 2014-08-07 13:22:09 +01:00
raymix
361ab3a3e5 function based player_build 2014-08-07 13:03:14 +01:00
vbawol
676bb91122 Merge pull request #1501 from infiSTAR/patch-1
delete promptRName.sqf
2014-08-05 17:56:13 -05:00
infiSTAR.de
d4f978e461 delete promptRName.sqf
Delete promptRName.sqf - only used for hacks and not the mod anymore
2014-08-05 19:42:40 +02:00
Skaronator.com
dd582d28ec Merge pull request #1496 from ebaydayz/patch-1
Update CHANGE LOG 1.0.5.2.txt
2014-08-02 16:46:18 +02:00
ebaydayz
12400b1a2b Update CHANGE LOG 1.0.5.2.txt 2014-08-01 14:58:20 -04:00
ebaydayz
e52790d8fb Update CHANGE LOG 1.0.5.2.txt 2014-08-01 14:56:41 -04:00
ebaydayz
a5e0f665e9 Update CHANGE LOG 1.0.5.2.txt 2014-08-01 13:56:49 -04:00
Skaronator.com
1fb0e07ebd Merge pull request #1490 from Namindu/patch-30
Update CHANGE LOG 1.0.5.2.txt
2014-07-31 23:36:27 +02:00
Skaronator.com
b8e07f3cc2 Merge pull request #1495 from ebaydayz/patch-5
Change count back to forEach
2014-07-31 22:34:16 +02:00
Skaronator.com
29c2b09175 Merge pull request #1494 from ebaydayz/patch-4
Change count back to forEach
2014-07-31 22:34:13 +02:00
Skaronator.com
923b2833c9 Merge pull request #1493 from ebaydayz/patch-3
Change count back to forEach
2014-07-31 22:34:09 +02:00
Skaronator.com
743ddf5b6b Merge pull request #1492 from ebaydayz/patch-2
Change count back to forEach
2014-07-31 22:34:02 +02:00
Skaronator.com
5603413f6e Merge pull request #1489 from Namindu/patch-14
Updated Steam Ports
2014-07-31 20:02:38 +02:00
Skaronator.com
1548ee19a6 Merge pull request #1488 from Namindu/patch-15
Updated Steam Ports
2014-07-31 20:02:27 +02:00
Skaronator.com
15f12c4861 Merge pull request #1487 from Namindu/patch-29
Updated Steam Ports
2014-07-31 20:02:23 +02:00
Skaronator.com
13bd5c554a Merge pull request #1486 from Namindu/patch-28
Updated Steam Ports
2014-07-31 20:02:21 +02:00
Skaronator.com
ee0a6b8bca Merge pull request #1485 from Namindu/patch-27
Updated Steam Ports
2014-07-31 20:02:18 +02:00
Skaronator.com
c0c8e0ecc0 Merge pull request #1484 from Namindu/patch-26
Updated Steam Ports
2014-07-31 20:02:15 +02:00
Skaronator.com
6ca0550a2a Merge pull request #1483 from Namindu/patch-25
Updated Steam Ports
2014-07-31 20:02:13 +02:00
Skaronator.com
9628b8845f Merge pull request #1482 from Namindu/patch-24
Updated Steam Ports
2014-07-31 20:02:10 +02:00
Skaronator.com
c63a7d5cb4 Merge pull request #1481 from Namindu/patch-23
Updated Steam Ports
2014-07-31 20:01:34 +02:00
Skaronator.com
25e461df99 Merge pull request #1480 from Namindu/patch-22
Updated Steam Ports
2014-07-31 20:01:30 +02:00
Skaronator.com
6eff337579 Merge pull request #1479 from Namindu/patch-21
Updated Steam Ports
2014-07-31 20:01:27 +02:00
Skaronator.com
6b4935669d Merge pull request #1478 from Namindu/patch-20
Updated Steam Ports
2014-07-31 20:01:22 +02:00
Skaronator.com
8250dcbec2 Merge pull request #1477 from Namindu/patch-19
Updated Steam Ports
2014-07-31 20:01:15 +02:00
Skaronator.com
ee179e1fc4 Merge pull request #1476 from Namindu/patch-18
Updated Steam Ports
2014-07-31 20:01:12 +02:00
Skaronator.com
a6d51c7e63 Merge pull request #1475 from Namindu/patch-17
Updated Steam Ports
2014-07-31 20:01:07 +02:00
Skaronator.com
0b2436fbb5 Merge pull request #1474 from Namindu/patch-16
Updated Steam Ports
2014-07-31 20:01:03 +02:00
Skaronator.com
1ab7f14a87 Merge pull request #1473 from Namindu/patch-13
Updated Steam Ports
2014-07-31 20:00:59 +02:00
Skaronator.com
1592885121 Merge pull request #1472 from Namindu/patch-12
Updated Steam Ports
2014-07-31 20:00:51 +02:00
ebaydayz
6d1d4c998a Change count back to forEach
Can not nest count loops inside other count loops:
https://community.bistudio.com/wiki/Code_Optimisation#forEach_vs_count
2014-07-31 14:00:50 -04:00
Skaronator.com
ceae17af98 Merge pull request #1471 from Namindu/patch-10
Updated Steam Ports
2014-07-31 20:00:39 +02:00
ebaydayz
d19001d87b Change count back to forEach
Can not nest count loops inside other count loops:
https://community.bistudio.com/wiki/Code_Optimisation#forEach_vs_count
2014-07-31 13:45:26 -04:00
ebaydayz
445556ff12 Change count back to forEach
Can not nest count loops inside other count loops:
https://community.bistudio.com/wiki/Code_Optimisation#forEach_vs_count
2014-07-31 13:41:02 -04:00
ebaydayz
81729c26f4 Change count back to forEach
Can not nest count loops inside other count loops:
https://community.bistudio.com/wiki/Code_Optimisation#forEach_vs_count
2014-07-31 13:33:51 -04:00
vbawol
573bacdfc3 Merge pull request #1491 from ebaydayz/patch-1
Change count back to forEach
2014-07-31 12:23:20 -05:00
ebaydayz
0111a8f580 Change count back to forEach
You can not nest count loops inside other count loops:
https://community.bistudio.com/wiki/Code_Optimisation#forEach_vs_count
2014-07-31 13:14:10 -04:00
Namindu
d4028a8b88 Update CHANGE LOG 1.0.5.2.txt 2014-07-30 16:23:50 -07:00
Namindu
18d76b13c6 Updated Steam Ports 2014-07-30 16:07:22 -07:00
Namindu
e302195c43 Updated Steam Ports 2014-07-30 16:06:58 -07:00
Namindu
b77d959572 Updated Steam Ports 2014-07-30 16:06:35 -07:00
Namindu
5ca6aab0c8 Updated Steam Ports 2014-07-30 16:06:12 -07:00
Namindu
a624c81653 Updated Steam Ports 2014-07-30 16:05:51 -07:00
Namindu
b6d8a8b686 Updated Steam Ports 2014-07-30 16:05:21 -07:00
Namindu
f0d041a8b3 Updated Steam Ports 2014-07-30 16:04:52 -07:00
Namindu
47ec14e9fa Updated Steam Ports 2014-07-30 16:04:24 -07:00
Namindu
329147da65 Updated Steam Ports 2014-07-30 16:03:56 -07:00
Namindu
c8ec9f545b Updated Steam Ports 2014-07-30 16:03:31 -07:00
Namindu
a340b10084 Updated Steam Ports 2014-07-30 16:03:08 -07:00
Namindu
427b9efd0f Updated Steam Ports 2014-07-30 16:02:43 -07:00
Namindu
ed42233c92 Update config.cfg 2014-07-30 16:01:51 -07:00
Namindu
383ec9a70d Updated Steam Ports 2014-07-30 16:01:32 -07:00
Namindu
640a496316 Updated Steam Ports 2014-07-30 16:01:12 -07:00
Namindu
05bfcd9299 Updated Steam Ports 2014-07-30 16:00:51 -07:00
Namindu
de538db0a4 Updated Steam Ports 2014-07-30 16:00:16 -07:00
Namindu
0ff822200a Updated Steam Ports 2014-07-30 15:59:48 -07:00
Namindu
c464d17c76 Updated Steam Ports 2014-07-30 15:51:18 -07:00
vbawol
3bc4909c6f Merge pull request #1468 from ebaydayz/patch-1
Update CHANGE LOG 1.0.5.2.txt
2014-07-29 15:00:07 -05:00
ebaydayz
94aaf929f2 Update CHANGE LOG 1.0.5.2.txt 2014-07-29 15:58:38 -04:00
vbawol
f63ad88dbd Merge pull request #1467 from ebaydayz/patch-2
Change count back to forEach - fix empty safes
2014-07-29 14:57:54 -05:00
ebaydayz
0d5d0b9b8e Change count back to forEach - fix empty safes
See Kronzky's note:
https://community.bistudio.com/wiki/count

You can only use count to iterate through an array if all elements in the array are of the same data type. In this case you have an array with strings (type), arrays (worldspace, inventory, hitpoints) and numbers (fuel, ownerID). You need to use forEach instead. 

This error explains the problem people were having with safe inventories being empty when they open them after a restart:
http://epochmod.com/forum/index.php?/topic/13423-safe-is-empty-after-restart-if-you-open-it/
https://github.com/vbawol/DayZ-Epoch/issues/1368
https://github.com/vbawol/DayZ-Epoch/issues/1422
2014-07-29 15:50:53 -04:00
vbawol
ec1308afd6 Merge pull request #1466 from ebaydayz/patch-1
Fix typo _intentory > _inventory
2014-07-29 13:33:10 -05:00
vbawol
3ec0b2be60 Merge pull request #1465 from Mikeeeyy/patch-1
Fix for glitching through doors (dayz_spaceInterrupt.sqf)
2014-07-29 13:33:03 -05:00
ebaydayz
a8389ba2bc Fix typo _intentory > _inventory
_intentory should be _inventory
2014-07-29 14:26:48 -04:00
Mikeeeyy
a4ade23086 Update dayz_spaceInterrupt.sqf
Changed starts at line 87 and end at line 93.
Fix for glitching through doors.
2014-07-29 17:47:29 +01:00
Uro1
1f2bc80070 Merge pull request #9 from vbawol/master
pull from master
2014-07-28 21:17:09 +01:00
[VB]AWOL
cb633715fa typo 2014-07-27 23:17:00 -05:00
[VB]AWOL
abc4c2f6ce push PHP steam server list query code
Example of how to get from server list from steam works for both Arma 2
and 3 servers
Original Source:
https://developer.valvesoftware.com/wiki/User:Pizzahut/test.php
2014-07-27 23:11:49 -05:00
vbawol
fc1ce8421e Merge pull request #1459 from raymix/master
some missing defines
2014-07-26 15:29:25 -05:00
vbawol
29fe8ced1a Update CHANGE LOG 1.0.5.2.txt 2014-07-26 15:28:02 -05:00
icomrade
f284fc1b92 Don't play anim for unconscious if in vehicle 2014-07-26 14:15:38 -04:00
raymix
411055260f some missing defines 2014-07-26 03:36:26 +01:00
vbawol
c479fe45f3 Merge pull request #1452 from Markokil321/patch-2
Update player_build.sqf
2014-07-25 16:02:32 -05:00
vbawol
327e7677e7 Update 1.0.5_Updates.sql 2014-07-25 13:07:01 -05:00
[VB]AWOL
b436c1a66f Merge branch 'master' of https://github.com/vbawol/DayZ-Epoch 2014-07-25 12:07:42 -05:00
[VB]AWOL
edf7c23af0 RedRyder BB Gun by @arma2WillRobinson 2014-07-25 12:07:38 -05:00
vbawol
b26aa51e32 Merge pull request #1434 from arma2WillRobinson/master
roughly added RedRyder BB Gun
2014-07-25 12:05:47 -05:00
vbawol
e6e5da011e Merge pull request #1453 from Markokil321/patch-4
Update player_build2.sqf
2014-07-25 12:04:30 -05:00
[VB]AWOL
9bc4a9a4ec Merge branch 'master' of https://github.com/vbawol/DayZ-Epoch 2014-07-25 12:02:41 -05:00
[VB]AWOL
f1950b0b99 @raziel23x pull request 2014-07-25 12:02:37 -05:00
vbawol
f1aa986a08 Merge pull request #1451 from RimBlock/master
Config files - Added fuel capacity variable.  DB Backup improved script.
2014-07-25 12:00:52 -05:00
[VB]AWOL
4059c7ceaa [FIXED] Corrected ClassName for CH53_DZE and BAF_Merlin_DZE. @Cinjun 2014-07-25 11:59:53 -05:00
vbawol
377e5207ac Merge pull request #1454 from Cinjun/master
Update 1.0.5_Updates.sql
2014-07-25 11:57:20 -05:00
Scott
3369d064e1 Update 1.0.5_Updates.sql
Corrected ClassName for CH53_DZE and BAF_Merlin_DZE.
2014-07-25 01:02:59 -05:00
Marko
f1b3104e1e Update player_build2.sqf
Would this work for adding built item code into systemchat? This way people can PageUp to view it, even after its gone from the screen.
2014-07-25 00:37:12 +02:00
Marko
e330fe17aa Update player_build.sqf
Would this work for adding built item code into systemchat? This way people can PageUp to view it, even after its gone from the screen.
2014-07-25 00:34:19 +02:00
RimBlock
613a08c770 no message 2014-07-24 21:00:41 +08:00
RimBlock
e497ae4a65 no message 2014-07-24 20:53:25 +08:00
RimBlock
3214eda74a no message 2014-07-24 20:36:51 +08:00
RimBlock
dd968044d3 Merge branch 'RC1-1.0.5.2' of https://github.com/vbawol/DayZ-Epoch into DB_backup_script
Conflicts:
	SQF/dayz_code/Configs/CfgVehicles/AIR/CH53.hpp
2014-07-24 20:30:25 +08:00
RimBlock
8e640ef5b3 Amended backup script datestamp to cope with missing 0 in 0x:xx times. 2014-07-24 20:20:23 +08:00
vbawol
bbfd03dbf7 Merge pull request #1450 from raymix/master
needs a better fix
2014-07-23 10:52:12 -05:00
raymix
bca5acf2e6 needs a better fix 2014-07-23 11:52:23 +01:00
vbawol
5193787b5f Merge pull request #1445 from Markokil321/patch-2
Update player_build.sqf
2014-07-21 13:09:44 -05:00
vbawol
092223e2c3 Merge pull request #1444 from Markokil321/patch-4
Update trade_weapons.sqf
2014-07-21 13:09:32 -05:00
Marko
273c8b8954 Update trade_weapons.sqf
Revert || back to or for text messages
2014-07-21 19:20:47 +02:00
Marko
0529324a4b Update player_build.sqf
Changed || back to or. (for messages)
2014-07-21 19:07:54 +02:00
vbawol
14918b9892 Merge pull request #1429 from ebaydayz/patch-3
Update CHANGE LOG 1.0.5.2.txt
2014-07-21 12:04:29 -05:00
vbawol
3e388880d4 Merge pull request #1441 from SJossy/patch-1
Update compiles.sqf
2014-07-20 00:18:25 -05:00
Steven
1ef1277254 Update compiles.sqf
typo in player_removeNet array
2014-07-20 11:40:02 +08:00
vbawol
4099115959 Merge pull request #1439 from ebaydayz/patch-2
Add CH53_DZE to config based traders
2014-07-19 16:56:03 -05:00
vbawol
565b9240cf Merge pull request #1438 from ebaydayz/patch-1
Use set instead of binary addition
2014-07-19 16:55:50 -05:00
ebaydayz
2c1d0825d1 Add CH53_DZE 2014-07-19 16:59:59 -04:00
ebaydayz
ed879fbef5 Update BanditHelicopterArmed.hpp
Add CH53_DZE
2014-07-19 16:56:14 -04:00
ebaydayz
bf86886835 Use set instead of binary addition
We should use set here like 1.8.1 does. It is 2x faster than binary addition:
https://community.bistudio.com/wiki/Code_Optimisation#Adding_elements_to_an_array
2014-07-19 16:45:44 -04:00
ebaydayz
37e83700a5 Update CHANGE LOG 1.0.5.2.txt 2014-07-19 16:09:01 -04:00
RimBlock
4496e16e68 Added a basic DB backup batch file
I have added a basic DB backup batch file inc instructions on its
configuration.
2014-07-19 08:29:39 +08:00
vbawol
6e1be89442 Merge pull request #1431 from raymix/master
snap building plotpole / infinite drag fix
2014-07-18 13:40:15 -05:00
armaWillRobinson
38bb95f12f redryder add 2014-07-17 13:49:57 -07:00
raymix
95077f35f8 snap optimization for large bases 2014-07-17 20:00:26 +01:00
icomrade
8a2dcfcf10 Woops 2014-07-17 14:29:57 -04:00
icomrade
33e9c7669b GetPlayerUID compile, update skin change 2014-07-17 14:29:17 -04:00
icomrade
f288fcf35a Disable user input until display is closed #1432 2014-07-16 18:51:41 -04:00
raymix
077da12271 plotpole fix for new update 2014-07-16 07:32:13 +01:00
raymix
a297cfea63 snap building plotpole / infinite drag fix 2014-07-16 06:38:27 +01:00
ebaydayz
cd3bc37202 Update CHANGE LOG 1.0.5.2.txt
Updated with all my changes as requested
2014-07-16 01:11:09 -04:00
vbawol
8294226d86 Merge pull request #1425 from ebaydayz/patch-1
Fix nearestObjects position error
2014-07-15 22:58:18 -05:00
ebaydayz
87ee176d7d Fix nearestObjects position error
_pos should be _charPos. Currently it causes this error in server RPT on 1.63.112555+ because it references the player object, not the player object's position:

 6:36:48 Error in expression <ear"] call server_updateObject;
} count nearestObjects [_pos, dayz_updateObjects>
 6:36:48   Error position: <nearestObjects [_pos, dayz_updateObjects>
 6:36:48   Error 0 elements provided, 3 expected
 6:36:48 File z\addons\dayz_server\compile\server_playerSync.sqf, line 209
2014-07-15 23:54:26 -04:00
vbawol
652160a080 Merge pull request #1421 from ebaydayz/patch-2
Fix fire cleanup diag_log error
2014-07-15 21:39:34 -05:00
vbawol
fb151b961d Merge pull request #1420 from ebaydayz/patch-1
Fix undefined variable "_weapon" error
2014-07-15 21:39:14 -05:00
vbawol
60644c98b7 Merge pull request #1412 from f3cuk/patch-1
Update 1.0.5_Updates.sql
2014-07-15 21:38:40 -05:00
f3cuk
26b296b9b9 Update 1.0.5_Updates.sql 2014-07-16 04:11:01 +02:00
ebaydayz
da15f60224 Fix fire cleanup diag_log error
Looks like someone left an undefined variable in here by accident. _delQtyNull should be _delQtyFP
2014-07-13 13:34:47 -04:00
ebaydayz
0eb5f76c64 Update fnc_plyrHit.sqf
Fixed undefined variable "_weapon" error on 1.63.112555+
2014-07-13 12:18:38 -04:00
vbawol
a487fd4f78 Merge pull request #1416 from raymix/master
snap code optimization, vault points added
2014-07-12 16:38:16 -05:00
raymix
2355d6b18e snap code optimization, vault points added 2014-07-12 20:23:42 +01:00
vbawol
07b3f14c1b Merge pull request #1411 from hogscraper/test_branch
Additional update to UI
2014-07-11 14:28:14 -05:00
vbawol
83ec44e402 Merge pull request #1410 from raymix/master
optional snap building added
2014-07-11 14:27:40 -05:00
f3cuk
ef43ee707c Update 1.0.5_Updates.sql
Should prevent the "[Error] Skipping ObjectID XX load because of invalid data in db" messages in trace output for the BAF_Merlin_HC3_D (and possibly others)
2014-07-11 17:01:08 +02:00
hogscraper
572b646107 Additional update to UI
Changed routines so that all icons flash at the same time. Instead of
making several individual calls to player_guiControlFlash any icon that
needs to have flashing turned on is added to an array and then, as long
as that array is not empty,  it is passed to the function. The function
was changed to deal with an array and whichever item is array select 0
has its show state determine what all the others should be. If its on,
then all other in array are turned off with it.
Also, added a fix for _bloodVal. With current red/green icon set, if the
player has less than 3000 blood the value rounds down to 1 so that
status_blood_inside_1_ca.paa is used, (which is no picture at all). This
means the old line
if (_bloodVal < 0.2) then {
passes along an empty picture to flash. I changed this value to .4 so
that between 3000 and 5000 blood, it still uses that last sliver picture
but that one now flashes to alert player to lower blood levels.
2014-07-10 16:44:58 -04:00
raymix
2e8b9b6de8 Forgot to fetch, Urol's comment added 2014-07-10 20:56:52 +01:00
raymix
5c8da27d4d optional snap building added 2014-07-10 20:13:30 +01:00
vbawol
7285b9e113 Merge pull request #1409 from Uro1/master
Updated ChangeLog
2014-07-10 13:57:05 -05:00
Uro1
8191c849f4 Updated 2014-07-10 19:52:05 +01:00
vbawol
14d866f2c6 Merge pull request #1408 from Uro1/master
Fix for crash_spawner & supply_drop modules creating inaccesible loot piles
2014-07-10 13:31:00 -05:00
Uro1
5507513336 Fixed crash spawner & supply drop loot positioning 2014-07-10 19:13:18 +01:00
Uro1
08f28045f4 Merge pull request #8 from vbawol/master
pull from master
2014-07-10 19:10:52 +01:00
icomrade
5b61ce34b7 Useless network traffic 2014-07-09 17:45:59 -04:00
icomrade
151a6b7478 Hopfully improve on issue in #1403
Should run a little quicker, added some ().
2014-07-09 17:36:17 -04:00
vbawol
03e229bee5 Merge pull request #1400 from SilvDev/patch-1
Update CHANGE LOG 1.0.5.2.txt
2014-07-07 20:44:32 -05:00
SilvDev
845d4c81c9 Update CHANGE LOG 1.0.5.2.txt 2014-07-08 02:11:28 +01:00
Uro1
ff47fe5817 Merge pull request #7 from vbawol/master
pull from epoch master
2014-07-07 20:07:32 +01:00
icomrade
97414d881c Update CHANGE LOG 1.0.5.2.txt 2014-07-07 13:29:18 -04:00
icomrade
81b147d3e2 Update variables.sqf 2014-07-07 13:28:42 -04:00
vbawol
72168cb103 Merge pull request #1396 from justchil/patch-1
Update zombie_generate.sqf
2014-07-05 10:56:43 -05:00
vbawol
796490d955 Merge pull request #1391 from SilvDev/master
Traders no longer equipped with weapon in hands
2014-07-05 10:56:29 -05:00
justchil
a6bcaad182 Update zombie_generate.sqf
Fixes problem with zeds not spawning loot (or EXTREMELY rare).  I believe this is not returning bool which is why count isn't working.
2014-07-05 11:17:48 -04:00
SilvDev
26b3bd046f Added missing variable initialization
s_player_dropflare was not initialized, causing errors in RPT log.
2014-07-04 19:34:32 +01:00
SilvDev
fdf563e378 Update mission.sqf 2014-07-04 19:26:35 +01:00
SilvDev
01cb6100ca Update mission.sqf 2014-07-04 19:26:30 +01:00
SilvDev
eb4b68fc33 Update mission.sqf 2014-07-04 19:26:27 +01:00
SilvDev
723a2ca713 Update mission.sqf 2014-07-04 19:26:26 +01:00
SilvDev
0a5e13a1d8 Update mission.sqf 2014-07-04 19:26:24 +01:00
SilvDev
ab874fe609 Update mission.sqf 2014-07-04 19:26:22 +01:00
SilvDev
0233923ba9 Update mission.sqf 2014-07-04 19:26:19 +01:00
SilvDev
35a84cd4a7 Update mission.sqf 2014-07-04 19:26:15 +01:00
SilvDev
3e47d3e3eb Update mission.sqf 2014-07-04 19:26:13 +01:00
SilvDev
4666bd9f5c Update mission.sqf 2014-07-04 19:26:11 +01:00
SilvDev
ec02c8aa2e Update mission.sqf 2014-07-04 19:26:09 +01:00
SilvDev
5776a4adee Update mission.sqf 2014-07-04 19:26:07 +01:00
SilvDev
3bbbae71bf Update mission.sqf 2014-07-04 19:26:04 +01:00
SilvDev
3716d302ce Update mission.sqf 2014-07-04 19:25:57 +01:00
SilvDev
32f18496a8 Update mission.sqf 2014-07-04 19:25:54 +01:00
SilvDev
7265978585 Update mission.sqf 2014-07-04 19:25:52 +01:00
SilvDev
800c2ebb08 Update mission.sqf 2014-07-04 19:25:49 +01:00
vbawol
c3522eb700 Merge pull request #1387 from ADK-DAYZMOD-EPOCH/master
Updated Config examples
2014-07-03 21:48:41 -05:00
raziel23x
d93efe10b8 Updated Config examples
updated examples to point the the steam version of the arma2oaserver.exe
which is found in the root of the Arma 2 OA directory
2014-07-03 22:44:52 -04:00
Uro1
f5791616c2 Merge pull request #6 from vbawol/master
merge to epoch master
2014-07-03 07:07:20 +01:00
vbawol
2aee27be43 Update CHANGE LOG 1.0.5.2.txt 2014-07-03 00:06:10 -05:00
vbawol
cd794ba2b7 Update README.md 2014-07-03 00:04:41 -05:00
vbawol
7a52bd67a4 Update CHANGE LOG 1.0.5.2.txt 2014-07-03 00:03:48 -05:00
[VB]AWOL
5585633c5f fixed Error Missing ; 2014-07-02 23:06:30 -05:00
vbawol
3036b31bbb Merge pull request #1384 from hogscraper/test_branch
UI Update - Graphical and code changes
2014-07-02 21:33:21 -05:00
hogscraper
be3e492405 UI Update - Graphical and code changes
Changed player_updateGui.sqf with an update to how the UI elements are
loaded. Changed all status icons to use the full value so no more fading
icons. Also changed the colors from red/green setup to a black and white
setup. All icons start off as black if the value is optimal, (full
blood, full food/drink, temperature, out of combat, seen, heard), then
progress continually towards white as the player loses blood, gets
hungry, etc. This was done to make the differences between full and
empty more drastic as the current method starts off with obvious icons
that slowly fade. If player is color blind, there have been reported
issues of the two colors showing up as similar shades of gray. For those
that are not CB the elements currently become less obvious in the user's
peripheral until they begin flashing. Changes also made to variables.sqf
to add the ability to turn this feature on/off:
Dayz_Dark_UI = true;
Sets UI to new darker theme. Turned off by setting the value to false.
2014-07-02 20:16:25 -04:00
[VB]AWOL
41c658c0c8 new bikey 2014-07-01 16:14:13 -05:00
[VB]AWOL
1e5614e34a more version bumps 2014-07-01 15:50:30 -05:00
icomrade
25ca642576 Update CHANGE LOG 1.0.5.2.txt 2014-07-01 16:27:04 -04:00
[VB]AWOL
6d7f832a01 a2oa version bump 103718 > 125548 2014-07-01 15:26:37 -05:00
[VB]AWOL
83c04c9f4e update versions 2014-07-01 15:22:39 -05:00
icomrade
ba75bfa839 Fixes 2014-06-30 21:18:58 -04:00
icomrade
7a15a98fd6 Update changelog 2014-06-30 18:59:41 -04:00
icomrade
8af00ef284 Fix #1351 2014-06-30 18:54:12 -04:00
icomrade
6f0470f598 Fix #1364
Holy shit it was accessible from 25 meters!
2014-06-30 17:46:56 -04:00
[VB]AWOL
5a88627d97 should fix #1362 2014-06-30 16:44:46 -05:00
icomrade
6799d90d23 Should fix #1124 2014-06-30 17:01:29 -04:00
icomrade
4a1ac8304a lol... 2014-06-30 16:57:49 -04:00
icomrade
486dc31695 Fix #1355 2014-06-30 16:23:40 -04:00
[VB]AWOL
4c536342ca get ready for 1.0.5.2 hotfix 2014-06-30 14:52:33 -05:00
icomrade
ee7627b2b6 Update CHANGE LOG 1.0.6.txt 2014-06-30 14:31:53 -04:00
icomrade
fa7c3a6c2b Merge pull request #1373 from vbawol/GetPlayerUIDOld
Legacy UID
2014-06-30 14:28:01 -04:00
icomrade
3491e4462d Add variable 2014-06-30 12:46:06 -04:00
icomrade
6f8efd8428 Legacy UID 2014-06-30 11:53:14 -04:00
icomrade
2f7d7a9287 Duplicate define 2014-06-30 00:59:42 -04:00
vbawol
1faf1688e7 Update CHANGE LOG 1.0.6.txt 2014-06-29 16:50:59 -05:00
vbawol
8e8af95749 Update CHANGE LOG 1.0.6.txt 2014-06-29 16:48:25 -05:00
icomrade
33aa6632c6 Fix #1361 2014-06-29 13:09:32 -04:00
vbawol
6a571be12f Merge pull request #1369 from Uro1/master
dayz_epoch_b CfgLootPos.hpp to CfgBuildingPos.hpp
2014-06-29 09:13:25 -05:00
Uro1
c1f9c5e1f1 dayz_epoch_b CfgLootPos > CfgBuildingPos
Update CfgLootPos with new enterable building positions to match code in
config files.
Rename CfgLootPos to CfgBuildingPos.

Issue #1360
2014-06-29 15:09:05 +01:00
[VB]AWOL
a1f56f9080 make sure holder is not null 2014-06-29 01:57:58 -05:00
[VB]AWOL
b1016c798e same as previous 2014-06-29 00:20:14 -05:00
[VB]AWOL
7f44c1742a Comment out two invalid female skins 2014-06-29 00:16:26 -05:00
[VB]AWOL
83f32b9892 wrong line here 2014-06-25 11:42:24 -05:00
[VB]AWOL
9cb7319bc4 did not make it in time 2014-06-25 11:41:30 -05:00
[VB]AWOL
ee682bd24f pushed 1.0.5.1 2014-06-25 11:40:41 -05:00
icomrade
fc515d4407 Infection changes 2014-06-25 12:08:55 -04:00
Uro1
f61ee2353a Merge pull request #5 from vbawol/master
pull from awols master
2014-06-23 12:01:18 +01:00
Uro1
64a12aff1d Merge pull request #4 from vbawol/RC5-1.0.5
Rc5 1.0.5
2014-06-22 11:30:11 +01:00
Uro1
c058576586 Merge pull request #3 from vbawol/master
pull from epoch master
2014-06-10 19:53:01 +01:00
Uro1
0e74cca666 Merge pull request #2 from vbawol/master
Pull from awols epoch
2014-06-08 00:14:34 +01:00
RimBlock
d396babd30 Update RHIB.hpp
Added realistic fuel capacity.
2014-06-03 22:25:24 +08:00
RimBlock
47d7055fff Update PBX.hpp
Added realistic fuel capacity.
2014-06-03 22:24:34 +08:00
RimBlock
aa8dac7b50 Update UH60.hpp
Added realistic fuel capacity.
2014-06-03 22:23:46 +08:00
RimBlock
fdc4a0aeff Update UH1.hpp
Added realistic fuel capacity.
2014-06-03 22:20:46 +08:00
RimBlock
dbedcfa51c Update Mi17.hpp
Added realistic fuel capacity.
2014-06-03 22:18:55 +08:00
RimBlock
b603fdfe58 Update MV22.hpp
Added realistic fuel capacity.
2014-06-03 22:18:00 +08:00
RimBlock
fdcc7e458f Update CH53.hpp
Added realistic fuel capacity.
2014-06-03 22:17:04 +08:00
RimBlock
27ad510457 Update CH47.hpp
Added realistic fuel capacity.
2014-06-03 22:15:56 +08:00
RimBlock
c2f86fa6fe Update C130.hpp
Added realistic fuel capacity
2014-06-03 22:14:21 +08:00
RimBlock
1528b1f1fd Update BAF_Merlin.hpp
Added realistic fuel capacity
2014-06-03 22:13:36 +08:00
RimBlock
d914620a4c Update AN2.hpp
Added realistic fuel capacity.
2014-06-03 22:12:53 +08:00
RimBlock
291dc60454 Update AH6.hpp 2014-06-03 22:08:35 +08:00
RimBlock
3183bf95af Update Kamaz.hpp
Change fuelCapacity to relaistic value of 10400 litres.
2014-06-03 22:06:14 +08:00
190 changed files with 4775 additions and 714 deletions

35
CHANGE LOG 1.0.5.2.txt Normal file
View File

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

View File

@@ -95,6 +95,8 @@ GitHub Contributors (In order of most commits)
* Schmoopiie - https://github.com/Schmoopiie
* nahkiss - https://github.com/nahkiss
* BlackLA - https://github.com/BlackLA
* Hogscraper - https://github.com/hogscraper
* Raziel23x - https://github.com/Raziel23x
--------------------------
Special thanks

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -117,6 +117,7 @@ class CH47_base_EP1: Helicopter
irScanRangeMin = 100;
irScanRangeMax = 1000;
irScanToEyeFactor = 2;
fuelCapacity = 4043;
};
class CH_47F_EP1;
@@ -278,4 +279,4 @@ class CH_47F_EP1_DZE: CH47_base_EP1
weapon = "M134_2";
};
};
};
};

View File

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

View File

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

View File

@@ -26,6 +26,7 @@ class Mi17_DZ: Mi17_base {
transportMaxWeapons = 10;
transportMaxMagazines = 50;
transportmaxbackpacks = 10;
fuelCapacity = 1870;
class Turrets : Turrets {
class MainTurret : MainTurret {
@@ -64,4 +65,4 @@ class Mi17_Civilian_DZ: Mi17_Civilian {
transportMaxWeapons = 10;
transportMaxMagazines = 50;
transportmaxbackpacks = 10;
};
};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -281,6 +281,7 @@ class Volha_2_TK_CIV_EP1_DZE1: Volha_2_TK_CIV_EP1 {
// Armor 2
class VolhaLimo_TK_CIV_EP1_DZE2: VolhaLimo_TK_CIV_EP1_DZE1 {
armor = 50; // car 20
damageResistance = 0.02099;
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
@@ -328,6 +329,7 @@ class VolhaLimo_TK_CIV_EP1_DZE2: VolhaLimo_TK_CIV_EP1_DZE1 {
};
class Volha_1_TK_CIV_EP1_DZE2: Volha_1_TK_CIV_EP1_DZE1 {
armor = 50; // car 20
damageResistance = 0.02099;
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
@@ -375,6 +377,7 @@ class Volha_1_TK_CIV_EP1_DZE2: Volha_1_TK_CIV_EP1_DZE1 {
};
class Volha_2_TK_CIV_EP1_DZE2: Volha_2_TK_CIV_EP1_DZE1 {
armor = 50; // car 20
damageResistance = 0.02099;
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
@@ -459,4 +462,4 @@ class Volha_1_TK_CIV_EP1_DZE4: Volha_1_TK_CIV_EP1_DZE3 {
};
class Volha_2_TK_CIV_EP1_DZE4: Volha_2_TK_CIV_EP1_DZE3 {
fuelCapacity = 210; // car 100
};
};

View File

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

View File

@@ -17,7 +17,7 @@ class Ship : AllVehicles
maxSpeed = 30;
simulation = "ship";
audible = 6;
fuelCapacity = 100;
fuelCapacity = 250;
formationX = 50;
formationZ = 100;
brakeDistance = 50;
@@ -569,4 +569,4 @@ class RHIB_DZ : Boat
"ca\water\data\rhib_dash_destruct.rvmat"
};
};
};
};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -11,7 +11,9 @@ if ((!r_player_handler1) && (r_handlerCount == 0)) then {
_timeout = 0;
r_handlerCount = r_handlerCount + 1;
r_player_handler1 = true;
player playAction "CanNotMove";
if (vehicle player == 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;
0 fadeSound 0.05;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -91,7 +91,7 @@ if ((dayz_spawnZombies < _maxControlledZombies) && (dayz_CurrentNearByZombies <
_array = [];
{
_array set [count _array, _x select 0]
} count getArray (configFile >> "cfgLoot" >> getText(_lootType));
} forEach getArray (configFile >> "cfgLoot" >> getText(_lootType));
if (count _array > 0) then {
_index = dayz_CLBase find getText(_lootType);
_weights = dayz_CLChances select _index;
@@ -154,4 +154,4 @@ if ((dayz_spawnZombies < _maxControlledZombies) && (dayz_CurrentNearByZombies <
//Start behavior
_id = [_position,_agent] execFSM "\z\AddOns\dayz_code\system\zombie_agent.fsm";
};
};
};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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