mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Compare commits
403 Commits
Release_1.
...
production
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c9ec8da3d8 | ||
|
|
d6c118c331 | ||
|
|
b01e44c9ee | ||
|
|
3aa6837247 | ||
|
|
cd3ebfb9d1 | ||
|
|
c2af9b54e6 | ||
|
|
d77635f7e9 | ||
|
|
3060b98521 | ||
|
|
b257b088c6 | ||
|
|
770458f84f | ||
|
|
aa5a1b213b | ||
|
|
f56c134497 | ||
|
|
ddf4fc67c5 | ||
|
|
60b2b4dbe0 | ||
|
|
98c396dd18 | ||
|
|
18d6b929e5 | ||
|
|
2db2410438 | ||
|
|
568ce050ce | ||
|
|
8d37745870 | ||
|
|
b4ed5bc183 | ||
|
|
2bda70b516 | ||
|
|
c651816e9f | ||
|
|
cffd65f839 | ||
|
|
ed3d944fbf | ||
|
|
335dd6cba1 | ||
|
|
499b18978a | ||
|
|
03804cbf82 | ||
|
|
ed956d0455 | ||
|
|
d84178d069 | ||
|
|
6aa7b3dc6a | ||
|
|
babeceb02d | ||
|
|
041ccb3be2 | ||
|
|
d9f492cdca | ||
|
|
0c8737777e | ||
|
|
9b4d2651e2 | ||
|
|
919e65d19e | ||
|
|
e25641aaa0 | ||
|
|
a5452ab019 | ||
|
|
46e84ccf7c | ||
|
|
ee3df72d56 | ||
|
|
f6b267e167 | ||
|
|
0176e5efbb | ||
|
|
aa416e43fc | ||
|
|
a79e86ba33 | ||
|
|
b113c2e353 | ||
|
|
b43a8f8390 | ||
|
|
added923f8 | ||
|
|
234b97f4b2 | ||
|
|
db6c3ec6ac | ||
|
|
426dbb36cc | ||
|
|
8f15e5f4ff | ||
|
|
32146dd079 | ||
|
|
5ef386e5f4 | ||
|
|
ad6530c579 | ||
|
|
6757429878 | ||
|
|
b144c7dce6 | ||
|
|
92b942757d | ||
|
|
a8f3fc3b30 | ||
|
|
9cdb49a8ea | ||
|
|
98b00ed2cd | ||
|
|
af24ff3291 | ||
|
|
87a914ca9e | ||
|
|
f886cea45a | ||
|
|
2215c3040e | ||
|
|
899f8c93e1 | ||
|
|
c9c6f0309a | ||
|
|
d4bfc2e4c1 | ||
|
|
873b6026c7 | ||
|
|
07f0e8f4b5 | ||
|
|
27a1f82065 | ||
|
|
57dfbe8f34 | ||
|
|
6fc575cacc | ||
|
|
65c08ace63 | ||
|
|
40b1063fa9 | ||
|
|
d6a5b6ae67 | ||
|
|
55e394d00a | ||
|
|
aabebc05ad | ||
|
|
9ab56cffe5 | ||
|
|
4c314b8c3c | ||
|
|
e9faa77d8f | ||
|
|
859173aad3 | ||
|
|
303a097e59 | ||
|
|
7b4af30c21 | ||
|
|
0f008a62df | ||
|
|
d3dc9bd22e | ||
|
|
1317497db8 | ||
|
|
726e4e0c22 | ||
|
|
a6953a69c2 | ||
|
|
af1725f5ec | ||
|
|
e7571b072d | ||
|
|
d88d497e16 | ||
|
|
e72d6617ed | ||
|
|
77697cd8ee | ||
|
|
00383dd8d0 | ||
|
|
6b9b176736 | ||
|
|
77d835289b | ||
|
|
5ad78ec051 | ||
|
|
c2f216dac8 | ||
|
|
dffa644cf4 | ||
|
|
645a115f21 | ||
|
|
cabec25e5d | ||
|
|
04f509f340 | ||
|
|
a82fb4e4fc | ||
|
|
57eb28d1f3 | ||
|
|
1948965489 | ||
|
|
d2fcfefb0b | ||
|
|
13d8023e82 | ||
|
|
ef546dbf3a | ||
|
|
433163e67d | ||
|
|
22ae8fbe22 | ||
|
|
5af8afefb0 | ||
|
|
e54b9983dd | ||
|
|
91d246e64e | ||
|
|
774441ef45 | ||
|
|
88ded0f3c0 | ||
|
|
2506636938 | ||
|
|
985d205ec2 | ||
|
|
90b128f4ba | ||
|
|
80cfbd668c | ||
|
|
d4b680b4a1 | ||
|
|
bdd7dfbe99 | ||
|
|
9d4b7ad4fc | ||
|
|
8340113203 | ||
|
|
ad369f18ff | ||
|
|
55d49c279b | ||
|
|
af86c90bff | ||
|
|
2c23aa517d | ||
|
|
cd4197e617 | ||
|
|
08b4e53e33 | ||
|
|
881362d237 | ||
|
|
4d6055af8b | ||
|
|
05e0df06aa | ||
|
|
9b52797f84 | ||
|
|
feec3e19f5 | ||
|
|
bbb869bac9 | ||
|
|
af0b5e14bb | ||
|
|
907b4c1cda | ||
|
|
f511357358 | ||
|
|
e902254fd5 | ||
|
|
30a9527d16 | ||
|
|
c92e43c763 | ||
|
|
de146327fe | ||
|
|
638f65f56c | ||
|
|
aa5d510ccf | ||
|
|
34695bd92d | ||
|
|
5c8049a476 | ||
|
|
b556348a9d | ||
|
|
9483ed817f | ||
|
|
3d97f6e17d | ||
|
|
e1577bc4f3 | ||
|
|
6193106f7f | ||
|
|
2d4dd552c0 | ||
|
|
f1130d121f | ||
|
|
3436ae2111 | ||
|
|
bcd62cb00e | ||
|
|
e3f003b19b | ||
|
|
589ddc35d6 | ||
|
|
6ab4103b7f | ||
|
|
f4e9982e90 | ||
|
|
f636754aea | ||
|
|
376a55f09d | ||
|
|
099b83daf6 | ||
|
|
b9236a7e90 | ||
|
|
e37fb5e6db | ||
|
|
b7ccf30d20 | ||
|
|
165dd1b545 | ||
|
|
a3dfbde300 | ||
|
|
4e60c8b086 | ||
|
|
fb7b8e9d92 | ||
|
|
63a56b3130 | ||
|
|
b6750055be | ||
|
|
bdd3f4312d | ||
|
|
83a342cb7c | ||
|
|
c540ee65d3 | ||
|
|
df29c690b4 | ||
|
|
1109010a02 | ||
|
|
f6f8e45b83 | ||
|
|
43591797e8 | ||
|
|
a03a276894 | ||
|
|
296dc59f27 | ||
|
|
f35a374f3b | ||
|
|
cdde8328db | ||
|
|
413563d3c4 | ||
|
|
a29c362ab2 | ||
|
|
89840388f2 | ||
|
|
3a8651603b | ||
|
|
1bcc6b8a9a | ||
|
|
81094e6275 | ||
|
|
b5ef0530e2 | ||
|
|
e28a0526a1 | ||
|
|
b100ca89e6 | ||
|
|
ae2668c195 | ||
|
|
188825ebc0 | ||
|
|
209d7f4d04 | ||
|
|
36db1015b5 | ||
|
|
bb87b52340 | ||
|
|
df0845e702 | ||
|
|
5c5a0b2e3a | ||
|
|
4c0e6f68e7 | ||
|
|
6d15d3facc | ||
|
|
6861f9eec7 | ||
|
|
cda042a5bc | ||
|
|
2e124db29a | ||
|
|
f409946072 | ||
|
|
2101b18b0a | ||
|
|
b7c6dfed53 | ||
|
|
98b1fe56a5 | ||
|
|
66eb30fd15 | ||
|
|
f174e4b2a7 | ||
|
|
f5ad4672b3 | ||
|
|
cf53406795 | ||
|
|
4d87fb9d4b | ||
|
|
eefbc3b209 | ||
|
|
1769792a10 | ||
|
|
c77e5d263a | ||
|
|
bfd0fc3664 | ||
|
|
f30c2be426 | ||
|
|
fd0da54a15 | ||
|
|
5090fe67d3 | ||
|
|
14ffe25b68 | ||
|
|
5029315b78 | ||
|
|
d3053dcd4c | ||
|
|
370f0ad5f1 | ||
|
|
4a2b2c72f0 | ||
|
|
be18f51f8a | ||
|
|
52c9d251cf | ||
|
|
92c80a2b7b | ||
|
|
54f690bcd8 | ||
|
|
aa6ff16eac | ||
|
|
f82a84146e | ||
|
|
13babfec28 | ||
|
|
6ef0acd135 | ||
|
|
2c7a5c6c9e | ||
|
|
db8d2bd8f8 | ||
|
|
99e4f0be32 | ||
|
|
e145b06542 | ||
|
|
b127c5ebd1 | ||
|
|
d75544559d | ||
|
|
8262431ba3 | ||
|
|
928d4ff18f | ||
|
|
d4837bebca | ||
|
|
8ddcf24bde | ||
|
|
f24ef95e12 | ||
|
|
82b35d4a02 | ||
|
|
514d21bdea | ||
|
|
2fb92a00a1 | ||
|
|
094c127e7b | ||
|
|
b80bb88467 | ||
|
|
935ed7931d | ||
|
|
7812bcc7b0 | ||
|
|
ac05bcd1f9 | ||
|
|
9fbdb63407 | ||
|
|
9d042f1de5 | ||
|
|
6b0ebbf99d | ||
|
|
930af421e0 | ||
|
|
6c360073c2 | ||
|
|
e2b95634e3 | ||
|
|
1c4290ffd6 | ||
|
|
0053b1fbe8 | ||
|
|
a792520f62 | ||
|
|
9ba6d1159c | ||
|
|
a45403aa4a | ||
|
|
3b7b05c732 | ||
|
|
22bfba6573 | ||
|
|
1d9e361ef4 | ||
|
|
ad2642a5f9 | ||
|
|
7f23f1c4f2 | ||
|
|
058519c926 | ||
|
|
f5dff8d0b7 | ||
|
|
3c28809247 | ||
|
|
eaa0ba1b04 | ||
|
|
af91767a38 | ||
|
|
6340d5f908 | ||
|
|
bf3154dd2b | ||
|
|
217636511a | ||
|
|
ac45aee602 | ||
|
|
cb58f1da21 | ||
|
|
6decf34a30 | ||
|
|
67a12f5c70 | ||
|
|
be3cc5e5a5 | ||
|
|
7836b6f61c | ||
|
|
793ef39de7 | ||
|
|
4e35d15b14 | ||
|
|
9d453ec7a0 | ||
|
|
fa21eb9316 | ||
|
|
b212f56ad0 | ||
|
|
c0a9f28c07 | ||
|
|
a04c32e227 | ||
|
|
bfcb44c558 | ||
|
|
af0da36391 | ||
|
|
2093fdbeaa | ||
|
|
69893b7d01 | ||
|
|
4fcc5ef052 | ||
|
|
a6a330a3c5 | ||
|
|
4403c4e69b | ||
|
|
6faa7f1902 | ||
|
|
9fb899afbf | ||
|
|
0e0e331a73 | ||
|
|
5e27942bd0 | ||
|
|
e54cce6845 | ||
|
|
945ad16332 | ||
|
|
54ebc8aac0 | ||
|
|
253767e1e1 | ||
|
|
a1fe8ff336 | ||
|
|
9b90f8e2af | ||
|
|
1c19e85bd7 | ||
|
|
d0ed591683 | ||
|
|
b6c3bc1a50 | ||
|
|
0b1779baef | ||
|
|
61e86abe4c | ||
|
|
c284754ace | ||
|
|
c9181047ab | ||
|
|
4f82e8e380 | ||
|
|
a3885ac187 | ||
|
|
bf13a783d9 | ||
|
|
6c0581bda9 | ||
|
|
5fc7c14899 | ||
|
|
1d113ab7af | ||
|
|
684ef74c8e | ||
|
|
ad22c7df04 | ||
|
|
d74602fb95 | ||
|
|
86869bdf03 | ||
|
|
96f9e1009b | ||
|
|
dd2bf5d676 | ||
|
|
5f6d6e12eb | ||
|
|
47e1473412 | ||
|
|
8dc7ce4250 | ||
|
|
c55ac56bb6 | ||
|
|
9ebd85956c | ||
|
|
0614ad7119 | ||
|
|
9d854f9a04 | ||
|
|
a5ae1c33b7 | ||
|
|
84a530d417 | ||
|
|
4e7b4f7705 | ||
|
|
86ce8f6879 | ||
|
|
fb902eb819 | ||
|
|
72dee3c644 | ||
|
|
c3cdd80c4d | ||
|
|
0c2aebbff2 | ||
|
|
2a91d7d5bc | ||
|
|
2ed8ac27fd | ||
|
|
50774a6b77 | ||
|
|
cd7718c426 | ||
|
|
1463a67262 | ||
|
|
d09e0ec7f6 | ||
|
|
5d55a4eade | ||
|
|
86b1f294aa | ||
|
|
f05adb95da | ||
|
|
1872e7f278 | ||
|
|
d66bf8d909 | ||
|
|
1e578fff9b | ||
|
|
f0886c0175 | ||
|
|
407741b7dd | ||
|
|
9dbf409cdd | ||
|
|
dcfaf2e841 | ||
|
|
3301f7bb31 | ||
|
|
919404b3a9 | ||
|
|
bab669c74a | ||
|
|
07b41f143f | ||
|
|
45834527c4 | ||
|
|
bbdec2733a | ||
|
|
86b03dbb70 | ||
|
|
eb74239f21 | ||
|
|
970f4854f8 | ||
|
|
b0888b8a64 | ||
|
|
4b839a7a2e | ||
|
|
d48f11bb9f | ||
|
|
29cfe1b618 | ||
|
|
5b0179b196 | ||
|
|
5f3b5b8801 | ||
|
|
4954d41389 | ||
|
|
34444e3494 | ||
|
|
a89bb8f2a0 | ||
|
|
4b61a2bb81 | ||
|
|
e81760ab60 | ||
|
|
b7166d3e29 | ||
|
|
5b3a8efb5d | ||
|
|
1d60f7b1bb | ||
|
|
3b68f0f3b6 | ||
|
|
f0e7622856 | ||
|
|
8e99b7a75b | ||
|
|
1c2e81b9dd | ||
|
|
d13239edf5 | ||
|
|
6a78fa2ca4 | ||
|
|
d0cae9e85f | ||
|
|
8166943719 | ||
|
|
d1ec3b6951 | ||
|
|
ce6246882d | ||
|
|
99791dec20 | ||
|
|
0c4323b28d | ||
|
|
cf8dd1180e | ||
|
|
ad632c7416 | ||
|
|
705e6963f3 | ||
|
|
36a79609b2 | ||
|
|
7944113218 | ||
|
|
a3e5438d56 | ||
|
|
fea5041cab | ||
|
|
78a1da77b8 | ||
|
|
f1319b29bb | ||
|
|
4e06469036 | ||
|
|
3aa7ce2232 | ||
|
|
c3de692246 | ||
|
|
e4aa8c4bf7 |
9
CHANGE LOG 1.0.5.1.txt
Normal file
9
CHANGE LOG 1.0.5.1.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
[ADDED] Updated Sauerland map V1.80.04 by Falconsan http://epochmod.com/forum/index.php?/topic/6365-dayz-epoch-sauerland-changelog
|
||||
[ADDED] Configure AH6J for DZ + DZE @icomrade
|
||||
|
||||
[FIXED] Fixed client crash when player has chainsaw due to corrupt RTM file. @vbawol
|
||||
|
||||
[INFO] dayz_epoch1051.bikey found in client files "Keys" folder.
|
||||
[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.
|
||||
35
Documents/CHANGE LOG 1.0.5.txt
Normal file
35
Documents/CHANGE LOG 1.0.5.txt
Normal 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.
|
||||
82
README.md
82
README.md
@@ -1,6 +1,10 @@
|
||||
**DayZ Epoch**
|
||||
================
|
||||
|
||||
#Production Branch
|
||||
|
||||
This branch is current deployed game code.
|
||||
|
||||
Experimental DayZ mod
|
||||
|
||||
http://dayzepoch.com
|
||||
@@ -10,6 +14,7 @@ Based on DayZ Mod Community edition
|
||||
https://github.com/DayZMod/DayZ/blob/Release_1.8/Documentation/Credits.md
|
||||
http://dayzmod.com
|
||||
|
||||
|
||||
--------------------------
|
||||
Included Custom Addons
|
||||
--------------------------
|
||||
@@ -25,6 +30,8 @@ Included Custom Addons
|
||||
* Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr and Sahbazz http://www.armaholic.com/page.php?id=13053
|
||||
* gdtmod_grass 1.00 by HeinBloed - http://www.gdt-server.net/
|
||||
* Bell 47/H-13 Helicopter by hcpookie - http://www.armaholic.com/page.php?id=22143
|
||||
* USEC CH53 by Rocket - http://dayz.com
|
||||
* More enterable buildings - Dayzero - https://zombies.nu/
|
||||
|
||||
--------------------------
|
||||
Included Custom Islands
|
||||
@@ -37,36 +44,61 @@ Included Custom Islands
|
||||
* | German Town - and waysigns http://www.armaholic.com/page.php?id=9658
|
||||
|
||||
--------------------------
|
||||
Developers
|
||||
Initial 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
|
||||
* Axle - Tester, Trader City Designer - http://www.twitch.tv/axles
|
||||
* Paul Tomany - Models, Textures - ptomany@gmail.com - http://www.twitch.tv/sequisha
|
||||
* [VB]GREEN - Graphics - http://www.twitch.tv/vbgreen
|
||||
|
||||
--------------------------
|
||||
Contributors
|
||||
GitHub Collaborators (In order of most commits)
|
||||
--------------------------
|
||||
* Fank - Fixes - https://github.com/Fank
|
||||
* facoptere - Extra Security - https://github.com/facoptere
|
||||
* Torndeco - Fixes - https://github.com/Torndeco
|
||||
* Armifer - Humanity changes. - https://github.com/Armifer
|
||||
* AVendettaForYou - Trader City Tavi - https://github.com/AVendettaForYou
|
||||
* Skaronator, krazey - German Localization - https://github.com/Skaronator https://github.com/krazey
|
||||
* VeryBigBro - Russian Localization - https://github.com/VeryBigBro
|
||||
* th4z - French Localization - https://github.com/th4z
|
||||
* JoSchaap - Dutch Localization and some typo's - https://github.com/JoSchaap
|
||||
* Maca134 - Improved Trader Menus, Death Message menu, Experimental hive 999 support - maca134@gmail.com
|
||||
* Tansien - Hive Update to visual studio 2013, added 396 and 397 CHILD for Maintain - https://github.com/Tansien
|
||||
* aeinstein - Crafting now supports all can types. - https://github.com/aeinstein
|
||||
* vos / Axe Cop - Area Maintenance and ideas - https://github.com/vos
|
||||
* GeodarCZ - Czech Localization, correction - https://github.com/Geodar
|
||||
* Brovns - Czech Localization - https://github.com/Brovns
|
||||
* Doomscythe - Czech Localization, correction - https://github.com/Doomscythe
|
||||
* vbawol - https://github.com/vbawol
|
||||
* eltexonline - https://github.com/eltexonline
|
||||
* zabn - https://github.com/zabn
|
||||
* Sequisha - https://github.com/Sequisha
|
||||
* andgregor - https://github.com/andgregor
|
||||
* facoptere - https://github.com/facoptere
|
||||
* dayz10k - https://github.com/dayz10k
|
||||
* Skaronator - https://github.com/Skaronator
|
||||
* icomrade - https://github.com/icomrade
|
||||
* Axles - https://github.com/Axles
|
||||
* Armifer - https://github.com/Armifer
|
||||
|
||||
--------------------------
|
||||
GitHub Contributors (In order of most commits)
|
||||
--------------------------
|
||||
* vbawol - https://github.com/vbawol
|
||||
* dayz10k - https://github.com/dayz10k
|
||||
* Skaronator - https://github.com/Skaronator
|
||||
* Fank - https://github.com/Fank
|
||||
* andgregor - https://github.com/andgregor
|
||||
* Axles - https://github.com/Axles
|
||||
* zabn - https://github.com/zabn
|
||||
* eltexonline - https://github.com/eltexonline
|
||||
* icomrade - https://github.com/icomrade
|
||||
* Namindu - https://github.com/Namindu
|
||||
* raginruffalo - https://github.com/raginruffalo
|
||||
* Adaptivity - https://github.com/Adaptivity
|
||||
* facoptere - https://github.com/facoptere
|
||||
* ctcDNightmare - https://github.com/ctcDNightmare
|
||||
* SGanthony - https://github.com/SGanthony
|
||||
* Geodar - https://github.com/Geodar
|
||||
* Sandbird - https://github.com/Sandbird
|
||||
* krazey - https://github.com/krazey
|
||||
* jostster - https://github.com/jostster
|
||||
* SilvDev - https://github.com/SilvDev
|
||||
* AVendettaForYou - https://github.com/AVendettaForYou
|
||||
* Sequisha - https://github.com/Sequisha
|
||||
* Armifer - https://github.com/Armifer
|
||||
* infiSTAR - https://github.com/infiSTAR
|
||||
* Cornyfisch - https://github.com/Cornyfisch
|
||||
* JoSchaap - https://github.com/JoSchaap
|
||||
* maca134 - https://github.com/maca134
|
||||
* Schmoopiie - https://github.com/Schmoopiie
|
||||
* nahkiss - https://github.com/nahkiss
|
||||
* BlackLA - https://github.com/BlackLA
|
||||
|
||||
--------------------------
|
||||
Special thanks
|
||||
|
||||
12233
SQF/dayz/config.cpp
12233
SQF/dayz/config.cpp
File diff suppressed because it is too large
Load Diff
@@ -1 +0,0 @@
|
||||
dayz_anim
|
||||
File diff suppressed because one or more lines are too long
@@ -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
@@ -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
696
SQF/dayz_code/Configs/CfgLoot/CfgBuildingLoot.hpp
Normal file
696
SQF/dayz_code/Configs/CfgLoot/CfgBuildingLoot.hpp
Normal 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"
|
||||
};
|
||||
@@ -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;
|
||||
501
SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp
Normal file
501
SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp
Normal 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}
|
||||
};
|
||||
};
|
||||
276
SQF/dayz_code/Configs/CfgLoot/CfgLootSmall.hpp
Normal file
276
SQF/dayz_code/Configs/CfgLoot/CfgLootSmall.hpp
Normal 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}
|
||||
};
|
||||
};
|
||||
@@ -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"};
|
||||
|
||||
@@ -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
|
||||
@@ -377,4 +390,21 @@ class ItemHotwireKit: CA_Magazine {
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_hotwire_ca.paa";
|
||||
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;";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -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";
|
||||
|
||||
60
SQF/dayz_code/Configs/CfgMagazines/DZE/Ores.hpp
Normal file
60
SQF/dayz_code/Configs/CfgMagazines/DZE/Ores.hpp
Normal 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}};
|
||||
};
|
||||
};
|
||||
};
|
||||
108
SQF/dayz_code/Configs/CfgPlayerStats/defines.hpp
Normal file
108
SQF/dayz_code/Configs/CfgPlayerStats/defines.hpp
Normal 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};
|
||||
};
|
||||
99
SQF/dayz_code/Configs/CfgPlayerStats/p__cover.hpp
Normal file
99
SQF/dayz_code/Configs/CfgPlayerStats/p__cover.hpp
Normal 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;";
|
||||
};
|
||||
};
|
||||
|
||||
458
SQF/dayz_code/Configs/CfgPlayerStats/p_bandits_killed.hpp
Normal file
458
SQF/dayz_code/Configs/CfgPlayerStats/p_bandits_killed.hpp
Normal 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;";
|
||||
};
|
||||
};
|
||||
450
SQF/dayz_code/Configs/CfgPlayerStats/p_headshots.hpp
Normal file
450
SQF/dayz_code/Configs/CfgPlayerStats/p_headshots.hpp
Normal 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;";
|
||||
};
|
||||
};
|
||||
148
SQF/dayz_code/Configs/CfgPlayerStats/p_humanity_art.hpp
Normal file
148
SQF/dayz_code/Configs/CfgPlayerStats/p_humanity_art.hpp
Normal 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;";
|
||||
};
|
||||
};
|
||||
249
SQF/dayz_code/Configs/CfgPlayerStats/p_journal_humanity.hpp
Normal file
249
SQF/dayz_code/Configs/CfgPlayerStats/p_journal_humanity.hpp
Normal 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;";
|
||||
};
|
||||
};
|
||||
439
SQF/dayz_code/Configs/CfgPlayerStats/p_murders.hpp
Normal file
439
SQF/dayz_code/Configs/CfgPlayerStats/p_murders.hpp
Normal 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;";
|
||||
};
|
||||
};
|
||||
461
SQF/dayz_code/Configs/CfgPlayerStats/p_zombies_killed.hpp
Normal file
461
SQF/dayz_code/Configs/CfgPlayerStats/p_zombies_killed.hpp
Normal 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;";
|
||||
};
|
||||
};
|
||||
22
SQF/dayz_code/Configs/CfgPlayerStats/sound.hpp
Normal file
22
SQF/dayz_code/Configs/CfgPlayerStats/sound.hpp
Normal 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[] = {};
|
||||
};
|
||||
};
|
||||
@@ -1,4 +1,49 @@
|
||||
class AH6_Base_EP1;
|
||||
class AH6J_EP1_DZ: AH6_Base_EP1
|
||||
{
|
||||
scope = 2;
|
||||
side = 2;
|
||||
displayName = "AH6J_DZ";
|
||||
crew = "";
|
||||
typicalCargo[] = {};
|
||||
weapons[] = {"TwinM134","CMFlareLauncher"};
|
||||
magazines[] = {"4000Rnd_762x51_M134","60Rnd_CMFlareMagazine"};
|
||||
threat[] = {0.6,0.4,0.1};
|
||||
gunBeg[] = {"muzzle_1","muzzle_2"};
|
||||
gunEnd[] = {"chamber_1","chamber_2"};
|
||||
radarType = 0;
|
||||
class TransportMagazines {};
|
||||
class TransportWeapons {};
|
||||
class Turrets {};
|
||||
class AnimationSources
|
||||
{
|
||||
class Gatling_1
|
||||
{
|
||||
source = "revolving";
|
||||
weapon = "TwinM134";
|
||||
};
|
||||
class Gatling_2
|
||||
{
|
||||
source = "revolving";
|
||||
weapon = "TwinM134";
|
||||
};
|
||||
};
|
||||
hiddenSelections[] = {"camo1","camo2"};
|
||||
hiddenSelectionsTextures[] = {"ca\air_e\ah6j\data\ah6_merge1_co.paa","ca\air_e\ah6j\data\default_co.paa"};
|
||||
commanderCanSee = 2+16+32;
|
||||
gunnerCanSee = 2+16+32;
|
||||
driverCanSee = 2+16+32;
|
||||
transportMaxWeapons = 3;
|
||||
transportMaxMagazines = 10;
|
||||
transportmaxbackpacks = 2;
|
||||
};
|
||||
class AH6J_EP1_DZE: AH6J_EP1_DZ
|
||||
{
|
||||
scope = 2;
|
||||
side = 2;
|
||||
displayName = "AH6J_DZE";
|
||||
magazines[] = {};
|
||||
};
|
||||
class AH6X_DZ: AH6_Base_EP1 {
|
||||
displayname = "AH6X Little Bird";
|
||||
displaynameshort = "AH6X_DZ";
|
||||
|
||||
6
SQF/dayz_code/Configs/CfgVehicles/AIR/C130.hpp
Normal file
6
SQF/dayz_code/Configs/CfgVehicles/AIR/C130.hpp
Normal file
@@ -0,0 +1,6 @@
|
||||
class C130J_US_EP1;
|
||||
class C130J_US_EP1_DZ: C130J_US_EP1 {
|
||||
transportMaxWeapons = 50;
|
||||
transportMaxMagazines = 400;
|
||||
transportmaxbackpacks = 20;
|
||||
};
|
||||
20
SQF/dayz_code/Configs/CfgVehicles/AIR/CH53.hpp
Normal file
20
SQF/dayz_code/Configs/CfgVehicles/AIR/CH53.hpp
Normal 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;
|
||||
};
|
||||
@@ -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";
|
||||
};
|
||||
@@ -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
@@ -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[] = {};
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
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";
|
||||
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";
|
||||
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Pickup_PK_GUE_DZ: Pickup_PK_base
|
||||
{
|
||||
scope = 2;
|
||||
side = 2;
|
||||
faction = "GUE";
|
||||
terrainCoef = 2.5;
|
||||
|
||||
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
@@ -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
|
||||
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
|
||||
{
|
||||
transportMaxWeapons = 20; // car 10
|
||||
transportMaxMagazines = 100; // car 50
|
||||
transportmaxbackpacks = 4; // car 2
|
||||
upgradeVehicle[] = {"UAZ_Unarmed_TK_EP1_DZE4",{{"ItemTNK",1},{"PartFueltank",2}}};
|
||||
class Upgrades {
|
||||
ItemTNK[] = {"UAZ_CDF_DZE4",{},{{"ItemTNK",1},{"PartFueltank",2}}};
|
||||
};
|
||||
};
|
||||
class UAZ_Unarmed_UN_EP1_DZE3: UAZ_Unarmed_UN_EP1_DZE2
|
||||
{
|
||||
class UAZ_INS_DZE3: UAZ_INS_DZE2 {
|
||||
transportMaxWeapons = 20; // car 10
|
||||
transportMaxMagazines = 100; // car 50
|
||||
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
|
||||
};
|
||||
|
||||
@@ -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}}};
|
||||
|
||||
class Upgrades {
|
||||
ItemAVE[] = {"VWGolf_DZE2",{},{{"ItemAVE",1},{"PartGeneric",4},{"ItemTankTrap",2}}};
|
||||
};
|
||||
};
|
||||
|
||||
// Armor 2
|
||||
class VWGolf_DZE2: VWGolf_DZE1
|
||||
{
|
||||
class VWGolf_DZE2: VWGolf_DZE1 {
|
||||
armor = 50; // car 20
|
||||
upgradeVehicle[] = {"VWGolf_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[] = {"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
|
||||
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
|
||||
};
|
||||
@@ -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
|
||||
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
|
||||
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
|
||||
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
@@ -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
|
||||
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
|
||||
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
|
||||
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}}};
|
||||
};
|
||||
};
|
||||
@@ -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";
|
||||
@@ -557,4 +558,4 @@ class Camo1_DZ: BAF_Soldier_L_W {
|
||||
respawnMagazines[] = {};
|
||||
weaponSlots = "1 + 4 + 12* 256 + 2* 4096 + 2 + 8* 16 + 12*131072";
|
||||
canHideBodies = 1;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
|
||||
@@ -84,7 +87,7 @@ class CfgWeapons {
|
||||
{
|
||||
scope = 2;
|
||||
//melee= "true";
|
||||
|
||||
|
||||
/*
|
||||
bullet1[] = {"ca\sounds\weapons\shells\big_shell_wood_01",0.0707946,1,15};
|
||||
bullet2[] = {"ca\sounds\weapons\shells\big_shell_wood_02",0.0707946,1,15};
|
||||
@@ -101,20 +104,20 @@ class CfgWeapons {
|
||||
*/
|
||||
|
||||
//soundBullet[] = {"bullet1",0.083,"bullet2",0.083,"bullet3",0.083,"bullet4",0.083,"bullet5",0.083,"bullet6",0.083,"bullet7",0.083,"bullet8",0.083,"bullet9",0.083,"bullet10",0.083,"bullet11",0.083,"bullet12",0.083};
|
||||
|
||||
|
||||
emptySound[] = {"",10,1};
|
||||
soundBullet[] = {"emptySound",1};
|
||||
|
||||
|
||||
|
||||
model = "\z\addons\dayz_epoch\models\chainsaw.p3d";
|
||||
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_chainsaw_CA.paa";
|
||||
|
||||
|
||||
displayName = "Chainsaw";
|
||||
|
||||
|
||||
cursor = "";
|
||||
cursoraim = "\ca\Weapons\Data\clear_empty";
|
||||
|
||||
|
||||
modes[] = {"manual"};
|
||||
handAnim[]=
|
||||
{
|
||||
@@ -125,7 +128,7 @@ class CfgWeapons {
|
||||
{
|
||||
recoil = "recoil_auto_machinegun_10outof10";
|
||||
recoilProne = "recoil_auto_machinegun_prone_10outof10";
|
||||
|
||||
|
||||
dispersion = 0.2;
|
||||
|
||||
begin1[] = {"\dayz_sfx\chainsaw\running2.ogg",1.77828,1,1000};
|
||||
@@ -143,10 +146,10 @@ class CfgWeapons {
|
||||
|
||||
burst = 1;
|
||||
multiplier = 1;
|
||||
|
||||
|
||||
soundContinuous = 0;
|
||||
soundBurst = 0;
|
||||
|
||||
|
||||
useAction = 0;
|
||||
useActionTitle = "";
|
||||
|
||||
@@ -207,7 +210,7 @@ class CfgWeapons {
|
||||
class PistolCore; // External class reference
|
||||
class Pistol; // External class reference
|
||||
class GrenadeLauncher; // External class reference
|
||||
|
||||
|
||||
class DMR; // External class reference
|
||||
|
||||
class ItemMatchbox_DZE: ItemCore
|
||||
@@ -235,7 +238,7 @@ class CfgWeapons {
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
#include "CfgWeapons\Loot.hpp"
|
||||
|
||||
#include "CfgWeapons\Melee\MeleeMachete.hpp"
|
||||
@@ -250,7 +253,7 @@ class CfgWeapons {
|
||||
#include "CfgWeapons\Melee\MeleeSledgehammer.hpp"
|
||||
// #include "CfgWeapons\Melee\MeleeBaseBallBatBarbed.hpp"
|
||||
// #include "CfgWeapons\Melee\MeleeBaseBallBatNails.hpp"
|
||||
|
||||
|
||||
#include "CfgWeapons\Item\ItemWatch.hpp"
|
||||
#include "CfgWeapons\Item\ItemMap.hpp"
|
||||
#include "CfgWeapons\Item\ItemMap_Debug.hpp"
|
||||
@@ -264,14 +267,14 @@ class CfgWeapons {
|
||||
#include "CfgWeapons\Item\ItemKeyKit.hpp"
|
||||
#include "CfgWeapons\Item\ItemKeys.hpp"
|
||||
#include "CfgWeapons\Item\ItemToolbox.hpp"
|
||||
|
||||
|
||||
//Sniper Rifles
|
||||
#include "CfgWeapons\Weapon\Sniper\AS50.hpp"
|
||||
#include "CfgWeapons\Weapon\Sniper\M107.hpp"
|
||||
#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"
|
||||
|
||||
@@ -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"};
|
||||
};
|
||||
1110
SQF/dayz_code/Configs/RscDisplay/RscDisplayCraftingMenu.hpp
Normal file
1110
SQF/dayz_code/Configs/RscDisplay/RscDisplayCraftingMenu.hpp
Normal file
File diff suppressed because it is too large
Load Diff
1016
SQF/dayz_code/Configs/RscDisplay/RscDisplayGear.hpp
Normal file
1016
SQF/dayz_code/Configs/RscDisplay/RscDisplayGear.hpp
Normal file
File diff suppressed because it is too large
Load Diff
54
SQF/dayz_code/Configs/RscDisplay/RscDisplayGenderSelect.hpp
Normal file
54
SQF/dayz_code/Configs/RscDisplay/RscDisplayGenderSelect.hpp
Normal 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};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -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)";
|
||||
};
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
316
SQF/dayz_code/Configs/RscDisplay/RscPlayerUI.hpp
Normal file
316
SQF/dayz_code/Configs/RscDisplay/RscPlayerUI.hpp
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -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;
|
||||
|
||||
6
SQF/dayz_code/Configs/RscDisplay/includes.hpp
Normal file
6
SQF/dayz_code/Configs/RscDisplay/includes.hpp
Normal file
@@ -0,0 +1,6 @@
|
||||
#include "RscDisplayCraftingMenu.hpp"
|
||||
//#include "RscDisplayGear.hpp"
|
||||
#include "RscDisplayGenderSelect.hpp"
|
||||
#include "RscDisplaySpawnSelecter.hpp"
|
||||
#include "RscPlayerUI.hpp"
|
||||
#include "RscMap.hpp"
|
||||
@@ -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
@@ -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];
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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"];
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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,16 +177,16 @@ 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;
|
||||
};
|
||||
|
||||
_handled
|
||||
_handled
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
@@ -147,4 +149,4 @@ if(_IsNearVehicle >= 1) then {
|
||||
} else {
|
||||
cutText [(localize "str_epoch_player_27"), "PLAIN DOWN"];
|
||||
};
|
||||
DZE_ActionInProgress = false;
|
||||
DZE_ActionInProgress = false;
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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";
|
||||
publicVariableServer "PVDZE_veh_Update";
|
||||
|
||||
@@ -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];
|
||||
|
||||
|
||||
@@ -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];
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
@@ -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];
|
||||
|
||||
@@ -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"];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -21,7 +21,7 @@ _findNearestPole = [];
|
||||
if (alive _x) then {
|
||||
_findNearestPole set [(count _findNearestPole),_x];
|
||||
};
|
||||
} foreach _findNearestPoles;
|
||||
} count _findNearestPoles;
|
||||
|
||||
_IsNearPlot = count (_findNearestPole);
|
||||
|
||||
@@ -30,18 +30,18 @@ _canBuildOnPlot = false;
|
||||
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
|
||||
// Find owner
|
||||
_ownerID = _nearestPole getVariable["CharacterID","0"];
|
||||
|
||||
// diag_log format["DEBUG BUILDING: %1 = %2", dayz_characterID, _ownerID];
|
||||
|
||||
// check if friendly to owner
|
||||
if(dayz_characterID == _ownerID) then {
|
||||
_canBuildOnPlot = true;
|
||||
_canBuildOnPlot = true;
|
||||
} else {
|
||||
_friendlies = player getVariable ["friendlyTo",[]];
|
||||
// check if friendly to owner
|
||||
@@ -87,7 +87,7 @@ if ((count _upgrade) > 0) then {
|
||||
[1,1] call dayz_HungerThirst;
|
||||
player playActionNow "Medic";
|
||||
[player,20,true,(getPosATL player)] spawn player_alertZombies;
|
||||
|
||||
|
||||
_invResult = false;
|
||||
_abortInvAdd = false;
|
||||
_i = 0;
|
||||
@@ -96,7 +96,7 @@ if ((count _upgrade) > 0) then {
|
||||
{
|
||||
_itemOut = _x select 0;
|
||||
_countOut = _x select 1;
|
||||
|
||||
|
||||
for "_x" from 1 to _countOut do {
|
||||
_invResult = [player,_itemOut] call BIS_fnc_invAdd;
|
||||
if(!_invResult) exitWith {
|
||||
@@ -107,29 +107,29 @@ if ((count _upgrade) > 0) then {
|
||||
_addedItems set [(count _addedItems),[_itemOut,1]];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
if (_abortInvAdd) exitWith {};
|
||||
|
||||
} forEach _refund;
|
||||
} count _refund;
|
||||
|
||||
// all parts added proceed
|
||||
if(_i != 0) then {
|
||||
|
||||
|
||||
// Get position
|
||||
_location = _obj getVariable["OEMPos",(getposATL _obj)];
|
||||
|
||||
// Get direction
|
||||
_dir = getDir _obj;
|
||||
|
||||
|
||||
// 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;
|
||||
};
|
||||
|
||||
_classname = _newclassname;
|
||||
|
||||
// Create new object
|
||||
|
||||
// Create new object
|
||||
_object = createVehicle [_classname, [0,0,0], [], 0, "CAN_COLLIDE"];
|
||||
|
||||
// Set direction
|
||||
@@ -137,23 +137,23 @@ if ((count _upgrade) > 0) then {
|
||||
|
||||
// Set location
|
||||
_object setPosATL _location;
|
||||
|
||||
|
||||
|
||||
|
||||
cutText [format[(localize "str_epoch_player_142"),_text], "PLAIN DOWN", 5];
|
||||
|
||||
PVDZE_obj_Swap = [_objectCharacterID,_object,[_dir,_location],_classname,_obj,player];
|
||||
publicVariableServer "PVDZE_obj_Swap";
|
||||
|
||||
player reveal _object;
|
||||
|
||||
|
||||
} else {
|
||||
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;
|
||||
|
||||
};
|
||||
|
||||
|
||||
} else {
|
||||
cutText [(localize "str_epoch_player_51"), "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
@@ -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"];
|
||||
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
_magazineArray
|
||||
|
||||
(findDisplay 106) closeDisplay 0;
|
||||
if (gear_done) then {sleep 0.001;};
|
||||
_magazineArray
|
||||
|
||||
@@ -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"];
|
||||
};
|
||||
|
||||
@@ -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);
|
||||
|
||||
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 (_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];
|
||||
};
|
||||
|
||||
//add infection chance for "ItemWaterbottle",
|
||||
if ((random 15 < 1) and (_itemorignal == "ItemWaterbottle")) then {
|
||||
};
|
||||
|
||||
//add infection chance for "ItemWaterbottle",
|
||||
if ((random 15 < 1) && (_itemorignal == "ItemWaterbottle")) then {
|
||||
r_player_infected = true;
|
||||
player setVariable["USEC_infected",true,true];
|
||||
};
|
||||
@@ -84,4 +90,4 @@ dayz_thirst = 0;
|
||||
_display = uiNamespace getVariable 'DAYZ_GUI_display';
|
||||
(_display displayCtrl 1302) ctrlShow true;
|
||||
|
||||
cutText [format[(localize "str_player_consumed"),_text], "PLAIN DOWN"];
|
||||
cutText [format[(localize "str_player_consumed"),_text], "PLAIN DOWN"];
|
||||
|
||||
@@ -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;
|
||||
@@ -42,19 +42,19 @@ _sfx = "eat";
|
||||
[player,_sfx,0,false,_dis] call dayz_zombieSpeak;
|
||||
[player,_dis,true,(getPosATL player)] spawn player_alertZombies;
|
||||
|
||||
if (dayz_lastMeal < 3600) then {
|
||||
if (dayz_lastMeal < 3600) then {
|
||||
if (_itemorignal == "FoodSteakCooked") then {
|
||||
//_regen = _regen * (10 - (10 max ((time - _Cookedtime) / 3600)));
|
||||
};
|
||||
};
|
||||
|
||||
if (_hasoutput and !_invehicle) then {
|
||||
if (_hasoutput && !_invehicle) then {
|
||||
// Selecting output
|
||||
_itemtodrop = food_output select (food_with_output find _itemorignal);
|
||||
|
||||
sleep 3;
|
||||
_nearByPile= nearestObjects [(getposATL player), ["WeaponHolder","WeaponHolderBase"],2];
|
||||
if (count _nearByPile ==0) then {
|
||||
if (count _nearByPile ==0) then {
|
||||
_iPos = getPosATL player;
|
||||
_radius = 0.0;
|
||||
_item = createVehicle ["WeaponHolder", _iPos, [], _radius, "CAN_COLLIDE"];
|
||||
@@ -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];
|
||||
};
|
||||
@@ -98,4 +103,4 @@ _display = uiNamespace getVariable 'DAYZ_GUI_display';
|
||||
if (r_player_blood / r_player_bloodTotal >= 0.2) then {
|
||||
(_display displayCtrl 1300) ctrlShow true;
|
||||
};
|
||||
cutText [format[(localize "str_player_consumed"),_text], "PLAIN DOWN"];
|
||||
cutText [format[(localize "str_player_consumed"),_text], "PLAIN DOWN"];
|
||||
|
||||
@@ -21,4 +21,4 @@ _findNearestlight = [];
|
||||
};
|
||||
};
|
||||
|
||||
} foreach nearestObjects [getPos player, [], 20];
|
||||
} count nearestObjects [([player] call FNC_getPos), [], 20];
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 "";
|
||||
|
||||
@@ -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;
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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"];
|
||||
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"] };
|
||||
|
||||
|
||||
@@ -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]),
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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];
|
||||
|
||||
@@ -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;
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user