147 Commits

Author SHA1 Message Date
[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
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
135 changed files with 3527 additions and 394 deletions

29
CHANGE LOG 1.0.5.2.txt Normal file
View File

@@ -0,0 +1,29 @@
[NEW] RedRyder BB Gun by @arma2WillRobinson
[NEW] DB Backup script. @raziel23x
[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_snapBuilding = true; in your init.sqf to enable. @raymix
[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. @raziel23x
[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
[UPDATED] .hpp files updated in dayz_epoch_b CfgLootPos > CfgBuildingPos. @Uro1
[UPDATED] .bat files updated in Config-Examples @Raziel23x
[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 = 5;
};
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 = 5;
};
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 = 10;
};
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 = 10;
};
//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 = 5;
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 = 5;
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 = 5;
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

@@ -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

@@ -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

@@ -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

@@ -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

@@ -189,4 +189,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

@@ -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;
};

View File

@@ -0,0 +1,627 @@
/*
DayZ Base Building
Made for DayZ Epoch please ask permission to use/edit/distrubute email vbawol@veteranbastards.com.
*/
private ["_helperColor","_objectHelper","_objectHelperDir","_objectHelperPos","_canDo",
"_location","_dir","_classname","_item","_hasrequireditem","_missing","_hastoolweapon","_cancel","_reason","_started","_finished","_animState","_isMedic","_dis","_sfx","_hasbuilditem","_tmpbuilt","_onLadder","_isWater","_require","_text","_offset","_IsNearPlot","_isOk","_location1","_location2","_counter","_limit","_proceed","_num_removed","_position","_object","_canBuildOnPlot","_friendlies","_nearestPole","_ownerID","_findNearestPoles","_findNearestPole","_distance","_classnametmp","_ghost","_isPole","_needText","_lockable","_zheightchanged","_rotate","_combination_1","_combination_2","_combination_3","_combination_4","_combination","_combination_1_Display","_combinationDisplay","_zheightdirection","_abort","_isNear","_need","_needNear","_vehicle","_inVehicle","_requireplot","_objHDiff","_isLandFireDZ","_isTankTrap"];
if(DZE_ActionInProgress) exitWith { cutText [(localize "str_epoch_player_40") , "PLAIN DOWN"]; };
DZE_ActionInProgress = true;
// disallow building if too many objects are found within 30m
if((count ((getPosATL player) nearObjects ["All",30])) >= DZE_BuildingLimit) exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_41"), "PLAIN DOWN"];};
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
_isWater = dayz_isSwimming;
_cancel = false;
_reason = "";
_canBuildOnPlot = false;
_vehicle = vehicle player;
_inVehicle = (_vehicle != player);
//snap
helperDetach = false;
_canDo = (!r_drag_sqf and !r_player_unconscious);
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;
if (_isWater) exitWith {DZE_ActionInProgress = false; cutText [localize "str_player_26", "PLAIN DOWN"];};
if (_inVehicle) exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_42"), "PLAIN DOWN"];};
if (_onLadder) exitWith {DZE_ActionInProgress = false; cutText [localize "str_player_21", "PLAIN DOWN"];};
if (player getVariable["combattimeout", 0] >= time) exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_43"), "PLAIN DOWN"];};
_item = _this;
// Need Near Requirements
_abort = false;
_reason = "";
_needNear = getArray (configFile >> "CfgMagazines" >> _item >> "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;
};
_classname = getText (configFile >> "CfgMagazines" >> _item >> "ItemActions" >> "Build" >> "create");
_classnametmp = _classname;
_require = getArray (configFile >> "cfgMagazines" >> _this >> "ItemActions" >> "Build" >> "require");
_text = getText (configFile >> "CfgVehicles" >> _classname >> "displayName");
_ghost = getText (configFile >> "CfgVehicles" >> _classname >> "ghostpreview");
_lockable = 0;
if(isNumber (configFile >> "CfgVehicles" >> _classname >> "lockable")) then {
_lockable = getNumber(configFile >> "CfgVehicles" >> _classname >> "lockable");
};
_requireplot = DZE_requireplot;
if(isNumber (configFile >> "CfgVehicles" >> _classname >> "requireplot")) then {
_requireplot = getNumber(configFile >> "CfgVehicles" >> _classname >> "requireplot");
};
_isAllowedUnderGround = 1;
if(isNumber (configFile >> "CfgVehicles" >> _classname >> "nounderground")) then {
_isAllowedUnderGround = getNumber(configFile >> "CfgVehicles" >> _classname >> "nounderground");
};
_offset = getArray (configFile >> "CfgVehicles" >> _classname >> "offset");
if((count _offset) <= 0) then {
_offset = [0,1.5,0];
};
_isPole = (_classname == "Plastic_Pole_EP1_DZ");
_isLandFireDZ = (_classname == "Land_Fire_DZ");
_distance = DZE_PlotPole select 0;
_needText = localize "str_epoch_player_246";
if(_isPole) then {
_distance = DZE_PlotPole select 1;
};
// check for near plot
_findNearestPoles = nearestObjects [(vehicle player), ["Plastic_Pole_EP1_DZ"], _distance];
_findNearestPole = [];
{
if (alive _x) then {
_findNearestPole set [(count _findNearestPole),_x];
};
} count _findNearestPoles;
_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(_IsNearPlot == 0) then {
// 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;
// Find owner
_ownerID = _nearestPole getVariable ["CharacterID","0"];
// diag_log format["DEBUG BUILDING: %1 = %2", dayz_characterID, _ownerID];
// 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;
};
};
};
};
// _message
if(!_canBuildOnPlot) exitWith { DZE_ActionInProgress = false; cutText [format[(localize "STR_EPOCH_PLAYER_135"),_needText,_distance] , "PLAIN DOWN"]; };
_missing = "";
_hasrequireditem = true;
{
_hastoolweapon = _x in weapons player;
if(!_hastoolweapon) exitWith { _hasrequireditem = false; _missing = getText (configFile >> "cfgWeapons" >> _x >> "displayName"); };
} count _require;
_hasbuilditem = _this in magazines player;
if (!_hasbuilditem) exitWith {DZE_ActionInProgress = false; cutText [format[(localize "str_player_31"),_text,"build"] , "PLAIN DOWN"]; };
if (!_hasrequireditem) exitWith {DZE_ActionInProgress = false; cutText [format[(localize "str_epoch_player_137"),_missing] , "PLAIN DOWN"]; };
if (_hasrequireditem) then {
_location = [0,0,0];
_isOk = true;
// get inital players position
_location1 = getPosATL player;
_dir = getDir player;
// if ghost preview available use that instead
if (_ghost != "") then {
_classname = _ghost;
};
_object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"];
//Build gizmo
_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;
//cutText [(localize "str_epoch_player_45"), "PLAIN DOWN"];
_objHDiff = 0;
if (isClass (configFile >> "SnapBuilding" >> _classname)) then {
["","","",["Init",_object,_classname,_objectHelper]] spawn snap_build;
};
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;
//diag_log format["DEBUG Rotate BUILDING POS: %1", _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;
//diag_log format["DEBUG Change BUILDING POS: %1", _position];
if (!helperDetach) then {
_objectHelper attachTo [player];
};
};
sleep 0.5;
_location2 = getPosATL player;
if(DZE_5) exitWith {
_isOk = false;
detach _object;
_dir = getDir _object;
_position = getPosATL _object;
//diag_log format["DEBUG BUILDING POS: %1", _position];
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;
};
};
//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"];
_tmpbuilt setdir _dir;
// Get position based on object
_location = _position;
if((_isAllowedUnderGround == 0) && ((_location select 2) < 0)) then {
_location set [2,0];
};
_tmpbuilt setPosATL _location;
cutText [format[(localize "str_epoch_player_138"),_text], "PLAIN DOWN"];
_limit = 3;
if (DZE_StaticConstructionCount > 0) then {
_limit = DZE_StaticConstructionCount;
}
else {
if (isNumber (configFile >> "CfgVehicles" >> _classname >> "constructioncount")) then {
_limit = getNumber(configFile >> "CfgVehicles" >> _classname >> "constructioncount");
};
};
_isOk = true;
_proceed = false;
_counter = 0;
while {_isOk} do {
[10,10] call dayz_HungerThirst;
player playActionNow "Medic";
_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 {
_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 {
_isOk = false;
_proceed = false;
};
if(_finished) then {
_counter = _counter + 1;
};
cutText [format[(localize "str_epoch_player_139"),_text, _counter,_limit], "PLAIN DOWN"];
if(_counter == _limit) exitWith {
_isOk = false;
_proceed = true;
};
};
if (_proceed) then {
_num_removed = ([player,_item] call BIS_fnc_invRemove);
if(_num_removed == 1) then {
cutText [format[localize "str_build_01",_text], "PLAIN DOWN"];
if (_isPole) then {
[] spawn player_plotPreview;
};
_tmpbuilt setVariable ["OEMPos",_location,true];
if(_lockable > 1) then {
_combinationDisplay = "";
switch (_lockable) do {
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];
PVDZE_obj_Publish = [_combination,_tmpbuilt,[_dir,_location],_classname];
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];
// fire?
if(_tmpbuilt isKindOf "Land_Fire_DZ") then {
_tmpbuilt spawn player_fireMonitor;
} else {
PVDZE_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location],_classname];
publicVariableServer "PVDZE_obj_Publish";
};
};
} else {
deleteVehicle _tmpbuilt;
cutText [(localize "str_epoch_player_46") , "PLAIN DOWN"];
};
} else {
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 {
cutText [format[(localize "str_epoch_player_47"),_text,_reason], "PLAIN DOWN"];
};
};
DZE_ActionInProgress = false;

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

@@ -0,0 +1,294 @@
/*-----------------------------------*/
// by Raymix //
// July 10 2014 //
/*--------------------------------*/
private ["_object","_objectSnapGizmo","_objColorActive","_objColorInactive","_classname","_whitelist","_points","_radius","_cfg","_cnt","_pos","_findWhitelisted","_nearbyObject","_posNearby","_selectedAction","_newPos","_pointsNearby","_onWater"];
//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 = [];
_findWhitelisted = nearestObjects [_pos,_whitelist,_radius]-[_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) 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

@@ -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

@@ -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

@@ -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];
};
};
@@ -105,7 +106,13 @@ if (!isDedicated) then {
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";
//Snap building - disabled by default, not sure about your stance towards this mod yet, feel free to edit
if (DZE_snapBuilding) then {
player_build = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_build2.sqf";
snap_build = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\snap_build.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 +285,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 +534,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 +636,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;
@@ -528,6 +538,9 @@ if(isNil "DZE_StaticConstructionCount") then {
if (isNil "DZE_selfTransfuse_Values") then {
DZE_selfTransfuse_Values = [12000, 15, 300];
};
if (isNil "DZE_snapBuilding") then {
DZE_snapBuilding = false;
};
// needed on server
if(isNil "DZE_PlotPole") then {
@@ -683,18 +696,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;

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

@@ -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

@@ -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 = {
@@ -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 = [_killer] call FNC_GetPlayerUID;
diag_log format["SAFE %5: ID:%1 UID:%2 BY %3(%4)", _objectID, _objectUID, (name _player), _PUID, _statusText];
};
};

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

@@ -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

@@ -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

@@ -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

@@ -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

@@ -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

@@ -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; ";

View File

@@ -164,6 +164,9 @@ _unit_13 = objNull;
if (true) then
{
_this = createAgent ["Profiteer4", [17176.229, 13586.87, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_13 = _this;
_this setDir 73.497665;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -174,6 +177,9 @@ _unit_17 = objNull;
if (true) then
{
_this = createAgent ["RU_Villager3", [19245.633, 13586.95, 3.1938891], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_17 = _this;
_this setDir -84.586914;
_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 +244,9 @@ _unit_56 = objNull;
if (true) then
{
_this = createAgent ["Worker3", [14280.453, 12382.589, 0.69716024], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_56 = _this;
_this setDir 345.39899;
_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 +257,9 @@ _unit_57 = objNull;
if (true) then
{
_this = createAgent ["CIV_EuroMan01_EP1", [14281.469, 12438.899, -0.038146973], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_57 = _this;
_this setDir 272.80331;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -258,6 +270,9 @@ _unit_58 = objNull;
if (true) then
{
_this = createAgent ["RU_WorkWoman5", [14264.426, 12423.233, 0.54440308], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_58 = _this;
_this setDir 825.94824;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -268,6 +283,9 @@ _unit_59 = objNull;
if (true) then
{
_this = createAgent ["TK_GUE_Soldier_5_EP1", [14265.977, 12375.616, -0.51617432], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_59 = _this;
_this setDir 381.45752;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -278,6 +296,9 @@ _unit_60 = objNull;
if (true) then
{
_this = createAgent ["CIV_EuroMan02_EP1", [14282.494, 12434.631, 0.33944702], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_60 = _this;
_this setDir 270.93637;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -288,6 +309,9 @@ _unit_62 = objNull;
if (true) then
{
_this = createAgent ["Dr_Hladik_EP1", [12568.642, 8359.8574, 0.51730686], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_62 = _this;
_this setDir 671.35419;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -336,6 +360,9 @@ _unit_73 = objNull;
if (true) then
{
_this = createAgent ["RU_Functionary1", [17269.762, 9570.75, 2.0980835e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_73 = _this;
_this setDir 177.47417;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -346,6 +373,9 @@ _unit_74 = objNull;
if (true) then
{
_this = createAgent ["Woodlander1", [17175.852, 13602.271, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_74 = _this;
_this setDir 87.902885;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -356,6 +386,9 @@ _unit_75 = objNull;
if (true) then
{
_this = createAgent ["RU_WorkWoman1", [17175.6, 13598.431, 0.94462103], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_75 = _this;
_this setDir 88.896126;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -366,6 +399,9 @@ _unit_78 = objNull;
if (true) then
{
_this = createAgent ["Rocker4", [17175.785, 13593.929], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_78 = _this;
_this setDir 83.451462;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -376,6 +412,9 @@ _unit_79 = objNull;
if (true) then
{
_this = createAgent ["RU_Citizen3", [17182.684, 13599.278, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_79 = _this;
_this setDir 613.98407;
_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 +425,9 @@ _unit_82 = objNull;
if (true) then
{
_this = createAgent ["Dr_Annie_Baker_EP1", [17179.426, 13574.901], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_82 = _this;
_this setDir 433.92062;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -396,6 +438,9 @@ _unit_84 = objNull;
if (true) then
{
_this = createAgent ["TK_CIV_Takistani04_EP1", [12575.749, 8356.5449, 0.98069924], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_84 = _this;
_this setDir 269.78232;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -487,6 +532,9 @@ _unit_90 = objNull;
if (true) then
{
_this = createAgent ["RU_Citizen4", [11453.74, 5420.5854, 0.13881789], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_90 = _this;
_this setDir 202.66867;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -497,6 +545,9 @@ _unit_91 = objNull;
if (true) then
{
_this = createAgent ["RU_Citizen1", [13558.95, 8684.8398, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_91 = _this;
_this setDir 184.64287;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -507,6 +558,9 @@ _unit_94 = objNull;
if (true) then
{
_this = createAgent ["Pilot_EP1", [12569.598, 8353.5137, -0.3298558], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_94 = _this;
_this setDir 396.39563;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -517,6 +571,9 @@ _unit_95 = objNull;
if (true) then
{
_this = createAgent ["Rita_Ensler_EP1", [12556.018, 8352.8145, 0.88001078], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_95 = _this;
_this setDir -9.2696304;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -647,6 +704,9 @@ _unit_97 = objNull;
if (true) then
{
_this = createAgent ["Worker2", [9908.458, 10003.673, 0.020880492], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_97 = _this;
_this setDir 3.0190864;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -714,6 +774,9 @@ _unit_108 = objNull;
if (true) then
{
_this = createAgent ["GUE_Soldier_MG", [6411.2759, 7476.5024, 0.25734121], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_108 = _this;
_this setDir 262.28711;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -792,6 +855,9 @@ _unit_118 = objNull;
if (true) then
{
_this = createAgent ["RU_Profiteer4", [12548.382, 8353.6436], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_118 = _this;
_this setDir -50.706394;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -820,6 +886,9 @@ _unit_122 = objNull;
if (true) then
{
_this = createAgent ["Woodlander3", [12565.632, 8350.7012, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_122 = _this;
_this setDir -59.927212;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -850,6 +919,9 @@ _unit_124 = objNull;
if (true) then
{
_this = createAgent ["HouseWife1", [13488.928, 6891.0576, 3.5405161], [], 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;";
@@ -877,6 +949,9 @@ _unit_128 = objNull;
if (true) then
{
_this = createAgent ["Doctor", [14263.656, 12434.905], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_128 = _this;
_this setDir 455.85672;
_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

@@ -187,6 +187,9 @@ _unit_14 = objNull;
if (true) then
{
_this = createAgent ["GUE_Soldier_Pilot", [8150.3169, 4332.6704, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_14 = _this;
_this setDir 200.83116;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -568,6 +571,9 @@ _unit_37 = objNull;
if (true) then
{
_this = createAgent ["Soldier_MG_PKM_PMC", [9652.1055, 10879.585, -0.031912103], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_37 = _this;
_this setDir -8.7282362;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -579,6 +585,9 @@ _unit_49 = objNull;
if (true) then
{
_this = createAgent ["Soldier_GL_M16A2_PMC", [9655.0381, 10879.717, 5.7220459e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_49 = _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;
@@ -589,6 +598,9 @@ _unit_51 = objNull;
if (true) then
{
_this = createAgent ["GUE_Villager4", [9665.8789, 10897.973, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_51 = _this;
_this setDir 253.78191;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -600,6 +612,9 @@ _unit_55 = objNull;
if (true) then
{
_this = createAgent ["CIV_Contractor2_BAF", [9648.124, 10900.857, 5.7220459e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_55 = _this;
_this setDir 169.78815;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -611,6 +626,9 @@ _unit_56 = objNull;
if (true) then
{
_this = createAgent ["Dr_Annie_Baker_EP1", [9660.083, 10903.648, 9.9182129e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_56 = _this;
_this setDir 180.8215;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -631,6 +649,9 @@ _unit_58 = objNull;
if (true) then
{
_this = createAgent ["Damsel5", [9664.749, 10890.223, 0.0001335144], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_58 = _this;
_this setDir -91.013748;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -775,6 +796,9 @@ _unit_75 = objNull;
if (true) then
{
_this = createAgent ["GUE_Villager3", [11920.514, 5269.9688, 1.5940602], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_75 = _this;
_this setDir 12.366267;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -802,6 +826,9 @@ _unit_86 = objNull;
if (true) then
{
_this = createAgent ["RU_Farmwife4", [7976.5767, 10574.898, 0.1468713], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_86 = _this;
_this setDir -6.4260778;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -813,6 +840,9 @@ _unit_90 = objNull;
if (true) then
{
_this = createAgent ["GUE_Soldier_AR", [7972.5825, 10572.921, 0.14687319], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_90 = _this;
_this setDir -9.2197142;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -824,6 +854,9 @@ _unit_94 = objNull;
if (true) then
{
_this = createAgent ["GUE_Soldier_CO", [7970.0234, 10572.893, 0.14689368], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_94 = _this;
_this setDir 5.5570426;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -835,6 +868,9 @@ _unit_97 = objNull;
if (true) then
{
_this = createAgent ["GUE_Woodlander2", [7985.6006, 10607.414, 0.14688605], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_97 = _this;
_this setDir 92.554123;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -846,6 +882,9 @@ _unit_98 = objNull;
if (true) then
{
_this = createAgent ["GUE_Soldier_GL", [7989.9077, 10604.353, 4.7683716e-007], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_98 = _this;
_this setDir 97.450241;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -965,6 +1004,9 @@ _unit_103 = objNull;
if (true) then
{
_this = createAgent ["Dr_Hladik_EP1", [7963.6943, 10573.726, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_103 = _this;
_this setDir 14.998249;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -976,6 +1018,9 @@ _unit_107 = objNull;
if (true) then
{
_this = createAgent ["Tanny_PMC", [9756.0273, 4029.0276, -5.7220459e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_107 = _this;
_this setDir 47.765823;
_this setUnitAbility 0.60000002;
@@ -1240,6 +1285,9 @@ _unit_115 = objNull;
if (true) then
{
_this = createAgent ["GUE_Soldier_Crew", [13575.962, 7496.8281], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_115 = _this;
_this setDir 244.20033;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1358,6 +1406,9 @@ _unit_122 = objNull;
if (true) then
{
_this = createAgent ["GUE_Soldier_3", [14834.71, 7660.9966, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_122 = _this;
_this setDir 185.51167;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1476,6 +1527,9 @@ _unit_132 = objNull;
if (true) then
{
_this = createAgent ["GUE_Soldier_1", [10033.369, 5945.521, -2.1457672e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_132 = _this;
_this setDir 181.42169;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1532,6 +1586,9 @@ _unit_136 = objNull;
if (true) then
{
_this = createAgent ["Soldier_TL_PMC", [7978.6685, 10584.979, 1.4305115e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_136 = _this;
_this setDir -104.86208;
_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

@@ -68,6 +68,9 @@ _unit_2 = objNull;
if (true) then
{
_this = createAgent ["GUE_Soldier_Pilot", [4492.6118, 497.43005, -0.93473291], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_2 = _this;
_this setDir 91.095695;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -319,6 +322,9 @@ _unit_18 = objNull;
if (true) then
{
_this = createAgent ["Dr_Annie_Baker_EP1", [3692.9583, 2407.9482, 0.97101575], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_18 = _this;
_this setDir 68.873177;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -506,6 +512,9 @@ _unit_21 = objNull;
if (true) then
{
_this = createAgent ["GUE_Villager3", [3714.2905, 2411.4067, 1.335144e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_21 = _this;
_this setDir 197.46411;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -534,6 +543,9 @@ _unit_22 = objNull;
if (true) then
{
_this = createAgent ["GUE_Woodlander2", [3709.2268, 2413.9536, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_22 = _this;
_this setDir 163.08043;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -552,6 +564,9 @@ _unit_23 = objNull;
if (true) then
{
_this = createAgent ["RU_Damsel2", [3700.802, 2405.0876, 0.93403047], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_23 = _this;
_this setDir 17.120543;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -590,6 +605,9 @@ _unit_37 = objNull;
if (true) then
{
_this = createAgent ["GUE_Soldier_MG", [3695.7058, 2412.9033, 5.7220459e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_37 = _this;
_this setDir 126.20041;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -600,6 +618,9 @@ _unit_41 = objNull;
if (true) then
{
_this = createAgent ["GUE_Soldier_1", [3698.4084, 2412.8806, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_41 = _this;
_this setDir 136.56801;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -939,6 +960,9 @@ _unit_50 = objNull;
if (true) then
{
_this = createAgent ["Dr_Hladik_EP1", [3364.3801, 4097.3677, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_50 = _this;
_this setDir 140.80887;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1003,6 +1027,9 @@ _unit_57 = objNull;
if (true) then
{
_this = createAgent ["BAF_Soldier_AAT_W", [3379.9919, 4089.8674, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_57 = _this;
_this setDir -5.0636034;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1013,6 +1040,9 @@ _unit_60 = objNull;
if (true) then
{
_this = createAgent ["BAF_Soldier_AAR_MTP", [3375.4666, 4089.1343], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_60 = _this;
_this setDir 8.0375652;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1122,6 +1152,9 @@ _unit_63 = objNull;
if (true) then
{
_this = createAgent ["RU_Damsel1", [3380.2383, 4101.2407, 0.92276478], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_63 = _this;
_this setDir 80.881088;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1194,6 +1227,9 @@ _unit_65 = objNull;
if (true) then
{
_this = createAgent ["Soldier_Bodyguard_M4_PMC", [3406.2334, 4100.1587], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_65 = _this;
_this setDir -56.60854;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1257,6 +1293,9 @@ _unit_66 = objNull;
if (true) then
{
_this = createAgent ["GUE_Commander", [3395.4006, 4097.2539, 4.5776367e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_66 = _this;
_this setDir 9.57026;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1339,6 +1378,9 @@ _unit_71 = objNull;
if (true) then
{
_this = createAgent ["Tanny_PMC", [4350.2427, 3660.3196, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_71 = _this;
_this setDir 203.77193;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1483,6 +1525,9 @@ _unit_87 = objNull;
if (true) then
{
_this = createAgent ["Soldier_MG_PKM_PMC", [1603.9364, 1066.9688], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_87 = _this;
_this setDir 56.743759;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1511,6 +1556,9 @@ _unit_101 = objNull;
if (true) then
{
_this = createAgent ["UN_CDF_Soldier_Crew_EP1", [3524.3467, 3132.5461, 1.3646177], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_101 = _this;
_this setDir 203.27184;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1622,6 +1670,9 @@ _unit_111 = objNull;
if (true) then
{
_this = createAgent ["GUE_Soldier_Scout", [3702.1665, 2414.2417], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_111 = _this;
_this setDir 134.77061;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1632,6 +1683,9 @@ _unit_113 = objNull;
if (true) then
{
_this = createAgent ["FR_Assault_R", [4677.6855, 1880.1096, 4.7683716e-007], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_113 = _this;
_this setDir -124.71986;
_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

@@ -2095,6 +2095,9 @@ _unit_105 = objNull;
if (true) then
{
_this = createAgent ["Ins_Woodlander3", [1390.5302, 6944.1221, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_105 = _this;
_this setDir 91.034714;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2105,6 +2108,9 @@ _unit_108 = objNull;
if (true) then
{
_this = createAgent ["Ins_Worker2", [1394.0282, 6980.3257], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_108 = _this;
_this setDir 184.04665;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2115,6 +2121,9 @@ _unit_117 = objNull;
if (true) then
{
_this = createAgent ["Ins_Soldier_Sapper", [1399.6907, 6932.1113, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_117 = _this;
_this setDir -65.198639;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2125,6 +2134,9 @@ _unit_137 = objNull;
if (true) then
{
_this = createAgent ["Ins_Soldier_Medic", [1403.147, 6935.8843, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_137 = _this;
_this setDir -54.290131;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2135,6 +2147,9 @@ _unit_161 = objNull;
if (true) then
{
_this = createAgent ["Ins_Woodlander1", [2392.6931, 7534.646, 2.3263159], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_161 = _this;
_this setDir -96.593018;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2153,6 +2168,9 @@ _unit_189 = objNull;
if (true) then
{
_this = createAgent ["TK_Soldier_Spotter_EP1", [3561.2859, 6028.3188, 0.44275188], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_189 = _this;
_this setDir -528.21375;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2163,6 +2181,9 @@ _unit_206 = objNull;
if (true) then
{
_this = createAgent ["Tanny_PMC", [4802.3774, 3073.3643, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_206 = _this;
_this setDir 268.52533;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2173,6 +2194,9 @@ _unit_207 = objNull;
if (true) then
{
_this = createAgent ["Ins_Lopotev", [3942.5715, 853.03564, 0.48624861], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_207 = _this;
_this setDir -17.824253;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2183,6 +2207,9 @@ _unit_208 = objNull;
if (true) then
{
_this = createAgent ["Ins_Villager3", [3924.8306, 859.23077, -0.094918966], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_208 = _this;
_this setDir -53.146969;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2193,6 +2220,9 @@ _unit_209 = objNull;
if (true) then
{
_this = createAgent ["Ins_Woodlander2", [3945.9624, 867.5116, 0.36235416], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_209 = _this;
_this setDir -108.41523;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2203,6 +2233,9 @@ _unit_213 = objNull;
if (true) then
{
_this = createAgent ["RUS_Soldier_TL", [3945.3738, 853.20978, -0.0021039643], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_213 = _this;
_this setDir -388.43741;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2213,6 +2246,9 @@ _unit_224 = objNull;
if (true) then
{
_this = createAgent ["MVD_Soldier_TL", [1796.2767, 3674.4536], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_224 = _this;
_this setDir 125.48753;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2223,6 +2259,9 @@ _unit_227 = objNull;
if (true) then
{
_this = createAgent ["Soldier_GL_M16A2_PMC", [1198.4252, 1902.0905], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_227 = _this;
_this setDir 68.655991;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2233,6 +2272,9 @@ _unit_231 = objNull;
if (true) then
{
_this = createAgent ["Dr_Hladik_EP1", [3945.9509, 873.69336, 0.5009582], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_231 = _this;
_this setDir -102.63105;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2243,6 +2285,9 @@ _unit_233 = objNull;
if (true) then
{
_this = createAgent ["Dr_Annie_Baker_EP1", [1415.5072, 6965.9204, 0.99102378], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_233 = _this;
_this setDir 119.76057;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2253,6 +2298,9 @@ _unit_235 = objNull;
if (true) then
{
_this = createAgent ["RU_Damsel4", [1383.766, 6937.1289], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_235 = _this;
_this setDir 117.07826;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2263,6 +2311,9 @@ _unit_236 = objNull;
if (true) then
{
_this = createAgent ["Soldier_TL_PMC", [4802.3784, 7338.2749, 3.6239624e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_236 = _this;
_this setDir 175.74536;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2273,6 +2324,9 @@ _unit_237 = objNull;
if (true) then
{
_this = createAgent ["RU_Farmwife4", [3945.803, 879.50177, 1.3585551], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_237 = _this;
_this setDir -41.754269;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2283,6 +2337,9 @@ _unit_238 = objNull;
if (true) then
{
_this = createAgent ["CIV_Contractor1_BAF", [3932.2576, 883.86243, 2.7418137e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_238 = _this;
_this setDir -60.566174;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2384,6 +2441,9 @@ _unit_240 = objNull;
if (true) then
{
_this = createAgent ["GUE_Soldier_GL", [5345.3501, 2304.4453, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_240 = _this;
_this setDir 45.32769;
_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

@@ -164,6 +164,9 @@ _unit_13 = objNull;
if (true) then
{
_this = createAgent ["Profiteer4", [17176.229, 13586.87, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_13 = _this;
_this setDir 73.497665;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -174,6 +177,9 @@ _unit_17 = objNull;
if (true) then
{
_this = createAgent ["RU_Villager3", [19245.633, 13586.95, 3.1938891], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_17 = _this;
_this setDir -84.586914;
_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 +244,9 @@ _unit_56 = objNull;
if (true) then
{
_this = createAgent ["Worker3", [14280.453, 12382.589, 0.69716024], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_56 = _this;
_this setDir 345.39899;
_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 +257,9 @@ _unit_57 = objNull;
if (true) then
{
_this = createAgent ["CIV_EuroMan01_EP1", [14281.469, 12438.899, -0.038146973], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_57 = _this;
_this setDir 272.80331;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -258,6 +270,9 @@ _unit_58 = objNull;
if (true) then
{
_this = createAgent ["RU_WorkWoman5", [14264.426, 12423.233, 0.54440308], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_58 = _this;
_this setDir 825.94824;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -268,6 +283,9 @@ _unit_59 = objNull;
if (true) then
{
_this = createAgent ["TK_GUE_Soldier_5_EP1", [14265.977, 12375.616, -0.51617432], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_59 = _this;
_this setDir 381.45752;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -278,6 +296,9 @@ _unit_60 = objNull;
if (true) then
{
_this = createAgent ["CIV_EuroMan02_EP1", [14282.494, 12434.631, 0.33944702], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_60 = _this;
_this setDir 270.93637;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -288,6 +309,9 @@ _unit_62 = objNull;
if (true) then
{
_this = createAgent ["Dr_Hladik_EP1", [12568.642, 8359.8574, 0.51730686], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_62 = _this;
_this setDir 671.35419;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -336,6 +360,9 @@ _unit_73 = objNull;
if (true) then
{
_this = createAgent ["RU_Functionary1", [17269.762, 9570.75, 2.0980835e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_73 = _this;
_this setDir 177.47417;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -346,6 +373,9 @@ _unit_74 = objNull;
if (true) then
{
_this = createAgent ["Woodlander1", [17175.852, 13602.271, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_74 = _this;
_this setDir 87.902885;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -356,6 +386,9 @@ _unit_75 = objNull;
if (true) then
{
_this = createAgent ["RU_WorkWoman1", [17175.6, 13598.431, 0.94462103], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_75 = _this;
_this setDir 88.896126;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -366,6 +399,9 @@ _unit_78 = objNull;
if (true) then
{
_this = createAgent ["Rocker4", [17175.785, 13593.929], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_78 = _this;
_this setDir 83.451462;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -376,6 +412,9 @@ _unit_79 = objNull;
if (true) then
{
_this = createAgent ["RU_Citizen3", [17182.684, 13599.278, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_79 = _this;
_this setDir 613.98407;
_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 +425,9 @@ _unit_82 = objNull;
if (true) then
{
_this = createAgent ["Dr_Annie_Baker_EP1", [17179.426, 13574.901], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_82 = _this;
_this setDir 433.92062;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -396,6 +438,9 @@ _unit_84 = objNull;
if (true) then
{
_this = createAgent ["TK_CIV_Takistani04_EP1", [12575.749, 8356.5449, 0.98069924], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_84 = _this;
_this setDir 269.78232;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -487,6 +532,9 @@ _unit_90 = objNull;
if (true) then
{
_this = createAgent ["RU_Citizen4", [11453.74, 5420.5854, 0.13881789], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_90 = _this;
_this setDir 202.66867;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -497,6 +545,9 @@ _unit_91 = objNull;
if (true) then
{
_this = createAgent ["RU_Citizen1", [13558.33, 8684.3281, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_91 = _this;
_this setDir 184.64287;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -507,6 +558,9 @@ _unit_94 = objNull;
if (true) then
{
_this = createAgent ["Pilot_EP1", [12569.598, 8353.5137, -0.3298558], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_94 = _this;
_this setDir 396.39563;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -517,6 +571,9 @@ _unit_95 = objNull;
if (true) then
{
_this = createAgent ["Rita_Ensler_EP1", [12556.018, 8352.8145, 0.88001078], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_95 = _this;
_this setDir -9.2696304;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -647,6 +704,9 @@ _unit_97 = objNull;
if (true) then
{
_this = createAgent ["Worker2", [9908.458, 10003.673, 0.020880492], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_97 = _this;
_this setDir 3.0190864;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -714,6 +774,9 @@ _unit_108 = objNull;
if (true) then
{
_this = createAgent ["GUE_Soldier_MG", [6411.2759, 7476.5024, 0.25734121], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_108 = _this;
_this setDir 262.28711;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -792,6 +855,9 @@ _unit_118 = objNull;
if (true) then
{
_this = createAgent ["RU_Profiteer4", [12548.382, 8353.6436], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_118 = _this;
_this setDir -50.706394;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -820,6 +886,9 @@ _unit_122 = objNull;
if (true) then
{
_this = createAgent ["Woodlander3", [12565.632, 8350.7012, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_122 = _this;
_this setDir -59.927212;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -850,6 +919,9 @@ _unit_124 = objNull;
if (true) then
{
_this = createAgent ["HouseWife1", [13488.928, 6891.0576, 3.5405161], [], 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;";
@@ -877,6 +949,9 @@ _unit_128 = objNull;
if (true) then
{
_this = createAgent ["Doctor", [14263.656, 12434.905], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_128 = _this;
_this setDir 455.85672;
_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 +1647,9 @@ _unit_193 = objNull;
if (true) then
{
_this = createAgent ["Soldier_GL_PMC", [13243.781, 11189.826, 9.9182129e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_193 = _this;
_this setDir -99.240112;
_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

@@ -846,6 +846,9 @@ _unit_31 = objNull;
if (true) then
{
_this = createAgent ["Soldier_MG_PKM_PMC", [8264.5371, 15495.855, 3.7374172], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_31 = _this;
_this setDir 56.102802;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -856,6 +859,9 @@ _unit_32 = objNull;
if (true) then
{
_this = createAgent ["GUE_Woodlander3", [8266.668, 15482.221, 0.10264076], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_32 = _this;
_this setDir -141.76392;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -866,6 +872,9 @@ _unit_35 = objNull;
if (true) then
{
_this = createAgent ["GUE_Woodlander2", [8254.9502, 15509.599, 0.23239325], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_35 = _this;
_this setDir -170.64685;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -876,6 +885,9 @@ _unit_40 = objNull;
if (true) then
{
_this = createAgent ["GUE_Worker2", [8262.3057, 15499.362, 3.5365536], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_40 = _this;
_this setDir 415.11279;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -886,6 +898,9 @@ _unit_55 = objNull;
if (true) then
{
_this = createAgent ["Damsel3", [8262.2666, 15499.865, 0.28269568], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_55 = _this;
_this setDir -131.36397;
_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 +920,9 @@ _unit_60 = objNull;
if (true) then
{
_this = createAgent ["Soldier_GL_PMC", [8243.2871, 15505.409, -2.8610229e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_60 = _this;
_this setDir 134.79477;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1017,6 +1035,9 @@ _unit_82 = objNull;
if (true) then
{
_this = createAgent ["GUE_Villager3", [12421.655, 5051.9307, 0.71062249], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_82 = _this;
_this setDir 6.034544;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1027,6 +1048,9 @@ _unit_96 = objNull;
if (true) then
{
_this = createAgent ["Dr_Annie_Baker_EP1", [12401.616, 5045.4702, 1.8259125], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_96 = _this;
_this setDir -35.831966;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1037,6 +1061,9 @@ _unit_97 = objNull;
if (true) then
{
_this = createAgent ["CIV_EuroWoman01_EP1", [12392.748, 5053.9941, 1.4861736], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_97 = _this;
_this setDir 172.95543;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1047,6 +1074,9 @@ _unit_110 = objNull;
if (true) then
{
_this = createAgent ["US_Delta_Force_AR_EP1", [12427.486, 5058.2739, 3.513485], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_110 = _this;
_this setDir -78.654518;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1057,6 +1087,9 @@ _unit_119 = objNull;
if (true) then
{
_this = createAgent ["Graves", [12425.565, 5054.9614, 3.5064285], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_119 = _this;
_this setDir -38.965942;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1288,6 +1321,9 @@ _unit_121 = objNull;
if (true) then
{
_this = createAgent ["GUE_Commander", [12421.825, 5058.9873, 0.15634714], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_121 = _this;
_this setDir 24.803446;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2166,6 +2202,9 @@ _unit_172 = objNull;
if (true) then
{
_this = createAgent ["Ins_Soldier_AR", [15507.673, 13226.056, -1.8119812e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_172 = _this;
_this setDir 28.482628;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2176,6 +2215,9 @@ _unit_184 = objNull;
if (true) then
{
_this = createAgent ["Ins_Lopotev", [15503.225, 13227.221, -0.00010824203], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_184 = _this;
_this setDir 9.4583635;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2186,6 +2228,9 @@ _unit_198 = objNull;
if (true) then
{
_this = createAgent ["Ins_Woodlander3", [15518.751, 13226.484, -7.4863434e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_198 = _this;
_this setDir -20.681011;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2196,6 +2241,9 @@ _unit_203 = objNull;
if (true) then
{
_this = createAgent ["Ins_Worker2", [15473.157, 13187.692, -9.1075897e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_203 = _this;
_this setDir 34.35025;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2206,6 +2254,9 @@ _unit_208 = objNull;
if (true) then
{
_this = createAgent ["Dr_Hladik_EP1", [15520.006, 13250.66, 0.26522979], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_208 = _this;
_this setDir -31.105717;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2243,6 +2294,9 @@ _unit_219 = objNull;
if (true) then
{
_this = createAgent ["Tanny_PMC", [5154.019, 4855.4419, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_219 = _this;
_this setDir -93.96814;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2271,6 +2325,9 @@ _unit_221 = objNull;
if (true) then
{
_this = createAgent ["Ins_Woodlander2", [16864.951, 5273.5635, 1.3620883], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_221 = _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;
@@ -2288,6 +2345,9 @@ _unit_224 = objNull;
if (true) then
{
_this = createAgent ["TK_Special_Forces_EP1", [6773.3965, 16950.34, 1.3511612], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_224 = _this;
_this setDir -31.881969;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2315,6 +2375,9 @@ _unit_227 = objNull;
if (true) then
{
_this = createAgent ["RUS_Commander", [5372.9751, 16095.265, -0.00016623829], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_227 = _this;
_this setDir -113.97614;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2334,6 +2397,9 @@ _unit_237 = objNull;
if (true) then
{
_this = createAgent ["TK_Special_Forces_MG_EP1", [2128.2959, 7807.7822, 6.9963961], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_237 = _this;
_this setDir -99.433609;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2423,6 +2489,9 @@ _unit_244 = objNull;
if (true) then
{
_this = createAgent ["RUS_Soldier2", [10395.563, 8270.3369, -4.5776367e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_244 = _this;
_this setDir 214.98192;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2433,6 +2502,9 @@ _unit_245 = objNull;
if (true) then
{
_this = createAgent ["Drake_Light", [15128.7, 16420.936, 0.075260207], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_245 = _this;
_this setDir 134.33461;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2462,6 +2534,9 @@ _unit_250 = objNull;
if (true) then
{
_this = createAgent ["Damsel5", [15536.542, 13224.494, 0.92211318], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_250 = _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;
@@ -2489,6 +2564,9 @@ _unit_263 = objNull;
if (true) then
{
_this = createAgent ["pook_Doc_Bell47", [8269.4893, 15490.62, 3.3378601e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_263 = _this;
_this setDir -104.75245;
_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

@@ -1050,6 +1050,9 @@ _unit_45 = objNull;
if (true) then
{
_this = createAgent ["Damsel4", [24732.811, 21743.199], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_45 = _this;
_this setDir 64.564354;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1060,6 +1063,9 @@ _unit_47 = objNull;
if (true) then
{
_this = createAgent ["Rocker2", [24754.064, 21753.211, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_47 = _this;
_this setDir -126.8064;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1070,6 +1076,9 @@ _unit_48 = objNull;
if (true) then
{
_this = createAgent ["Dr_Hladik_EP1", [24729.23, 21755.924, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_48 = _this;
_this setDir -255.61607;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1080,6 +1089,9 @@ _unit_50 = objNull;
if (true) then
{
_this = createAgent ["RU_Profiteer1", [24763.006, 21731.82, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_50 = _this;
_this setDir -212.09021;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1090,6 +1102,9 @@ _unit_51 = objNull;
if (true) then
{
_this = createAgent ["US_Delta_Force_AR_EP1", [24768.969, 21744.072, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_51 = _this;
_this setDir -107.46156;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -1100,6 +1115,9 @@ _unit_58 = objNull;
if (true) then
{
_this = createAgent ["FR_Cooper", [24767.756, 21747.711, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_58 = _this;
_this setDir -113.25089;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2135,6 +2153,9 @@ _unit_74 = objNull;
if (true) then
{
_this = createAgent ["Ins_Soldier_AR", [15523.848, 17039.621, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_74 = _this;
_this setDir 85.097282;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2145,6 +2166,9 @@ _unit_76 = objNull;
if (true) then
{
_this = createAgent ["TK_Commander_EP1", [15523.59, 17043.145], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_76 = _this;
_this setDir 88.600395;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2155,6 +2179,9 @@ _unit_78 = objNull;
if (true) then
{
_this = createAgent ["Ins_Soldier_GL", [15506.838, 16990.656, 1.2402413], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_78 = _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;
@@ -2164,6 +2191,9 @@ _unit_79 = objNull;
if (true) then
{
_this = createAgent ["RU_Damsel2", [15464.726, 17023.158, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_79 = _this;
_this setDir 98.796684;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2174,6 +2204,9 @@ _unit_80 = objNull;
if (true) then
{
_this = createAgent ["CIV_EuroMan01_EP1", [15535.36, 17013.445, -8.392334e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_80 = _this;
_this setDir 74.994469;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2184,6 +2217,9 @@ _unit_81 = objNull;
if (true) then
{
_this = createAgent ["RU_Villager1", [15516.595, 17037.814, 7.6293945e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_81 = _this;
_this setDir 252.18291;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2212,6 +2248,9 @@ _unit_83 = objNull;
if (true) then
{
_this = createAgent ["pook_Doc_Bell47", [15520.698, 16983.357, 5.3405762e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_83 = _this;
_this setDir -59.946384;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -3713,6 +3752,9 @@ _unit_118 = objNull;
if (true) then
{
_this = createAgent ["Citizen2_EP1", [13144.077, 6626.8535, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_118 = _this;
_this setDir 458.55975;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -3723,6 +3765,9 @@ _unit_121 = objNull;
if (true) then
{
_this = createAgent ["RU_Damsel5", [13171.156, 6627.7104, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_121 = _this;
_this setDir 177.21941;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -3733,6 +3778,9 @@ _unit_123 = objNull;
if (true) then
{
_this = createAgent ["RU_Doctor", [13191.037, 6634.4053], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_123 = _this;
_this setDir -98.320198;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -3743,6 +3791,9 @@ _unit_126 = objNull;
if (true) then
{
_this = createAgent ["TK_Soldier_AMG_EP1", [13191.296, 6616.9004], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_126 = _this;
_this setDir -389.45856;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -3753,6 +3804,9 @@ _unit_129 = objNull;
if (true) then
{
_this = createAgent ["TK_Soldier_Crew_EP1", [13187.883, 6615.8374, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_129 = _this;
_this setDir -2.9957929;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -3763,6 +3817,9 @@ _unit_130 = objNull;
if (true) then
{
_this = createAgent ["Profiteer1", [13154.665, 6602.7998], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_130 = _this;
_this setDir 23.611794;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -3827,6 +3884,9 @@ _unit_149 = objNull;
if (true) then
{
_this = createAgent ["RU_Soldier_Pilot", [15351.942, 18520.586, 0.08025299], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_149 = _this;
_this setDir -94.356766;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -3899,6 +3959,9 @@ _unit_153 = objNull;
if (true) then
{
_this = createAgent ["Tanny_PMC", [11041.085, 15684.497, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_153 = _this;
_this setDir 149.87318;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -3918,6 +3981,9 @@ _unit_155 = objNull;
if (true) then
{
_this = createAgent ["MVD_Soldier_Marksman", [16890.625, 1780.7633, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_155 = _this;
_this setDir 31.908611;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -3990,6 +4056,9 @@ _unit_160 = objNull;
if (true) then
{
_this = createAgent ["Soldier_MG_PMC", [223.62724, 22712.076, 0.00010681152], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_160 = _this;
_this setDir 129.51604;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -4070,6 +4139,9 @@ _unit_173 = objNull;
if (true) then
{
_this = createAgent ["GUE_Soldier_MG", [2446.0735, 3899.76], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_173 = _this;
_this setDir -97.42749;
_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

@@ -493,6 +493,9 @@ _unit_9 = objNull;
if (true) then
{
_this = createAgent ["Worker1", [3566.7996, 6822.4268, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_9 = _this;
_this setDir 93.120316;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -504,6 +507,9 @@ _unit_10 = objNull;
if (true) then
{
_this = createAgent ["Dr_Hladik_EP1", [3574.5276, 6826.0088, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_10 = _this;
_this setDir 59.318363;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -515,6 +521,9 @@ _unit_11 = objNull;
if (true) then
{
_this = createAgent ["CIV_EuroWoman01_EP1", [3567.4998, 6825.6235, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_11 = _this;
_this setDir 129.56522;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -615,6 +624,9 @@ _unit_13 = objNull;
if (true) then
{
_this = createAgent ["CIV_EuroMan02_EP1", [3577.5337, 6843.0664], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_13 = _this;
_this setDir 109.87543;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -626,6 +638,9 @@ _unit_14 = objNull;
if (true) then
{
_this = createAgent ["CIV_EuroMan01_EP1", [3578.8706, 6848.2681, -9.5367432e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_14 = _this;
_this setDir 122.72586;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -707,6 +722,9 @@ _unit_20 = objNull;
if (true) then
{
_this = createAgent ["TK_CIV_Takistani02_EP1", [4725.0669, 827.51367, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_20 = _this;
_this setDir 145.13918;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -718,6 +736,9 @@ _unit_21 = objNull;
if (true) then
{
_this = createAgent ["TK_CIV_Takistani03_EP1", [4728.353, 830.5683, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_21 = _this;
_this setDir 186.02428;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -738,6 +759,9 @@ _unit_24 = objNull;
if (true) then
{
_this = createAgent ["TK_CIV_Woman02_EP1", [4722.2773, 864.39056], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_24 = _this;
_this setDir 142.1062;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -767,6 +791,9 @@ _unit_26 = objNull;
if (true) then
{
_this = createAgent ["TK_CIV_Takistani05_EP1", [4727.292, 834.08929, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_26 = _this;
_this setDir 65.476814;
_this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';";
@@ -778,6 +805,9 @@ _unit_86 = objNull;
if (true) then
{
_this = createAgent ["Tanny_PMC", [3569.9138, 6818.8462, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_86 = _this;
_this setDir 36.478336;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -841,6 +871,9 @@ _unit_93 = objNull;
if (true) then
{
_this = createAgent ["Profiteer4", [3573.853, 6817.5674, -3.6239624e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_93 = _this;
_this setDir 42.312424;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -878,6 +911,9 @@ _unit_95 = objNull;
if (true) then
{
_this = createAgent ["TK_CIV_Takistani04_EP1", [4722.1758, 825.21582, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_95 = _this;
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;

View File

@@ -3,6 +3,9 @@ _unit_2 = objNull;
if (true) then
{
_this = createAgent ["RU_Worker1", [4250.3955, 4481.9404, 3.8481112], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_2 = _this;
_this setDir 13.246977;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -103,6 +106,9 @@ _unit_11 = objNull;
if (true) then
{
_this = createAgent ["Citizen2_EP1", [3011.9712, 5934.8613, 3.5805645], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_11 = _this;
_this setDir 7.3076472;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -141,6 +147,9 @@ _unit_15 = objNull;
if (true) then
{
_this = createAgent ["Worker1", [3005.1003, 5931.6553, 0.32037464], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_15 = _this;
_this setDir 267.2005;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -223,6 +232,9 @@ _unit_20 = objNull;
if (true) then
{
_this = createAgent ["Worker2", [6013.0737, 6629.2124, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_20 = _this;
_this setDir 138.41472;
_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 +537,9 @@ _unit_49 = objNull;
if (true) then
{
_this = createAgent ["Pilot_EP1", [7033.144, 7103.0996, -1.8119812e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_49 = _this;
_this setDir -50.393272;
_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 +623,9 @@ _unit_51 = objNull;
if (true) then
{
_this = createAgent ["Worker2", [6545.7944, 6867.1309, 0.13616294], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_51 = _this;
_this setDir 10.41416;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -770,6 +788,9 @@ _unit_59 = objNull;
if (true) then
{
_this = createAgent ["Worker4", [7551.1641, 3025.2014, 0.98590052], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_59 = _this;
_this setDir -101.36158;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -879,6 +900,9 @@ _unit_65 = objNull;
if (true) then
{
_this = createAgent ["Pilot", [4143.9258, 1481.0282, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_65 = _this;
_this setDir 71.022041;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -890,6 +914,9 @@ _unit_66 = objNull;
if (true) then
{
_this = createAgent ["RU_Madam3", [4181.9175, 2341.8435, 5.1864305], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_66 = _this;
_this setDir 273.64359;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1227,6 +1254,9 @@ _unit_71 = objNull;
if (true) then
{
_this = createAgent ["CIV_EuroMan01_EP1", [3610.2993, 3688.4067, 0.2740716], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_71 = _this;
_this setDir -160.882;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1238,6 +1268,9 @@ _unit_72 = objNull;
if (true) then
{
_this = createAgent ["CIV_EuroMan02_EP1", [3610.0063, 3685.4143, 0.2596041], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_72 = _this;
_this setDir -108.81454;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1249,6 +1282,9 @@ _unit_76 = objNull;
if (true) then
{
_this = createAgent ["Dr_Annie_Baker_EP1", [897.12573, 5270.0874, 3.6778364], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_76 = _this;
_this setDir -102.73165;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1260,6 +1296,9 @@ _unit_77 = objNull;
if (true) then
{
_this = createAgent ["CIV_EuroWoman01_EP1", [891.1792, 5271.9116, 0.56924075], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_77 = _this;
_this setDir 95.87394;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1298,6 +1337,9 @@ _unit_80 = objNull;
if (true) then
{
_this = createAgent ["Citizen3_EP1", [719.30035, 1576.938, 14.100372], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_80 = _this;
_this setDir 72.737617;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1408,6 +1450,9 @@ _unit_85 = objNull;
if (true) then
{
_this = createAgent ["ibr_lingorman2s", [3059.0198, 8021.9331, 2.8610229e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_85 = _this;
_this setDir -5.0591068;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1488,6 +1533,9 @@ _unit_87 = objNull;
if (true) then
{
_this = createAgent ["ibr_lingorman3s", [8348.2188, 8739.2813, 8.5592041], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_87 = _this;
_this setDir 367.17648;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1517,6 +1565,9 @@ _unit_90 = objNull;
if (true) then
{
_this = createAgent ["ibr_lingorman5", [7509.8115, 2951.6182, -8.5830688e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_90 = _this;
_this setDir 167.27051;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1698,6 +1749,9 @@ _unit_99 = objNull;
if (true) then
{
_this = createAgent ["Rocker4", [1724.6815, 4136.9688, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_99 = _this;
_this setDir 90.808693;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1860,6 +1914,9 @@ _unit_102 = objNull;
if (true) then
{
_this = createAgent ["ibr_lingorman7s", [2381.4463, 4119.7832, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_102 = _this;
_this setDir 82.011307;
_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 +2009,9 @@ _unit_106 = objNull;
if (true) then
{
_this = createAgent ["Damsel3", [2382.6038, 4114.354, -1.1444092e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_106 = _this;
_this setDir 88.664886;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1963,6 +2023,9 @@ _unit_109 = objNull;
if (true) then
{
_this = createAgent ["ibr_lingorman5s", [3925.5791, 5225.2319, 1.7729917], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_109 = _this;
_this setDir 89.601418;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1974,6 +2037,9 @@ _unit_111 = objNull;
if (true) then
{
_this = createAgent ["ibr_lingorman2", [3879.7634, 2236.843, 1.1846944], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_111 = _this;
_this setDir 43.212208;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1985,6 +2051,9 @@ _unit_113 = objNull;
if (true) then
{
_this = createAgent ["ibr_lingorman4", [5511.9951, 4394.8013, 4.1448889], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_113 = _this;
_this setDir 25.054167;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2140,6 +2209,9 @@ _unit_117 = objNull;
if (true) then
{
_this = createAgent ["TK_CIV_Woman02_EP1", [4236.6968, 4842.8164, 0.36117083], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_117 = _this;
_this setDir 194.36969;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2160,6 +2232,9 @@ _unit_120 = objNull;
if (true) then
{
_this = createAgent ["TK_CIV_Woman03_EP1", [6676.3252, 6361.1772, 0.72185659], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_120 = _this;
_this setDir 132.67206;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2171,6 +2246,9 @@ _unit_121 = objNull;
if (true) then
{
_this = createAgent ["ibr_lingorman7", [7508.0059, 2951.5234], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_121 = _this;
_this setDir 178.10352;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2182,6 +2260,9 @@ _unit_127 = objNull;
if (true) then
{
_this = createAgent ["ibr_lingorman6", [2375.4302, 4120.2432, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_127 = _this;
_this setDir 70.515434;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2209,6 +2290,9 @@ _unit_128 = objNull;
if (true) then
{
_this = createAgent ["ibr_lingorman6s", [1737.4084, 4142.3691, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_128 = _this;
_this setDir 184.57875;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2436,6 +2520,9 @@ _unit_154 = objNull;
if (true) then
{
_this = createAgent ["RU_Doctor", [6678.1494, 4294.6987, 0.55937135], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_154 = _this;
_this setDir 15.470127;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2447,6 +2534,9 @@ _unit_159 = objNull;
if (true) then
{
_this = createAgent ["TK_CIV_Takistani04_EP1", [4099.8921, 9243.417, 6.3896179e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_159 = _this;
_this setDir 170.86682;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2490,6 +2580,9 @@ _unit_169 = objNull;
if (true) then
{
_this = createAgent ["Functionary1", [4144.0195, 1478.6262], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_169 = _this;
_this setDir 467.24658;
_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

@@ -2,6 +2,9 @@ _unit_2 = objNull;
if (true) then
{
_this = createAgent ["RU_Worker1", [4250.3955, 4481.9404, 3.8481112], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_2 = _this;
_this setDir 13.246977;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -102,6 +105,9 @@ _unit_11 = objNull;
if (true) then
{
_this = createAgent ["Citizen2_EP1", [3011.9712, 5934.8613, 3.5805645], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_11 = _this;
_this setDir 7.3076472;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -140,6 +146,9 @@ _unit_15 = objNull;
if (true) then
{
_this = createAgent ["Worker1", [3005.1003, 5931.6553, 0.32037464], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_15 = _this;
_this setDir 267.2005;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -222,6 +231,9 @@ _unit_20 = objNull;
if (true) then
{
_this = createAgent ["TK_CIV_Worker01_EP1", [6013.0737, 6629.2124, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_20 = _this;
_this setDir 138.41472;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -524,6 +536,9 @@ _unit_49 = objNull;
if (true) then
{
_this = createAgent ["Pilot_EP1", [7033.144, 7103.0996, -1.8119812e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_49 = _this;
_this setDir -50.393272;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -607,6 +622,9 @@ _unit_51 = objNull;
if (true) then
{
_this = createAgent ["Worker2", [6545.7944, 6867.1309, 0.13616294], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_51 = _this;
_this setDir 10.41416;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -769,6 +787,9 @@ _unit_59 = objNull;
if (true) then
{
_this = createAgent ["Worker4", [7551.1641, 3025.2014, 0.98590052], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_59 = _this;
_this setDir -101.36158;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -878,6 +899,9 @@ _unit_65 = objNull;
if (true) then
{
_this = createAgent ["Pilot", [4143.9258, 1481.0282, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_65 = _this;
_this setDir 71.022041;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -889,6 +913,9 @@ _unit_66 = objNull;
if (true) then
{
_this = createAgent ["RU_Madam3", [4181.9175, 2341.8435, 5.1864305], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_66 = _this;
_this setDir 273.64359;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1226,6 +1253,9 @@ _unit_71 = objNull;
if (true) then
{
_this = createAgent ["CIV_EuroMan01_EP1", [3610.2993, 3688.4067, 0.2740716], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_71 = _this;
_this setDir -160.882;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1237,6 +1267,9 @@ _unit_72 = objNull;
if (true) then
{
_this = createAgent ["CIV_EuroMan02_EP1", [3610.0063, 3685.4143, 0.2596041], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_72 = _this;
_this setDir -108.81454;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1248,6 +1281,9 @@ _unit_76 = objNull;
if (true) then
{
_this = createAgent ["Dr_Annie_Baker_EP1", [897.12573, 5270.0874, 3.6778364], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_76 = _this;
_this setDir -102.73165;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1259,6 +1295,9 @@ _unit_77 = objNull;
if (true) then
{
_this = createAgent ["CIV_EuroWoman01_EP1", [891.1792, 5271.9116, 0.56924075], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_77 = _this;
_this setDir 95.87394;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1297,6 +1336,9 @@ _unit_80 = objNull;
if (true) then
{
_this = createAgent ["Citizen3_EP1", [719.30035, 1576.938, 14.100372], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_80 = _this;
_this setDir 72.737617;
_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 +1449,9 @@ _unit_85 = objNull;
if (true) then
{
_this = createAgent ["ibr_lingorman2s", [3059.0198, 8021.9331, 2.8610229e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_85 = _this;
_this setDir -5.0591068;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1487,6 +1532,9 @@ _unit_87 = objNull;
if (true) then
{
_this = createAgent ["ibr_lingorman3s", [8348.2188, 8739.2813, 8.5592041], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_87 = _this;
_this setDir 367.17648;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1516,6 +1564,9 @@ _unit_90 = objNull;
if (true) then
{
_this = createAgent ["ibr_lingorman5", [7509.8115, 2951.6182, -8.5830688e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_90 = _this;
_this setDir 167.27051;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1697,6 +1748,9 @@ _unit_99 = objNull;
if (true) then
{
_this = createAgent ["Rocker4", [1724.6815, 4136.9688, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_99 = _this;
_this setDir 90.808693;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1859,6 +1913,9 @@ _unit_102 = objNull;
if (true) then
{
_this = createAgent ["ibr_lingorman7s", [2381.4463, 4119.7832, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_102 = _this;
_this setDir 82.011307;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1951,6 +2008,9 @@ _unit_106 = objNull;
if (true) then
{
_this = createAgent ["Damsel3", [2382.6038, 4114.354, -1.1444092e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_106 = _this;
_this setDir 88.664886;
_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 +2022,9 @@ _unit_109 = objNull;
if (true) then
{
_this = createAgent ["ibr_lingorman5s", [3925.5791, 5225.2319, 1.7729917], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_109 = _this;
_this setDir 89.601418;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1973,6 +2036,9 @@ _unit_111 = objNull;
if (true) then
{
_this = createAgent ["ibr_lingorman2", [3879.7634, 2236.843, 1.1846944], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_111 = _this;
_this setDir 43.212208;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1984,6 +2050,9 @@ _unit_113 = objNull;
if (true) then
{
_this = createAgent ["ibr_lingorman4", [5509.2041, 4392.7847, 3.3642137], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_113 = _this;
_this setDir 25.054167;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2139,6 +2208,9 @@ _unit_117 = objNull;
if (true) then
{
_this = createAgent ["TK_CIV_Woman02_EP1", [4236.6968, 4842.8164, 0.36117083], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_117 = _this;
_this setDir 194.36969;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2159,6 +2231,9 @@ _unit_120 = objNull;
if (true) then
{
_this = createAgent ["TK_CIV_Woman03_EP1", [6676.3252, 6361.1772, 0.72185659], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_120 = _this;
_this setDir 132.67206;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2170,6 +2245,9 @@ _unit_121 = objNull;
if (true) then
{
_this = createAgent ["ibr_lingorman7", [7508.0059, 2951.5234], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_121 = _this;
_this setDir 178.10352;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2181,6 +2259,9 @@ _unit_127 = objNull;
if (true) then
{
_this = createAgent ["ibr_lingorman6", [2375.4302, 4120.2432, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_127 = _this;
_this setDir 70.515434;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2208,6 +2289,9 @@ _unit_128 = objNull;
if (true) then
{
_this = createAgent ["ibr_lingorman6s", [1737.4084, 4142.3691, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_128 = _this;
_this setDir 184.57875;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2435,6 +2519,9 @@ _unit_154 = objNull;
if (true) then
{
_this = createAgent ["RU_Doctor", [6678.1494, 4294.6987, 0.55937135], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_154 = _this;
_this setDir 15.470127;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -2446,6 +2533,9 @@ _unit_159 = objNull;
if (true) then
{
_this = createAgent ["TK_CIV_Takistani04_EP1", [4099.8921, 9243.417, 6.3896179e-005], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_159 = _this;
_this setDir 170.86682;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -2489,6 +2579,9 @@ _unit_169 = objNull;
if (true) then
{
_this = createAgent ["Functionary1", [4144.0195, 1478.6262], [], 0, "CAN_COLLIDE"];
{_this removeMagazine _x;} count magazines _this;
removeAllWeapons _this;
_this switchMove "";
_unit_169 = _this;
_this setDir 467.24658;
_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

@@ -1,98 +1,101 @@
private ["_guaranteedLoot","_randomizedLoot","_spawnChance","_spawnMarker","_spawnRadius","_spawnFire","_fadeFire","_crashModel","_lootTable","_crashName","_spawnRoll","_position","_crash","_config","_hasAdjustment","_newHeight","_adjustedPos","_num","_itemTypes","_index","_weights","_cntWeights","_nearby","_itemType","_needsrelocated","_istoomany"];
private ["_guaranteedLoot","_randomizedLoot","_spawnChance","_spawnMarker","_spawnRadius","_spawnFire","_fadeFire","_crashModel","_lootTable","_crashName","_spawnRoll","_position","_crash","_config","_hasAdjustment","_newHeight","_adjustedPos","_num","_itemTypes","_index","_weights","_cntWeights","_nearby","_itemType","_needsrelocated","_istoomany","_pos","_lootPos"];
_guaranteedLoot = 3;
_randomizedLoot = 4;
_spawnChance = 0.50;
_spawnChance = 0.50;
_spawnMarker = 'center';
// _spawnRadius = 5000;
_spawnRadius = HeliCrashArea;
_spawnFire = true;
_fadeFire = false;
_minLootRadius = 4;
_maxLootRadius = 4;
_spawnRoll = random 1;
if (_spawnRoll <= _spawnChance) then {
_crashModel = ["UH60Wreck_DZ","UH1Wreck_DZ","UH60_NAVY_Wreck_DZ","UH60_ARMY_Wreck_DZ","UH60_NAVY_Wreck_burned_DZ","UH60_ARMY_Wreck_burned_DZ","Mass_grave_DZ"] call BIS_fnc_selectRandom;
_crashModel = ["UH60Wreck_DZ","UH1Wreck_DZ","UH60_NAVY_Wreck_DZ","UH60_ARMY_Wreck_DZ","UH60_NAVY_Wreck_burned_DZ","UH60_ARMY_Wreck_burned_DZ","Mass_grave_DZ"] call BIS_fnc_selectRandom;
if(_crashModel == "Mass_grave_DZ") then {
_lootTable = "MassGrave";
} else {
_lootTable = "HeliCrash";
};
if(_crashModel == "Mass_grave_DZ") then {
_lootTable = "MassGrave";
} else {
_lootTable = "HeliCrash";
};
_maxLootRadius = _maxLootRadius - _minLootRadius;
_crashName = getText (configFile >> "CfgVehicles" >> _crashModel >> "displayName");
_crashName = getText (configFile >> "CfgVehicles" >> _crashModel >> "displayName");
// Loop for a new location without any vehicles
_needsrelocated = true;
while {_needsrelocated} do {
_position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,2000,0] call BIS_fnc_findSafePos;
_istoomany = _position nearObjects ["AllVehicles",10];
if((count _istoomany) == 0) then { _needsrelocated = false; };
};
// Loop for a new location without any vehicles
_needsrelocated = true;
while {_needsrelocated} do {
_position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,2000,0] call BIS_fnc_findSafePos;
_istoomany = _position nearObjects ["AllVehicles",10];
if((count _istoomany) == 0) then { _needsrelocated = false; };
};
//diag_log(format["CRASHSPAWNER: Spawning '%1' with loot table '%2' NOW! (%3) at: %4", _crashName, _lootTable, time, str(_position)]);
//diag_log(format["CRASHSPAWNER: Spawning '%1' with loot table '%2' NOW! (%3) at: %4", _crashName, _lootTable, time, str(_position)]);
_crash = createVehicle [_crashModel,_position, [], 0, "CAN_COLLIDE"];
// Randomize the direction the wreck is facing
_crash setDir round(random 360);
_crash = createVehicle [_crashModel,_position, [], 0, "CAN_COLLIDE"];
// Randomize the direction the wreck is facing
_crash setDir round(random 360);
// Using "custom" wrecks (using the destruction model of a vehicle vs. a prepared wreck model) will result
// in the model spawning halfway in the ground. To combat this, an OPTIONAL configuration can be tied to
// the CfgVehicles class you've created for the custom wreck to define how high above the ground it should
// spawn. This is optional.
_config = configFile >> "CfgVehicles" >> _crashModel >> "heightAdjustment";
_hasAdjustment = isNumber(_config);
_newHeight = 0;
if (_hasAdjustment) then {
_newHeight = getNumber(_config);
};
// Using "custom" wrecks (using the destruction model of a vehicle vs. a prepared wreck model) will result
// in the model spawning halfway in the ground. To combat this, an OPTIONAL configuration can be tied to
// the CfgVehicles class you've created for the custom wreck to define how high above the ground it should
// spawn. This is optional.
_config = configFile >> "CfgVehicles" >> _crashModel >> "heightAdjustment";
_hasAdjustment = isNumber(_config);
_newHeight = 0;
if (_hasAdjustment) then {
_newHeight = getNumber(_config);
};
// Must setPos after a setDir otherwise the wreck won't level itself with the terrain
_adjustedPos = [(_position select 0), (_position select 1), _newHeight];
//diag_log(format["DIAG: Designated Position: %1", str(_adjustedPos)]);
_crash setPos _adjustedPos;
// Must setPos after a setDir otherwise the wreck won't level itself with the terrain
_adjustedPos = [(_position select 0), (_position select 1), _newHeight];
//diag_log(format["DIAG: Designated Position: %1", str(_adjustedPos)]);
_crash setPos _adjustedPos;
// I don't think this is needed (you can't get "in" a crash), but it was in the original DayZ Crash logic
PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_crash];
// I don't think this is needed (you can't get "in" a crash), but it was in the original DayZ Crash logic
PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_crash];
_crash setVariable ["ObjectID","1",true];
_pos = getPos _crash;
// Disable simulation server side
_crash enableSimulation false;
_crash setVariable ["ObjectID","1",true];
_num = round(random _randomizedLoot) + _guaranteedLoot;
// Disable simulation server side
_crash enableSimulation false;
if(_crashModel == "Mass_grave_DZ") then {
_spawnFire = false;
_num = _num * 2;
};
_num = round(random _randomizedLoot) + _guaranteedLoot;
if (_spawnFire) then {
//["PVDZE_obj_Fire",[_crash,2,time,false,_fadeFire]] call broadcastRpcCallAll;
PVDZE_obj_Fire = [_crash,2,time,false,_fadeFire];
publicVariable "PVDZE_obj_Fire";
_crash setvariable ["fadeFire",_fadeFire,true];
};
if(_crashModel == "Mass_grave_DZ") then {
_spawnFire = false;
_num = _num * 2;
};
if (DZE_MissionLootTable) then {
_itemTypes = [] + getArray (missionConfigFile >> "CfgBuildingLoot" >> _lootTable >> "lootType");
} else {
_itemTypes = [] + getArray (configFile >> "CfgBuildingLoot" >> _lootTable >> "lootType");
};
_CBLBase = dayz_CBLBase find (toLower(_lootTable));
_weights = dayz_CBLChances select _CBLBase;
_cntWeights = count _weights;
if (_spawnFire) then {
//["PVDZE_obj_Fire",[_crash,2,time,false,_fadeFire]] call broadcastRpcCallAll;
PVDZE_obj_Fire = [_crash,2,time,false,_fadeFire];
publicVariable "PVDZE_obj_Fire";
_crash setvariable ["fadeFire",_fadeFire,true];
};
if (DZE_MissionLootTable) then {
_itemTypes = [] + getArray (missionConfigFile >> "CfgBuildingLoot" >> _lootTable >> "lootType");
} else {
_itemTypes = [] + getArray (configFile >> "CfgBuildingLoot" >> _lootTable >> "lootType");
};
_CBLBase = dayz_CBLBase find (toLower(_lootTable));
_weights = dayz_CBLChances select _CBLBase;
_cntWeights = count _weights;
for "_x" from 1 to _num do {
//create loot
_index1 = floor(random _cntWeights);
_index2 = _weights select _index1;
_itemType = _itemTypes select _index2;
[_itemType select 0, _itemType select 1, _position, 5] call spawn_loot;
};
// ReammoBox is preferred parent class here, as WeaponHolder wouldn't match MedBox0 && other such items.
_nearby = _position nearObjects ["ReammoBox", sizeOf(_crashModel)];
{
_x setVariable ["permaLoot",true];
} count _nearBy;
for "_x" from 1 to _num do {
//create loot
_maxLootRadius = (random _maxLootRadius) + _minLootRadius;
_lootPos = [_pos, _maxLootRadius, random 360] call BIS_fnc_relPos;
_index1 = floor(random _cntWeights);
_index2 = _weights select _index1;
_itemType = _itemTypes select _index2;
[_itemType select 0, _itemType select 1, _lootPos, 5] call spawn_loot;
};
// ReammoBox is preferred parent class here, as WeaponHolder wouldn't match MedBox0 && other such items.
_nearby = _pos nearObjects ["ReammoBox", sizeOf(_crashModel)];
{
_x setVariable ["permaLoot",true];
} count _nearBy;
};

View File

@@ -1,65 +1,68 @@
private ["_guaranteedLoot","_randomizedLoot","_spawnChance","_spawnMarker","_spawnRadius","_crashModel","_lootTable","_spawnRoll","_position","_crash","_config","_num","_itemTypes","_index","_weights","_cntWeights","_nearby","_itemType","_needsrelocated","_istoomany"];
private ["_guaranteedLoot","_randomizedLoot","_spawnChance","_spawnMarker","_spawnRadius","_crashModel","_lootTable","_spawnRoll","_position","_crash","_config","_num","_itemTypes","_index","_weights","_cntWeights","_nearby","_itemType","_needsrelocated","_istoomany","_pos","_lootPos"];
_guaranteedLoot = 4;
_randomizedLoot = 8;
_spawnChance = 0.50;
_spawnChance = 0.50;
_spawnMarker = 'center';
_spawnRadius = (HeliCrashArea/2);
_minLootRadius = 4;
_maxLootRadius = 4;
_spawnRoll = random 1;
if (_spawnRoll <= _spawnChance) then {
_crashModel = "Supply_Crate_DZE";
_lootTable = "SupplyDrop";
// Loop for a new location without any vehicles
_needsrelocated = true;
while {_needsrelocated} do {
_position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,2000,0] call BIS_fnc_findSafePos;
_istoomany = _position nearObjects ["AllVehicles",10];
if((count _istoomany) == 0) then { _needsrelocated = false; };
};
_crashModel = "Supply_Crate_DZE";
//diag_log(format["CRASHSPAWNER: Spawning '%1' with loot table '%2' NOW! (%3) at: %4", _crashName, _lootTable, time, str(_position)]);
_lootTable = "SupplyDrop";
_crash = createVehicle [_crashModel,_position, [], 0, "CAN_COLLIDE"];
// Randomize the direction the wreck is facing
_crash setDir round(random 360);
// Loop for a new location without any vehicles
_needsrelocated = true;
while {_needsrelocated} do {
_position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,2000,0] call BIS_fnc_findSafePos;
_istoomany = _position nearObjects ["AllVehicles",10];
if((count _istoomany) == 0) then { _needsrelocated = false; };
};
_crash setPos _position;
//diag_log(format["CRASHSPAWNER: Spawning '%1' with loot table '%2' NOW! (%3) at: %4", _crashName, _lootTable, time, str(_position)]);
// I don't think this is needed (you can't get "in" a crash), but it was in the original DayZ Crash logic
//PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_crash];
_crash = createVehicle [_crashModel,_position, [], 0, "CAN_COLLIDE"];
//_crash setVariable ["ObjectID","1",true];
// Randomize the direction the wreck is facing
_crash setDir round(random 360);
// Disable simulation server side
_crash enableSimulation false;
_crash setPos _position;
// I don't think this is needed (you can't get "in" a crash), but it was in the original DayZ Crash logic
//PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_crash];
//_crash setVariable ["ObjectID","1",true];
_pos = getPos _crash;
// Disable simulation server side
_crash enableSimulation false;
_num = (round(random _randomizedLoot)) + _guaranteedLoot;
if (DZE_MissionLootTable) then {
_itemTypes = [] + getArray (missionConfigFile >> "CfgBuildingLoot" >> _lootTable >> "lootType");
} else {
_itemTypes = [] + getArray (configFile >> "CfgBuildingLoot" >> _lootTable >> "lootType");
};
_CBLBase = dayz_CBLBase find (toLower(_lootTable));
_weights = dayz_CBLChances select _CBLBase;
_cntWeights = count _weights;
for "_x" from 1 to _num do {
//create loot
_index1 = floor(random _cntWeights);
_index2 = _weights select _index1;
_itemType = _itemTypes select _index2;
[_itemType select 0, _itemType select 1, _position, 5] call spawn_loot;
};
// ReammoBox is preferred parent class here, as WeaponHolder wouldn't match MedBox0 && other such items.
_nearby = _position nearObjects ["ReammoBox", sizeOf(_crashModel)];
{
_x setVariable ["permaLoot",true];
} count _nearBy;
if (DZE_MissionLootTable) then {
_itemTypes = [] + getArray (missionConfigFile >> "CfgBuildingLoot" >> _lootTable >> "lootType");
} else {
_itemTypes = [] + getArray (configFile >> "CfgBuildingLoot" >> _lootTable >> "lootType");
};
_CBLBase = dayz_CBLBase find (toLower(_lootTable));
_weights = dayz_CBLChances select _CBLBase;
_cntWeights = count _weights;
for "_x" from 1 to _num do {
//create loot
_maxLootRadius = (random _maxLootRadius) + _minLootRadius;
_lootPos = [_pos, _maxLootRadius, random 360] call BIS_fnc_relPos;
_index1 = floor(random _cntWeights);
_index2 = _weights select _index1;
_itemType = _itemTypes select _index2;
[_itemType select 0, _itemType select 1, _lootPos, 5] call spawn_loot;
};
// ReammoBox is preferred parent class here, as WeaponHolder wouldn't match MedBox0 && other such items.
_nearby = _position nearObjects ["ReammoBox", sizeOf(_crashModel)];
{
_x setVariable ["permaLoot",true];
} count _nearBy;
};

View File

@@ -1,5 +1,5 @@
dir = "@DayZ_Epoch";
name = "DayZ Epoch 1.0.5.1";
name = "DayZ Epoch 1.0.5.2";
actionName = "Website";
picture = "dayz_logo_ca.paa";
action = "http://www.dayzepoch.com";

90
SQF/redryder/config.cpp Normal file
View File

@@ -0,0 +1,90 @@
// RedRyder BB Gun by WillRobinson.
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
#define true 1
#define false 0
class CfgPatches
{
class RedRyder
{
units[] = {};
weapons[] = {RedRyder};
requiredVersion = 1.00000;
};
};
class CfgModels
{
class Default{};
class Weapon: Default{};
class RedRyder : Weapon{};
};
class CfgAmmo
{
class BulletBase;
class 177_BB: BulletBase {
model= \addons\redryder\models\BB_Round.p3d; //will need to be changed
simulation=shotShell;
soundHit[]={,0,1};
hit=3.7;indirectHit=0;indirectHitRange=0;
visibleFire=10;
audibleFire=10;
visibleFireTime=3;
deflecting=5;
airFriction = -0.001064;
fuseDistance = 0;
CraterEffects = "";
explosionEffects = "";
muzzleEffect = "BIS_Effects_Rifle";
};
};
class CfgMagazines
{
class CA_Magazine;
class 350Rnd_BB_Magazine: CA_Magazine {
scope = 2;
model= \addons\redryder\models\bb_magazine.p3d; //will need to be changed
picture="\addons\redryder\textures\bb_magazine_picture.paa"; //will need to be changed
displayName = 350 Count 177 Cal. BBs;
count=350;
ammo = 177_BB;
initSpeed = 175;
sound[]={"\addons\redryder\M9SD_S1", db8, 1,60}; //will need to be changed
reloadMagazineSound[]={"Ca\sounds\Weapons\rifles\M1014-reload",db-40,1,20};
descriptionShort = 350 Zink Coated .177, 4.5mm BBs;
};
};
class CfgWeapons
{
class Default {};
class Rifle: Default {};
class RedRyder: Rifle {
scope = 2;
model="\addons\redryder\models\RedRyder.p3d"; //will need to be changed
displayName = "RedRyder BB Gun";
displayNameMagazine="BB";
magazines[]={"350Rnd_BB_Magazine"};
recoil = "recoil_single_pistol_2outof3";
recoilProne = "recoil_single_pistol_prone_2outof3";
reloadTime=0.45;
sound[]={"\addons\redryder\RedRyder\M9SD_S1", db8, 1,60}; //will need to be changed
dispersion=0.00045;
minRange=0;minRangeProbab=0.30;
midRange=39;midRangeProbab=0.7;
maxRange=75;maxRangeProbab=0.05;
picture="\addons\redryder\textures\redryder_picture.paa"; //will need to be changed
handAnim[]={"OFP2_ManSkeleton","\Ca\weapons\data\Anim\M24.rtm"};
};
};

45
SQF/redryder/model.cfg Normal file
View File

@@ -0,0 +1,45 @@
class CfgSkeletons
{
class Default;
class redryder: Default
{
skeletonInherit="";
skeletonBones[]=
{
"lever",""
};
};
}
class CfgModels
{
class Default;
class redryder: Default
{
skeletonName = "redryder";
class Animations
{
class lever_up
{
type="rotation";
source="reload";
selection="lever";
axis="lever_axis";
memory=1;
minValue=0.000000;
maxValue=0.100000;
angle0=0.000000;
angle1=1.570796;
};
class lever_down:lever_up
{
minValue=0.950000;
maxValue=1.000000;
angle0=0.000000;
angle1=-1.570796;
};
};
};
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,32 @@
ambient[]={0.85000002,0.85000002,0.85000002,0.85000002};
diffuse[]={0.85000002,0.85000002,0.85000002,0.85000002};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={1,1,1,1};
specularPower=30;
PixelShaderID="NormalMapSpecularMap";
VertexShaderID="NormalMap";
class Stage1
{
texture="addons\redryder\textures\bb_NOHQ.paa"; //will need to be changed
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage2
{
texture="addons\redryder\textures\bb_SMDI.paa"; //will need to be changed
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,32 @@
ambient[]={0.85000002,0.85000002,0.85000002,0.85000002};
diffuse[]={0.85000002,0.85000002,0.85000002,0.85000002};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.80392158,0.80392158,0.80392158,1};
specularPower=150;
PixelShaderID="NormalMapSpecularMap";
VertexShaderID="NormalMap";
class Stage1
{
texture="addons\redryder\textures\redmap_NOHQ.paa"; //will need to be changed
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage2
{
texture="addons\redryder\textures\redmap1sd2_SMDI.paa"; //will need to be changed
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};

View File

@@ -1,2 +1,2 @@
@echo off
start "arma2" /min "Expansion\beta\arma2oaserver.exe" -port=2302 "-config=instance_11_Chernarus\config.cfg" "-cfg=instance_11_Chernarus\basic.cfg" "-profiles=instance_11_Chernarus" -name=instance_11_Chernarus "-mod=@DayZ_Epoch;@DayZ_Epoch_Server;"
start "arma2" /min arma2oaserver.exe -port=2302 "-config=instance_11_Chernarus\config.cfg" "-cfg=instance_11_Chernarus\basic.cfg" "-profiles=instance_11_Chernarus" -name=instance_11_Chernarus "-mod=@DayZ_Epoch;@DayZ_Epoch_Server;"

View File

@@ -1,2 +1,2 @@
@echo off
start "arma2" /min "Expansion\beta\arma2oaserver.exe" -port=2350 "-config=instance_12_duala\config.cfg" "-cfg=instance_12_duala\basic.cfg" "-profiles=instance_12_duala" -name=instance_12_duala "-mod=@duala;@DayZ_Epoch;@DayZ_Epoch_Server;"
start "arma2" /min arma2oaserver.exe -port=2350 "-config=instance_12_duala\config.cfg" "-cfg=instance_12_duala\basic.cfg" "-profiles=instance_12_duala" -name=instance_12_duala "-mod=@duala;@DayZ_Epoch;@DayZ_Epoch_Server;"

View File

@@ -1,2 +1,2 @@
@echo off
start "arma2" /min "Expansion\beta\arma2oaserver.exe" -port=2315 "-config=instance_13_Tavi\config.cfg" "-cfg=instance_13_Tavi\basic.cfg" "-profiles=instance_13_Tavi" -name=instance_13_Tavi "-mod=@tavi_DayZ_Epoch;@DayZ_Epoch;@DayZ_Epoch_Server;"
start "arma2" /min arma2oaserver.exe -port=2315 "-config=instance_13_Tavi\config.cfg" "-cfg=instance_13_Tavi\basic.cfg" "-profiles=instance_13_Tavi" -name=instance_13_Tavi "-mod=@tavi_DayZ_Epoch;@DayZ_Epoch;@DayZ_Epoch_Server;"

View File

@@ -1,2 +1,2 @@
@echo off
start "arma2" /min "Expansion\beta\arma2oaserver.exe" -port=2320 "-config=instance_15_namalsk\config.cfg" "-cfg=instance_15_namalsk\basic.cfg" "-profiles=instance_15_namalsk" -name=instance_15_namalsk "-mod=@namalsk;@DayZ_Epoch;@DayZ_Epoch_Server;"
start "arma2" /min arma2oaserver.exe -port=2320 "-config=instance_15_namalsk\config.cfg" "-cfg=instance_15_namalsk\basic.cfg" "-profiles=instance_15_namalsk" -name=instance_15_namalsk "-mod=@namalsk;@DayZ_Epoch;@DayZ_Epoch_Server;"

View File

@@ -1,2 +1,2 @@
@echo off
start "arma2" /min "Expansion\beta\arma2oaserver.exe" -port=2325 "-config=instance_16_panthera\config.cfg" "-cfg=instance_16_panthera\basic.cfg" "-profiles=instance_16_panthera" -name=instance_16_panthera "-mod=@panthera;@ibr_plants;@ibr_rn;@DayZ_Epoch;@DayZ_Epoch_Server;"
start "arma2" /min arma2oaserver.exe -port=2325 "-config=instance_16_panthera\config.cfg" "-cfg=instance_16_panthera\basic.cfg" "-profiles=instance_16_panthera" -name=instance_16_panthera "-mod=@panthera;@ibr_plants;@ibr_rn;@DayZ_Epoch;@DayZ_Epoch_Server;"

View File

@@ -1,2 +1,2 @@
@echo off
start "arma2" /min "Expansion\beta\arma2oaserver.exe" -port=2345 "-config=instance_18_sahrani\config.cfg" "-cfg=instance_18_sahrani\basic.cfg" "-profiles=instance_18_sahrani" -name=instance_18_sahrani "-mod=@caa1;@DayZ_Epoch;@DayZ_Epoch_Server;"
start "arma2" /min arma2oaserver.exe -port=2345 "-config=instance_18_sahrani\config.cfg" "-cfg=instance_18_sahrani\basic.cfg" "-profiles=instance_18_sahrani" -name=instance_18_sahrani "-mod=@caa1;@DayZ_Epoch;@DayZ_Epoch_Server;"

View File

@@ -1,2 +1,2 @@
@echo off
start "arma2" /min "Expansion\beta\arma2oaserver.exe" -port=2345 "-config=instance_19_poda\config.cfg" "-cfg=instance_19_poda\basic.cfg" "-profiles=instance_19_poda" -name=instance_19_poda "-mod=@FDF_Podagorsk;@DayZ_Epoch;@DayZ_Epoch_Server;"
start "arma2" /min arma2oaserver.exe -port=2345 "-config=instance_19_poda\config.cfg" "-cfg=instance_19_poda\basic.cfg" "-profiles=instance_19_poda" -name=instance_19_poda "-mod=@FDF_Podagorsk;@DayZ_Epoch;@DayZ_Epoch_Server;"

View File

@@ -1,2 +1,2 @@
@echo off
start "arma2" /min "Expansion\beta\arma2oaserver.exe" -port=2310 "-config=instance_1_takistan\config.cfg" "-cfg=instance_1_takistan\basic.cfg" "-profiles=instance_1_takistan" -name=instance_1_takistan "-mod=@DayZ_Epoch;@DayZ_Epoch_Server;" -cpuCount=4 -maxMem=1578 -exThreads=1
start "arma2" /min arma2oaserver.exe -port=2310 "-config=instance_1_takistan\config.cfg" "-cfg=instance_1_takistan\basic.cfg" "-profiles=instance_1_takistan" -name=instance_1_takistan "-mod=@DayZ_Epoch;@DayZ_Epoch_Server;" -cpuCount=4 -maxMem=1578 -exThreads=1

View File

@@ -1,2 +1,2 @@
@echo off
start "arma2" /min "Expansion\beta\arma2oaserver.exe" -port=2345 "-config=instance_20_fapovo\config.cfg" "-cfg=instance_20_fapovo\basic.cfg" "-profiles=instance_20_fapovo" -name=instance_20_fapovo "-mod=@fapovo;@lingor@;ibr_plants;@ibr_rn;DayZ_Epoch;@DayZ_Epoch_Server;"
start "arma2" /min arma2oaserver.exe -port=2345 "-config=instance_20_fapovo\config.cfg" "-cfg=instance_20_fapovo\basic.cfg" "-profiles=instance_20_fapovo" -name=instance_20_fapovo "-mod=@fapovo;@lingor@;ibr_plants;@ibr_rn;DayZ_Epoch;@DayZ_Epoch_Server;"

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