389 Commits

Author SHA1 Message Date
[VB]AWOL
98c396dd18 revert this change as it did nothing 2014-06-23 10:08:07 -05:00
vbawol
18d6b929e5 Merge pull request #1347 from Namindu/patch-4
Update CHANGE LOG 1.0.5.txt
2014-06-22 22:53:22 -05:00
vbawol
2db2410438 Merge pull request #1346 from Namindu/patch-3
Added CH53_DZE to Heli allowed to tow.
2014-06-22 22:53:02 -05:00
Namindu
568ce050ce Update CHANGE LOG 1.0.5.txt 2014-06-22 18:56:34 -07:00
Namindu
8d37745870 Added CH53_DZE to Heli allowed to tow.
#1344
2014-06-22 18:51:18 -07:00
[VB]AWOL
b4ed5bc183 change path for death screen 2014-06-22 17:32:26 -05:00
[VB]AWOL
2bda70b516 1.8 code merge needed here and revert x2 limit change 2014-06-22 17:20:51 -05:00
[VB]AWOL
c651816e9f fixed #1343 2014-06-22 17:20:02 -05:00
[VB]AWOL
cffd65f839 increase WH limits x2 2014-06-22 17:00:27 -05:00
[VB]AWOL
ed3d944fbf should fix #1339 2014-06-22 13:11:57 -05:00
[VB]AWOL
335dd6cba1 readded RscStructuredText for tag system... 2014-06-22 12:48:17 -05:00
[VB]AWOL
499b18978a double var def here 2014-06-19 10:46:30 -05:00
[VB]AWOL
03804cbf82 RC5 2014-06-19 10:32:07 -05:00
Skaronator.com
ed956d0455 Merge pull request #1333 from raginruffalo/patch-2
Rename MakerovSD.hpp to MakarovSD.hpp
2014-06-18 23:11:59 +02:00
Skaronator.com
d84178d069 Merge pull request #1337 from raginruffalo/patch-3
Update CfgWeapons.hpp
2014-06-18 23:10:39 +02:00
CommuneCode
6aa7b3dc6a Update CfgWeapons.hpp 2014-06-18 16:48:25 -04:00
vbawol
babeceb02d Merge pull request #1336 from Namindu/patch-2
Update CHANGE LOG 1.0.5.txt
2014-06-18 13:59:29 -05:00
Namindu
041ccb3be2 Update CHANGE LOG 1.0.5.txt 2014-06-18 11:58:13 -07:00
Skaronator.com
d9f492cdca Update player_tagFriendly.sqf 2014-06-18 20:57:12 +02:00
Skaronator.com
0c8737777e Merge pull request #1334 from Namindu/patch-1
"(_callerID != 0)" was listed twice, in "If"
2014-06-18 20:54:39 +02:00
Namindu
9b4d2651e2 "(_callerID != 0)" was listed twice, in "If"
Their were two "(_callerID != 0)" so i change the second one to "(_targetID != 0)". Hopefully that should fix it.
2014-06-18 10:18:13 -07:00
Skaronator.com
919e65d19e Cleanup code #1320 2014-06-18 14:27:54 +02:00
CommuneCode
e25641aaa0 Rename MakerovSD.hpp to MakarovSD.hpp 2014-06-17 23:42:05 -04:00
[VB]AWOL
a5452ab019 fixed #1328 2014-06-16 12:11:01 -05:00
icomrade
46e84ccf7c Update CHANGE LOG 1.0.5.txt 2014-06-15 13:36:18 -04:00
icomrade
ee3df72d56 Minimum 5 minute knockout if cardiac 2014-06-15 11:55:09 -04:00
icomrade
f6b267e167 fix 1327 2014-06-15 11:52:20 -04:00
icomrade
0176e5efbb fix #1318
Issue caused by f0e7622856
2014-06-13 16:50:39 -04:00
icomrade
aa416e43fc Fix #1303 2014-06-13 15:31:43 -04:00
icomrade
a79e86ba33 Hopefully get names 100% of the time now 2014-06-13 14:13:51 -04:00
icomrade
b113c2e353 Fix group cleanup 2014-06-13 13:15:14 -04:00
icomrade
b43a8f8390 Unconscious cleanup 2014-06-13 13:08:09 -04:00
[VB]AWOL
added923f8 forgot include for CH53 2014-06-12 10:35:09 -05:00
[VB]AWOL
234b97f4b2 revert counts here should fix #1318
This likely was causing issues with crafting also and (performance gain
is unknown)
2014-06-11 16:49:24 -05:00
vbawol
db6c3ec6ac Update CHANGE LOG 1.0.5.txt 2014-06-11 09:30:23 -05:00
vbawol
426dbb36cc Merge pull request #1325 from Namindu/patch-30
Can i get some credit?
2014-06-10 23:38:10 -05:00
Namindu
8f15e5f4ff Can i get some credit? 2014-06-10 20:46:09 -07:00
[VB]AWOL
32146dd079 another little thing 2014-06-10 12:22:21 -05:00
[VB]AWOL
5ef386e5f4 fixed #1312 2014-06-10 12:18:50 -05:00
icomrade
ad6530c579 Little thing 2014-06-10 13:03:43 -04:00
[VB]AWOL
6757429878 fixed #1317 2014-06-10 11:51:00 -05:00
icomrade
b144c7dce6 Fix death messages 2014-06-09 13:01:56 -04:00
icomrade
92b942757d This causes errors 2014-06-09 12:58:00 -04:00
icomrade
a8f3fc3b30 Undefined Vars 2014-06-09 12:56:18 -04:00
vbawol
9cdb49a8ea Merge pull request #1321 from Namindu/patch-29
I forgot a ";"
2014-06-08 23:59:46 -05:00
Namindu
98b00ed2cd I forgot a ";" 2014-06-08 21:39:31 -07:00
vbawol
af24ff3291 Merge pull request #1319 from Namindu/patch-28
apply "false" to the variable "_abort"
2014-06-08 15:44:18 -05:00
Namindu
87a914ca9e apply "false" to the variable "_abort" 2014-06-08 13:39:41 -07:00
[VB]AWOL
f886cea45a fixed #1297 2014-06-08 14:37:14 -05:00
[VB]AWOL
2215c3040e use dze instead 2014-06-08 13:58:04 -05:00
[VB]AWOL
899f8c93e1 fixed us53 2014-06-08 13:57:22 -05:00
[VB]AWOL
c9c6f0309a fixed #1311 2014-06-07 18:05:19 -05:00
[VB]AWOL
d4bfc2e4c1 should fix #1208 2014-06-07 17:54:49 -05:00
[VB]AWOL
873b6026c7 Error Undefined variable in expression: dayz_disablerespawn 2014-06-07 17:48:31 -05:00
vbawol
07f0e8f4b5 Merge pull request #1315 from Uro1/master
CH53_DZE Error in CfgVehicles\AIR\CH53.hpp
2014-06-07 11:45:39 -05:00
Uro1
27a1f82065 CH53_DZE Error in CfgVehicles\AIR\CH53.hpp
Quotes left in for empty magazine array
2014-06-07 11:44:37 +01:00
Uro1
57dfbe8f34 Merge pull request #1 from vbawol/master
Merge from master
2014-06-05 17:40:01 +01:00
icomrade
6fc575cacc Fix #1278 2014-06-04 20:41:50 -04:00
icomrade
65c08ace63 Fix #1279 2014-06-04 20:33:32 -04:00
icomrade
40b1063fa9 Blood bag issue #1310
Needs a test.
Fixed timer.
2014-06-04 20:26:31 -04:00
icomrade
d6a5b6ae67 Config errors 2014-06-04 19:22:31 -04:00
[VB]AWOL
55e394d00a one more building 2014-06-04 14:58:34 -05:00
vbawol
aabebc05ad Merge pull request #1309 from Uro1/master
Wrong string from stingtable
2014-06-04 13:33:47 -05:00
Uro1
9ab56cffe5 Wrong string from stingtable
Right click option shows "Craft Bandage" when it should be "Craft
Canvas".
2014-06-04 18:53:19 +01:00
[VB]AWOL
4c314b8c3c increase default here to 3 2014-06-02 15:25:46 -05:00
[VB]AWOL
e9faa77d8f added @icomrade to Contributors 2014-06-02 15:25:02 -05:00
[VB]AWOL
859173aad3 Merge branch 'master' of https://github.com/vbawol/DayZ-Epoch 2014-06-02 15:16:41 -05:00
vbawol
303a097e59 Update CHANGE LOG 1.0.5.txt 2014-06-02 15:14:33 -05:00
[VB]AWOL
7b4af30c21 force mouse to center of screen on gear open. 2014-06-02 15:11:34 -05:00
[VB]AWOL
0f008a62df not used 2014-06-02 14:40:42 -05:00
[VB]AWOL
d3dc9bd22e typo fixes, #1300 2014-06-02 14:39:37 -05:00
[VB]AWOL
1317497db8 not used and throwing errors 2014-06-02 14:38:55 -05:00
[VB]AWOL
726e4e0c22 push inventory global for now 2014-06-02 14:17:27 -05:00
[VB]AWOL
a6953a69c2 should fix #1291 2014-06-02 13:46:55 -05:00
[VB]AWOL
af1725f5ec crafting lumber or plywood packs no longer need workbench 2014-06-02 13:40:59 -05:00
[VB]AWOL
e7571b072d commented out more diag_logs 2014-06-02 13:40:26 -05:00
[VB]AWOL
d88d497e16 RC3 test only 2014-06-01 12:23:46 -05:00
[VB]AWOL
e72d6617ed revert bleeding icon 2014-06-01 12:23:38 -05:00
[VB]AWOL
77697cd8ee fixed weapon loot spawning 2014-06-01 12:23:07 -05:00
[VB]AWOL
00383dd8d0 fixed typo in mission files 2014-06-01 02:45:20 -05:00
icomrade
6b9b176736 More #1288 2014-06-01 03:29:44 -04:00
[VB]AWOL
77d835289b revert nested counts here 2014-06-01 02:26:46 -05:00
[VB]AWOL
5ad78ec051 fixed typos added IGNORE 2014-06-01 02:25:21 -05:00
[VB]AWOL
c2f216dac8 count not working well here 2014-06-01 02:10:26 -05:00
[VB]AWOL
dffa644cf4 RC2 server pbo test only 2014-06-01 02:09:17 -05:00
[VB]AWOL
645a115f21 should fix last few loot issues 2014-06-01 02:08:41 -05:00
[VB]AWOL
cabec25e5d count not working well here 2014-06-01 02:08:21 -05:00
[VB]AWOL
04f509f340 Merge branch 'master' of https://github.com/vbawol/DayZ-Epoch 2014-06-01 02:07:41 -05:00
icomrade
a82fb4e4fc Fix #1287 2014-06-01 03:00:54 -04:00
[VB]AWOL
57eb28d1f3 seems to be needed for nested counts 2014-06-01 01:39:33 -05:00
[VB]AWOL
1948965489 CH53_DZE instead of USEC_CH53_DZE... 2014-06-01 01:23:15 -05:00
[VB]AWOL
d2fcfefb0b removed diag_log 2014-06-01 01:18:19 -05:00
[VB]AWOL
13d8023e82 fixed #1290 2014-06-01 01:17:28 -05:00
[VB]AWOL
ef546dbf3a fixed typo and missing parent classes 2014-05-31 23:52:28 -05:00
[VB]AWOL
433163e67d fixes #1185 and #1181
revert changes to loot positions and added new positions for dayzero
buildings fixes
2014-05-31 23:41:08 -05:00
[VB]AWOL
22ae8fbe22 RC1 1.0.5 test only 2014-05-31 11:42:33 -05:00
Skaronator
5af8afefb0 Remove own custom stuff
Anyway thanks for doing this ;)
2014-05-28 19:55:06 +02:00
icomrade
e54b9983dd Replace forEach with Count
Use count where you do not need _forEachIndex variable, it's quicker
than forEach.
2014-05-27 15:37:57 -04:00
icomrade
91d246e64e More even distribution of return 2014-05-27 15:36:56 -04:00
icomrade
774441ef45 Deprecated/Slow Commands
Stop using them!
2014-05-27 15:03:53 -04:00
icomrade
88ded0f3c0 Fixes 2014-05-27 13:51:35 -04:00
icomrade
2506636938 Remove logging 2014-05-27 12:47:54 -04:00
icomrade
985d205ec2 Customize self transfusion settings 2014-05-27 12:40:42 -04:00
icomrade
90b128f4ba Lint/config errors 2014-05-27 12:40:21 -04:00
vbawol
80cfbd668c Update CHANGE LOG 1.0.5.txt 2014-05-19 18:22:16 -05:00
vbawol
d4b680b4a1 Update CHANGE LOG 1.0.5.txt 2014-05-19 18:18:14 -05:00
[VB]AWOL
bdd7dfbe99 Fixed #1144 2014-05-19 18:11:36 -05:00
vbawol
9d4b7ad4fc Merge pull request #1271 from Sandbird/patch-3
Update server_playerSync.sqf
2014-05-19 00:33:48 -05:00
vbawol
8340113203 Merge pull request #1266 from Cornyfisch/master
Check trade requirements before animation
2014-05-19 00:32:32 -05:00
icomrade
ad369f18ff ??? 2014-05-17 11:19:09 -04:00
Sandbird
55d49c279b Update server_playerSync.sqf
With str(_currentModel) it adds quotes in the database so it becomes : "GUE_Soldier_CO_DZ"  breaking the skin. Either comment that line or set to to what i did :)
2014-05-14 16:24:30 +03:00
icomrade
af86c90bff #1261
Random skin selection from nested array
2014-05-14 00:57:58 -04:00
icomrade
2c23aa517d Better logging 2014-05-14 00:39:15 -04:00
vbawol
cd4197e617 Merge pull request #1267 from Sandbird/patch-1
Update object_setFixServer.sqf
2014-05-13 08:14:46 -05:00
Sandbird
08b4e53e33 Update object_setFixServer.sqf
missing commas
2014-05-13 14:16:20 +03:00
Cornyfisch
881362d237 Moved gear logic 2014-05-13 00:49:02 +02:00
Cornyfisch
4d6055af8b Check trade requirements before animation 2014-05-12 19:09:14 +02:00
[VB]AWOL
05e0df06aa comment out gui backgrounds 2014-05-09 14:24:37 -05:00
[VB]AWOL
9b52797f84 Finish updating loot system to 1.8 with custom epoch features 2014-05-09 14:23:09 -05:00
vbawol
feec3e19f5 Merge pull request #1264 from raginruffalo/master
You actually need the slash when using a pboprefix
2014-05-09 13:44:14 -05:00
CommuneCode
bbb869bac9 You actually need the slash when using a pboprefix 2014-05-09 14:38:13 -04:00
vbawol
af0b5e14bb removed as this could actually cause more issues. 2014-05-08 08:41:27 -05:00
[VB]AWOL
907b4c1cda add version check log when mismatch 2014-05-07 15:31:28 -05:00
vbawol
f511357358 Merge pull request #1259 from Sandbird/patch-1
Update server_functions.sqf
2014-05-07 13:59:53 -05:00
vbawol
e902254fd5 Merge pull request #1258 from raginruffalo/patch-1
Update CHANGE LOG 1.0.5.txt
2014-05-07 13:59:19 -05:00
Sandbird
30a9527d16 Update server_functions.sqf 2014-05-07 21:53:53 +03:00
[VB]AWOL
c92e43c763 fixed typo 2014-05-07 12:50:16 -05:00
[VB]AWOL
de146327fe update versions to 1.0.5 2014-05-07 12:22:47 -05:00
vbawol
638f65f56c Merge pull request #1247 from raginruffalo/master
Added the configs for the CH53
2014-05-07 12:19:58 -05:00
[VB]AWOL
aa5d510ccf merge pull request #1247 2014-05-07 12:17:41 -05:00
Josh
34695bd92d Update CHANGE LOG 1.0.5.txt 2014-05-07 12:39:28 -04:00
Josh
5c8049a476 Update 1.0.5_Updates.sql 2014-05-07 12:36:33 -04:00
[VB]AWOL
b556348a9d fixed duplicate config entry 2014-05-07 10:22:13 -05:00
[VB]AWOL
9483ed817f remove background of icons. simple = better 2014-05-07 10:16:12 -05:00
[VB]AWOL
3d97f6e17d add logging method for lock/unlock 2014-05-07 10:06:12 -05:00
[VB]AWOL
e1577bc4f3 Revert to previous code for lock and unlock safes
Should fix dupe issues introduced with that newer system
2014-05-07 09:44:41 -05:00
[VB]AWOL
6193106f7f normalize trader stock on update.sql 2014-05-07 08:39:12 -05:00
vbawol
2d4dd552c0 Merge pull request #1253 from Sandbird/master
Update trade_any_vehicle.sqf
2014-05-07 08:03:28 -05:00
Josh
f1130d121f Update config.cpp 2014-05-06 14:35:45 -04:00
Florian Kinder
3436ae2111 Merge pull request #1257 from raginruffalo/patch-1
Update CHANGE LOG 1.0.5.txt
2014-05-06 20:35:32 +02:00
Josh
bcd62cb00e Update CHANGE LOG 1.0.5.txt 2014-05-06 14:16:04 -04:00
Florian Kinder
e3f003b19b Merge pull request #1256 from raginruffalo/patch-1
The MakarovSD should only accept SD cartridges
2014-05-06 19:06:58 +02:00
Josh
589ddc35d6 The MakarovSD should only accept SD cartridges 2014-05-06 12:53:42 -04:00
Josh
6ab4103b7f Game still recognizes without the back slash there 2014-05-05 13:48:56 -04:00
Josh
f4e9982e90 Semicolon not needed for #include 2014-05-05 13:24:37 -04:00
Sandbird
f636754aea Update trade_any_vehicle.sqf
Otherwise you get 
Error position: <== _objectCharacterId) then {
Error Generic error in expression

I am surprised no one complained that the key is not getting removed from the inventory...
2014-05-03 21:50:08 +03:00
Josh
376a55f09d Update CH53.hpp 2014-05-02 21:42:56 -04:00
Josh
099b83daf6 Update CH53.hpp 2014-05-03 01:19:20 +08:00
Josh
b9236a7e90 Fixed anther syntax error 2014-05-02 21:34:54 +08:00
Josh
e37fb5e6db Syntax error, glad I caught that 2014-05-01 22:08:48 -04:00
eltexonline
b7ccf30d20 Merge pull request #1246 from raginruffalo/patch-1
Fixed my blunder from before
2014-05-01 21:04:29 -05:00
Josh
165dd1b545 Update CH53.hpp 2014-05-01 22:04:25 -04:00
Josh
a3dfbde300 Added in the whole config stuff for the CH53 2014-05-01 22:02:33 -04:00
Josh
4e60c8b086 Fixed my blunder from before, will upload configs too 2014-05-01 21:53:07 -04:00
Josh
fb7b8e9d92 Update CH53.hpp 2014-05-01 14:19:40 -04:00
Josh
63a56b3130 Create CH53.hpp 2014-05-01 14:16:49 -04:00
Florian Kinder
b6750055be Updated Changelog 2014-05-01 02:34:39 +02:00
Florian Kinder
bdd3f4312d Merge pull request #1218 from raginruffalo/master
Added USEC CH53 to Traders
2014-05-01 02:33:27 +02:00
Florian Kinder
83a342cb7c Merge pull request #1243 from Namindu/patch-26
Added USEC CH53 to dynamic Vehicle spawn
2014-05-01 01:55:51 +02:00
Florian Kinder
c540ee65d3 Merge pull request #1242 from Namindu/patch-25
Added USEC CH53 to dynamic Vehicle spawn
2014-05-01 01:55:28 +02:00
Namindu
df29c690b4 Added USEC CH53 to dynamic Vehicle spawn 2014-04-30 16:54:49 -07:00
Florian Kinder
1109010a02 Merge pull request #1241 from Namindu/patch-24
Added USEC CH53 to dynamic Vehicle spawn
2014-05-01 01:52:15 +02:00
Namindu
f6f8e45b83 Added USEC CH53 to dynamic Vehicle spawn 2014-04-30 16:51:53 -07:00
Florian Kinder
43591797e8 Merge pull request #1240 from Namindu/patch-11
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:49:32 +02:00
Namindu
a03a276894 Added USEC CH53 to dynamic Vehicle spawn 2014-04-30 16:48:55 -07:00
Florian Kinder
296dc59f27 Merge pull request #1239 from Namindu/patch-12
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:48:03 +02:00
Florian Kinder
f35a374f3b Merge pull request #1238 from Namindu/patch-13
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:47:21 +02:00
Florian Kinder
cdde8328db Merge pull request #1237 from Namindu/patch-14
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:47:17 +02:00
Florian Kinder
413563d3c4 Merge pull request #1236 from Namindu/patch-15
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:47:10 +02:00
Florian Kinder
a29c362ab2 Merge pull request #1235 from Namindu/patch-16
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:46:43 +02:00
Florian Kinder
89840388f2 Merge pull request #1234 from Namindu/patch-17
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:46:35 +02:00
Florian Kinder
3a8651603b Merge pull request #1233 from Namindu/patch-20
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:46:30 +02:00
Florian Kinder
1bcc6b8a9a Merge pull request #1232 from Namindu/patch-21
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:46:19 +02:00
Florian Kinder
81094e6275 Merge pull request #1231 from Namindu/patch-23
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:46:09 +02:00
Florian Kinder
b5ef0530e2 Merge pull request #1230 from Namindu/patch-19
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:46:04 +02:00
Namindu
e28a0526a1 Added USEC CH53 to dynamic Vehicle spawn. 2014-04-30 16:45:41 -07:00
Florian Kinder
b100ca89e6 Merge pull request #1229 from Namindu/patch-10
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:45:11 +02:00
Namindu
ae2668c195 Added USEC CH53 to dynamic Vehicle spawn. 2014-04-30 16:45:07 -07:00
Florian Kinder
188825ebc0 Merge pull request #1228 from Namindu/patch-9
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:45:00 +02:00
Namindu
209d7f4d04 Added USEC CH53 to dynamic Vehicle spawn. 2014-04-30 16:44:59 -07:00
Namindu
36db1015b5 Added USEC CH53 to dynamic Vehicle spawn. 2014-04-30 16:44:50 -07:00
Florian Kinder
bb87b52340 Merge pull request #1227 from Namindu/patch-8
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:44:50 +02:00
Florian Kinder
df0845e702 Merge pull request #1226 from Namindu/patch-7
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:44:41 +02:00
Florian Kinder
5c5a0b2e3a Merge pull request #1225 from Namindu/patch-6
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:44:36 +02:00
Namindu
4c0e6f68e7 Added USEC CH53 to dynamic Vehicle spawn. 2014-04-30 16:44:08 -07:00
Florian Kinder
6d15d3facc Merge pull request #1224 from Namindu/patch-5
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:44:08 +02:00
Namindu
6861f9eec7 Added USEC CH53 to dynamic Vehicle spawn. 2014-04-30 16:44:04 -07:00
Florian Kinder
cda042a5bc Merge pull request #1223 from Namindu/patch-4
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:44:02 +02:00
Namindu
2e124db29a Added USEC CH53 to dynamic Vehicle spawn. 2014-04-30 16:43:59 -07:00
Namindu
f409946072 Added USEC CH53 to dynamic Vehicle spawn. 2014-04-30 16:43:56 -07:00
Florian Kinder
2101b18b0a Merge pull request #1222 from Namindu/patch-3
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:43:55 +02:00
Namindu
b7c6dfed53 Added USEC CH53 to dynamic Vehicle spawn. 2014-04-30 16:43:52 -07:00
Namindu
98b1fe56a5 Added USEC CH53 to dynamic Vehicle spawn. 2014-04-30 16:43:48 -07:00
Florian Kinder
66eb30fd15 Merge pull request #1221 from Namindu/patch-2
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:43:48 +02:00
Namindu
f174e4b2a7 Added USEC CH53 to dynamic Vehicle spawn. 2014-04-30 16:43:43 -07:00
Florian Kinder
f5ad4672b3 Merge pull request #1220 from Namindu/patch-1
Added USEC CH53 to dynamic Vehicle spawn.
2014-05-01 01:43:13 +02:00
Namindu
cf53406795 Added USEC CH53 to dynamic Vehicle spawn. 2014-04-30 16:43:00 -07:00
Namindu
4d87fb9d4b Added USEC CH53 to dynamic Vehicle spawn. 2014-04-30 16:42:39 -07:00
Namindu
eefbc3b209 Added USEC CH53 to dynamic Vehicle spawn. 2014-04-30 16:42:30 -07:00
Namindu
1769792a10 Added USEC CH53 to dynamic Vehicle spawn. 2014-04-30 16:42:20 -07:00
Namindu
c77e5d263a Added USEC CH53 to dynamic Vehicle spawn. 2014-04-30 16:42:09 -07:00
Namindu
bfd0fc3664 Added USEC CH53 to dynamic Vehicle spawn. 2014-04-30 16:41:59 -07:00
Namindu
f30c2be426 Added USEC CH53 to dynamic Vehicle spawn. 2014-04-30 16:41:09 -07:00
Namindu
fd0da54a15 Added USEC CH53 to dynamic Vehicle spawn.
#1220
2014-04-30 16:39:18 -07:00
Namindu
5090fe67d3 Added USEC CH53 to dynamic Vehicle spawn. 2014-04-30 16:37:46 -07:00
Namindu
14ffe25b68 Added USEC CH53 to dynamic Vehicle spawn. 2014-04-30 16:28:44 -07:00
Josh
5029315b78 Update 1.0.5_Updates.sql 2014-04-29 14:13:00 -04:00
Josh
d3053dcd4c Update 1.0.5_Updates.sql 2014-04-29 14:08:34 -04:00
Florian Kinder
370f0ad5f1 Merge pull request #1217 from Sandbird/patch-1
Update trade_any_vehicle.sqf
2014-04-29 19:51:18 +02:00
Josh
4a2b2c72f0 Updated SQL to include USEC CH53 at Traders 2014-04-29 13:49:53 -04:00
Sandbird
be18f51f8a Update trade_any_vehicle.sqf
Wrong value..probably a copy/paste from another file.
2014-04-29 20:45:56 +03:00
Josh
52c9d251cf Update CHANGE LOG 1.0.5.txt 2014-04-28 14:41:00 -04:00
vbawol
92c80a2b7b Merge pull request #1206 from Sandbird/master
Update server_updateObject.sqf
2014-04-24 19:37:16 -05:00
[VB]AWOL
54f690bcd8 typo thanks to sublime text.. 2014-04-24 09:42:14 -05:00
Sandbird
aa6ff16eac Update CfgSounds.hpp
Missing female sounds.
The files exist in the \zombie folder but no reference to them.
A bit annoying to have to copy the files in the mission folder for using these female sounds.
2014-04-24 15:44:53 +03:00
Sandbird
f82a84146e Update server_updateObject.sqf
missing ; from all _object setHit ["_selection", _hit]
2014-04-24 15:30:03 +03:00
[VB]AWOL
13babfec28 simplify dump backpack code
hopefully fix #1159
2014-04-23 18:03:17 -05:00
[VB]AWOL
6ef0acd135 fixed typo 2014-04-23 15:44:14 -05:00
[VB]AWOL
2c7a5c6c9e converted small loot table to 1.8+ format 2014-04-23 15:37:24 -05:00
[VB]AWOL
db8d2bd8f8 readd custom loot codes and DZE_missionloot 2014-04-23 14:12:02 -05:00
[VB]AWOL
99e4f0be32 updated to work with cfglootsmall and DZE_missonloot 2014-04-23 14:12:01 -05:00
[VB]AWOL
e145b06542 readded small loot spawn code 2014-04-23 14:12:01 -05:00
[VB]AWOL
b127c5ebd1 readded cfglootsmall 2014-04-23 14:12:00 -05:00
eltexonline
d75544559d Update CHANGE LOG 1.0.5.txt 2014-04-23 13:16:23 -05:00
Skaronator
8262431ba3 Fix #1192 2014-04-05 13:27:28 +02:00
[VB]AWOL
928d4ff18f fixed #1190 2014-03-29 19:30:26 -05:00
[VB]AWOL
d4837bebca fixed #1161 and combine bars button 2014-03-29 15:21:21 -05:00
[VB]AWOL
8ddcf24bde fixed #1143 2014-03-29 14:18:26 -05:00
[VB]AWOL
f24ef95e12 Test Build 2014-03-29 13:19:20 -05:00
[VB]AWOL
82b35d4a02 fixed #1166 2014-03-29 13:19:01 -05:00
icomrade
514d21bdea Remove Spawn, fix oversight 2014-03-27 14:21:22 -04:00
icomrade
2fb92a00a1 Remove useless loop/waituntil 2014-03-27 01:02:05 -04:00
icomrade
094c127e7b More RPT Spam Cleanup
Fix InterpolateTo/ConnectTo warnings
Fix invalid count (not multiple of 2) warnings
Reduce config size
2014-03-26 22:47:51 -04:00
icomrade
b80bb88467 Add missing variable + RPT cleanup
fix 2 dup string warnings
fix "Cannot delete class rscdisplayinfo" warning.
Start extended vehicle damage debugging.
2014-03-26 02:40:24 -04:00
icomrade
935ed7931d fix for name function error (untested)
17:00:15 WARNING: Function 'name' - PLAYER is dead
2014-03-25 22:01:07 -04:00
[VB]AWOL
7812bcc7b0 PVDZ_Server_Simulation does not exist 2014-03-25 14:49:27 -05:00
[VB]AWOL
ac05bcd1f9 Test Build 2014-03-25 14:04:22 -05:00
[VB]AWOL
9fbdb63407 fixed wrong incorrect _activatingPlayer variable on pack tent.sqf 2014-03-25 14:01:05 -05:00
Skaronator
9d042f1de5 Done #1176 2014-03-22 11:52:02 +01:00
Skaronator
6b0ebbf99d Disable ESC after death 2014-03-22 02:37:15 +01:00
icomrade
930af421e0 remove logging 2014-03-21 18:37:16 -04:00
icomrade
6c360073c2 Fix loot spawn + BIS_air_destruction 2014-03-21 18:19:21 -04:00
icomrade
e2b95634e3 Merge branch 'master' of https://github.com/vbawol/DayZ-Epoch 2014-03-21 14:22:27 -04:00
icomrade
1c4290ffd6 Missing string 2014-03-21 14:22:22 -04:00
vbawol
0053b1fbe8 Merge pull request #1171 from jostster/patch-3
Update epoch.sql
2014-03-20 20:27:15 -05:00
icomrade
a792520f62 woops 2014-03-20 17:17:06 -04:00
icomrade
9ba6d1159c add DefaultBackpackItems
- remove DefaultBackpackWeapon
- fix issue with skin switch fix
2014-03-20 17:14:18 -04:00
icomrade
a45403aa4a This is important 2014-03-20 15:28:19 -04:00
icomrade
3b7b05c732 Add default skin variable + selftrans var = time 2014-03-20 15:02:10 -04:00
icomrade
22bfba6573 Add optional self transfuse
Right click on blood bag, if enable it will show the self transfuse
button.
Currently replenishes all blood.
May be used once every 5 minutes.
2014-03-19 18:03:11 -04:00
icomrade
1d9e361ef4 Update CHANGE LOG 1.0.5.txt 2014-03-18 15:51:55 -04:00
icomrade
ad2642a5f9 Fix ammo refill when switching skins and ...
- allow player to switch with backpack on.
- player_countmagazines now returns backpack magazines with ammo count.
Do with this as you like.
- Make sure dead players do not have to wait the abort (after the 5
seconds).
- Update changelog
2014-03-18 15:48:45 -04:00
jostster
7f23f1c4f2 Update epoch.sql
L85A2_Holo had the buy gold set at 9 10oz bars but sold for 6 gold bars. Changed them to fit the other weapon price range.
2014-03-17 09:47:46 -07:00
icomrade
058519c926 Fix double actions in land vehicles. 2014-03-16 18:03:53 -04:00
icomrade
f5dff8d0b7 Fix private arrays
Fix issue with wild zeds not spawning loot (idk if they it didnt work
before, but _loottypecfg was nil so it probably didnt)
2014-03-16 17:21:46 -04:00
icomrade
3c28809247 Add switch seats + fix 0 divisor
Also fix CFG error
2014-03-16 16:32:30 -04:00
[VB]AWOL
eaa0ba1b04 Merge branch 'master' of https://github.com/vbawol/DayZ-Epoch 2014-03-16 12:47:25 -05:00
[VB]AWOL
af91767a38 change to fuel_pump_kit fixes #1170 2014-03-16 12:47:21 -05:00
Skaronator
6340d5f908 Fix #1169 2014-03-16 14:51:53 +01:00
[VB]AWOL
bf3154dd2b added missing ) 2014-03-12 10:42:13 -05:00
[VB]AWOL
217636511a fix #1128 should work but needs tested. 2014-03-06 16:16:08 -06:00
Skaronator
ac45aee602 Merge branch 'master' of https://github.com/vbawol/DayZ-Epoch 2014-03-06 23:01:51 +01:00
Skaronator
cb58f1da21 Fix #1149 / New Loottable System 2014-03-06 23:01:46 +01:00
vbawol
6decf34a30 Update CHANGE LOG 1.0.5.txt 2014-03-06 15:58:00 -06:00
Skaronator
67a12f5c70 Merge pull request #1153 from deadeye2/patch-1
Account for different _needNear distances
2014-03-02 14:26:04 +01:00
deadeye2
be3cc5e5a5 Account for different _needNear distances
checks for fueltank within 30m and other objects within 3m
fixes #1123
2014-03-01 23:14:44 -05:00
Skaronator
7836b6f61c Cleanup setDamage.txt 2014-03-01 23:51:29 +01:00
Skaronator
793ef39de7 Can be a local function 2014-03-01 19:03:41 +01:00
Skaronator
4e35d15b14 Fix #1150 2014-03-01 19:01:51 +01:00
Skaronator
9d453ec7a0 Less Updating Objects for a better serverperformance 2014-03-01 18:48:15 +01:00
Skaronator
fa21eb9316 Upload custom stuff
When will be the next patch release? :P
2014-03-01 18:36:30 +01:00
Skaronator
b212f56ad0 Change createVehicleLocal > createVehicle AH Issue
The createVehicleLocal command has been disable in most antihack cause the issue a local created Nuke create damage to everyone.
2014-03-01 18:17:37 +01:00
[VB]AWOL
c0a9f28c07 comment out more debug 2014-02-27 09:34:57 -06:00
Skaronator
a04c32e227 Fix #1147 2014-02-25 07:04:54 +01:00
[VB]AWOL
bfcb44c558 fixed missing mod.paa 2014-02-24 15:42:41 -06:00
[VB]AWOL
af0da36391 remove forced profilenamespace save
KK said on a blog post that profile namespace variables is done
automatically but you can force it by using saveProfileNamespace command
2014-02-24 10:15:14 -06:00
[VB]AWOL
2093fdbeaa Merge branch 'master' of https://github.com/vbawol/DayZ-Epoch 2014-02-24 08:54:12 -06:00
[VB]AWOL
69893b7d01 fix for 1.63 112555 2014-02-24 08:54:03 -06:00
Florian Kinder
4fcc5ef052 Fixed infection 2014-02-24 13:12:01 +01:00
[VB]AWOL
a6a330a3c5 fix for 1.63 112555
Error ==: Type Bool, expected
Number,String,Object,Side,Group,Text,Config entry,Display
(dialog),Control,Team member,Task,Location
2014-02-24 01:48:07 -06:00
[VB]AWOL
4403c4e69b added back old logo for compatibility 2014-02-24 01:47:21 -06:00
[VB]AWOL
6faa7f1902 added 105 bikey 2014-02-24 01:46:24 -06:00
Skaronator
9fb899afbf Move handleGear
Fix also wrong path in the New Gear Config
2014-02-23 18:33:07 +01:00
Skaronator
0e0e331a73 Update Changelog 2014-02-23 18:30:43 +01:00
Skaronator
5e27942bd0 Change over to new DZE_ForceNameTagsInTrader System 2014-02-23 18:25:41 +01:00
Skaronator
e54cce6845 Add Better "DZE_ForceNameTagsInTrader" system 2014-02-23 18:19:53 +01:00
Skaronator
945ad16332 Cleanup Files 2014-02-23 18:19:31 +01:00
Skaronator
54ebc8aac0 Readd Infected System 2014-02-23 18:07:37 +01:00
Skaronator
253767e1e1 Fix Error Message 2014-02-23 17:57:47 +01:00
[VB]AWOL
a1fe8ff336 added text message to combine bars 2014-02-23 09:56:34 -06:00
[VB]AWOL
9b90f8e2af larger button for combine bars 2014-02-23 09:51:14 -06:00
[VB]AWOL
1c19e85bd7 removed unused file 2014-02-23 09:47:32 -06:00
[VB]AWOL
d0ed591683 Merge branch 'master' of https://github.com/vbawol/DayZ-Epoch 2014-02-23 09:45:54 -06:00
[VB]AWOL
b6c3bc1a50 isnull checks may help reduce log spam 2014-02-23 09:45:50 -06:00
Skaronator
0b1779baef Cleanup some scripts 2014-02-23 01:33:17 +01:00
Skaronator
61e86abe4c Cleanup Compiles a bit 2014-02-23 01:29:56 +01:00
Skaronator
c284754ace Less Scripts + Fix RPT Error if nothing is nearby 2014-02-23 01:20:42 +01:00
Skaronator
c9181047ab Super Cleanup 2014-02-21 19:32:25 +01:00
Florian Kinder
4f82e8e380 Added variable DZE_ForceNameTagsInTrader 2014-02-21 00:53:44 +01:00
Florian Kinder
a3885ac187 Added german translation 2014-02-20 21:23:49 +01:00
Florian Kinder
bf13a783d9 Updated startcombattimer variable 2014-02-20 18:01:16 +01:00
Armifer
6c0581bda9 object maintenance and remove fixes
Allow owners to delete modular doors without locks, included missing
objects for plot pole area maintenance.
2014-02-20 01:00:37 -05:00
[VB]AWOL
5fc7c14899 rename loading screen and fix version 2014-02-19 15:54:09 -06:00
[VB]AWOL
1d113ab7af add combine bars option 2014-02-19 15:42:54 -06:00
Florian Kinder
684ef74c8e Fixed Deathscreen 2014-02-19 21:44:06 +01:00
Florian Kinder
ad22c7df04 Updated Displays
Disabled new gear system
2014-02-18 23:51:38 +01:00
Florian Kinder
d74602fb95 Updated Death system 2014-02-18 23:22:38 +01:00
[VB]AWOL
86869bdf03 1.0.5+ server pbo 2014-02-18 14:57:19 -06:00
[VB]AWOL
96f9e1009b version bump to 1.0.5 2014-02-18 13:48:36 -06:00
vbawol
dd2bf5d676 Update CHANGE LOG 1.0.5.txt 2014-02-18 13:41:08 -06:00
Skaronator
5f6d6e12eb Remove Stupid () 2014-02-18 20:37:22 +01:00
[VB]AWOL
47e1473412 for 1.0.4.2a 2014-02-18 10:49:58 -06:00
[VB]AWOL
8dc7ce4250 fixed Instance already initialized 2014-02-18 10:36:23 -06:00
Skaronator
c55ac56bb6 Delete MBART.bikey
Removed this key, no clue for which map it is. Revert if anyone know for what this is.
2014-02-18 13:15:57 +01:00
Skaronator
9ebd85956c Fix Logic Typo 2014-02-18 13:10:02 +01:00
Skaronator
0614ad7119 Update CHANGE LOG 1.0.5.txt 2014-02-17 23:50:20 +01:00
Skaronator
9d854f9a04 Update CHANGE LOG 1.0.5.txt 2014-02-17 23:49:54 +01:00
Skaronator
a5ae1c33b7 Cleanup Changelog 2014-02-17 20:17:37 +01:00
vbawol
84a530d417 Update CHANGE LOG 1.0.5.txt 2014-02-17 12:02:25 -06:00
Florian Kinder
4e7b4f7705 Update CHANGE LOG 1.0.5.txt 2014-02-17 14:34:15 +01:00
Florian Kinder
86ce8f6879 Replaced obsolete variable 2014-02-17 01:32:45 +01:00
Florian Kinder
fb902eb819 Fixed drink/eat
refs #1132
2014-02-17 01:15:13 +01:00
Florian Kinder
72dee3c644 Fixed #1132 mistake
Thanks Skaronator
2014-02-17 00:15:14 +01:00
Florian Kinder
c3cdd80c4d Updated BE filter 2014-02-16 22:41:35 +01:00
Florian Kinder
0c2aebbff2 Fixed not existing cfgmag 2014-02-16 22:39:44 +01:00
Florian Kinder
2a91d7d5bc Updates refs #1109 2014-02-16 22:38:15 +01:00
Florian Kinder
2ed8ac27fd Updated Changelog 2014-02-16 22:18:36 +01:00
Florian Kinder
50774a6b77 Updated Changelog 2014-02-16 22:09:55 +01:00
Florian Kinder
cd7718c426 Updated Changelog 2014-02-16 22:06:38 +01:00
Florian Kinder
1463a67262 Updated Changelog 2014-02-16 21:33:33 +01:00
Florian Kinder
d09e0ec7f6 Merge pull request #1132 from SilvDev/master
Fix + Features
2014-02-16 21:32:11 +01:00
SilvDev
5d55a4eade Update player_eat.sqf
Add empty food/drink cans into vehicle inventory. Falls out if theres no inventory space.
2014-02-16 20:21:05 +00:00
SilvDev
86b1f294aa Update player_drink.sqf
Add empty food/drink cans into vehicle inventory. Falls out if theres no inventory space.
2014-02-16 20:21:03 +00:00
SilvDev
f05adb95da Update cargocheck.sqf
Proposal to change TitleText to the more commonly used cutText to prevent text overlapping.
2014-02-16 20:14:44 +00:00
[VB]AWOL
1872e7f278 publicvariable extra filter for remExFP 2014-02-16 11:39:01 -06:00
Florian Kinder
d66bf8d909 Updated PROPREFIX 2014-02-16 16:51:49 +01:00
Florian Kinder
1e578fff9b Added C130J_US_EP1_DZ
fixes  #1131
2014-02-16 16:46:20 +01:00
Florian Kinder
f0886c0175 Changelog Update 2014-02-16 15:32:42 +01:00
Florian Kinder
407741b7dd Last changes new lootsystem
refs #1109
2014-02-16 00:58:57 +01:00
vbawol
9dbf409cdd Merge pull request #1130 from SilvDev/patch-1
Update player_unlockVault.sqf
2014-02-15 14:56:37 -06:00
Florian Kinder
dcfaf2e841 Updated LootPos & moved folder
refs #1109
2014-02-15 21:17:43 +01:00
SilvDev
3301f7bb31 Update player_unlockVault.sqf 2014-02-15 18:23:00 +00:00
SilvDev
919404b3a9 Update player_unlockVault.sqf
Fixed infinite chainsaw fuel when put into vaults/lockboxes.
2014-02-15 18:03:43 +00:00
Florian Kinder
bab669c74a Fixed hilux upgrade 2014-02-15 16:33:22 +01:00
Florian Kinder
07b41f143f Updated CfgServerTraders
refs #1129
2014-02-15 14:58:29 +01:00
Florian Kinder
45834527c4 Added SQL Update 1.0.5
fixes #1129
2014-02-15 14:53:57 +01:00
Florian Kinder
bbdec2733a updated private variable
refs #1109
2014-02-15 14:19:00 +01:00
Florian Kinder
86b03dbb70 Merge branch 'Feature/1109'
Conflicts:
	SQF/dayz_code/Configs/CfgBuildingLoot/CfgBuildingLoot.hpp
	SQF/dayz_code/Configs/CfgBuildingLoot/CfgLootSmall.hpp
	SQF/dayz_code/Configs/CfgBuildingLoot/cfgLoot.hpp
2014-02-15 14:14:50 +01:00
Florian Kinder
eb74239f21 Added Upgrade version of Pickup PK 2014-02-15 12:46:19 +01:00
Florian Kinder
970f4854f8 Disabled Debug 2014-02-15 02:38:59 +01:00
Florian Kinder
b0888b8a64 Updated Loottables 2014-02-15 02:36:35 +01:00
Florian Kinder
4b839a7a2e Merge branch 'Feature/1102-1'
Conflicts:
	SQF/dayz_code/Configs/CfgVehicles/LAND/datsun.hpp
2014-02-15 02:12:05 +01:00
Florian Kinder
d48f11bb9f Merge pull request #1125 from vbawol/Feature/0
Updated Craftitem & split config
2014-02-15 02:08:39 +01:00
Florian Kinder
29cfe1b618 Update config 2014-02-15 02:08:05 +01:00
Florian Kinder
5b0179b196 Added PK_DZ for upgrade vehicles 2014-02-15 02:06:47 +01:00
Florian Kinder
5f3b5b8801 Updated CfgVehicles 2014-02-15 02:02:50 +01:00
Florian Kinder
4954d41389 update upgradeVehicle 2014-02-15 00:32:36 +01:00
Florian Kinder
34444e3494 Added ItemARM 2014-02-15 00:23:57 +01:00
[VB]AWOL
a89bb8f2a0 latest server pbo 2014-02-14 13:44:46 -06:00
Florian Kinder
4b61a2bb81 Fixed incorrect path 2014-02-14 19:07:28 +01:00
[VB]AWOL
e81760ab60 same as last 2014-02-14 12:01:20 -06:00
Florian Kinder
b7166d3e29 Updated hilux config 2014-02-14 17:42:31 +01:00
[VB]AWOL
5b3a8efb5d fixed incorrect path for axeman's lights 2014-02-14 09:58:52 -06:00
Florian Kinder
1d60f7b1bb New vehicle upgrade system
Need test with datsun vehicle to ensure it works fine
2014-02-14 13:26:20 +01:00
Florian Kinder
3b68f0f3b6 Fixed wrong class in upgrade datsun 2014-02-14 12:54:58 +01:00
Florian Kinder
f0e7622856 Fixed Error in expression
Error in expression <_ret = _this select _ret;
};
_ret
>
Error position: <_ret
>
Error Undefined variable in expression: _ret
File z\addons\dayz_code\compile\BIS_fnc\fn_selectRandom.sqf, line 23
Error in expression <BIS_fnc_selectRandom;
_outputWeapons =
[_selectedWeapon];
_selectedMag = _select>
Error position: <_selectedWeapon];
_selectedMag = _select>
Error Undefined variable in expression: _selectedweapon
File z\addons\dayz_code\actions\player_craftItem.sqf, line 193
Error in expression <t_doLoop = false;
};
{
player addWeapon _x;
}
forEach _outputWeapons;
{

_itemOu>
Error position: <_x;
} forEach _outputWeapons;
{

_itemOu>
Error Undefined variable in expression: _x
File z\addons\dayz_code\actions\player_craftItem.sqf, line 200
2014-02-14 00:31:50 +01:00
Florian Kinder
8e99b7a75b Fixed Error in expression
"DEBUG WEAPONS: [0,B 1-1-H:1
(Fank),"",["ItemGoldBar","ItemGPS",1,1,"sell","GPS","Gold",6701]]"
Error in expression <(_configName in (weapons player)));

if(_isToolBelt
or _isBinocs) then {
_msg = >
Error position: <_isToolBelt or _isBinocs) then {
_msg = >
Error Undefined variable in expression: _istoolbelt
File z\addons\dayz_code\actions\trade_weapons.sqf, line 32
2014-02-13 22:58:18 +01:00
Florian Kinder
1c2e81b9dd Fixed typo
Error in expression < (_classname in DZE_DoorsLocked) then {
_object
setVariable ["CharacterID",dayz_>
Error position: <_object setVariable ["CharacterID",dayz_>
Error Undefined variable in expression: _object
File z\addons\dayz_code\actions\player_buildingDowngrade.sqf, line 126
2014-02-13 22:30:11 +01:00
Skaronator
d13239edf5 Merge pull request #1121 from Monkeys-with-Guns/master
Removed commas at the end of arrays in loot tables.
2014-02-13 16:18:27 +01:00
[VB]AWOL
6a78fa2ca4 server pbo with debug for #1116 2014-02-13 08:51:02 -06:00
[VB]AWOL
d0cae9e85f added debug for issue #1116 2014-02-13 08:50:11 -06:00
MwG
8166943719 Removed commas in CfgLoot.hpp 2014-02-13 09:14:45 -05:00
MwG
d1ec3b6951 Removed comma in CfgLootSmall.hpp 2014-02-13 09:13:27 -05:00
Florian Kinder
ce6246882d Updated Loottables decresed decimal places to 2 2014-02-12 23:57:58 +01:00
Florian Kinder
99791dec20 Updated Converter 2014-02-12 23:53:21 +01:00
Florian Kinder
0c4323b28d Fixed LootTable
fixed for commit 37516f2df2
2014-02-12 22:35:29 +01:00
Florian Kinder
cf8dd1180e Updated CraftItem
Always the first/full waterbottle will be taken by melting ores to bars.
To prevent this the bottle with the lowest waterlevel will be taken
2014-02-12 22:30:37 +01:00
Florian Kinder
ad632c7416 Splitted Ores 2014-02-12 21:24:16 +01:00
Florian Kinder
705e6963f3 Update CfgLootSmall
98e49f7ba2
2014-02-12 02:43:46 +01:00
Florian Kinder
36a79609b2 Updated Tools 2014-02-11 19:59:36 +01:00
Florian Kinder
7944113218 Updated CfgBuildingLoot 2014-02-11 19:59:31 +01:00
Florian Kinder
a3e5438d56 Updated cfgLootSmall 2014-02-11 19:57:46 +01:00
Florian Kinder
fea5041cab Updated cfgLoot 2014-02-11 19:55:44 +01:00
Florian Kinder
78a1da77b8 Added Converter for cfgLoot 2014-02-11 19:55:40 +01:00
Skaronator
f1319b29bb Fix LootCfg Array 2014-02-11 19:54:04 +01:00
Florian Kinder
4e06469036 Revert "Convert CfgBuildingLoot.hpp"
This reverts commit c3de692246.
2014-02-11 19:50:44 +01:00
Skaronator
3aa7ce2232 Update Lootsystem to new cfg system 2014-02-11 19:46:11 +01:00
Florian Kinder
c3de692246 Convert CfgBuildingLoot.hpp 2014-02-11 18:19:18 +01:00
Florian Kinder
e4aa8c4bf7 Added Loottable convert script 2014-02-11 18:19:03 +01:00
391 changed files with 19363 additions and 16614 deletions

35
CHANGE LOG 1.0.5.txt Normal file
View File

@@ -0,0 +1,35 @@
[ADDED] Updated Sauerland map V1.80.01 by Falconsan http://epochmod.com/forum/index.php?/topic/6365-dayz-epoch-sauerland-changelog
[ADDED] More enterable buildings thanks to @Tansien and the DayZero crew.
[ADDED] Latest version of Napf 1.0.1 by Momo
[ADDED] Classname C130J_US_EP1_DZ Weapon: 50 Magazine: 400 Backpack: 10 @Fank
[ADDED] Variable DZE_ForceNameTagsInTrader to force name tags in traders. @Skaronator @Fank
[ADDED] Switch seats in all vehicles. @icomrade
[ADDED] Self transfusions (works in vehicles) must be enabled in mission using DZE_SelfTransfuse. @icomrade
[NOTE] You may customize transfusion settings for self transfusions using DZE_selfTransfuse_Values = [blood amount, infection chance, cool-down (seconds)]; @icomrade
[ADDED] Default player skin for fresh spawns, selected randomly DZE_defaultSkin = [["Male skin1","Male skin2"],["Female skin1","Female skin2"]]. @icomrade
[ADDED] The USEC CH53 Super Stallion to the dynamic vehicle lists & trader. @Namindu @raginruffalo
[ADDED] The BAF Merlin has been added to the neutral aircraft trader under Unarmed Helicopters. @raginruffalo
[ADDED] Added CH53 Super Stallion to Allowed to Tow Heli array in "variables.sqf" @Namindu
[FIXED] Instance already initialized error in server_monitor.sqf @vbawol
[FIXED] Fixed infinite chainsaw fuel when put into vaults/lockboxes. @SilvDev
[FIXED] Cargo Check overlapping. @SilvDev
[FIXED] The Makarov SD now only accepts SD clips @raginruffalo
[FIXED] Load patient into vehicle now working. @SilvDev
[FIXED] Fix invalid str format for player skin class. @Sandbird https://github.com/vbawol/DayZ-Epoch/commit/55d49c279bfd1e03d3802bfe4fdf55f2335f8f47
[FIXED] Check trade requirements before animation. @Cornyfisch
[FIXED] Undefined variable in expression in "fill_nearestVehicle.sqf" @Namindu
[FIXED] Fix infinite knockout @icomrade
[FIXED] Fixed typo in "player_tagFriendly.sqf" @Namindu
[CHANGED] Crafting lumber or plywood packs no longer require workbench. @vbawol
[CHANGED] Force mouse to center of screen on gear open. @vbawol
[CHANGED] Backend lootsystem based on DayZ 1.8. @vbawol @Skaronator @Fank
[CHANGED] Consume Eat/Drink in vehicle will add empty food/drink cans into vehicle inventory. @SilvDev @Fank
[CHANGED] SQL Removed empty fuel barrel from vehicle parts trader and moved to wholesaler as increased buy/sell price. @Fank
[CHANGED] You may again switch skins while wearing a backpack. @icomrade
[CHANGED] Replaced variable DefaultBackpackWeapon = ""; with DefaultBackpackItems = [""]; which accepts both weapons and magazines. @icomrade
[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

@@ -42,15 +42,16 @@ Developers
* [VB]AWOL - Lead Developer - http://www.twitch.tv/vbawol
* Axle - Beta Tester, Lead Trader City Designer, Ideas. - http://www.twitch.tv/axles
* Paul Tomany - Models, Textures, Ideas, Beta Tester. - ptomany@gmail.com
* Axeman - Developer - Light system - axeman@thefreezer.co.uk
* Harlan (dayz10k) - Developer - https://github.com/dayz10k
* Skaronator - Developer - Help with many things https://github.com/Skaronator
* [VB]GREEN - Graphics, Beta Tester, Ideas. http://www.twitch.tv/vbgreen
* Zabn - Locked gear on vehicles when locked, reworked loot position code to support small items. https://github.com/Zabn
* Harlan (dayz10k) - Developer - https://github.com/dayz10k
* Axeman - Developer - Light system - axeman@thefreezer.co.uk
* [VB]GREEN - Graphics, Beta Tester, Ideas. http://www.twitch.tv/vbgreen
--------------------------
Contributors
--------------------------
* Icomrade - Fixes - https://github.com/Icomrade
* Fank - Fixes - https://github.com/Fank
* facoptere - Extra Security - https://github.com/facoptere
* Torndeco - Fixes - https://github.com/Torndeco

File diff suppressed because it is too large Load Diff

View File

@@ -1 +0,0 @@
dayz_anim

File diff suppressed because one or more lines are too long

View File

@@ -87,7 +87,7 @@ class CfgSkeletons
"rightUpLeg","spine",
"spine","",
"spine1","spine",
"tail","Hips",
"tail","Hips"
};
};
class CfgMovesButterfly: Default

File diff suppressed because it is too large Load Diff

View File

@@ -1,585 +0,0 @@
class CfgLootSmall {
trash[] = {
{
"TrashTinCan",
"TrashJackDaniels",
"ItemSodaEmpty",
"ItemTrashToiletpaper",
"ItemTrashRazor"
},
{
0.5,
0.05,
0.25,
0.10,
0.1
}
};
civilian[] = {
{
"FoodCanUnlabeled",
"TrashJackDaniels",
"ItemSodaEmpty",
"ItemSodaCoke",
"ItemSodaPepsi",
"FoodCanBakedBeans",
"FoodCanSardines",
"FoodCanFrankBeans",
"FoodCanPasta",
"8Rnd_9x18_Makarov",
"7Rnd_45ACP_1911",
"2Rnd_shotgun_74Slug",
"2Rnd_shotgun_74Pellets",
"ItemBandage",
"ItemPainkiller",
"FoodBioMeat",
"8Rnd_9x18_MakarovSD"
},
{
0.07,
0.09,
0.09,
0.1,
0.09,
0.05,
0.05,
0.05,
0.05,
0.07,
0.05,
0.05,
0.05,
0.06,
0.06,
0.01,
0.01
}
};
office2[] = {
{
"FoodCanUnlabeled",
"TrashJackDaniels",
"ItemSodaEmpty",
"ItemSodaCoke",
"ItemSodaPepsi",
"FoodCanBakedBeans",
"FoodCanSardines",
"FoodCanFrankBeans",
"FoodCanPasta",
"8Rnd_9x18_Makarov",
"7Rnd_45ACP_1911",
"2Rnd_shotgun_74Slug",
"2Rnd_shotgun_74Pellets",
"ItemBandage",
"ItemPainkiller",
"FoodBioMeat",
"8Rnd_9x18_MakarovSD"
},
{
0.07,
0.09,
0.09,
0.09,
0.09,
0.05,
0.05,
0.05,
0.05,
0.07,
0.05,
0.05,
0.05,
0.06,
0.06,
0.01,
0.01
}
};
food[] = {
{
//trash
"TrashTinCan",
"TrashJackDaniels",
"ItemSodaEmpty",
"ItemSodaCoke",
"ItemSodaPepsi",
"FoodCanBakedBeans",
"FoodCanSardines",
"FoodCanFrankBeans",
"FoodCanPasta",
"FoodCanUnlabeled",
// food Bags
"FoodPistachio",
"FoodNutmix"
},
{
//trash
0.09,
0.12,
0.12,
0.09,
0.11,
0.07,
0.07,
0.07,
0.07,
0.1,
// food Bags
0.05,
0.04
}
};
office[] = {
{
"FoodCanUnlabeled",
"ItemSodaEmpty",
"ItemSodaCoke",
"ItemSodaPepsi",
"TrashJackDaniels",
"FoodCanBakedBeans",
"FoodCanSardines",
"FoodCanFrankBeans",
"FoodCanPasta",
"ItemWaterbottleUnfilled",
"ItemWaterbottle",
"ItemBandage",
"7Rnd_45ACP_1911",
"5x_22_LR_17_HMR",
"10x_303",
"6Rnd_45ACP",
"2Rnd_shotgun_74Slug",
"2Rnd_shotgun_74Pellets",
"8Rnd_9x18_Makarov",
"15Rnd_W1866_Slug",
"WoodenArrow",
"HandRoadFlare",
"ItemPainkiller",
"HandChemGreen",
"HandChemBlue",
"HandChemRed",
"ItemHeatPack"
},
{
0.06,
0.06,
0.06,
0.04,
0.04,
0.01,
0.01,
0.01,
0.01,
0.01,
0.01,
0.08,
0.03,
0.01,
0.04,
0.04,
0.05,
0.05,
0.09,
0.02,
0.04,
0.07,
0.02,
0.01,
0.03,
0.03,
0.03
}
};
generic[] = {
{
"FoodCanUnlabeled",
"ItemSodaEmpty",
"ItemSodaCoke",
"ItemSodaPepsi",
"TrashJackDaniels",
"FoodCanBakedBeans",
"FoodCanSardines",
"FoodCanFrankBeans",
"FoodCanPasta",
"ItemWaterbottleUnfilled",
"ItemWaterbottle",
"ItemBandage",
"7Rnd_45ACP_1911",
"5x_22_LR_17_HMR",
"10x_303",
"6Rnd_45ACP",
"2Rnd_shotgun_74Slug",
"2Rnd_shotgun_74Pellets",
"8Rnd_9x18_Makarov",
"15Rnd_W1866_Slug",
"WoodenArrow",
"HandRoadFlare",
"ItemPainkiller",
"HandChemGreen",
"HandChemBlue",
"HandChemRed",
"ItemHeatPack"
},
{
0.06,
0.06,
0.06,
0.04,
0.04,
0.01,
0.01,
0.01,
0.01,
0.01,
0.01,
0.11,
0.03,
0.01,
0.04,
0.04,
0.05,
0.05,
0.09,
0.02,
0.04,
0.07,
0.02,
0.01,
0.03,
0.03,
0.04
}
};
medical[] = {
{
"ItemBandage",
"ItemPainkiller",
"ItemMorphine",
"ItemEpinephrine",
"ItemAntibiotic",
"ItemHeatPack"
},
{
0.4,
0.15,
0.2,
0.1,
0.1,
0.05
}
};
hospital[] = {
{
"ItemBandage",
"ItemPainkiller",
"ItemMorphine",
"ItemEpinephrine",
"ItemBloodbag",
"ItemAntibiotic"
},
{
0.33,
0.16,
0.13,
0.09,
0.17,
0.12
}
};
military[] = {
{
"FoodCanUnlabeled",
"ItemSodaEmpty",
"ItemSodaCoke",
"ItemSodaPepsi",
"ItemBandage",
"ItemAntibiotic",
"ItemPainkiller",
"ItemMorphine",
"30Rnd_556x45_Stanag",
"20Rnd_762x51_DMR",
"17Rnd_9x19_glock17",
"15Rnd_9x19_M9SD",
"15Rnd_9x19_M9",
"30Rnd_762x39_AK47",
"30Rnd_545x39_AK",
"5Rnd_762x51_M24",
"5Rnd_86x70_L115A1",
"8Rnd_B_Beneli_74Slug",
"1Rnd_HE_M203",
"FlareWhite_M203",
"FlareGreen_M203",
"1Rnd_Smoke_M203",
"200Rnd_556x45_M249",
"HandGrenade_west",
"HandGrenade_east",
"SmokeShell",
"SmokeShellRed",
"SmokeShellGreen",
"8Rnd_B_Beneli_Pellets",
"30Rnd_556x45_StanagSD",
"30Rnd_9x19_MP5",
"30Rnd_9x19_MP5SD",
"100Rnd_762x51_M240",
"HandChemGreen",
"HandChemBlue",
"HandChemRed",
"ItemHeatPack",
"8Rnd_9x18_MakarovSD",
"20Rnd_B_765x17_Ball",
"30Rnd_9x19_UZI_SD"
},
{
0.09,
0.04,
0.01,
0.01,
0.04,
0.04,
0.04,
0.01,
0.04,
0.04,
0.05,
0.01,
0.02,
0.04,
0.04,
0.01,
0.01,
0.04,
0.01,
0.01,
0.01,
0.01,
0.01,
0.01,
0.01,
0.04,
0.02,
0.02,
0.04,
0.01,
0.02,
0.01,
0.01,
0.02,
0.02,
0.02,
0.04,
0.01,
0.04,
0.01
}
};
policeman[] = {
{
"ItemBandage",
"7Rnd_45ACP_1911",
"6Rnd_45ACP",
"15Rnd_W1866_Slug",
"8Rnd_B_Beneli_Pellets",
"HandRoadFlare",
"8Rnd_9x18_MakarovSD",
"ItemComboLock",
"SmokeShell",
"ItemHotwireKit"
},
{
0.3,
0.08,
0.08,
0.14,
0.17,
0.08,
0.01,
0.05,
0.04,
0.01
}
};
hunter[] = {
{
"FoodMRE"
},
{
0.01
}
};
worker[] = {
{
"FoodCanUnlabeled",
"TrashJackDaniels",
"ItemSodaEmpty",
"ItemSodaCoke",
"ItemSodaPepsi",
"FoodCanBakedBeans",
"FoodCanSardines",
"FoodCanFrankBeans",
"FoodCanPasta",
"ItemBandage",
"ItemPainkiller",
"ItemComboLock",
"ItemSledgeHead"
},
{
0.09,
0.10,
0.10,
0.11,
0.10,
0.06,
0.06,
0.06,
0.06,
0.1,
0.06,
0.04,
0.02
}
};
clothes[] = {
{
"Skin_RU_Policeman_DZ",
"Skin_Pilot_EP1_DZ",
"Skin_Functionary1_EP1_DZ",
"Skin_Priest_DZ",
"Skin_Rocker1_DZ",
"Skin_Rocker2_DZ",
"Skin_Rocker3_DZ",
"Skin_Rocker4_DZ",
"Skin_SurvivorW3_DZ",
"Skin_SurvivorWpink_DZ",
"Skin_SurvivorWurban_DZ"
//"Skin_SurvivorWsequisha_DZ",
//"Skin_SurvivorWsequishaD_DZ",
},
{
0.13,
0.12,
0.1,
0.1,
0.07,
0.07,
0.08,
0.08,
0.09,
0.09,
0.07
//0.04,
//0.02
}
};
militaryclothes[] = {
{
"Skin_Camo1_DZ",
"Skin_Sniper1_DZ",
"Skin_Rocket_DZ",
"Skin_Soldier1_DZ",
"Skin_Drake_Light_DZ",
"Skin_Soldier_TL_PMC_DZ",
"Skin_Soldier_Sniper_PMC_DZ",
"Skin_Soldier_Bodyguard_AA12_PMC_DZ",
"Skin_CZ_Special_Forces_GL_DES_EP1_DZ",
"Skin_FR_OHara_DZ",
"Skin_FR_Rodriguez_DZ",
"Skin_CZ_Soldier_Sniper_EP1_DZ",
"Skin_Graves_Light_DZ"
},
{
0.1,
0.08,
0.05,
0.13,
0.07,
0.07,
0.05,
0.07,
0.08,
0.08,
0.09,
0.04,
0.09
}
};
specialclothes[] = {
{
"Skin_Ins_Soldier_GL_DZ",
"Skin_GUE_Commander_DZ",
"Skin_Bandit1_DZ",
"Skin_Bandit2_DZ",
"Skin_BanditW1_DZ",
"Skin_BanditW2_DZ",
"Skin_TK_INS_Soldier_EP1_DZ",
"Skin_TK_INS_Warlord_EP1_DZ",
"Skin_SurvivorWcombat_DZ",
"Skin_SurvivorWdesert_DZ",
"Skin_GUE_Soldier_MG_DZ",
"Skin_GUE_Soldier_Sniper_DZ",
"Skin_GUE_Soldier_Crew_DZ",
"Skin_GUE_Soldier_CO_DZ",
"Skin_GUE_Soldier_2_DZ"
},
{
0.1,
0.08,
0.13,
0.06,
0.07,
0.07,
0.05,
0.07,
0.08,
0.08,
0.05,
0.04,
0.04,
0.04,
0.04
}
};
machinegunammoexpl[] = {
{
"100Rnd_556x45_BetaCMag",
"75Rnd_545x39_RPK",
"100Rnd_556x45_M249",
"100Rnd_762x51_M240",
"100Rnd_762x54_PK",
"200Rnd_556x45_M249",
"MAAWS_HEAT",
"PipeBomb"
},
{
0.20,
0.20,
0.15,
0.15,
0.14,
0.14,
0.01,
0.01,
}
};
pistols[] = {
{
"Makarov",
"Colt1911",
"revolver_EP1",
"glock17_EP1",
"MakarovSD",
"M9",
"M9SD",
"revolver_gold_EP1"
},
{
0.25,
0.23,
0.20,
0.10,
0.10,
0.07,
0.04,
0.01
}
};
};

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,696 @@
#include "CfgLoot.hpp"
class CfgBuildingLoot {
class Default {
zombieChance = 0.2;
minRoaming = 0;
maxRoaming = 2;
zombieClass[] = {"zZombie_Base","z_hunter","z_teacher","z_suit1","z_suit2","z_worker1","z_worker2","z_worker3","z_villager1","z_villager2","z_villager3"};
lootChance = 0;
lootPos[] = {};
lootPosSmall[] = {};
lootPosZombie[] = {};
itemType[] = {};
itemChance[] = {};
lootTypeSmall[] = {};
itemChanceSmall[] = {};
hangPos[] = {};
vehPos[] = {};
};
class Castle: Default {
lootChance = 0.2;
lootPos[] = {};
lootType[] = {
//one spawn
//tools
//{"ItemMatchbox","weapon",0.01},
{"ItemKnife","weapon",0.01},
{"ItemMap","generic",0.01},
{"ItemCompass","weapon",0.01},
{"ItemFlashlight","weapon",0.01},
//weapons
{"WeaponHolder_ItemHatchet","object",0.01},
//special
{"WeaponHolder_ItemTent","object",0.01},
//{"WeaponHolder_DomeTentStorage","object",0.01},
//mags special
{"PartWoodPile","magazine",0.04},
//bags
//{"DZ_Patrol_Pack_EP1","object",0.01},
//Multiple spawns
//{"","Residential",0.60},
{"","generic",0.40}
};
};
class Residential: Default {
zombieChance = 0.3;
maxRoaming = 2;
zombieClass[] = {"zZombie_Base","z_hunter","z_teacher","z_villager1","z_villager2","z_villager3"};
lootChance = 0.4;
lootPos[] = {};
lootType[] = {
{"ItemWatch","generic",0.04},
{"ItemCompass","generic",0.03},
{"ItemMap","weapon",0.02},
{"ItemFlashlight","generic",0.01},
{"ItemKnife","generic",0.04},
{"ItemMatchbox_DZE","generic",0.01},
{"","generic",0.32},
{"backpacks","backpacks",0.04},
{"tents","tents",0.01},
{"","military",0.02},
{"","trash",0.17},
{"Binocular","weapon",0.02},
{"PartPlywoodPack","magazine",0.02},
{"clothes","clothes",0.01},
{"specialclothes","specialclothes",0.01},
{"WeaponHolder_MeleeCrowbar","object",0.03},
{"pistols", "cfglootweapon", 0.04 },
{"shotgunsingleshot", "cfglootweapon", 0.04 }
};
lootTypeSmall[] = {
{ "ItemSodaMdew","magazine",0.01 },
{ "ItemSodaRbull","magazine",0.01 },
{ "ItemSodaOrangeSherbet","magazine",0.02 },
{ "ItemWatch","weapon",0.05 },
{ "ItemCompass","weapon",0.04 },
{ "ItemMap","weapon",0.03 },
{ "pistols","cfglootweapon",0.12 },
{ "ItemFlashlight","weapon",0.02 },
{ "ItemKnife","weapon",0.04 },
{ "ItemMatchbox_DZE","weapon",0.03 },
{ "","generic",0.38 },
{ "","military",0.04 },
{ "","trash",0.17 },
{ "Binocular","weapon",0.02 },
{ "clothes","single",0.01},
{ "specialclothes","single",0.01 }
};
};
class Office: Default {
maxRoaming = 3;
zombieClass[] = {"z_suit1","z_suit2"};
zombieChance = 0.3;
lootChance = 0.4;
lootPos[] = {};
lootType[] = {
{"ItemWatch","generic",0.04},
{"ItemCompass","generic",0.03},
{"ItemMap","weapon",0.02},
{"ItemFlashlight","generic",0.01},
{"ItemKnife","generic",0.04},
{"ItemMatchbox_DZE","generic",0.01},
{"","generic",0.31},
{"backpacks","backpacks",0.04},
{"tents","tents",0.01},
{"","military",0.02},
{"","trash",0.21},
{"Binocular","weapon",0.02},
{"PartPlywoodPack","magazine",0.02},
{"clothes","clothes",0.01},
{"specialclothes","specialclothes",0.01},
{"WeaponHolder_MeleeCrowbar","object",0.03},
{"ItemBriefcaseEmpty","magazine",0.01},
{ "shotgunsingleshot", "cfglootweapon", 0.05}
};
lootTypeSmall[] = {
{ "ItemSodaMdew","magazine",0.01 },
{ "ItemSodaRbull","magazine",0.01 },
{ "ItemSodaOrangeSherbet","magazine",0.02 },
{ "ItemWatch","weapon",0.05 },
{ "ItemCompass","weapon",0.04 },
{ "ItemMap","weapon",0.03 },
{ "pistols","cfglootweapon",0.15 },
{ "ItemFlashlight","weapon",0.02 },
{ "ItemKnife","weapon",0.05 },
{ "ItemMatchbox_DZE","weapon",0.03 },
{ "","generic",0.31 },
{ "","military",0.04 },
{ "","trash",0.03 },
{ "Binocular","weapon",0.02 },
{ "clothes","single",0.16 },
{ "specialclothes","single",0.02 },
{ "ItemDocument","magazine",0.01 }
};
};
class Industrial: Default {
zombieChance = 0.4;
zombieClass[] = {"z_worker1","z_worker2","z_worker3"};
maxRoaming = 2;
lootChance = 0.4;
lootPos[] = {};
lootType[] = {
{"ItemGenerator","magazine",0.01},
{"ItemFuelBarrelEmpty","magazine",0.01},
{"","generic",0.17},
{"","trash",0.25},
{"","military",0.04},
{"PartGeneric","magazine",0.04},
{"PartWheel","magazine",0.05},
{"PartFueltank","magazine",0.02},
{"PartEngine","magazine",0.02},
{"PartGlass","magazine",0.04},
{"PartVRotor","magazine",0.01},
{"ItemJerrycan","magazine",0.04},
{"WeaponHolder_ItemHatchet_DZE","object",0.07},
{"ItemKnife","military",0.07},
{"ItemToolbox","weapon",0.06},
{"ItemWire","magazine",0.01},
{"ItemTankTrap","magazine",0.04},
{"ItemKeyKit","weapon",0.01},
{"CinderBlocks","magazine",0.03},
{"MortarBucket","magazine",0.01}
};
lootTypeSmall[] = {
{ "","generic",0.5 },
{ "","trash",0.28 },
{ "","military",0.14 },
{ "ItemKnife","weapon",0.07 },
{ "ItemKeyKit","weapon",0.01 }
};
};
class IndustrialFuel: Default {
zombieChance = 0.4;
zombieClass[] = {"z_worker1","z_worker2","z_worker3"};
maxRoaming = 2;
lootChance = 0.4;
lootPos[] = {};
lootType[] = {
{"ItemGenerator","magazine",0.01},
{"fuel_pump_kit","magazine",0.01},
{"","generic",0.18},
{"","trash",0.28},
{"","military",0.04},
{"PartGeneric","magazine",0.04},
{"PartWheel","magazine",0.05},
{"PartFueltank","magazine",0.02},
{"PartEngine","magazine",0.02},
{"PartGlass","magazine",0.04},
{"PartVRotor","magazine",0.01},
{"ItemJerrycan","magazine",0.04},
{"WeaponHolder_ItemHatchet_DZE","object",0.07},
{"ItemKnife","military",0.07},
{"ItemToolbox","weapon",0.06},
{"ItemWire","magazine",0.01},
{"ItemTankTrap","magazine",0.04},
{"ItemKeyKit","weapon",0.01}
};
lootTypeSmall[] = {
{ "","generic",0.5 },
{ "","trash",0.28 },
{ "","military",0.14 },
{ "ItemKnife","weapon",0.07 },
{ "ItemKeyKit","weapon",0.01 }
};
};
class Farm: Default {
zombieChance = 0.3;
maxRoaming = 3;
zombieClass[] = {"zZombie_Base","z_hunter","z_hunter","z_hunter","z_villager1","z_villager2","z_villager3"};
lootChance = 0.5;
lootPos[] = {};
lootType[] = {
{"ItemJerrycan","magazine",0.05},
{"","generic",0.3},
{"","trash",0.11},
{"PartPlankPack","magazine",0.06},
{"WeaponHolder_ItemHatchet_DZE","object",0.05},
{"ItemFuelBarrelEmpty","magazine",0.01},
{"WeaponHolder_ItemMachete","object",0.03},
{"ItemFishingPole","weapon",0.02},
{"ItemLightBulb","magazine",0.02},
{"ItemSledgeHandle","magazine",0.02},
{ "farmweapons", "cfglootweapon", 0.15}
};
lootTypeSmall[] = {
{ "","generic", 0.79},
{ "","trash",0.14 },
{ "","military",0.05},
{ "ItemLightBulb","magazine",0.01},
{ "ItemSledgeHead","magazine",0.01}
};
};
class Supermarket: Default {
lootChance = 0.6;
minRoaming = 2;
maxRoaming = 6;
zombieChance = 0.3;
zombieClass[] = {"zZombie_Base","zZombie_Base","z_teacher","z_suit1","z_suit2"};
lootType[] = {
{"ItemSodaMdew","magazine",0.01},
{"ItemSodaRbull","magazine",0.01},
{"ItemSodaOrangeSherbet","magazine",0.03},
{"ItemWatch","generic",0.07},
{"ItemCompass","generic",0.02},
{"ItemMap","weapon",0.04},
{"ItemFlashlight","generic",0.01},
{"ItemKnife","generic",0.02},
{"ItemMatchbox_DZE","generic",0.04},
{"","generic",0.04},
{"backpacks","backpacks",0.07},
{"tents","tents",0.01},
{"","food",0.3},
{"","trash",0.17},
{"Binocular","weapon",0.05},
{"PartPlywoodPack","magazine",0.02},
{ "pistols", "cfglootweapon", 0.04},
{ "shotgunsingleshot", "cfglootweapon", 0.04}
};
lootTypeSmall[] = {
{ "ItemSodaMdew","magazine",0.01 },
{ "ItemSodaRbull","magazine",0.01 },
{ "ItemSodaOrangeSherbet","magazine",0.03 },
{ "ItemWatch","weapon",0.07 },
{ "ItemCompass","weapon",0.03 },
{ "ItemMap","weapon",0.05 },
{ "pistols","cfglootweapon",0.08 },
{ "ItemFlashlight","weapon",0.01 },
{ "ItemKnife","weapon",0.02 },
{ "ItemMatchbox_DZE","weapon",0.04 },
{ "","generic",0.21 },
{ "","food",0.24 },
{ "","trash",0.16 },
{ "Binocular","weapon",0.02 },
{ "ItemMixOil", "magazine",0.02}
};
};
class HeliCrash: Default {
zombieChance = 0.4;
maxRoaming = 2;
zombieClass[] = {"z_soldier_pilot"};
lootChance = 0.5;
lootPos[] = {};
lootType[] = {
{ "assaultrifles", "cfglootweapon", 0.10 },
{ "submachinegun", "cfglootweapon", 0.04 },
{ "sniperrifles", "cfglootweapon", 0.07 },
{ "machineguns", "cfglootweapon", 0.06 },
{"","military",0.3},
{"","medical",0.18},
{"MAAWS","weapon",0.02},
{"MedBox0","object",0.05},
{"NVGoggles","weapon",0.01},
{"AmmoBoxSmall_556","object",0.03},
{"AmmoBoxSmall_762","object",0.03},
{"militaryclothes","militaryclothes",0.05},
{"militaryammo","militaryammo",0.06}
};
};
class HeliCrash_No50s: Default {
zombieChance = 0.4;
maxRoaming = 2;
zombieClass[] = {"z_soldier_pilot"};
lootChance = 0.5;
lootPos[] = {};
lootType[] = {
{ "assaultrifles", "cfglootweapon", 0.10 },
{ "submachinegun", "cfglootweapon", 0.04 },
{ "sniperrifles", "cfglootweapon", 0.07 },
{ "machineguns", "cfglootweapon", 0.06 },
{ "", "military", 0.3 },
{ "", "medical", 0.18 },
{ "MAAWS", "weapon", 0.02 },
{ "MedBox0", "object", 0.05 },
{ "NVGoggles", "weapon", 0.01 },
{ "AmmoBoxSmall_556", "object", 0.03 },
{ "AmmoBoxSmall_762", "object", 0.03 },
{ "militaryclothes", "militaryclothes", 0.05 },
{ "militaryammo", "militaryammo", 0.06 }
};
};
class Hospital: Default {
zombieChance = 0.4;
minRoaming = 2;
maxRoaming = 6;
zombieClass[] = {"z_doctor","z_doctor","z_doctor"};
lootChance = 1;
lootPos[] = {};
lootType[] = {
{"","trash",0.1},
{"","hospital",0.7},
{"MedBox0","object",0.2}
};
lootTypeSmall[] = {
{ "","trash",0.1 },
{ "","hospital",0.9 }
};
};
class Military: Default {
zombieChance = 0.3;
maxRoaming = 6;
zombieClass[] = {"z_soldier","z_soldier_heavy","z_policeman"};
lootChance = 0.4;
lootPos[] = {};
lootType[] = {
{ "pistols", "cfglootweapon", 0.04},
{ "assaultrifles", "cfglootweapon", 0.13 },
{ "sniperrifles", "cfglootweapon", 0.04 },
{ "shotgunsingleshot", "cfglootweapon", 0.06 },
{ "submachinegun", "cfglootweapon", 0.07 },
{"Binocular","weapon",0.03},
{"ItemFlashlightRed","military",0.04},
{"ItemKnife","military",0.01},
{"ItemGPS","weapon",0.01},
{"ItemMap","military",0.02},
{"militarybackpacks","militarybackpacks",0.05},
{"","medical",0.03},
{"","generic",0.1},
{"","military",0.3},
{"ItemEtool","weapon",0.02},
{"ItemSandbag","magazine",0.02},
{ "machineguns", "cfglootweapon", 0.03 }
};
lootTypeSmall[] = {
{ "pistols", "cfglootweapon", 0.14 },
{ "Binocular", "weapon", 0.05 },
{ "ItemFlashlightRed", "weapon", 0.03 },
{ "ItemKnife", "weapon", 0.04 },
{ "ItemGPS", "weapon", 0.02 },
{ "", "medical", 0.12 },
{ "", "generic", 0.22 },
{ "", "military", 0.35 },
{ "ItemEtool", "weapon", 0.03 }
};
};
class MilitaryIndustrial: Default {
zombieChance = 0.3;
maxRoaming = 6;
zombieClass[] = {"z_soldier","z_soldier_heavy","z_policeman","z_soldier","z_soldier_heavy","z_policeman","z_worker1","z_worker2","z_worker3"};
lootChance = 0.4;
lootPos[] = {};
lootType[] = {
{ "pistols", "cfglootweapon", 0.02 },
{ "assaultrifles", "cfglootweapon", 0.05 },
{ "PartGeneric", "magazine", 0.03 },
{ "sniperrifles", "cfglootweapon", 0.01 },
{ "shotgunsingleshot", "cfglootweapon", 0.05 },
{ "ItemGenerator", "magazine", 0.01 },
{ "submachinegun", "cfglootweapon", 0.05 },
{"PartGeneric","magazine",0.03},
{"ItemGenerator","magazine",0.01},
{"PartWheel","magazine",0.02},
{"Binocular","weapon",0.01},
{"ItemFlashlightRed","military",0.03},
{"ItemKnife","military",0.04},
{"ItemGPS","weapon",0.01},
{"PartVRotor","magazine",0.01},
{"militarybackpacks","militarybackpacks",0.03},
{"","medical",0.05},
{"","generic",0.35},
{"","military",0.07},
{"ItemEtool","weapon",0.03},
{"ItemSandbag","magazine",0.02},
{"ItemFuelBarrelEmpty","magazine",0.03},
{"fuel_pump_kit","magazine",0.01},
{ "machineguns", "cfglootweapon", 0.01 }
};
lootTypeSmall[] = {
{ "pistols", "cfglootweapon", 0.14 },
{ "Binocular", "weapon", 0.05 },
{ "ItemFlashlightRed", "weapon", 0.03 },
{ "ItemKnife", "weapon", 0.04 },
{ "ItemGPS", "weapon", 0.02 },
{ "", "medical", 0.12 },
{ "", "generic", 0.22 },
{ "", "military", 0.35 },
{ "ItemEtool", "weapon", 0.03 }
};
};
class IndustrialMilitary: Default {
zombieChance = 0.4;
maxRoaming = 6;
zombieClass[] = {"z_soldier","z_soldier_heavy","z_policeman","z_soldier","z_soldier_heavy","z_policeman","z_worker1","z_worker2","z_worker3"};
lootChance = 0.5;
lootPos[] = {};
lootType[] = {
{ "pistols", "cfglootweapon", 0.02 },
{ "assaultrifles", "cfglootweapon", 0.05 },
{ "PartGeneric", "magazine", 0.03 },
{ "sniperrifles", "cfglootweapon", 0.01 },
{ "shotgunsingleshot", "cfglootweapon", 0.05 },
{ "ItemGenerator", "magazine", 0.01 },
{ "submachinegun", "cfglootweapon", 0.05 },
{"PartGeneric","magazine",0.03},
{"ItemGenerator","magazine",0.01},
{"PartWheel","magazine",0.02},
{"Binocular","weapon",0.01},
{"ItemFlashlightRed","military",0.03},
{"ItemKnife","military",0.04},
{"ItemGPS","weapon",0.01},
{"PartVRotor","magazine",0.01},
{"PartFueltank","magazine",0.03},
{"PartEngine","magazine",0.04},
{"PartGlass","magazine",0.05},
{"militarybackpacks","militarybackpacks",0.03},
{"","medical",0.05},
{"","generic",0.25},
{"","military",0.07},
{"ItemEtool","weapon",0.03},
{"ItemSandbag","magazine",0.02},
{"ItemFuelBarrelEmpty","magazine",0.03},
{"fuel_pump_kit","magazine",0.01},
{ "machineguns", "cfglootweapon", 0.01 }
};
lootTypeSmall[] = {
{ "pistols", "cfglootweapon", 0.14 },
{ "Binocular", "weapon", 0.05 },
{ "ItemFlashlightRed", "weapon", 0.03 },
{ "ItemKnife", "weapon", 0.04 },
{ "ItemGPS", "weapon", 0.02 },
{ "", "medical", 0.12 },
{ "", "generic", 0.22 },
{ "", "military", 0.35 },
{ "ItemEtool", "weapon", 0.03 }
};
};
class MilitarySpecial: Default {
zombieChance = 0.4;
minRoaming = 2;
maxRoaming = 6;
zombieClass[] = {"z_soldier_heavy"};
lootChance = 0.4;
lootPos[] = {};
lootType[] = {
{ "assaultrifles", "cfglootweapon", 0.1 },
{ "machineguns", "cfglootweapon", 0.04 },
{ "pistols", "cfglootweapon", 0.08 },
{ "sniperrifles", "cfglootweapon", 0.03 },
{ "militaryshotguns", "cfglootweapon", 0.05 },
{ "submachinegun", "cfglootweapon", 0.06 },
{"AmmoBoxSmall_556","object",0.01},
{"AmmoBoxSmall_762","object",0.02},
{"Binocular","weapon",0.01},
{"ItemFlashlightRed","military",0.02},
{"ItemKnife","military",0.01},
{"ItemGPS","weapon",0.01},
{"ItemMap","military",0.01},
{"Binocular_Vector","military",0.01},
{"militarybackpacks","militarybackpacks",0.04},
{"","medical",0.08},
{"","generic",0.3},
{"","military",0.01},
{"machinegunammo","machinegunammo",0.05},
{"militaryclothes","militaryclothes",0.05},
{"NVGoggles","weapon",0.01}
};
lootTypeSmall[] = {
{ "pistols","cfglootweapon",0.10 },
{ "AmmoBoxSmall_556","object",0.02 },
{ "AmmoBoxSmall_762","object",0.02 },
{ "Binocular","weapon",0.02 },
{ "ItemFlashlightRed","military",0.01 },
{ "ItemKnife","military",0.02 },
{ "ItemGPS","weapon",0.02 },
{ "ItemMap","weapon",0.01 },
{ "Binocular_Vector","weapon",0.03},
{ "","medical",0.08},
{ "","generic",0.15},
{ "","military",0.33 },
{ "5Rnd_86x70_L115A1","magazine",0.03},
{ "10Rnd_127x99_m107","magazine",0.02},
{ "machinegunammoexpl","single",0.02 },
{ "militaryclothes","single",0.05 },
{ "NVGoggles","weapon",0.04 },
{ "100Rnd_762x54_PK","magazine",0.02 }
};
};
class Hunting: Default {
zombieChance = 0.4;
minRoaming = 1;
maxRoaming = 3;
zombieClass[] = {"z_hunter","z_hunter","z_hunter"};
lootChance = 1;
lootPos[] = {};
lootType[] = {
{"ItemMap","weapon",0.02},
{"ItemFlashlight","generic",0.01},
{"ItemKnife","generic",0.01},
{"ItemMatchbox_DZE","generic",0.03},
{ "farmweapons", "cfglootweapon", 0.03 },
{"","military",0.38},
{"WeaponHolder_ItemMachete","object",0.02},
{"","hunter",0.5}
};
lootTypeSmall[] = {
{"ItemMap","weapon",0.02},
{"ItemFlashlight","weapon",0.02},
{"ItemKnife","weapon",0.02},
{"ItemMatchbox_DZE","weapon",0.04},
{"","military",0.4},
{"","hunter",0.5}
};
};
class DynamicDebris: Default
{
lootChance = 0.4;
minRoaming = 0;
maxRoaming = 2;
zombieChance = 0.3;
zombieClass[] = {"zZombie_Base","zZombie_Base","z_teacher","z_suit1","z_suit2"};
lootType[] = {
{ "ItemWatch", "generic", 0.19 },
{ "ItemCompass", "generic", 0.01 },
{ "ItemMap", "weapon", 0.06 },
{ "Makarov", "weapon", 0.02 },
{ "Colt1911", "weapon", 0.02 },
{ "ItemFlashlight", "generic", 0.06 },
{ "ItemKnife", "generic", 0.06 },
{ "ItemMatchbox_DZE", "generic", 0.06 },
{ "ItemToolbox", "weapon", 0.02 },
{ "", "generic", 0.17 },
{ "", "food", 0.06 },
{ "PartGeneric", "magazine", 0.07 },
{ "PartWheel", "magazine", 0.06 },
{ "PartFueltank", "magazine", 0.03 },
{ "PartEngine", "magazine", 0.01 },
{ "PartGlass", "magazine", 0.08 },
{ "WeaponHolder_ItemJerrycan", "object", 0.03 }
};
};
class DynamicDebrisMilitary: Default
{
lootChance = 0.4;
minRoaming = 0;
maxRoaming = 2;
zombieChance = 0.3;
zombieClass[] = {"z_soldier_pilot","z_soldier_heavy"};
lootType[] = {
{ "ItemEtool", "weapon", 0.05 },
{ "ItemSandbag", "magazine", 0.1 },
{ "", "military", 0.08 },
{ "ItemWatch", "generic", 0.1 },
{ "ItemCompass", "generic", 0.02 },
{ "ItemMap", "weapon", 0.05 },
{ "MakarovSD", "weapon", 0.01 },
{ "Colt1911", "weapon", 0.02 },
{ "ItemFlashlight", "generic", 0.01 },
{ "ItemKnife", "generic", 0.05 },
{ "ItemMatchbox_DZE", "generic", 0.05 },
{ "ItemToolbox", "weapon", 0.02 },
{ "", "generic", 0.15 },
{ "", "food", 0.05 },
{ "PartGeneric", "magazine", 0.06 },
{ "PartWheel", "magazine", 0.05 },
{ "PartFueltank", "magazine", 0.03 },
{ "PartEngine", "magazine", 0.02 },
{ "PartGlass", "magazine", 0.03 },
{ "PartVRotor", "magazine", 0.02 },
{ "WeaponHolder_ItemJerrycan", "object", 0.03 }
};
};
class SupplyDrop: Default {
zombieChance = 1;
maxRoaming = 3;
zombieClass[] = {"zZombie_Base","z_hunter","z_hunter","z_hunter","z_villager1","z_villager2","z_villager3","z_doctor","z_soldier_pilot","z_soldier_heavy"};
lootChance = 1;
lootPos[] = {};
lootType[] = {
{ "PartPlywoodPack", "magazine", 0.1 },
{ "PartPlankPack", "magazine", 0.2 },
{ "CinderBlocks", "magazine", 0.1 },
{ "MortarBucket", "magazine", 0.1 },
{ "bulk_PartGeneric", "magazine", 0.2 },
{ "bulk_ItemSandbag", "magazine", 0.1 },
{ "bulk_ItemTankTrap", "magazine", 0.1 },
{ "ItemSledge", "weapon", 0.1 }
};
};
class MassGrave: Default {
zombieChance = 1;
maxRoaming = 3;
zombieClass[] = {"zZombie_Base","z_hunter","z_hunter","z_hunter","z_villager1","z_villager2","z_villager3","z_doctor","z_soldier_pilot","z_soldier_heavy"};
lootChance = 1;
lootPos[] = {};
lootType[] = {
{ "M16A2", "weapon", 0.03 },
{ "M16A2GL", "weapon", 0.01 },
{ "M249_EP1_DZ", "weapon", 0.01 },
{ "M9SD", "weapon", 0.02 },
{ "Pecheneg_DZ", "weapon", 0.02 },
{ "PK_DZ", "weapon", 0.01 },
{ "AK_74", "weapon", 0.02 },
{ "M4A1_Aim", "weapon", 0.01 },
{ "AKS_74_kobra", "weapon", 0.01 },
{ "AKS_74_U", "weapon", 0.02 },
{ "AK_47_M", "weapon", 0.02 },
{ "M24", "weapon", 0.01 },
{ "SVD_CAMO", "weapon", 0.01 },
{ "M1014", "weapon", 0.02 },
{ "BAF_LRR_scoped", "weapon", 0.01 },
{ "M4SPR", "weapon", 0.01 },
{ "M4A1", "weapon", 0.01 },
{ "M14_EP1", "weapon", 0.02 },
{ "UZI_EP1", "weapon", 0.03 },
{ "Remington870_lamp", "weapon", 0.01 },
{ "glock17_EP1", "weapon", 0.02 },
{ "M240_DZ", "weapon", 0.02 },
{ "M4A1_AIM_SD_camo", "weapon", 0.01 },
{ "M16A4_ACG", "weapon", 0.01 },
{ "M4A1_HWS_GL_camo", "weapon", 0.01 },
{ "Mk_48_DZ", "weapon", 0.01 },
{ "M4A3_CCO_EP1", "weapon", 0.01 },
{ "AmmoBoxSmall_556", "object", 0.03 },
{ "AmmoBoxSmall_762", "object", 0.03 },
{ "Binocular", "weapon", 0.01 },
{ "ItemFlashlightRed", "military", 0.02 },
{ "ItemKnife", "military", 0.01 },
{ "ItemGPS", "weapon", 0.01 },
{ "ItemMap", "military", 0.01 },
{ "Binocular_Vector", "military", 0.01 },
{ "DZ_ALICE_Pack_EP1", "object", 0.03 },
{ "DZ_TK_Assault_Pack_EP1", "object", 0.02 },
{ "DZ_British_ACU", "object", 0.02 },
{ "DZ_CivilBackpack_EP1", "object", 0.02 },
{ "DZ_Backpack_EP1", "object", 0.01 },
{ "DZ_LargeGunBag_EP1", "object", 0.01 },
{ "", "medical", 0.05 },
{ "", "generic", 0.05 },
{ "", "military", 0.13 },
{ "PipeBomb", "magazine", 0.01 },
{ "Sa58V_RCO_EP1", "weapon", 0.01 },
{ "Sa58V_CCO_EP1", "weapon", 0.01 },
{ "G36_C_SD_camo", "weapon", 0.01 },
{ "M40A3", "weapon", 0.01 },
{ "100Rnd_762x54_PK", "magazine", 0.01 },
{ "", "militaryclothes", 0.05 },
{ "WeaponHolder_ItemMachete", "object", 0.02 },
{ "SCAR_H_LNG_Sniper_SD", "weapon", 0.01 },
{ "2000Rnd_762x51_M134", "magazine", 0.01 },
{ "KSVK_DZE", "weapon", 0.01 },
{ "m240_scoped_EP1_DZE", "weapon", 0.01 }
};
};
#include "CfgBuildingPos.hpp"
//If you want to copypast your loottable to your mission w/o
//changing something on the lootPos then use the a include instead of copypasting the CfgBuildingPos.hpp
//#include "\dayz_epoch_b\CfgBuildingPos.hpp"
};

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

@@ -0,0 +1,501 @@
#include "CfgLootSmall.hpp"
class CfgLoot {
trash[] = {
{"TrashTinCan",0.5}
,{"TrashJackDaniels",0.05}
,{"ItemSodaEmpty",0.25}
,{"ItemTrashToiletpaper",0.1}
,{"ItemTrashRazor",0.1}
};
civilian[] = {
{"FoodCanUnlabeled",0.07}
,{"TrashJackDaniels",0.08}
,{"ItemSodaEmpty",0.08}
,{"ItemSodaCoke",0.09}
,{"ItemSodaPepsi",0.09}
,{"FoodCanBakedBeans",0.05}
,{"FoodCanSardines",0.05}
,{"FoodCanFrankBeans",0.05}
,{"FoodCanPasta",0.05}
,{"8Rnd_9x18_Makarov",0.07}
,{"7Rnd_45ACP_1911",0.05}
,{"2Rnd_shotgun_74Slug",0.05}
,{"2Rnd_shotgun_74Pellets",0.05}
,{"ItemBandage",0.06}
,{"ItemPainkiller",0.06}
,{"FoodBioMeat",0.01}
,{"8Rnd_9x18_MakarovSD",0.01}
,{"ItemDocument",0.03}
};
office2[] = {
{"FoodCanUnlabeled",0.07}
,{"TrashJackDaniels",0.08}
,{"ItemSodaEmpty",0.08}
,{"ItemSodaCoke",0.09}
,{"ItemSodaPepsi",0.09}
,{"FoodCanBakedBeans",0.05}
,{"FoodCanSardines",0.05}
,{"FoodCanFrankBeans",0.05}
,{"FoodCanPasta",0.05}
,{"8Rnd_9x18_Makarov",0.07}
,{"7Rnd_45ACP_1911",0.05}
,{"2Rnd_shotgun_74Slug",0.05}
,{"2Rnd_shotgun_74Pellets",0.05}
,{"ItemBandage",0.06}
,{"ItemPainkiller",0.06}
,{"FoodBioMeat",0.01}
,{"8Rnd_9x18_MakarovSD",0.01}
,{"ItemBriefcaseEmpty",0.01}
,{"ItemDocument",0.02}
};
food[] = {
{"TrashTinCan",0.09}
,{"TrashJackDaniels",0.12}
,{"ItemSodaEmpty",0.12}
,{"ItemSodaCoke",0.09}
,{"ItemSodaPepsi",0.11}
,{"FoodCanBakedBeans",0.07}
,{"FoodCanSardines",0.07}
,{"FoodCanFrankBeans",0.07}
,{"FoodCanPasta",0.07}
,{"FoodCanUnlabeled",0.1}
,{"FoodPistachio",0.05}
,{"FoodNutmix",0.04}
};
office[] = {
{"FoodCanUnlabeled",0.06}
,{"ItemSodaEmpty",0.06}
,{"ItemSodaCoke",0.06}
,{"ItemSodaPepsi",0.04}
,{"TrashJackDaniels",0.04}
,{"FoodCanBakedBeans",0.01}
,{"FoodCanSardines",0.01}
,{"FoodCanFrankBeans",0.01}
,{"FoodCanPasta",0.01}
,{"ItemWaterbottleUnfilled",0.01}
,{"ItemWaterbottle",0.01}
,{"ItemBandage",0.07}
,{"7Rnd_45ACP_1911",0.03}
,{"5x_22_LR_17_HMR",0.01}
,{"10x_303",0.04}
,{"6Rnd_45ACP",0.04}
,{"2Rnd_shotgun_74Slug",0.05}
,{"2Rnd_shotgun_74Pellets",0.05}
,{"8Rnd_9x18_Makarov",0.08}
,{"15Rnd_W1866_Slug",0.02}
,{"WoodenArrow",0.04}
,{"HandRoadFlare",0.07}
,{"ItemPainkiller",0.02}
,{"HandChemGreen",0.01}
,{"HandChemBlue",0.03}
,{"HandChemRed",0.03}
,{"ItemHeatPack",0.03}
,{"ItemLockbox",0.04}
,{"ItemDocument",0.02}
};
generic[] = {
{"FoodCanUnlabeled",0.06}
,{"ItemSodaEmpty",0.06}
,{"ItemSodaCoke",0.06}
,{"ItemSodaPepsi",0.04}
,{"TrashJackDaniels",0.04}
,{"FoodCanBakedBeans",0.01}
,{"FoodCanSardines",0.01}
,{"FoodCanFrankBeans",0.01}
,{"FoodCanPasta",0.01}
,{"ItemWaterbottleUnfilled",0.01}
,{"ItemWaterbottle",0.01}
,{"ItemBandage",0.11}
,{"7Rnd_45ACP_1911",0.03}
,{"5x_22_LR_17_HMR",0.01}
,{"10x_303",0.04}
,{"6Rnd_45ACP",0.04}
,{"2Rnd_shotgun_74Slug",0.05}
,{"2Rnd_shotgun_74Pellets",0.05}
,{"8Rnd_9x18_Makarov",0.09}
,{"15Rnd_W1866_Slug",0.02}
,{"WoodenArrow",0.04}
,{"HandRoadFlare",0.07}
,{"ItemPainkiller",0.02}
,{"HandChemGreen",0.01}
,{"HandChemBlue",0.03}
,{"HandChemRed",0.03}
,{"ItemHeatPack",0.04}
};
medical[] = {
{"ItemBandage",0.4}
,{"ItemPainkiller",0.15}
,{"ItemMorphine",0.2}
,{"ItemEpinephrine",0.1}
,{"ItemAntibiotic",0.1}
,{"ItemHeatPack",0.05}
};
hospital[] = {
{"ItemBandage",0.33}
,{"ItemPainkiller",0.16}
,{"ItemMorphine",0.13}
,{"ItemEpinephrine",0.09}
,{"ItemBloodbag",0.17}
,{"ItemAntibiotic",0.12}
};
military[] = {
{"FoodCanUnlabeled",0.07}
,{"ItemSodaEmpty",0.04}
,{"ItemSodaCoke",0.01}
,{"ItemSodaPepsi",0.01}
,{"ItemBandage",0.04}
,{"ItemAntibiotic",0.04}
,{"ItemPainkiller",0.04}
,{"ItemMorphine",0.01}
,{"30Rnd_556x45_Stanag",0.04}
,{"20Rnd_762x51_DMR",0.04}
,{"17Rnd_9x19_glock17",0.05}
,{"15Rnd_9x19_M9SD",0.01}
,{"15Rnd_9x19_M9",0.02}
,{"30Rnd_762x39_AK47",0.04}
,{"30Rnd_545x39_AK",0.04}
,{"5Rnd_762x51_M24",0.01}
,{"5Rnd_86x70_L115A1",0.01}
,{"8Rnd_B_Beneli_74Slug",0.04}
,{"1Rnd_HE_M203",0.01}
,{"FlareWhite_M203",0.01}
,{"FlareGreen_M203",0.01}
,{"1Rnd_Smoke_M203",0.01}
,{"200Rnd_556x45_M249",0.01}
,{"HandGrenade_west",0.01}
,{"HandGrenade_east",0.01}
,{"SmokeShell",0.04}
,{"SmokeShellRed",0.02}
,{"SmokeShellGreen",0.02}
,{"8Rnd_B_Beneli_Pellets",0.04}
,{"30Rnd_556x45_StanagSD",0.01}
,{"30Rnd_9x19_MP5",0.02}
,{"30Rnd_9x19_MP5SD",0.01}
,{"100Rnd_762x51_M240",0.01}
,{"HandChemGreen",0.02}
,{"HandChemBlue",0.02}
,{"HandChemRed",0.02}
,{"ItemHeatPack",0.04}
,{"FoodMRE",0.03}
,{"8Rnd_9x18_MakarovSD",0.01}
,{"20Rnd_B_765x17_Ball",0.04}
,{"30Rnd_9x19_UZI_SD",0.01}
,{"ItemDocument",0.02}
};
militarypilot[] = {
{"FoodCanUnlabeled",0.06}
,{"ItemSodaEmpty",0.04}
,{"ItemSodaCoke",0.01}
,{"ItemSodaPepsi",0.01}
,{"ItemBandage",0.04}
,{"ItemAntibiotic",0.04}
,{"ItemPainkiller",0.04}
,{"ItemMorphine",0.01}
,{"30Rnd_556x45_Stanag",0.04}
,{"20Rnd_762x51_DMR",0.04}
,{"17Rnd_9x19_glock17",0.05}
,{"15Rnd_9x19_M9SD",0.01}
,{"15Rnd_9x19_M9",0.02}
,{"30Rnd_762x39_AK47",0.04}
,{"30Rnd_545x39_AK",0.04}
,{"5Rnd_762x51_M24",0.01}
,{"5Rnd_86x70_L115A1",0.01}
,{"8Rnd_B_Beneli_74Slug",0.04}
,{"1Rnd_HE_M203",0.01}
,{"FlareWhite_M203",0.01}
,{"FlareGreen_M203",0.01}
,{"1Rnd_Smoke_M203",0.01}
,{"200Rnd_556x45_M249",0.01}
,{"HandGrenade_west",0.01}
,{"HandGrenade_east",0.01}
,{"SmokeShell",0.04}
,{"SmokeShellRed",0.02}
,{"SmokeShellGreen",0.02}
,{"8Rnd_B_Beneli_Pellets",0.04}
,{"30Rnd_556x45_StanagSD",0.01}
,{"30Rnd_9x19_MP5",0.02}
,{"30Rnd_9x19_MP5SD",0.01}
,{"100Rnd_762x51_M240",0.01}
,{"HandChemGreen",0.02}
,{"HandChemBlue",0.02}
,{"HandChemRed",0.02}
,{"ItemHeatPack",0.04}
,{"FoodMRE",0.03}
,{"8Rnd_9x18_MakarovSD",0.01}
,{"20Rnd_B_765x17_Ball",0.04}
,{"30Rnd_9x19_UZI_SD",0.01}
,{"ItemHotwireKit",0.03}
};
policeman[] = {
{"ItemBandage",0.3}
,{"7Rnd_45ACP_1911",0.08}
,{"6Rnd_45ACP",0.08}
,{"15Rnd_W1866_Slug",0.14}
,{"8Rnd_B_Beneli_Pellets",0.16}
,{"HandRoadFlare",0.07}
,{"8Rnd_9x18_MakarovSD",0.01}
,{"ItemComboLock",0.05}
,{"SmokeShell",0.04}
,{"FoodMRE",0.04}
,{"ItemHotwireKit",0.03}
,{"ItemDocument",0.02}
};
hunter[] = {
{"ItemBandage",0.4}
,{"5x_22_LR_17_HMR",0.15}
,{"7Rnd_45ACP_1911",0.03}
,{"10x_303",0.1}
,{"ItemWaterbottleUnfilled",0.05}
,{"WoodenArrow",0.2}
,{"ItemHeatPack",0.02}
,{"FoodMRE",0.01}
,{"FoodNutmix",0.02}
,{"ItemDocument",0.01}
,{"ItemMixOil",0.01}
};
worker[] = {
{"FoodCanUnlabeled",0.09}
,{"TrashJackDaniels",0.09}
,{"ItemSodaEmpty",0.1}
,{"ItemSodaCoke",0.1}
,{"ItemSodaPepsi",0.1}
,{"FoodCanBakedBeans",0.06}
,{"FoodCanSardines",0.06}
,{"FoodCanFrankBeans",0.06}
,{"FoodCanPasta",0.06}
,{"ItemBandage",0.1}
,{"ItemPainkiller",0.06}
,{"ItemWire",0.01}
,{"ItemTankTrap",0.03}
,{"ItemComboLock",0.04}
,{"ItemSledgeHead",0.02}
,{"ItemDocument",0.02}
};
clothes[] = {
{"Skin_RU_Policeman_DZ",0.11}
,{"Skin_Pilot_EP1_DZ",0.1}
,{"Skin_Functionary1_EP1_DZ",0.1}
,{"Skin_Priest_DZ",0.1}
,{"Skin_Rocker1_DZ",0.07}
,{"Skin_Rocker2_DZ",0.07}
,{"Skin_Rocker3_DZ",0.08}
,{"Skin_Rocker4_DZ",0.08}
,{"Skin_SurvivorW3_DZ",0.09}
,{"Skin_SurvivorWpink_DZ",0.09}
,{"Skin_SurvivorWurban_DZ",0.07}
,{"Skin_INS_Bardak_DZ",0.02}
,{"Skin_INS_Worker2_DZ",0.02}
};
militaryclothes[] = {
{"Skin_Camo1_DZ",0.09}
,{"Skin_Sniper1_DZ",0.08}
,{"Skin_Rocket_DZ",0.05}
,{"Skin_Soldier1_DZ",0.5}
,{"Skin_Drake_Light_DZ",0.07}
,{"Skin_Soldier_TL_PMC_DZ",0.07}
,{"Skin_Soldier_Sniper_PMC_DZ",0.05}
,{"Skin_Soldier_Bodyguard_AA12_PMC_DZ",0.07}
,{"Skin_CZ_Special_Forces_GL_DES_EP1_DZ",0.08}
,{"Skin_FR_OHara_DZ",0.08}
,{"Skin_FR_Rodriguez_DZ",0.09}
,{"Skin_CZ_Soldier_Sniper_EP1_DZ",0.04}
,{"Skin_Graves_Light_DZ",0.09}
,{"Skin_INS_Soldier_AR_DZ",0.05}
,{"Skin_INS_Soldier_CO_DZ",0.04}
};
specialclothes[] = {
{"Skin_Ins_Soldier_GL_DZ",0.05}
,{"Skin_GUE_Commander_DZ",0.08}
,{"Skin_Bandit1_DZ",0.08}
,{"Skin_Bandit2_DZ",0.06}
,{"Skin_BanditW1_DZ",0.07}
,{"Skin_BanditW2_DZ",0.07}
,{"Skin_TK_INS_Soldier_EP1_DZ",0.05}
,{"Skin_TK_INS_Warlord_EP1_DZ",0.07}
,{"Skin_SurvivorWcombat_DZ",0.08}
,{"Skin_SurvivorWdesert_DZ",0.08}
,{"Skin_GUE_Soldier_MG_DZ",0.05}
,{"Skin_GUE_Soldier_Sniper_DZ",0.04}
,{"Skin_GUE_Soldier_Crew_DZ",0.04}
,{"Skin_GUE_Soldier_CO_DZ",0.04}
,{"Skin_GUE_Soldier_2_DZ",0.04}
,{"Skin_TK_Special_Forces_MG_EP1_DZ",0.02}
,{"Skin_TK_Soldier_Sniper_EP1_DZ",0.02}
,{"Skin_TK_Commander_EP1_DZ",0.02}
,{"Skin_RU_Soldier_Crew_DZ",0.02}
,{"Skin_INS_Lopotev_DZ",0.02}
};
tents[] = {
{"WeaponHolder_ItemTentOld",0.34}
,{"WeaponHolder_ItemTentDomed",0.33}
,{"WeaponHolder_ItemTentDomed2",0.33}
};
backpacks[] = {
{"DZ_Assault_Pack_EP1",0.22}
,{"DZ_Czech_Vest_Puch",0.2}
,{"DZ_TerminalPack_EP1",0.18}
,{"DZ_ALICE_Pack_EP1",0.16}
,{"DZ_TK_Assault_Pack_EP1",0.13}
,{"DZ_CompactPack_EP1",0.11}
};
militarybackpacks[] = {
{"DZ_British_ACU",0.3}
,{"DZ_GunBag_EP1",0.25}
,{"DZ_CivilBackpack_EP1",0.2}
,{"DZ_Backpack_EP1",0.15}
,{"DZ_LargeGunBag_EP1",0.1}
};
militaryammo[] = {
{"2000Rnd_762x51_M134",0.1}
,{"29Rnd_30mm_AGS30",0.2}
,{"50Rnd_127x107_DSHKM",0.2}
,{"48Rnd_40mm_MK19",0.2}
,{"100Rnd_127x99_M2",0.3}
};
pistols[] = {
{"Makarov",0.25}
,{"Colt1911",0.23}
,{"revolver_EP1",0.2}
,{"glock17_EP1",0.1}
,{"MakarovSD",0.1}
,{"M9",0.07}
,{"M9SD",0.04}
,{"revolver_gold_EP1",0.01}
};
shotgunsingleshot[] = {
{"Winchester1866",0.25}
,{"LeeEnfield",0.2}
,{"MR43",0.2}
,{"Saiga12K",0.13}
,{"Remington870_lamp",0.1}
,{"Crossbow_DZ",0.07}
,{"M1014",0.05}
};
farmweapons[] = {
{"Winchester1866",0.25}
,{"LeeEnfield",0.2}
,{"MR43",0.19}
,{"Saiga12K",0.13}
,{"Remington870_lamp",0.1}
,{"Crossbow_DZ",0.07}
,{"huntingrifle",0.05}
,{"Chainsaw",0.01}
};
sniperrifles[] = {
{"AK_107_PSO",0.1}
,{"M4SPR",0.09}
,{"M40A3",0.09}
,{"SVD_CAMO",0.07}
,{"SVD_des_EP1",0.07}
,{"SVD",0.07}
,{"huntingrifle",0.09}
,{"M24_des_EP1",0.08}
,{"M24",0.07}
,{"BAF_LRR_scoped",0.07}
,{"M107_DZ",0.05}
,{"KSVK_DZE",0.05}
,{"VSS_vintorez",0.04}
,{"SCAR_H_LNG_Sniper_SD",0.03}
,{"M14_EP1",0.02}
,{"DMR",0.01}
};
sniperriflesammo[] = {
{"30Rnd_545x39_AKSD",0.18}
,{"5Rnd_127x108_KSVK",0.08}
,{"5Rnd_86x70_L115A1",0.07}
,{"10Rnd_127x99_m107",0.15}
,{"10Rnd_762x54_SVD",0.2}
,{"20Rnd_762x51_DMR",0.1}
,{"5Rnd_762x51_M24",0.15}
,{"5x_22_LR_17_HMR",0.1}
,{"20Rnd_762x51_SB_SCAR",0.07}
,{"20Rnd_9x39_SP5_VSS",0.05}
};
submachinegun[] = {
{"UZI_EP1",0.25}
,{"bizon",0.2}
,{"Sa61_EP1",0.2}
,{"MP5A5",0.13}
,{"bizon_silenced",0.1}
,{"UZI_SD_EP1",0.07}
,{"MP5SD",0.05}
};
assaultrifles[] = {
{"AKS_74_kobra",0.05}
,{"AKS_74_U",0.05}
,{"AKS_GOLD",0.01}
,{"AK_47_M",0.05}
,{"AK_74",0.05}
,{"FN_FAL",0.03}
,{"FN_FAL_ANPVS4",0.01}
,{"G36A_camo",0.05}
,{"G36C",0.05}
,{"G36C_camo",0.05}
,{"G36K_camo",0.05}
,{"G36_C_SD_camo",0.03}
,{"M16A2",0.05}
,{"M16A2GL",0.02}
,{"M16A4_ACG",0.01}
,{"M4A1",0.05}
,{"M4A1_Aim",0.04}
,{"M4A1_AIM_SD_camo",0.01}
,{"M4A1_HWS_GL_camo",0.01}
,{"M4A3_CCO_EP1",0.04}
,{"Sa58P_EP1",0.02}
,{"Sa58V_CCO_EP1",0.04}
,{"Sa58V_EP1",0.02}
,{"Sa58V_RCO_EP1",0.04}
,{"m8_compact",0.03}
,{"m8_sharpshooter",0.04}
,{"m8_holo_sd",0.02}
,{"m8_carbine",0.05}
,{"BAF_L85A2_RIS_SUSAT",0.02}
,{"BAF_L85A2_RIS_Holo",0.01}
,{"M4A1_HWS_GL_SD_Camo",0.01}
};
assaultrifleammo[] = {
{"30Rnd_762x39_SA58",0.25}
,{"30Rnd_762x39_AK47",0.2}
,{"30Rnd_556x45_Stanag",0.2}
,{"30Rnd_545x39_AK",0.11}
,{"30Rnd_556x45_StanagSD",0.12}
,{"20Rnd_762x51_FNFAL",0.07}
};
machineguns[] = {
{"RPK_74",0.11}
,{"M8_SAW",0.11}
,{"Pecheneg_DZ",0.1}
,{"PK_DZ",0.1}
,{"MG36_camo",0.1}
,{"M60A4_EP1_DZE",0.1}
,{"MG36",0.1}
,{"M249_m145_EP1_DZE",0.1}
,{"m240_scoped_EP1_DZE",0.1}
,{"M240_DZ",0.08}
,{"M249_EP1_DZ",0.05}
,{"Mk_48_DZ",0.05}
};
machinegunammo[] = {
{"100Rnd_556x45_BetaCMag",0.2}
,{"75Rnd_545x39_RPK",0.2}
,{"100Rnd_556x45_M249",0.15}
,{"100Rnd_762x51_M240",0.15}
,{"100Rnd_762x54_PK",0.15}
,{"200Rnd_556x45_M249",0.15}
};
machinegunammoexpl[] = {
{"100Rnd_556x45_BetaCMag",0.2}
,{"75Rnd_545x39_RPK",0.2}
,{"100Rnd_556x45_M249",0.15}
,{"100Rnd_762x51_M240",0.15}
,{"100Rnd_762x54_PK",0.14}
,{"200Rnd_556x45_M249",0.14}
,{"MAAWS_HEAT",0.01}
,{"PipeBomb",0.01}
};
militaryshotguns[] = {
{"Saiga12K",0.25}
,{"Remington870_lamp",0.35}
,{"M1014",0.4}
};
};

View File

@@ -0,0 +1,276 @@
class CfgLootSmall {
trash[] = {
{"TrashTinCan",0.5},
{"TrashJackDaniels",0.05},
{"ItemSodaEmpty",0.25},
{"ItemTrashToiletpaper",0.1},
{"ItemTrashRazor",0.1}
};
civilian[] = {
{"FoodCanUnlabeled",0.07},
{"TrashJackDaniels",0.09},
{"ItemSodaEmpty",0.09},
{"ItemSodaCoke",0.1},
{"ItemSodaPepsi",0.09},
{"FoodCanBakedBeans",0.05},
{"FoodCanSardines",0.05},
{"FoodCanFrankBeans",0.05},
{"FoodCanPasta",0.05},
{"8Rnd_9x18_Makarov",0.07},
{"7Rnd_45ACP_1911",0.05},
{"2Rnd_shotgun_74Slug",0.05},
{"2Rnd_shotgun_74Pellets",0.05},
{"ItemBandage",0.06},
{"ItemPainkiller",0.06},
{"FoodBioMeat",0.01},
{"8Rnd_9x18_MakarovSD",0.01}
};
office2[] = {
{"FoodCanUnlabeled",0.07},
{"TrashJackDaniels",0.09},
{"ItemSodaEmpty",0.09},
{"ItemSodaCoke",0.09},
{"ItemSodaPepsi",0.09},
{"FoodCanBakedBeans",0.05},
{"FoodCanSardines",0.05},
{"FoodCanFrankBeans",0.05},
{"FoodCanPasta",0.05},
{"8Rnd_9x18_Makarov",0.07},
{"7Rnd_45ACP_1911",0.05},
{"2Rnd_shotgun_74Slug",0.05},
{"2Rnd_shotgun_74Pellets",0.05},
{"ItemBandage",0.06},
{"ItemPainkiller",0.06},
{"FoodBioMeat",0.01},
{"8Rnd_9x18_MakarovSD",0.01}
};
food[] = {
//trash
{"TrashTinCan",0.09},
{"TrashJackDaniels",0.12},
{"ItemSodaEmpty",0.12},
{"ItemSodaCoke",0.09},
{"ItemSodaPepsi",0.11},
{"FoodCanBakedBeans",0.07},
{"FoodCanSardines",0.07},
{"FoodCanFrankBeans",0.07},
{"FoodCanPasta",0.07},
{"FoodCanUnlabeled",0.1},
// food Bags
{"FoodPistachio",0.05},
{"FoodNutmix",0.04}
};
office[] = {
{"FoodCanUnlabeled",0.06},
{"ItemSodaEmpty",0.06},
{"ItemSodaCoke",0.06},
{"ItemSodaPepsi",0.04},
{"TrashJackDaniels",0.04},
{"FoodCanBakedBeans",0.01},
{"FoodCanSardines",0.01},
{"FoodCanFrankBeans",0.01},
{"FoodCanPasta",0.01},
{"ItemWaterbottleUnfilled",0.01},
{"ItemWaterbottle",0.01},
{"ItemBandage",0.08},
{"7Rnd_45ACP_1911",0.03},
{"5x_22_LR_17_HMR",0.01},
{"10x_303",0.04},
{"6Rnd_45ACP",0.04},
{"2Rnd_shotgun_74Slug",0.05},
{"2Rnd_shotgun_74Pellets",0.05},
{"8Rnd_9x18_Makarov",0.09},
{"15Rnd_W1866_Slug",0.02},
{"WoodenArrow",0.04},
{"HandRoadFlare",0.07},
{"ItemPainkiller",0.02},
{"HandChemGreen",0.01},
{"HandChemBlue",0.03},
{"HandChemRed",0.03},
{"ItemHeatPack",0.03}
};
generic[] = {
{"FoodCanUnlabeled",0.06},
{"ItemSodaEmpty",0.06},
{"ItemSodaCoke",0.06},
{"ItemSodaPepsi",0.04},
{"TrashJackDaniels",0.04},
{"FoodCanBakedBeans",0.01},
{"FoodCanSardines",0.01},
{"FoodCanFrankBeans",0.01},
{"FoodCanPasta",0.01},
{"ItemWaterbottleUnfilled",0.01},
{"ItemWaterbottle",0.01},
{"ItemBandage",0.11},
{"7Rnd_45ACP_1911",0.03},
{"5x_22_LR_17_HMR",0.01},
{"10x_303",0.04},
{"6Rnd_45ACP",0.04},
{"2Rnd_shotgun_74Slug",0.05},
{"2Rnd_shotgun_74Pellets",0.05},
{"8Rnd_9x18_Makarov",0.09},
{"15Rnd_W1866_Slug",0.02},
{"WoodenArrow",0.04},
{"HandRoadFlare",0.07},
{"ItemPainkiller",0.02},
{"HandChemGreen",0.01},
{"HandChemBlue",0.03},
{"HandChemRed",0.03},
{"ItemHeatPack",0.04}
};
medical[] = {
{"ItemBandage",0.4},
{"ItemPainkiller",0.15},
{"ItemMorphine",0.2},
{"ItemEpinephrine",0.1},
{"ItemAntibiotic",0.1},
{"ItemHeatPack",0.05}
};
hospital[] = {
{"ItemBandage",0.33},
{"ItemPainkiller",0.16},
{"ItemMorphine",0.13},
{"ItemEpinephrine",0.09},
{"ItemBloodbag",0.17},
{"ItemAntibiotic",0.12}
};
military[] = {
{"FoodCanUnlabeled",0.09},
{"ItemSodaEmpty",0.04},
{"ItemSodaCoke",0.01},
{"ItemSodaPepsi",0.01},
{"ItemBandage",0.04},
{"ItemAntibiotic",0.04},
{"ItemPainkiller",0.04},
{"ItemMorphine",0.01},
{"30Rnd_556x45_Stanag",0.04},
{"20Rnd_762x51_DMR",0.04},
{"17Rnd_9x19_glock17",0.05},
{"15Rnd_9x19_M9SD",0.01},
{"15Rnd_9x19_M9",0.02},
{"30Rnd_762x39_AK47",0.04},
{"30Rnd_545x39_AK",0.04},
{"5Rnd_762x51_M24",0.01},
{"5Rnd_86x70_L115A1",0.01},
{"8Rnd_B_Beneli_74Slug",0.04},
{"1Rnd_HE_M203",0.01},
{"FlareWhite_M203",0.01},
{"FlareGreen_M203",0.01},
{"1Rnd_Smoke_M203",0.01},
{"200Rnd_556x45_M249",0.01},
{"HandGrenade_west",0.01},
{"HandGrenade_east",0.01},
{"SmokeShell",0.04},
{"SmokeShellRed",0.02},
{"SmokeShellGreen",0.02},
{"8Rnd_B_Beneli_Pellets",0.04},
{"30Rnd_556x45_StanagSD",0.01},
{"30Rnd_9x19_MP5",0.02},
{"30Rnd_9x19_MP5SD",0.01},
{"100Rnd_762x51_M240",0.01},
{"HandChemGreen",0.02},
{"HandChemBlue",0.02},
{"HandChemRed",0.02},
{"ItemHeatPack",0.04},
{"8Rnd_9x18_MakarovSD",0.01},
{"20Rnd_B_765x17_Ball",0.04},
{"30Rnd_9x19_UZI_SD",0.01}
};
policeman[] = {
{"ItemBandage",0.3},
{"7Rnd_45ACP_1911",0.08},
{"6Rnd_45ACP",0.08},
{"15Rnd_W1866_Slug",0.14},
{"8Rnd_B_Beneli_Pellets",0.17},
{"HandRoadFlare",0.08},
{"8Rnd_9x18_MakarovSD",0.01},
{"ItemComboLock",0.05},
{"SmokeShell",0.04},
{"ItemHotwireKit",0.01}
};
hunter[] = {
{"FoodMRE",0.01}
};
worker[] = {
{"FoodCanUnlabeled",0.09},
{"TrashJackDaniels",0.10},
{"ItemSodaEmpty",0.10},
{"ItemSodaCoke",0.11},
{"ItemSodaPepsi",0.10},
{"FoodCanBakedBeans",0.06},
{"FoodCanSardines",0.06},
{"FoodCanFrankBeans",0.06},
{"FoodCanPasta",0.06},
{"ItemBandage",0.1},
{"ItemPainkiller",0.06},
{"ItemComboLock",0.04},
{"ItemSledgeHead",0.02}
};
clothes[] = {
{"Skin_RU_Policeman_DZ",0.13},
{"Skin_Pilot_EP1_DZ",0.12},
{"Skin_Functionary1_EP1_DZ",0.1},
{"Skin_Priest_DZ",0.1},
{"Skin_Rocker1_DZ",0.07},
{"Skin_Rocker2_DZ",0.07},
{"Skin_Rocker3_DZ",0.08},
{"Skin_Rocker4_DZ",0.08},
{"Skin_SurvivorW3_DZ",0.09},
{"Skin_SurvivorWpink_DZ",0.09},
{"Skin_SurvivorWurban_DZ",0.07}
};
militaryclothes[] = {
{"Skin_Camo1_DZ",0.1},
{"Skin_Sniper1_DZ",0.08},
{"Skin_Rocket_DZ",0.05},
{"Skin_Soldier1_DZ",0.13},
{"Skin_Drake_Light_DZ",0.07},
{"Skin_Soldier_TL_PMC_DZ",0.07},
{"Skin_Soldier_Sniper_PMC_DZ",0.05},
{"Skin_Soldier_Bodyguard_AA12_PMC_DZ",0.07},
{"Skin_CZ_Special_Forces_GL_DES_EP1_DZ",0.08},
{"Skin_FR_OHara_DZ",0.08},
{"Skin_FR_Rodriguez_DZ",0.09},
{"Skin_CZ_Soldier_Sniper_EP1_DZ",0.04},
{"Skin_Graves_Light_DZ",0.09}
};
specialclothes[] = {
{"Skin_Ins_Soldier_GL_DZ",0.1},
{"Skin_GUE_Commander_DZ",0.08},
{"Skin_Bandit1_DZ",0.13},
{"Skin_Bandit2_DZ",0.06},
{"Skin_BanditW1_DZ",0.07},
{"Skin_BanditW2_DZ",0.07},
{"Skin_TK_INS_Soldier_EP1_DZ",0.05},
{"Skin_TK_INS_Warlord_EP1_DZ",0.07},
{"Skin_SurvivorWcombat_DZ",0.08},
{"Skin_SurvivorWdesert_DZ",0.08},
{"Skin_GUE_Soldier_MG_DZ",0.05},
{"Skin_GUE_Soldier_Sniper_DZ",0.04},
{"Skin_GUE_Soldier_Crew_DZ",0.04},
{"Skin_GUE_Soldier_CO_DZ",0.04},
{"Skin_GUE_Soldier_2_DZ",0.04}
};
machinegunammoexpl[] = {
{"100Rnd_556x45_BetaCMag",0.20},
{"75Rnd_545x39_RPK",0.20},
{"100Rnd_556x45_M249",0.15},
{"100Rnd_762x51_M240",0.15},
{"100Rnd_762x54_PK",0.14},
{"200Rnd_556x45_M249",0.14},
{"MAAWS_HEAT",0.01},
{"PipeBomb",0.01}
};
pistols[] = {
{"Makarov",0.25},
{"Colt1911",0.23},
{"revolver_EP1",0.20},
{"glock17_EP1",0.10},
{"MakarovSD",0.10},
{"M9",0.07},
{"M9SD",0.04},
{"revolver_gold_EP1",0.01}
};
};

View File

@@ -7,6 +7,7 @@ class CfgMagazines {
// Gems
#include "CfgMagazines\DZE\Gems.hpp"
#include "CfgMagazines\DZE\Ores.hpp"
// Items
#include "CfgMagazines\DZE\Items.hpp"
#include "CfgMagazines\DZE\Bulk.hpp"
@@ -263,7 +264,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "GunRack_DZ";
@@ -284,7 +285,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodCrate_DZ";
@@ -348,7 +349,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "FireBarrel_DZ";
@@ -389,7 +390,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WorkBench_DZ";
@@ -411,7 +412,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "WoodRamp_DZ";
@@ -431,7 +432,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "Plastic_Pole_EP1_DZ";
@@ -453,7 +454,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "MetalPanel_DZ";
@@ -483,7 +484,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "DeerStand_DZ";
@@ -504,7 +505,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "DesertLargeCamoNet_DZ";
@@ -525,7 +526,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "ForestLargeCamoNet_DZ";
@@ -546,7 +547,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "DesertCamoNet_DZ";
@@ -576,7 +577,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "ForestCamoNet_DZ";
@@ -606,7 +607,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "FuelPump_DZ";
@@ -627,7 +628,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "LightPole_DZ";
@@ -648,7 +649,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "StickFence_DZ";
@@ -669,7 +670,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "Wooden_shed_DZ";
@@ -690,7 +691,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "WoodShack_DZ";
@@ -711,7 +712,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "M240Nest_DZ";
@@ -732,7 +733,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "CanvasHut_DZ";
@@ -753,7 +754,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "ParkBench_DZ";
@@ -774,7 +775,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "MetalGate_DZ";
@@ -795,7 +796,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "SandNest_DZ";
@@ -816,7 +817,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "OutHouse_DZ";
@@ -837,7 +838,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "StorageShed_DZ";
@@ -859,35 +860,14 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "Generator_DZ";
};
};
};
class ItemFuelPump: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = "Fuel Pump";
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = "Fuel Pumps can be used to create a refuel station";
weight = 25;
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "FuelPump_DZ";
neednearby[] = {"fueltank"};
};
};
};
class ItemScaffoldingKit: CA_Magazine
{
scope = 2;
@@ -902,7 +882,7 @@ class CfgMagazines {
{
class Build
{
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "Scaffolding_DZ";
@@ -1184,7 +1164,7 @@ class CfgMagazines {
{
text = $STR_EPOCH_PLAYER_259;
Script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
neednearby[] = {"sawmill"};
requiretools[] = {"ItemToolbox"};
output[] = {{"PartPlankPack",1}};
input[] = {{"PartWoodLumber",3}};
@@ -1258,82 +1238,16 @@ class CfgMagazines {
};
class Crafting4
{
text = $STR_EPOCH_PLAYER_264;
Script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox"};
output[] = {{"PartPlywoodPack",1}};
input[] = {{"PartWoodPlywood",3}};
text = $STR_EPOCH_PLAYER_264;
Script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"sawmill"};
requiretools[] = {"ItemToolbox"};
output[] = {{"PartPlywoodPack",1}};
input[] = {{"PartWoodPlywood",3}};
};
};
};
class PartOre: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = "Iron Ore";
model = "\z\addons\dayz_epoch\models\iron_ore.p3d";
picture="\z\addons\dayz_epoch\pictures\equip_iron_ore_CA.paa";
descriptionShort = "Used for crafting scrap metal. Can be mined from rocks using a sledgehammer.";
weight = 1;
class ItemActions {
class Crafting
{
text = $STR_EPOCH_PLAYER_265;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"fire"};
requiretools[] = {"ItemSledge"};
output[] = {{"PartGeneric",1},{"ItemWaterbottleUnfilled",1}};
input[] = {{"PartOre",4},{"ItemWaterbottle",1}};
};
};
};
class PartOreSilver: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = "Silver Ore";
model = "\z\addons\dayz_epoch\models\silver_ore.p3d";
picture="\z\addons\dayz_epoch\pictures\equip_silver_ore_CA.paa";
descriptionShort = "Can be mined from rocks using a sledgehammer.";
weight = 1;
class ItemActions {
class Crafting
{
text = $STR_EPOCH_PLAYER_266;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"fire"};
requiretools[] = {"ItemSledge"};
output[] = {{"ItemSilverBar",1},{"ItemWaterbottleUnfilled",1}};
input[] = {{"PartOreSilver",1},{"ItemWaterbottle",1}};
};
};
};
class PartOreGold: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = "Gold Ore";
model = "\z\addons\dayz_epoch\models\gold_ore.p3d";
picture="\z\addons\dayz_epoch\pictures\equip_gold_ore_CA.paa";
descriptionShort = "Can be mined from rocks using a sledgehammer.";
weight = 1;
class ItemActions {
class Crafting
{
text = $STR_EPOCH_PLAYER_267;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"fire"};
requiretools[] = {"ItemSledge"};
output[] = {{"ItemGoldBar",1},{"ItemWaterbottleUnfilled",1}};
input[] = {{"PartOreGold",1},{"ItemWaterbottle",1}};
};
};
};
class PartVRotor: CA_Magazine
{
scope = 2;
@@ -1696,7 +1610,7 @@ class CfgMagazines {
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "Hedgehog_DZ";
@@ -1734,7 +1648,7 @@ class CfgMagazines {
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "Fort_RazorWire";
@@ -1786,7 +1700,7 @@ class CfgMagazines {
{
class Crafting
{
text = $STR_EPOCH_PLAYER_269;
text = $STR_EPOCH_PLAYER_269b;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};

View File

@@ -179,7 +179,6 @@ class ItemORP: CA_Magazine {
script = "spawn player_upgradeVehicle;";
};
};
};
class ItemAVE: CA_Magazine {
scope = 2;
@@ -197,7 +196,6 @@ class ItemAVE: CA_Magazine {
script = "spawn player_upgradeVehicle;";
};
};
};
class ItemLRK: CA_Magazine {
scope = 2;
@@ -215,7 +213,6 @@ class ItemLRK: CA_Magazine {
script = "spawn player_upgradeVehicle;";
};
};
};
class ItemTNK: CA_Magazine {
scope = 2;
@@ -233,7 +230,23 @@ class ItemTNK: CA_Magazine {
script = "spawn player_upgradeVehicle;";
};
};
};
class ItemARM: CA_Magazine {
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_VEHUP_ARM;
model = "\z\addons\dayz_epoch\models\doc_Up4.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_docup4_ca.paa";
descriptionShort = $STR_EPOCH_VEHUP_ARM_DESC;
weight = 0.1;
sfx = "document";
class ItemActions {
class Upgrades {
text = $STR_EPOCH_PLAYER_UPGRADEV;
script = "spawn player_upgradeVehicle;";
};
};
};
// Documents
@@ -378,3 +391,20 @@ class ItemHotwireKit: CA_Magazine {
descriptionShort = "Used to temporarily unlock and start a vehicle has a chance of failure and is consumed on use.";
weight = 2;
};
class ItemBloodbag: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = "$STR_EQUIP_NAME_16";
model = "\dayz_equip\models\bloodbag.p3d";
picture = "\dayz_equip\textures\equip_bloodbag_ca.paa";
descriptionShort = "$STR_EQUIP_DESC_16";
class ItemActions {
class use {
text = "Self transfusion";
script = "spawn player_useMeds;";
};
};
};

View File

@@ -9,7 +9,7 @@ class metal_floor_kit: CA_Magazine {
weight = 325;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "MetalFloor_DZ";
@@ -28,7 +28,7 @@ class cinder_wall_kit: CA_Magazine {
weight = 325;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "CinderWallHalf_DZ";
@@ -46,7 +46,7 @@ class cinder_door_kit: CA_Magazine {
weight = 325;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "CinderWallSmallDoorway_DZ";
@@ -64,7 +64,7 @@ class cinder_garage_kit: CA_Magazine {
weight = 325;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "CinderWallDoorway_DZ";
@@ -83,7 +83,7 @@ class ItemWoodFloor: CA_Magazine {
weight = 25;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodFloor_DZ";
@@ -101,7 +101,7 @@ class ItemWoodFloorHalf: CA_Magazine {
weight = 15;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodFloorHalf_DZ";
@@ -128,7 +128,7 @@ class ItemWoodFloorQuarter: CA_Magazine {
weight = 10;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodFloorQuarter_DZ";
@@ -156,7 +156,7 @@ class ItemWoodStairs: CA_Magazine {
weight = 25;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodStairsSans_DZ";
@@ -183,7 +183,7 @@ class ItemWoodStairsSupport: CA_Magazine {
weight = 30;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodStairs_DZ";
@@ -202,7 +202,7 @@ class ItemWoodLadder: CA_Magazine {
weight = 25;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodLadder_DZ";
@@ -221,7 +221,7 @@ class ItemWoodWall: CA_Magazine {
weight = 25;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodSmallWall_DZ";
@@ -263,7 +263,7 @@ class ItemWoodWallThird: CA_Magazine {
weight = 7;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodSmallWallThird_DZ";
@@ -289,7 +289,7 @@ class ItemWoodWallWindow: CA_Magazine {
weight = 25;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodSmallWallWin_DZ";
@@ -308,7 +308,7 @@ class ItemWoodWallDoor: CA_Magazine {
weight = 25;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodSmallWallDoor_DZ";
@@ -334,7 +334,7 @@ class ItemWoodWallWithDoor: CA_Magazine {
weight = 25;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "Land_DZE_WoodDoor";
@@ -360,7 +360,7 @@ class ItemWoodWallWithDoorLocked: CA_Magazine {
weight = 30;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "Land_DZE_WoodDoorLocked";
@@ -379,7 +379,7 @@ class ItemWoodWallGarageDoor: CA_Magazine {
weight = 25;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "Land_DZE_GarageWoodDoor";
@@ -405,7 +405,7 @@ class ItemWoodWallGarageDoorLocked: CA_Magazine {
weight = 25;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "Land_DZE_GarageWoodDoorLocked";
@@ -424,7 +424,7 @@ class ItemWoodWallLg: CA_Magazine {
weight = 25;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodLargeWall_DZ";
@@ -466,7 +466,7 @@ class ItemWoodWallWindowLg: CA_Magazine {
weight = 30;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodLargeWallWin_DZ";
@@ -485,7 +485,7 @@ class ItemWoodWallDoorLg: CA_Magazine {
weight = 30;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodLargeWallDoor_DZ";
@@ -511,7 +511,7 @@ class ItemWoodWallWithDoorLg: CA_Magazine {
weight = 30;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "Land_DZE_LargeWoodDoor";
@@ -537,7 +537,7 @@ class ItemWoodWallWithDoorLgLocked: CA_Magazine {
weight = 35;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
text = $STR_ACTIONS_BUILD_EPOCH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "Land_DZE_LargeWoodDoorLocked";

View File

@@ -0,0 +1,60 @@
class PartOre: CA_Magazine {
scope = 2;
count = 1;
type = 256;
displayName = "Iron Ore";
model = "\z\addons\dayz_epoch\models\iron_ore.p3d";
picture="\z\addons\dayz_epoch\pictures\equip_iron_ore_CA.paa";
descriptionShort = "Used for crafting scrap metal. Can be mined from rocks using a sledgehammer.";
weight = 1;
class ItemActions {
class Crafting {
text = $STR_EPOCH_PLAYER_265;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"fire"};
requiretools[] = {"ItemSledge"};
output[] = {{"PartGeneric",1},{"ItemWaterbottleUnfilled",1}};
input[] = {{"PartOre",4},{"ItemWaterbottle",1}};
};
};
};
class PartOreSilver: CA_Magazine {
scope = 2;
count = 1;
type = 256;
displayName = "Silver Ore";
model = "\z\addons\dayz_epoch\models\silver_ore.p3d";
picture="\z\addons\dayz_epoch\pictures\equip_silver_ore_CA.paa";
descriptionShort = "Can be mined from rocks using a sledgehammer.";
weight = 1;
class ItemActions {
class Crafting {
text = $STR_EPOCH_PLAYER_266;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"fire"};
requiretools[] = {"ItemSledge"};
output[] = {{"ItemSilverBar",1},{"ItemWaterbottleUnfilled",1}};
input[] = {{"PartOreSilver",1},{"ItemWaterbottle",1}};
};
};
};
class PartOreGold: CA_Magazine {
scope = 2;
count = 1;
type = 256;
displayName = "Gold Ore";
model = "\z\addons\dayz_epoch\models\gold_ore.p3d";
picture="\z\addons\dayz_epoch\pictures\equip_gold_ore_CA.paa";
descriptionShort = "Can be mined from rocks using a sledgehammer.";
weight = 1;
class ItemActions {
class Crafting {
text = $STR_EPOCH_PLAYER_267;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"fire"};
requiretools[] = {"ItemSledge"};
output[] = {{"ItemGoldBar",1},{"ItemWaterbottleUnfilled",1}};
input[] = {{"PartOreGold",1},{"ItemWaterbottle",1}};
};
};
};

View File

@@ -0,0 +1,108 @@
/********************************************************************************************************************/
// Config file for [DayZ]
// Created by: [Horde/Das Attorney]
//********************************************************************************************************************/
/********************************************************************************************************************/
// Defines
/********************************************************************************************************************/
#define CT_STATIC 0
#define CT_BUTTON 1
#define CT_COMBO 4
#define CT_STRUCTURED_TEXT 13
#define ST_LEFT 0x00
#define ST_RIGHT 0x01
#define ST_CENTER 0x02
#define ST_PICTURE 0x30
#define ST_ROUNDED1 128
#define ST_MULTI 0x10
/********************************************************************************************************************/
// Base Classes
/********************************************************************************************************************/
class horde_RscPicture
{
access = 0;
type = CT_STATIC;
style = ST_PICTURE;
idc = -1;
colorBackground[] = {0,0,0,1};
colorText[] = {1,1,1,1};
font = "Zeppelin33";
sizeEx = 0;
lineSpacing = 0;
text = "";
fixedWidth = 0;
shadow = 0;
x = 0;
y = 0;
w = 0;
h = 0;
};
class horde_RscText
{
type = CT_STATIC;
text = "";
idc = -1;
style = ST_CENTER;
h = 0.04;
colorBackground[] = {0, 0, 0, 0};
colorText[] = {0, 0, 0, 1};
font = "Zeppelin33";
sizeEx = 0.01 * safezoneH;
shadow = 0;
};
class horde_RscStructuredText
{
access = 0;
type = CT_STRUCTURED_TEXT;
style = ST_CENTER;
font = "Zeppelin33";
idc = -1;
colorBackground[] = {0,0,0,0};
colorText[] = {0,0,0,0};
x = 0;
y = 0;
h = 0;
w = 0;
text = "";
size = 0.0146 * safezoneH;
shadow = 0;
};
class horde_RscButton
{
access = 0;
type = CT_BUTTON;
style = ST_LEFT;
x = 0;
y = 0;
w = 0;
h = 0;
text = "";
font = "Zeppelin33";
sizeEx = 0.04;
colorText[] = {0, 0, 0, 0};
colorDisabled[] = {0, 0, 0, 0};
colorBackground[] = {0, 0, 0, 0};
colorBackgroundDisabled[] = {0, 0, 0, 0};
colorBackgroundActive[] = {0, 0, 0, 0};
offsetX = 0;
offsetY = 0;
offsetPressedX = 0;
offsetPressedY = 0;
colorFocused[] = {0, 0, 0, 0};
colorShadow[] = {0, 0, 0, 0};
shadow = 0;
colorBorder[] = {0, 0, 0, 0};
borderSize = 0;
soundEnter[] = {"",0.1,1};
soundPush[] = {"",0.1,1};
soundClick[] = {"",0.1,1};
soundEscape[] = {"",0.1,1};
};

View File

@@ -0,0 +1,99 @@
/********************************************************************************************************************/
// Config file for [DayZ]
// Created by: [Horde/Das Attorney]
//********************************************************************************************************************/
/********************************************************************************************************************/
// Set up dialog
/********************************************************************************************************************/
class horde_journal_front_cover
{
idd = -1;
movingEnable = false;
onLoad = "";
enableSimulation = true;
controlsBackground[] = {};
objects[] = {};
controls[] =
{
"book_page_image",
"open_craft",
"open_book",
"click_here_to_close_book_1",
"click_here_to_close_book_2",
"click_here_to_close_book_3",
"click_here_to_close_book_4"
};
// background
class book_page_image: horde_RscPicture
{
idc = 1200;
text = "\z\addons\dayz_communityassets\pictures\playerstats\book\cover.paa";
x = 0.199197 * safezoneW + safezoneX;
y = -0.0250695 * safezoneH + safezoneY;
w = 0.601605 * safezoneW;
h = 1.05014 * safezoneH;
};
// buttons
class open_craft: RscIGUIShortcutButton {
idc = -1;
x = 0.48 * safezoneW + safezoneX;
y = 0.8 * safezoneH + safezoneY;
text = $STR_UI_CRAFT_OPEN;
action = "closeDialog 0; createDialog 'RscDisplayCraftingMenu';";
};
class open_book: horde_RscButton
{
idc = 1900;
text = "#(argb,8,8,3)color(1,1,1,0.5)";
x = 0.5 * safezoneW + safezoneX;
y = 0.149954 * safezoneH + safezoneY;
w = 0.291687 * safezoneW;
h = 0.68259 * safezoneH;
action = "playSound 'horde_sound_turning_page'; closeDialog 0; createDialog 'horde_journal_pages_journal_humanity';";
};
class click_here_to_close_book_1: horde_RscButton
{
idc = 1901;
x = -0.0195684 * safezoneW + safezoneX;
y = -0.0600741 * safezoneH + safezoneY;
w = 1.03914 * safezoneW;
h = 0.210028 * safezoneH;
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_2: horde_RscButton
{
idc = 1902;
x = 0.791687 * safezoneW + safezoneX;
y = 0.149954 * safezoneH + safezoneY;
w = 1.04825 * safezoneW;
h = 0.892618 * safezoneH;
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_3: horde_RscButton
{
idc = 1903;
x = -0.0013379 * safezoneW + safezoneX;
y = 0.832544 * safezoneH + safezoneY;
w = 1.04825 * safezoneW;
h = 0.892618 * safezoneH;
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_4: horde_RscButton
{
idc = 1904;
x = -0.110721 * safezoneW + safezoneX;
y = 0.0624421 * safezoneH + safezoneY;
w = 0.610721 * safezoneW;
h = 0.822609 * safezoneH;
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
};

View File

@@ -0,0 +1,458 @@
/********************************************************************************************************************/
// Config file for [DayZ]
// Created by: [Horde/Das Attorney]
//********************************************************************************************************************/
/********************************************************************************************************************/
// Set up dialog
/********************************************************************************************************************/
class horde_journal_pages_bandits
{
idd = -1;
movingEnable = false;
onLoad = "uiNamespace setVariable ['horde_myDisplay', (_this select 0)]; [player getVariable['banditKills', 0]] call horde_epeen_setText_stats_fnc;";
enableSimulation = true;
controlsBackground[] = {};
objects[] = {};
controls[] =
{
"book_page_image",
"header_one",
"header_two",
"main_image",
"t11",
"t12",
"t13",
"t14",
"t15",
"t21",
"t22",
"t23",
"t24",
"t25",
"t31",
"t32",
"t33",
"t34",
"t35",
"t41",
"t42",
"t43",
"t44",
"t45",
"t51",
"t52",
"t53",
"t54",
"t55",
"t61",
"t62",
"t63",
"t64",
"t65",
"t75",
"t71",
"t72",
"t73",
"t74",
"t75",
"add_kills",
"click_for_prev_page",
"click_for_next_page",
"click_here_to_close_book_1",
"click_here_to_close_book_2",
"click_here_to_close_book_3",
"click_here_to_close_book_4"
};
class book_page_image: horde_RscPicture
{
idc = 1200;
text = "\z\addons\dayz_communityassets\pictures\playerstats\book\pages_2.paa";
x = 0.199165 * safezoneW + safezoneX;
y = -0.00752226 * safezoneH + safezoneY;
w = 0.601429 * safezoneW;
h = 1.01491 * safezoneH;
};
class header_one: horde_RscPicture
{
idc = 1700;
text = "\z\addons\dayz_communityassets\pictures\playerstats\headers\bandit.paa";
x = 0.253926 * safezoneW + safezoneX;
y = 0.219948 * safezoneH + safezoneY;
w = 0.200505 * safezoneW;
h = 0.0700129 * safezoneH;
};
class header_two: horde_RscPicture
{
idc = 1701;
text = "\z\addons\dayz_communityassets\pictures\playerstats\headers\killed.paa";
x = 0.244842 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.218707 * safezoneW;
h = 0.0699905 * safezoneH;
};
class main_image: horde_RscPicture
{
idc = 1702;
text = "\z\addons\dayz_communityassets\pictures\playerstats\illus\bandit.paa";
x = 0.281293 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.173143 * safezoneW;
h = 0.489934 * safezoneH;
};
class t11: horde_RscStructuredText
{
idc = 1204;
x = 0.527338 * safezoneW + safezoneX;
y = 0.220038 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t12: horde_RscStructuredText
{
idc = 1205;
x = 0.572902 * safezoneW + safezoneX;
y = 0.220038 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t13: horde_RscStructuredText
{
idc = 1206;
x = 0.618466 * safezoneW + safezoneX;
y = 0.220038 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t14: horde_RscStructuredText
{
idc = 1207;
x = 0.66403 * safezoneW + safezoneX;
y = 0.220038 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t15: horde_RscStructuredText
{
idc = 1208;
x = 0.709594 * safezoneW + safezoneX;
y = 0.220038 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t21: horde_RscStructuredText
{
idc = 1209;
x = 0.527338 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t22: horde_RscStructuredText
{
idc = 1210;
x = 0.572902 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t23: horde_RscStructuredText
{
idc = 1211;
x = 0.618466 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t24: horde_RscStructuredText
{
idc = 1212;
x = 0.66403 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t25: horde_RscStructuredText
{
idc = 1213;
x = 0.709594 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t31: horde_RscStructuredText
{
idc = 1214;
x = 0.527338 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t32: horde_RscStructuredText
{
idc = 1215;
x = 0.572902 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t33: horde_RscStructuredText
{
idc = 1216;
x = 0.618466 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t34: horde_RscStructuredText
{
idc = 1217;
x = 0.66403 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t35: horde_RscStructuredText
{
idc = 1218;
x = 0.709594 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t41: horde_RscStructuredText
{
idc = 1219;
x = 0.527338 * safezoneW + safezoneX;
y = 0.43001 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t42: horde_RscStructuredText
{
idc = 1220;
x = 0.572902 * safezoneW + safezoneX;
y = 0.43001 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t43: horde_RscStructuredText
{
idc = 1221;
x = 0.618466 * safezoneW + safezoneX;
y = 0.43001 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t44: horde_RscStructuredText
{
idc = 1222;
x = 0.66403 * safezoneW + safezoneX;
y = 0.43001 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t45: horde_RscStructuredText
{
idc = 1223;
x = 0.709594 * safezoneW + safezoneX;
y = 0.43001 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t51: horde_RscStructuredText
{
idc = 1224;
x = 0.527338 * safezoneW + safezoneX;
y = 0.5 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t52: horde_RscStructuredText
{
idc = 1225;
x = 0.572902 * safezoneW + safezoneX;
y = 0.5 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t53: horde_RscStructuredText
{
idc = 1226;
x = 0.618466 * safezoneW + safezoneX;
y = 0.5 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t54: horde_RscStructuredText
{
idc = 1227;
x = 0.66403 * safezoneW + safezoneX;
y = 0.5 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t55: horde_RscStructuredText
{
idc = 1228;
x = 0.709594 * safezoneW + safezoneX;
y = 0.5 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t61: horde_RscStructuredText
{
idc = 1229;
x = 0.527338 * safezoneW + safezoneX;
y = 0.569991 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t62: horde_RscStructuredText
{
idc = 1230;
x = 0.572902 * safezoneW + safezoneX;
y = 0.569991 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t63: horde_RscStructuredText
{
idc = 1231;
x = 0.618466 * safezoneW + safezoneX;
y = 0.569991 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t64: horde_RscStructuredText
{
idc = 1232;
x = 0.66403 * safezoneW + safezoneX;
y = 0.569991 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t65: horde_RscStructuredText
{
idc = 1233;
x = 0.709594 * safezoneW + safezoneX;
y = 0.569991 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t71: horde_RscStructuredText
{
idc = 1234;
x = 0.527338 * safezoneW + safezoneX;
y = 0.639981 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t72: horde_RscStructuredText
{
idc = 1235;
x = 0.572902 * safezoneW + safezoneX;
y = 0.639981 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t73: horde_RscStructuredText
{
idc = 1236;
x = 0.618466 * safezoneW + safezoneX;
y = 0.639981 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t74: horde_RscStructuredText
{
idc = 1237;
x = 0.66403 * safezoneW + safezoneX;
y = 0.639981 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t75: horde_RscStructuredText
{
idc = 1238;
x = 0.709594 * safezoneW + safezoneX;
y = 0.639981 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class add_kills: horde_RscStructuredText
{
idc = 1239;
x = 0.536451 * safezoneW + safezoneX;
y = 0.709972 * safezoneH + safezoneY;
w = 0.218707 * safezoneW;
h = 0.0699905 * safezoneH;
};
//********************************************************************************************************************/
// Buttons
//********************************************************************************************************************/
class click_for_prev_page: horde_RscButton
{
idc = 1900;
x = 0.217398 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.282602 * safezoneW;
h = 0.665029 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_turning_page'; closeDialog 0; createDialog 'horde_journal_pages_headshots';";
};
class click_for_next_page: horde_RscButton
{
idc = 1901;
x = 0.5 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.282602 * safezoneW;
h = 0.665029 * safezoneH;
// soundPush[] = {"sounds\page",0.7,1};
action = "playSound 'horde_sound_turning_page'; closeDialog 0; createDialog 'horde_journal_pages_murders';";
};
class click_here_to_close_book_1: horde_RscButton
{
idc = 1902;
x = -0.00139144 * safezoneW + safezoneX;
y = -0.00752226 * safezoneH + safezoneY;
w = 1.03925 * safezoneW;
h = 0.175008 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_2: horde_RscButton
{
idc = 1903;
x = 0.791719 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.209673 * safezoneW;
h = 0.68253 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_3: horde_RscButton
{
idc = 1904;
x = -0.00139144 * safezoneW + safezoneX;
y = 0.832515 * safezoneH + safezoneY;
w = 1.0119 * safezoneW;
h = 0.175008 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_4: horde_RscButton
{
idc = 1905;
x = -0.00139144 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.209673 * safezoneW;
h = 0.68253 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
};

View File

@@ -0,0 +1,450 @@
/********************************************************************************************************************/
// Config file for [DayZ]
// Created by: [Horde/Das Attorney]
//********************************************************************************************************************/
/********************************************************************************************************************/
// Set up dialog
/********************************************************************************************************************/
class horde_journal_pages_headshots
{
idd = -1;
movingEnable = false;
onLoad = "uiNamespace setVariable ['horde_myDisplay', (_this select 0)]; [player getVariable['headShots', 0]] call horde_epeen_setText_stats_fnc;";
enableSimulation = true;
controlsBackground[] = {};
objects[] = {};
controls[] =
{
"book_page_image",
"header_one",
"main_image",
"t11",
"t12",
"t13",
"t14",
"t15",
"t21",
"t22",
"t23",
"t24",
"t25",
"t31",
"t32",
"t33",
"t34",
"t35",
"t41",
"t42",
"t43",
"t44",
"t45",
"t51",
"t52",
"t53",
"t54",
"t55",
"t61",
"t62",
"t63",
"t64",
"t65",
"t75",
"t71",
"t72",
"t73",
"t74",
"t75",
"add_kills",
"click_for_prev_page",
"click_for_next_page",
"click_here_to_close_book_1",
"click_here_to_close_book_2",
"click_here_to_close_book_3",
"click_here_to_close_book_4"
};
// picture of blank book pages
class book_page_image: horde_RscPicture
{
idc = 1200;
text = "\z\addons\dayz_communityassets\pictures\playerstats\book\pages_2.paa";
x = 0.199165 * safezoneW + safezoneX;
y = -0.00752226 * safezoneH + safezoneY;
w = 0.601429 * safezoneW;
h = 1.01491 * safezoneH;
};
class header_one: horde_RscPicture
{
idc = 1700;
text = "\z\addons\dayz_communityassets\pictures\playerstats\headers\headshots.paa";
x = 0.244842 * safezoneW + safezoneX;
y = 0.237536 * safezoneH + safezoneY;
w = 0.218707 * safezoneW;
h = 0.0699905 * safezoneH;
};
class main_image: horde_RscPicture
{
idc = 1701;
text = "\z\addons\dayz_communityassets\pictures\playerstats\illus\headshots.paa";
x = 0.208391 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.309835 * safezoneW;
h = 0.507431 * safezoneH;
};
class t11: horde_RscStructuredText
{
idc = 1204;
x = 0.527338 * safezoneW + safezoneX;
y = 0.220038 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t12: horde_RscStructuredText
{
idc = 1205;
x = 0.572902 * safezoneW + safezoneX;
y = 0.220038 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t13: horde_RscStructuredText
{
idc = 1206;
x = 0.618466 * safezoneW + safezoneX;
y = 0.220038 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t14: horde_RscStructuredText
{
idc = 1207;
x = 0.66403 * safezoneW + safezoneX;
y = 0.220038 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t15: horde_RscStructuredText
{
idc = 1208;
x = 0.709594 * safezoneW + safezoneX;
y = 0.220038 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t21: horde_RscStructuredText
{
idc = 1209;
x = 0.527338 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t22: horde_RscStructuredText
{
idc = 1210;
x = 0.572902 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t23: horde_RscStructuredText
{
idc = 1211;
x = 0.618466 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t24: horde_RscStructuredText
{
idc = 1212;
x = 0.66403 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t25: horde_RscStructuredText
{
idc = 1213;
x = 0.709594 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t31: horde_RscStructuredText
{
idc = 1214;
x = 0.527338 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t32: horde_RscStructuredText
{
idc = 1215;
x = 0.572902 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t33: horde_RscStructuredText
{
idc = 1216;
x = 0.618466 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t34: horde_RscStructuredText
{
idc = 1217;
x = 0.66403 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t35: horde_RscStructuredText
{
idc = 1218;
x = 0.709594 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t41: horde_RscStructuredText
{
idc = 1219;
x = 0.527338 * safezoneW + safezoneX;
y = 0.43001 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t42: horde_RscStructuredText
{
idc = 1220;
x = 0.572902 * safezoneW + safezoneX;
y = 0.43001 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t43: horde_RscStructuredText
{
idc = 1221;
x = 0.618466 * safezoneW + safezoneX;
y = 0.43001 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t44: horde_RscStructuredText
{
idc = 1222;
x = 0.66403 * safezoneW + safezoneX;
y = 0.43001 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t45: horde_RscStructuredText
{
idc = 1223;
x = 0.709594 * safezoneW + safezoneX;
y = 0.43001 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t51: horde_RscStructuredText
{
idc = 1224;
x = 0.527338 * safezoneW + safezoneX;
y = 0.5 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t52: horde_RscStructuredText
{
idc = 1225;
x = 0.572902 * safezoneW + safezoneX;
y = 0.5 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t53: horde_RscStructuredText
{
idc = 1226;
x = 0.618466 * safezoneW + safezoneX;
y = 0.5 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t54: horde_RscStructuredText
{
idc = 1227;
x = 0.66403 * safezoneW + safezoneX;
y = 0.5 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t55: horde_RscStructuredText
{
idc = 1228;
x = 0.709594 * safezoneW + safezoneX;
y = 0.5 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t61: horde_RscStructuredText
{
idc = 1229;
x = 0.527338 * safezoneW + safezoneX;
y = 0.569991 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t62: horde_RscStructuredText
{
idc = 1230;
x = 0.572902 * safezoneW + safezoneX;
y = 0.569991 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t63: horde_RscStructuredText
{
idc = 1231;
x = 0.618466 * safezoneW + safezoneX;
y = 0.569991 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t64: horde_RscStructuredText
{
idc = 1232;
x = 0.66403 * safezoneW + safezoneX;
y = 0.569991 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t65: horde_RscStructuredText
{
idc = 1233;
x = 0.709594 * safezoneW + safezoneX;
y = 0.569991 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t71: horde_RscStructuredText
{
idc = 1234;
x = 0.527338 * safezoneW + safezoneX;
y = 0.639981 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t72: horde_RscStructuredText
{
idc = 1235;
x = 0.572902 * safezoneW + safezoneX;
y = 0.639981 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t73: horde_RscStructuredText
{
idc = 1236;
x = 0.618466 * safezoneW + safezoneX;
y = 0.639981 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t74: horde_RscStructuredText
{
idc = 1237;
x = 0.66403 * safezoneW + safezoneX;
y = 0.639981 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t75: horde_RscStructuredText
{
idc = 1238;
x = 0.709594 * safezoneW + safezoneX;
y = 0.639981 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class add_kills: horde_RscStructuredText
{
idc = 1239;
x = 0.536451 * safezoneW + safezoneX;
y = 0.709972 * safezoneH + safezoneY;
w = 0.218707 * safezoneW;
h = 0.0699905 * safezoneH;
};
/********************************************************************************************************************/
// Buttons
//********************************************************************************************************************/
class click_for_prev_page: horde_RscButton
{
idc = 1900;
x = 0.217398 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.282602 * safezoneW;
h = 0.665029 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_turning_page'; closeDialog 0; createDialog 'horde_journal_pages_zombies';";
};
class click_for_next_page: horde_RscButton
{
idc = 1901;
x = 0.5 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.282602 * safezoneW;
h = 0.665029 * safezoneH;
// soundPush[] = {"sounds\page",0.7,1};
action = "playSound 'horde_sound_turning_page'; closeDialog 0; createDialog 'horde_journal_pages_bandits';";
};
class click_here_to_close_book_1: horde_RscButton
{
idc = 1902;
x = -0.00139144 * safezoneW + safezoneX;
y = -0.00752226 * safezoneH + safezoneY;
w = 1.03925 * safezoneW;
h = 0.175008 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_2: horde_RscButton
{
idc = 1903;
x = 0.791719 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.209673 * safezoneW;
h = 0.68253 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_3: horde_RscButton
{
idc = 1904;
x = -0.00139144 * safezoneW + safezoneX;
y = 0.832515 * safezoneH + safezoneY;
w = 1.0119 * safezoneW;
h = 0.175008 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_4: horde_RscButton
{
idc = 1905;
x = -0.00139144 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.209673 * safezoneW;
h = 0.68253 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
};

View File

@@ -0,0 +1,148 @@
/********************************************************************************************************************/
// Config file for [DayZ]
// Created by: [Horde/Das Attorney]
//********************************************************************************************************************/
/********************************************************************************************************************/
// Set up dialog
/********************************************************************************************************************/
class horde_journal_pages_humanity_art
{
idd = -1;
movingEnable = false;
onLoad = "uiNamespace setVariable ['horde_myDisplay', (_this select 0)]; [] call horde_epeen_setText_humanity_fnc;";
enableSimulation = true;
controlsBackground[] = {};
objects[] = {};
controls[] =
{
"book_page_image",
"left_page_middle",
"left_page_bottom",
"left_page_top",
"right_page_picture",
"click_for_prev_page",
"click_for_next_page",
"click_here_to_close_book_1",
"click_here_to_close_book_2",
"click_here_to_close_book_3",
"click_here_to_close_book_4"
};
// background
class book_page_image: horde_RscPicture
{
idc = 1200;
text = "\z\addons\dayz_communityassets\pictures\playerstats\book\pages_2.paa";
x = 0.199165 * safezoneW + safezoneX;
y = -0.00752226 * safezoneH + safezoneY;
w = 0.601429 * safezoneW;
h = 1.01491 * safezoneH;
};
//left page
class left_page_middle: horde_RscPicture
{
idc = 1201;
text = "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_middle_1.paa";
x = 0.209053 * safezoneW + safezoneX;
y = 0.27261 * safezoneH + safezoneY;
w = 0.282496 * safezoneW;
h = 0.419943 * safezoneH;
};
class left_page_bottom: horde_RscPicture
{
idc = 1202;
text = "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_bottom_1.paa";
x = 0.203156 * safezoneW + safezoneX;
y = 0.468726 * safezoneH + safezoneY;
w = 0.291609 * safezoneW;
h = 0.419943 * safezoneH;
};
class left_page_top: horde_RscPicture
{
idc = 1203;
text = "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_top_1.paa";
x = 0.209111 * safezoneW + safezoneX;
y = 0.0901794 * safezoneH + safezoneY;
w = 0.291609 * safezoneW;
h = 0.419943 * safezoneH;
};
// right page
class right_page_picture: horde_RscPicture
{
idc = 1204;
text = "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_3.paa";
x = 0.43621 * safezoneW + safezoneX;
y = 0.167545 * safezoneH + safezoneY;
w = 0.419188 * safezoneW;
h = 0.647412 * safezoneH;
};
// buttons
class click_for_prev_page: horde_RscButton
{
idc = 1900;
x = 0.217398 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.282602 * safezoneW;
h = 0.665029 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_turning_page'; closeDialog 0; createDialog 'horde_journal_pages_journal_humanity';";
};
class click_for_next_page: horde_RscButton
{
idc = 1901;
x = 0.5 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.282602 * safezoneW;
h = 0.665029 * safezoneH;
action = "playSound 'horde_sound_turning_page'; closeDialog 0; createDialog 'horde_journal_pages_zombies';";
};
class click_here_to_close_book_1: horde_RscButton
{
idc = 1902;
x = -0.00139144 * safezoneW + safezoneX;
y = -0.00752226 * safezoneH + safezoneY;
w = 1.03925 * safezoneW;
h = 0.175008 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_2: horde_RscButton
{
idc = 1903;
x = 0.791719 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.209673 * safezoneW;
h = 0.68253 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_3: horde_RscButton
{
idc = 1904;
x = -0.00139144 * safezoneW + safezoneX;
y = 0.832515 * safezoneH + safezoneY;
w = 1.0119 * safezoneW;
h = 0.175008 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_4: horde_RscButton
{
idc = 1905;
x = -0.00139144 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.209673 * safezoneW;
h = 0.68253 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
};

View File

@@ -0,0 +1,249 @@
/********************************************************************************************************************/
// Config file for [DayZ]
// Created by: [Horde/Das Attorney]
//********************************************************************************************************************/
/********************************************************************************************************************/
// Set up dialog
/********************************************************************************************************************/
class horde_journal_pages_journal_humanity
{
idd = -1;
movingEnable = false;
onLoad = "uiNamespace setVariable ['horde_myDisplay', (_this select 0)]; [] call horde_epeen_setText_journal_fnc;";
enableSimulation = true;
controlsBackground[] = {};
objects[] = {};
controls[] =
{
"book_page_image",
"journal_header",
"journal_text_on_left_hand_page",
"humanity_header",
"playing_card_blank",
"playing_card_face_down",
"playing_card_top_value",
"playing_card_bottom_value",
"playing_card_top_suit",
"playing_card_bottom_suit",
"playing_card_top_joker",
"playing_card_bottom_joker",
"playing_card_face_image",
"playing_card_player_name",
"playing_card_humanity_readout",
"click_to_go_back_to_cover",
"click_for_next_page",
"click_here_to_close_book_1",
"click_here_to_close_book_2",
"click_here_to_close_book_3",
"click_here_to_close_book_4",
"click_for_humanity"
};
// background
class book_page_image: horde_RscPicture
{
idc = 1200;
text = "\z\addons\dayz_communityassets\pictures\playerstats\book\pages_2.paa";
x = 0.199165 * safezoneW + safezoneX;
y = -0.00752226 * safezoneH + safezoneY;
w = 0.601429 * safezoneW;
h = 1.01491 * safezoneH;
};
//left page
class journal_header: horde_RscPicture
{
idc = 1700;
text = "\z\addons\dayz_communityassets\pictures\playerstats\headers\journal.paa";
x = 0.268972 * safezoneW + safezoneX;
y = 0.236464 * safezoneH + safezoneY;
w = 0.173462 * safezoneW;
h = 0.0648851 * safezoneH;
};
class journal_text_on_left_hand_page: horde_RscStructuredText
{
idc = 1800;
x = 0.23563 * safezoneW + safezoneX;
y = 0.324992 * safezoneH + safezoneY;
w = 0.237021 * safezoneW;
h = 0.45502 * safezoneH;
};
//right page
class humanity_header: horde_RscPicture
{
idc = 1701;
text = "\z\addons\dayz_communityassets\pictures\playerstats\headers\humanity.paa";
x = 0.554697 * safezoneW + safezoneX;
y = 0.237488 * safezoneH + safezoneY;
w = 0.181084 * safezoneW;
h = 0.0731088 * safezoneH;
};
class playing_card_blank: horde_RscPicture
{
idc = 1702;
text = "\z\addons\dayz_communityassets\pictures\playerstats\cards\card\face_up.paa";
x = 0.51466 * safezoneW + safezoneX;
y = 0.324981 * safezoneH + safezoneY;
w = 0.26437 * safezoneW;
h = 0.45502 * safezoneH;
};
class playing_card_face_down: horde_RscPicture
{
idc = 1906;
text = "\z\addons\dayz_communityassets\pictures\playerstats\cards\card\face_down.paa";
x = 0.51466 * safezoneW + safezoneX;
y = 0.324981 * safezoneH + safezoneY;
w = 0.26437 * safezoneW;
h = 0.45502 * safezoneH;
};
class playing_card_top_value: horde_RscStructuredText
{
idc = 1801;
x = 0.547127 * safezoneW + safezoneX;
y = 0.316785 * safezoneH + safezoneY;
w = 0.0546973 * safezoneW;
h = 0.0875038 * safezoneH;
};
class playing_card_bottom_value: horde_RscStructuredText
{
idc = 1802;
x = 0.695821 * safezoneW + safezoneX;
y = 0.694556 * safezoneH + safezoneY;
w = 0.0546973 * safezoneW;
h = 0.0875038 * safezoneH;
};
class playing_card_top_suit: horde_RscStructuredText
{
idc = 1803;
x = 0.556331 * safezoneW + safezoneX;
y = 0.382642 * safezoneH + safezoneY;
w = 0.0364649 * safezoneW;
h = 0.0525023 * safezoneH;
};
class playing_card_bottom_suit: horde_RscStructuredText
{
idc = 1804;
x = 0.704365 * safezoneW + safezoneX;
y = 0.663569 * safezoneH + safezoneY;
w = 0.0364649 * safezoneW;
h = 0.0525023 * safezoneH;
};
class playing_card_top_joker: horde_RscStructuredText
{
idc = 1805;
x = 0.56105 * safezoneW + safezoneX;
y = 0.329086 * safezoneH + safezoneY;
w = 0.0273486 * safezoneW;
h = 0.192508 * safezoneH;
};
class playing_card_bottom_joker: horde_RscStructuredText
{
idc = 1806;
x = 0.707647 * safezoneW + safezoneX;
y = 0.584446 * safezoneH + safezoneY;
w = 0.0273486 * safezoneW;
h = 0.192508 * safezoneH;
};
class playing_card_face_image: horde_RscStructuredText
{
idc = 1807;
x = 0.586685 * safezoneW + safezoneX;
y = 0.425475 * safezoneH + safezoneY;
w = 0.127627 * safezoneW;
h = 0.22751 * safezoneH;
};
class playing_card_player_name: horde_RscStructuredText
{
idc = 1808;
x = 0.594 * safezoneW + safezoneX; // 0.591162
y = 0.640006 * safezoneH + safezoneY;
w = 0.115412 * safezoneW;
h = 0.0360368 * safezoneH;
};
class playing_card_humanity_readout: horde_RscStructuredText
{
idc = 1809;
x = 0.602 * safezoneW + safezoneX; // 0.598569
y = 0.680074 * safezoneH + safezoneY;
w = 0.099588 * safezoneW;
h = 0.0360251 * safezoneH;
};
// buttons
class click_to_go_back_to_cover: horde_RscButton
{
idc = 1900;
x = 0.217398 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.282602 * safezoneW;
h = 0.665029 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0; createDialog 'horde_journal_front_cover';";
};
class click_for_next_page: horde_RscButton
{
idc = 1901;
x = 0.5 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.282602 * safezoneW;
h = 0.665029 * safezoneH;
// soundPush[] = {"sounds\page",0.7,1};
action = "playSound 'horde_sound_turning_page'; closeDialog 0; createDialog 'horde_journal_pages_humanity_art';";
};
class click_here_to_close_book_1: horde_RscButton
{
idc = 1902;
x = -0.00139144 * safezoneW + safezoneX;
y = -0.00752226 * safezoneH + safezoneY;
w = 1.03925 * safezoneW;
h = 0.175008 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_2: horde_RscButton
{
idc = 1903;
x = 0.791719 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.209673 * safezoneW;
h = 0.68253 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_3: horde_RscButton
{
idc = 1904;
x = -0.00139144 * safezoneW + safezoneX;
y = 0.832515 * safezoneH + safezoneY;
w = 1.0119 * safezoneW;
h = 0.175008 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_4: horde_RscButton
{
idc = 1905;
x = -0.00139144 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.209673 * safezoneW;
h = 0.68253 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_for_humanity: horde_RscButton
{
idc = 1907;
x = 0.554688 * safezoneW + safezoneX;
y = 0.325 * safezoneH + safezoneY;
w = 0.182292 * safezoneW;
h = 0.455 * safezoneH;
action = "playSound 'horde_sound_turning_page'; [] call horde_epeen_show_humanity_fnc;";
};
};

View File

@@ -0,0 +1,439 @@
/********************************************************************************************************************/
// Config file for [DayZ]
// Created by: [Horde/Das Attorney]
//********************************************************************************************************************/
/********************************************************************************************************************/
// Set up dialog
/********************************************************************************************************************/
class horde_journal_pages_murders
{
idd = -1;
movingEnable = false;
onLoad = "uiNamespace setVariable ['horde_myDisplay', (_this select 0)]; [player getVariable['humanKills', 0]] call horde_epeen_setText_stats_fnc;";
enableSimulation = true;
controlsBackground[] = {};
objects[] = {};
controls[] =
{
"book_page_image",
"header_one",
"main_image",
"t11",
"t12",
"t13",
"t14",
"t15",
"t21",
"t22",
"t23",
"t24",
"t25",
"t31",
"t32",
"t33",
"t34",
"t35",
"t41",
"t42",
"t43",
"t44",
"t45",
"t51",
"t52",
"t53",
"t54",
"t55",
"t61",
"t62",
"t63",
"t64",
"t65",
"t75",
"t71",
"t72",
"t73",
"t74",
"t75",
"add_kills",
"click_for_prev_page",
"click_here_to_close_book_1",
"click_here_to_close_book_2",
"click_here_to_close_book_3",
"click_here_to_close_book_4"
};
// picture of blank book pages
class book_page_image: horde_RscPicture
{
idc = 1200;
text = "\z\addons\dayz_communityassets\pictures\playerstats\book\pages_2.paa";
x = 0.199165 * safezoneW + safezoneX;
y = -0.00752226 * safezoneH + safezoneY;
w = 0.601429 * safezoneW;
h = 1.01491 * safezoneH;
};
class header_one: horde_RscPicture
{
idc = 1700;
text = "\z\addons\dayz_communityassets\pictures\playerstats\headers\murders.paa";
x = 0.244842 * safezoneW + safezoneX;
y = 0.237536 * safezoneH + safezoneY;
w = 0.218707 * safezoneW;
h = 0.0699905 * safezoneH;
};
class main_image: horde_RscPicture
{
idc = 1701;
text = "\z\addons\dayz_communityassets\pictures\playerstats\illus\murders.paa";
x = 0.226616 * safezoneW + safezoneX;
y = 0.325024 * safezoneH + safezoneY;
w = 0.264271 * safezoneW;
h = 0.454938 * safezoneH;
};
class t11: horde_RscStructuredText
{
idc = 1204;
x = 0.527338 * safezoneW + safezoneX;
y = 0.220038 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t12: horde_RscStructuredText
{
idc = 1205;
x = 0.572902 * safezoneW + safezoneX;
y = 0.220038 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t13: horde_RscStructuredText
{
idc = 1206;
x = 0.618466 * safezoneW + safezoneX;
y = 0.220038 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t14: horde_RscStructuredText
{
idc = 1207;
x = 0.66403 * safezoneW + safezoneX;
y = 0.220038 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t15: horde_RscStructuredText
{
idc = 1208;
x = 0.709594 * safezoneW + safezoneX;
y = 0.220038 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t21: horde_RscStructuredText
{
idc = 1209;
x = 0.527338 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t22: horde_RscStructuredText
{
idc = 1210;
x = 0.572902 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t23: horde_RscStructuredText
{
idc = 1211;
x = 0.618466 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t24: horde_RscStructuredText
{
idc = 1212;
x = 0.66403 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t25: horde_RscStructuredText
{
idc = 1213;
x = 0.709594 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t31: horde_RscStructuredText
{
idc = 1214;
x = 0.527338 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t32: horde_RscStructuredText
{
idc = 1215;
x = 0.572902 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t33: horde_RscStructuredText
{
idc = 1216;
x = 0.618466 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t34: horde_RscStructuredText
{
idc = 1217;
x = 0.66403 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t35: horde_RscStructuredText
{
idc = 1218;
x = 0.709594 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t41: horde_RscStructuredText
{
idc = 1219;
x = 0.527338 * safezoneW + safezoneX;
y = 0.43001 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t42: horde_RscStructuredText
{
idc = 1220;
x = 0.572902 * safezoneW + safezoneX;
y = 0.43001 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t43: horde_RscStructuredText
{
idc = 1221;
x = 0.618466 * safezoneW + safezoneX;
y = 0.43001 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t44: horde_RscStructuredText
{
idc = 1222;
x = 0.66403 * safezoneW + safezoneX;
y = 0.43001 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t45: horde_RscStructuredText
{
idc = 1223;
x = 0.709594 * safezoneW + safezoneX;
y = 0.43001 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t51: horde_RscStructuredText
{
idc = 1224;
x = 0.527338 * safezoneW + safezoneX;
y = 0.5 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t52: horde_RscStructuredText
{
idc = 1225;
x = 0.572902 * safezoneW + safezoneX;
y = 0.5 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t53: horde_RscStructuredText
{
idc = 1226;
x = 0.618466 * safezoneW + safezoneX;
y = 0.5 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t54: horde_RscStructuredText
{
idc = 1227;
x = 0.66403 * safezoneW + safezoneX;
y = 0.5 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t55: horde_RscStructuredText
{
idc = 1228;
x = 0.709594 * safezoneW + safezoneX;
y = 0.5 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t61: horde_RscStructuredText
{
idc = 1229;
x = 0.527338 * safezoneW + safezoneX;
y = 0.569991 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t62: horde_RscStructuredText
{
idc = 1230;
x = 0.572902 * safezoneW + safezoneX;
y = 0.569991 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t63: horde_RscStructuredText
{
idc = 1231;
x = 0.618466 * safezoneW + safezoneX;
y = 0.569991 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t64: horde_RscStructuredText
{
idc = 1232;
x = 0.66403 * safezoneW + safezoneX;
y = 0.569991 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t65: horde_RscStructuredText
{
idc = 1233;
x = 0.709594 * safezoneW + safezoneX;
y = 0.569991 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t71: horde_RscStructuredText
{
idc = 1234;
x = 0.527338 * safezoneW + safezoneX;
y = 0.639981 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t72: horde_RscStructuredText
{
idc = 1235;
x = 0.572902 * safezoneW + safezoneX;
y = 0.639981 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t73: horde_RscStructuredText
{
idc = 1236;
x = 0.618466 * safezoneW + safezoneX;
y = 0.639981 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t74: horde_RscStructuredText
{
idc = 1237;
x = 0.66403 * safezoneW + safezoneX;
y = 0.639981 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t75: horde_RscStructuredText
{
idc = 1238;
x = 0.709594 * safezoneW + safezoneX;
y = 0.639981 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class add_kills: horde_RscStructuredText
{
idc = 1239;
x = 0.536451 * safezoneW + safezoneX;
y = 0.709972 * safezoneH + safezoneY;
w = 0.218707 * safezoneW;
h = 0.0699905 * safezoneH;
};
/********************************************************************************************************************/
// Buttons
//********************************************************************************************************************/
class click_for_prev_page: horde_RscButton
{
idc = 1900;
x = 0.217398 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.282602 * safezoneW;
h = 0.665029 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_turning_page'; closeDialog 0; createDialog 'horde_journal_pages_bandits';";
};
class click_here_to_close_book_1: horde_RscButton
{
idc = 1901;
x = -0.00139144 * safezoneW + safezoneX;
y = -0.00752226 * safezoneH + safezoneY;
w = 1.03925 * safezoneW;
h = 0.175008 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_2: horde_RscButton
{
idc = 1902;
x = 0.791719 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.209673 * safezoneW;
h = 0.68253 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_3: horde_RscButton
{
idc = 1903;
x = -0.00139144 * safezoneW + safezoneX;
y = 0.832515 * safezoneH + safezoneY;
w = 1.0119 * safezoneW;
h = 0.175008 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_4: horde_RscButton
{
idc = 1904;
x = -0.00139144 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.209673 * safezoneW;
h = 0.68253 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
};

View File

@@ -0,0 +1,461 @@
/********************************************************************************************************************/
// Config file for [DayZ]
// Created by: [Horde/Das Attorney]
//********************************************************************************************************************/
/********************************************************************************************************************/
// Set up dialog
/********************************************************************************************************************/
class horde_journal_pages_zombies
{
idd = -1;
movingEnable = false;
onLoad = "uiNamespace setVariable ['horde_myDisplay', (_this select 0)]; [player getVariable['zombieKills', 0]] call horde_epeen_setText_stats_fnc;";
enableSimulation = true;
controlsBackground[] = {};
objects[] = {};
controls[] =
{
"book_page_image",
"header_one",
"header_two",
"main_image",
"t11",
"t12",
"t13",
"t14",
"t15",
"t21",
"t22",
"t23",
"t24",
"t25",
"t31",
"t32",
"t33",
"t34",
"t35",
"t41",
"t42",
"t43",
"t44",
"t45",
"t51",
"t52",
"t53",
"t54",
"t55",
"t61",
"t62",
"t63",
"t64",
"t65",
"t75",
"t71",
"t72",
"t73",
"t74",
"t75",
"add_kills",
"click_for_prev_page",
"click_for_next_page",
"click_here_to_close_book_1",
"click_here_to_close_book_2",
"click_here_to_close_book_3",
"click_here_to_close_book_4"
};
// picture of blank book pages
// classhorde_RscStructuredText;
class book_page_image: horde_RscPicture
{
idc = 1200;
text = "\z\addons\dayz_communityassets\pictures\playerstats\book\pages_2.paa";
x = 0.199165 * safezoneW + safezoneX;
y = -0.00752226 * safezoneH + safezoneY;
w = 0.601429 * safezoneW;
h = 1.01491 * safezoneH;
};
class header_one: horde_RscPicture
{
idc = 1700;
text = "\z\addons\dayz_communityassets\pictures\playerstats\headers\zombie.paa";
x = 0.253926 * safezoneW + safezoneX;
y = 0.219948 * safezoneH + safezoneY;
w = 0.200505 * safezoneW;
h = 0.0700129 * safezoneH;
};
class header_two: horde_RscPicture
{
idc = 1701;
text = "\z\addons\dayz_communityassets\pictures\playerstats\headers\killed.paa";
x = 0.244842 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.218707 * safezoneW;
h = 0.0699905 * safezoneH;
};
class main_image: horde_RscPicture
{
idc = 1702;
text = "\z\addons\dayz_communityassets\pictures\playerstats\illus\zombie.paa";
x = 0.281293 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.136692 * safezoneW;
h = 0.437441 * safezoneH;
};
class t11: horde_RscStructuredText
{
idc = 1204;
x = 0.527338 * safezoneW + safezoneX;
y = 0.220038 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t12: horde_RscStructuredText
{
idc = 1205;
x = 0.572902 * safezoneW + safezoneX;
y = 0.220038 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t13: horde_RscStructuredText
{
idc = 1206;
x = 0.618466 * safezoneW + safezoneX;
y = 0.220038 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t14: horde_RscStructuredText
{
idc = 1207;
x = 0.66403 * safezoneW + safezoneX;
y = 0.220038 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t15: horde_RscStructuredText
{
idc = 1208;
x = 0.709594 * safezoneW + safezoneX;
y = 0.220038 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t21: horde_RscStructuredText
{
idc = 1209;
x = 0.527338 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t22: horde_RscStructuredText
{
idc = 1210;
x = 0.572902 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t23: horde_RscStructuredText
{
idc = 1211;
x = 0.618466 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t24: horde_RscStructuredText
{
idc = 1212;
x = 0.66403 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t25: horde_RscStructuredText
{
idc = 1213;
x = 0.709594 * safezoneW + safezoneX;
y = 0.290028 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t31: horde_RscStructuredText
{
idc = 1214;
x = 0.527338 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t32: horde_RscStructuredText
{
idc = 1215;
x = 0.572902 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t33: horde_RscStructuredText
{
idc = 1216;
x = 0.618466 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t34: horde_RscStructuredText
{
idc = 1217;
x = 0.66403 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t35: horde_RscStructuredText
{
idc = 1218;
x = 0.709594 * safezoneW + safezoneX;
y = 0.360019 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t41: horde_RscStructuredText
{
idc = 1219;
x = 0.527338 * safezoneW + safezoneX;
y = 0.43001 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t42: horde_RscStructuredText
{
idc = 1220;
x = 0.572902 * safezoneW + safezoneX;
y = 0.43001 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t43: horde_RscStructuredText
{
idc = 1221;
x = 0.618466 * safezoneW + safezoneX;
y = 0.43001 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t44: horde_RscStructuredText
{
idc = 1222;
x = 0.66403 * safezoneW + safezoneX;
y = 0.43001 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t45: horde_RscStructuredText
{
idc = 1223;
x = 0.709594 * safezoneW + safezoneX;
y = 0.43001 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t51: horde_RscStructuredText
{
idc = 1224;
x = 0.527338 * safezoneW + safezoneX;
y = 0.5 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t52: horde_RscStructuredText
{
idc = 1225;
x = 0.572902 * safezoneW + safezoneX;
y = 0.5 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t53: horde_RscStructuredText
{
idc = 1226;
x = 0.618466 * safezoneW + safezoneX;
y = 0.5 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t54: horde_RscStructuredText
{
idc = 1227;
x = 0.66403 * safezoneW + safezoneX;
y = 0.5 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t55: horde_RscStructuredText
{
idc = 1228;
x = 0.709594 * safezoneW + safezoneX;
y = 0.5 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t61: horde_RscStructuredText
{
idc = 1229;
x = 0.527338 * safezoneW + safezoneX;
y = 0.569991 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t62: horde_RscStructuredText
{
idc = 1230;
x = 0.572902 * safezoneW + safezoneX;
y = 0.569991 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t63: horde_RscStructuredText
{
idc = 1231;
x = 0.618466 * safezoneW + safezoneX;
y = 0.569991 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t64: horde_RscStructuredText
{
idc = 1232;
x = 0.66403 * safezoneW + safezoneX;
y = 0.569991 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t65: horde_RscStructuredText
{
idc = 1233;
x = 0.709594 * safezoneW + safezoneX;
y = 0.569991 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t71: horde_RscStructuredText
{
idc = 1234;
x = 0.527338 * safezoneW + safezoneX;
y = 0.639981 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t72: horde_RscStructuredText
{
idc = 1235;
x = 0.572902 * safezoneW + safezoneX;
y = 0.639981 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t73: horde_RscStructuredText
{
idc = 1236;
x = 0.618466 * safezoneW + safezoneX;
y = 0.639981 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t74: horde_RscStructuredText
{
idc = 1237;
x = 0.66403 * safezoneW + safezoneX;
y = 0.639981 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class t75: horde_RscStructuredText
{
idc = 1238;
x = 0.709594 * safezoneW + safezoneX;
y = 0.639981 * safezoneH + safezoneY;
w = 0.0546767 * safezoneW;
h = 0.0699905 * safezoneH;
};
class add_kills: horde_RscStructuredText
{
idc = 1239;
x = 0.536451 * safezoneW + safezoneX;
y = 0.709972 * safezoneH + safezoneY;
w = 0.218707 * safezoneW;
h = 0.0699905 * safezoneH;
};
/********************************************************************************************************************/
// Buttons
//********************************************************************************************************************/
class click_for_prev_page: horde_RscButton
{
idc = 1900;
x = 0.217398 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.282602 * safezoneW;
h = 0.665029 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_turning_page'; closeDialog 0; createDialog 'horde_journal_pages_humanity_art';";
};
class click_for_next_page: horde_RscButton
{
idc = 1901;
x = 0.5 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.282602 * safezoneW;
h = 0.665029 * safezoneH;
// soundPush[] = {"sounds\page",0.7,1};
action = "playSound 'horde_sound_turning_page'; closeDialog 0; createDialog 'horde_journal_pages_headshots';";
};
class click_here_to_close_book_1: horde_RscButton
{
idc = 1902;
x = -0.00139144 * safezoneW + safezoneX;
y = -0.00752226 * safezoneH + safezoneY;
w = 1.03925 * safezoneW;
h = 0.175008 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_2: horde_RscButton
{
idc = 1903;
x = 0.791719 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.209673 * safezoneW;
h = 0.68253 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_3: horde_RscButton
{
idc = 1904;
x = -0.00139144 * safezoneW + safezoneX;
y = 0.832515 * safezoneH + safezoneY;
w = 1.0119 * safezoneW;
h = 0.175008 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
class click_here_to_close_book_4: horde_RscButton
{
idc = 1905;
x = -0.00139144 * safezoneW + safezoneX;
y = 0.167485 * safezoneH + safezoneY;
w = 0.209673 * safezoneW;
h = 0.68253 * safezoneH;
// soundPush[] = {"sounds\close",1,1};
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
};
};

View File

@@ -0,0 +1,22 @@
/********************************************************************************************************************/
// Config file for [DayZ]
// Created by: [Horde/Das Attorney]
//********************************************************************************************************************/
class CfgSounds
{
class Vas_yessir;
class horde_sound_turning_page: Vas_yessir
{
name = "horde_sound_turning_page";
sound[] = {"\z\addons\dayz_communityassets\sounds\page.wss", 0.5, 1};
titles[] = {};
};
class horde_sound_close_book: Vas_yessir
{
name = "horde_sound_close_book";
sound[] = {"\z\addons\dayz_communityassets\sounds\close.wss", 1, 1};
titles[] = {};
};
};

View File

@@ -0,0 +1,6 @@
class C130J_US_EP1;
class C130J_US_EP1_DZ: C130J_US_EP1 {
transportMaxWeapons = 50;
transportMaxMagazines = 400;
transportmaxbackpacks = 20;
};

View File

@@ -0,0 +1,20 @@
class USEC_ch53_E;
class CH53_DZE : USEC_ch53_E {
displayname = "USEC CH53E DZE";
displaynameshort = "CH53_DZE";
enablemanualfire = 0;
scope = 2;
side = 2;
crew = "";
typicalCargo[] = {};
hiddenSelections[] = {};
radartype = 0;
class TransportMagazines{};
class TransportWeapons{};
commanderCanSee = 2+16+32;
gunnerCanSee = 2+16+32;
driverCanSee = 2+16+32;
transportMaxWeapons = 25;
transportMaxMagazines = 80;
transportmaxbackpacks = 15;
};

View File

@@ -29,10 +29,5 @@ class LockboxStorage: Land_A_tent {
class WeaponHolder_ItemLockbox: WeaponHolder {
scope = 2;
displayName = "Lockbox";
class transportmagazines {
class _xx_ItemLockbox {
magazine = "ItemLockbox";
count = 1;
};
};
seedItem = "ItemLockbox";
};

View File

@@ -31,10 +31,5 @@ class VaultStorageLocked: Land_A_tent {
class WeaponHolder_ItemVault: WeaponHolder {
scope = 2;
displayName = "Safe";
class transportmagazines {
class _xx_ItemVault {
magazine = "ItemVault";
count = 1;
};
};
seedItem = "ItemVault";
};

File diff suppressed because it is too large Load Diff

View File

@@ -63,8 +63,8 @@ class M113_TK_EP1_DZE: M113_TK_EP1_DZ {
// Unarmed
class M113Ambul_UN_EP1;
class M113Ambul_UN_EP1_DZ: M113Ambul_UN_EP1 {
scope = 2;
side = 2;
scope = public;
side = TGuerrila;
crew = "";
typicalCargo[] = {};
hiddenSelections[] = {};
@@ -79,8 +79,8 @@ class M113Ambul_UN_EP1_DZ: M113Ambul_UN_EP1 {
};
class M113Ambul_TK_EP1;
class M113Ambul_TK_EP1_DZ: M113Ambul_TK_EP1 {
scope = 2;
side = 2;
scope = public;
side = TGuerrila;
crew = "";
typicalCargo[] = {};
hiddenSelections[] = {};

View File

@@ -1,16 +1,26 @@
class MtvrRefuel_DES_EP1;
class MtvrRefuel_DES_EP1_DZ: MtvrRefuel_DES_EP1 {
class MtvrRefuel;
class MtvrRefuel_base : MtvrRefuel
{
scope = 0;
side = 4;
expansion = 1;
crew = "Civilian";
typicalCargo[] = {};
};
class MtvrRefuel_DES_EP1_DZ : MtvrRefuel_base {
scope = 2;
side = 2;
crew = "";
displayName = "MTVR (Fuel)";
typicalCargo[] = {};
hiddenSelections[] = {};
hiddenSelectionsTextures[] = { "\CA\wheeled_E\MTVR\Data\MTVR_body_desert_co.paa", "\CA\wheeled_E\MTVR\Data\MTVR_body2_desert_co.paa", "\CA\wheeled_E\MTVR\Data\MTVR_interier_desert_co.paa", "\CA\wheeled_E\MTVR\Data\MTVR_Fuel_desert_CO.paa" };
class TransportMagazines{};
class TransportWeapons{};
transportFuel = 0;
fuelCapacity = 10000;
};
class MtvrRefuel;
class MtvrRefuel_DZ: MtvrRefuel {
scope = 2;
side = 2;

View File

@@ -1,527 +1,328 @@
class Pickup_PK_base: Car
{
displayName = "Pickup (PK)";
scope = 0;
wheelCircumference = 2.199;
Picture = "\Ca\wheeled\data\ico\datsun_PK_CA.paa";
Icon = "\Ca\wheeled\data\map_ico\icomap_datsun_PK_CA.paa";
mapSize = 5;
maxSpeed = 150;
turnCoef = 2.5;
steerAheadPlan = 0.15;
terrainCoef = 4;
soundGear[] = {"",0.000562341,1};
SoundGetIn[] = {"\ca\sounds\vehicles\wheeled\offroad\ext\ext-offroad-getout-1",0.251189,1};
SoundGetOut[] = {"\ca\sounds\vehicles\wheeled\offroad\ext\ext-offroad-getout-1",0.251189,1,30};
soundEngineOnInt[] = {"ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-start-1",0.316228,1};
soundEngineOnExt[] = {"ca\sounds\Vehicles\Wheeled\offroad\ext\ext-offroad-start-1",0.316228,1,200};
soundEngineOffInt[] = {"ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-stop-1",0.316228,1};
soundEngineOffExt[] = {"ca\sounds\Vehicles\Wheeled\offroad\ext\ext-offroad-stop-1",0.316228,1,200};
buildCrash0[] = {"Ca\sounds\Vehicles\Crash\crash_building_01",0.707946,1,200};
buildCrash1[] = {"Ca\sounds\Vehicles\Crash\crash_building_02",0.707946,1,200};
buildCrash2[] = {"Ca\sounds\Vehicles\Crash\crash_building_03",0.707946,1,200};
buildCrash3[] = {"Ca\sounds\Vehicles\Crash\crash_building_04",0.707946,1,200};
soundBuildingCrash[] = {"buildCrash0",0.25,"buildCrash1",0.25,"buildCrash2",0.25,"buildCrash3",0.25};
WoodCrash0[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_01",0.707946,1,200};
WoodCrash1[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_02",0.707946,1,200};
WoodCrash2[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_03",0.707946,1,200};
WoodCrash3[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_04",0.707946,1,200};
WoodCrash4[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_05",0.707946,1,200};
WoodCrash5[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_06",0.707946,1,200};
soundWoodCrash[] = {"woodCrash0",0.166,"woodCrash1",0.166,"woodCrash2",0.166,"woodCrash3",0.166,"woodCrash4",0.166,"woodCrash5",0.166};
ArmorCrash0[] = {"Ca\sounds\Vehicles\Crash\crash_vehicle_01",0.707946,1,200};
ArmorCrash1[] = {"Ca\sounds\Vehicles\Crash\crash_vehicle_02",0.707946,1,200};
ArmorCrash2[] = {"Ca\sounds\Vehicles\Crash\crash_vehicle_03",0.707946,1,200};
ArmorCrash3[] = {"Ca\sounds\Vehicles\Crash\crash_vehicle_04",0.707946,1,200};
soundArmorCrash[] = {"ArmorCrash0",0.25,"ArmorCrash1",0.25,"ArmorCrash2",0.25,"ArmorCrash3",0.25};
class SoundEvents
{
class AccelerationIn
{
sound[] = {"ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-acce-1",0.316228,1};
limit = "0.7";
expression = "(engineOn*(1-camPos))*gmeterZ*(speed factor[2.5, 4])";
};
class AccelerationOut
{
sound[] = {"ca\sounds\Vehicles\Wheeled\offroad\ext\ext-offroad-acce-1",0.316228,1,250};
limit = "0.7";
expression = "(engineOn*camPos)*gmeterZ*(speed factor[2.5, 4])";
};
};
class Sounds
{
class Engine
{
sound[] = {"ca\sounds\Vehicles\Wheeled\offroad\ext\ext-offroad-low-1",0.398107,1,300};
frequency = "(randomizer*0.05+0.95)*rpm";
volume = "camPos*engineOn*((rpm factor[0.21, 0.5]) min (rpm factor[0.7, 0.3]))";
};
class EngineHighOut
{
sound[] = {"ca\sounds\Vehicles\Wheeled\offroad\ext\ext-offroad-high-2",0.398107,1,400};
frequency = "(randomizer*0.05+0.95)*rpm";
volume = "camPos*engineOn*(rpm factor[0.5, 0.85])";
};
class IdleOut
{
sound[] = {"ca\sounds\Vehicles\Wheeled\offroad\ext\ext-offroad-idle-5",0.223872,1,200};
frequency = "1";
volume = "camPos*engineOn*(rpm factor[0.4, 0])";
};
class TiresRockOut
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-rock2",0.316228,1,30};
frequency = "1";
volume = "camPos*rock*(speed factor[2, 20])";
};
class TiresSandOut
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-sand2",0.316228,1,30};
frequency = "1";
volume = "camPos*sand*(speed factor[2, 20])";
};
class TiresGrassOut
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-grass3",0.316228,1,30};
frequency = "1";
volume = "camPos*grass*(speed factor[2, 20])";
};
class TiresMudOut
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-mud2",0.316228,1,30};
frequency = "1";
volume = "camPos*mud*(speed factor[2, 20])";
};
class TiresGravelOut
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-gravel2",0.316228,1,30};
frequency = "1";
volume = "camPos*gravel*(speed factor[2, 20])";
};
class TiresAsphaltOut
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-asphalt3",0.316228,1,30};
frequency = "1";
volume = "camPos*asphalt*(speed factor[2, 20])";
};
class NoiseOut
{
sound[] = {"ca\sounds\Vehicles\Wheeled\UAZ\ext\ext-noise",0.316228,1,30};
frequency = "1";
volume = "camPos*(damper0 max 0.02)*(speed factor[0, 8])";
};
class EngineLowIn
{
sound[] = {"ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-low-1",0.562341,1};
frequency = "(randomizer*0.05+0.95)*rpm";
volume = "(1-camPos)*engineOn*((rpm factor[0.2, 0.4]) min (rpm factor[0.7, 0.3]))";
};
class EngineHighIn
{
sound[] = {"ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-high-2",0.562341,1};
frequency = "(randomizer*0.05+0.95)*rpm";
volume = "(1-camPos)*engineOn*(rpm factor[0.56, 0.8])";
};
class IdleIn
{
sound[] = {"ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-idle-5",0.398107,1};
frequency = "1";
volume = "(1-camPos)*engineOn*(rpm factor[0.4, 0])";
};
class TiresRockIn
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-rock2",0.316228,1};
frequency = "1";
volume = "(1-camPos)*rock*(speed factor[2, 20])";
};
class TiresSandIn
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-sand2",0.316228,1};
frequency = "1";
volume = "(1-camPos)*sand*(speed factor[2, 20])";
};
class TiresGrassIn
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-grass3",0.316228,1};
frequency = "1";
volume = "(1-camPos)*grass*(speed factor[2, 20])";
};
class TiresMudIn
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-mud2",0.316228,1};
frequency = "1";
volume = "(1-camPos)*mud*(speed factor[2, 20])";
};
class TiresGravelIn
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-gravel2",0.316228,1};
frequency = "1";
volume = "(1-camPos)*gravel*(speed factor[2, 20])";
};
class TiresAsphaltIn
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-asphalt3",0.316228,1};
frequency = "1";
volume = "(1-camPos)*asphalt*(speed factor[2, 20])";
};
class NoiseIn
{
sound[] = {"ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-noise-1",0.316228,1};
frequency = "1";
volume = "(damper0 max 0.03)*(speed factor[0, 8])*(1-camPos)";
};
class Movement
{
sound = "soundEnviron";
frequency = "1";
volume = "0";
};
};
class TransportMagazines
{
};
transportSoldier = 3;
unitInfoType = "UnitInfoSoldier";
driverAction = "datsun_driver";
cargoAction[] = {"Hilux_cargo01","datsun_cargo02","MH6_Cargo03"};
driverCompartments = "Compartment1";
cargoCompartments[] = {"Compartment1"};
gunnerOpticsShowCursor = 1;
threat[] = {0.6,0.4,0.1};
class AnimationSources: AnimationSources
{
class ReloadAnim
{
source = "reload";
weapon = "PKT";
};
class ReloadMagazine
{
source = "reloadmagazine";
weapon = "PKT";
};
class Revolving
{
source = "revolving";
weapon = "PKT";
};
};
class Turrets: Turrets
{
class MainTurret: MainTurret
{
body = "mainTurret";
gun = "mainGun";
outGunnerMayFire = 1;
forceHideGunner = 1;
castGunnerShadow = 1;
viewGunnerInExternal = 1;
gunnerOpticsModel = "\ca\Weapons\optika_empty";
gunnerForceOptics = 0;
weapons[] = {"PKT"};
soundServo[] = {};
stabilizedInAxes = 0;
magazines[] = {"100Rnd_762x54_PK","100Rnd_762x54_PK","100Rnd_762x54_PK","100Rnd_762x54_PK","100Rnd_762x54_PK","100Rnd_762x54_PK"};
gunnerAction = "datsun_Gunner01";
gunnerInAction = "datsun_Gunner01";
ejectDeadGunner = 1;
minElev = -18;
maxElev = 40;
minTurn = -45;
maxTurn = 45;
initTurn = 0;
gunnerCompartments = "Compartment2";
};
};
class Library
{
libTextDesc = "A pickup truck which was very popular in the United States in the 1970s.";
};
class Damage
{
tex[] = {};
mat[] = {"Ca\wheeled_E\Datsun_Armed\Data\datsun_trup.rvmat","Ca\wheeled_E\Datsun_Armed\Data\datsun_trup_damage.rvmat","Ca\wheeled_E\Datsun_Armed\Data\datsun_trup_destruct.rvmat","Ca\wheeled_E\Datsun_Armed\Data\datsun_interier.rvmat","Ca\wheeled_E\Datsun_Armed\Data\datsun_interier_damage.rvmat","Ca\wheeled_E\Datsun_Armed\Data\datsun_interier_destruct.rvmat","Ca\wheeled_E\Datsun_Armed\Data\datsun_trup_b.rvmat","Ca\wheeled_E\Datsun_Armed\Data\datsun_trup_b_damage.rvmat","Ca\wheeled_E\Datsun_Armed\Data\datsun_trup_b_destruct.rvmat","Ca\wheeled_E\Data\auta_skla_in.rvmat","Ca\wheeled_E\Data\auta_skla_in_damage.rvmat","Ca\wheeled_E\Data\auta_skla_in_damage.rvmat","Ca\wheeled_E\Data\auta_skla.rvmat","Ca\wheeled_E\Data\auta_skla_damage.rvmat","Ca\wheeled_E\Data\auta_skla_damage.rvmat","Ca\Ca_E\data\default.rvmat","Ca\Ca_E\data\default.rvmat","Ca\Ca_E\data\default_destruct.rvmat"};
};
hiddenSelections[] = {"Camo"};
outsideSoundFilter = 1;
insideSoundCoef = 0.8;
brakeDistance = 13;
model = "ca\wheeled_E\Datsun_Armed\datsun_PK";
};
class Pickup_PK_TK_GUE_EP1_DZ: Pickup_PK_base
{
htMin = 60;
htMax = 1800;
afMax = 200;
mfMax = 100;
mFact = 1;
tBody = 250;
expansion = 1;
scope = 2;
side = 2;
faction = "BIS_TK_GUE";
class Pickup_PK_GUE;
class Pickup_PK_GUE_DZ: Pickup_PK_GUE {
scope = public;
side = TGuerrila;
displayName = "Pickup (PK) DZ";
crew = "";
typicalCargo[] = {};
hiddenSelectionsTextures[] = {"\CA\wheeled_E\Datsun_Armed\Data\datsun_trup1_EINS_CO.paa"};
class EventHandlers: Eventhandlers
{
init = "(_this select 0) setObjectTexture [0,[""\CA\wheeled_E\Datsun_Armed\Data\datsun_trup1_EINS_CO"",""\CA\wheeled_E\Datsun_Armed\Data\datsun_trup2_EINS_CO"",""\CA\wheeled_E\Datsun_Armed\Data\datsun_trup3_EINS_CO""] select floor random 3]";
};
class TransportMagazines {};
class TransportWeapons {};
class Turrets: Turrets
{
class MainTurret: MainTurret
{
body = "mainTurret";
gun = "mainGun";
outGunnerMayFire = 1;
forceHideGunner = 1;
castGunnerShadow = 1;
viewGunnerInExternal = 1;
gunnerOpticsModel = "\ca\Weapons\optika_empty";
gunnerForceOptics = 0;
weapons[] = {"PKT"};
soundServo[] = {};
stabilizedInAxes = 0;
magazines[] = {"100Rnd_762x54_PK"};
gunnerAction = "datsun_Gunner01";
gunnerInAction = "datsun_Gunner01";
ejectDeadGunner = 1;
minElev = -18;
maxElev = 40;
minTurn = -45;
maxTurn = 45;
initTurn = 0;
gunnerCompartments = "Compartment2";
};
};
};
terrainCoef = 2.5;
class Turrets; // External class reference
class MainTurret; // External class reference
};
class Pickup_PK_TK_GUE_EP1;
class Pickup_PK_TK_GUE_EP1_DZ: Pickup_PK_TK_GUE_EP1 {
scope = public;
side = TGuerrila;
displayName = "Pickup (PK) DZ";
class Pickup_PK_TK_GUE_EP1_DZE: Pickup_PK_base
{
htMin = 60;
htMax = 1800;
afMax = 200;
mfMax = 100;
mFact = 1;
tBody = 250;
expansion = 1;
scope = 2;
side = 2;
faction = "BIS_TK_GUE";
displayName = "Pickup (PK) AL";
crew = "";
typicalCargo[] = {};
hiddenSelectionsTextures[] = {"\CA\wheeled_E\Datsun_Armed\Data\datsun_trup1_EINS_CO.paa"};
class EventHandlers: Eventhandlers
{
init = "(_this select 0) setObjectTexture [0,[""\CA\wheeled_E\Datsun_Armed\Data\datsun_trup1_EINS_CO"",""\CA\wheeled_E\Datsun_Armed\Data\datsun_trup2_EINS_CO"",""\CA\wheeled_E\Datsun_Armed\Data\datsun_trup3_EINS_CO""] select floor random 3]";
};
class TransportMagazines {};
class TransportWeapons {};
class Turrets: Turrets
{
class MainTurret: MainTurret
{
body = "mainTurret";
gun = "mainGun";
outGunnerMayFire = 1;
forceHideGunner = 1;
castGunnerShadow = 1;
viewGunnerInExternal = 1;
gunnerOpticsModel = "\ca\Weapons\optika_empty";
gunnerForceOptics = 0;
weapons[] = {"PKT"};
soundServo[] = {};
stabilizedInAxes = 0;
magazines[] = {};
gunnerAction = "datsun_Gunner01";
gunnerInAction = "datsun_Gunner01";
ejectDeadGunner = 1;
minElev = -18;
maxElev = 40;
minTurn = -45;
maxTurn = 45;
initTurn = 0;
gunnerCompartments = "Compartment2";
};
};
};
terrainCoef = 2.5;
class Pickup_PK_GUE_DZ: Pickup_PK_base
{
scope = 2;
side = 2;
faction = "GUE";
class Turrets; // External class reference
class MainTurret; // External class reference
};
class Pickup_PK_INS;
class Pickup_PK_INS_DZ: Pickup_PK_INS {
scope = public;
side = TGuerrila;
displayName = "Pickup (PK) DZ";
crew = "";
typicalCargo[] = {};
hiddenSelectionsTextures[] = {"\ca\wheeled\datsun_armed\data\datsun_trup2_CO.paa"};
class Damage
{
tex[] = {};
mat[] = {"ca\wheeled\hilux_armed\data\detailmapy\coyota_armed.rvmat","ca\wheeled\hilux_armed\data\detailmapy\coyota_armed.rvmat","ca\wheeled\hilux_armed\data\detailmapy\coyota_armed_destruct.rvmat","ca\weapons\data\dshk.rvmat","ca\weapons\data\dshk.rvmat","ca\weapons\data\dshk_destruct.rvmat","ca\weapons\data\tripod_dshk.rvmat","ca\weapons\data\tripod_dshk.rvmat","ca\wheeled\hilux_armed\data\detailmapy\tripod_dshk_destruct.rvmat","ca\weapons\data\pkm.rvmat","ca\weapons\data\pkm.rvmat","ca\weapons\data\pkm_destruct.rvmat","ca\wheeled\data\detailmapy\datsun_interier.rvmat","ca\wheeled\data\detailmapy\datsun_interier.rvmat","ca\wheeled\data\detailmapy\datsun_interier_destruct.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trup.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trup.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trup_destruct.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trup_b.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trup_b.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trupb_destruct.rvmat","ca\wheeled\data\detailmapy\coyota_kola.rvmat","ca\wheeled\data\detailmapy\coyota_kola.rvmat","ca\wheeled\data\detailmapy\coyota_kola_destruct.rvmat","ca\wheeled\data\detailmapy\coyota_interier.rvmat","ca\wheeled\data\detailmapy\coyota_interier.rvmat","ca\wheeled\data\detailmapy\coyota_interier_destruct.rvmat","ca\wheeled\data\detailmapy\auta_skla.rvmat","ca\wheeled\data\detailmapy\auta_skla_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_in.rvmat","ca\wheeled\data\detailmapy\auta_skla_in_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_in_damage.rvmat"};
};
class Turrets: Turrets
{
class MainTurret: MainTurret
{
body = "mainTurret";
gun = "mainGun";
outGunnerMayFire = 1;
forceHideGunner = 1;
castGunnerShadow = 1;
viewGunnerInExternal = 1;
gunnerOpticsModel = "\ca\Weapons\optika_empty";
gunnerForceOptics = 0;
weapons[] = {"PKT"};
soundServo[] = {};
stabilizedInAxes = 0;
magazines[] = {"100Rnd_762x54_PK"};
gunnerAction = "datsun_Gunner01";
gunnerInAction = "datsun_Gunner01";
ejectDeadGunner = 1;
minElev = -18;
maxElev = 40;
minTurn = -45;
maxTurn = 45;
initTurn = 0;
gunnerCompartments = "Compartment2";
};
};
class TransportMagazines {};
class TransportWeapons {};
terrainCoef = 2.5;
class Turrets; // External class reference
class MainTurret; // External class reference
};
class Pickup_PK_GUE_DZE: Pickup_PK_base
{
scope = 2;
side = 2;
faction = "GUE";
// Ammo Less
class Pickup_PK_GUE_DZE: Pickup_PK_GUE_DZ {
displayName = "Pickup (PK) AL";
crew = "";
typicalCargo[] = {};
hiddenSelectionsTextures[] = {"\ca\wheeled\datsun_armed\data\datsun_trup2_CO.paa"};
class Damage
{
tex[] = {};
mat[] = {"ca\wheeled\hilux_armed\data\detailmapy\coyota_armed.rvmat","ca\wheeled\hilux_armed\data\detailmapy\coyota_armed.rvmat","ca\wheeled\hilux_armed\data\detailmapy\coyota_armed_destruct.rvmat","ca\weapons\data\dshk.rvmat","ca\weapons\data\dshk.rvmat","ca\weapons\data\dshk_destruct.rvmat","ca\weapons\data\tripod_dshk.rvmat","ca\weapons\data\tripod_dshk.rvmat","ca\wheeled\hilux_armed\data\detailmapy\tripod_dshk_destruct.rvmat","ca\weapons\data\pkm.rvmat","ca\weapons\data\pkm.rvmat","ca\weapons\data\pkm_destruct.rvmat","ca\wheeled\data\detailmapy\datsun_interier.rvmat","ca\wheeled\data\detailmapy\datsun_interier.rvmat","ca\wheeled\data\detailmapy\datsun_interier_destruct.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trup.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trup.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trup_destruct.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trup_b.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trup_b.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trupb_destruct.rvmat","ca\wheeled\data\detailmapy\coyota_kola.rvmat","ca\wheeled\data\detailmapy\coyota_kola.rvmat","ca\wheeled\data\detailmapy\coyota_kola_destruct.rvmat","ca\wheeled\data\detailmapy\coyota_interier.rvmat","ca\wheeled\data\detailmapy\coyota_interier.rvmat","ca\wheeled\data\detailmapy\coyota_interier_destruct.rvmat","ca\wheeled\data\detailmapy\auta_skla.rvmat","ca\wheeled\data\detailmapy\auta_skla_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_in.rvmat","ca\wheeled\data\detailmapy\auta_skla_in_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_in_damage.rvmat"};
};
class Turrets: Turrets
{
class MainTurret: MainTurret
{
body = "mainTurret";
gun = "mainGun";
outGunnerMayFire = 1;
forceHideGunner = 1;
castGunnerShadow = 1;
viewGunnerInExternal = 1;
gunnerOpticsModel = "\ca\Weapons\optika_empty";
gunnerForceOptics = 0;
weapons[] = {"PKT"};
soundServo[] = {};
stabilizedInAxes = 0;
class Turrets: Turrets {
class MainTurret : MainTurret {
magazines[] = {};
gunnerAction = "datsun_Gunner01";
gunnerInAction = "datsun_Gunner01";
ejectDeadGunner = 1;
minElev = -18;
maxElev = 40;
minTurn = -45;
maxTurn = 45;
initTurn = 0;
gunnerCompartments = "Compartment2";
};
};
};
class HitPoints; // External class reference
class HitLFWheel; // External class reference
class HitLBWheel; // External class reference
class HitRFWheel; // External class reference
class HitRBWheel; // External class reference
class HitFuel; // External class reference
class HitEngine; // External class reference
class HitGlass1; // External class reference
class HitGlass2; // External class reference
class HitGlass3; // External class reference
class HitGlass4; // External class reference
class Pickup_PK_INS_DZ: Pickup_PK_base
{
scope = 2;
side = 2;
faction = "INS";
displayName = "Pickup (PK) DZ";
crew = "";
typicalCargo[] = {};
hiddenSelectionsTextures[] = {"\ca\wheeled\datsun_armed\data\datsun_trup3_CO.paa"};
class Damage
{
tex[] = {};
mat[] = {"ca\wheeled\hilux_armed\data\detailmapy\coyota_armed.rvmat","ca\wheeled\hilux_armed\data\detailmapy\coyota_armed.rvmat","ca\wheeled\hilux_armed\data\detailmapy\coyota_armed_destruct.rvmat","ca\weapons\data\dshk.rvmat","ca\weapons\data\dshk.rvmat","ca\weapons\data\dshk_destruct.rvmat","ca\weapons\data\tripod_dshk.rvmat","ca\weapons\data\tripod_dshk.rvmat","ca\wheeled\hilux_armed\data\detailmapy\tripod_dshk_destruct.rvmat","ca\weapons\data\pkm.rvmat","ca\weapons\data\pkm.rvmat","ca\weapons\data\pkm_destruct.rvmat","ca\wheeled\data\detailmapy\datsun_interier.rvmat","ca\wheeled\data\detailmapy\datsun_interier.rvmat","ca\wheeled\data\detailmapy\datsun_interier_destruct.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trup.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trup.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trup_destruct.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trup_b.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trup_b.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trupb_destruct.rvmat","ca\wheeled\data\detailmapy\coyota_kola.rvmat","ca\wheeled\data\detailmapy\coyota_kola.rvmat","ca\wheeled\data\detailmapy\coyota_kola_destruct.rvmat","ca\wheeled\data\detailmapy\coyota_interier.rvmat","ca\wheeled\data\detailmapy\coyota_interier.rvmat","ca\wheeled\data\detailmapy\coyota_interier_destruct.rvmat","ca\wheeled\data\detailmapy\auta_skla.rvmat","ca\wheeled\data\detailmapy\auta_skla_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_in.rvmat","ca\wheeled\data\detailmapy\auta_skla_in_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_in_damage.rvmat"};
};
class Turrets: Turrets
{
class MainTurret: MainTurret
{
body = "mainTurret";
gun = "mainGun";
outGunnerMayFire = 1;
forceHideGunner = 1;
castGunnerShadow = 1;
viewGunnerInExternal = 1;
gunnerOpticsModel = "\ca\Weapons\optika_empty";
gunnerForceOptics = 0;
weapons[] = {"PKT"};
soundServo[] = {};
stabilizedInAxes = 0;
magazines[] = {"100Rnd_762x54_PK"};
gunnerAction = "datsun_Gunner01";
gunnerInAction = "datsun_Gunner01";
ejectDeadGunner = 1;
minElev = -18;
maxElev = 40;
minTurn = -45;
maxTurn = 45;
initTurn = 0;
gunnerCompartments = "Compartment2";
};
class Upgrades {
ItemORP[] = {"Pickup_PK_GUE_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};
};
};
class Pickup_PK_INS_DZE: Pickup_PK_base
{
scope = 2;
side = 2;
faction = "INS";
class Pickup_PK_TK_GUE_EP1_DZE: Pickup_PK_TK_GUE_EP1_DZ {
displayName = "Pickup (PK) AL";
crew = "";
typicalCargo[] = {};
hiddenSelectionsTextures[] = {"\ca\wheeled\datsun_armed\data\datsun_trup3_CO.paa"};
class Damage
{
tex[] = {};
mat[] = {"ca\wheeled\hilux_armed\data\detailmapy\coyota_armed.rvmat","ca\wheeled\hilux_armed\data\detailmapy\coyota_armed.rvmat","ca\wheeled\hilux_armed\data\detailmapy\coyota_armed_destruct.rvmat","ca\weapons\data\dshk.rvmat","ca\weapons\data\dshk.rvmat","ca\weapons\data\dshk_destruct.rvmat","ca\weapons\data\tripod_dshk.rvmat","ca\weapons\data\tripod_dshk.rvmat","ca\wheeled\hilux_armed\data\detailmapy\tripod_dshk_destruct.rvmat","ca\weapons\data\pkm.rvmat","ca\weapons\data\pkm.rvmat","ca\weapons\data\pkm_destruct.rvmat","ca\wheeled\data\detailmapy\datsun_interier.rvmat","ca\wheeled\data\detailmapy\datsun_interier.rvmat","ca\wheeled\data\detailmapy\datsun_interier_destruct.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trup.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trup.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trup_destruct.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trup_b.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trup_b.rvmat","ca\wheeled\datsun_armed\data\detailmapy\datsun_trupb_destruct.rvmat","ca\wheeled\data\detailmapy\coyota_kola.rvmat","ca\wheeled\data\detailmapy\coyota_kola.rvmat","ca\wheeled\data\detailmapy\coyota_kola_destruct.rvmat","ca\wheeled\data\detailmapy\coyota_interier.rvmat","ca\wheeled\data\detailmapy\coyota_interier.rvmat","ca\wheeled\data\detailmapy\coyota_interier_destruct.rvmat","ca\wheeled\data\detailmapy\auta_skla.rvmat","ca\wheeled\data\detailmapy\auta_skla_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_in.rvmat","ca\wheeled\data\detailmapy\auta_skla_in_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_in_damage.rvmat"};
};
class Turrets: Turrets
{
class MainTurret: MainTurret
{
body = "mainTurret";
gun = "mainGun";
outGunnerMayFire = 1;
forceHideGunner = 1;
castGunnerShadow = 1;
viewGunnerInExternal = 1;
gunnerOpticsModel = "\ca\Weapons\optika_empty";
gunnerForceOptics = 0;
weapons[] = {"PKT"};
soundServo[] = {};
stabilizedInAxes = 0;
class Turrets: Turrets {
class MainTurret : MainTurret {
magazines[] = {};
gunnerAction = "datsun_Gunner01";
gunnerInAction = "datsun_Gunner01";
ejectDeadGunner = 1;
minElev = -18;
maxElev = 40;
minTurn = -45;
maxTurn = 45;
initTurn = 0;
gunnerCompartments = "Compartment2";
};
};
class HitPoints; // External class reference
class HitLFWheel; // External class reference
class HitLBWheel; // External class reference
class HitRFWheel; // External class reference
class HitRBWheel; // External class reference
class HitFuel; // External class reference
class HitEngine; // External class reference
class HitGlass1; // External class reference
class HitGlass2; // External class reference
class HitGlass3; // External class reference
class HitGlass4; // External class reference
class Upgrades {
ItemORP[] = {"Pickup_PK_TK_GUE_EP1_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};
};
};
class Pickup_PK_INS_DZE: Pickup_PK_INS_DZ {
displayName = "Pickup (PK) AL";
class Turrets: Turrets {
class MainTurret : MainTurret {
magazines[] = {};
};
};
class HitPoints; // External class reference
class HitLFWheel; // External class reference
class HitLBWheel; // External class reference
class HitRFWheel; // External class reference
class HitRBWheel; // External class reference
class HitFuel; // External class reference
class HitEngine; // External class reference
class HitGlass1; // External class reference
class HitGlass2; // External class reference
class HitGlass3; // External class reference
class HitGlass4; // External class reference
class Upgrades {
ItemORP[] = {"Pickup_PK_INS_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};
};
};
// Performance 1
class Pickup_PK_GUE_DZE1: Pickup_PK_GUE_DZE {
maxspeed = 150; // max engine limit 125-130
terrainCoef = 1.8;
class Upgrades {
ItemAVE[] = {"Pickup_PK_GUE_DZE1",{},{{"ItemAVE",1},{"PartGeneric",4},{"ItemTankTrap",2}}};
};
};
class Pickup_PK_TK_GUE_EP1_DZE1: Pickup_PK_TK_GUE_EP1_DZE {
maxspeed = 150; // max engine limit 125-130
terrainCoef = 1.8;
class Upgrades {
ItemAVE[] = {"Pickup_PK_TK_GUE_EP1_DZE2",{},{{"ItemAVE",1},{"PartGeneric",4},{"ItemTankTrap",2}}};
};
};
class Pickup_PK_INS_DZE1: Pickup_PK_INS_DZE {
maxspeed = 150; // max engine limit 125-130
terrainCoef = 1.8;
class Upgrades {
ItemAVE[] = {"Pickup_PK_INS_DZE2",{},{{"ItemAVE",1},{"PartGeneric",4},{"ItemTankTrap",2}}};
};
};
// Armor 2
class Pickup_PK_GUE_DZE2: Pickup_PK_GUE_DZE1 {
armor = 50; // car 20
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
};
class HitLBWheel: HitLBWheel {
armor = 0.3;
};
class HitRFWheel: HitRFWheel {
armor = 0.3;
};
class HitRBWheel: HitRBWheel {
armor = 0.3;
};
class HitFuel {
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine {
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1 {
armor = 0.1;
};
class HitGlass2: HitGlass2 {
armor = 0.1;
};
class HitGlass3: HitGlass3 {
armor = 0.1;
};
class HitGlass4: HitGlass4 {
armor = 0.1;
};
};
class Upgrades {
ItemLRK[] = {"Pickup_PK_GUE_DZE3",{},{{"ItemLRK",1},{"PartGeneric",2},{"ItemTent",1}}};
};
};
class Pickup_PK_TK_GUE_EP1_DZE2: Pickup_PK_TK_GUE_EP1_DZE1 {
armor = 50; // car 20
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
};
class HitLBWheel: HitLBWheel {
armor = 0.3;
};
class HitRFWheel: HitRFWheel {
armor = 0.3;
};
class HitRBWheel: HitRBWheel {
armor = 0.3;
};
class HitFuel {
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine {
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1 {
armor = 0.1;
};
class HitGlass2: HitGlass2 {
armor = 0.1;
};
class HitGlass3: HitGlass3 {
armor = 0.1;
};
class HitGlass4: HitGlass4 {
armor = 0.1;
};
};
class Upgrades {
ItemLRK[] = {"Pickup_PK_TK_GUE_EP1_DZE3",{},{{"ItemLRK",1},{"PartGeneric",2},{"ItemTent",1}}};
};
};
class Pickup_PK_INS_DZE2: Pickup_PK_INS_DZE1 {
armor = 50; // car 20
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
};
class HitLBWheel: HitLBWheel {
armor = 0.3;
};
class HitRFWheel: HitRFWheel {
armor = 0.3;
};
class HitRBWheel: HitRBWheel {
armor = 0.3;
};
class HitFuel {
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine {
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1 {
armor = 0.1;
};
class HitGlass2: HitGlass2 {
armor = 0.1;
};
class HitGlass3: HitGlass3 {
armor = 0.1;
};
class HitGlass4: HitGlass4 {
armor = 0.1;
};
};
class Upgrades {
ItemLRK[] = {"Pickup_PK_INS_DZE3",{},{{"ItemLRK",1},{"PartGeneric",2},{"ItemTent",1}}};
};
};
// Cargo 3
class Pickup_PK_GUE_DZE3: Pickup_PK_GUE_DZE2 {
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
class Upgrades {
ItemTNK[] = {"Pickup_PK_GUE_DZE4",{},{{"ItemTNK",1},{"PartFueltank",2}}};
};
};
class Pickup_PK_TK_GUE_EP1_DZE3: Pickup_PK_TK_GUE_EP1_DZE2 {
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
class Upgrades {
ItemTNK[] = {"Pickup_PK_TK_GUE_EP1_DZE4",{},{{"ItemTNK",1},{"PartFueltank",2}}};
};
};
class Pickup_PK_INS_DZE3: Pickup_PK_INS_DZE2 {
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
class Upgrades {
ItemTNK[] = {"Pickup_PK_INS_DZE4",{},{{"ItemTNK",1},{"PartFueltank",2}}};
};
};
// Fuel 4
class Pickup_PK_GUE_DZE4: Pickup_PK_GUE_DZE3 {
fuelCapacity = 210; // car 100
};
class Pickup_PK_TK_GUE_EP1_DZE4: Pickup_PK_TK_GUE_EP1_DZE3 {
fuelCapacity = 210; // car 100
};
class Pickup_PK_INS_DZE4: Pickup_PK_INS_DZE3 {
fuelCapacity = 210; // car 100
};

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,33 +1,27 @@
class UAZ_Unarmed_Base : UAZ_Base
{
class HitPoints : HitPoints
{
class HitGlass1
{
class UAZ_Unarmed_Base : UAZ_Base {
class HitPoints : HitPoints {
class HitGlass1 {
armor = 0.05;
material = -1;
name = "glass1";
visual = "glass1";
passThrough = 0;
};
class HitGlass2
{
class HitGlass2 {
armor = 0.05;
material = -1;
name = "glass2";
visual = "glass2";
passThrough = 0;
};
class HitGlass3
{
class HitGlass3 {
armor = 0.05;
material = -1;
name = "glass3";
visual = "glass3";
passThrough = 0;
};
class HitGlass4
{
class HitGlass4 {
armor = 0.05;
material = -1;
name = "glass4";
@@ -58,11 +52,9 @@ class UAZ_Unarmed_Base : UAZ_Base
0,
0
};
class Turrets
{
class Turrets {
};
class Damage
{
class Damage {
tex[] = {
};
mat[] = {
@@ -88,8 +80,7 @@ class UAZ_Unarmed_Base : UAZ_Base
};
};
class UAZ_CDF: UAZ_Unarmed_Base
{
class UAZ_CDF: UAZ_Unarmed_Base {
scope = 2;
side = 1;
faction = "CDF";
@@ -97,10 +88,12 @@ class UAZ_CDF: UAZ_Unarmed_Base
crew = "";
typicalCargo[] = {};
hiddenSelectionsTextures[] = {"\ca\wheeled\data\Uaz_main_002_CO.paa"};
upgradeVehicle[] = {"UAZ_CDF_DZE1",{{"ItemORP",1},{"PartEngine",2}}};
class Upgrades {
ItemORP[] = {"UAZ_CDF_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};
};
};
class UAZ_INS: UAZ_Unarmed_Base
{
class UAZ_INS: UAZ_Unarmed_Base {
scope = 2;
side = 0;
faction = "INS";
@@ -108,20 +101,24 @@ class UAZ_INS: UAZ_Unarmed_Base
crew = "";
typicalCargo[] = {};
hiddenSelectionsTextures[] = {"\ca\wheeled\data\Uaz_main_001_CO.paa"};
upgradeVehicle[] = {"UAZ_INS_DZE1",{{"ItemORP",1},{"PartEngine",2}}};
class Upgrades {
ItemORP[] = {"UAZ_INS_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};
};
};
class UAZ_RU: UAZ_Unarmed_Base
{
class UAZ_RU: UAZ_Unarmed_Base {
scope = 2;
side = 0;
faction = "RU";
crew = "";
typicalCargo[] = {};
hiddenSelectionsTextures[] = {"\ca\wheeled\data\Uaz_main_CO.paa"};
upgradeVehicle[] = {"UAZ_RU_DZE1",{{"ItemORP",1},{"PartEngine",2}}};
class Upgrades {
ItemORP[] = {"UAZ_RU_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};
};
};
class UAZ_Unarmed_TK_EP1: UAZ_Unarmed_Base
{
class UAZ_Unarmed_TK_EP1: UAZ_Unarmed_Base {
expansion = 1;
scope = 2;
side = 0;
@@ -132,10 +129,12 @@ class UAZ_Unarmed_TK_EP1: UAZ_Unarmed_Base
hiddenSelectionsTextures[] = {"\CA\wheeled_E\UAZ\Data\Uaz_main_IND_CO.paa"};
class TransportMagazines {};
class TransportWeapons {};
upgradeVehicle[] = {"UAZ_Unarmed_TK_EP1_DZE1",{{"ItemORP",1},{"PartEngine",2}}};
class Upgrades {
ItemORP[] = {"UAZ_Unarmed_TK_EP1_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};
};
};
class UAZ_Unarmed_UN_EP1: UAZ_Unarmed_Base
{
class UAZ_Unarmed_UN_EP1: UAZ_Unarmed_Base {
expansion = 1;
scope = 2;
side = 2;
@@ -146,10 +145,12 @@ class UAZ_Unarmed_UN_EP1: UAZ_Unarmed_Base
hiddenSelectionsTextures[] = {"\CA\wheeled_E\UAZ\Data\Uaz_main_UN_CO.paa"};
class TransportMagazines {};
class TransportWeapons {};
upgradeVehicle[] = {"UAZ_Unarmed_UN_EP1_DZE1",{{"ItemORP",1},{"PartEngine",2}}};
class Upgrades {
ItemORP[] = {"UAZ_Unarmed_UN_EP1_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};
};
};
class UAZ_Unarmed_TK_CIV_EP1: UAZ_Unarmed_Base
{
class UAZ_Unarmed_TK_CIV_EP1: UAZ_Unarmed_Base {
expansion = 1;
scope = 2;
side = 3;
@@ -160,464 +161,418 @@ class UAZ_Unarmed_TK_CIV_EP1: UAZ_Unarmed_Base
hiddenSelectionsTextures[] = {"\CA\wheeled_E\UAZ\Data\Uaz_main_CIVIL_CO.paa"};
class TransportMagazines {};
class TransportWeapons {};
upgradeVehicle[] = {"UAZ_Unarmed_TK_CIV_EP1_DZE1",{{"ItemORP",1},{"PartEngine",2}}};
};
class Upgrades {
ItemORP[] = {"UAZ_Unarmed_TK_CIV_EP1_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};
};
};
// Performance 1
class UAZ_CDF_DZE1: UAZ_CDF
{
class UAZ_CDF_DZE1: UAZ_CDF {
maxspeed = 150; // max engine limit 125-130
terrainCoef = 2.5;
upgradeVehicle[] = {"UAZ_CDF_DZE2",{{"ItemAVE",1},{"PartGeneric",1},{"ItemTankTrap",1}}};
};
class UAZ_INS_DZE1: UAZ_INS
{
maxspeed = 150; // car 100
terrainCoef = 2.5;
upgradeVehicle[] = {"UAZ_INS_DZE2",{{"ItemAVE",1},{"PartGeneric",1},{"ItemTankTrap",1}}};
};
class UAZ_RU_DZE1: UAZ_RU
{
maxspeed = 150; // car 100
terrainCoef = 2.5;
upgradeVehicle[] = {"UAZ_RU_DZE2",{{"ItemAVE",1},{"PartGeneric",1},{"ItemTankTrap",1}}};
};
class UAZ_Unarmed_TK_EP1_DZE1: UAZ_Unarmed_TK_EP1
{
class Upgrades {
ItemAVE[] = {"UAZ_CDF_DZE2",{},{{"ItemAVE",1},{"PartGeneric",4},{"ItemTankTrap",2}}};
};
};
class UAZ_INS_DZE1: UAZ_INS {
maxspeed = 150; // car 100
terrainCoef = 2.5;
class Upgrades {
ItemAVE[] = {"UAZ_INS_DZE2",{},{{"ItemAVE",1},{"PartGeneric",4},{"ItemTankTrap",2}}};
};
};
class UAZ_RU_DZE1: UAZ_RU {
maxspeed = 150; // car 100
terrainCoef = 2.5;
class Upgrades {
ItemAVE[] = {"UAZ_RU_DZE2",{},{{"ItemAVE",1},{"PartGeneric",4},{"ItemTankTrap",2}}};
};
};
class UAZ_Unarmed_TK_EP1_DZE1: UAZ_Unarmed_TK_EP1 {
maxspeed = 150; // max engine limit 125-130
terrainCoef = 2.5;
upgradeVehicle[] = {"UAZ_Unarmed_TK_EP1_DZE2",{{"ItemAVE",1},{"PartGeneric",1},{"ItemTankTrap",1}}};
class Upgrades {
ItemAVE[] = {"UAZ_Unarmed_TK_EP1_DZE2",{},{{"ItemAVE",1},{"PartGeneric",4},{"ItemTankTrap",2}}};
};
};
class UAZ_Unarmed_UN_EP1_DZE1: UAZ_Unarmed_UN_EP1
{
class UAZ_Unarmed_UN_EP1_DZE1: UAZ_Unarmed_UN_EP1 {
maxspeed = 150; // car 100
terrainCoef = 2.5;
upgradeVehicle[] = {"UAZ_Unarmed_UN_EP1_DZE2",{{"ItemAVE",1},{"PartGeneric",1},{"ItemTankTrap",1}}};
class Upgrades {
ItemAVE[] = {"UAZ_Unarmed_UN_EP1_DZE2",{},{{"ItemAVE",1},{"PartGeneric",4},{"ItemTankTrap",2}}};
};
};
class UAZ_Unarmed_TK_CIV_EP1_DZE1: UAZ_Unarmed_TK_CIV_EP1
{
class UAZ_Unarmed_TK_CIV_EP1_DZE1: UAZ_Unarmed_TK_CIV_EP1 {
maxspeed = 150; // car 100
terrainCoef = 2.5;
upgradeVehicle[] = {"UAZ_Unarmed_TK_CIV_EP1_DZE2",{{"ItemAVE",1},{"PartGeneric",1},{"ItemTankTrap",1}}};
class Upgrades {
ItemAVE[] = {"UAZ_Unarmed_TK_CIV_EP1_DZE2",{},{{"ItemAVE",1},{"PartGeneric",4},{"ItemTankTrap",2}}};
};
};
// Armor 2
class UAZ_CDF_DZE2: UAZ_CDF_DZE1
{
class UAZ_CDF_DZE2: UAZ_CDF_DZE1 {
armor = 50; // car 20
upgradeVehicle[] = {"UAZ_CDF_DZE3",{{"ItemLRK",1},{"ItemTent",1}}};
class HitPoints: HitPoints
{
class HitLFWheel: HitLFWheel
{
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
};
class HitLBWheel: HitLBWheel
{
class HitLBWheel: HitLBWheel {
armor = 0.3;
};
class HitRFWheel: HitRFWheel
{
class HitRFWheel: HitRFWheel {
armor = 0.3;
};
class HitRBWheel: HitRBWheel
{
class HitRBWheel: HitRBWheel {
armor = 0.3;
};
class HitFuel
{
class HitFuel {
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine
{
class HitEngine {
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1
{
class HitGlass1: HitGlass1 {
armor = 0.1;
};
class HitGlass2: HitGlass2
{
class HitGlass2: HitGlass2 {
armor = 0.1;
};
class HitGlass3: HitGlass3
{
class HitGlass3: HitGlass3 {
armor = 0.1;
};
class HitGlass4: HitGlass4
{
class HitGlass4: HitGlass4 {
armor = 0.1;
};
};
};
class UAZ_INS_DZE2: UAZ_INS_DZE1
{
armor = 50; // car 20
upgradeVehicle[] = {"UAZ_INS_DZE3",{{"ItemLRK",1},{"ItemTent",1}}};
class HitPoints: HitPoints
{
class HitLFWheel: HitLFWheel
{
armor = 0.3;
};
class HitLBWheel: HitLBWheel
{
armor = 0.3;
};
class HitRFWheel: HitRFWheel
{
armor = 0.3;
};
class HitRBWheel: HitRBWheel
{
armor = 0.3;
};
class HitFuel
{
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine
{
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1
{
armor = 0.1;
};
class HitGlass2: HitGlass2
{
armor = 0.1;
};
class HitGlass3: HitGlass3
{
armor = 0.1;
};
class HitGlass4: HitGlass4
{
armor = 0.1;
};
};
};
class UAZ_RU_DZE2: UAZ_RU_DZE1
{
armor = 50; // car 20
upgradeVehicle[] = {"UAZ_RU_DZE3",{{"ItemLRK",1},{"ItemTent",1}}};
class HitPoints: HitPoints
{
class HitLFWheel: HitLFWheel
{
armor = 0.3;
};
class HitLBWheel: HitLBWheel
{
armor = 0.3;
};
class HitRFWheel: HitRFWheel
{
armor = 0.3;
};
class HitRBWheel: HitRBWheel
{
armor = 0.3;
};
class HitFuel
{
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine
{
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1
{
armor = 0.1;
};
class HitGlass2: HitGlass2
{
armor = 0.1;
};
class HitGlass3: HitGlass3
{
armor = 0.1;
};
class HitGlass4: HitGlass4
{
armor = 0.1;
};
};
};
class UAZ_Unarmed_TK_EP1_DZE2: UAZ_Unarmed_TK_EP1_DZE1
{
class Upgrades {
ItemLRK[] = {"UAZ_CDF_DZE3",{},{{"ItemLRK",1},{"PartGeneric",1},{"ItemTent",1}}};
};
};
class UAZ_INS_DZE2: UAZ_INS_DZE1 {
armor = 50; // car 20
upgradeVehicle[] = {"UAZ_Unarmed_TK_EP1_DZE3",{{"ItemLRK",1},{"ItemTent",1}}};
class HitPoints: HitPoints
{
class HitLFWheel: HitLFWheel
{
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
};
class HitLBWheel: HitLBWheel
{
class HitLBWheel: HitLBWheel {
armor = 0.3;
};
class HitRFWheel: HitRFWheel
{
class HitRFWheel: HitRFWheel {
armor = 0.3;
};
class HitRBWheel: HitRBWheel
{
class HitRBWheel: HitRBWheel {
armor = 0.3;
};
class HitFuel
{
class HitFuel {
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine
{
class HitEngine {
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1
{
class HitGlass1: HitGlass1 {
armor = 0.1;
};
class HitGlass2: HitGlass2
{
class HitGlass2: HitGlass2 {
armor = 0.1;
};
class HitGlass3: HitGlass3
{
class HitGlass3: HitGlass3 {
armor = 0.1;
};
class HitGlass4: HitGlass4
{
class HitGlass4: HitGlass4 {
armor = 0.1;
};
};
};
class UAZ_Unarmed_UN_EP1_DZE2: UAZ_Unarmed_UN_EP1_DZE1
{
armor = 50; // car 20
upgradeVehicle[] = {"UAZ_Unarmed_UN_EP1_DZE3",{{"ItemLRK",1},{"ItemTent",1}}};
class HitPoints: HitPoints
{
class HitLFWheel: HitLFWheel
{
armor = 0.3;
};
class HitLBWheel: HitLBWheel
{
armor = 0.3;
};
class HitRFWheel: HitRFWheel
{
armor = 0.3;
};
class HitRBWheel: HitRBWheel
{
armor = 0.3;
};
class HitFuel
{
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine
{
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1
{
armor = 0.1;
};
class HitGlass2: HitGlass2
{
armor = 0.1;
};
class HitGlass3: HitGlass3
{
armor = 0.1;
};
class HitGlass4: HitGlass4
{
armor = 0.1;
};
};
};
class UAZ_Unarmed_TK_CIV_EP1_DZE2: UAZ_Unarmed_TK_CIV_EP1_DZE1
{
armor = 50; // car 20
upgradeVehicle[] = {"UAZ_Unarmed_TK_CIV_EP1_DZE3",{{"ItemLRK",1},{"ItemTent",1}}};
class HitPoints: HitPoints
{
class HitLFWheel: HitLFWheel
{
armor = 0.3;
};
class HitLBWheel: HitLBWheel
{
armor = 0.3;
};
class HitRFWheel: HitRFWheel
{
armor = 0.3;
};
class HitRBWheel: HitRBWheel
{
armor = 0.3;
};
class HitFuel
{
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine
{
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1
{
armor = 0.1;
};
class HitGlass2: HitGlass2
{
armor = 0.1;
};
class HitGlass3: HitGlass3
{
armor = 0.1;
};
class HitGlass4: HitGlass4
{
armor = 0.1;
};
};
};
class Upgrades {
ItemLRK[] = {"UAZ_INS_DZE3",{},{{"ItemLRK",1},{"PartGeneric",1},{"ItemTent",1}}};
};
};
class UAZ_RU_DZE2: UAZ_RU_DZE1 {
armor = 50; // car 20
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
};
class HitLBWheel: HitLBWheel {
armor = 0.3;
};
class HitRFWheel: HitRFWheel {
armor = 0.3;
};
class HitRBWheel: HitRBWheel {
armor = 0.3;
};
class HitFuel {
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine {
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1 {
armor = 0.1;
};
class HitGlass2: HitGlass2 {
armor = 0.1;
};
class HitGlass3: HitGlass3 {
armor = 0.1;
};
class HitGlass4: HitGlass4 {
armor = 0.1;
};
};
class Upgrades {
ItemLRK[] = {"UAZ_RU_DZE3",{},{{"ItemLRK",1},{"PartGeneric",1},{"ItemTent",1}}};
};
};
class UAZ_Unarmed_TK_EP1_DZE2: UAZ_Unarmed_TK_EP1_DZE1 {
armor = 50; // car 20
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
};
class HitLBWheel: HitLBWheel {
armor = 0.3;
};
class HitRFWheel: HitRFWheel {
armor = 0.3;
};
class HitRBWheel: HitRBWheel {
armor = 0.3;
};
class HitFuel {
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine {
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1 {
armor = 0.1;
};
class HitGlass2: HitGlass2 {
armor = 0.1;
};
class HitGlass3: HitGlass3 {
armor = 0.1;
};
class HitGlass4: HitGlass4 {
armor = 0.1;
};
};
class Upgrades {
ItemLRK[] = {"UAZ_Unarmed_TK_EP1_DZE3",{},{{"ItemLRK",1},{"PartGeneric",1},{"ItemTent",1}}};
};
};
class UAZ_Unarmed_UN_EP1_DZE2: UAZ_Unarmed_UN_EP1_DZE1 {
armor = 50; // car 20
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
};
class HitLBWheel: HitLBWheel {
armor = 0.3;
};
class HitRFWheel: HitRFWheel {
armor = 0.3;
};
class HitRBWheel: HitRBWheel {
armor = 0.3;
};
class HitFuel {
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine {
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1 {
armor = 0.1;
};
class HitGlass2: HitGlass2 {
armor = 0.1;
};
class HitGlass3: HitGlass3 {
armor = 0.1;
};
class HitGlass4: HitGlass4 {
armor = 0.1;
};
};
class Upgrades {
ItemLRK[] = {"UAZ_Unarmed_UN_EP1_DZE3",{},{{"ItemLRK",1},{"PartGeneric",1},{"ItemTent",1}}};
};
};
class UAZ_Unarmed_TK_CIV_EP1_DZE2: UAZ_Unarmed_TK_CIV_EP1_DZE1 {
armor = 50; // car 20
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
};
class HitLBWheel: HitLBWheel {
armor = 0.3;
};
class HitRFWheel: HitRFWheel {
armor = 0.3;
};
class HitRBWheel: HitRBWheel {
armor = 0.3;
};
class HitFuel {
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine {
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1 {
armor = 0.1;
};
class HitGlass2: HitGlass2 {
armor = 0.1;
};
class HitGlass3: HitGlass3 {
armor = 0.1;
};
class HitGlass4: HitGlass4 {
armor = 0.1;
};
};
class Upgrades {
ItemLRK[] = {"UAZ_Unarmed_TK_CIV_EP1_DZE3",{},{{"ItemLRK",1},{"PartGeneric",1},{"ItemTent",1}}};
};
};
// Cargo 3
class UAZ_CDF_DZE3: UAZ_CDF_DZE2
{
class UAZ_CDF_DZE3: UAZ_CDF_DZE2 {
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
upgradeVehicle[] = {"UAZ_CDF_DZE4",{{"ItemTNK",1},{"PartFueltank",2}}};
};
class UAZ_INS_DZE3: UAZ_INS_DZE2
{
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
upgradeVehicle[] = {"UAZ_INS_DZE4",{{"ItemTNK",1},{"PartFueltank",2}}};
};
class UAZ_RU_DZE3: UAZ_RU_DZE2
{
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
upgradeVehicle[] = {"UAZ_RU_DZE4",{{"ItemTNK",1},{"PartFueltank",2}}};
};
class UAZ_Unarmed_TK_EP1_DZE3: UAZ_Unarmed_TK_EP1_DZE2
{
class Upgrades {
ItemTNK[] = {"UAZ_CDF_DZE4",{},{{"ItemTNK",1},{"PartFueltank",2}}};
};
};
class UAZ_INS_DZE3: UAZ_INS_DZE2 {
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
upgradeVehicle[] = {"UAZ_Unarmed_TK_EP1_DZE4",{{"ItemTNK",1},{"PartFueltank",2}}};
};
class UAZ_Unarmed_UN_EP1_DZE3: UAZ_Unarmed_UN_EP1_DZE2
{
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
upgradeVehicle[] = {"UAZ_Unarmed_UN_EP1_DZE4",{{"ItemTNK",1},{"PartFueltank",2}}};
};
class UAZ_Unarmed_TK_CIV_EP1_DZE3: UAZ_Unarmed_TK_CIV_EP1_DZE2
{
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
upgradeVehicle[] = {"UAZ_Unarmed_TK_CIV_EP1_DZE4",{{"ItemTNK",1},{"PartFueltank",2}}};
};
class Upgrades {
ItemTNK[] = {"UAZ_INS_DZE4",{},{{"ItemTNK",1},{"PartFueltank",2}}};
};
};
class UAZ_RU_DZE3: UAZ_RU_DZE2 {
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
class Upgrades {
ItemTNK[] = {"UAZ_RU_DZE4",{},{{"ItemTNK",1},{"PartFueltank",2}}};
};
};
class UAZ_Unarmed_TK_EP1_DZE3: UAZ_Unarmed_TK_EP1_DZE2 {
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
class Upgrades {
ItemTNK[] = {"UAZ_Unarmed_TK_EP1_DZE4",{},{{"ItemTNK",1},{"PartFueltank",2}}};
};
};
class UAZ_Unarmed_UN_EP1_DZE3: UAZ_Unarmed_UN_EP1_DZE2 {
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
class Upgrades {
ItemTNK[] = {"UAZ_Unarmed_UN_EP1_DZE4",{},{{"ItemTNK",1},{"PartFueltank",2}}};
};
};
class UAZ_Unarmed_TK_CIV_EP1_DZE3: UAZ_Unarmed_TK_CIV_EP1_DZE2 {
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
class Upgrades {
ItemTNK[] = {"UAZ_Unarmed_TK_CIV_EP1_DZE4",{},{{"ItemTNK",1},{"PartFueltank",2}}};
};
};
// Fuel 4
class UAZ_CDF_DZE4: UAZ_CDF_DZE3
{
class UAZ_CDF_DZE4: UAZ_CDF_DZE3 {
fuelCapacity = 210; // car 100
};
class UAZ_INS_DZE4: UAZ_INS_DZE3
{
class UAZ_INS_DZE4: UAZ_INS_DZE3 {
fuelCapacity = 210; // car 100
};
class UAZ_RU_DZE4: UAZ_RU_DZE3
{
class UAZ_RU_DZE4: UAZ_RU_DZE3 {
fuelCapacity = 210; // car 100
};
class UAZ_Unarmed_TK_EP1_DZE4: UAZ_Unarmed_TK_EP1_DZE3
{
class UAZ_Unarmed_TK_EP1_DZE4: UAZ_Unarmed_TK_EP1_DZE3 {
fuelCapacity = 210; // car 100
};
class UAZ_Unarmed_UN_EP1_DZE4: UAZ_Unarmed_UN_EP1_DZE3
{
class UAZ_Unarmed_UN_EP1_DZE4: UAZ_Unarmed_UN_EP1_DZE3 {
fuelCapacity = 210; // car 100
};
class UAZ_Unarmed_TK_CIV_EP1_DZE4: UAZ_Unarmed_TK_CIV_EP1_DZE3
{
class UAZ_Unarmed_TK_CIV_EP1_DZE4: UAZ_Unarmed_TK_CIV_EP1_DZE3 {
fuelCapacity = 210; // car 100
};

View File

@@ -1,23 +1,17 @@
class VWGolf : Car
{
class HitPoints : HitPoints
{
class HitLFWheel : HitLFWheel
{
class VWGolf : Car {
class HitPoints : HitPoints {
class HitLFWheel : HitLFWheel {
armor = 0.3;
name = "wheel_1_1_steering";
};
class HitLBWheel : HitLBWheel
{
class HitLBWheel : HitLBWheel {
armor = 0.3;
};
class HitRFWheel : HitRFWheel
{
class HitRFWheel : HitRFWheel {
armor = 0.3;
name = "wheel_2_1_steering";
};
class HitRBWheel : HitRBWheel
{
class HitRBWheel : HitRBWheel {
armor = 0.3;
};
};
@@ -27,8 +21,7 @@ class VWGolf : Car
icon = "\ca\wheeled2\data\UI\Icon_VWGolf_CA.paa";
picture = "\ca\wheeled2\data\UI\Picture_VWGolf_CA.paa";
displayname = "Hatchback";
class Library
{
class Library {
libTextDesc = "The Wolkie is a German-made small family car, sold in US as the Bunny.";
};
side = 3;
@@ -46,8 +39,7 @@ class VWGolf : Car
};
magazines[] = {
};
class Turrets
{
class Turrets {
};
armor = 20;
damageResistance = 0.01511;
@@ -232,10 +224,8 @@ class VWGolf : Car
"ArmorCrash3",
0.25
};
class SoundEvents
{
class AccelerationIn
{
class SoundEvents {
class AccelerationIn {
sound[] = {
"ca\sounds\Vehicles\Wheeled\GOLF\int\int-golf-acce-1",
0.891251,
@@ -244,8 +234,7 @@ class VWGolf : Car
limit = "0.15";
expression = "engineOn*(1-camPos)*2*gmeterZ*((speed factor[1.5, 5]) min (speed factor[5, 1.5]))";
};
class AccelerationOut
{
class AccelerationOut {
sound[] = {
"ca\sounds\Vehicles\Wheeled\GOLF\ext\ext-golf-acce-1",
0.562341,
@@ -256,10 +245,8 @@ class VWGolf : Car
expression = "engineOn*camPos*2*gmeterZ*((speed factor[1.5, 5]) min (speed factor[5, 1.5]))";
};
};
class Sounds
{
class Engine
{
class Sounds {
class Engine {
sound[] = {
"ca\sounds\Vehicles\Wheeled\GOLF\ext\ext-golf-low-1",
0.398107,
@@ -269,8 +256,7 @@ class VWGolf : Car
frequency = "(randomizer*0.05+1.25)*rpm";
volume = "camPos*engineOn*((rpm factor[0.25, 0.4]) min (rpm factor[0.6, 0.45]))";
};
class EngineHighOut
{
class EngineHighOut {
sound[] = {
"ca\sounds\Vehicles\Wheeled\GOLF\ext\ext-golf-high-1",
0.398107,
@@ -280,8 +266,7 @@ class VWGolf : Car
frequency = "(randomizer*0.05+1.1)*rpm";
volume = "camPos*engineOn*(rpm factor[0.5, 0.9])";
};
class IdleOut
{
class IdleOut {
sound[] = {
"ca\sounds\Vehicles\Wheeled\GOLF\ext\ext-golf-idle-1",
0.316228,
@@ -291,8 +276,7 @@ class VWGolf : Car
frequency = "1";
volume = "engineOn*camPos*(rpm factor[0.4, 0])";
};
class TiresRockOut
{
class TiresRockOut {
sound[] = {
"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-rock2",
0.0562341,
@@ -302,8 +286,7 @@ class VWGolf : Car
frequency = "1";
volume = "camPos*rock*(speed factor[4, 20])";
};
class TiresSandOut
{
class TiresSandOut {
sound[] = {
"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-sand2",
0.0562341,
@@ -313,8 +296,7 @@ class VWGolf : Car
frequency = "1";
volume = "camPos*sand*(speed factor[4, 20])";
};
class TiresGrassOut
{
class TiresGrassOut {
sound[] = {
"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-grass3",
0.0562341,
@@ -324,8 +306,7 @@ class VWGolf : Car
frequency = "1";
volume = "camPos*grass*(speed factor[4, 20])";
};
class TiresMudOut
{
class TiresMudOut {
sound[] = {
"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-mud2",
0.0562341,
@@ -335,8 +316,7 @@ class VWGolf : Car
frequency = "1";
volume = "camPos*mud*(speed factor[4, 20])";
};
class TiresGravelOut
{
class TiresGravelOut {
sound[] = {
"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-gravel2",
0.0562341,
@@ -346,8 +326,7 @@ class VWGolf : Car
frequency = "1";
volume = "camPos*gravel*(speed factor[4, 20])";
};
class TiresAsphaltOut
{
class TiresAsphaltOut {
sound[] = {
"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-asphalt3",
0.0562341,
@@ -357,8 +336,7 @@ class VWGolf : Car
frequency = "1";
volume = "camPos*asphalt*(speed factor[4, 20])";
};
class NoiseOut
{
class NoiseOut {
sound[] = {
"ca\sounds\Vehicles\Wheeled\Noises\ext\noise2",
0.0562341,
@@ -368,8 +346,7 @@ class VWGolf : Car
frequency = "1";
volume = "camPos*(damper0 max 0.036)*(speed factor[0, 8])";
};
class EngineLowIn
{
class EngineLowIn {
sound[] = {
"ca\sounds\Vehicles\Wheeled\GOLF\int\int-golf-low-1",
0.707946,
@@ -378,8 +355,7 @@ class VWGolf : Car
frequency = "(randomizer*0.05+1.3)*rpm";
volume = "(1-camPos)*engineOn*((rpm factor[0.3, 0.5]) min (rpm factor[0.7, 0.52]))";
};
class EngineHighIn
{
class EngineHighIn {
sound[] = {
"ca\sounds\Vehicles\Wheeled\GOLF\int\int-golf-high-1",
0.707946,
@@ -388,8 +364,7 @@ class VWGolf : Car
frequency = "(randomizer*0.05+1.2)*rpm";
volume = "(1-camPos)*engineOn*(rpm factor[0.6, 1.0])";
};
class IdleIn
{
class IdleIn {
sound[] = {
"ca\sounds\Vehicles\Wheeled\GOLF\int\int-golf-idle-1",
0.562341,
@@ -398,8 +373,7 @@ class VWGolf : Car
frequency = "1";
volume = "(1-camPos)*engineOn*(rpm factor[0.4, 0])";
};
class TiresRockIn
{
class TiresRockIn {
sound[] = {
"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-rock2",
0.0707946,
@@ -408,8 +382,7 @@ class VWGolf : Car
frequency = "1";
volume = "(1-camPos)*rock*(speed factor[2, 20])";
};
class TiresSandIn
{
class TiresSandIn {
sound[] = {
"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-sand2",
0.0707946,
@@ -418,8 +391,7 @@ class VWGolf : Car
frequency = "1";
volume = "(1-camPos)*sand*(speed factor[2, 20])";
};
class TiresGrassIn
{
class TiresGrassIn {
sound[] = {
"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-grass3",
0.0707946,
@@ -428,8 +400,7 @@ class VWGolf : Car
frequency = "1";
volume = "(1-camPos)*grass*(speed factor[2, 20])";
};
class TiresMudIn
{
class TiresMudIn {
sound[] = {
"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-mud2",
0.0707946,
@@ -438,8 +409,7 @@ class VWGolf : Car
frequency = "1";
volume = "(1-camPos)*mud*(speed factor[2, 20])";
};
class TiresGravelIn
{
class TiresGravelIn {
sound[] = {
"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-gravel2",
0.0707946,
@@ -448,8 +418,7 @@ class VWGolf : Car
frequency = "1";
volume = "(1-camPos)*gravel*(speed factor[2, 20])";
};
class TiresAsphaltIn
{
class TiresAsphaltIn {
sound[] = {
"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-asphalt3",
0.0562341,
@@ -458,8 +427,7 @@ class VWGolf : Car
frequency = "1";
volume = "(1-camPos)*asphalt*(speed factor[2, 20])";
};
class NoiseIn
{
class NoiseIn {
sound[] = {
"ca\sounds\Vehicles\Wheeled\Noises\int\int-noise2",
0.1,
@@ -468,15 +436,13 @@ class VWGolf : Car
frequency = "1";
volume = "(damper0 max 0.03)*(speed factor[0, 8])*(1-camPos)";
};
class Movement
{
class Movement {
sound = "soundEnviron";
frequency = "1";
volume = "0";
};
};
class Damage
{
class Damage {
tex[] = {
};
mat[] = {
@@ -520,84 +486,83 @@ class VWGolf : Car
dammageFull[] = {
};
rarityUrban = 0.9;
upgradeVehicle[] = {"VWGolf_DZE1",{{"ItemORP",1},{"PartEngine",2}}};
class Upgrades {
ItemORP[] = {"VWGolf_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};
};
};
// Performance 1
class VWGolf_DZE1: VWGolf
{
class VWGolf_DZE1: VWGolf {
maxspeed = 150; // max engine limit 125-130
terrainCoef = 2.5;
upgradeVehicle[] = {"VWGolf_DZE2",{{"ItemAVE",1},{"PartGeneric",1},{"ItemTankTrap",1}}};
};
// Armor 2
class VWGolf_DZE2: VWGolf_DZE1
{
armor = 50; // car 20
upgradeVehicle[] = {"VWGolf_DZE3",{{"ItemLRK",1},{"ItemTent",1}}};
class HitPoints: HitPoints
{
class HitLFWheel: HitLFWheel
{
class Upgrades {
ItemAVE[] = {"VWGolf_DZE2",{},{{"ItemAVE",1},{"PartGeneric",4},{"ItemTankTrap",2}}};
};
};
// Armor 2
class VWGolf_DZE2: VWGolf_DZE1 {
armor = 50; // car 20
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
};
class HitLBWheel: HitLBWheel
{
class HitLBWheel: HitLBWheel {
armor = 0.3;
};
class HitRFWheel: HitRFWheel
{
class HitRFWheel: HitRFWheel {
armor = 0.3;
};
class HitRBWheel: HitRBWheel
{
class HitRBWheel: HitRBWheel {
armor = 0.3;
};
class HitFuel
{
class HitFuel {
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine
{
class HitEngine {
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1
{
class HitGlass1: HitGlass1 {
armor = 0.1;
};
class HitGlass2: HitGlass2
{
class HitGlass2: HitGlass2 {
armor = 0.1;
};
class HitGlass3: HitGlass3
{
class HitGlass3: HitGlass3 {
armor = 0.1;
};
class HitGlass4: HitGlass4
{
class HitGlass4: HitGlass4 {
armor = 0.1;
};
};
class Upgrades {
ItemLRK[] = {"VWGolf_DZE3",{},{{"ItemLRK",1},{"PartGeneric",1},{"ItemTent",1}}};
};
};
// Cargo 3
class VWGolf_DZE3: VWGolf_DZE2
{
class VWGolf_DZE3: VWGolf_DZE2 {
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
upgradeVehicle[] = {"VWGolf_DZE4",{{"ItemTNK",1},{"PartFueltank",2}}};
class Upgrades {
ItemTNK[] = {"VWGolf_DZE4",{},{{"ItemTNK",1},{"PartFueltank",2}}};
};
};
// Fuel 4
class VWGolf_DZE4: VWGolf_DZE3
{
class VWGolf_DZE4: VWGolf_DZE3 {
fuelCapacity = 210; // car 100
};

View File

@@ -1,5 +1,4 @@
class Volha_TK_CIV_Base_EP1: Car
{
class Volha_TK_CIV_Base_EP1: Car {
brakeDistance = 12;
htMin = 60;
htMax = 1800;
@@ -28,59 +27,47 @@ class Volha_TK_CIV_Base_EP1: Car
driverAction = "Volha_Driver_EP1";
cargoAction[] = {"Volha_Cargo_EP1","Volha_Cargo02_EP1","Volha_Cargo01_EP1"};
cargoIsCoDriver[] = {1,0};
class Damage
{
class Damage {
tex[] = {};
mat[] = {"Ca\wheeled_E\Volha\Data\Volha_ECIV.rvmat","Ca\wheeled_E\Volha\Data\Volha_ECIV_damage.rvmat","Ca\wheeled_E\Volha\Data\Volha_ECIV_destruct.rvmat","Ca\wheeled_E\Volha\Data\Volha_Glass_ECIV.rvmat","Ca\wheeled_E\Volha\Data\Volha_Glass_ECIV_damage.rvmat","Ca\wheeled_E\Volha\Data\Volha_Glass_ECIV_destruct.rvmat","Ca\wheeled_E\Volha\Data\Volha_Chrome_ECIV.rvmat","Ca\wheeled_E\Volha\Data\Volha_Chrome_ECIV_damage.rvmat","Ca\wheeled_E\Volha\Data\Volha_Chrome_ECIV_destruct.rvmat","Ca\Ca_E\data\default.rvmat","Ca\Ca_E\data\default.rvmat","Ca\Ca_E\data\default_destruct.rvmat"};
};
class HitPoints: HitPoints
{
class HitLFWheel: HitLFWheel
{
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.15;
};
class HitLBWheel: HitLBWheel
{
class HitLBWheel: HitLBWheel {
armor = 0.15;
};
class HitRFWheel: HitRFWheel
{
class HitRFWheel: HitRFWheel {
armor = 0.15;
};
class HitRBWheel: HitRBWheel
{
class HitRBWheel: HitRBWheel {
armor = 0.15;
};
class HitFuel
{
class HitFuel {
armor = 0.14;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine
{
class HitEngine {
armor = 0.5;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1
{
class HitGlass1: HitGlass1 {
armor = 0.05;
};
class HitGlass2: HitGlass2
{
class HitGlass2: HitGlass2 {
armor = 0.05;
};
class HitGlass3: HitGlass3
{
class HitGlass3: HitGlass3 {
armor = 0.05;
};
class HitGlass4: HitGlass4
{
class HitGlass4: HitGlass4 {
armor = 0.05;
};
};
@@ -108,404 +95,368 @@ class Volha_TK_CIV_Base_EP1: Car
ArmorCrash2[] = {"Ca\sounds\Vehicles\Crash\tank_vehicle_03",0.707946,1,150};
ArmorCrash3[] = {"Ca\sounds\Vehicles\Crash\tank_vehicle_04",0.707946,1,150};
soundArmorCrash[] = {"ArmorCrash0",0.25,"ArmorCrash1",0.25,"ArmorCrash2",0.25,"ArmorCrash3",0.25};
class SoundEvents
{
class AccelerationIn
{
class SoundEvents {
class AccelerationIn {
sound[] = {"\ca\Sounds_E\Wheeled_E\lada\lada_int_acceleration",0.562341,1};
limit = "0.15";
expression = "engineOn*(1-camPos)*2*gmeterZ*((speed factor[1.5, 5]) min (speed factor[5, 1.5]))";
};
class AccelerationOut
{
class AccelerationOut {
sound[] = {"\ca\Sounds_E\Wheeled_E\lada\lada_ext_acceleration",0.562341,1,300};
limit = "0.15";
expression = "engineOn*camPos*2*gmeterZ*((speed factor[1.5, 5]) min (speed factor[5, 1.5]))";
};
};
class Sounds
{
class Engine
{
class Sounds {
class Engine {
sound[] = {"\ca\Sounds_E\Wheeled_E\lada\lada_ext_low",1.41254,0.6,200};
frequency = "(randomizer*0.05+0.95)*rpm";
volume = "camPos*engineOn*((rpm factor[0.3, 0.4]) min (rpm factor[0.7, 0.5]))";
};
class EngineHighOut
{
class EngineHighOut {
sound[] = {"\ca\Sounds_E\Wheeled_E\lada\lada_ext_mid",1.41254,0.6,300};
frequency = "(randomizer*0.05+0.95)*rpm";
volume = "camPos*engineOn*(rpm factor[0.5, 0.8])";
};
class IdleOut
{
class IdleOut {
sound[] = {"\ca\Sounds_E\Wheeled_E\lada\lada_ext_idle",0.562341,1,100};
frequency = "1";
volume = "engineOn*camPos*(rpm factor[0.4, 0])";
};
class TiresRockOut
{
class TiresRockOut {
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-rock2",0.1,1,50};
frequency = "1";
volume = "camPos*rock*(speed factor[2, 20])";
};
class TiresSandOut
{
class TiresSandOut {
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-sand2",0.1,1,50};
frequency = "1";
volume = "camPos*sand*(speed factor[2, 20])";
};
class TiresGrassOut
{
class TiresGrassOut {
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-grass3",0.1,1,50};
frequency = "1";
volume = "camPos*grass*(speed factor[2, 20])";
};
class TiresMudOut
{
class TiresMudOut {
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-mud2",0.1,1,50};
frequency = "1";
volume = "camPos*mud*(speed factor[2, 20])";
};
class TiresGravelOut
{
class TiresGravelOut {
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-gravel2",0.1,1,50};
frequency = "1";
volume = "camPos*gravel*(speed factor[2, 20])";
};
class TiresAsphaltOut
{
class TiresAsphaltOut {
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-asphalt3",0.1,1,50};
frequency = "1";
volume = "camPos*asphalt*(speed factor[2, 20])";
};
class NoiseOut
{
class NoiseOut {
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Noises\ext\noise3",0.562341,1,50};
frequency = "1";
volume = "camPos*(damper0 max 0.04)*(speed factor[0, 8])";
};
class EngineLowIn
{
class EngineLowIn {
sound[] = {"\ca\Sounds_E\Wheeled_E\lada\lada_int_low",1.41254,0.6};
frequency = "(randomizer*0.05+0.95)*rpm";
volume = "(1-camPos)*engineOn*((rpm factor[0.3, 0.4]) min (rpm factor[0.7, 0.5]))";
};
class EngineHighIn
{
class EngineHighIn {
sound[] = {"\ca\Sounds_E\Wheeled_E\lada\lada_int_mid",1.41254,0.6};
frequency = "(randomizer*0.05+0.95)*rpm";
volume = "(1-camPos)*engineOn*(rpm factor[0.5, 0.8])";
};
class IdleIn
{
class IdleIn {
sound[] = {"\ca\Sounds_E\Wheeled_E\lada\lada_int_idle",0.794328,1};
frequency = "1";
volume = "engineOn*(rpm factor[0.4, 0])*(1-camPos)";
};
class TiresRockIn
{
class TiresRockIn {
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-rock2",0.1,1};
frequency = "1";
volume = "(1-camPos)*rock*(speed factor[2, 20])";
};
class TiresSandIn
{
class TiresSandIn {
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-sand2",0.1,1};
frequency = "1";
volume = "(1-camPos)*sand*(speed factor[2, 20])";
};
class TiresGrassIn
{
class TiresGrassIn {
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-grass3",0.1,1};
frequency = "1";
volume = "(1-camPos)*grass*(speed factor[2, 20])";
};
class TiresMudIn
{
class TiresMudIn {
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-mud2",0.1,1};
frequency = "1";
volume = "(1-camPos)*mud*(speed factor[2, 20])";
};
class TiresGravelIn
{
class TiresGravelIn {
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-gravel2",0.1,1};
frequency = "1";
volume = "(1-camPos)*gravel*(speed factor[2, 20])";
};
class TiresAsphaltIn
{
class TiresAsphaltIn {
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-asphalt3",0.1,1};
frequency = "1";
volume = "(1-camPos)*asphalt*(speed factor[2, 20])";
};
class NoiseIn
{
class NoiseIn {
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Noises\int\noise4",0.316228,1};
frequency = "1";
volume = "(damper0 max 0.04)*(speed factor[0, 8])*(1-camPos)";
};
class Movement
{
class Movement {
sound = "soundEnviron";
frequency = "1";
volume = "0";
};
};
class Library
{
class Library {
libTextDesc = "The Vloha GAZ-24 is a Russia automobile produced since 1968 to 1977. It is still famous for fantastic roadworthiness and durability. Many of this cars have more that 1.000.000 km on their odometer while still functional.";
};
class Turrets
{
class Turrets {
};
};
class Volha_1_TK_CIV_EP1: Volha_TK_CIV_Base_EP1
{
class Volha_1_TK_CIV_EP1: Volha_TK_CIV_Base_EP1 {
scope = 2;
accuracy = 1000;
displayname = "GAZ (blue)";
upgradeVehicle[] = {"Volha_1_TK_CIV_EP1_DZE1",{{"ItemORP",1},{"PartEngine",2}}};
class Upgrades {
ItemORP[] = {"Volha_1_TK_CIV_EP1_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};
};
};
class Volha_2_TK_CIV_EP1: Volha_TK_CIV_Base_EP1
{
class Volha_2_TK_CIV_EP1: Volha_TK_CIV_Base_EP1 {
scope = 2;
accuracy = 1000;
displayname = "GAZ (grey)";
hiddenSelections[] = {"Camo1"};
hiddenSelectionsTextures[] = {"ca\wheeled_E\Volha\Data\Volha_Gray_ECIV_CO"};
upgradeVehicle[] = {"Volha_2_TK_CIV_EP1_DZE1",{{"ItemORP",1},{"PartEngine",2}}};
class Upgrades {
ItemORP[] = {"Volha_2_TK_CIV_EP1_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};
};
};
class VolhaLimo_TK_CIV_EP1: Volha_TK_CIV_Base_EP1
{
class VolhaLimo_TK_CIV_EP1: Volha_TK_CIV_Base_EP1 {
scope = 2;
accuracy = 1000;
displayname = "GAZ Limo";
hiddenSelections[] = {"Camo1"};
hiddenSelectionsTextures[] = {"ca\wheeled_E\Volha\Data\Volha_Black_ECIV_CO"};
upgradeVehicle[] = {"VolhaLimo_TK_CIV_EP1_DZE1",{{"ItemORP",1},{"PartEngine",2}}};
class Upgrades {
ItemORP[] = {"VolhaLimo_TK_CIV_EP1_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};
};
};
// Performance 1
class VolhaLimo_TK_CIV_EP1_DZE1: VolhaLimo_TK_CIV_EP1
{
class VolhaLimo_TK_CIV_EP1_DZE1: VolhaLimo_TK_CIV_EP1 {
maxspeed = 150; // max engine limit 125-130
terrainCoef = 2.5;
upgradeVehicle[] = {"VolhaLimo_TK_CIV_EP1_DZE2",{{"ItemAVE",1},{"PartGeneric",1},{"ItemTankTrap",1}}};
class Upgrades {
ItemAVE[] = {"VolhaLimo_TK_CIV_EP1_DZE2",{},{{"ItemAVE",1},{"PartGeneric",4},{"ItemTankTrap",2}}};
};
};
class Volha_1_TK_CIV_EP1_DZE1: Volha_1_TK_CIV_EP1
{
class Volha_1_TK_CIV_EP1_DZE1: Volha_1_TK_CIV_EP1 {
maxspeed = 150; // car 100
terrainCoef = 2.5;
upgradeVehicle[] = {"Volha_1_TK_CIV_EP1_DZE2",{{"ItemAVE",1},{"PartGeneric",1},{"ItemTankTrap",1}}};
class Upgrades {
ItemAVE[] = {"Volha_1_TK_CIV_EP1_DZE2",{},{{"ItemAVE",1},{"PartGeneric",4},{"ItemTankTrap",2}}};
};
};
class Volha_2_TK_CIV_EP1_DZE1: Volha_2_TK_CIV_EP1
{
class Volha_2_TK_CIV_EP1_DZE1: Volha_2_TK_CIV_EP1 {
maxspeed = 150; // car 100
terrainCoef = 2.5;
upgradeVehicle[] = {"Volha_2_TK_CIV_EP1_DZE2",{{"ItemAVE",1},{"PartGeneric",1},{"ItemTankTrap",1}}};
class Upgrades {
ItemAVE[] = {"Volha_2_TK_CIV_EP1_DZE2",{},{{"ItemAVE",1},{"PartGeneric",4},{"ItemTankTrap",2}}};
};
};
// Armor 2
class VolhaLimo_TK_CIV_EP1_DZE2: VolhaLimo_TK_CIV_EP1_DZE1
{
class VolhaLimo_TK_CIV_EP1_DZE2: VolhaLimo_TK_CIV_EP1_DZE1 {
armor = 50; // car 20
upgradeVehicle[] = {"VolhaLimo_TK_CIV_EP1_DZE3",{{"ItemLRK",1},{"ItemTent",1}}};
class HitPoints: HitPoints
{
class HitLFWheel: HitLFWheel
{
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
};
class HitLBWheel: HitLBWheel
{
class HitLBWheel: HitLBWheel {
armor = 0.3;
};
class HitRFWheel: HitRFWheel
{
class HitRFWheel: HitRFWheel {
armor = 0.3;
};
class HitRBWheel: HitRBWheel
{
class HitRBWheel: HitRBWheel {
armor = 0.3;
};
class HitFuel
{
class HitFuel {
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine
{
class HitEngine {
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1
{
class HitGlass1: HitGlass1 {
armor = 0.1;
};
class HitGlass2: HitGlass2
{
class HitGlass2: HitGlass2 {
armor = 0.1;
};
class HitGlass3: HitGlass3
{
class HitGlass3: HitGlass3 {
armor = 0.1;
};
class HitGlass4: HitGlass4
{
class HitGlass4: HitGlass4 {
armor = 0.1;
};
};
class Upgrades {
ItemLRK[] = {"VolhaLimo_TK_CIV_EP1_DZE3",{},{{"ItemLRK",1},{"PartGeneric",1},{"ItemTent",1}}};
};
};
class Volha_1_TK_CIV_EP1_DZE2: Volha_1_TK_CIV_EP1_DZE1
{
class Volha_1_TK_CIV_EP1_DZE2: Volha_1_TK_CIV_EP1_DZE1 {
armor = 50; // car 20
upgradeVehicle[] = {"Volha_1_TK_CIV_EP1_DZE3",{{"ItemLRK",1},{"ItemTent",1}}};
class HitPoints: HitPoints
{
class HitLFWheel: HitLFWheel
{
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
};
class HitLBWheel: HitLBWheel
{
class HitLBWheel: HitLBWheel {
armor = 0.3;
};
class HitRFWheel: HitRFWheel
{
class HitRFWheel: HitRFWheel {
armor = 0.3;
};
class HitRBWheel: HitRBWheel
{
class HitRBWheel: HitRBWheel {
armor = 0.3;
};
class HitFuel
{
class HitFuel {
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine
{
class HitEngine {
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1
{
class HitGlass1: HitGlass1 {
armor = 0.1;
};
class HitGlass2: HitGlass2
{
class HitGlass2: HitGlass2 {
armor = 0.1;
};
class HitGlass3: HitGlass3
{
class HitGlass3: HitGlass3 {
armor = 0.1;
};
class HitGlass4: HitGlass4
{
class HitGlass4: HitGlass4 {
armor = 0.1;
};
};
class Upgrades {
ItemLRK[] = {"Volha_1_TK_CIV_EP1_DZE3",{},{{"ItemLRK",1},{"PartGeneric",1},{"ItemTent",1}}};
};
};
class Volha_2_TK_CIV_EP1_DZE2: Volha_2_TK_CIV_EP1_DZE1
{
class Volha_2_TK_CIV_EP1_DZE2: Volha_2_TK_CIV_EP1_DZE1 {
armor = 50; // car 20
upgradeVehicle[] = {"Volha_2_TK_CIV_EP1_DZE3",{{"ItemLRK",1},{"ItemTent",1}}};
class HitPoints: HitPoints
{
class HitLFWheel: HitLFWheel
{
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
};
class HitLBWheel: HitLBWheel
{
class HitLBWheel: HitLBWheel {
armor = 0.3;
};
class HitRFWheel: HitRFWheel
{
class HitRFWheel: HitRFWheel {
armor = 0.3;
};
class HitRBWheel: HitRBWheel
{
class HitRBWheel: HitRBWheel {
armor = 0.3;
};
class HitFuel
{
class HitFuel {
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine
{
class HitEngine {
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1
{
class HitGlass1: HitGlass1 {
armor = 0.1;
};
class HitGlass2: HitGlass2
{
class HitGlass2: HitGlass2 {
armor = 0.1;
};
class HitGlass3: HitGlass3
{
class HitGlass3: HitGlass3 {
armor = 0.1;
};
class HitGlass4: HitGlass4
{
class HitGlass4: HitGlass4 {
armor = 0.1;
};
};
class Upgrades {
ItemLRK[] = {"Volha_2_TK_CIV_EP1_DZE3",{},{{"ItemLRK",1},{"PartGeneric",1},{"ItemTent",1}}};
};
};
// Cargo 3
class VolhaLimo_TK_CIV_EP1_DZE3: VolhaLimo_TK_CIV_EP1_DZE2
{
class VolhaLimo_TK_CIV_EP1_DZE3: VolhaLimo_TK_CIV_EP1_DZE2 {
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
upgradeVehicle[] = {"VolhaLimo_TK_CIV_EP1_DZE4",{{"ItemTNK",1},{"PartFueltank",2}}};
class Upgrades {
ItemTNK[] = {"VolhaLimo_TK_CIV_EP1_DZE4",{},{{"ItemTNK",1},{"PartFueltank",2}}};
};
};
class Volha_1_TK_CIV_EP1_DZE3: Volha_1_TK_CIV_EP1_DZE2
{
class Volha_1_TK_CIV_EP1_DZE3: Volha_1_TK_CIV_EP1_DZE2 {
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
upgradeVehicle[] = {"Volha_1_TK_CIV_EP1_DZE4",{{"ItemTNK",1},{"PartFueltank",2}}};
class Upgrades {
ItemTNK[] = {"Volha_1_TK_CIV_EP1_DZE4",{},{{"ItemTNK",1},{"PartFueltank",2}}};
};
};
class Volha_2_TK_CIV_EP1_DZE3: Volha_2_TK_CIV_EP1_DZE2
{
class Volha_2_TK_CIV_EP1_DZE3: Volha_2_TK_CIV_EP1_DZE2 {
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
upgradeVehicle[] = {"Volha_2_TK_CIV_EP1_DZE4",{{"ItemTNK",1},{"PartFueltank",2}}};
class Upgrades {
ItemTNK[] = {"Volha_2_TK_CIV_EP1_DZE4",{},{{"ItemTNK",1},{"PartFueltank",2}}};
};
};
// Fuel 4
class VolhaLimo_TK_CIV_EP1_DZE4: VolhaLimo_TK_CIV_EP1_DZE3
{
class VolhaLimo_TK_CIV_EP1_DZE4: VolhaLimo_TK_CIV_EP1_DZE3 {
fuelCapacity = 210; // car 100
};
class Volha_1_TK_CIV_EP1_DZE4: Volha_1_TK_CIV_EP1_DZE3
{
class Volha_1_TK_CIV_EP1_DZE4: Volha_1_TK_CIV_EP1_DZE3 {
fuelCapacity = 210; // car 100
};
class Volha_2_TK_CIV_EP1_DZE4: Volha_2_TK_CIV_EP1_DZE3
{
class Volha_2_TK_CIV_EP1_DZE4: Volha_2_TK_CIV_EP1_DZE3 {
fuelCapacity = 210; // car 100
};

File diff suppressed because it is too large Load Diff

View File

@@ -1,472 +1,296 @@
class hilux1_civil_1_open: Car
{
scope = 2;
faction = "CIV";
maxSpeed = 125;
side = 3;
model = "\ca\Wheeled\hilux1_civil_1_open";
picture = "\Ca\wheeled\data\ico\hilux1_civil_1_open_CA.paa";
Icon = "\Ca\wheeled\data\map_ico\icomap_hilux_CA.paa";
mapSize = 7;
typicalCargo[] = {};
crew = "";
displayName = "Off-road (tan)";
transportSoldier = 1;
driverAction = "Hilux_Driver";
class hilux1_civil_1_open;
class hilux1_civil_1_open_DZE: hilux1_civil_1_open {
terrainCoef = 2.5;
wheelCircumference = 2.532;
steerAheadPlan = 0.2;
cargoIsCoDriver[] = {1};
insideSoundCoef = 0.9;
soundGear[] = {"",0.000562341,1};
SoundGetIn[] = {"\ca\sounds\vehicles\wheeled\offroad\ext\ext-offroad-getout-1",0.562341,1};
SoundGetOut[] = {"\ca\sounds\vehicles\wheeled\offroad\ext\ext-offroad-getout-1",0.562341,1,30};
soundEngineOnInt[] = {"ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-start-1",0.398107,1};
soundEngineOnExt[] = {"ca\sounds\Vehicles\Wheeled\offroad\ext\ext-offroad-start-1",0.398107,1,250};
soundEngineOffInt[] = {"ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-stop-1",0.398107,1};
soundEngineOffExt[] = {"ca\sounds\Vehicles\Wheeled\offroad\ext\ext-offroad-stop-1",0.398107,1,250};
buildCrash0[] = {"Ca\sounds\Vehicles\Crash\crash_building_01",0.707946,1,200};
buildCrash1[] = {"Ca\sounds\Vehicles\Crash\crash_building_02",0.707946,1,200};
buildCrash2[] = {"Ca\sounds\Vehicles\Crash\crash_building_03",0.707946,1,200};
buildCrash3[] = {"Ca\sounds\Vehicles\Crash\crash_building_04",0.707946,1,200};
soundBuildingCrash[] = {"buildCrash0",0.25,"buildCrash1",0.25,"buildCrash2",0.25,"buildCrash3",0.25};
WoodCrash0[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_01",0.707946,1,200};
WoodCrash1[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_02",0.707946,1,200};
WoodCrash2[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_03",0.707946,1,200};
WoodCrash3[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_04",0.707946,1,200};
WoodCrash4[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_05",0.707946,1,200};
WoodCrash5[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_06",0.707946,1,200};
soundWoodCrash[] = {"woodCrash0",0.166,"woodCrash1",0.166,"woodCrash2",0.166,"woodCrash3",0.166,"woodCrash4",0.166,"woodCrash5",0.166};
ArmorCrash0[] = {"Ca\sounds\Vehicles\Crash\crash_vehicle_01",0.707946,1,200};
ArmorCrash1[] = {"Ca\sounds\Vehicles\Crash\crash_vehicle_02",0.707946,1,200};
ArmorCrash2[] = {"Ca\sounds\Vehicles\Crash\crash_vehicle_03",0.707946,1,200};
ArmorCrash3[] = {"Ca\sounds\Vehicles\Crash\crash_vehicle_04",0.707946,1,200};
soundArmorCrash[] = {"ArmorCrash0",0.25,"ArmorCrash1",0.25,"ArmorCrash2",0.25,"ArmorCrash3",0.25};
class SoundEvents
{
class AccelerationIn
{
sound[] = {"ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-acce-1",0.177828,1};
limit = "0.7";
expression = "(engineOn*(1-camPos))*gmeterZ*(speed factor[2.5, 4])";
};
class AccelerationOut
{
sound[] = {"ca\sounds\Vehicles\Wheeled\offroad\ext\ext-offroad-acce-1",0.177828,1,250};
limit = "0.7";
expression = "(engineOn*camPos)*gmeterZ*(speed factor[2.5, 4])";
};
};
class Sounds: Sounds
{
class Engine: Engine
{
sound[] = {"ca\sounds\Vehicles\Wheeled\offroad\ext\ext-offroad-low-1",0.562341,1,300};
frequency = "(randomizer*0.05+0.95)*rpm";
volume = "camPos*engineOn*((rpm factor[0.21, 0.5]) min (rpm factor[0.7, 0.5]))";
};
class EngineHighOut
{
sound[] = {"ca\sounds\Vehicles\Wheeled\offroad\ext\ext-offroad-high-2",0.562341,1,350};
frequency = "(randomizer*0.05+0.95)*rpm";
volume = "camPos*engineOn*(rpm factor[0.5, 0.85])";
};
class IdleOut
{
sound[] = {"ca\sounds\Vehicles\Wheeled\offroad\ext\ext-offroad-idle-5",0.354813,1,150};
frequency = "1";
volume = "camPos*engineOn*(rpm factor[0.4, 0])";
};
class TiresRockOut
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-rock2",0.1,1,30};
frequency = "1";
volume = "camPos*rock*(speed factor[2, 20])";
};
class TiresSandOut
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-sand2",0.1,1,30};
frequency = "1";
volume = "camPos*sand*(speed factor[2, 20])";
};
class TiresGrassOut
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-grass3",0.1,1,30};
frequency = "1";
volume = "camPos*grass*(speed factor[2, 20])";
};
class TiresMudOut
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-mud2",0.1,1,30};
frequency = "1";
volume = "camPos*mud*(speed factor[2, 20])";
};
class TiresGravelOut
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-gravel2",0.125893,1,30};
frequency = "1";
volume = "camPos*gravel*(speed factor[2, 20])";
};
class TiresAsphaltOut
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-asphalt3",0.0891251,1,30};
frequency = "1";
volume = "camPos*asphalt*(speed factor[2, 20])";
};
class NoiseOut
{
sound[] = {"ca\sounds\Vehicles\Wheeled\offroad\ext\ext-offroad-acce-2",0.1,1,30};
frequency = "1";
volume = "camPos*(damper0 max 0.02)*(speed factor[0, 8])";
};
class EngineLowIn
{
sound[] = {"ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-low-1",0.562341,1};
frequency = "(randomizer*0.05+0.95)*rpm";
volume = "(1-camPos)*engineOn*((rpm factor[0.2, 0.4]) min (rpm factor[0.7, 0.5]))";
};
class EngineHighIn
{
sound[] = {"ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-high-2",0.562341,1};
frequency = "(randomizer*0.05+0.95)*rpm";
volume = "(1-camPos)*engineOn*(rpm factor[0.56, 0.8])";
};
class IdleIn
{
sound[] = {"ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-idle-5",0.354813,1};
frequency = "1";
volume = "(1-camPos)*engineOn*(rpm factor[0.35, 0])";
};
class TiresRockIn
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-rock2",0.1,1};
frequency = "1";
volume = "(1-camPos)*rock*(speed factor[2, 20])";
};
class TiresSandIn
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-sand2",0.1,1};
frequency = "1";
volume = "(1-camPos)*sand*(speed factor[2, 20])";
};
class TiresGrassIn
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-grass3",0.1,1};
frequency = "1";
volume = "(1-camPos)*grass*(speed factor[2, 20])";
};
class TiresMudIn
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-mud2",0.1,1};
frequency = "1";
volume = "(1-camPos)*mud*(speed factor[2, 20])";
};
class TiresGravelIn
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-gravel2",0.141254,1};
frequency = "1";
volume = "(1-camPos)*gravel*(speed factor[2, 20])";
};
class TiresAsphaltIn
{
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-asphalt3",0.177828,1};
frequency = "1";
volume = "(1-camPos)*asphalt*(speed factor[2, 20])";
};
class NoiseIn
{
sound[] = {"ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-noise-1",0.316228,1};
frequency = "1";
volume = "(damper0 max 0.03)*(speed factor[0, 8])*(1-camPos)";
};
class Movement: Movement
{
sound = "soundEnviron";
frequency = "1";
volume = "0";
};
};
cargoAction[] = {"Hilux_Cargo01"};
hasGunner = 0;
class Turrets
{
};
class Damage
{
tex[] = {};
mat[] = {"ca\wheeled\data\detailmapy\coyota_trup1.rvmat","ca\wheeled\data\detailmapy\coyota_trup1.rvmat","ca\wheeled\data\detailmapy\coyota_trup1_destruct.rvmat","ca\wheeled\data\detailmapy\coyota_kola.rvmat","ca\wheeled\data\detailmapy\coyota_kola.rvmat","ca\wheeled\data\detailmapy\coyota_kola_destruct.rvmat","ca\wheeled\data\detailmapy\coyota_interier.rvmat","ca\wheeled\data\detailmapy\coyota_interier.rvmat","ca\wheeled\data\detailmapy\coyota_interier_destruct.rvmat","ca\wheeled\data\detailmapy\auta_skla.rvmat","ca\wheeled\data\detailmapy\auta_skla_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_in.rvmat","ca\wheeled\data\detailmapy\auta_skla_in_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_in_damage.rvmat"};
};
hiddenSelections[] = {"Camo1"};
hiddenSelectionsTextures[] = {"\ca\wheeled\data\coyota_trup1.paa"};
class Library
{
libTextDesc = "Civil Car.";
};
rarityUrban = 0.8;
brakeDistance = 11;
upgradeVehicle[] = {"hilux1_civil_1_open_DZE1",{{"ItemORP",1},{"PartEngine",2}}};
};
class hilux1_civil_2_covered: hilux1_civil_1_open
{
model = "\ca\Wheeled\hilux1_civil_2_covered";
faction = "CIV";
picture = "\Ca\wheeled\data\ico\hilux1_civil_2_covered_CA.paa";
Icon = "\Ca\wheeled\data\map_ico\icomap_hilux_CA.paa";
mapSize = 7;
typicalCargo[] = {};
crew = "";
class Damage
{
tex[] = {};
mat[] = {"ca\wheeled\data\detailmapy\coyota_trup1.rvmat","ca\wheeled\data\detailmapy\coyota_trup1.rvmat","ca\wheeled\data\detailmapy\coyota_trup1_destruct.rvmat","ca\wheeled\data\detailmapy\coyota_addons.rvmat","ca\wheeled\data\detailmapy\coyota_addons.rvmat","ca\wheeled\data\detailmapy\coyota_addons_destruct.rvmat","ca\wheeled\data\detailmapy\coyota_kola.rvmat","ca\wheeled\data\detailmapy\coyota_kola.rvmat","ca\wheeled\data\detailmapy\coyota_kola_destruct.rvmat","ca\wheeled\data\detailmapy\coyota_interier.rvmat","ca\wheeled\data\detailmapy\coyota_interier.rvmat","ca\wheeled\data\detailmapy\coyota_interier_destruct.rvmat","ca\wheeled\data\detailmapy\auta_skla.rvmat","ca\wheeled\data\detailmapy\auta_skla_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_in.rvmat","ca\wheeled\data\detailmapy\auta_skla_in_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_in_damage.rvmat"};
};
hiddenSelections[] = {};
hiddenSelectionsTextures[] = {};
displayName = "Off-road (red)";
rarityUrban = 0.35;
upgradeVehicle[] = {"hilux1_civil_2_covered_DZE1",{{"ItemORP",1},{"PartEngine",2}}};
};
class hilux1_civil_3_open: hilux1_civil_1_open
{
model = "\ca\Wheeled\hilux1_civil_3_open";
picture = "\Ca\wheeled\data\ico\hilux1_civil_3_open_CA.paa";
Icon = "\Ca\wheeled\data\map_ico\icomap_hilux_CA.paa";
mapSize = 7;
faction = "CIV";
typicalCargo[] = {};
crew = "";
displayName = "Off-road (white)";
class Damage
{
tex[] = {};
mat[] = {"ca\wheeled\data\detailmapy\coyota_trup1.rvmat","ca\wheeled\data\detailmapy\coyota_trup1.rvmat","ca\wheeled\data\detailmapy\coyota_trup1_destruct.rvmat","ca\wheeled\data\detailmapy\coyota_kola.rvmat","ca\wheeled\data\detailmapy\coyota_kola.rvmat","ca\wheeled\data\detailmapy\coyota_kola_destruct.rvmat","ca\wheeled\data\detailmapy\coyota_interier.rvmat","ca\wheeled\data\detailmapy\coyota_interier.rvmat","ca\wheeled\data\detailmapy\coyota_interier_destruct.rvmat","ca\wheeled\data\detailmapy\auta_skla.rvmat","ca\wheeled\data\detailmapy\auta_skla_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_in.rvmat","ca\wheeled\data\detailmapy\auta_skla_in_damage.rvmat","ca\wheeled\data\detailmapy\auta_skla_in_damage.rvmat"};
};
hiddenSelections[] = {};
hiddenSelectionsTextures[] = {};
upgradeVehicle[] = {"hilux1_civil_3_open_DZE1",{{"ItemORP",1},{"PartEngine",2}}};
};
class HitPoints;
class Upgrades {
ItemORP[] = {"hilux1_civil_1_open_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};
ItemARM[] = {"Pickup_PK_GUE_DZE",{{"PK_DZ",1}},{{"ItemARM",1},{"PartGeneric",2}}};
};
};
class hilux1_civil_2_covered;
class hilux1_civil_2_covered_DZE: hilux1_civil_2_covered {
terrainCoef = 2.5;
class HitPoints;
class Upgrades {
ItemORP[] = {"hilux1_civil_2_covered_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};
ItemARM[] = {"Pickup_PK_TK_GUE_EP1_DZE",{{"PK_DZ",1}},{{"ItemARM",1},{"PartGeneric",2}}};
};
};
class hilux1_civil_3_open;
class hilux1_civil_3_open_DZE: hilux1_civil_3_open {
terrainCoef = 2.5;
class HitPoints;
class Upgrades {
ItemORP[] = {"hilux1_civil_3_open_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};
ItemARM[] = {"Pickup_PK_INS_DZE",{{"PK_DZ",1}},{{"ItemARM",1},{"PartGeneric",2}}};
};
};
// Performance 1
class hilux1_civil_1_open_DZE1: hilux1_civil_1_open
{
class hilux1_civil_1_open_DZE1: hilux1_civil_1_open_DZE {
maxspeed = 150; // max engine limit 125-130
terrainCoef = 2.5;
upgradeVehicle[] = {"hilux1_civil_1_open_DZE2",{{"ItemAVE",1},{"PartGeneric",1},{"ItemTankTrap",1}}};
terrainCoef = 1.8;
class HitPoints: HitPoints {
class HitLFWheel;
class HitLBWheel;
class HitRFWheel;
class HitRBWheel;
class HitFuel;
class HitEngine;
class HitGlass1;
class HitGlass2;
class HitGlass3;
class HitGlass4;
};
class Upgrades {
ItemAVE[] = {"hilux1_civil_1_open_DZE2",{},{{"ItemAVE",1},{"PartGeneric",4},{"ItemTankTrap",2}}};
ItemARM[] = {"Pickup_PK_GUE_DZE1",{{"PK_DZ",1}},{{"ItemARM",1},{"PartGeneric",2}}};
};
};
class hilux1_civil_2_covered_DZE1: hilux1_civil_2_covered
{
class hilux1_civil_2_covered_DZE1: hilux1_civil_2_covered_DZE {
maxspeed = 150; // car 100
terrainCoef = 2.5;
upgradeVehicle[] = {"hilux1_civil_2_covered_DZE2",{{"ItemAVE",1},{"PartGeneric",1},{"ItemTankTrap",1}}};
terrainCoef = 1.8;
class HitPoints: HitPoints {
class HitLFWheel;
class HitLBWheel;
class HitRFWheel;
class HitRBWheel;
class HitFuel;
class HitEngine;
class HitGlass1;
class HitGlass2;
class HitGlass3;
class HitGlass4;
};
class Upgrades {
ItemAVE[] = {"hilux1_civil_2_covered_DZE2",{},{{"ItemAVE",1},{"PartGeneric",4},{"ItemTankTrap",2}}};
ItemARM[] = {"Pickup_PK_TK_GUE_EP1_DZE1",{{"PK_DZ",1}},{{"ItemARM",1},{"PartGeneric",2}}};
};
};
class hilux1_civil_3_open_DZE1: hilux1_civil_3_open
{
class hilux1_civil_3_open_DZE1: hilux1_civil_3_open_DZE {
maxspeed = 150; // car 100
terrainCoef = 2.5;
upgradeVehicle[] = {"hilux1_civil_3_open_DZE2",{{"ItemAVE",1},{"PartGeneric",1},{"ItemTankTrap",1}}};
terrainCoef = 1.8;
class HitPoints: HitPoints {
class HitLFWheel;
class HitLBWheel;
class HitRFWheel;
class HitRBWheel;
class HitFuel;
class HitEngine;
class HitGlass1;
class HitGlass2;
class HitGlass3;
class HitGlass4;
};
class Upgrades {
ItemAVE[] = {"hilux1_civil_3_open_DZE2",{},{{"ItemAVE",1},{"PartGeneric",4},{"ItemTankTrap",2}}};
ItemARM[] = {"Pickup_PK_INS_DZE1",{{"PK_DZ",1}},{{"ItemARM",1},{"PartGeneric",2}}};
};
};
// Armor 2
class hilux1_civil_1_open_DZE2: hilux1_civil_1_open_DZE1
{
class hilux1_civil_1_open_DZE2: hilux1_civil_1_open_DZE1 {
armor = 50; // car 20
upgradeVehicle[] = {"hilux1_civil_1_open_DZE3",{{"ItemLRK",1},{"ItemTent",1}}};
class HitPoints: HitPoints
{
class HitLFWheel: HitLFWheel
{
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
};
class HitLBWheel: HitLBWheel
{
class HitLBWheel: HitLBWheel {
armor = 0.3;
};
class HitRFWheel: HitRFWheel
{
class HitRFWheel: HitRFWheel {
armor = 0.3;
};
class HitRBWheel: HitRBWheel
{
class HitRBWheel: HitRBWheel {
armor = 0.3;
};
class HitFuel
{
class HitFuel {
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine
{
class HitEngine {
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1
{
class HitGlass1: HitGlass1 {
armor = 0.1;
};
class HitGlass2: HitGlass2
{
class HitGlass2: HitGlass2 {
armor = 0.1;
};
class HitGlass3: HitGlass3
{
class HitGlass3: HitGlass3 {
armor = 0.1;
};
class HitGlass4: HitGlass4
{
class HitGlass4: HitGlass4 {
armor = 0.1;
};
};
class Upgrades {
ItemLRK[] = {"hilux1_civil_1_open_DZE3",{},{{"ItemLRK",1},{"PartGeneric",2},{"ItemTent",1}}};
ItemARM[] = {"Pickup_PK_GUE_DZE2",{{"PK_DZ",1}},{{"ItemARM",1},{"PartGeneric",2}}};
};
};
class hilux1_civil_2_covered_DZE2: hilux1_civil_2_covered_DZE1
{
class hilux1_civil_2_covered_DZE2: hilux1_civil_2_covered_DZE1 {
armor = 50; // car 20
upgradeVehicle[] = {"hilux1_civil_2_covered_DZE3",{{"ItemLRK",1},{"ItemTent",1}}};
class HitPoints: HitPoints
{
class HitLFWheel: HitLFWheel
{
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
};
class HitLBWheel: HitLBWheel
{
class HitLBWheel: HitLBWheel {
armor = 0.3;
};
class HitRFWheel: HitRFWheel
{
class HitRFWheel: HitRFWheel {
armor = 0.3;
};
class HitRBWheel: HitRBWheel
{
class HitRBWheel: HitRBWheel {
armor = 0.3;
};
class HitFuel
{
class HitFuel {
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine
{
class HitEngine {
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1
{
class HitGlass1: HitGlass1 {
armor = 0.1;
};
class HitGlass2: HitGlass2
{
class HitGlass2: HitGlass2 {
armor = 0.1;
};
class HitGlass3: HitGlass3
{
class HitGlass3: HitGlass3 {
armor = 0.1;
};
class HitGlass4: HitGlass4
{
class HitGlass4: HitGlass4 {
armor = 0.1;
};
};
class Upgrades {
ItemLRK[] = {"hilux1_civil_2_covered_DZE3",{},{{"ItemLRK",1},{"PartGeneric",2},{"ItemTent",1}}};
ItemARM[] = {"Pickup_PK_TK_GUE_EP1_DZE2",{{"PK_DZ",1}},{{"ItemARM",1},{"PartGeneric",2}}};
};
};
class hilux1_civil_3_open_DZE2: hilux1_civil_3_open_DZE1
{
class hilux1_civil_3_open_DZE2: hilux1_civil_3_open_DZE1 {
armor = 50; // car 20
upgradeVehicle[] = {"hilux1_civil_3_open_DZE3",{{"ItemLRK",1},{"ItemTent",1}}};
class HitPoints: HitPoints
{
class HitLFWheel: HitLFWheel
{
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
};
class HitLBWheel: HitLBWheel
{
class HitLBWheel: HitLBWheel {
armor = 0.3;
};
class HitRFWheel: HitRFWheel
{
class HitRFWheel: HitRFWheel {
armor = 0.3;
};
class HitRBWheel: HitRBWheel
{
class HitRBWheel: HitRBWheel {
armor = 0.3;
};
class HitFuel
{
class HitFuel {
armor = 0.28;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitEngine
{
class HitEngine {
armor = 1;
material = -1;
name = "motor";
visual = "";
passThrough = 1;
};
class HitGlass1: HitGlass1
{
class HitGlass1: HitGlass1 {
armor = 0.1;
};
class HitGlass2: HitGlass2
{
class HitGlass2: HitGlass2 {
armor = 0.1;
};
class HitGlass3: HitGlass3
{
class HitGlass3: HitGlass3 {
armor = 0.1;
};
class HitGlass4: HitGlass4
{
class HitGlass4: HitGlass4 {
armor = 0.1;
};
};
class Upgrades {
ItemLRK[] = {"hilux1_civil_3_open_DZE3",{},{{"ItemLRK",1},{"PartGeneric",2},{"ItemTent",1}}};
ItemARM[] = {"Pickup_PK_INS_DZE2",{{"PK_DZ",1}},{{"ItemARM",1},{"PartGeneric",2}}};
};
};
// Cargo 3
class hilux1_civil_1_open_DZE3: hilux1_civil_1_open_DZE2
{
class hilux1_civil_1_open_DZE3: hilux1_civil_1_open_DZE2 {
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
upgradeVehicle[] = {"hilux1_civil_1_open_DZE4",{{"ItemTNK",1},{"PartFueltank",2}}};
class Upgrades {
ItemTNK[] = {"hilux1_civil_1_open_DZE4",{},{{"ItemTNK",1},{"PartFueltank",2}}};
ItemARM[] = {"Pickup_PK_GUE_DZE3",{{"PK_DZ",1}},{{"ItemARM",1},{"PartGeneric",2}}};
};
};
class hilux1_civil_2_covered_DZE3: hilux1_civil_2_covered_DZE2
{
class hilux1_civil_2_covered_DZE3: hilux1_civil_2_covered_DZE2 {
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
upgradeVehicle[] = {"hilux1_civil_2_covered_DZE4",{{"ItemTNK",1},{"PartFueltank",2}}};
class Upgrades {
ItemTNK[] = {"hilux1_civil_2_covered_DZE4",{},{{"ItemTNK",1},{"PartFueltank",2}}};
ItemARM[] = {"Pickup_PK_TK_GUE_EP1_DZE3",{{"PK_DZ",1}},{{"ItemARM",1},{"PartGeneric",2}}};
};
};
class hilux1_civil_3_open_DZE3: hilux1_civil_3_open_DZE2
{
class hilux1_civil_3_open_DZE3: hilux1_civil_3_open_DZE2 {
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
upgradeVehicle[] = {"hilux1_civil_3_open_DZE4",{{"ItemTNK",1},{"PartFueltank",2}}};
class Upgrades {
ItemTNK[] = {"hilux1_civil_3_open_DZE4",{},{{"ItemTNK",1},{"PartFueltank",2}}};
ItemARM[] = {"Pickup_PK_INS_DZE3",{{"PK_DZ",1}},{{"ItemARM",1},{"PartGeneric",2}}};
};
};
// Fuel 4
class hilux1_civil_1_open_DZE4: hilux1_civil_1_open_DZE3
{
class hilux1_civil_1_open_DZE4: hilux1_civil_1_open_DZE3 {
fuelCapacity = 210; // car 100
class Upgrades {
ItemARM[] = {"Pickup_PK_GUE_DZE4",{{"PK_DZ",1}},{{"ItemARM",1},{"PartGeneric",2}}};
};
};
class hilux1_civil_2_covered_DZE4: hilux1_civil_2_covered_DZE3
{
class hilux1_civil_2_covered_DZE4: hilux1_civil_2_covered_DZE3 {
fuelCapacity = 210; // car 100
class Upgrades {
ItemARM[] = {"Pickup_PK_TK_GUE_EP1_DZE4",{{"PK_DZ",1}},{{"ItemARM",1},{"PartGeneric",2}}};
};
};
class hilux1_civil_3_open_DZE4: hilux1_civil_3_open_DZE3
{
class hilux1_civil_3_open_DZE4: hilux1_civil_3_open_DZE3 {
fuelCapacity = 210; // car 100
class Upgrades {
ItemARM[] = {"Pickup_PK_INS_DZE4",{{"PK_DZ",1}},{{"ItemARM",1},{"PartGeneric",2}}};
};
};

View File

@@ -135,6 +135,7 @@ class Bandit1_DZ : Soldier_Crew_PMC {
};
class Bandit2_DZ: Soldier_Crew_PMC {
scope = 2;
side = 1;
displayName = $STR_CHAR_2;
weapons[] = {"Throw","Put"};
model = "\ca\characters_E\GER\GER_rifleman";

View File

@@ -68,8 +68,11 @@ class Mode_FullAuto: Mode_SemiAuto
class CfgWeapons {
class Pecheneg;
class Pecheneg_DZ: Pecheneg
{
class Pecheneg_DZ: Pecheneg {
type = "1";
};
class PK;
class PK_DZ: PK {
type = "1";
};
@@ -271,7 +274,7 @@ class CfgWeapons {
#include "CfgWeapons\Weapon\Sniper\KSVK.hpp"
#include "CfgWeapons\Weapon\Sniper\DMR_DZ.hpp"
#include "CfgWeapons\Weapon\Pistol\MakerovSD.hpp"
#include "CfgWeapons\Weapon\Pistol\MakarovSD.hpp"
#include "CfgWeapons\Weapon\LMG\m240_scoped.hpp"
#include "CfgWeapons\Weapon\LMG\M249_EP1.hpp"
#include "CfgWeapons\Weapon\LMG\M249_m145_EP1.hpp"

View File

@@ -15,5 +15,5 @@ class MakarovSD : Makarov {
descriptionShort = "Silenced semi-automatic pistol <br/>Caliber: 9x18mm";
model = "ca\weapons_E\makarov\makarov_silenced";
displayName = "Makarov SD";
magazines[] = {"8Rnd_9x18_MakarovSD","8Rnd_9x18_Makarov"};
magazines[] = {"8Rnd_9x18_MakarovSD"};
};

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,54 @@
class RscDisplayGenderSelect
{
idd = 6902;
enableDisplay = 1;
class controls
{
class GenderPic_Man : RscActiveText
{
idc = -1;
style = 48;
text = "z\addons\dayz_code\gui\gender_menu_man.paa";
x = 0.28 * safezoneW + safezoneX;
y = 0.24 * safezoneH + safezoneY;
w = 0.117188 * safezoneW;
h = 0.542373 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;dayz_selectGender = 'Survivor2_DZ';";
};
class GenderPic_Woman : RscActiveText
{
idc = -1;
style = 48;
text = "z\addons\dayz_code\gui\gender_menu_woman.paa";
x = 0.6 * safezoneW + safezoneX;
y = 0.24 * safezoneH + safezoneY;
w = 0.117188 * safezoneW;
h = 0.542373 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;dayz_selectGender = 'SurvivorW2_DZ';";
};
class Gender_Title: RscStructuredText
{
idc = -1;
text = "$STR_UI_GENDER_TITLE";
x = 0.4 * safezoneW + safezoneX;
y = 0.221864 * safezoneH + safezoneY;
w = 0.2 * safezoneW;
h = 0.05 * safezoneH;
colorBackground[] = {-1,-1,-1,0};
};
class Gender_Description: RscStructuredText
{
idc = -1;
text = "$STR_UI_GENDER_DESC";
x = 0.4 * safezoneW + safezoneX;
y = 0.366134 * safezoneH + safezoneY;
w = 0.2 * safezoneW;
h = 0.3 * safezoneH;
colorBackground[] = {-1,-1,-1,0};
};
};
};

View File

@@ -2,9 +2,6 @@ class RscDisplaySpawnSelecter {
idd = 6903;
enableDisplay = 1;
onLoad = "DZE_DisplaySpawnSelector = true;";
//onUnload = "DZE_DisplaySpawnSelector = false;";
class controlsBackground {
class Mainback : RscPicture {
idc = -1;
@@ -28,7 +25,7 @@ class RscDisplaySpawnSelecter {
h = 0.3044 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;DZE_DisplaySpawnSelector = false;dayz_selectRegion = 1;";
action = "closeDialog 0;dayz_selectRegion = 1;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};
class RscSelectedRegion2: RscActiveText
@@ -42,7 +39,7 @@ class RscDisplaySpawnSelecter {
h = 0.270356 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;DZE_DisplaySpawnSelector = false;dayz_selectRegion = 0;";
action = "closeDialog 0;dayz_selectRegion = 0;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};
class RscSelectedRegion3: RscActiveText
@@ -56,7 +53,7 @@ class RscDisplaySpawnSelecter {
h = 0.275 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;DZE_DisplaySpawnSelector = false;dayz_selectRegion = 2;";
action = "closeDialog 0;dayz_selectRegion = 2;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};
class RscSelectedRegion4: RscActiveText
@@ -70,7 +67,7 @@ class RscDisplaySpawnSelecter {
h = 0.274546 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;DZE_DisplaySpawnSelector = false;dayz_selectRegion = 3;";
action = "closeDialog 0;dayz_selectRegion = 3;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};
class RscSelectedRegion5: RscActiveText
@@ -84,7 +81,7 @@ class RscDisplaySpawnSelecter {
h = 0.275001 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;DZE_DisplaySpawnSelector = false;dayz_selectRegion = 4;";
action = "closeDialog 0;dayz_selectRegion = 4;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};
class RscSelectedRegion6: RscActiveText
@@ -98,7 +95,7 @@ class RscDisplaySpawnSelecter {
h = 0.275 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;DZE_DisplaySpawnSelector = false;dayz_selectRegion = 5;";
action = "closeDialog 0;dayz_selectRegion = 5;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};
class RscSelectedRegionRandom: RscActiveText
@@ -112,7 +109,7 @@ class RscDisplaySpawnSelecter {
h = 0.331135035 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;DZE_DisplaySpawnSelector = false;dayz_selectRegion = 9;";
action = "closeDialog 0;dayz_selectRegion = 9;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};

View File

@@ -141,7 +141,7 @@ class RscTitles
class RscPicture_1901: RscPictureGUI
{
idc = 1901;
text = "\z\addons\dayz_code\gui\status\status_bg.paa";
//text = "\z\addons\dayz_code\gui\status\status_bg.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.86 * safezoneH + safezoneY;//2
w = 0.075;
@@ -150,7 +150,7 @@ class RscTitles
class RscPicture_1201: RscPictureGUI
{
idc = 1201;
text = "\z\addons\dayz_code\gui\status\status_food_border_ca.paa";
//text = "\z\addons\dayz_code\gui\status\status_food_border_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.86 * safezoneH + safezoneY;//2
w = 0.075;
@@ -159,7 +159,7 @@ class RscTitles
class RscPicture_1900: RscPictureGUI
{
idc = 1900;
text = "\z\addons\dayz_code\gui\status\status_bg.paa";
//text = "\z\addons\dayz_code\gui\status\status_bg.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.79 * safezoneH + safezoneY; //3
w = 0.075;
@@ -177,7 +177,7 @@ class RscTitles
class RscPicture_1902: RscPictureGUI
{
idc = 1902;
text = "\z\addons\dayz_code\gui\status\status_bg.paa";
//text = "\z\addons\dayz_code\gui\status\status_bg.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.93 * safezoneH + safezoneY; //1
w = 0.075;
@@ -186,7 +186,7 @@ class RscTitles
class RscPicture_1202: RscPictureGUI
{
idc = 1202;
text = "\z\addons\dayz_code\gui\status\status_thirst_border_ca.paa";
//text = "\z\addons\dayz_code\gui\status\status_thirst_border_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.93 * safezoneH + safezoneY; //1
w = 0.075;
@@ -195,7 +195,7 @@ class RscTitles
class RscPicture_1908: RscPictureGUI
{
idc = 1908;
text = "\z\addons\dayz_code\gui\status\status_bg.paa";
//text = "\z\addons\dayz_code\gui\status\status_bg.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.72 * safezoneH + safezoneY; //3
w = 0.075;
@@ -204,7 +204,7 @@ class RscTitles
class RscPicture_1208: RscPictureGUI
{
idc = 1208;
text = "\z\addons\dayz_code\gui\status\status_temp_outside_ca.paa";
//text = "\z\addons\dayz_code\gui\status\status_temp_outside_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.72 * safezoneH + safezoneY; //3
w = 0.075;
@@ -233,7 +233,7 @@ class RscTitles
class RscPicture_1205: RscPictureGUI
{
idc = 1205;
text = "\z\addons\dayz_code\gui\status\status_bg.paa";
//text = "\z\addons\dayz_code\gui\status\status_bg.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.30 * safezoneH + safezoneY;
w = 0.075;
@@ -242,7 +242,7 @@ class RscTitles
class RscPicture_1206: RscPictureGUI
{
idc = 1206;
text = "\z\addons\dayz_code\gui\status\status_bg.paa";
//text = "\z\addons\dayz_code\gui\status\status_bg.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.37 * safezoneH + safezoneY;
w = 0.075;

View File

@@ -0,0 +1,316 @@
class RscTitles
{
class Default
{
idd = -1;
movingEnable = 0;
duration = 4;
};
titles[] = {"DeathScreen_DZ","RscTitleStructuredText"};
class DeathScreen_DZ {
idd = -1;
movingEnable = "false";
duration = 120;
fadein = 0;
name = "DeathScreen";
controls[] = {"DeathScreen"};
class DeathScreen: RscPicture {
x = 0 * safezoneW + safezoneX;
y = 0 * safezoneH + safezoneY;
w = 1 * safezoneW;
h = 1 * safezoneH;
text = "\z\addons\dayz_code\gui\deathscreen.paa";
};
};
class playerKillScore {
idd = 6902;
movingEnable = 0;
duration = 5;
name = "playerKillScore";
onLoad = "uiNamespace setVariable ['DAYZ_GUI_kills', _this select 0];";
class ControlsBackground {
class RscPicture_1201: RscPictureGUI
{
idc = 1400;
text = "\z\addons\dayz_code\gui\stats_kills_human_ca.paa";
x = 0.044687 * safezoneW + safezoneX;
y = 0.934779 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
class RscPicture_1200: RscPictureGUI
{
idc = 1401;
text = "\z\addons\dayz_code\gui\stats_kills_zombie_ca.paa";
x = 0.044687 * safezoneW + safezoneX;
y = 0.876025 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
};
class Controls{
class RscText1: RscStructuredTextGUI
{
idc = 1410;
text = "10";
x = (0.044687 * safezoneW + safezoneX) - 0.01;
y = 0.934779 * safezoneH + safezoneY;
w = 0.08;
h = 0.08;
};
class RscText2: RscStructuredTextGUI
{
idc = 1411;
text = "1000";
x = (0.044687 * safezoneW + safezoneX) - 0.01;
y = 0.876025 * safezoneH + safezoneY;
w = 0.08;
h = 0.08;
};
};
};
class playerStatusWaiting {
idd = 6901;
movingEnable = 0;
duration = 100000;
name = "playerStatusWaiting";
onLoad = "uiNamespace setVariable ['DAYZ_GUI_waiting', _this select 0];";
class ControlsBackground {
class RscText_1402: RscPictureGUI
{
idc = 1402;
text = "#(argb,8,8,3)color(1,1,1,1)";
x = 0.473572 * safezoneW + safezoneX;
y = 0.418158 * safezoneH + safezoneY;
w = 0.0634286 * safezoneW;
h = 0.136829 * safezoneH;
colorText[] = {1,1,1,1};
};
class RscText_1400: RscPictureGUI
{
idc = 1400;
text = "#(argb,8,8,3)color(1,1,1,1)";
x = 0.473572 * safezoneW + safezoneX;
y = 0.418158 * safezoneH + safezoneY;
w = 0.0634286 * safezoneW;
h = 0; //0.136829 * safezoneH;
colorText[] = {0,0,0,1};
};
};
class Controls {
class RscPicture_1401: RscPictureGUI
{
idc = 1401;
text = "\z\addons\dayz_code\gui\status\status_waiting_ca.paa";
x = 0.434999 * safezoneW + safezoneX;
y = 0.392207 * safezoneH + safezoneY;
w = 0.141 * safezoneW;
h = 0.188013 * safezoneH;
colorText[] = {0.38,0.63,0.26,1};
};
};
};
class playerStatusGUI {
idd = 6900;
movingEnable = 0;
duration = 100000;
name = "statusBorder";
onLoad = "uiNamespace setVariable ['DAYZ_GUI_display', _this select 0];";
class ControlsBackground {
class RscStructuredText_1199: RscStructuredText
{
idc = 1199;
x = 0.250001;
y = 0.350001;
w = 0.5;
h = 0.1;
};
class RscPicture_1901: RscPictureGUI
{
idc = 1901;
//text = "\z\addons\dayz_code\gui\status\status_bg.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.86 * safezoneH + safezoneY;//2
w = 0.075;
h = 0.10;
};
class RscPicture_1307 : RscPictureGUI {
idc = 1307;
text = "\z\addons\dayz_code\gui\status_combat_inside_ca.paa";
x = "0.955313 * safezoneW + safezoneX";
y = "0.65 * safezoneH + safezoneY";
w = 0.06;
h = 0.08;
};
class RscPicture_1201: RscPictureGUI
{
idc = 1201;
//text = "\z\addons\dayz_code\gui\status\status_food_border_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.86 * safezoneH + safezoneY;//2
w = 0.075;
h = 0.10;
};
class RscPicture_1900: RscPictureGUI
{
idc = 1900;
//text = "\z\addons\dayz_code\gui\status\status_bg.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.79 * safezoneH + safezoneY; //3
w = 0.075;
h = 0.10;
};
class RscPicture_1200: RscPictureGUI
{
idc = 1200;
//text = "\z\addons\dayz_code\gui\status\status_blood_border_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.79 * safezoneH + safezoneY; //3
w = 0.075;
h = 0.10;
};
class RscPicture_1902: RscPictureGUI
{
idc = 1902;
//text = "\z\addons\dayz_code\gui\status\status_bg.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.93 * safezoneH + safezoneY; //1
w = 0.075;
h = 0.10;
};
class RscPicture_1202: RscPictureGUI
{
idc = 1202;
//text = "\z\addons\dayz_code\gui\status\status_thirst_border_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.93 * safezoneH + safezoneY; //1
w = 0.075;
h = 0.10;
};
class RscPicture_1908: RscPictureGUI
{
idc = 1908;
//text = "\z\addons\dayz_code\gui\status\status_bg.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.72 * safezoneH + safezoneY; //3
w = 0.075;
h = 0.10;
};
class RscPicture_1208: RscPictureGUI
{
idc = 1208;
//text = "\z\addons\dayz_code\gui\status\status_temp_outside_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.72 * safezoneH + safezoneY; //3
w = 0.075;
h = 0.10;
};
class RscPicture_1203: RscPictureGUI
{
idc = 1203;
text = "\z\addons\dayz_code\gui\status\status_effect_brokenleg.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.58 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
colorText[] = {1,1,1,1};
};
class RscPicture_1204: RscPictureGUI
{
idc = 1204;
text = "\z\addons\dayz_code\gui\status\status_connection_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.51 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
colorText[] = {1,1,1,1};
};
class RscPicture_1205: RscPictureGUI
{
idc = 1205;
//text = "\z\addons\dayz_code\gui\status\status_bg.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.30 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
};
class RscPicture_1206: RscPictureGUI
{
idc = 1206;
//text = "\z\addons\dayz_code\gui\status\status_bg.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.37 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
};
};
class Controls {
class RscPicture_1301: RscPictureGUI
{
idc = 1301;
//text = "\z\addons\dayz_code\gui\status\status_food_inside_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.86 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
};
class RscPicture_1300: RscPictureGUI
{
idc = 1300;
//text = "\z\addons\dayz_code\gui\status\status_blood_inside_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.79 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
};
class RscPicture_1302: RscPictureGUI
{
idc = 1302;
//text = "\z\addons\dayz_code\gui\status\status_thirst_inside_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.93 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
};
class RscPicture_1306: RscPictureGUI
{
idc = 1306;
//text = "\z\addons\dayz_code\gui\status\status_temp_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.72 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
};
class RscPicture_1303: RscPictureGUI
{
idc = 1303;
text = "\z\addons\dayz_code\gui\status\status_bleeding_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.79 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
colorText[] = {1,1,1,0.5};
};
class RscPicture_1304: RscPictureGUI
{
idc = 1304;
text = "\z\addons\dayz_code\gui\status\status_noise.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.30 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
};
class RscPicture_1305: RscPictureGUI
{
idc = 1305;
text = "\z\addons\dayz_code\gui\status\status_visible.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.37 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
};
};
};
};

View File

@@ -134,7 +134,7 @@ class RscShortcutButtonTraderDialog
class TraderDialog
{
idd = -1;
idd = 420420;
movingenable = 0;
class Controls {
@@ -204,6 +204,16 @@ class TraderDialog
h = 0.055016 * safezoneH;
onButtonClick = "[(lbCurSel 12001)] call TraderDialogSell; ((ctrlParent (_this select 0)) closeDisplay 9000);";
};
class RscShortcutButtonTraderDialog_1703: RscShortcutButtonTraderDialog
{
idc = 12007;
text = $STR_EPOCH_PLAYER_306;
x = 0.381256 * safezoneW + safezoneX;
y = 0.720064 * safezoneH + safezoneY;
w = 0.1287436 * safezoneW;
h = 0.055016 * safezoneH;
onButtonClick = "[[],0] call epoch_returnChange; ((ctrlParent (_this select 0)) closeDisplay 9000); cutText [(localize ""STR_EPOCH_PLAYER_307"") , ""PLAIN DOWN""];";
};
class RscTextTraderDialog_1003: RscTextTraderDialog
{
idc = -1;

View File

@@ -0,0 +1,6 @@
#include "RscDisplayCraftingMenu.hpp"
//#include "RscDisplayGear.hpp"
#include "RscDisplayGenderSelect.hpp"
#include "RscDisplaySpawnSelecter.hpp"
#include "RscPlayerUI.hpp"
#include "RscMap.hpp"

View File

@@ -214,6 +214,9 @@ class CfgVehicles {
#include "CfgVehicles\AIR\Mi17.hpp"
#include "CfgVehicles\AIR\UH1.hpp"
#include "CfgVehicles\AIR\AH6.hpp"
#include "CfgVehicles\AIR\C130.hpp"
#include "CfgVehicles\AIR\CH53.hpp"
// LAND (Armed)
#include "CfgVehicles\LAND\HMMWV.hpp"
@@ -618,7 +621,7 @@ class CfgVehicles {
displayName = "Fuel Pump";
vehicleClass = "Fortifications";
constructioncount = 2;
removeoutput[] = {{"ItemFuelPump",1}};
removeoutput[] = {{"fuel_pump_kit",1}};
requireplot = 0;
nounderground = 0;
};

File diff suppressed because it is too large Load Diff

View File

@@ -13,7 +13,7 @@ _magazines = getArray (configFile >> "cfgWeapons" >> _weapon >> "magazines");
if (_ammoType == "") then {_ammoType = _x;};
if (!(_ammoType in _text)) then {_text set [count _text,_ammoType];};
if (_x in magazines player) exitWith {_ammo = _x;};
} forEach _magazines;
} count _magazines;
if (_ammo != "") then {
_vehicle removeMagazineTurret [_ammo,_turret];
_vehicle addMagazineTurret [_ammo,_turret];

View File

@@ -13,7 +13,7 @@ _hastinitem = false;
_hastinitem = true;
};
} forEach boil_tin_cans;
} count boil_tin_cans;
_bottletext = getText (configFile >> "CfgMagazines" >> "ItemWaterbottle" >> "displayName");
_tin1text = getText (configFile >> "CfgMagazines" >> "TrashTinCan" >> "displayName");
@@ -24,7 +24,7 @@ if (!_hastinitem) exitWith {DZE_ActionInProgress = false; cutText [format[(local
_removed = 0;
if (_hasbottleitem and _hastinitem) then {
if (_hasbottleitem && _hastinitem) then {
_qty = {_x == "ItemWaterbottle"} count magazines player;
if ("ItemWaterbottle" in magazines player) then {

View File

@@ -12,22 +12,22 @@ _maxWeapons = getNumber (configFile >> "CfgVehicles" >> _class >> "transportMaxW
// Get max backpack count
_maxBackpacks = getNumber (configFile >> "CfgVehicles" >> _class >> "transportmaxbackpacks");
// Count and show magazines available space
// Count && show magazines available space
_magazineCount_raw = getMagazineCargo _vehicle;
// Count and show weapons available space
// Count && show weapons available space
_weaponsCount_raw = getWeaponCargo _vehicle;
// Count and show backpacks available space
// Count && show backpacks available space
_backpackCount_raw = getBackpackCargo _vehicle;
// Count and show magazines available space
// Count && show magazines available space
_magazineCount = (_magazineCount_raw select 1) call vehicle_gear_count;
// Count and show weapons available space
// Count && show weapons available space
_weaponsCount = (_weaponsCount_raw select 1) call vehicle_gear_count;
// Count and show weapons available space
// Count && show weapons available space
_backpackCount = (_backpackCount_raw select 1) call vehicle_gear_count;
TitleText [format[(localize "str_epoch_player_1"),_magazineCount,_maxMagazines,_weaponsCount,_maxWeapons,_backpackCount,_maxBackpacks], "PLAIN DOWN"];
cutText [format[(localize "str_epoch_player_1"),_magazineCount,_maxMagazines,_weaponsCount,_maxWeapons,_backpackCount,_maxBackpacks], "PLAIN DOWN"];

View File

@@ -43,7 +43,7 @@ _cookedmeat = meatcooked;
if (_isMedic) then {
_started = true;
};
if (_started and !_isMedic) then {
if (_started && !_isMedic) then {
r_doLoop = false;
_finished = true;
};

View File

@@ -7,7 +7,7 @@ if (_dikCode in[0x02,0x03,0x04,0x58,0x57,0x44,0x43,0x42,0x41,0x40,0x3F,0x3E,0x3D
_handled = true;
};
if ((_dikCode == 0x3E or _dikCode == 0x0F or _dikCode == 0xD3)) then {
if ((_dikCode == 0x3E || _dikCode == 0x0F || _dikCode == 0xD3)) then {
if(diag_tickTime - dayz_lastCheckBit > 10) then {
dayz_lastCheckBit = diag_tickTime;
call dayz_forceSave;
@@ -20,6 +20,10 @@ if (_dikCode == 0x01) then {
DZE_cancelBuilding = true;
call dayz_EjectPlayer;
};
// Disable ESC after death
if (_dikCode == 0x01 && r_player_dead) then {
_handled = true;
};
// surrender
if (_dikCode in actionKeys "Surrender") then {
@@ -27,9 +31,9 @@ if (_dikCode in actionKeys "Surrender") then {
_vehicle = vehicle player;
_inVehicle = (_vehicle != player);
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
_canDo = (!r_drag_sqf and !r_player_unconscious and !_onLadder and !_inVehicle);
_canDo = (!r_drag_sqf && !r_player_unconscious && !_onLadder && !_inVehicle);
if (_canDo and !DZE_Surrender and !(player isKindOf "PZombie_VB")) then {
if (_canDo && !DZE_Surrender && !(player isKindOf "PZombie_VB")) then {
DZE_Surrender = true;
_dropPrimary = false;
_dropSecondary = false;
@@ -41,10 +45,10 @@ if (_dikCode in actionKeys "Surrender") then {
if ((getNumber (configFile >> "CfgWeapons" >> _x >> "Type")) == 2) exitWith {
_secondaryWeapon = _x;
};
} forEach (weapons player);
} count (weapons player);
if (_secondaryWeapon != "") then {_dropSecondary = true;};
if (_dropPrimary or _dropSecondary) then {
if (_dropPrimary || _dropSecondary) then {
player playActionNow "PutDown";
_iPos = getPosATL player;
_radius = 1;
@@ -81,15 +85,15 @@ if (_dikCode in actionKeys "MoveRight") exitWith {r_interrupt = true; if (DZE_Su
if (_dikCode in actionKeys "MoveBack") exitWith {r_interrupt = true; if (DZE_Surrender) then {call dze_surrender_off};};
//Prevent exploit of drag body
if ((_dikCode in actionKeys "Prone") and r_drag_sqf) exitWith { force_dropBody = true; };
if ((_dikCode in actionKeys "Crouch") and r_drag_sqf) exitWith { force_dropBody = true; };
if ((_dikCode in actionKeys "Prone") && r_drag_sqf) exitWith { force_dropBody = true; };
if ((_dikCode in actionKeys "Crouch") && r_drag_sqf) exitWith { force_dropBody = true; };
_shift = _this select 2;
_ctrl = _this select 3;
_alt = _this select 4;
//diag_log format["Keypress: %1", _this];
if ((_dikCode in actionKeys "Gear") and (vehicle player != player) and !_shift and !_ctrl and !_alt && !dialog) then {
if ((_dikCode in actionKeys "Gear") && (vehicle player != player) && !_shift && !_ctrl && !_alt && !dialog) then {
createGearDialog [player, "RscDisplayGear"];
_handled = true;
};
@@ -113,59 +117,59 @@ if (_dikCode in (actionKeys "GetOver")) then {
};
};
//if (_dikCode == 57) then {_handled = true}; // space
//if (_dikCode in actionKeys 'MoveForward' or _dikCode in actionKeys 'MoveBack') then {r_interrupt = true};
//if (_dikCode in actionKeys 'MoveForward' || _dikCode in actionKeys 'MoveBack') then {r_interrupt = true};
if (_dikCode == 210) then {
_nill = execvm "\z\addons\dayz_code\actions\playerstats.sqf";
};
if (_dikCode in actionKeys "ForceCommandingMode") then {_handled = true};
if (_dikCode in actionKeys "PushToTalk" and (diag_tickTime - dayz_lastCheckBit > 10)) then {
if (_dikCode in actionKeys "PushToTalk" && (diag_tickTime - dayz_lastCheckBit > 10)) then {
dayz_lastCheckBit = diag_tickTime;
[player,50,true,(getPosATL player)] spawn player_alertZombies;
};
if (_dikCode in actionKeys "VoiceOverNet" and (diag_tickTime - dayz_lastCheckBit > 10)) then {
if (_dikCode in actionKeys "VoiceOverNet" && (diag_tickTime - dayz_lastCheckBit > 10)) then {
dayz_lastCheckBit = diag_tickTime;
[player,50,true,(getPosATL player)] spawn player_alertZombies;
};
if (_dikCode in actionKeys "PushToTalkDirect" and (diag_tickTime - dayz_lastCheckBit > 10)) then {
if (_dikCode in actionKeys "PushToTalkDirect" && (diag_tickTime - dayz_lastCheckBit > 10)) then {
dayz_lastCheckBit = diag_tickTime;
[player,15,false,(getPosATL player)] spawn player_alertZombies;
};
if (_dikCode in actionKeys "Chat" and (diag_tickTime - dayz_lastCheckBit > 10)) then {
if (_dikCode in actionKeys "Chat" && (diag_tickTime - dayz_lastCheckBit > 10)) then {
dayz_lastCheckBit = diag_tickTime;
[player,15,false,(getPosATL player)] spawn player_alertZombies;
};
if (_dikCode in actionKeys "User20" and (diag_tickTime - dayz_lastCheckBit > 5)) then {
if (_dikCode in actionKeys "User20" && (diag_tickTime - dayz_lastCheckBit > 5)) then {
dayz_lastCheckBit = diag_tickTime;
_nill = execvm "\z\addons\dayz_code\actions\playerstats.sqf";
};
// numpad 8 0x48 now pgup 0xC9 1
if ((_dikCode == 0xC9 and (!_alt or !_ctrl)) or (_dikCode in actionKeys "User15")) then {
if ((_dikCode == 0xC9 && (!_alt || !_ctrl)) || (_dikCode in actionKeys "User15")) then {
DZE_Q = true;
};
// numpad 2 0x50 now pgdn 0xD1
if ((_dikCode == 0xD1 and (!_alt or !_ctrl)) or (_dikCode in actionKeys "User16")) then {
if ((_dikCode == 0xD1 && (!_alt || !_ctrl)) || (_dikCode in actionKeys "User16")) then {
DZE_Z = true;
};
// numpad 8 0x48 now pgup 0xC9 0.1
if ((_dikCode == 0xC9 and (_alt and !_ctrl)) or (_dikCode in actionKeys "User13")) then {
if ((_dikCode == 0xC9 && (_alt && !_ctrl)) || (_dikCode in actionKeys "User13")) then {
DZE_Q_alt = true;
};
// numpad 2 0x50 now pgdn 0xD1
if ((_dikCode == 0xD1 and (_alt and !_ctrl)) or (_dikCode in actionKeys "User14")) then {
if ((_dikCode == 0xD1 && (_alt && !_ctrl)) || (_dikCode in actionKeys "User14")) then {
DZE_Z_alt = true;
};
// numpad 8 0x48 now pgup 0xC9 0.01
if ((_dikCode == 0xC9 and (!_alt and _ctrl)) or (_dikCode in actionKeys "User7")) then {
if ((_dikCode == 0xC9 && (!_alt && _ctrl)) || (_dikCode in actionKeys "User7")) then {
DZE_Q_ctrl = true;
};
// numpad 2 0x50 now pgdn 0xD1
if ((_dikCode == 0xD1 and (!_alt and _ctrl)) or (_dikCode in actionKeys "User8")) then {
if ((_dikCode == 0xD1 && (!_alt && _ctrl)) || (_dikCode in actionKeys "User8")) then {
DZE_Z_ctrl = true;
};
@@ -173,15 +177,15 @@ if ((_dikCode == 0xD1 and (!_alt and _ctrl)) or (_dikCode in actionKeys "User8")
// numpad 4 0x4B now Q 0x10
if (_dikCode == 0x10 or (_dikCode in actionKeys "User17")) then {
if (_dikCode == 0x10 || (_dikCode in actionKeys "User17")) then {
DZE_4 = true;
};
// numpad 6 0x4D now E 0x12
if (_dikCode == 0x12 or (_dikCode in actionKeys "User18")) then {
if (_dikCode == 0x12 || (_dikCode in actionKeys "User18")) then {
DZE_6 = true;
};
// numpad 5 0x4C now space 0x39
if (_dikCode == 0x39 or (_dikCode in actionKeys "User19")) then {
if (_dikCode == 0x39 || (_dikCode in actionKeys "User19")) then {
DZE_5 = true;
};

View File

@@ -18,7 +18,7 @@ switch (_type) do {
if( (_removed < _countIn) && ((_x == _itemIn) || configName(inheritsFrom(configFile >> "cfgMagazines" >> _x)) == _itemIn)) then {
_removed = _removed + ([player,_x] call BIS_fnc_invRemove);
};
} forEach magazines player;
} count magazines player;
if(_removed == _countIn) then {
_handle setFSMVariable ["_hunger",0];
player removeAction s_player_feeddog;

View File

@@ -6,7 +6,7 @@ _handle setFSMVariable ["_command","stay"];
_watchDog = _handle getFSMVariable "_watchDog";
_anim = animationState _dog;
if (_anim == "Dog_SitDown" and _watchDog) then {
if (_anim == "Dog_SitDown" && _watchDog) then {
//[objNull, _dog, rSwitchMove,"Dog_SitUp"] call RE;
//sleep 0.5;
[objNull, _dog, rSwitchMove,"Dog_LieDown"] call RE;

View File

@@ -12,7 +12,7 @@ _handle setFSMVariable ["_watchDog",_watchDog];
_warn = {
private ["_watchDog","_dog","_nearby","_senseSkill","_handle"];
_handle = _this select 0;
while {_watchDog and alive _dog} do {
while {_watchDog && alive _dog} do {
_watchDog = _handle getFSMVariable "_watchDog";
_senseSkill = _handle getFSMVariable "_senseSkill";
if (_watchDog) then {

View File

@@ -7,9 +7,11 @@ _isVehicle = false;
_vehicleSrc = _this select 3;
_abort = false;
if(!(isNull _vehicleSrc)) then {
_isVehicle = ((_vehicleSrc isKindOf "AllVehicles") and !(_vehicleSrc isKindOf "Man"));
_isVehicle = ((_vehicleSrc isKindOf "AllVehicles") && !(_vehicleSrc isKindOf "Man"));
// If fuel source is vehicle get actual capacity
_configSrcVeh = configFile >> "cfgVehicles" >> TypeOf(_vehicleSrc);
_capacitySrc = getNumber(_configSrcVeh >> "fuelCapacity");
@@ -21,10 +23,10 @@ _findNearestVehicles = nearestObjects [player, ["AllVehicles"], 30];
_findNearestVehicle = [];
{
//diag_log ("FILL = " + str(_x) + " = " + str(_vehicleSrc));
if (alive _x and !(_x == _vehicleSrc) and !(_x isKindOf "Man")) exitWith {
if (alive _x && !(_x == _vehicleSrc) && !(_x isKindOf "Man")) exitWith {
_findNearestVehicle set [(count _findNearestVehicle),_x];
};
} foreach _findNearestVehicles;
} count _findNearestVehicles;
_IsNearVehicle = count (_findNearestVehicle);
@@ -67,7 +69,7 @@ if(_IsNearVehicle >= 1) then {
if (_isMedic) then {
_started = true;
};
if (_started and !_isMedic) then {
if (_started && !_isMedic) then {
r_doLoop = false;
_finished = true;
};

View File

@@ -29,7 +29,7 @@ while {r_doLoop} do {
if (_isMedic) then {
_started = true;
};
if (_started and !_isMedic) then {
if (_started && !_isMedic) then {
r_doLoop = false;
_finished = true;
};
@@ -50,9 +50,9 @@ if(!_finished) then {
};
if (_finished) then {
// take jerry can and replace with empty
// take jerry can && replace with empty
if(!(_vehicle getVariable ["GeneratorFilled", false]) and ("ItemJerrycan" in magazines player)) then {
if(!(_vehicle getVariable ["GeneratorFilled", false]) && ("ItemJerrycan" in magazines player)) then {
if(([player,"ItemJerrycan"] call BIS_fnc_invRemove) == 1) then {
player addMagazine "ItemJerrycanEmpty";

View File

@@ -4,7 +4,7 @@ player playActionNow "PutDown";
sleep 2;
_flare attachTo [player,[0,0,0],"granat2"];
[_flare, -90, -10] call object_setpitchbank;
_flare setPos (getPos _flare);
[_flare] call FNC_GetSetPos;
_flare setVariable ["owner",player,true];
player removeAction s_player_grabflare;
player removeAction s_player_removeflare;
@@ -14,7 +14,7 @@ dayz_hasLight = true;
_text = getText (configFile >> "CfgAmmo" >> (typeOf _flare) >> "displayName");
s_player_dropflare = player addAction [format[localize "str_actions_medical_16",_text], "\z\addons\dayz_code\actions\flare_drop.sqf",_flare, 1, false, true, "", ""];
while {(alive _flare) and dayz_hasLight} do {
while {(alive _flare) && dayz_hasLight} do {
sleep 0.1;
};
if (dayz_hasLight) then {

View File

@@ -1,4 +1,2 @@
private [];
//["PVDZE_veh_Update",[_this select 3,"all"]] call callRpcProcedure;
PVDZE_veh_Update = [_this select 3,"all"];
publicVariableServer "PVDZE_veh_Update";

View File

@@ -13,7 +13,7 @@ _type = typeOf _item;
_hasHarvested = _item getVariable["meatHarvested",false];
_config = configFile >> "CfgSurvival" >> "Meat" >> _type;
if ((_hasKnife or _hasKnifeBlunt) and !_hasHarvested) then {
if ((_hasKnife || _hasKnifeBlunt) && !_hasHarvested) then {
//Get Animal Type
_isListed = isClass (_config);
_text = getText (configFile >> "CfgVehicles" >> _type >> "displayName");
@@ -37,7 +37,7 @@ if ((_hasKnife or _hasKnifeBlunt) and !_hasHarvested) then {
if (_isMedic) then {
_started = true;
};
if (_started and !_isMedic) then {
if (_started && !_isMedic) then {
r_doLoop = false;
_finished = true;
};
@@ -60,7 +60,7 @@ if ((_hasKnife or _hasKnifeBlunt) and !_hasHarvested) then {
_hasHarvested = _item getVariable["meatHarvested",false];
if(_finished and !_hasHarvested) then {
if(_finished && !_hasHarvested) then {
_item setVariable["meatHarvested",true,true];

View File

@@ -13,7 +13,7 @@ _type = typeOf _item;
_hasHarvested = _item getVariable["meatHarvested",false];
//_config = configFile >> "CfgSurvival" >> "Meat" >> _type;
if ((_hasKnife or _hasKnifeBlunt) and !_hasHarvested) then {
if ((_hasKnife || _hasKnifeBlunt) && !_hasHarvested) then {
//Get Animal Type
//_loop = true;
//_isListed = isClass (_config);
@@ -38,7 +38,7 @@ if ((_hasKnife or _hasKnifeBlunt) and !_hasHarvested) then {
if (_isMedic) then {
_started = true;
};
if (_started and !_isMedic) then {
if (_started && !_isMedic) then {
r_doLoop = false;
_finished = true;
};
@@ -61,7 +61,7 @@ if ((_hasKnife or _hasKnifeBlunt) and !_hasHarvested) then {
_hasHarvested = _item getVariable["meatHarvested",false];
if(_finished and !_hasHarvested) then {
if(_finished && !_hasHarvested) then {
_item setVariable["meatHarvested",true,true];

View File

@@ -4,7 +4,7 @@ _vehicle = _this select 3;
if(DZE_ActionInProgress) exitWith { cutText [(localize "str_epoch_player_32") , "PLAIN DOWN"]; };
DZE_ActionInProgress = true;
{player removeAction _x} forEach s_player_lockunlock;s_player_lockunlock = [];
{player removeAction _x} count s_player_lockunlock;s_player_lockunlock = [];
s_player_lockUnlock_crtl = 1;
_removed = ([player,"ItemHotwireKit",1] call BIS_fnc_invRemove);

View File

@@ -12,10 +12,10 @@ _abort = false;
_fuelCans = [];
{
if(_x == "ItemJerrycanEmpty" or _x == "ItemFuelBarrelEmpty") then {
if(_x == "ItemJerrycanEmpty" || _x == "ItemFuelBarrelEmpty") then {
_fuelCans set [(count _fuelCans),_x];
};
} forEach magazines player;
} count magazines player;
_qty = count _fuelCans;
@@ -29,7 +29,7 @@ _qty = count _fuelCans;
[1,1] call dayz_HungerThirst;
// force animation
player playActionNow "Medic";
// Play sound and alert zombies
// Play sound && alert zombies
_dis=10;
_sfx = "refuel";
@@ -48,7 +48,7 @@ _qty = count _fuelCans;
if (_isMedic) then {
_started = true;
};
if (_started and !_isMedic) then {
if (_started && !_isMedic) then {
r_doLoop = false;
_finished = true;
};
@@ -85,7 +85,7 @@ _qty = count _fuelCans;
sleep 1;
if(_abort) exitWith {};
} forEach _fuelCans;
} count _fuelCans;
s_player_fillfuel = -1;
DZE_ActionInProgress = false;

View File

@@ -4,7 +4,7 @@ _vehicle = _this select 3;
if(DZE_ActionInProgress) exitWith { cutText [(localize "str_epoch_player_37") , "PLAIN DOWN"]; };
DZE_ActionInProgress = true;
{player removeAction _x} forEach s_player_lockunlock;s_player_lockunlock = [];
{player removeAction _x} count s_player_lockunlock;s_player_lockunlock = [];
s_player_lockUnlock_crtl = 1;
PVDZE_veh_Lock = [_vehicle,true];

View File

@@ -1,4 +1,4 @@
//Code developed by Axe Cop - Massiv improvments and performance tunes by Skaronator
//Code developed by Axe Cop - Massiv improvments && performance tunes by Skaronator
private ["_missing","_missingQty","_proceed","_itemIn","_countIn","_qty","_num_removed","_uniqueID","_removed","_removed_total","_tobe_removed_total","_obj","_objectID","_objectUID","_classname","_location","_dir","_objectCharacterID","_object","_temp_removed_array","_textMissing","_target","_objectClasses","_range","_objects","_requirements","_count","_cost","_itemText","_option"];
if (DZE_ActionInProgress) exitWith { cutText [(localize "STR_EPOCH_ACTIONS_2") , "PLAIN DOWN"]; };
@@ -21,7 +21,7 @@ _objects_filtered = [];
if (damage _x >= DZE_DamageBeforeMaint) then {
_objects_filtered set [count _objects_filtered, _x];
};
} forEach _objects;
} count _objects;
_objects = _objects_filtered;
// TODO dynamic requirements based on used building parts?
@@ -49,7 +49,7 @@ switch true do {
case (_count <= 475): {_requirements = [["ItemBriefcase100oz",6]]};
case (_count <= 550): {_requirements = [["ItemBriefcase100oz",7]]};
case (_count <= 625): {_requirements = [["ItemBriefcase100oz",8]]};
case (_count > 700): {_requirements = [["ItemBriefcase100oz",9]]};
case (_count > 625): {_requirements = [["ItemBriefcase100oz",9]]};
};
@@ -66,7 +66,7 @@ switch _option do {
_countIn = _x select 1;
_qty = { (_x == _itemIn) || (configName(inheritsFrom(configFile >> "cfgMagazines" >> _x)) == _itemIn) } count magazines player;
if (_qty < _countIn) exitWith { _missing = _itemIn; _missingQty = (_countIn - _qty); _proceed = false; };
} forEach _requirements;
} count _requirements;
if (_proceed) then {
player playActionNow "Medic";
@@ -100,7 +100,7 @@ switch _option do {
PVDZE_maintainArea = [player,1,_target];
publicVariableServer "PVDZE_maintainArea";
} else {
{player addMagazine _x;} forEach _temp_removed_array;
{player addMagazine _x;} count _temp_removed_array;
cutText [format[(localize "STR_EPOCH_ACTIONS_5"),_removed_total,_tobe_removed_total], "PLAIN DOWN"];
};
} else {
@@ -118,7 +118,7 @@ switch _option do {
_cost = _cost + " and ";
};
_cost = _cost + (str(_countIn) + " of " + _itemText);
} forEach _requirements;
} count _requirements;
cutText [format[(localize "STR_EPOCH_ACTIONS_7"), _count, _cost], "PLAIN DOWN"];
};
};

View File

@@ -2,7 +2,7 @@
DayZ Base Building
Made for DayZ Epoch please ask permission to use/edit/distrubute email vbawol@veteranbastards.com.
*/
private ["_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","_objHupDiff","_needNear","_vehicle","_inVehicle","_requireplot","_objHDiff","_isLandFireDZ","_isTankTrap"];
private ["_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;
@@ -46,7 +46,6 @@ _item = _this;
// Need Near Requirements
_abort = false;
_distance = 3;
_reason = "";
_needNear = getArray (configFile >> "CfgMagazines" >> _item >> "ItemActions" >> "Build" >> "neednearby");
@@ -55,6 +54,7 @@ _needNear = getArray (configFile >> "CfgMagazines" >> _item >> "ItemActions" >>
switch(_x) do{
case "fire":
{
_distance = 3;
_isNear = {inflamed _x} count (getPosATL player nearObjects _distance);
if(_isNear == 0) then {
_abort = true;
@@ -63,6 +63,7 @@ _needNear = getArray (configFile >> "CfgMagazines" >> _item >> "ItemActions" >>
};
case "workshop":
{
_distance = 3;
_isNear = count (nearestObjects [player, ["Wooden_shed_DZ","WoodShack_DZ","WorkBench_DZ"], _distance]);
if(_isNear == 0) then {
_abort = true;
@@ -71,11 +72,11 @@ _needNear = getArray (configFile >> "CfgMagazines" >> _item >> "ItemActions" >>
};
case "fueltank":
{
_distance = 30;
_isNear = count (nearestObjects [player, dayz_fuelsources, _distance]);
if(_isNear == 0) then {
_abort = true;
_reason = "fuel tank";
_distance = 30;
};
};
};
@@ -131,28 +132,28 @@ _findNearestPole = [];
if (alive _x) then {
_findNearestPole set [(count _findNearestPole),_x];
};
} foreach _findNearestPoles;
} count _findNearestPoles;
_IsNearPlot = count (_findNearestPole);
// If item is plot pole and another one exists within 45m
if(_isPole and _IsNearPlot > 0) exitWith { DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_44") , "PLAIN DOWN"]; };
// 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 or _isLandFireDZ) then {
if(_requireplot == 0 || _isLandFireDZ) then {
_canBuildOnPlot = true;
};
} else {
// Since there are plots nearby we check for ownership and then for friend status
// Since there are plots nearby we check for ownership && then for friend status
// check nearby plots ownership and then for friend status
// check nearby plots ownership && then for friend status
_nearestPole = _findNearestPole select 0;
// Find owner
_ownerID = _nearestPole getVariable["CharacterID","0"];
_ownerID = _nearestPole getVariable ["CharacterID","0"];
// diag_log format["DEBUG BUILDING: %1 = %2", dayz_characterID, _ownerID];
@@ -182,8 +183,8 @@ _missing = "";
_hasrequireditem = true;
{
_hastoolweapon = _x in weapons player;
if(!_hastoolweapon) exitWith { _hasrequireditem = false; _missing = getText (configFile >> "cfgWeapons" >> _x >> "displayName"); }
} forEach _require;
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"]; };
@@ -282,7 +283,7 @@ if (_hasrequireditem) then {
if(_zheightdirection == "up_alt") then {
_position set [2,((_position select 2)+1)];
_objHupDiff = _objHupDiff + 1;
_objHDiff = _objHDiff + 1;
};
if(_zheightdirection == "down_alt") then {
_position set [2,((_position select 2)-1)];
@@ -291,7 +292,7 @@ if (_hasrequireditem) then {
if(_zheightdirection == "up_ctrl") then {
_position set [2,((_position select 2)+0.01)];
_objHupDiff = _objHupDiff + 0.01;
_objHDiff = _objHDiff + 0.01;
};
if(_zheightdirection == "down_ctrl") then {
_position set [2,((_position select 2)-0.01)];
@@ -300,7 +301,7 @@ if (_hasrequireditem) then {
_object setDir (getDir _object);
if((_isAllowedUnderGround == 0) and ((_position select 2) < 0)) then {
if((_isAllowedUnderGround == 0) && ((_position select 2) < 0)) then {
_position set [2,0];
};
@@ -336,7 +337,7 @@ if (_hasrequireditem) then {
if(abs(_objHDiff) > 5) exitWith {
_isOk = false;
_cancel = true;
_reason = "Cannot move up or down more than 5 meters";
_reason = "Cannot move up || down more than 5 meters";
detach _object;
deleteVehicle _object;
};
@@ -378,7 +379,7 @@ if (_hasrequireditem) then {
// Get position based on object
_location = _position;
if((_isAllowedUnderGround == 0) and ((_location select 2) < 0)) then {
if((_isAllowedUnderGround == 0) && ((_location select 2) < 0)) then {
_location set [2,0];
};
@@ -413,7 +414,6 @@ if (_hasrequireditem) then {
[player,_dis,true,(getPosATL player)] spawn player_alertZombies;
r_interrupt = false;
_animState = animationState player;
r_doLoop = true;
_started = false;
_finished = false;
@@ -424,11 +424,11 @@ if (_hasrequireditem) then {
if (_isMedic) then {
_started = true;
};
if (_started and !_isMedic) then {
if (_started && !_isMedic) then {
r_doLoop = false;
_finished = true;
};
if (r_interrupt or (player getVariable["combattimeout", 0] >= time)) then {
if (r_interrupt || (player getVariable["combattimeout", 0] >= time)) then {
r_doLoop = false;
};
if (DZE_cancelBuilding) exitWith {

View File

@@ -21,7 +21,7 @@ _findNearestPole = [];
if (alive _x) then {
_findNearestPole set [(count _findNearestPole),_x];
};
} foreach _findNearestPoles;
} count _findNearestPoles;
_IsNearPlot = count (_findNearestPole);
@@ -31,7 +31,7 @@ if(_IsNearPlot == 0) then {
_canBuildOnPlot = true;
} else {
// check nearby plots ownership and then for friend status
// check nearby plots ownership && then for friend status
_nearestPole = _findNearestPole select 0;
// Find owner
@@ -110,7 +110,7 @@ if ((count _upgrade) > 0) then {
if (_abortInvAdd) exitWith {};
} forEach _refund;
} count _refund;
// all parts added proceed
if(_i != 0) then {
@@ -123,7 +123,7 @@ if ((count _upgrade) > 0) then {
// Reset the character ID on locked doors before they inherit the newclassname
if (_classname in DZE_DoorsLocked) then {
_object setVariable ["CharacterID",dayz_characterID,true];
_obj setVariable ["CharacterID",dayz_characterID,true];
_objectCharacterID = dayz_characterID;
};
@@ -150,7 +150,7 @@ if ((count _upgrade) > 0) then {
cutText [format[(localize "str_epoch_player_143"), _i,(getText(configFile >> "CfgMagazines" >> _itemOut >> "displayName"))], "PLAIN DOWN"];
{
[player,(_x select 0),(_x select 1)] call BIS_fnc_invRemove;
} forEach _addedItems;
} count _addedItems;
};

View File

@@ -86,7 +86,7 @@ if (_proceed) then {
} else {
{player addMagazine _x;} forEach _temp_removed_array;
{player addMagazine _x;} count _temp_removed_array;
cutText [format[(localize "str_epoch_player_145"),_removed_total,_tobe_removed_total], "PLAIN DOWN"];
};

View File

@@ -1,137 +0,0 @@
/*
DayZ Enhanced ChopWood
Usage: spawn player_chopWood;
Made for DayZ Epoch please ask permission to use/edit/distrubute email vbawol@veteranbastards.com.
*/
private ["_isOk","_objName","_finished","_proceed","_counter","_itemOut","_countOut","_tree","_distance2d","_distance3d","_trees","_findNearestTree","_finishedTime","_item"];
if(DZE_ActionInProgress) exitWith { cutText [(localize "str_epoch_player_53") , "PLAIN DOWN"]; };
DZE_ActionInProgress = true;
if((currentWeapon player) != "MeleeHatchet_DZE") exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_54"), "PLAIN DOWN"]; };
// allowed trees list move this later
_trees = DZE_trees;
//_item = _this;
call gear_ui_init;
_findNearestTree = [];
{
if("" == typeOf _x) then {
if (alive _x) then {
_objName = _x call DZE_getModelName;
// Exit since we found a tree
if (_objName in _trees) exitWith {
_findNearestTree set [(count _findNearestTree),_x];
};
};
};
} foreach nearestObjects [getPos player, [], 20];
//diag_log format["DEBUG TREES: %1", _findNearestTree];
if (count(_findNearestTree) >= 1) then {
closeDialog 1;
_tree = _findNearestTree select 0;
// get 2d distance
_distance2d = [player, _tree] call BIS_fnc_distance2D;
_distance3d = player distance _tree;
if(_distance2d <= 5) then {
_countOut = ceil(_distance3d-_distance2d);
//diag_log format["DEBUG TREE DISTANCE: %1 - %2 = %3", _distance3d,_distance2d,(_distance3d-_distance2d)];
// Start chop tree loop
_counter = 0;
_isOk = true;
_proceed = false;
while {_isOk} do {
closeDialog 1;
// player playActionNow "Medic";
player playActionNow "GestureSwing";
[player,"chopwood",0,false] call dayz_zombieSpeak;
[player,20,true,(getPosATL player)] spawn player_alertZombies;
r_interrupt = false;
r_doLoop = true;
_finished = false;
_finishedTime = diag_tickTime+3;
while {r_doLoop} do {
if (diag_tickTime >= _finishedTime) then {
r_doLoop = false;
_finished = true;
};
if (r_interrupt) then {
r_doLoop = false;
};
sleep 0.1;
};
if(!_finished) exitWith {
_isOk = false;
_proceed = false;
};
if(_finished) then {
_counter = _counter + 1;
};
cutText [format[(localize "str_epoch_player_147"), _counter, _countOut], "PLAIN DOWN"];
if(_counter == _countOut) exitWith {
_isOk = false;
_proceed = true;
sleep 1;
};
};
if (_proceed) then {
_itemOut = "PartWoodPile";
_item = createVehicle ["WeaponHolder", getPosATL player, [], 1, "CAN_COLLIDE"];
_item addMagazineCargoGlobal [_itemOut,_countOut];
player reveal _item;
// chop down tree
if("" == typeOf _tree) then {
_tree setDamage 1;
};
//diag_log format["DEBUG TREE DAMAGE: %1", _tree];
cutText [format[(localize "str_epoch_player_148"), _countOut], "PLAIN DOWN"];
player action ["Gear", _item];
} else {
r_interrupt = false;
if (vehicle player == player) then {
[objNull, player, rSwitchMove,""] call RE;
player playActionNow "stop";
};
cutText [(localize "str_epoch_player_55"), "PLAIN DOWN"];
};
} else {
cutText [localize "str_player_23", "PLAIN DOWN"];
};
} else {
cutText [localize "str_player_23", "PLAIN DOWN"];
};
DZE_ActionInProgress = false;

View File

@@ -42,7 +42,7 @@ while {r_doLoop} do {
if (_isMedic) then {
_started = true;
};
if (_started and !_isMedic) then {
if (_started && !_isMedic) then {
r_doLoop = false;
_finished = true;
};

View File

@@ -1,55 +1,70 @@
/*
count player magazines with ammo count
value = call player_countmagazines;
value = call player_countMagazines; //must be called from a spawned thread (|| use spawn)
return all player magazines with ammo count
Modified to save backpack magazine count by icomrade - Base for fix by Ziellos2k
*/
private ["_dialog","_control","_magazineArray","_item","_val","_max","_created"];
private ["_control","_item","_val","_max","_count","_magazineArray","_dialog"];
disableSerialization;
disableUserInput true;
_dialog = findDisplay 106;
_created = false;
if ( isNull _dialog ) then {
//startLoadingScreen [""];
createGearDialog [player, "RscDisplayGear"];
_dialog = findDisplay 106;
_created = true;
};
_magazineArray = [];
for "_i" from 109 to 120 do
{
_control = _dialog displayCtrl _i;
_item = gearSlotData _control;
_val = gearSlotAmmoCount _control;
_max = getNumber (configFile >> "CfgMagazines" >> _item >> "count");
_magazineArray = [[],[]];
_dialog = ["0"] call gearDialog_create;
if ((isNull _dialog) || (isNil "_dialog")) exitWith {disableUserInput false; (findDisplay 106) closeDisplay 0; closeDialog 0; _magazineArray};
//Main inventory
for "_i" from 109 to 120 do {
_control = _dialog displayCtrl _i;
_item = gearSlotData _control;
_val = gearSlotAmmoCount _control;
_max = getNumber (configFile >> "CfgMagazines" >> _item >> "count");
if (_item != "") then {
if (_val != _max) then {
_magazineArray set [count _magazineArray,[_item,_val]];
(_magazineArray select 0) set [count (_magazineArray select 0),[_item,_val]];
} else {
_magazineArray set [count _magazineArray,_item];
(_magazineArray select 0) set [count (_magazineArray select 0),_item];
};
};
};
for "_i" from 122 to 129 do
{
_control = _dialog displayCtrl _i;
_item = gearSlotData _control;
_val = gearSlotAmmoCount _control;
_max = getNumber (configFile >> "CfgMagazines" >> _item >> "count");
//Pistol/secondary ammo
for "_i" from 122 to 129 do {
_control = _dialog displayCtrl _i;
_item = gearSlotData _control;
_val = gearSlotAmmoCount _control;
_max = getNumber (configFile >> "CfgMagazines" >> _item >> "count");
if (_item != "") then {
if (_val != _max) then {
_magazineArray set [count _magazineArray,[_item,_val]];
(_magazineArray select 0) set [count (_magazineArray select 0),[_item,_val]];
} else {
_magazineArray set [count _magazineArray,_item];
(_magazineArray select 0) set [count (_magazineArray select 0),_item];
};
};
};
if ( _created ) then {
closeDialog 0;
//endLoadingScreen;
//backpack items
if ((typeOf (unitBackPack player)) != "") then {
_count = getNumber (configFile >> "CfgVehicles" >> (typeOf (unitBackpack Player)) >> "transportMaxMagazines");
ctrlActivate (_dialog displayCtrl 157);
if (gear_done) then {
waitUntil {ctrlShown (_dialog displayCtrl 159)};
sleep 0.001;
};
for "_i" from 5000 to (5000 + _count) do {
_control = _dialog displayCtrl _i;
_item = gearSlotData _control;
_val = gearSlotAmmoCount _control;
_max = getNumber (configFile >> "CfgMagazines" >> _item >> "count");
if (_item != "") then {
if (_val != _max) then {
(_magazineArray select 1) set [count (_magazineArray select 1),[_item,_val]];
} else {
(_magazineArray select 1) set [count (_magazineArray select 1),_item];
};
};
};
};
disableUserInput false;
dayz_Magazines=_magazineArray;
(findDisplay 106) closeDisplay 0;
if (gear_done) then {sleep 0.001;};
_magazineArray

View File

@@ -1,6 +1,6 @@
/*
DayZ Epoch Crafting 0.3
Made for DayZ Epoch and Unleashed by [VB]AWOL please ask permission to use/edit/distrubute email vbawol@veteranbastards.com.
Made for DayZ Epoch && Unleashed by [VB]AWOL please ask permission to use/edit/distrubute email vbawol@veteranbastards.com.
Thanks to thevisad for help with the spawn call fixes.
USAGE EXAMPLE:
@@ -9,7 +9,7 @@ class ItemActions
class Crafting
{
text = "Craft Tent";
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // [Class of itemaction,CfgMagazines or CfgWeapons, item]
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // [Class of itemaction,CfgMagazines || CfgWeapons, item]
neednearby[] = {"workshop","fire"};
requiretools[] = {"ItemToolbox","ItemKnife"}; // (cfgweapons only)
output[] = {{"ItemTent",1}}; // (CfgMagazines, qty)
@@ -20,7 +20,7 @@ class ItemActions
};
};
*/
private ["_tradeComplete","_onLadder","_canDo","_selectedRecipeOutput","_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_itemOut","_countOut","_started","_finished","_animState","_isMedic","_removed","_tobe_removed_total","_textCreate","_textMissing","_selectedRecipeInput","_selectedRecipeInputStrict","_num_removed","_removed_total","_temp_removed_array","_abort","_reason","_isNear","_missingTools","_hastoolweapon","_selectedRecipeTools","_distance","_crafting","_needNear","_item","_baseClass","_num_removed_weapons","_outputWeapons","_inputWeapons","_randomOutput","_craft_doLoop","_selectedWeapon","_selectedMag","_sfx"];
private ["_tradeComplete","_onLadder","_canDo","_selectedRecipeOutput","_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_itemOut","_countOut","_started","_finished","_animState","_isMedic","_removed","_tobe_removed_total","_textCreate","_textMissing","_selectedRecipeInput","_selectedRecipeInputStrict","_num_removed","_removed_total","_temp_removed_array","_abort","_waterLevel","_waterLevel_lowest","_reason","_isNear","_missingTools","_hastoolweapon","_selectedRecipeTools","_distance","_crafting","_needNear","_item","_baseClass","_num_removed_weapons","_outputWeapons","_inputWeapons","_randomOutput","_craft_doLoop","_selectedWeapon","_selectedMag","_sfx"];
if(DZE_ActionInProgress) exitWith { cutText [(localize "str_epoch_player_63") , "PLAIN DOWN"]; };
DZE_ActionInProgress = true;
@@ -37,9 +37,10 @@ _abort = false;
_distance = 3;
_reason = "";
_waterLevel = 0;
_outputWeapons = [];
_selectedRecipeOutput = [];
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
_canDo = (!r_drag_sqf and !r_player_unconscious and !_onLadder);
_canDo = (!r_drag_sqf && !r_player_unconscious && !_onLadder);
// Need Near Requirements
_needNear = getArray (configFile >> _baseClass >> _item >> "ItemActions" >> _crafting >> "neednearby");
@@ -137,7 +138,7 @@ if (_canDo) then {
if (_isMedic) then {
_started = true;
};
if (_started and !_isMedic) then {
if (_started && !_isMedic) then {
r_doLoop = false;
_finished = true;
};
@@ -152,6 +153,7 @@ if (_canDo) then {
_removed_total = 0; // count total of removed items
_tobe_removed_total = 0; // count total of all to be removed items
_waterLevel_lowest = 0; // find the lowest _waterLevel
// Take items
{
_removed = 0;
@@ -160,10 +162,29 @@ if (_canDo) then {
// diag_log format["Recipe Finish: %1 %2", _itemIn,_countIn];
_tobe_removed_total = _tobe_removed_total + _countIn;
// Preselect the item
{
_configParent = configName(inheritsFrom(configFile >> "cfgMagazines" >> _x));
if ((_x == _itemIn) || (!_selectedRecipeInputStrict && _configParent == _itemIn)) then {
// Get lowest waterlevel
if ((_x == "ItemWaterbottle") ||( _configParent == "ItemWaterbottle")) then {
_waterLevel = floor((getNumber(configFile >> "CfgMagazines" >> _x >> "wateroz")) - 1);
if (_waterLevel_lowest == 0 || _waterLevel < _waterLevel_lowest) then {
_waterLevel_lowest = _waterLevel;
};
};
};
} forEach magazines player;
{
_configParent = configName(inheritsFrom(configFile >> "cfgMagazines" >> _x));
if( (_removed < _countIn) && ((_x == _itemIn) || (!_selectedRecipeInputStrict && _configParent == _itemIn))) then {
_num_removed = ([player,_x] call BIS_fnc_invRemove);
if ((_waterLevel_lowest == 0) || ((_waterLevel_lowest > 0) && (getNumber(configFile >> "CfgMagazines" >> _x >> "wateroz") == _waterLevel_lowest))) then {
_num_removed = ([player,_x] call BIS_fnc_invRemove);
}
else {
_num_removed = 0;
};
_removed = _removed + _num_removed;
_removed_total = _removed_total + _num_removed;
if(_num_removed >= 1) then {
@@ -174,7 +195,6 @@ if (_canDo) then {
_temp_removed_array set [count _temp_removed_array,_x];
};
};
} forEach magazines player;
} forEach _selectedRecipeInput;
@@ -189,10 +209,14 @@ if (_canDo) then {
} forEach _inputWeapons;
if (_num_removed_weapons == (count _inputWeapons)) then {
if(_randomOutput == 1) then {
_selectedWeapon = _outputWeapons call BIS_fnc_selectRandom;
_outputWeapons = [_selectedWeapon];
_selectedMag = _selectedRecipeOutput call BIS_fnc_selectRandom;
_selectedRecipeOutput = [_selectedMag];
if (!isNil "_outputWeapons" && count _outputWeapons > 0) then {
_selectedWeapon = _outputWeapons call BIS_fnc_selectRandom;
_outputWeapons = [_selectedWeapon];
};
if (!isNil "_selectedRecipeOutput" && count _selectedRecipeOutput > 0) then {
_selectedMag = _selectedRecipeOutput call BIS_fnc_selectRandom;
_selectedRecipeOutput = [_selectedMag];
};
// exit loop
_craft_doLoop = false;
};
@@ -212,7 +236,7 @@ if (_canDo) then {
};
diag_log format["Checking for water level: %1", _waterLevel];
// diag_log format["Checking for water level: %1", _waterLevel];
for "_x" from 1 to _countOut do {
player addMagazine _itemOut;
@@ -232,7 +256,7 @@ if (_canDo) then {
} else {
// Refund parts since we failed
{player addMagazine _x;} forEach _temp_removed_array;
{player addMagazine _x; } forEach _temp_removed_array;
cutText [format[(localize "str_epoch_player_151"),_removed_total,_tobe_removed_total], "PLAIN DOWN"];
};

View File

@@ -19,7 +19,7 @@ _invehicle = false;
_config = configFile >> "CfgMagazines" >> _itemorignal;
_text = getText (_config >> "displayName");
//getting type of sfx (now just drink od soda open and drink)
//getting type of sfx (now just drink od soda open && drink)
_sfx = getText (_config >> "sfx");
if (!_hasdrinkitem) exitWith {cutText [format[(localize "str_player_31"),_text,"drink"] , "PLAIN DOWN"]};
@@ -35,42 +35,48 @@ if (vehicle player != player) then {
sleep 1;
if (["ItemWaterbottle",_itemorignal] call fnc_inString) then {
//low alert and sound radius
//low alert && sound radius
_dis=5;
[player,_sfx,0,false,_dis] call dayz_zombieSpeak;
[player,_dis,true,(getPosATL player)] spawn player_alertZombies;
player addMagazine "ItemWaterbottleUnfilled";
};
if (["ItemSoda",_itemorignal] call fnc_inString) then {
//higher alert and sound radius
//higher alert && sound radius
_dis=10;
[player,_sfx,0,false,_dis] call dayz_zombieSpeak;
[player,_dis,true,(getPosATL player)] spawn player_alertZombies;
};
if (_hasoutput and !_invehicle) then {
// Selecting output
_itemtodrop = drink_output select (drink_with_output find _itemorignal);
if (_hasoutput) then{
_itemtodrop = drink_output select(drink_with_output find _itemorignal);
if (!_invehicle) then {
// Selecting output
_itemtodrop = drink_output select (drink_with_output find _itemorignal);
sleep 3;
_nearByPile= nearestObjects [(getPosATL player), ["WeaponHolder","WeaponHolderBase"],2];
if (count _nearByPile ==0) then {
_iPos = getPosATL player;
_radius = 0.0;
_item = createVehicle ["WeaponHolder", _iPos, [], _radius, "CAN_COLLIDE"];
_item setposATL _iPos;
} else {
_item = _nearByPile select 0;
};
_item addMagazineCargoGlobal [_itemtodrop,1];
};
if (_invehicle) then {
sleep 2;
(vehicle player) addMagazineCargoGlobal [_itemtodrop,1];
};
sleep 3;
_nearByPile= nearestObjects [(getPosATL player), ["WeaponHolder","WeaponHolderBase"],2];
if (count _nearByPile ==0) then {
_iPos = getPosATL player;
_radius = 0.0;
_item = createVehicle ["WeaponHolder", _iPos, [], _radius, "CAN_COLLIDE"];
_item setposATL _iPos;
} else {
_item = _nearByPile select 0;
};
_item addMagazineCargoGlobal [_itemtodrop,1];
};
//add infection chance for "ItemWaterbottle",
if ((random 15 < 1) and (_itemorignal == "ItemWaterbottle")) then {
if ((random 15 < 1) && (_itemorignal == "ItemWaterbottle")) then {
r_player_infected = true;
player setVariable["USEC_infected",true,true];
};

View File

@@ -1,27 +0,0 @@
private ["_item","_config","_onLadder","_consume","_meleeNum","_bag"];
_item = _this;
_config = configFile >> "CfgWeapons" >> _item;
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
if (_onLadder) exitWith {cutText [(localize "str_player_21") , "PLAIN DOWN"]};
call gear_ui_init;
_consume = ([] + getArray (_config >> "magazines")) select 0;
_meleeNum = ({_x == _consume} count magazines player);
for "_i" from 1 to _meleeNum do {
player removeMagazine _consume;
};
player removeWeapon _item;
if (_item == "MeleeHatchet_DZE") then {_item = "ItemHatchet_DZE";};
if (_item == "MeleeCrowbar") then {_item = "MeleeCrowbar";};
if (_item == "MeleeMachete") then {_item = "ItemMachete";};
//if (_item == "MeleeFishingPole") then {_item = "MeleeFishingPole";};
//if (_item == "MeleeSledge") then {_item = "MeleeSledge";};
_bag = createVehicle [format["WeaponHolder_%1",_item],getPosATL player,[], 0, "CAN_COLLIDE"];
_bag setdir (getDir player);
player reveal _bag;

View File

@@ -48,7 +48,7 @@ if (dayz_lastMeal < 3600) then {
};
};
if (_hasoutput and !_invehicle) then {
if (_hasoutput && !_invehicle) then {
// Selecting output
_itemtodrop = food_output select (food_with_output find _itemorignal);
@@ -65,12 +65,17 @@ if (_hasoutput and !_invehicle) then {
_item addMagazineCargoGlobal [_itemtodrop,1];
};
if (_rawfood and !_rawexceptions and (random 15 < 1)) then {
if (_hasoutput && _invehicle) then {
sleep 2;
(vehicle player) addMagazineCargoGlobal [_itemtodrop,1];
};
if (_rawfood && !_rawexceptions && (random 15 < 1)) then {
r_player_infected = true;
player setVariable["USEC_infected",true,true];
};
if (_badfood and (random 2 < 1)) then {
if (_badfood && (random 2 < 1)) then {
r_player_infected = true;
player setVariable["USEC_infected",true,true];
};

View File

@@ -21,4 +21,4 @@ _findNearestlight = [];
};
};
} foreach nearestObjects [getPos player, [], 20];
} count nearestObjects [([player] call FNC_getPos), [], 20];

View File

@@ -31,7 +31,7 @@ r_interrupt = false;
while {_isOk} do {
if (r_interrupt or (player getVariable["combattimeout", 0] >= time)) then {
if (r_interrupt || (player getVariable["combattimeout", 0] >= time)) then {
_isOk = false;
cutText [(localize "str_epoch_player_68"), "PLAIN DOWN"];
} else {

View File

@@ -39,7 +39,7 @@ _findNearestTree = [];
};
};
} foreach nearestObjects [getPos player, [], 10];
} count nearestObjects [([player] call FNC_getPos), [], 10];
//diag_log format["DEBUG TREES: %1", _findNearestTree];
@@ -68,7 +68,7 @@ if (count(_findNearestTree) >= 1) then {
if (_isMedic) then {
_started = true;
};
if (_started and !_isMedic) then {
if (_started && !_isMedic) then {
r_doLoop = false;
_finished = true;
[player,"chopwood",0,false] call dayz_zombieSpeak;

View File

@@ -33,12 +33,12 @@ while {r_doLoop} do {
_animState = animationState player;
_isMedic = ["medic",_animState] call fnc_inString;
_posL = getPos _liftHeli;
_posC = getPos _vehicle;
_posL = [_liftHeli] call FNC_getPos;
_posC = [_vehicle] call FNC_getPos;
_height = (_posL select 2) - (_posC select 2);
/*
if(_height < 20) then {
if(((abs((_posL select 0) - (_posC select 0))) < 10) and ((abs((_posL select 1) - (_posC select 1))) < 10)) then {
if(((abs((_posL select 0) - (_posC select 0))) < 10) && ((abs((_posL select 1) - (_posC select 1))) < 10)) then {
_moved = true;
};
} else {
@@ -57,7 +57,7 @@ while {r_doLoop} do {
r_doLoop = false;
_finished = true;
};
if (r_interrupt or _moved or (typeName _attached == "OBJECT") or (typeName _hasAttached == "OBJECT")) then {
if (r_interrupt || _moved || (typeName _attached == "OBJECT") || (typeName _hasAttached == "OBJECT")) then {
r_doLoop = false;
};
sleep 0.1;
@@ -72,7 +72,7 @@ if(_finished) then {
while {r_doLoop} do {
_attached = _vehicle getVariable["attached",false];
if(((getPos _liftHeli) select 2) < 5) then {
if ((([_liftHeli] call FNC_getPos) select 2) < 5) then {
r_doLoop = false;
};
@@ -90,10 +90,10 @@ if(_finished) then {
player playActionNow "stop";
cutText [format["the lift heli moved to much from the vehicle that was being lifted!"], "PLAIN DOWN"]; //display text at bottom center of screen on interrupt
} else {
if((typeName _attached == "OBJECT") or (typeName _hasAttached == "OBJECT")) then {
if((typeName _attached == "OBJECT") || (typeName _hasAttached == "OBJECT")) then {
player switchMove "";
player playActionNow "stop";
cutText [format["Another vehicle was attached or the vehicle was attached to another heli!"], "PLAIN DOWN"]; //display text at bottom center of screen on interrupt
cutText [format["Another vehicle was attached || the vehicle was attached to another heli!"], "PLAIN DOWN"]; //display text at bottom center of screen on interrupt
} else {
r_interrupt = false;
player switchMove "";

View File

@@ -1,142 +0,0 @@
/*
DayZ Mine Ore
Usage: spawn player_mineOre;
Made for DayZ Epoch please ask permission to use/edit/distrubute email vbawol@veteranbastards.com.
*/
private ["_isOk","_objName","_started","_finished","_animState","_isMedic","_proceed","_counter","_itemOut","_countOut","_rock","_distance2d","_rockBox","_rocks","_findNearestRock","_item","_rnd"];
if(DZE_ActionInProgress) exitWith { cutText [(localize "str_epoch_player_79") , "PLAIN DOWN"]; };
DZE_ActionInProgress = true;
// allowed rocks list move this later
_rocks = ["r2_boulder2.p3d","r2_rock1.p3d","r2_rocktower.p3d","r2_boulder1.p3d"];
//_item = _this;
call gear_ui_init;
_findNearestRock = [];
{
if("" == typeOf _x) then {
if (alive _x) then {
_objName = _x call DZE_getModelName;
// Exit since we found a tree
if (_objName in _rocks) exitWith {
_findNearestRock set [(count _findNearestRock),_x];
};
};
};
} foreach nearestObjects [getPos player, [], 20];
//diag_log format["DEBUG ROCKS: %1 | Alive:%2", _findNearestRock, alive (_rocks select 0)];
if (count(_findNearestRock) >= 1) then {
_rock = _findNearestRock select 0;
// get 2d distance
_distance2d = [player, _rock] call BIS_fnc_distance2D;
if(_distance2d <= 12) then {
_rnd=0;
_rockBox = boundingBox _rock;
_countOut = ((_rockBox select 1 select 0)+(_rockBox select 1 select 1)+(_rockBox select 1 select 2))/3;
if(_countOut<1)then{_countOut=_countOut*10};
_countOut = round (_countOut - _distance2d);
//Max / Min Values
if(_countOut>12)then{_countOut=12};
if(_countOut<1)then{_countOut=4};
//diag_log format["DEBUG ROCK DISTANCE: %1 - %2 = %3", _rockBox,_distance2d,(_distance3d-_distance2d)];
//axeDiagLog = format["DEBUG ROCK DISTANCE: _rockBox:%1 | _distance2d:%2 | typeOf:%3 | alive:%4 | _countOut:%5 | damage:%6", _rockBox,_distance2d,typeOf _rock,alive _rock,_countOut,damage _rock ];
//publicVariable "axeDiagLog";
// Start ore mining
_counter = 0;
_isOk = true;
_proceed = false;
while {_isOk} do {
player playActionNow "Medic";
[player,20,true,(getPosATL player)] spawn player_alertZombies;
r_interrupt = false;
_animState = animationState player;
r_doLoop = true;
_started = false;
_finished = false;
while {r_doLoop} do {
_animState = animationState player;
_isMedic = ["medic",_animState] call fnc_inString;
if (_isMedic) then {
_started = true;
};
if (_started and !_isMedic) then {
r_doLoop = false;
_finished = true;
[player,"repair",0,false] call dayz_zombieSpeak;
};
if (r_interrupt) then {
r_doLoop = false;
};
sleep 0.1;
};
if(!_finished) exitWith {
_isOk = false;
_proceed = false;
};
if(_finished) then {
_counter = _counter + 1;
};
cutText [format[(localize "str_epoch_player_155"), _counter, _countOut], "PLAIN DOWN"];
if(_counter == _countOut) exitWith {
_isOk = false;
_proceed = true;
sleep 1;
};
};
if (_proceed) then {
_itemOut = "PartOre";
_item = createVehicle ["WeaponHolder", getPosATL player, [], 1, "CAN_COLLIDE"];
_item addMagazineCargoGlobal [_itemOut,_countOut];
player reveal _item;
/* break rock
if("" == typeOf _rock) then {
_rock setDamage 1;
};
diag_log format["DEBUG TREE DAMAGE: %1", _rock];
*/
cutText [format[(localize "str_epoch_player_156"), _countOut], "PLAIN DOWN"];
} else {
r_interrupt = false;
if (vehicle player == player) then {
[objNull, player, rSwitchMove,""] call RE;
player playActionNow "stop";
};
cutText [(localize "str_epoch_player_80"), "PLAIN DOWN"];
};
} else {
cutText [localize "str_player_32", "PLAIN DOWN"];
};
} else {
cutText [localize "str_player_32", "PLAIN DOWN"];
};
DZE_ActionInProgress = false;

View File

@@ -91,10 +91,10 @@ _qtynew_create_mags_full = floor(_qtynew_create_ammo/_create_magsize);
_qtynew_consume_ammo_rest = _qtynew_consume_ammo - (_qtynew_consume_mags_full*_consume_magsize);
_qtynew_create_ammo_rest = _qtynew_create_ammo - (_qtynew_create_mags_full*_create_magsize);
// abort if no complete mags or partial mag is less than 15% full
if(_qtynew_create_ammo_rest > 0 and _qtynew_create_ammo_rest < (_create_magsize*0.85)) exitWith { cutText [(localize "str_epoch_player_81"), "PLAIN DOWN"]; };
// abort if no complete mags || partial mag is less than 15% full
if(_qtynew_create_ammo_rest > 0 && _qtynew_create_ammo_rest < (_create_magsize*0.85)) exitWith { cutText [(localize "str_epoch_player_81"), "PLAIN DOWN"]; };
//remove all _consume and _create mags (we already have total ammo count)
//remove all _consume && _create mags (we already have total ammo count)
player removeMagazines _consume;
player removeMagazines _create;

View File

@@ -5,18 +5,19 @@ _caller = _this select 1;
call fnc_usec_medic_removeActions;
r_action = false;
_callerID = _caller getVariable "CharacterID";
_targetID = _target getVariable "CharacterID";
_callerID = _caller getVariable ["CharacterID", "0"];
_targetID = _target getVariable ["CharacterID", "0"];
if ((_callerID != "0") && (_targetID != "0")) then {
_friendlies = _caller getVariable ["friendlies", []];
_friendlies set [count _friendlies, _targetID];
_caller setVariable ["friendlies", _friendlies, true];
_friendlies = _caller getVariable ["friendlies", []];
_friendlies set [count _friendlies, _targetID];
_caller setVariable ["friendlies", _friendlies, true];
_rfriendlies = _target getVariable ["friendlies", []];
_rfriendlies = _target getVariable ["friendlies", []];
if !(_callerID in _rfriendlies) then {
titleText [(localize "STR_EPOCH_ACTIONS_8"), "PLAIN DOWN"]; //To Caller
/* PVS/PVC - Skaronator */
PVDZE_send = [_target,"tagFriendly",[_target]]; //To Target
publicVariableServer "PVDZE_send";
if !(_callerID in _rfriendlies) then {
titleText [(localize "STR_EPOCH_ACTIONS_8"), "PLAIN DOWN"]; //To Caller
/* PVS/PVC - Skaronator */
PVDZE_send = [_target,"tagFriendly",[_target]]; //To Target
publicVariableServer "PVDZE_send";
};
};

View File

@@ -22,7 +22,7 @@ _findNearestPole = [];
if (alive _x) then {
_findNearestPole set [(count _findNearestPole),_x];
};
} foreach _findNearestPoles;
} count _findNearestPoles;
_IsNearPlot = count (_findNearestPole);
@@ -32,7 +32,7 @@ if(_IsNearPlot == 0) then {
_canBuildOnPlot = true;
} else {
// check nearby plots ownership and then for friend status
// check nearby plots ownership && then for friend status
_nearestPole = _findNearestPole select 0;
// Find owner
@@ -171,7 +171,7 @@ if ((count _upgrade) > 0) then {
} else {
{player addMagazine _x;} forEach _temp_removed_array;
{player addMagazine _x;} count _temp_removed_array;
cutText [format[(localize "str_epoch_player_145"),_removed_total,_tobe_removed_total], "PLAIN DOWN"];
};

View File

@@ -10,7 +10,6 @@ _config = configFile >> "CfgMagazines" >> _item;
_text = getText (_config >> "displayName");
if (!_hasmeditem) exitWith {cutText [format[(localize "str_player_31"),_text,"use"] , "PLAIN DOWN"]};
switch (_item) do {
case "ItemBandage": {
_id = [0,0,0,[player]] execVM "\z\addons\dayz_code\medical\bandage.sqf";
@@ -24,6 +23,9 @@ switch (_item) do {
case "ItemAntibiotic": {
_id = [0,0,0,[player]] execVM "\z\addons\dayz_code\medical\antibiotics.sqf";
};
case "ItemBloodbag": {
_id = [0,0,0,[player]] execVM "\z\addons\dayz_code\medical\self_transfusion.sqf";
};
case "ItemHeatPack": {
player removeMagazine "ItemHeatPack";
dayz_temperatur = (dayz_temperatur + 5) min dayz_temperaturmax;

View File

@@ -21,7 +21,7 @@ if (!_hasclothesitem) exitWith { DZE_ActionInProgress = false; cutText [format[(
if (vehicle player != player) exitWith { DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_85"), "PLAIN DOWN"]};
if (!isNull (unitBackpack player)) exitWith { DZE_ActionInProgress = false; cutText [(localize "STR_EPOCH_ACTIONS_9"), "PLAIN DOWN"] };
//if (!isNull (unitBackpack player)) exitWith { DZE_ActionInProgress = false; cutText [(localize "STR_EPOCH_ACTIONS_9"), "PLAIN DOWN"] };
if ("CSGAS" in (magazines player)) exitWith { DZE_ActionInProgress = false; cutText [(localize "STR_EPOCH_ACTIONS_10"), "PLAIN DOWN"] };

View File

@@ -1,8 +1,9 @@
private "_name";
//Let Zeds know
[player,4,true,(getPosATL player)] spawn player_alertZombies;
//display gui (temp hint)
_name = if (alive player) then {name player;} else {"Dead Player";};
hintSilent parseText format ["
<t size='1.20' font='Bitstream' color='#5882FA'>%1</t><br/><br/>
<t size='1.20' font='Bitstream' color='#5882FA'>Survived %7 Days</t><br/><br/>
@@ -11,7 +12,7 @@ hintSilent parseText format ["
<t size='1.15' font='Bitstream' align='left'>Murders: </t><t size='1.15' font='Bitstream' align='right'>%4</t><br/>
<t size='1.15' font='Bitstream' align='left'>Bandits Killed: </t><t size='1.15' font='Bitstream' align='right'>%5</t><br/><br/>
<t size='1.15' font='Bitstream' align='left'>Humanity: </t><t size='1.15' font='Bitstream' align='right'>%6</t><br/><br/>",
(name player),
(_name),
(player getVariable['zombieKills', 0]),
(player getVariable['headShots', 0]),
(player getVariable['humanKills', 0]),

View File

@@ -10,7 +10,7 @@ if (!isNull cursorTarget) then {
if(player distance _ent < 5) then {
if (_ent isKindOf "Animal" or _isZombie) then {
if (_ent isKindOf "Animal" || _isZombie) then {
_ent setDamage 1;
} else {
/* PVS/PVC - Skaronator */

View File

@@ -69,7 +69,7 @@ if(!(alive _item)) then {
[player,"eat",0,false] call dayz_zombieSpeak;
// todo: dump loot on ground and then remove
// todo: dump loot on ground && then remove
//Ensure Control is visible
_display = uiNamespace getVariable 'DAYZ_GUI_display';

View File

@@ -18,7 +18,7 @@ _index = 0;
_NV set [_index,(_NV select _index) + _x];
_index =_index + 1;
} forEach _increase;
} count _increase;
// set rgb + m
player setVariable [_NVx, _NV];

View File

@@ -16,7 +16,7 @@ _nameText = getText(_configVeh >> "displayName");
// _availableCansEmpty = ["ItemJerrycanEmpty","ItemFuelBarrelEmpty"];
_availableCans = ["ItemJerrycan","ItemFuelBarrel"];
// Loop to find containers that can could hold fuel and fill them
// Loop to find containers that can could hold fuel && fill them
{
_configCan = configFile >> "CfgMagazines" >> _x;
@@ -61,7 +61,7 @@ _availableCans = ["ItemJerrycan","ItemFuelBarrel"];
if (_isMedic) then {
_started = true;
};
if (_started and !_isMedic) then {
if (_started && !_isMedic) then {
r_doLoop = false;
_finished = true;
};
@@ -146,6 +146,6 @@ _availableCans = ["ItemJerrycan","ItemFuelBarrel"];
// exit if abort flag was set
if(_abort) exitWith {};
} forEach magazines player;
} count magazines player;
DZE_ActionInProgress = false;

View File

@@ -47,7 +47,7 @@ else {
_findNearestPoles = nearestObjects[player, ["Plastic_Pole_EP1_DZ"], 30];
_findNearestPole = [];
{if (alive _x) then {_findNearestPole set [(count _findNearestPole),_x];};} foreach _findNearestPoles;
{if (alive _x) then {_findNearestPole set [(count _findNearestPole),_x];};} count _findNearestPoles;
_IsNearPlot = count (_findNearestPole);
@@ -109,7 +109,7 @@ while {_isOk} do {
if (_isMedic) then {
_started = true;
};
if (_started and !_isMedic) then {
if (_started && !_isMedic) then {
r_doLoop = false;
_finished = true;
_sfx = "repair";
@@ -131,7 +131,7 @@ while {_isOk} do {
if(_finished) then {
_counter = _counter + 1;
// 10% chance to break a required tool each pass
if((_isDestructable or _isRemovable) and !_isOwnerOfObj) then {
if((_isDestructable || _isRemovable) && !_isOwnerOfObj) then {
if((random 10) <= 1) then {
_brokenTool = true;
};
@@ -217,7 +217,7 @@ if (_proceed) then {
};
// give refund items
if((count _selectedRemoveOutput) > 0 and !_preventRefund) then {
if((count _selectedRemoveOutput) > 0 && !_preventRefund) then {
_item = createVehicle ["WeaponHolder", _iPos, [], _radius, "CAN_COLLIDE"];
{
_itemOut = _x select 0;
@@ -226,7 +226,7 @@ if (_proceed) then {
_countOut = round((random (_countOut select 1)) + (_countOut select 0));
};
_item addMagazineCargoGlobal [_itemOut,_countOut];
} forEach _selectedRemoveOutput;
} count _selectedRemoveOutput;
_item setposATL _iPos;

View File

@@ -20,7 +20,7 @@ _namePart = getText(configFile >> "cfgMagazines" >> _part >> "displayName");
s_player_repair_crtl = 1;
if (_section and _hasToolbox) then {
if (_section && _hasToolbox) then {
[1,1] call dayz_HungerThirst;
player playActionNow "Medic";
@@ -42,7 +42,7 @@ if (_section and _hasToolbox) then {
if (_isMedic) then {
_started = true;
};
if (_started and !_isMedic) then {
if (_started && !_isMedic) then {
r_doLoop = false;
_finished = true;
};
@@ -70,7 +70,7 @@ if (_section and _hasToolbox) then {
//Fix the part
_selection = getText(configFile >> "cfgVehicles" >> _type >> "HitPoints" >> _hitpoint >> "name");
//vehicle is owned by whoever is in it, so we have to have each client try and fix it
//vehicle is owned by whoever is in it, so we have to have each client try && fix it
PVDZE_veh_SFix = [_vehicle,_selection,0];
publicVariable "PVDZE_veh_SFix";
if (local _vehicle) then {
@@ -99,7 +99,7 @@ if (_section and _hasToolbox) then {
cutText [format[(localize "str_epoch_player_167"),_namePart], "PLAIN DOWN"];
};
{dayz_myCursorTarget removeAction _x} forEach s_player_repairActions;s_player_repairActions = [];
{dayz_myCursorTarget removeAction _x} count s_player_repairActions;s_player_repairActions = [];
dayz_myCursorTarget = objNull;
//check if repaired fully
@@ -110,7 +110,7 @@ _allFixed = true;
if (_damage > 0) exitWith {
_allFixed = false;
};
} forEach _hitpoints;
} count _hitpoints;
//update if repaired
if (_allFixed) then {

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