849 Commits

Author SHA1 Message Date
ebayShopper
d86aef88b3 Update change log 2017-03-01 16:01:47 -05:00
ebayShopper
9434d43561 Fix undefined error fnc_spawnObjects
My mistake from 26c1bd9
2017-03-01 13:42:21 -05:00
ebayShopper
2032094fb4 Fix undefined groupTags error
My mistake from 6736cd9
2017-03-01 11:24:09 -05:00
icomrade
cf661380b6 Properly inherit Tank class
fixes #1899 which resulted from improper base class inheritince from
pull request https://github.com/EpochModTeam/DayZ-Epoch/pull/1513
2017-02-28 19:51:55 -05:00
icomrade
1649d63716 Fix undefined variable _display error 2017-02-28 19:49:44 -05:00
ebayShopper
61630e91b3 Update scripts.txt exceptions
- Removed some unneeded exceptions
- Moved tree chop PVEH to server compile only so client does not need
setdamage exception
- Replaced "showCommandingMenu" filter with stricter
"menu" filter
- Renamed two files with no changes for easier filtering of
"menu"

Vanilla
commits:
1d639b557b
3a29242537
5cdf249ea9
2017-02-28 18:26:37 -05:00
ebayShopper
fa7a98708a Remove some redundant PV and SV value BE filters
- Fixed some "say", "switch" and "call" exceptions were broken

- Anything containing call is covered by 5 "call"
- Anything containing spawn is covered by 5 "spawn"
- Anything containing { or ( is covered by the first line
- Anything containing setDi is covered by 5 "setDi"
- Anything containing bis_ is covered by 5 bis_
- Anything containing bis_fnc is covered by 5 "BIS_fnc"
- Anything containing server_ is covered by 5 server_
- Anything containing fnc_ is covered by 5 fnc_
- Anything containing count is covered by 5 "count"
- Anything containing onPlayer is covered by 5 "onPlayer"
- Anything containing this is logged by 1 "this"
- Anything containing for is logged by 1 "for"
- Anything containing ' is covered by 5 "'"
- Anything containing terminate is covered by 5 "terminate"
- removed duplicate getVariable filter
- createDialog is covered by 5 "createD"
- set, exec and str with two single spaces are covered by the same with
one single space
- removed some set, exec and str that were already covered by the line
directly above or below them
- removed some old dayz function names that aren't used anymore.

- made first line in setvariableval.txt stricter (no exceptions) by
moving "+" to a separate line
2017-02-26 22:16:38 -05:00
ebayShopper
122d9e16f7 Update player_packTent again 2017-02-26 16:43:33 -05:00
ebayShopper
62312a85c7 Add message for already wearing clothes
Because it isn't always obvious.
2017-02-26 15:31:59 -05:00
ebayShopper
f0ef0fce35 Make server_playerSync exit log more accurate
This will now show INFO instead of ERROR when sync exits while a player
is changing clothes.
2017-02-26 15:28:17 -05:00
ebayShopper
0eaa995d27 Fix action in progress message in player_packTent 2017-02-26 14:03:39 -05:00
oiad
ea94ec4e8b Extend DZE_GodModeBase to built items (#1898)
This now makes buildables properly apply godmode instead of having to
wait till restart for:

* Being built
* Being upgraded
* Being downgraded
master
2017-02-26 13:50:11 -05:00
ebayShopper
d12fda5e21 Add a few missing playerIsNear checks
Blocks duping method reported by Sercan and confirmed with @oiad .
Thanks
2017-02-25 17:29:27 -05:00
ebayShopper
a3f2b8db57 Fix a few floating loot pos small in firestation 2017-02-25 15:54:13 -05:00
ebayShopper
55eddfead8 Fix potential undefined error on bear trap trigger
https://github.com/EpochModTeam/DayZ-Epoch/issues/1891#issuecomment-282476563
2017-02-25 12:37:32 -05:00
ebayShopper
e8b328ff9c Fix remote vehicle lock and unlock actions refresh
Thanks @oiad
2017-02-24 19:55:24 -05:00
oiad
33fd92db67 Extend epoch_tempKeys to be able to read from backpack as well. (#1897)
* Extend epoch_tempKeys to be able to read from backpack as well.

* Rework
2017-02-24 16:58:16 -05:00
ebayShopper
bb6acc4e7b Remove needless recompile of player_spawnCheck
This was recompiling it every six seconds unnecessarily.
2017-02-24 15:43:37 -05:00
ebayShopper
6736cd92ff Update group tags again
Also fixed wrong string name "STR_EPOCH_RADIO_CONTACT_LOST" thanks @oiad
2017-02-24 14:11:55 -05:00
ebayShopper
221b8cc4b9 Fix group tags syntax error 2017-02-23 17:17:50 -05:00
ebayShopper
e1340821e7 Fix group tags startup 2017-02-23 17:04:30 -05:00
ebayShopper
0e4e762bf2 Add missing disableSerialization in groupTags.sqf 2017-02-23 16:32:44 -05:00
ebayShopper
8608b1ad1d Fix G36C ACOG
Vanilla commit:

2fb799235b
2017-02-23 11:57:07 -05:00
ebayShopper
5a034163af Update scripts.txt exception 2017-02-22 19:58:28 -05:00
ebayShopper
ffb88a0d7b Fix body marker only showing one body 2017-02-21 19:02:42 -05:00
ebayShopper
d416ae80ab Move study body back to fn_selfActions
Adding UserActions to players (CAManBase) is not efficient, because the
condition evaluates onEachFrame when you are "inside" that vehicle type.
Also admins usually want to add more custom actions to dead bodies
anyway.
https://community.bistudio.com/wiki/addAction#Syntax

This partially reverts 3aad4b6.
2017-02-21 15:12:41 -05:00
ebayShopper
12f59f046c Update Core Patch BIS_Effects again
Updated to same formatting and comments as latest Corepatch files:

https://github.com/Goliath86/CorePatch/tree/master/CorePatch_FIS/data/scripts

airdestruction.sqf:
- fixed _velocity variable was undefined
- updated, Sa-Matra removed clearVehicleInit
- !isNull checks are not needed because (local objNull) returns false
and (speed objNull) returns zero

BIS_Effects_startEvent:
- 6th parameter is not used in BIS_Effects_Burn, neither in the old nor
new version.

Although the formatting is ugly, it is better to stay consistent with
Bohemia's so they are easy to compare with future updates and
scripts.txt exceptions are the same whether the official or custom files
are used.

Added Sa-Matra's final commit from yesterday:

5e696bebdc

This partially reverts c15caf5.
2017-02-20 18:47:35 -05:00
ebayShopper
74ce95d4b1 Comment unused vanilla PVEHs
Vanilla commit:

69002014b2
2017-02-20 13:28:19 -05:00
ebayShopper
b786432526 Reduce pain shake intensity and frequency
Vanilla commit:

4fb7bcbd5b
2017-02-19 19:31:01 -05:00
ebayShopper
4b1ecb4c3b Update vanilla repair action
Vanilla commit:

9bdce88f1a
2017-02-19 19:17:50 -05:00
ebayShopper
afd093c72e Make smoke and grenade tripwires single use
Vanilla commit:

0780b490ad
2017-02-19 19:08:16 -05:00
ebayShopper
27bca9a7d9 Update vanilla presets
Vanilla commit:

8574fd898d
2017-02-19 18:56:52 -05:00
ebayShopper
9e0c251baf Update vanilla building again
Vanilla commits:

ddcc7c7349

e4144e561f
2017-02-19 18:44:47 -05:00
ebayShopper
fdf24d4013 Update vanilla vehicle_getOut again
Vanilla commits:

508e73d59c

cd260ad1f0

2078268b67
2017-02-19 16:54:59 -05:00
ebayShopper
d975def6a1 Remove unnecessary rules and watermark waitUntils 2017-02-18 13:34:49 -05:00
icomrade
28fa8ef31e Update to Core Patch BIS_Effects 2017-02-13 18:15:15 -05:00
ebayShopper
e2742ed18a Fix add melee to full toolbelt eating weapon
Melee weapons were eaten when trying to add them to a full toolbelt
because BIS_fnc_invAdd failed.
2017-02-13 16:21:08 -05:00
ebayShopper
6af3588f09 Update change log 2017-02-13 14:59:46 -05:00
ebayShopper
6e846847de Only run group tags loop when in a group 2017-02-13 14:27:49 -05:00
oiad
e8dd8fac63 Stop server_publishVehicle3 duping a vehicle if hive fails to update (#1895)
* Stop server_publishVehicle3 duping a vehicle if hive fails to update

server_publishVehicle3 first creates the vehicle in the database then
reads it back to see if it's successful, previously it wasn't deleting
the vehicle if it failed.

Added a 1 second delay after the vehicle delete to stop duping of
vehicles also.

Fixed references to server_deleteObj that were using 2 parameters
instead of the required 3 and updated the example.

* Rework
2017-02-13 14:09:21 -05:00
ebayShopper
2ef93e6c57 Fix panic sound chance from fbc56ff #1861
Previously was ~8% chance every 1 second, so ~72% chance to play once or
more every 9 seconds.

Now it is a 50% chance to play once every 9 seconds.
2017-02-12 16:04:48 -05:00
ebayShopper
fbc56ff556 Fix panic sound overlapping #1861 2017-02-12 15:08:37 -05:00
ebayShopper
952beed531 Tag map markers with player names #1871
closes #1871
2017-02-11 17:15:49 -05:00
ebayShopper
c24f70d8be Remove misspelled building class Land_buova4_winter
Reported by Epoch forums user Jamrock
2017-02-10 17:07:46 -05:00
A Man
c2ef6de95d Adding missing CompactPack to traders (#1894) 2017-02-09 14:42:03 -05:00
ebaydayz
18191b0e3a Use effectiveCommander for humanity hit 2017-02-05 16:30:32 -05:00
ebaydayz
5884ef6445 Block Topolka Dam walk under water glitch
https://github.com/DayZMod/DayZ/issues/826
2017-02-05 14:35:58 -05:00
oiad
b06cb360b6 Update stringtable.xml to be more englishy (#1893) 2017-02-05 14:15:32 -05:00
ebaydayz
5ba1fb4431 1061 RC1 test build 2017-02-03 16:03:20 -05:00
ebaydayz
76971cbaf4 Prevent sprint and prone through doors glitch 2017-02-02 16:57:30 -05:00
ebaydayz
d8d2c03512 Move clean wounds warning to rollingMessages
Vanilla commit:

49d9b6ff3c
2017-02-02 15:32:12 -05:00
ebaydayz
59b1d1ea60 Update vanilla building
Vanilla commits:

8fdd0e915a

6afd0bc103
2017-02-02 15:28:39 -05:00
ebaydayz
2bf589e151 Update vanilla antiwall
Vanilla commit:

4f102f501b
2017-02-02 15:07:46 -05:00
ebaydayz
b0ba29440d Update vanilla vehicle_getOut
Vanilla commit:

492ba6d33a
2017-02-02 14:58:47 -05:00
ebaydayz
097a02b19a Make zombie_agent.fsm customizable for admins #1877
Also fixed HandleDamage EH was added twice. We moved it to the configs
and forgot to take it out of the FSM in 6853263.
2017-02-01 20:36:00 -05:00
ebaydayz
6aa5c9b64f Add setting to disable base takeover #1886
No classes inherit from Generator_DZ, so there is no need to use
isKindOf over typeOf.
2017-02-01 12:16:16 -05:00
ebaydayz
9f7ae93bef Add permanent plot check to player_sleep 2017-01-31 16:15:27 -05:00
ebaydayz
9afb74ff26 Remove plot take ownership feature #1811
See #1811
2017-01-31 15:22:23 -05:00
A Man
0fd3034d54 Adding 13 new items and a DZE version of the vss vintorez (#1890)
* strings for new items

* adding new documents.hpp

* adding new documents

* adding vss vintorez dze

vss vintorez dze spawns with 20 rounds magazine like in epoch 1.0.5.1

* adding vss vintorez dze

* Update stringtable.xml
2017-01-31 14:52:54 -05:00
ebaydayz
7431042ec7 Update change log 2017-01-30 17:06:56 -05:00
ebaydayz
05f1cf9fe0 Use nearObjects instead of nearestObjects for spawn check #1816
Lowered spawn check radius for loot and zombies to the same as 1051.
(200m)
2017-01-30 15:45:14 -05:00
ebaydayz
752ed00566 Use playersNumber for player count in sched_animals #1889
This won't count AI units unless they are spawned on side west.
2017-01-30 13:41:19 -05:00
ebaydayz
2ecb614534 Update comments for POI spawning
Vanilla commits:

1f89bcfb98

0defa2af1e
2017-01-29 20:14:43 -05:00
ebaydayz
8c1caa9c1c Remove some redundant checks
Vanilla commits:

da7061429a

da55eaa53e
2017-01-29 19:36:48 -05:00
ebaydayz
3224a21363 Remove some unused setVariables 2017-01-29 16:09:50 -05:00
ebaydayz
cfd0f74870 Send damage selection normally for RPT log c10a7c3 2017-01-29 12:02:27 -05:00
ebaydayz
611fd73bbd Shorten some isKindOf checks 2017-01-28 21:04:26 -05:00
ebaydayz
9270050bc6 Update damage handler again
This fixes hits from players shooting from vehicle weapons not showning
in server RPT.
2017-01-28 20:38:35 -05:00
ebaydayz
c10a7c3bc9 Update damage handler
- Added damage and selection to server RPT hit log
- Increased damage a bit for RunOver due to consistently low damage in
testing
2017-01-28 16:08:56 -05:00
ebaydayz
c227bb6019 Add note about port forwarding in README 2017-01-28 12:42:44 -05:00
ebaydayz
a1c470d56f Hide group name tags at startup when streamerMode is on 2017-01-27 20:39:22 -05:00
ebaydayz
d30b7b5ffc Prevent queuing multiple vehicle upgrades 2017-01-27 20:23:36 -05:00
ebaydayz
028924770f Increase headshot damage for non-zombie hits
A single headshot with a DMR from ~500m will now kill instead of doing
~8k blood as it did previously.
2017-01-27 17:43:29 -05:00
ebaydayz
cc720f95b7 Offset DynamicText death message when in vehicle
Prevents vehicle health bar overlapping death message.
2017-01-27 16:38:50 -05:00
ebaydayz
1bb894b1c9 Add missing private var in player_death 2017-01-27 16:13:58 -05:00
ebaydayz
c21a7311a5 Move POI back to local spawned #1816 2017-01-27 14:51:18 -05:00
ebaydayz
d8ac3f42b1 Remove unnecessary check for upgrade storage
Fixes desert tent not upgradeable

Vanilla commit:

4e886c8c27
2017-01-27 13:17:14 -05:00
ebaydayz
c7b71f93f0 Remove fn_upgradeActions
Vanilla commit:

02bc22f325
2017-01-26 21:19:17 -05:00
ebaydayz
6c2f5448e1 Update a Russian translation
e009aee8de (commitcomment-20629913)
2017-01-26 14:34:21 -05:00
ebaydayz
04986190d9 Update change log
Removed unused variable from c641bc2
2017-01-25 16:10:42 -05:00
ebaydayz
c641bc20a8 Properly disable antiTP and sched security when dayz_antihack=0;
This prevents them being called unnecessarily on loop.
2017-01-25 15:02:05 -05:00
ebaydayz
7d6319fa30 Remove PVEH when death messages are disabled 2017-01-25 13:51:01 -05:00
ebaydayz
fc40845583 Remove a duplicate translation 2017-01-25 13:45:09 -05:00
ebaydayz
405dd7e519 Disable flies by default and add enableFlies config variable
Also, when enabled, flies now spawn ten minutes after the player's death
instead of two minutes after as recommended by @oiad .
2017-01-25 13:05:09 -05:00
ebaydayz
5d330e1c71 Disable vanilla antiwall objects and infected camps by default
The antiwall wrecks are removable on Epoch. Also Epoch has its own
player_antiWall function. We did not spawn these objects in 1051.

The infected camps add additional random spawned camp sites in the woods
with lots of dead soldier bodies, fires, water barrels and tents. We did
not have these in 1051 either. Disabling them by default will improve
FPS a little.
2017-01-24 20:30:36 -05:00
ebaydayz
20ee8f8734 Remove RadioProtocolEmpty
This reverts cf64805.
2017-01-24 17:45:32 -05:00
ebaydayz
dae53a6bf8 Remove unnecessary check from 6c62b3f
This was made redundant by 6c62b3f .
2017-01-24 16:09:22 -05:00
ebaydayz
6c62b3f8e4 Rework player_death for respawnDelay=0; #1825
See #1825
2017-01-24 15:55:15 -05:00
ebaydayz
1133efc2e0 Add README for customizing config traders 2017-01-23 14:21:23 -05:00
ebaydayz
b148293920 Move group icons to separate slower loop 2017-01-22 19:09:02 -05:00
ebaydayz
ff6463473f Update vanilla building
Vanilla commits:

2ee56936be

8497b42d3f

eb234f8b06
2017-01-22 14:41:53 -05:00
ebaydayz
f8047167d8 Fix wrong output on ItemKiloHemp for HempSeed
Reported by Epoch forums user Runewulv
2017-01-22 13:23:01 -05:00
ebaydayz
93cf3b22d3 Add missing fuel station for sahrani 2017-01-22 12:58:17 -05:00
icomrade
7a6b15d531 Update Scripts.txt 2017-01-21 22:42:32 -05:00
icomrade
b48a0ae2cf Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch 2017-01-21 22:41:12 -05:00
icomrade
fc99604108 Better anim reset in player_death 2017-01-21 22:41:09 -05:00
ebaydayz
94f342e7b6 Fix typo from 26c1bd9 2017-01-21 22:36:37 -05:00
ebaydayz
295302d9cb Fix undefined error when dayz_bleedingeffect = 1; #1885 2017-01-21 22:00:30 -05:00
ebaydayz
4613e0c084 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	CHANGE LOG 1.0.6.1.txt
2017-01-21 21:46:58 -05:00
ebaydayz
26c1bd9a86 Properly disable town generator and plant spawner loops
Stops intensive loop from running unnecessarily when dayz_townGenerator
= false; The comfrey plants are pointless atm since the only thing they
may be used for is crafting a sepsis bandage.

Also added waterHoleProxy for Napf and Namalsk placed by @skigoggles

Vanilla commit:

b5a9125086
2017-01-21 21:44:43 -05:00
oiad
a68e4b273b fix epoch_tempKeys.sqf making massive arrays. (#1884)
* fix epoch_tempKeys.sqf making massive arrays.

epoch_tempKeys was making a massive array every time it was called due
to them setting the array size to the _ownerKeyId instead of count
_temp_keys_names.

For example: Call this function 10k times in testkit and see it lag the
client due to making a massive array over and over again.

```"[[["9379"],[<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<n
"Test script finished. Code took 0.440002 seconds to run"
```

With fixed code:
```"[[["9379"],["Yellow Key (65d0)"]],false]"
"Test script finished. Code took 0.000991821 seconds to run"
```

* Update fn_selfActions to support fixed epoch_tempKeys fix.

Forgot this from my previous commit, this will select the right key now
for displaying in the unlock_veh.sqf (I broke this with my previous
commit)

* Rework
2017-01-21 17:01:42 -05:00
icomrade
732154037a Disable blood stains by default
Nice effect, but too intensive in my eyes
2017-01-21 15:08:29 -05:00
ebaydayz
cc3b8801b7 Update zombie event handlers again 2017-01-20 14:27:55 -05:00
icomrade
c15caf5f8f Improve BIS_Effects fix #1883
Now stops particle effects loops when wreck is deleted.

Exucuted in an EH, so it should resolve any issue where the corepatch
fix version, or broken A2 version takes priority.

Minor script formating and performance improvements
2017-01-20 11:51:55 -05:00
ebaydayz
d8828d9df1 Fix "AI" text localization again
This was my mistake from 131329f. SourceName needs to be checked, not
bodyName.
2017-01-19 17:36:26 -05:00
ebaydayz
194bad12ea Remove some more unused variables
Vanilla commit:

68ffe8b158
2017-01-19 12:27:36 -05:00
A Man
e009aee8de Update stringtable.xml (#1882)
* Update stringtable.xml

* Move new safe zone strings down to epoch package
2017-01-18 19:06:32 -05:00
ebaydayz
6d45ecfcac Fix group dialog button scaling again 2017-01-18 17:10:56 -05:00
icomrade
490fb90303 Disallow salvage in DZE_SafeZonePosArray locations
by request of JohnnyBravo666 on the epoch forums
2017-01-18 16:43:23 -05:00
ebaydayz
0d2f96b299 Revert lobby and player list background colors to A2OA default
Partial reverts of my changes in 6732e5c and e0c0669

It requires too many changes to make the whole A2OA UI match.
2017-01-17 16:00:49 -05:00
ebaydayz
92ee58900c Fix trader menu server RPT logs partially localized on client 2017-01-17 14:39:31 -05:00
oiad
ef5ca5c532 Fix handleSafeGear not showing the failed code correctly (#1880)
Was displaying failed code as the actual code (obviously wrong)
2017-01-17 11:58:31 -05:00
ebaydayz
9985f0adbd Fix Bandit1 and Bandit2 skins identical #1874
Fixes #1874
2017-01-16 20:27:15 -05:00
ebaydayz
13aaaa5b9a Remove NV cooldown for player zombies #1876 2017-01-16 19:03:49 -05:00
ebaydayz
0b0f2d3455 Update calls to zombie_agent.fsm #1877
Forgot to update in 6853263

Fixes #1877
2017-01-16 18:34:47 -05:00
ebaydayz
198ef269d4 Combine player_fillWater and player_drinkWater to one function 2017-01-16 16:35:15 -05:00
icomrade
95b5447f7d Update BE Filters 2017-01-14 19:57:11 -05:00
oiad
d68717c7be Fix handleSafeGear not showing eyescan as it should. (#1875)
This fix makes it so that if the player used Eye Scan it will properly
show eyescan instead of the code.
2017-01-14 19:53:51 -05:00
oiad
fd0b81118b Move dze_supplyCrate and vein wrecks to CfgLoot (#1863)
* Move dze_supplyCrate and vein wrecks to CfgLoot

Moves both the supply crates and vein wrecks to the CfgLoot tables so
admins can customize.
Also modifies the main add item statement to allow support for weapons,
magazines and backpack refunding/spawning instead of hard coded
magazines.

Should be backwards compatible with the old style (I did test).

* Remove unused _activatingPlayer variable

* Rework
2017-01-14 19:40:54 -05:00
icomrade
798a994b02 Should fix full cinder vector #1846 2017-01-14 17:55:56 -05:00
icomrade
f891797a0d Add full screen NVG
looking through a pinhole gets old
2017-01-12 15:00:29 -05:00
icomrade
9c81d727e3 Remove IR Laser from DZ L110A1 - Fix #1873
Thanks @DeVloek
2017-01-12 13:34:29 -05:00
ebaydayz
0d2f91f3aa Fix trader menu server RPT log partially localized on client 2017-01-11 16:12:17 -05:00
ebaydayz
f25f5e96a6 Fix light fire and build fireplace over water #1866
Fixes #1866
2017-01-11 15:25:29 -05:00
ebaydayz
b9d8b5798c Hide group icons for units inside the player's vehicle #1865
Fixes #1865
2017-01-10 14:32:04 -05:00
ebaydayz
131329fd59 Fix "AI" text localized on wrong client in death message #1867
Fixes #1867
2017-01-10 13:38:00 -05:00
ebaydayz
5c8ae96887 Add military flashlight attachments
Vanilla commit:

b6ba294b70
2017-01-09 20:19:01 -05:00
ebaydayz
8ace89ff4d Update removeDamagedVehicles SQL event 2017-01-09 17:43:52 -05:00
ebaydayz
076bd22bfe Update vanilla fence_handleDam.sqf
Vanilla commit:

ef243327b5
2017-01-09 17:34:58 -05:00
ebaydayz
9d28504ecf Remove comment in player_wearClothes.sqf
Vanilla commit:

72b37dc108
2017-01-09 17:22:41 -05:00
ebaydayz
7857272d82 Add loot pos for some more sahrani and tavi building types
Vanilla commits:

578e0f5c0a

18d1852b56

bbebc56102

e70074e44f

56d0ab54cb

fa8c01bae4

Added some new building types. No existing buildings were removed or
changed, just moved around to sync order.
2017-01-09 17:01:13 -05:00
ebaydayz
e4d48cbf38 Revert pain effect to pre-1.8 version #1839
Same as 1051

Vanilla commit:

9b6d3dcd9c
2017-01-07 16:51:48 -05:00
ebaydayz
503206cad8 Update version numbers 2017-01-07 15:39:11 -05:00
ebaydayz
fa89487f22 Revert pain effect to original #1839 2017-01-07 14:09:52 -05:00
icomrade
0c4d77d2aa Fix running corpses 2017-01-07 11:39:18 -05:00
icomrade
70948ad0a2 Fix unconcious input lock #1860
due to disableUserInput being a POS
2017-01-07 11:25:57 -05:00
ebaydayz
80def55420 Show respawn from player zombie or broken legs as suicide 2017-01-06 19:30:05 -05:00
ebaydayz
ad556aa0cb Remove two hardcoded Chernarus checks
Vanilla commit:

c8455bb718
2017-01-06 17:58:13 -05:00
ebaydayz
58025f591f Fix certain buildables not removable #1859 2017-01-06 16:18:59 -05:00
ebaydayz
571e8d7b11 Add LightPole_DZ to DZE_isRemovable #1859 2017-01-06 15:53:38 -05:00
ebaydayz
33672d99ee Lower or remove nutrition hit for some actions #1857
Fixes #1857
2017-01-06 13:27:22 -05:00
ebaydayz
3a7744d18d Add back 1051 handling of RepairParts not listed in config 2017-01-06 12:36:08 -05:00
oiad
c5deead4fd Allow merlin_hc3 to be repaired properly (#1858)
The merlin has 20 windows + 2 side windows, glass 7 - 20 were showing up
as PartGeneric and breaking the repair script for some reason.

https://github.com/EpochModTeam/DayZ-Epoch/issues/1856#issue-199105821
2017-01-06 11:18:55 -05:00
ebaydayz
e074ef0d44 Fix rapid starvation and dehydration from chainsaw and chop wood
Chainsaw is never used in player_chopWood.sqf. It is only called via
right click on Hatchet which was removed anyway.

The player already takes a nutrition hit on every swing of the hatchet,
and it can take up to twelve swings to chop down one tree.
2017-01-05 19:38:03 -05:00
oiad
d0257b3c7d Add logging failed safe/lockbox and door lock/unlock/failed code attempts (#1853)
* Add logging failed safe/lockbox and door lock/unlock/failed code attempts

This adds logging for both safes and lockboxes for failed code attempts.

Also adds logging for locking, unlocking and failed code attempts for
doors.

"salival (playerUID) FAILED unlocking LockBox with code: Red11 (actual:
Red57) @110069 [11044.4,8438.32,0.652]"
"salival (playerUID) UNLOCKED LockBox with code: Green22 @110069
[11040.6,8438.91,0.834]"
"salival (playerUID) PACKED LockBox with code: Green22 @110069
[11040.6,8438.91,0.834]"
"salival (playerUID) UNLOCKED CinderWallDoorSmallLocked_DZ with code:
559 @110069 [11015.4,8458.74,5.272]"
"salival (playerUID) LOCKED CinderWallDoorSmallLocked_DZ with code: 559
@110069 [11015.4,8458.74,5.272]"
"salival (playerUID) FAILED unlocking CinderWallDoorSmallLocked_DZ with
code: EYESCAN (actual: 559) @110069 [11015.4,8458.74,5.272]"
"salival (playerUID) FAILED unlocking CinderWallDoorSmallLocked_DZ with
code: 100 (actual: 559) @110069 [11015.4,8458.74,5.272]"
"salival (playerUID) UNLOCKED CinderWallDoorSmallLocked_DZ with code:
559 @110069 [11015.4,8458.74,5.272]"
"salival (playerUID) LOCKED CinderWallDoorSmallLocked_DZ with code: 559
@110069 [11015.4,8458.74,5.272]"

* Revert wrong hinge type

* Remove unused DZE_Lock_Door

* Rework

* Remove redundant code, Make single currency costs use BIS_fnc_numberText

* Rework

* Add changelog line
2017-01-05 16:45:10 -05:00
ebaydayz
731175f46b Prevent abuse of combine M24 and 2RndShotGun ammo #1848
Prevents duping exploit described in #1848

Fixes #1848
2017-01-04 16:16:15 -05:00
ebaydayz
cfe01e609e Set RU crates cargo capacity back to normal 2017-01-04 12:43:04 -05:00
ebayShopper
e453c7ee0c Fix wrong classname DZ_ExplosivesBoxRU in loot table #1852 2017-01-04 12:20:56 -05:00
ebaydayz
8d7799d180 Update change log 2017-01-03 16:47:26 -05:00
oiad
6f072982c3 Add harder penalties for wrong combination on doors, More spelling mistakes. (#1847)
* More spelling mistakes

Further to commit:
0e938ba8f3

* Add harder penalties for wrong combination on doors

This adds a variable (DZE_doorManagementHarderPenalty) to make attempts
at code breaking doors harder. This will exponentially increment the
time between attempts or if you set it to false will make it 5 seconds
between attempts.

Unlike the original (that was useless TBH) this will actually lock out
the combo lock UI until the timer is set.

Will reset completely after 120 seconds.

* Add German translations

* Resolve merge conflict

* Resolve merge conflict
2017-01-03 16:39:05 -05:00
ebaydayz
0c15002109 Fix tool loss due to duplicate matchbox and knife issue #1849 2017-01-03 15:30:50 -05:00
ebaydayz
d124a5d2f7 Make switch weapon interrupt autorun
Fixes #1850
2017-01-02 14:41:53 -05:00
ebaydayz
d5a3cdb2e3 Remove antiwall glitch blocks for vanilla hospitals 2017-01-02 13:36:59 -05:00
icomrade
62b7c2194b Lazily implement nutrition configuration
also tweak the working values for chopping wood
2017-01-01 20:24:48 -05:00
ebaydayz
5cb485ccfb Prevent purchasing negative number of items
Fixes mistake from ffef031 @icomrade . _amount here is the quantity the
player enters in the quantity box when buying. The only time it is less
than or equal to zero is if the player enters zero or a negative number.
It has nothing to do with the buy or sell price.

Thanks Sercan for reporting.
2017-01-01 18:32:20 -05:00
ebaydayz
e4aeee37fd Use waterHoleProxy in drink water and fill water #1835
The slow searches are needed on other maps until waterHoleProxy objects
are added for them. They need to be added at every pond and
non-"Land_pumpa" well. Right now Chernarus is the only map that has them
placed.

Fixes #1835
Fixes #1841
2017-01-01 16:55:00 -05:00
ebaydayz
30f1827509 Prevent 'name' error when player is killed while logging in
Prevents WARNING: Function 'name' - x is dead when player is killed
while logging in.
2016-12-31 18:20:49 -05:00
ebaydayz
0b27653833 Add config variable DZE_ServerLogHits 2016-12-31 17:37:34 -05:00
ebaydayz
4fa36dfd94 Fix selling of Javelin, Stinger and some other items
Fixes #1844
2016-12-31 17:14:16 -05:00
Kobayashi
79bbc2c5a4 Backwards array call to Z_checkArrayInConfig (#1845)
Z_checkArrayInConfig is expecting weapons in position 0 for _this, all other stuff like get z_at_getGearItems.sqf and z_at_getVehicleItems.sqf passes the weapons array in position 0.
2016-12-31 16:03:16 -05:00
ebaydayz
7ce4ba32a2 Add shadow to dayz_rollingMessages 2016-12-30 16:40:10 -05:00
ebaydayz
d4b286660f Fix base objects duplicating when using plot take ownership #1811
Fixes #1811
2016-12-30 16:29:34 -05:00
icomrade
2d595118c3 Building upgrades from backpack 2016-12-30 16:16:51 -05:00
ebaydayz
e33519ffd4 Readd changes from #1836
I accidentally removed these when resolving merge conflicts with 854c41c
.
2016-12-30 14:16:18 -05:00
ebaydayz
05e7a41c0e Update change log 2016-12-30 13:50:21 -05:00
ebaydayz
76e80a9388 Merge remote-tracking branch 'origin/master' 2016-12-29 21:06:54 -05:00
ebaydayz
101a6fc698 Fix wrong eventhandlers on viral zeds #1819 2016-12-29 20:53:35 -05:00
oiad
854c41cf8c switchModel, jerry_fill, packTent changes/fixes (#1836)
* switchModel, jerry_fill, water_fill, drinkWater, packTent changes/fixes

player_packTent: Add private array since there was none. Make it match
player_packVault so a player can't pack the tent with others near (to
stop duping)

water_fill:
Fixed the massive lag issue with the check for ponds etc, Originally was
being done searching for all which is quite intensive, now only
searching for waterholeproxy which matches all the water holes on
chernarus I could try.
Fixed a few localizations. Thanks @schwanzkopfhegel

player_drinkWater: Same as above. Also removed a lot of unused private
variables.

jerry_fill:
Made the minimum fill level of fuel tanks 10% of
dayz_randomMaxFuelAmount so the tank will always have fuel
Fixed issue with ItemFuelBarrel only using 40 litres from a tank.
Thanks @schwanzkopfhegel
Display how much fuel was needed if the tank is empty
Fix issue if the tank was empty that dayz_actionInProgress was not reset

player_switchModel:
Fixed issue of coins dissapearing on gear change
Fixed old commented out code that was broken so now you will go back
into the camera view you were in before you changed clothes

* Revert drinkWater/water_fill changes

My previous commit can only be used on chernarus since it's the only map
that has the waterholeproxy we rely on.

* crafting localization fix

* Update german translations

* Rework

* Missed private variable

* Rework again

* Update german string
2016-12-29 19:47:04 -05:00
icomrade
b355ae6a61 Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch 2016-12-29 15:51:06 -05:00
icomrade
c64c181f95 Handle boiled waterbottles < 10oz
should fix #1838 Translation fixes are probably necessary
2016-12-29 15:50:53 -05:00
A Man
c5ac6e458b Changing Fire Barrel output (#1843)
The fire barrel output should be a fire barrel not a empty fuel barrel.
2016-12-29 15:50:29 -05:00
ebaydayz
3176e1619d Set POI and infectiousWaterHoles off by default 2016-12-28 17:33:03 -05:00
ebaydayz
d509c15c82 Split player_death into scheduled and unscheduled #1833
Death message was sometimes showing incorrectly due to spawn delay.

Also the sched_corpses two minute loop was occasionally deleting bodies
right away because bodyName setVariable was delayed by the time it took
PVDZ_plr_death to send (up to a few seconds). See #1825
2016-12-28 16:16:46 -05:00
icomrade
b807648cc6 Fix #1831 generator inventory not saving 2016-12-28 16:00:56 -05:00
icomrade
fc9b01e91c Add HiveExt.ini config variable MaintenanceObjects
see bc67e02a223d0d2b9e9688cb5a2ce047edb60e1d for hiveExt changes
2016-12-28 13:08:21 -05:00
ebaydayz
0e938ba8f3 Fix misspelled variable names DayZ_Ignators and destorytent 2016-12-26 14:28:43 -05:00
A Man
3151c0df84 Update player_craftItem.sqf (#1830)
Adding the ability to craft with all Dayz_Ignators when dayz_matchboxCount = true; For example crafting a Firebarrel
2016-12-26 14:11:22 -05:00
ebaydayz
64f6a9daa3 Exit vanilla craft item when action is in progress
Fixes #1826
2016-12-25 20:01:55 -05:00
ebaydayz
b962bd50b9 Use faster switch in repair and salvage
7496ef5d5c (commitcomment-20292237)
2016-12-25 17:51:32 -05:00
ebaydayz
1d0a1bf9a2 Add comment about disabling GemWorthArray 2016-12-25 17:29:53 -05:00
oiad
75243933b4 Move more debug lines to #ifdef (#1829)
* Move more debug lines to #ifdef

Tidys up server RPT

Also make the combination rolling text overwrite the previous build
spam.

* Make additional changes
2016-12-25 17:20:30 -05:00
ebaydayz
7496ef5d5c Fix undefined color error in repair_vehicle.sqf
Same color error as f92b751 .

Also same issue in salvage_vehicle.sqf as described in #1828

Added setVariable exceptions for tank hit points.
2016-12-24 20:17:08 -05:00
Kobayashi
811e06ffe2 Detection of part doesn't work (#1828)
For tanks and other vehicles not explicitly defined in configs, _part will return with "" using gettext(), evaluating if it is nil doesn't do anything. With this change it will properly allow for repairing tracks on tanks with scrap metal.
2016-12-24 19:27:25 -05:00
ebaydayz
7e341739ee Readd hive shutdown code from 1051 #1822
Fixes hive connection error when child 302 call fails.
2016-12-24 18:09:01 -05:00
ebaydayz
d694130fdc Remove a duplicate localization 2016-12-23 15:37:42 -05:00
ebaydayz
6f0c70989b Remove unnecessary check in player_spawn_2
This doesn't run on the server.
2016-12-23 14:59:55 -05:00
ebaydayz
bf00c3f8bb Correct comment from 4d3f707 again 2016-12-22 22:20:47 -05:00
ebaydayz
0ffbdde2e8 Correct comment from 4d3f707 2016-12-22 22:17:27 -05:00
ebaydayz
4d3f707417 Stop autoRun and remove drink from hands at ponds #1827
Fixes #1827
2016-12-22 21:52:22 -05:00
ebaydayz
f1b991acd2 Add M4SPR_DZE which spawns with 30Rnd Stanag default 2016-12-22 15:42:00 -05:00
oiad
9889c8cd76 Merge z_calcDefaultCurrency and z_calcDefaultCurrencyNoImg (#1824)
* server_updateObject force update for single currency

This modifies server_updateObject to force update/save to the hive if
the item being saved is in the DZE_MoneyStorageClasses array.

Previously if you force saved the object multiple times, the coins would
not get updated until the inventory changed, which if this was for a
bank object it would never update.

(This applies if you are using PVDZ_veh_Save to save the object)

* z_at_calcDefaultCurrencyNoImg prettyfication

This fixes a long standing issue in my brain about how this text was
always displayed, to me it seemed very untidy and just thrown together
(since I borrowed it from the IMG version)

Changes the output from this example: 7 Ruby 1 Amethyst 3 Gold 4 10oz
Silver 5 Silver
To this prettier and more logical example: 7 Ruby, 1 Amethyst, 3 Gold, 4
10oz Silver and 5 Silver

Make texts great again!

* z_at_logtrade fixes

Removes hard coded "Coins" text and replaces it with configVariables
version.

Also removes duplicate code and simplifies it.

* Merge z_calcDefaultCurrency and z_calcDefaultCurrencyNoImg

This merges these two files together since they are largely the same,
this also adds an optional argument to change the font size which is
useful for custom scripts that use this function.

Examples of use:

[_number,true] call z_calcCurrency; // Return a string of text with no
images
[_number,false] call z_calcCurrency; // Return a string of text with
images
[_number,false,0.7] call z_calcCurrency; // Return a string of text with
the currency in it and sets the font size to 0.7
2016-12-22 14:16:38 -05:00
ebaydayz
5b7b1d69bd Add HALO spawn height config var
Height can be changed without overwriting player_monitor.fsm now.

Also
fixed my mistake from 3257d0f, need to HALO directly from debug pos for
antiTP compatibility.
2016-12-13 19:50:22 -05:00
oiad
ce75f87e1d server_updateObject force update for single currency (#1821)
This modifies server_updateObject to force update/save to the hive if
the item being saved is in the DZE_MoneyStorageClasses array.

Previously if you force saved the object multiple times, the coins would
not get updated until the inventory changed, which if this was for a
bank object it would never update.

(This applies if you are using PVDZ_veh_Save to save the object)
2016-12-13 13:06:57 -05:00
ebaydayz
c9c31c1a32 Fix wrong bleeding icon on vanilla status UI
Now using the correct updated icon from vanilla. All other icons are up
to date.
2016-12-13 12:14:53 -05:00
ebaydayz
b62569932d Fix missing return variable in sched_antiTeleport
My mistake from 5058308
2016-12-12 16:22:43 -05:00
ebaydayz
b4c239729c Fix self actions duplicating when changing clothes and looking at a safe
This was also a bug in 1051. Thanks to Epoch forums user jOoPs for
reporting.
2016-12-12 15:23:31 -05:00
ebaydayz
bff2a3091d Remove two unused files
Vanilla commit:

64ea1eaa76
2016-12-11 15:25:57 -05:00
ebaydayz
3257d0fd88 Move HALO spawn below enableSimulation in player_monitor.fsm #1809
Fixes stuck floating in air on Napf when dayz_paraspawn = true; Should
also fix #1809.

Fixes #1809
2016-12-11 13:44:01 -05:00
ebaydayz
46355aed38 Add back missing Epoch player_antiWall call #1817 2016-12-10 21:20:04 -05:00
ebaydayz
2a1bd74eca Fix no damage from hitting ground after HALO if autoOpenChute=-1
My mistake when adding this.
2016-12-10 20:25:36 -05:00
ebaydayz
6ecdabc92d Fix swimming in ground glitch at certain spots on Napf 2016-12-10 16:36:51 -05:00
ebaydayz
d0e8291159 Fix floating arrows
Fixes #1815
2016-12-10 15:06:48 -05:00
icomrade
f18451ab48 Fix black crush in areas of shadows 2016-12-09 14:14:10 -05:00
ebaydayz
c3bf1d29d6 Fix arrow and other WeaponHolderBase inherited destrType #1815
Prevents catching on fire when destroyed.
2016-12-09 13:28:31 -05:00
ebaydayz
4e92255749 Remove equip_Crossbow_Kit from loot tables for now #1814 2016-12-09 12:33:54 -05:00
icomrade
67e0dfee81 Remove Turbo and HoldBreath key blocks 2016-12-08 17:11:45 -05:00
icomrade
f34d1820bb Fix full cinder wall vector building #1813 2016-12-08 16:46:23 -05:00
ebaydayz
2c8f236f95 Fix death message in potential case of suicide 2016-12-08 14:37:04 -05:00
ebaydayz
0d4d288d81 Fix DMR and M24 ammo price 2016-12-08 13:37:16 -05:00
ebaydayz
f92b751ae3 Fix undefined color error in salvage_vehicle.sqf
Color was undefined if part damage was in any of these ranges:
0.2501 - 0.2599
0.5001 - 0.5999
0.7501 - 0.7599

Fixes related RPT errors:
Unknown attribute any>Remove
Unknown attribute -
Unknown attribute LFWheel
Unknown attribute (76%
Unknown attribute Damage)</t>
2016-12-07 18:50:01 -05:00
ebaydayz
a60c1931ee Update default steam ports and disable mission voting
These default ports tend to work best for both A2 and A3 as recommended
here:

https://community.bistudio.com/wiki/Arma_3_Dedicated_Server#Port_Forwarding

Most Epoch servers only run one mission, so players should not be able
to vote for a mission change.
2016-12-07 16:31:49 -05:00
ebaydayz
90977e4a31 Update painkillers
Vanilla commit:

1596a17b09
2016-12-07 15:20:17 -05:00
ebaydayz
5094e61723 Update zombie pathing
Vanilla commit:

f47d6fe5b9
2016-12-07 13:25:19 -05:00
ebaydayz
dab70963d6 Update POI spawning again
Vanilla commits:

d98cc5d700

e2afec6a21

5b85b311ed

55518ed792

4a5cb525ef
2016-12-07 12:57:06 -05:00
ebaydayz
2160437e79 Convert POI to compact array format
Vanilla commit:

c71d8cb23c
2016-12-06 19:26:00 -05:00
icomrade
ef8f838238 Update Readme.md 2016-12-06 16:33:53 -05:00
icomrade
90f967c38c Update Readme.md 2016-12-06 16:33:37 -05:00
ebaydayz
638c7dd8b8 Remove some unused variables 2016-12-06 15:02:18 -05:00
ebaydayz
9234244c72 Clarify diag_log 2016-12-06 14:31:30 -05:00
ebaydayz
66f87fac46 Move two localizations to epoch package in stringtable
Vanilla doesn't refund modulars when deconstructing, Epoch does. Also
upgrade was moved to UserActions of dayz_buildings in vanilla.
2016-12-06 13:59:25 -05:00
ebaydayz
86d16131bc Update change log 2016-12-06 13:10:07 -05:00
ebaydayz
dd721ec572 Fix issue with tag friendlies #1807 2016-12-06 12:12:38 -05:00
ebaydayz
c3af66b23a Fix ServerMagArray count error
(select 2) selects 3rd element

From 252843d @icomrade
2016-12-05 15:45:42 -05:00
ebaydayz
1bb76d2d22 Resolve merge conflict for #1807 2016-12-05 14:40:21 -05:00
ebaydayz
5058308f00 Prevent issues caused by respawn_west marker being moved
Vanilla commit:

39bcedb4b6
2016-12-05 14:37:28 -05:00
ebaydayz
2db6692643 Fix undefined var dayz_clientPreload during intro.sqs 2016-12-05 11:14:06 -05:00
ebaydayz
4dc667ac7e Remove unnecessary quotes in scripts.txt
They are only needed if the keyword contains spaces.
2016-12-04 21:51:05 -05:00
ebaydayz
44e585343f Update for servers that had single currency 3.0 installed
Makes life easier for people upgrading 1051 databases. Otherwise their
client will error out on loop in fn_selfActions because dayz_onBack will
be a number when it should be a string.

https://epochmod.com/forum/topic/28493-alpha-release-single-currency-30-storage-default-hive-no-global-banking/
2016-12-04 19:00:46 -05:00
ebaydayz
eb150a8289 Fix typo from 9ae0e7e 2016-12-04 14:52:57 -05:00
ebaydayz
9ae0e7eb11 Fix conversion of medical array for old characters
Fixes some converted characters having a <null> value in the "rh_factor"
slot of their medical array causing them to fail to save.
2016-12-04 14:38:47 -05:00
ebaydayz
7ab09b9a9f Fix error with converted characters medical array
Select 12 actually selects the 13th item in an array, so the rh_factor
line will error if the array is equal to twelve.

This was responsible for some converted characters having a <null> value
in the "rh_factor" slot of their medical array causing them to fail to
save.
2016-12-04 14:18:37 -05:00
ebaydayz
7af0cb2910 Lower numpad minus keydown timer for block cheats
Fewer false positives
2016-12-04 11:37:03 -05:00
ebaydayz
f03f116dfc Fix Arma cheats still enterable under certain circumstances
Thanks to Epoch forums user Golgofinyanin for reporting.
https://epochmod.com/forum/profile/13156-golgofinyanin/
2016-12-03 16:50:55 -05:00
ebaydayz
45159d81c2 Update pain sound effect
Vanilla commit:

7cdb2e67fd
2016-12-03 13:25:31 -05:00
ebaydayz
43d14dbdba Avoid potential issues with double private vars
_message is a commonly used var name
2016-12-02 14:39:04 -05:00
ebaydayz
5d1a6939e6 Fix refuel at gas station with generator #1806
Fixed mistake from: e398250

The refuel code was only running if a fuel truck was passed to the
script.

Also removed fuel truck classes that do not exist from the
dze_fueltruckarray.
2016-12-02 12:34:51 -05:00
ebaydayz
eacc362e38 Fix z_hunter texture #1805 2016-12-02 10:51:13 -05:00
ebaydayz
119470809f Disable moving of group dialog 2016-12-01 20:31:04 -05:00
ebaydayz
baae92f9d8 Remove unused file 2016-12-01 16:28:19 -05:00
ebaydayz
40ea519fd3 Temp fix for vault_pitch.sqf error in 1.0.6 release 2016-12-01 15:31:09 -05:00
ebaydayz
c0d5fcf17c Fix vault_pitch PVDZ_obj_Publish array
106 server_publishObject expects inventory as 4th element.
2016-12-01 15:15:04 -05:00
A Man
90453641d4 adding 3 missing german strings (#1804) 2016-12-01 12:46:09 -05:00
ebaydayz
1cd069e2d8 Uncomment PVDZ_dayzCarBomb
Not sure if functional atm, but still in use if ItemCarBomb is script
spawned and right clicked (not obtainable by default). My mistake from
b6d88b1
2016-12-01 10:32:25 -05:00
ebaydayz
1dd337b8ed Add @ndavalos and @SmokeyBR to credits in README
Both contributed numerous corrections and bug reports. Thanks
2016-12-01 10:28:10 -05:00
icomrade
1afbc38566 Cleanup for Release
we don't use the redryder source on here anymore
2016-11-30 13:12:50 -05:00
ebaydayz
74cc99ddad Remove identical lootPos comment
There was no difference between the lootpos except spacing after the
commas.
2016-11-30 12:17:06 -05:00
icomrade
c56e0d722c oops, these were already defined 2016-11-30 11:58:35 -05:00
ebaydayz
4ffa25adf2 Improve rejoined group message grammar 2016-11-30 11:58:29 -05:00
icomrade
fc98864db9 LootPos for @MGTDB 2016-11-30 11:55:20 -05:00
ebaydayz
546dc4fc41 Update scripts.txt 2016-11-30 11:54:26 -05:00
ebaydayz
bee00e9a57 EnableRadio if globalChat death messages are on 2016-11-30 00:36:51 -05:00
ebaydayz
27ee69695c Update my username in readmes 2016-11-30 00:08:52 -05:00
ebaydayz
416fdbc4ab Improve filterCheats and VON block
Filter cheats is now added to the main options menus that needed it.

It is not needed on the map (display 12) because KeyDown for display 46
also fires when it is open. So filterCheats was firing twice (once on
each display) in that case.

KeyDown does not fire on display 63 at all
regardless of whether PTT or VON is held down, toggled or chat open.
Keydown does fire on 55, but only after the mic icon is locked on, so it
is of limited use. MouseButtonDown does not fire on 55 or 63. So it is
useless to add to those displays. You can confirm this with:
(findDisplay 63) displayAddEventHandler ["KeyDown","systemchat
'fired';"];

Filter cheats is now only checked on display 46 when a
voice, channel, or cheat key is pressed instead of on every key press.
This still works 100% of the time for blocking cheat input. For
performance reasons it's probably not worth checking all the conditions
in filterCheats with every key press on display46 just for the VON
block. Doing so covers some edge combination bind cases better, so it
may be worth considering again if no better alternative is found. For
now this solution is good enough to cover the majority of cases without
slowing down the keyhandler during normal usage.

The VON message now
tells you exactly which channel block you triggered instead of listing
all of them.

Fixed issue mentioned in 52c9c7c with VON getting stuck on when using a
double tap keybind.

Tested:
1. Talk in side with regular/combo/mouse bind
2. Change channels
while mic is locked on with regular/combo/mouse bind
3. Change channels
with Up/Down arrows while chat is open.
4. Trying all cases in steps 1-3
with a dialog open.

It is possible to bypass the VON block with some different control
settings and combinations of the above, but for default controls and
common usage it works the majority of the time.
2016-11-29 23:44:28 -05:00
ebayShopper
429a6aec9b Disable moving group dialog 2016-11-29 12:14:08 -05:00
ebayShopper
77d5ffc3eb Add missing setVariable hitpoints for CH53 and Merlin 2016-11-29 11:44:48 -05:00
ebayShopper
2cb55d85cd Don't show low FPS hint when map is open
FPS is automatically capped on map display.
2016-11-29 11:10:00 -05:00
icomrade
ee63d526f0 Remove extra column from coins SQL update 2016-11-27 22:10:57 -05:00
ebaydayz
185d84f14f Remove unneeded global var Z_AT_FolderLocation
This variable is not useful. If you change it you need to copy all the
AT files to your mission.

It is fewer files in the mission to just overwrite the path in compiles
and fn_selfActions.

Also fixed mistake with not replacing macros in scripts.txt with their
actual values.
2016-11-27 20:30:34 -05:00
ebaydayz
ca73853179 Update readme 2016-11-27 19:02:10 -05:00
icomrade
1123f67747 Clarify server install guide 2016-11-27 15:21:39 -05:00
ebaydayz
5986b00823 Update server install readme 2016-11-27 14:42:55 -05:00
ebaydayz
a8ab2f5d54 Allow drinking from hands at ponds on Cherno
Town generator configs may be added for other maps in the future.
2016-11-27 14:04:18 -05:00
ebaydayz
6abd92034a Make bloodbag interrupt message more accurate
The blood bag isn't actually removed in any of the three cases this
message is used.
2016-11-27 12:21:44 -05:00
ebaydayz
19e3947669 Fix empty snack bags giving drink option
Thanks @Helios27

https://github.com/EpochModTeam/DayZ-Epoch/issues/1766#issuecomment-263117080
2016-11-27 12:02:29 -05:00
oiad
0b10b85e3a player_upgrade combination fix (#1803)
Adds systemChat to receive the combination for whatever you upgrade as
well as dayz_rollingMessages.

The same as what modular_build does.
2016-11-27 11:36:47 -05:00
ebaydayz
15fa1fc7a7 Update test build 2016-11-26 21:34:58 -05:00
A Man
560e8bce82 german string update (#1802) 2016-11-26 21:26:59 -05:00
ebaydayz
6cdc0a51c9 Add extra animations to ArmoredSUV, MV22, UH1Y 2016-11-26 21:14:12 -05:00
icomrade
18616828f3 Update ReadMe.md 2016-11-26 19:06:24 -05:00
icomrade
d0932790c8 Update Test Build 2016-11-26 19:04:20 -05:00
icomrade
52c9c7ceda Somewhat better VON Block
Not perfect, occasionally the player can double tap a button to lock VON
on - which now they cannot turn off unless they open the escape menu and
double tap to turn off.

Chat channel changes are now blocked when VON is active.

ActionKeys are now recalculated on key binding change, but it is
important to note that double tap bindings DO NOT work with the
ActionKeys command. This is why inputAction check is neccesary

Summary: Double tapping a key to lock von on (VoiceOverNet) is not
reliably blocked, nor is it blocked at all in secondary
displays/dialogs. otherwise, this works pretty well.
2016-11-26 18:48:11 -05:00
ebaydayz
7c566a1345 Remove unused variable dayz_deseedloot 2016-11-26 14:08:34 -05:00
oiad
511dfd4025 dze_buildchecks plot pole distance fix (#1801)
Fixes the proper distance checks for dze_buildChecks.
2016-11-26 14:03:09 -05:00
ebaydayz
effabd711d Remove some more excessive client log spam
Only needed when debugging zombie targetting
2016-11-26 13:45:03 -05:00
ebaydayz
6f7a69fd68 Update REsec.hpp allowed execVM
Update for new corepatch:

https://github.com/Goliath86/CorePatch/blob/master/CorePatch_Modules/Functions/main.sqf#L9

Also fixed false positive due to case sensitivity:
"WARNING RE rexecVMcode with illegal
args:[any,any,"ca\modules\Functions\init.sqf"]"
2016-11-26 13:34:00 -05:00
ebaydayz
d14416931a Fix VON block mistake from b9a5c59
I forgot filterCheats is already called in keyboard.sqf
2016-11-25 19:31:14 -05:00
ebaydayz
27f492f401 Fix typo in VON block
My mistake from b9a5c59
2016-11-25 18:42:38 -05:00
ebaydayz
808c8cf736 Hide group icons on death screen 2016-11-25 18:30:48 -05:00
ebaydayz
b9a5c59660 Include all controls in VON block
Moved to display 46 keydown since keydown on 63 only fires after the VON
transmission has already started (slight delay).

Added mouseButtonDown so it can not be bypassed via assigning a mouse
button.
2016-11-25 18:22:41 -05:00
ebaydayz
b6d88b1329 Update vanilla building
Vanilla commits:

9b2092c9f7

674624d122
2016-11-25 16:25:26 -05:00
icomrade
1097eaba0c Add block for voice channels
use DZE_DisabledChannels as decribed in configvariables.sqf
2016-11-25 13:05:27 -05:00
ebaydayz
cf64805d10 Disable RadioProtocol group chat spam
Works well with AI, still needs multiplayer testing.
2016-11-24 17:46:57 -05:00
ebaydayz
2b6481a515 Fix dead body cleanup mistake from 97431f8 2016-11-24 14:13:32 -05:00
ebaydayz
97431f81c2 Should fix flies spawning where player relogs
AI mods will need to setVariable "bodyName" on their dead units to
prevent them being cleaned up.
2016-11-23 17:14:00 -05:00
ebaydayz
f49c8a4ed6 Remove excessive REsec log spam on clients 2016-11-23 15:48:55 -05:00
ebaydayz
ea389b59ea Remove unneeded isKindOf "Man" checks
"Man" includes animals and zombies:

https://community.bistudio.com/wiki/ArmA_2:_CfgVehicles#Man_Class_Vehicles
2016-11-23 14:43:59 -05:00
ebaydayz
c202c697eb Update loot spawn.sqf
Vanilla commit:

4752621ffc
2016-11-23 13:50:24 -05:00
ebaydayz
ec6b5eb679 Move Repair and Salvage back to fn_selfActions
Partial revert of: 3aad4b6

Unfortunately this will not support loading external vehicle addons
(with custom UserActions) which we can not include in Epoch. Child
UserActions overwrite inherited UserActions.
2016-11-23 13:34:22 -05:00
ebaydayz
edb622d8bd Update test build 2016-11-21 21:08:15 -05:00
ebaydayz
aea0bb1298 Update animal cleanup on log out
Partial revert of 0483fa6
2016-11-21 20:54:33 -05:00
ebaydayz
43b900835e Fix infectiousWaterholes init again 2016-11-21 20:28:07 -05:00
ebaydayz
0483fa61f6 Fix live animals being deleted in front of players
Vanilla commits:

e14d45a55b

9d6be1731e
2016-11-21 18:49:03 -05:00
ebaydayz
d7ecf29744 Update infectious waterholes
Vanilla commit:

0dadb0897c
2016-11-21 18:39:50 -05:00
ebaydayz
6853263f3d Update zombie generate
Vanilla commits:

09aa9f8879

68be696c4d
2016-11-21 18:33:41 -05:00
ebaydayz
2924daf0c4 Add missing createDialog scripts.txt exception 2016-11-21 15:11:17 -05:00
ebaydayz
6aa0cb8215 Update vanilla building
Vanilla commits:

a351c810d5

dfc46eff7b
2016-11-21 14:57:02 -05:00
ebaydayz
7f239754cc Fix anitbiotics to remote player cures own infection
Vanilla commit:

4c6b45d507
2016-11-21 14:33:20 -05:00
ebaydayz
2d394c32da Move sharpen action to ItemKnifeBlunt
Avoids confusing message "Missing ItemKnifeBlunt to do this"
2016-11-21 13:55:09 -05:00
ebaydayz
0c9fbc40c8 Remove Salvage from Bicycle in configs 2016-11-21 13:43:11 -05:00
ebaydayz
5e97435d7b Fix can't sell classic bloodbag 2016-11-20 21:24:27 -05:00
ebaydayz
901329c9ec Fix vanilla crafting actionInProgress 2016-11-20 20:34:05 -05:00
ebaydayz
2f1c57047a Fix infectedWaterHoles init for non-cherno maps 2016-11-20 20:03:18 -05:00
ebaydayz
3aad4b61e9 Move some addActions to config UserActions
Should improve client FPS while still allowing conditions and scripts to
be customized.

Some special vehicles like MV22, UH1Y, etc. have UserActions overwritten
in their configs, so please let me know if you find any others that do
not get the option to repair or salvage because UserActions is
overwritten in their config. I think I got them all.

Vanilla commits:

a8c4238c0c

350d73abe1
2016-11-20 19:47:21 -05:00
oiad
ef1ad261e2 scripts.txt addition for plot management (#1799)
Missed exception for plot management
2016-11-20 12:44:08 -05:00
ebaydayz
efeadcfa35 Rename selectPlayer and selectGroupMember functions
Fewer scripts.txt exceptions needed
2016-11-19 19:39:08 -05:00
ebaydayz
76d9de9e53 Update change log 2016-11-18 21:12:17 -05:00
ebaydayz
edec813d3e Update test build 2016-11-18 20:22:21 -05:00
ebaydayz
0525763ffb Update German translations from #1798
Submitted by @DAmNRelentless and reviewed by @AirwavesMan
2016-11-18 19:46:24 -05:00
ebaydayz
f307386cb2 Fix cherno field hospital tent position
Vanilla commit:

7e18cef9cb
2016-11-18 18:43:28 -05:00
ebaydayz
da5285e0ec Update damage handler diag_log
Vanilla commit:

21864d065c
2016-11-18 16:36:37 -05:00
ebaydayz
bec4ccce38 Update dayz_server
Vanilla commits:

95bf775fd2

6e638aeb8c
2016-11-18 15:28:00 -05:00
ebaydayz
5072ea4e8b Update infectious waterholes init
Vanilla commits:

a61088d9e8

0d18630c11
2016-11-18 14:16:45 -05:00
ebaydayz
b01a4165a8 Comment some unused achievement code
Vanilla commits:

3ec1cc3c5d

3171f68bee
2016-11-18 13:22:36 -05:00
ebaydayz
ad9a287d00 Remove unused Lada base class
Also removed some values that are already inhertied from 8429ad1
2016-11-18 12:18:13 -05:00
ebaydayz
6769104580 Add some missing scripts.txt exceptions 2016-11-17 16:01:20 -05:00
ebaydayz
8429ad1fbc Clear typicalCargo for some vehicles missing it
Prevents preloading units, may help with load times a little.
2016-11-17 15:40:08 -05:00
icomrade
e398250489 Fix refuel trucks, add upgraded trucks to array
Issue was:
A. with locality, we were checking the wrong vehicle in one instance and

B. with variable names, since we called local_setFuel and _vehicle was
private already from the calling script we ran into an issue with
duplicate variables causing the command to fail. local_setFuel doesnt
really need any local variable so I removed them and this fixed the
issue (script filters may need to be adjusted accordingly)
2016-11-16 14:53:17 -05:00
ebaydayz
f994b95c1d Add dayz_onBack to surrender 2016-11-16 13:34:48 -05:00
ebaydayz
20d84ddba8 Sort scripts.txt alphabetically
Missed these
2016-11-15 17:22:36 -05:00
ebaydayz
acef12a7f9 Add some scripts.txt filters
These will probably need some additional exceptions and corrections.

Please post the scripts.log entry if you get any kicks or logs that are
not from custom changes or third party mods.
2016-11-15 17:07:00 -05:00
ebaydayz
43330c2046 Diminish humanity reward for transfusion
As suggested on:
cdb9776
and
https://github.com/DayZMod/DayZ/issues/731
2016-11-15 15:31:58 -05:00
ebaydayz
110f677f1e Fix allowDammage typo for easier scripts.txt filtering 2016-11-15 14:34:42 -05:00
ebaydayz
cdb9776d4e Add bloodbag cooldown 2016-11-15 13:57:40 -05:00
ebaydayz
414fd7e1b7 Add auto open chute option to HALO 2016-11-14 20:25:26 -05:00
ebaydayz
de44b32c83 Remove unneeded isBicycle check in fn_selfActions
Bicycles always have characterID=0, so there is no need to check.
2016-11-14 14:38:45 -05:00
ebaydayz
81013ace75 Fix gear menu bypass mistake from 89078d1 2016-11-13 15:02:36 -05:00
ebaydayz
89078d1611 Fix abort and gear menu staying open at same time 2016-11-13 14:49:04 -05:00
ebaydayz
e6b9644b71 Update test build 2016-11-12 22:01:03 -05:00
ebaydayz
e506a97ad6 Remove redundant check in player_onPause
Switch executes the first case that matches and does not check any more
cases after that. So these conditions are always met when this case is
checked.
https://community.bistudio.com/wiki/switch_do
2016-11-12 21:22:11 -05:00
oiad
be1fb51fe8 player_onPause fixes (#1796)
* player_onPause fixes

Properly displays the right message now for why you can't abort.

* Door Management/Plot Management isServer changes

Removes isServer, these are run on the client only so no need for this.

* dayz_server private tags

Fix a few missing private tags and remove a _forEachIndex tag.

Remove unused 1.0.5.1 dayz_server.pbo as it's no longer valid/needed
2016-11-12 20:56:58 -05:00
ebaydayz
00f1f8537a Remove redundant unconscious checks in damage handler
This is already check above. My mistake from e4ede46
2016-11-12 20:12:04 -05:00
ebaydayz
e266fee651 Fix right click on radio generic error 2016-11-12 19:16:19 -05:00
ebaydayz
abeb5f9383 Remove vehicle actions when unconscious 2016-11-12 17:54:27 -05:00
ebaydayz
8b3376643d Fix unload patients action not being removed from vehicle 2016-11-12 17:23:52 -05:00
ebaydayz
e4ede46f59 Fix tranquiliser bolt 2016-11-12 16:50:24 -05:00
ebaydayz
e260d335ce Don't allow loading unconscious player into locked vehicle 2016-11-12 16:12:48 -05:00
ebaydayz
db3d9bf474 Update vanilla object_maintenance.sqf
Vanilla commit:

f6e98f3be0
2016-11-12 15:19:42 -05:00
ebaydayz
f87ac79acc Add missing private var in hotwire_veh.sqf 2016-11-12 14:54:29 -05:00
A Man
6ac9c879f0 Update german strings (#1795) 2016-11-12 14:44:05 -05:00
ebaydayz
e55960b6f9 Don't allow giving bloodbag to player with full blood
Reverted be214d3 because this is a more complete solution
2016-11-11 17:03:50 -05:00
ebaydayz
fe773bd571 Send notfication to player kicked from group 2016-11-11 15:46:44 -05:00
ebaydayz
f43348ebf6 Consolidate isServer checks for poi
Vanilla commit:

fbcabc6d60
2016-11-11 15:19:57 -05:00
ebaydayz
00b09a86c5 Remove self from saved group 2016-11-11 14:58:21 -05:00
ebaydayz
6db0c3380f Remove unneeded isServer check
Missed one from 88870a6
2016-11-11 14:54:23 -05:00
ebaydayz
88870a6b2a Sync closeDisplay exit codes for easier scripts.txt filtering 2016-11-11 14:48:41 -05:00
icomrade
489e0bbc77 Merge pull request #1794 from oiad/master
hotwire vehicle changes
2016-11-10 21:51:49 -05:00
oiad
d28ac4de22 Hotwire rework
Rework again! - Readd sleep
2016-11-11 15:49:08 +13:00
oiad
b0926b2a82 Hotwire rework
Hotwire rework
2016-11-11 14:45:48 +13:00
oiad
ef5b5ae38f Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch 2016-11-11 14:38:27 +13:00
ebaydayz
e927a759fe Fix load wounded mistake from 343003d 2016-11-10 20:33:24 -05:00
oiad
979323932c Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch 2016-11-11 13:15:50 +13:00
ebaydayz
dba59af7c1 Fix undefined vars in unload_act.sqf 2016-11-10 19:14:29 -05:00
ebaydayz
ed49630e0c Fix load wounded wrong variable 2016-11-10 19:13:40 -05:00
ebaydayz
343003d9dd Fix load wounded action undefined error 2016-11-10 19:12:43 -05:00
ebaydayz
be214d3cc5 Fix give bloodbag option showing when it shouldn't 2016-11-10 18:46:39 -05:00
ebaydayz
5d64449210 Add missing private var in antibiotics.sqf 2016-11-10 18:37:14 -05:00
oiad
dd0363b4e8 Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch 2016-11-11 11:52:38 +13:00
ebaydayz
2f86984f93 Fix antibiotics not reducing when given to remote player 2016-11-10 17:51:54 -05:00
oiad
310fef893d Hotwire vehicle changes
Adds a localization for hotwire kit working
Updates localization for hotwire kit failing
Adds medic animation/sound and zombie notify
2016-11-11 10:45:07 +13:00
oiad
42beaa43b6 Merge branch 'master' of https://github.com/oiad/DayZ-Epoch 2016-11-11 10:38:15 +13:00
ebaydayz
2cb3dac0be Fix vehicle damage handler bug
Fixes vehicle appearing to repair itself on first hit. SetDamage 0 was
running if no parts were damaged because "totalDmg" is not a hitpoint.

Vanilla commit:

92ab8fe2d4
2016-11-10 15:51:36 -05:00
oiad
21fdbe3378 Merge remote-tracking branch 'refs/remotes/upstream/master' 2016-11-11 01:18:55 +13:00
ebaydayz
6fb4290ffe Remove unused compile
Vanilla commit:

4a18d5023d
2016-11-09 12:33:11 -05:00
ebaydayz
eedf7dd12c Fix door and plot management display text for mustBeClose
Also removed unneeded uiNamespace vars.
2016-11-08 19:27:05 -05:00
ebaydayz
e3bb7e11b9 Remove unneeded global var dayz_myGroup 2016-11-08 17:11:39 -05:00
ebaydayz
32b9c84784 Add notification messages for group changes 2016-11-08 16:39:50 -05:00
ebaydayz
ba43900036 Revert "Allow blunt knife for item actions"
This reverts commit 59a0548f5d.
2016-11-07 17:37:46 -05:00
ebaydayz
261dc4b373 Allow crafting with dull knife
Output is still reduced for dull knife when gutting animals.
2016-11-07 17:37:22 -05:00
icomrade
fb734e30c7 allow removal of generator 2016-11-07 17:24:54 -05:00
icomrade
59a0548f5d Allow blunt knife for item actions 2016-11-07 17:14:30 -05:00
ebaydayz
01307f9a42 Remove some common and duplicate translations 2016-11-07 16:14:20 -05:00
ebaydayz
33ed3737a5 Fix gear pistol background image direction
Vanilla commit:

f1c883636a
2016-11-07 15:25:50 -05:00
ebaydayz
e0c06692e2 Update scrollbar color in lobby and player list
To match 6732e5c
2016-11-07 15:21:56 -05:00
icomrade
8bf41e1ed3 Tweak weather values
it doesn't have to be so gloomy all the time
2016-11-07 13:11:58 -05:00
ebaydayz
ecc1ca0aeb Add missing private var 2016-11-06 20:29:17 -05:00
ebaydayz
b312fc2685 Update test build 2016-11-06 20:24:28 -05:00
ebaydayz
fd44e0b7d3 Fix group save after kick 2016-11-06 20:01:27 -05:00
ebaydayz
4c6e2454c3 Prevent non-leader from disbanding group 2016-11-06 15:28:59 -05:00
ebaydayz
4317a6459a Don't show scoreboard on death
We already removed the scoreboard:

https://github.com/DayZMod/DayZ/blob/Development/SQF/dayz_code/Configs/CfgArma.hpp#L198-L209

So this just prevents the white line and redundant count down showing on
screen when you die:
https://community.bistudio.com/wiki/Description.ext#respawnDialog
2016-11-06 15:24:37 -05:00
ebaydayz
f0d89d5993 Round server fps diag_log 2016-11-06 14:06:40 -05:00
ebaydayz
4263b0732f Allow damage from tripwire grenade
Vanilla commit:

30c746892f
2016-11-06 13:39:30 -05:00
ebaydayz
e1bf11c4bb Remove empty folder 2016-11-06 13:15:18 -05:00
ebaydayz
de46a173dc Fix errors when removing traps
Vanilla commit:

b558351a06
2016-11-06 13:05:46 -05:00
ebaydayz
88691fe9d1 Fix mistake in remove.sqf
DZE_DoorsLocked is a list of strings, not objects. I'm surprised no one
noticed this before.
2016-11-06 12:28:26 -05:00
ebaydayz
bfa7aefb3a Update BE selectplayer.txt filter
Vanilla commit:

f0dc54bff1
2016-11-05 20:59:13 -04:00
ebaydayz
677abe62aa Remove vanilla camo net
Duplicate of Epoch one.

Also had sliding issues when building because it did not have the proper
Epoch offset.
2016-11-05 20:53:22 -04:00
oiad
0159b1418d Remove unreferrenced file (#1793)
This is an old file from A plot for life, we also use player_build for
tents now.
2016-11-05 20:40:35 -04:00
ebaydayz
754fc3744e Add delay at group startup 2016-11-05 19:18:51 -04:00
ebaydayz
eaebdb7d93 Revert "Disable RadioProtocol spam"
This reverts commit ac99e45854.
2016-11-05 18:47:54 -04:00
ebaydayz
8c72946ffd Hide disband button after player loses leader 2016-11-05 18:08:46 -04:00
ebaydayz
615f21165a Fix rejoin group after change clothes
Also removed redundant delete and remove for _oldUnit since it is
already done in call _switchUnit
2016-11-05 17:48:07 -04:00
ebaydayz
d97478239c Fix undefined error when trap is deleted
Getvariable returns undefined if the object is null.

https://community.bistudio.com/wiki/getVariable
2016-11-05 16:42:09 -04:00
ebaydayz
564144ee41 Revert vanilla work bench to player_buildVanilla
Partial revert of:

2d9097a6af

This workbench is currently not obtainable either by crafting or the
loot tables, so it is not used anyway. But with Epoch player_build
attempting to build it sends the player flying / sliding backwards at
high speed. Using the vanilla player_build that does not happen.

I tested building all the other items changed in the above commit and
none of them have this problem.
2016-11-05 16:34:00 -04:00
ebaydayz
13a3083bae Remove right click build sandbag action on shovel
Right click action on sandbag is more up to date
2016-11-05 15:32:49 -04:00
oiad
d7f35c0cf3 Fix spelling mistake of classname DZ_Czech_Vest_Pouch (#1792)
* Fix spelling mistake of classname DZ_Czech_Vest_Pouch

As per subject

* Fix typo from 1.0.5.1 and rename DZ_Czech_Vest_Puch to DZ_Czech_Vest_Pouch.

As per subject

* Fix typo from 1.0.5.1 and rename DZ_Czech_Vest_Puch to DZ_Czech_Vest_Pouch.

As per

* More typo SQL goodness

As per subject
2016-11-04 21:40:27 -04:00
ebaydayz
12032477d4 Remove vanilla dismantle on sandbag and hedgehog
Epoch handles this in fn_selfActions
2016-11-04 20:46:53 -04:00
A Man
1223e08d79 Fixing string is not displayed correctly (#1791)
* Fixing not shown string

* Fixing not shown string
2016-11-04 20:42:24 -04:00
oiad
cbe51bcad1 SQL Update fix for MeleeHatchet_DZE -> MeleeHatchet, localization fix (#1790)
Makes MeleeHatchet_DZE for converted bases properly get renamed
Changes Destroy to Remove since you're not completely destroying it
2016-11-04 20:15:31 -04:00
A Man
106b90dbfa Update for german strings (#1789)
* Update for german strings

* Update stringtable.xml
2016-11-04 19:24:42 -04:00
ebaydayz
c314febe45 Remove unneeded controls from game options 2016-11-04 19:17:43 -04:00
ebaydayz
6732e5cb67 Recolor lobby and player list to dark grey 2016-11-04 18:56:33 -04:00
oiad
497b065663 Localization changes/additions. (#1787)
* Localization changes/additions.

Fixes a few localizations, extends range for removing camo nets from
toolbox by 10m, I have found that 5m is just not enough.

* Toolbox change

Update camonet removal to 10m instead of 5m

* Safe zone no building near/blacklisted buildings no building near

Adds a check in dze_buildChecks to disallow building within a certain
distance of a safezone or a blacklisted object name.

* typo

fix typo

* Safezone/blacklisted changes

As per requests.

* Rework

Rework

* Remove unused variables

as per subject

* Misc changes

Fix unprivated var in calcfreespace
Made single currency buy/sell reporting more englishery
Localization cleanup of extra spaces

* rework

rework
2016-11-04 12:08:47 -04:00
ebaydayz
dd2a21a867 Update medPainkiller.sqf 2016-11-02 20:21:55 -04:00
ebaydayz
93a988955f Use shorter file names for groups 2016-11-02 17:25:25 -04:00
ebaydayz
ac99e45854 Disable RadioProtocol spam
Seems to stop most groupChat spam and doesn't appear to cause any
issues.

If you still see group chat spam after this commit or notice any issues
with it please post a comment.
2016-11-02 16:58:25 -04:00
ebaydayz
f87e064798 Add example server difficulty profile file 2016-11-01 16:10:35 -04:00
A Man
560580b0a2 Removing 2 old rightclick actions, shorter german text (#1786)
* Removing old code

Build Sandbag Fence is not longer used since the rightclick action to build a sandbag.

* Removing old code

Old code "remove tank trap" is not longer used since we have the scroll action for that.

* Update Prop_Defs.hpp

* Cutting some strings, removing old strings

* Update stringtable.xml
2016-11-01 15:10:59 -04:00
icomrade
3be7d1e0e6 Add logger info to hiveext.ini 2016-11-01 11:06:42 -04:00
A Man
41324139eb Adding CanvasHut_DZ to DZE_isRemovable (#1785)
* Adding CanvasHut_DZ to DZE_isRemovable

CanvasHut_DZ had no remove option.

* Update Prop_Defs.hpp
2016-10-31 19:26:40 -04:00
ebaydayz
3572709697 Merge pull request #1784 from AirwavesMan/master
New german strings
2016-10-31 19:01:23 -04:00
ebaydayz
bff0e3281a Auto promote group leader after changing clothes 2016-10-31 18:11:28 -04:00
A Man
da4bf5d9da New german strings 2016-10-31 22:44:46 +01:00
ebaydayz
f21b5b74a7 Add systemChat message when a new player joins the group 2016-10-31 17:30:03 -04:00
ebaydayz
1b3ed13a47 Remove unnecessary check in damage diag_log
Vanilla commit:

e826a8bda9
2016-10-31 16:04:27 -04:00
ebaydayz
3a3413caf5 Allow tools to exceed transportMaxWeapons when buying in bag 2016-10-31 13:54:40 -04:00
ebaydayz
866358e4d0 Add launcher handling to advanced trading 2016-10-31 13:07:07 -04:00
ebaydayz
cd48b883a7 Remove unused localization for maintain 2016-10-30 16:23:55 -04:00
ebaydayz
064fa8c8d0 Only spawn wild dogs if dayz_tameDogs is enabled 2016-10-30 15:47:01 -04:00
ebaydayz
25d6b6e448 Increase DZ_BlackScreen resource layer
Prevent rolling messages from showing over the top of it.

Also fixed grammar typo @oiad
2016-10-30 15:34:24 -04:00
ebaydayz
b2d668812b Update change log 2016-10-30 14:54:20 -04:00
oiad
b1171c5f9b player_wearclothes changes, string changes and maintain area moving (#1783)
* player_wearclothes changes, string changes and maintain area moving

Adds 2 toggles for admins to modify:

DZE_backpackRemove forces the player to drop his/her backpack when they
change gear.
DZE_maintainCurrencyRate modifies the amount of worth each item is worth
to maintain.

Changes the error message in player_wearClothes to tell the player why
they can't change gear yet
Remove some debug lines that spam RPT

* Rework

Rework as per @ebaydayz

* Rework

Rework
2016-10-30 14:11:54 -04:00
ebaydayz
abb0475d28 Use joinSilent instead of join 2016-10-30 13:54:55 -04:00
ebaydayz
6d8afc9d32 Revert "Send new group to server for update"
This reverts commit 3f83354066.
2016-10-30 12:50:37 -04:00
ebaydayz
3f83354066 Send new group to server for update 2016-10-29 18:38:53 -04:00
ebaydayz
c4ef6e3115 Hide showOnScreen for lock and unlock inside vehicle action 2016-10-29 17:06:47 -04:00
ebaydayz
92d6257b92 Updated humanity Regen when under 1
Vanilla commit:

8e844e2b63
2016-10-29 16:05:08 -04:00
ebaydayz
9a4afbfc43 Update vanilla maintain
Vanilla commit:

997b8bac9a
2016-10-29 15:56:47 -04:00
ebaydayz
0be3a8522e Add sleep before refreshing controls
Vanilla commit:

e6e0d057dd
2016-10-29 15:52:55 -04:00
ebaydayz
fda831bf4f Consolidate redundant getPlayerUID in selfActions
Vanilla commit:

8c51a24956
2016-10-29 15:25:36 -04:00
ebaydayz
07525388a6 Hide group buttons on use 2016-10-29 15:08:46 -04:00
ebaydayz
127be2472d Add delay before group update 2016-10-28 21:24:03 -04:00
ebaydayz
dbb9e97efc Update group dialog 2016-10-28 20:10:18 -04:00
ebaydayz
c2e63f63ae Merge pull request #1782 from oiad/master
Reduce client RPT spam
2016-10-28 20:01:07 -04:00
oiad
cf8e06bc8b Reduce client RPT spam
As per subject
2016-10-29 12:59:21 +13:00
oiad
1c7e96a0ff Advanced trading modifications, maintain_area modifications (#1780)
* Advanced trading modifications, maintain_area modifications

This lot of changes brings forth the following:

Sets up a "default" set of compiles that are the minimum needed for
maintain_area.sqf and custom scripts to utilize the gem based currency
that @icomrade added.

maintain_area.sqf: This will now utilize the gem based currency system.

Removed the redundant Z_Vehicle and replaced it with the Epoch built in
DZE_myVehicle

z_at_buyItems: Code tidying and optimization

z_at_checkCloseVehicle: Tidied up the code since removing Z_Vehicle
allowed us to remove some now useless code.

z_at_getVehicleItems: Removed the nearestObjects check for your vehicle
since we now do z_checkCloseVehicle on Advanced trading start up.

* Advanced trading missed redundant variables

As per description

* Advanced trading rework

We don't need to check for close vehicle anymore now for backpack money
since we've made z_vehicle redundant.

* Revert "Advanced trading rework"

This reverts commit a589bd19b9.

* Advanced trading rework

We don't need to check for close vehicle anymore now for backpack money
since we've made z_vehicle redundant.

* Advanced trading rework

More rework

* Remove single currency add/remove coins functions

at request of @ebaydayz.
2016-10-28 19:29:04 -04:00
A Man
aa267bda2c Adding many new strings (#1781)
* More Stringtable updates

Ive added and corrected more german strings. Some german strings were too long. Lots of building items needed a localization. Adding after request the Winter Ghillie Suit localization for Namalsk compatibility.

* Update for new localization

* Update for localization

* Update for new localization

* Update again

* localization update

* Update stringtable.xml

* Update Doors.hpp

* Update ModularBuilding.hpp

* Update stringtable.xml

* Update stringtable.xml

* Update Doors.hpp

* Update Prop_Defs.hpp
2016-10-28 15:05:35 -04:00
ebaydayz
98be67b59c Add safezone scaling to group dialog buttons 2016-10-27 20:16:35 -04:00
ebaydayz
f770b0a85d Add group system
Initial commit, not tested in multiplayer yet. Some revisions still left
to do.
2016-10-27 16:06:49 -04:00
icomrade
f92d84f720 Fix issue laying down near buildables 2016-10-26 16:58:06 -04:00
ebaydayz
c7d9741be4 Add height check for logout in air vehicle exploit
This prevents players who logout in grounded air vehicles from being relocated.
2016-10-25 18:48:54 -04:00
ebaydayz
84d549d0a1 Revisions for #1777 (#1778)
* Update z_at_buyItems.sqf

* Update z_at_buyItems.sqf

* Update z_at_canAfford.sqf

* Update z_at_fillBuyableList.sqf

All of this is already checked in z_checkCloseVehicle at startup. If Z_VehicleChanges between the time the menu is started and the buyable list is filled it's not a big deal, since it only affects the highlighted color.

* Update server_handleSafeGear.sqf

* Update snappoints.hpp

* Update z_at_buyItems.sqf
2016-10-25 13:59:56 -04:00
oiad
bef2506653 Advanced trading fixes, server_handleSafeGear human readibility (#1777)
* Advanced trading fixes

Fixes a few issues and a dupe with advanced trading as well as some
localization of where a vehicle key is going.

Z_at_buyItems: Now adds localization for the key getting added to your
toolbelt, backpack and vehicle, this stops players thinking they didn't
get a key when infact it was added to their backpack/vehicle.

Z_at_canAfford.sqf: This fixes a dupe from a bad copy paste for whomever
wrote this script, it was using _backpackMoney in the
z_allowTakingMoneyFromVehicle part, changed to the proper variable
_vehicleMoney.

z_at_fillBuyableList.sqf: this fixes a bug where a vehicle would show
green even when it isn't local, just basically added more checking to
make sure the vehicle it's making green in the list is a) local, b)
alive and that the typeOf == _name.

z_at_logTrade.sqf: fixes some tidyness.

advancedTrading/init.sqf: adds a z_checkCloseVehicle call otherwise even
with Z_AllowTakingMoneyFromVehicle = true it will not get currency from
your vehicle until you clicked on the "Vehicle" tab.

dayz_server/server_tradeObject.sqf: More tidying as per the
z_at_logTrade and removes the useless Player:, as it is obvious a player
has bought something not an AI.

dayz_server/server_handleSafeGear.sqf: Makes the diag_log at the end
more human readable with GPS coordinates as well as the lock code for
the safe or the lockbox.

* advanced trading fixes. I hate you github

WHY U GET MISSED?? STUPID GITHUB.

* snappoints changes

Fixes the issue @SmokeyBR reported
https://github.com/EpochModTeam/DayZ-Epoch/issues/1766#issuecomment-253864795
Adds all floor types to snap list for all barriers so you can snap a
sandbag etc to a floor instead of manually lining it up
2016-10-25 13:10:48 -04:00
icomrade
56abe26b92 Fix combat in AH6 2016-10-21 12:09:51 -04:00
ebaydayz
6713c1cf70 Lower nutrition values for push plane
Vanilla commit:

81297c8e26

Now using the same as refuel.

It takes a lot of pushes to move the plane any significant distance
(usually 10-20).
2016-10-20 15:28:23 -04:00
ebaydayz
9689301b07 Hide show on screen text for Vehicle Locked and Destroy %1 2016-10-20 14:46:08 -04:00
ebaydayz
5e170029d0 Fix dayz_playerUID undefined in selfActions when target is not null at login
Selfactions can run before dayz_playerUID is defined in
player_monitor.fsm.
2016-10-20 14:34:48 -04:00
ebaydayz
74879c85a4 Update onPlayerDisconnect.sqf
Vanilla commit:

b103437918
2016-10-20 14:03:44 -04:00
ebaydayz
00bc2170ec Update test build 2016-10-20 13:18:57 -04:00
ebaydayz
cf0ef07ade Fix process hit running twice
Vanilla commit:

604c1f0577
2016-10-20 13:00:58 -04:00
ebaydayz
e50ce31d08 Update changelog
Not currently functional
2016-10-19 21:00:27 -04:00
ebaydayz
b8aba38dca Fix humanity hit when crashing vehicle 2016-10-19 19:53:52 -04:00
ebaydayz
17c0661094 Increase crash damage scale 2016-10-19 18:29:25 -04:00
ebaydayz
8beba72cbb Remove unneeded check in toggle streamer mode 2016-10-19 16:02:43 -04:00
ebaydayz
d13aafcd0c Add streamer mode game options setting
The chat list does not appear to be toggleable on the fly because it is
a display with no accessible controls. Giving it an idd and using
closeDisplay did not work. So it needs to be manually set off screen in
its config or covered up.
2016-10-19 15:49:30 -04:00
icomrade
d116bfecb4 Should fix BIS_Effect eject/kill
excludes cars now
2016-10-19 13:23:44 -04:00
icomrade
606098a1e3 Fixes SetFace error 2016-10-19 12:45:35 -04:00
ebaydayz
869e95eb2c Fix wrong variable name in z_at_calcFreeSpace
I didn't catch this mistake before because _backpack was not in the private array, so it was still defined from the script that called this function. Thanks @oiad
2016-10-18 15:56:45 -04:00
ebaydayz
fffcf43bbb Spawn infectious waterholes locally on each machine
Vanilla commits:

2d47c7250c

94a0bac524

44b7114129
2016-10-17 16:49:24 -04:00
ebaydayz
228ac99eb1 Set body studied status globally so confirmed kill is only added once
7402b240df
ensures _source will always be a player, so it's no longer necessary to
check that.

Vanilla commit:

a8c9eaebe0
2016-10-17 16:11:54 -04:00
ebaydayz
1964a084ff Avoid sending humanity hit if source is local
We only want to send a humanity hit if the source is a remote player.
Note it's not necessary to check isNull since (isPlayer objNull) returns
false.

Vanilla commit:

7402b240df
2016-10-17 14:52:34 -04:00
icomrade
fd0a4685fe Update private array
6cf740e7d4 caused undefined variable
errors since the variables were private in 2 places. _forced and
_recorddmg should be declared private in the top of the script where
they are defined, not in the compile.
2016-10-16 12:53:20 -04:00
ebaydayz
84d58a5932 Update vanilla chop wood and mine stone tool break chance
Vanilla commits applied:

5010767849

ac39f46a8c
2016-10-15 17:15:31 -04:00
ebaydayz
f21b4f0f41 Remove t_stub_picea.p3d from dayz_trees
See:

bf31d8f6e7 (commitcomment-19441154)
2016-10-15 16:48:29 -04:00
ebaydayz
7ddee142b0 Update confirmed kills system
Vanilla commits applied:

347105c036

e6b6814f51

1009828d8e
2016-10-15 15:08:48 -04:00
ebaydayz
81aed28f87 Update vanilla break in chance for tool damage
Vanilla commit:

9de0fbd15f
2016-10-15 14:29:30 -04:00
ebaydayz
2ee3d44b87 Fix blood regen with classic nutrition system
Vanilla commit:

d1542874b1
2016-10-15 14:05:15 -04:00
A Man
5ec92bcd65 Updating german stringtable, tent fix, loot table changes (#1776)
* Updating german stringtable

The update for STR_ACTIONS_2TB and STR_ACTIONS_RFROMTB are important. That fixes a very old bug. It was no really readable in german because the words were a way to long.

* Add files via upload

* Fixing Desert Tent pack output

When packing a DesertTent the output was ItemDomeTent not ItemDesertTent

* Decreasing hotwire kit chance

* Decreasing hotwire kit chance

* Decreasing hotwire kit and combo lock chance

* Decreasing combo lock chance, fixing loot group

* Fixing loot group

* Lowering ammo box spawn chances again.

* Fixing Desert Tent pack output all versions
2016-10-15 13:47:13 -04:00
ebaydayz
a6cb29aa7e Prevent spamming sleep on tent
Vanilla commit:

e9df65bc56
2016-10-15 12:04:44 -04:00
ebaydayz
05fda7b229 Block binding multiple controls to hold breath
Vanilla commits:

d77c47fdc1

2ffe5b4337
2016-10-14 20:14:34 -04:00
ebaydayz
9f608fdf44 Add humanity gain for giving splint to other players
Vanilla commit:

879d6ee4bf
2016-10-14 16:26:57 -04:00
ebaydayz
01a5bbe687 Update Melee bat damage
Vanilla commit:

b3781670b4
2016-10-14 16:18:52 -04:00
ebaydayz
0da569acad Update zombie_agent.fsm
Vanilla commit:

402bb4e109
2016-10-14 16:14:43 -04:00
ebaydayz
6cf740e7d4 Update _object_damage private array
Vanilla commits:

21ea5984c9

a13e7240dc
2016-10-14 16:07:03 -04:00
ebaydayz
5e51787e59 Remove rSwitchMove in Turbo key block
Vanilla commit:

8b551681d9
2016-10-14 15:03:53 -04:00
ebaydayz
d44696be3a Delay player_death 1s if spawned from Killed EH
Vanilla commit:

96c9be3ecf
2016-10-14 12:40:19 -04:00
ebaydayz
916f1733eb Add back melee ammo after removal for BIS_fnc_inv
Vanilla commit:

516d1d538c
2016-10-13 20:26:07 -04:00
ebaydayz
7044b0095d Get player name before death
Vanilla commit:

3e8c9410c5
2016-10-13 16:01:55 -04:00
ebaydayz
0b9c4a7ade Allow physics damage from vehicle crash
Vanilla commit:

804445830f

This was exiting with 0 damage if _hit=="". It accounts for vehicles not
being damaged at all when crashing full speed into walls. It was also
causing the player to sometimes glitch out of the vehicle or into the
ground when crashing as you noticed before @icomrade.

Also fixed driver getting a humanity hit for damaging passengers in
crash. Reverting 22b2a3a since this is more reliable.
2016-10-13 13:45:01 -04:00
icomrade
c89031e089 Fix clothes change exit on gear count fail 2016-10-13 11:42:01 -04:00
icomrade
aac372d320 Remove animation for switching clothes
If the gear sync script is called during the animation, the player will
fail the gear sync and not change clothes. After removing the anim this
no longer happens. Also I think this is a BS change that only
inconveniences the player and makes something that is already cumbersome
even more so
2016-10-13 11:40:54 -04:00
icomrade
edfba1516b Fice setFace error, use player's face for SP skins 2016-10-13 11:37:50 -04:00
icomrade
32131f866c Use OA config values for _DZ weapons 2016-10-12 15:01:56 -04:00
icomrade
bf31d8f6e7 Update tree array for NAPF
thanks @ndavalos
2016-10-12 14:55:24 -04:00
ebaydayz
46a1441773 Avoid format character limit in server_hiveReadWrite
Vanilla commit:
https://github.com/DayZMod/DayZ/pull/757
2016-10-12 13:36:19 -04:00
ebaydayz
854cbefdb2 Make all player names the same color in the lobby
Vanilla commit:

8614f37ccf
2016-10-12 12:21:42 -04:00
ebaydayz
22b2a3a79f Prevent humanity hit to driver when crash damages passengers
I forgot to account for this when allowing humanity hit to players in a
vehicle:

15e923fb19
2016-10-11 19:57:14 -04:00
ebaydayz
05fa3e6a9a Update keyboard_keys after changing controls in-game
Vanilla commit:

e9b21a7e79

@icomrade we forgot to refresh keyboard_keys after the player changes
their controls in-game. The keyhandler was still using the old
keyboard_keys array since it is only set once at login time. The new
keys they set in-game wouldn't work until they relogged.
2016-10-11 15:34:10 -04:00
ebaydayz
fbb8cc645c Prevent automatic humanity morph when in vehicles
Vanilla commit:

6326f1186d
2016-10-11 13:06:57 -04:00
ebaydayz
f8f9fbc57a Play medic animation when changing clothes
Vanilla commit:

b91c850f5f
2016-10-10 16:45:57 -04:00
icomrade
6f9316e496 Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch 2016-10-10 16:40:05 -04:00
icomrade
920c359e46 Adjust nutrition values and exclude chainsaw
Everytime a piece of wood was spawned resulting from a chainsaw the
player would become more hungry and thirsty. Obviously in less than 10
seconds this would kill the player if they chopped multiple trees down.
2016-10-10 16:40:01 -04:00
ebaydayz
7869288f39 Reblock turbo when on foot
Vanilla commit:

5bf403bb43

See:

46af339ce5
2016-10-10 16:34:40 -04:00
icomrade
0c1e9205ab Remove fuel tank and engine salvage 2016-10-10 16:25:25 -04:00
icomrade
f663cdcb39 Use OA config definitions for DMR
fixes NVGs
2016-10-10 16:12:49 -04:00
icomrade
347c531edc Fix reversed variable 2016-10-10 15:38:09 -04:00
ebaydayz
1bb6554211 Update test build 2016-10-08 21:30:08 -04:00
ebaydayz
5fdbced171 Add more loot and zed positions for namalsk
Vanilla commits applied:

57511ad463

7745633e8e

0e237c0274

95d3f94f88

6e4598a3e1

081620cccb
2016-10-08 19:58:58 -04:00
ebaydayz
4670f16e89 Rename _isOwner variable to _hasAccess
This is a more logical name in these cases, since friendlies and admins
are not the owner.
2016-10-08 15:57:51 -04:00
ebaydayz
e6d1e0050d Remove redundant _canDo and cursorTarget checks in selfActions
Vanilla commit:

dfb199fbc3
2016-10-08 15:36:38 -04:00
ebaydayz
534abdbdf0 Remove excessive door management config variables
Too many config variables made this unnecessarily complicated. Most
servers will want the defaults. For those that want to customize further
they can easily overwrite these files.

These seem like the most logical defaults to me. Allow all of these
people to manage and unlock by default:
- door owner
- plot owner
- plot friend
- plot admin
- door friend
- door admin

Door friends should be able to manage by default so they don't have to
wait for the owner to come back online to add someone as a door friend.

Plot friends and plot admins can get around the door by removing it and
building another one anyway, so locking them out is pointless. It is
still useful to have these as separate variables for servers that do not
require plot poles though.

Regular friendlies should not be included by default, since we have the
more fine grained plot friends and door friends lists for that. Regular
friendlies will probably be replaced by groups in the near future
anyway.

Please post a comment if there are any issues with these defaults I'm
forgetting. Thanks.
2016-10-08 14:49:59 -04:00
ebaydayz
f395f2303c Update 30m_plot_kit classname in epoch.sql #1775
@oiad #1775
2016-10-08 12:44:34 -04:00
ebaydayz
0f0dcfd522 Merge pull request #1775 from oiad/master
Rename plot pole and dze_BuildChecks changes.
2016-10-08 12:36:36 -04:00
ebaydayz
d3bd2ba4a1 Update vanilla barn loot pos
Vanilla commit:

b8eed6fc70
2016-10-08 12:07:07 -04:00
oiad
78fac87333 dze_BuildChecks changes
This changes the reasons to be more understandable about why you can't
build somewhere.
Some localization fixes to be more englishy.
2016-10-08 12:53:25 +13:00
oiad
5bc36166a7 Rename plot pole from "30m_plot_kit" to "plot_pole_kit"
Sanity change since the plot pole is not fixed at 30 meters and is
configurable.
2016-10-08 12:51:21 +13:00
ebaydayz
8a2d95295b Restrict access to show plot boundary action
Only the owner, plot owner, plot friends and plot admins should be able
to see the plot boundary. Randoms just use it for griefing.

Also renamed the targetX variables to the more appropriate doorX in
fn_check_access since they are only used if the target is a door.
2016-10-07 17:39:06 -04:00
ebaydayz
c0d7917603 Add note about Linux server 2016-10-07 15:56:27 -04:00
ebaydayz
a909d713c3 Fix death message handling of vehicle explosion 2016-10-07 15:08:00 -04:00
ebaydayz
79d2b268a8 Changed loot_spawn to use PositionAGL
Vanilla commit:

7e413848fb
2016-10-07 14:41:47 -04:00
ebaydayz
3604d77823 Fix reversed comments for RunOver/Dragged
Vanilla commit:

ef3600bd32
2016-10-07 14:19:08 -04:00
icomrade
b25b7636a7 Direct menu to cursortarget or player
Please test the living hell out of this.
2016-10-07 13:46:53 -04:00
ebaydayz
5b158b398a Fix damage handling of vehicle explosions
Vanilla commit:

589791e9f9

This was being falsely triggered before because the distance (3m) was
far too small and it was only counting fast moving vehicles. The player
can be damaged up to 25m away from the vehicle explosion.

The comment was incorrect. It can be easily checked by using the
included diag_log at the top of this file.
2016-10-07 13:42:05 -04:00
ebaydayz
b193ad925a Use more efficient check for "shot" death message
Most of the time the source will be local (zombie) or player (physics).
The next most common will be getting shot by a remote player, the least
common will be getting shot by a remote vehicle.
2016-10-06 19:13:46 -04:00
ebaydayz
7909f0089f Make minor adjustments to damage handler
These variables were moved down so they aren't checked unnecessarily
when the script exits.
2016-10-06 16:25:39 -04:00
oiad
5472eda2a8 Add M240Nest_DZ to maintain classes variable. (#1773)
* Add M240Nest_DZ to maintain classes variable.

This makes it so M240Nest can be maintained. (Which it should be)
2016-10-06 14:46:35 -04:00
ebaydayz
976314df24 Merge pull request #1774 from AirwavesMan/master
Fixed GP25 wrong text
2016-10-06 14:26:37 -04:00
A Man
e55b0b1ce5 GP25 wrong text
GP25 had the wrong description text.
2016-10-06 20:07:54 +02:00
icomrade
5381748c63 better gear menu check
should be less annoying
2016-10-05 20:13:26 -04:00
ebaydayz
50584d3ff4 Update test build 2016-10-05 17:41:40 -04:00
ebaydayz
2ee06afea7 Sync chopped down trees for JIP players
Vanilla commit:

a57478fb1a
2016-10-05 17:24:10 -04:00
ebaydayz
6e544e447e Fix some missing spaces in stringtable from #1772 2016-10-05 15:27:26 -04:00
ebaydayz
f41dbf377c Remove duplicate UH1H_DZ2 class
Duplicate of UH1H_2_DZ

This was not in 1051, so no need to swap in SQL updates.
2016-10-05 13:31:39 -04:00
ebaydayz
8c237492b9 Update vanilla player_build
Vanilla commit:

fd8e1e2baa
2016-10-05 13:01:40 -04:00
A Man
2519d7e52e Addong german strings, updating heli displaynames, new UH-1H DZE (#1772)
* Updating displaynames 

Unfortunately I gave a few choppers their class names as displaynames. That should be better now.

* Adding DZE for UH1H_2 variant, displayname update

Adding the UH1H_DZE with no ammo. Adding better displaynames for the UH1H

* Updating german strings

Adding a lot german strings and correcting a few.

* Update stringtable.xml

* Update stringtable.xml

* Update stringtable.xml
2016-10-05 12:51:50 -04:00
ebaydayz
2109fdba03 Prevent sell from vehicle dupe
Prevents dupe described here:

https://epochmod.com/forum/topic/41891-resource-a-collection-of-anti-dupes/#comment-281324
2016-10-05 12:17:17 -04:00
ebaydayz
d109d9fb01 Fix SVD_DZ alternative iron sight
Vanilla commit:

8027cf6917
2016-10-03 16:49:26 -04:00
ebaydayz
97796bf524 Update change log 2016-10-03 15:45:13 -04:00
ebaydayz
df39ea0f30 Fix DomeTentStorage SQL Update
The Epoch dome tents had more cargo space than the default vanilla ones,
so we have to use the level 1 upgraded version to prevent gear falling
out.

Also corrected swap for DesertTent.
2016-10-03 13:17:10 -04:00
ebaydayz
a8e9c71ed1 Update some loot spawn rates
Vanilla commits applied:

8be21c0322

256212388d

8d928c4c8f

b83d74e076
2016-10-03 12:53:15 -04:00
ebaydayz
da524041ee Update vanilla fences
Vanilla commits applied:

c5f2447f14

45e757ece2
2016-10-03 12:27:43 -04:00
ebaydayz
591af81575 Add exit in fn_waitForObject.sqf
This is just in case something goes very wrong (like bad server lag) and
the object doesn't spawn.
2016-10-02 22:30:38 -04:00
ebaydayz
8196c2343a Fix inCombat checks from 0a17804
My mistake from 0a17804
2016-10-02 21:13:17 -04:00
ebaydayz
004a3bcde4 Fix wrong string used for Mountain Green soda
Mountain green was using the mountain dew strings too. These strings
were unused.
2016-10-02 20:31:52 -04:00
ebaydayz
87bebfad1f Improve publishVeh2 diag_log 2016-10-02 20:07:03 -04:00
ebaydayz
4faa1cbaab Set third parameter after findSafePos
All other scripts using findSafePos either set the third parameter or
use a getPosATL/etc. instead before the position is saved to database.

Also partially reverted d6e78b2 since it is not needed.
2016-10-02 18:51:46 -04:00
icomrade
1af4cc070f Fix issue with objects spawning in debug
better logging as well.

I haven't had objects purchased spawn in the debug, only those spawned
in with the admin tools since the position doesn't always have a third
element.
2016-10-02 16:20:35 -04:00
ebaydayz
de219116a8 Optimize save after trade
See my comment on b806043

Veh_setFixServer only runs on the server, so the client does not need to
compile it.

The PVDZ_veh_Save PVEH is only added on the server, so it should never
be sent with regular publicVariable anymore.
2016-10-02 15:44:51 -04:00
icomrade
353d3732d1 Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch 2016-10-02 15:00:49 -04:00
icomrade
f66c512485 Revert SQL changes, update key gen
slightly different generation scheme
2016-10-02 15:00:35 -04:00
ebaydayz
91f168011c Remove unused variable from #1770
_inventoryMoney was unused @oiad
2016-10-02 14:11:20 -04:00
ebaydayz
c4f861630d Fix typo from 55910cc
Variable is not defined in this script.
2016-10-02 13:57:33 -04:00
ebaydayz
55910cc3d2 Remove humanity hit for killing player zombies
If you kill a player zombie you should not lose humanity. Player_death
is now synced with the humanity hit code in the damage handler.

Also the killing blow set variable was moved up because the same
conditions were already checked above.
2016-10-02 13:50:30 -04:00
ebaydayz
4509902822 Remove source object from Humanity hit network send
Source object is always player and not needed anymore after 8ea21a2
2016-10-02 13:26:11 -04:00
oiad
9fd2f2270b Advance trading gem fixes/localizations (#1771)
* Advanced trading combine/return change

Fixes combining/returnChange to squash gems into usable currency so they
can properly be used in the economy
Stringtable fixes for duplicates

* Localization additions

More localizations
2016-10-02 13:06:31 -04:00
ebaydayz
f353967abb Remove duplicate transfusion in progress messages
In addition to 11fa6a6

Vanilla commit:

f4aac518c1
2016-10-01 20:06:59 -04:00
icomrade
02218b736c Update epoch.sql 2016-10-01 19:37:56 -04:00
ebaydayz
17b30a7a2e Fix AI damage scaling
Fixes shots from AI using default scaling. For example AK_74 was doing
200 blood per shot or 60 shots to kill.
2016-10-01 17:45:46 -04:00
ebaydayz
e630f428bc Enable self bloodbag by default
Most server will want this on, even vanilla has it enabled by default.
2016-10-01 16:00:46 -04:00
ebaydayz
d6e78b27f0 Add setVelocity in publishVehicle2
This prevents trader spawned vehicles from floating.
2016-10-01 15:56:52 -04:00
ebaydayz
8ea21a2c81 Fix humanity hit for units in vehicles
The only change is a removal of this check and the corresponding
tabs/spacing:

if (_object == player) then {

That returns false if the player is in a vehicle. It is not needed since
PVCDZ_plr_Humanity EH only fires on the intended player now (sent with
PVC instead of PV).
2016-10-01 13:43:30 -04:00
ebaydayz
0a17804e36 Change inCombat to bool instead of number
When a variable is only going to be 0 or 1 it makes more sense to use a
bool.

Also avoided unnecessary network broadcasts of inCombat from e446603
2016-10-01 13:07:59 -04:00
ebaydayz
76273d06cd Fix undefined error _hasBloodBag in fn_damageActions
When this function was passed an empty array (like a player with no
magazines) it returned undefined because the inside of the forEach loop
did not execute.
2016-10-01 11:31:24 -04:00
oiad
11fa6a631c Minor fixes (#1770)
* Minor fixes

Simplifies the serverside logging to be more human readable
Removes duplicate transfusion text

* Minor fix

Minor fix for syntax
2016-09-30 22:10:56 -04:00
ebaydayz
341e734373 Change satchel and mines to single gear slot
For consistency with all other items in Epoch.
2016-09-30 21:47:48 -04:00
ebaydayz
ff8fb18cbf Correct stringtable explosion death grammar
Proper grammar when used in:
His name was %1, it appears he died from %2
and
%1 died from %2
2016-09-30 21:05:20 -04:00
ebaydayz
d9b785750d Fix death messages vehicle detection again 2016-09-30 20:51:34 -04:00
ebaydayz
88c1b83c31 Fix mine detection in death messages again 2016-09-30 20:06:18 -04:00
ebaydayz
1fb0b1004d Fix typo from d335ee2 2016-09-30 19:16:38 -04:00
ebaydayz
d335ee2b1c Fix death message mine and satchel detection 2016-09-30 19:14:11 -04:00
ebaydayz
b45d6d9a24 Color new killfeed death messages
The player who died is colored red and the killer is colored green. The
weapon now points in the direction of the player who died.

Also reverted 66fd5be since it did not help. It is already done globally
in player_death.sqf anyway. I tested again and this actually fixes the
problem.
2016-09-29 20:26:26 -04:00
icomrade
1b91e808dd remove unused variable 2016-09-29 15:59:52 -04:00
icomrade
e49d786e2a Fix gear access on locked vehicles
This will be annoying in bases for sure, but cursorTarget just doesn't
work reliably.
2016-09-29 15:58:28 -04:00
ebaydayz
b4be955a0d Update new runover death message 2016-09-28 18:57:09 -04:00
ebaydayz
66fd5bee57 Clear combat status on death
This prevents "player combat logged" message after a player dies. The
alive check should prevent this in onPlayerDisconect, but it is
apparently unreliable or slow to update.
2016-09-28 14:46:59 -04:00
icomrade
c746d98853 Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch 2016-09-27 20:55:13 -04:00
icomrade
869f98efd7 Fix change clothes dupe 2016-09-27 20:55:06 -04:00
ebaydayz
dbd84e419b Use spawn for dynamicText kill feed
My mistake from 9b13bd0
2016-09-27 20:54:38 -04:00
ebaydayz
15b05dc84b Fix return change free space check when buying into vehicle
This fixes incorrect return of "not enough space to accept change" when
purchasing large quantities of magazines into a vehicle.

Thanks @oiad for noticing this.
2016-09-27 19:09:54 -04:00
ebaydayz
a2fcb69579 Remove scheduler_corpse setPosATL
Vanilla commit:

b4b54b51cc
2016-09-27 17:20:24 -04:00
ebaydayz
f15db73072 Update vanilla player_build
Vanilla commits:

f1e12509e1

ce98e0b1d5
2016-09-27 17:15:43 -04:00
ebaydayz
79c6d605a5 Add back playMoveNow in fn_unconscious.sqf
Partially reverting 341d45f

See comment on 341d45f
2016-09-27 16:50:59 -04:00
ebaydayz
cc28d43d25 Remove unit's local event handler anticheat check
The createUnit remote execution locality exploit was fixed in current
A2OA stable patch 131129:
https://forums.bistudio.com/topic/186695-a2a2oa-patch-18122015/

This is now unnecessary and would needlessly restrict modders.
2016-09-27 16:04:14 -04:00
ebaydayz
ceebaac579 Allow MAAWS HEAT round in createVehicle.txt
These are in the Epoch loot tables.
2016-09-27 15:26:09 -04:00
ebaydayz
9b13bd0e5e Update new death messages 2016-09-27 15:08:41 -04:00
icomrade
58e90da07d Fix transfusion in vehicle 2016-09-27 12:46:13 -04:00
icomrade
8c3fe83a87 Better UID Calculation + Longer ObjectUID Column
Don't even bother using vector in the key calculation, the sqf ObjectUID
isn't as critical anymore. This method will be much faster.

Changed ObjectUID column to Varchar since with this key generation
method we can approach the BigINT ceiling much quicker than we used to.
2016-09-26 16:34:26 -04:00
icomrade
111d9e46f0 Update Test Build and Readme 2016-09-26 13:52:30 -04:00
icomrade
514ac67650 Better OnPause 2016-09-25 20:31:38 -04:00
ebaydayz
7ae35316ed Merge pull request #1769 from oiad/master
Advanced trading bugfix, Snap building typo and snap point fixes
2016-09-24 12:25:14 -04:00
oiad
c02053176d Advanced trading bugfix, Snap building typo and snap point fixes
Fixes a bug with advanced trading green "you have this item" text in
buyables list, this was showing you had the item when you didn't.
Snap building typo
Snap building snap points for large cinder walls as reported by
@SmokeyBR
https://github.com/EpochModTeam/DayZ-Epoch/issues/1766#issuecomment-248021073
2016-09-24 18:53:02 +12:00
icomrade
40d419e475 Re-add abort timeout
Timeout is no longer restarted when you click abort and the loop now
closes the gear menu so the player cannot attempt to dupe with the gear
menu and abort menu open at the same time.
2016-09-23 19:10:39 -04:00
icomrade
770378b3af Private array 2016-09-23 17:22:57 -04:00
icomrade
cabf978fe7 Modify linebreaks in stringtable for parsetext 2016-09-23 16:59:17 -04:00
icomrade
e8006a40af Non-blocked messages
Displays at the bottom center of the screen. This now accepts formated
(structured) text, see https://community.bistudio.com/wiki/parseText for
more info
2016-09-23 14:02:31 -04:00
ebaydayz
c1763171db Fix damage on local trader city objects
This fixes local trader city objects taking damage from being run over.
2016-09-23 12:08:51 -04:00
ebaydayz
c4388356e5 Add setVariable.txt BE exception 2016-09-23 11:18:00 -04:00
ebaydayz
cc03256475 Update purchased vehicle spawn location
If there was no helipad available findSafePos was called. If that failed
it spawned the vehicle in the debug zone.

Calling findSafePos is no longer necessary since we are now using
createVehicle "NONE".
2016-09-22 18:12:52 -04:00
icomrade
7f0935c639 add floors to drop array 2016-09-22 15:14:05 -04:00
icomrade
6ae64eb622 Prevent player from dragging through walls 2016-09-22 14:03:23 -04:00
icomrade
43547c8273 Better key calculation
append diag_ticktime to key. Max length is 24 characters in the DB so
the limit so this shouldn't cause issues unless the server is up for
hundreds of days.
2016-09-22 13:26:15 -04:00
ebaydayz
b315c15cb0 Update vanilla chop wood
Vanilla commit:

1bca531254
2016-09-21 18:43:23 -04:00
ebaydayz
5e71793c17 Update vanilla building
Vanilla commits applied:

44f2552ff2

213a333ce5

423d53299d

43bce6554f

f551cdac6e
2016-09-21 17:14:13 -04:00
ebaydayz
33cf7611ed Don't allow jerry fill from destroyed fuel source
Vanilla commit:

90251abab3

9204c15d3f
2016-09-21 16:53:29 -04:00
ebaydayz
ef065aeb35 Fix plot management buildables in range display count
See #1735
2016-09-21 15:52:14 -04:00
ebaydayz
f3ccb74eab Also update objects if player is dead in onPlayerDisconnect
I just noticed before 5f0c2fc this was also running if the player was
dead. Now it will run if the player is alive in playerSync otherwise it
will run here if they are dead.
2016-09-21 11:41:41 -04:00
icomrade
a60556e8a3 Update SQL 2016-09-21 11:32:20 -04:00
icomrade
c042145081 Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch 2016-09-21 11:09:50 -04:00
icomrade
4e946552fd Fix combat logging
Thanks @ndavalos

@ebaydayz since this was moved after player_sumMedical is called in
5f0c2fcc49
it would no longer save the modified unconcious and timeout vars to the
DB.
2016-09-21 11:09:03 -04:00
ebaydayz
01b45121d8 Fix dayz_townGeneratorBlacklist not working
I forgot to update it when these were moved to global spawn recently.
2016-09-20 20:19:47 -04:00
ebaydayz
e2c2a2a76a Fix 309 error for newly placed safe inventory
See my comments on ae78fde and a3c3ccc

The object_maintenance function is only for vanilla buildables and is
currently not used. It immediately overwrites with a 306 call.
2016-09-20 13:47:18 -04:00
ebaydayz
e94a66e9fd Merge pull request #1768 from AirwavesMan/master
Adding more loot table for zombies
2016-09-20 12:03:30 -04:00
ebaydayz
ac95c6b0df Make plot and door friends lists backwards compatible
This prevents errors when upgrading 1051 databases that had plot or door
management installed.

See comments at:

fe9b8fdcb4
2016-09-19 20:21:27 -04:00
icomrade
b9ec6df95e Revert "Update object management name strings to array format"
This reverts commit fe9b8fdcb4.
2016-09-19 19:43:21 -04:00
A Man
7b22d9dd14 New loot tables for zombies
Adding 3 new  loot tables
2016-09-20 01:28:42 +02:00
A Man
7ea6e9c7a4 Zombie loot update
Adding 3 more options for zombie loot to give admins better possibilities to customize the zombie loot.
2016-09-20 01:27:31 +02:00
A Man
5e3d4c7890 Zombie loot update 2016-09-20 01:25:20 +02:00
icomrade
fe9b8fdcb4 Update object management name strings to array format 2016-09-19 16:34:02 -04:00
ebaydayz
1b7d7a2ecb Clarify benchmark diag_log 2016-09-19 16:23:33 -04:00
ebaydayz
0ab73aa821 Merge pull request #1767 from AirwavesMan/master
Small loot position update
2016-09-19 16:13:36 -04:00
A Man
b751ffb278 Small loot position update
Adding Land_stan to loot positions. It is the same like the Camp. Increasing the high of loot positions to prevent loot from spawning in the ground.
2016-09-19 21:45:19 +02:00
ebaydayz
13600e9d4c Update 1.8.8 addons link again 2016-09-19 15:39:56 -04:00
icomrade
a30ae01af3 Add SQL Update for Coins in Inventory Column 2016-09-19 15:38:34 -04:00
ebaydayz
df70d1f4a3 Clarify comment about grass 2016-09-19 15:34:40 -04:00
icomrade
c97015fb9a Re-add removal of fuel tanks and engine
Thanks for the tip on fuel tanks @SmokeyBR
2016-09-19 14:11:45 -04:00
icomrade
91e5e875c2 Force save after building and maintain 2016-09-19 13:48:27 -04:00
icomrade
5f33fd3ef5 Fix R3F Tired 2016-09-19 13:39:58 -04:00
icomrade
37a717fe3f Fix generator gear display and Offroad hud
using generator as a tent should have no adverse effects.

Thanks @SmokeyBR
2016-09-19 12:08:25 -04:00
ebaydayz
cb6a985645 Update change log
Fixed several typos. Updated outdated info.
Removed the [FIXED] line for DarkUI because that UI was not present in
1051.
2016-09-18 17:49:46 -04:00
ebaydayz
61f38fc259 Use number instead of string for weapon slot type in configs
This is consistent with the rest of the weapon configs.

It also avoids issues with using isNumber or getNumber to check slot
type in scripts.
2016-09-18 14:58:35 -04:00
icomrade
9ec514cab1 Update Test Build to RC2
https://github.com/EpochModTeam/DayZ-Epoch/issues/1766
2016-09-18 09:48:01 -04:00
ebaydayz
708328e486 Avoid gear update for empty random vehicles
There is no need to update the inventory if no loot was added.

My mistake from d98025c
2016-09-17 19:07:08 -04:00
ebaydayz
d0e7b26121 Fix wrong distance in relocate diag_log
My mistake from 9c2f151
2016-09-17 18:15:16 -04:00
ebaydayz
3d0c5b13cf Fix playerSync error from 5f0c2fc
@icomrade There are cases where playerSync will receive > 3 params if
achievements are passed. Example:

https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/system/player_spawn_2.sqf#L305
2016-09-17 17:43:41 -04:00
ebaydayz
29d9ed9211 Set unit posATL in switchModel if respawn is in water
Reverts:

bcc16a0135

See:

e8e5d24e80
2016-09-17 15:41:49 -04:00
ebaydayz
5f0c2fcc49 Speed up onPlayerDisconnect some more
Moved combat log setVariables to playerSync. Now the player object is no
longer needed for any of the code at the bottom of playerSync or
onPlayerDisconnected.

Update objects is already performed at the bottom of playerSync. There
is no reason to do it again in playerDisconnect since it calls
playerSync.
2016-09-17 15:02:00 -04:00
ebaydayz
da70306291 Speed up playerSync a little
Removed unused variables and redundant checks.

_Force was always true so any condition with an OR _force in it was the
same as (true) i.e. redundant.
2016-09-17 14:03:05 -04:00
ebaydayz
9c2f15159a Correct Air relocate in server_playerSync
@icomrade you forgot to change the _playerObj variable to _character
when you moved this.

Also if BIS_fnc_findSafePos was successful on the first attempt the way
you had it would use the original _charPos instead of the successful
return because you never set _charPos = _newPos;

ed3227fa7a
2016-09-17 13:07:27 -04:00
ebaydayz
bc4cb49463 Remove redundant characterID check in server_playerSync
I made no changes apart from removing the (_characterID != "0") check
and the corresponding spacing/tabs.

If _characterID == "0" the script would have already exited on line 30.
2016-09-17 12:18:54 -04:00
ebaydayz
a63da4606d Speed up onPlayerDisconnect a little
Removed redundant diag_log since it is already done in dayz_recordLogin.

Removed noatlf4 variable because we use inCombat instead. Noatlf4 is
only set if the player is hit in the damage handler, while inCombat is
set any time the player is in combat.
2016-09-17 12:05:32 -04:00
ebaydayz
b9507b2eb4 Don't hideObject on debug floor
e8e5d24e80 (commitcomment-19060242)
2016-09-16 17:17:02 -04:00
ebaydayz
bcc16a0135 Roll back to old swimming in ground fix
See
e8e5d24e80 (commitcomment-19053648)
comments
2016-09-16 13:26:27 -04:00
ebaydayz
b4ad50bf8f Add comment about grass height 2016-09-16 12:27:32 -04:00
ebaydayz
0ab46abd52 Don't spawn epoch dynamic debris if town generator is on
Vanilla town generator debris can end up spawning inside of epoch
dynamic debris if both are enabled.
2016-09-15 17:07:11 -04:00
ebaydayz
6e57bc6f6f Revert fix invisible primary stance glitch
Partial revert from:

e8e5d24e80

Can't seem to reproduce this one now with this commit reverted. If
anyone has working repro steps let me know.
2016-09-15 16:49:19 -04:00
ebaydayz
7415c21c2b Small update to object_build
Vanilla commit:

a10173443b
2016-09-15 12:48:31 -04:00
ebaydayz
b2dfa058b0 Simplify double negative in fn_unconscious
Simpler than:

b609dcf519
2016-09-15 12:44:47 -04:00
icomrade
b609dcf519 Update fn_unconscious.sqf 2016-09-14 18:01:18 -04:00
icomrade
0802ecc0ed Do not require plot to build traps 2016-09-14 17:48:23 -04:00
icomrade
c0e0684841 Fix duplicate english string 2016-09-14 17:12:07 -04:00
icomrade
625333985d don't rearm horns 2016-09-14 16:52:51 -04:00
ebaydayz
815b54ec44 Fix gut dog
Body was disappearing because it had no meat on it (yield = 0). Thanks
@AirwavesMan
2016-09-14 16:42:25 -04:00
ebaydayz
b349150548 Don't auto disable sound mute when exiting vehicle
Let the player choose when to disable so there aren't any unexpected
drastic volume changes.

Vanilla commit:

60f4968f23
2016-09-14 15:36:35 -04:00
ebaydayz
ce6dffde3d Add A2OA translations for open and close door 2016-09-14 14:46:58 -04:00
ebaydayz
ea9c25f54b Merge pull request #1764 from AirwavesMan/master
Adding new german strings
2016-09-14 14:05:31 -04:00
icomrade
a5ffceeb17 Update 1.0.6_Updates.sql
comments need spaces otherwise MySQL workbench bitches
2016-09-14 12:47:23 -04:00
A Man
940efd1f2e Small Update 2016-09-14 02:53:13 +02:00
A Man
63c8a89514 Adding lots of new german strings
Ive changed some other strings too
2016-09-14 02:42:24 +02:00
ebaydayz
e8e5d24e80 Fix swimming in ground glitch
Also fixed invisible primary stance glitch when relogging with pistol
but no primary in inventory.

Fixed my mistake from:
e85f6ad1b5
2016-09-13 18:36:06 -04:00
ebaydayz
e85f6ad1b5 Consolidate transfusion scripts
Consolidated transfusion and transfusion_noBloodTypes to one script.

Selfbloodbag.sqf will never run if DZE_selftransfuse = false; because
the right click action is hidden.

Total blood quantity is now added in 1/4 increments during self bloodbag
as intended instead of all at once.
2016-09-13 15:02:16 -04:00
ebaydayz
a8e5aba517 Remove some redundant createVehicle filters part 2
These are covered by the first line now.

Vanilla commit:

cd52730484
2016-09-13 11:45:36 -04:00
ebaydayz
4a2bf1c006 Remove redundant createVehicle filters
These are covered by the first line now
2016-09-13 11:20:47 -04:00
ebaydayz
c7a6c71330 Disable vanilla base building actions for now
Since we are not going to use vanilla base building.
2016-09-12 16:11:29 -04:00
icomrade
a09e364ec1 Don't block damage from explosives 2016-09-12 14:42:18 -04:00
ebaydayz
29c16dc59f Consolidate duplicate sell distance variables 2016-09-12 14:14:38 -04:00
ebaydayz
2bb5c5942c Retire cone and pole plot previews in favor of dome
Thanks @oiad for pointing this out.

Poles are not used for previewing anymore. Cones do not give as much
information as the dome.

The dome is visible at night and under night vision too.
2016-09-12 13:39:00 -04:00
icomrade
26f9102a00 These are used
I didn't save all before commiting :(
2016-09-12 12:57:08 -04:00
icomrade
06202e753f Minor loot/crafting cleanup
removed DayZ fences and unused item, added some crafting supplies to
trader (marginal savings if you craft bandages as opposed to buying
them)
2016-09-12 12:55:47 -04:00
ebaydayz
d98025c8d9 Fix random spawned vehicle loot saving
Dynamic vehicle loot will save to database now even if no players
interact with the vehicle before restart.
2016-09-12 12:23:23 -04:00
ebaydayz
66ac72ea9d Add setPos.txt BE exception for WoodenArrowF
4214d99bb1
2016-09-11 18:12:34 -04:00
icomrade
252843dee7 should fix error 2016-09-11 16:40:15 -04:00
icomrade
82c8d4d538 Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch 2016-09-11 16:38:30 -04:00
icomrade
203975def7 Rearm driver weapons (pook rearming) 2016-09-11 16:38:26 -04:00
ebaydayz
8bcd3a44e6 Keep Epoch strings in the dayz_epoch package of stringtable
@oiad Please keep Epoch specific strings in the dayz_epoch package.
Vanilla does not have any of these items.
2016-09-11 15:40:16 -04:00
ebaydayz
16e4dc7b30 Move HeliCrash and CarePackage area variables to markers
This allows finer grained control of crashsite, carepackage and infected
camp spawn positions and radii (further north, south, east, west, etc.).

Also removed some hardcoded checks for Chernarus, since
dayz_townGenerator should always be off on other maps for now. Someone
may add town generator coordinates for other maps later.

Related vanilla commits:

b20b402bf0

7c8b69eb82

7dfd3ef9cf
2016-09-11 14:45:49 -04:00
icomrade
48334e76d4 Update spawned vehicle inventory after publishing 2016-09-11 14:43:26 -04:00
icomrade
caddfafc78 oops 2016-09-11 14:24:20 -04:00
icomrade
b806043a4a Save player and vehicle after trade
Also forgot to commit a change yesterday
2016-09-11 12:52:38 -04:00
ebaydayz
b835059885 Merge pull request #1763 from oiad/master
Localization additions
2016-09-11 10:13:56 -04:00
oiad
64348b1f84 Localization additions
Adds some more text to localization, Moves sandbags around so they are
all next to each other.
2016-09-11 15:21:43 +12:00
icomrade
b305e7d793 Don't force save at login
Thanks for the heads up ebay
2016-09-10 20:45:39 -04:00
icomrade
286f7d6017 whitelist laser on turret 2016-09-10 16:07:38 -04:00
icomrade
0dcc75e5ec Limit to crew 2016-09-10 15:53:16 -04:00
icomrade
14bf9f9018 Fix combat in vehicles 2016-09-10 15:34:54 -04:00
icomrade
ed3227fa7a Fix dupe on disconnect
I moved the relocation code to player_sync, I didn't notice any errors
but just check to make sure it's working okay.
2016-09-10 13:43:56 -04:00
ebaydayz
bbe6be6c31 Rename Multiplayer Setup to Lobby
Vanilla commit:

fd90a380a7
2016-09-10 13:19:31 -04:00
ebaydayz
3b8f89f18d Add version number in mission briefingDescription
Provide some useful info here instead of just repeating the
briefingName.
2016-09-10 12:26:13 -04:00
oiad
fed89a0ed2 Advanced trading and safe GUI changes (#1762)
* Advanced trading and safe GUI changes

This adds displaying of item/backpack/weapon/vehicle descriptions
Moves Weapons display on vehicles to a modular type, so if the vehicle
has no weapons it wont display, same with Description

Fixes an issue with safes not sounding keyclicks, at present they are
only active if you have music turned on, since I don't play with music
on (and many others) you will never hear them and when you do, the DTMF
signals they use are really obnoxious.

Replaced the sound with the one from the lockboxes, it's still audible
but very reasonable.

* Advanced trading fixes

Rework for my previous commit @ebaydayz

* Localization additions

Missing from previous commit
2016-09-10 12:09:27 -04:00
ebaydayz
f57e303355 Update vanilla fence building
Vanilla commits applied:

e88a5c42bc

fe95643511

9a82b8307c

5a305198c7

be872601c9

44a25b1b4a

7bfeab3c13

cc5f02a41a
2016-09-10 11:25:10 -04:00
ebaydayz
11a3df0177 Add note about database in Test Build Readme 2016-09-09 14:55:20 -04:00
ebaydayz
cb09377d26 Add GPS, Rangefinder and NVG back as sell only
Partially reverts
7435548582
@AirwavesMan now that buy or sell only is available via:

ffef031863
2016-09-09 14:05:06 -04:00
ebaydayz
8f25cc70db Localize sell and buy only messages
PrimaryWeapon always returns "", never nil unless the player object
isNull (in which case this script would not be running).

Fixed cases where a nil variable would throw an error when checking the
next condition.
2016-09-09 13:53:20 -04:00
ebaydayz
e5e212bbc2 Add comment about salvage vehicle work around 2016-09-09 12:58:41 -04:00
ebaydayz
eadbbb18bf Fix double tap bunny hop with no weapon glitch
Also makes it easier to bunny hop in quick succession. Previously double
tap triggered a bunny hop immediately followed by a regular vault.

Vanilla commit:

5833c76491
2016-09-09 11:41:09 -04:00
ebaydayz
32db983f34 Fix undefined amount when bloodbagging remote player 2016-09-08 20:00:38 -04:00
ebaydayz
a666389026 Merge pull request #1761 from oiad/master
Salvage vehicles last changes
2016-09-08 17:48:09 -04:00
oiad
75f4f2fa1f Salvage vehicles last fixes.
Add changelog and enable by default
2016-09-09 09:46:51 +12:00
oiad
51f85acb9e Toggle for salvaging from locked vehicles (#1757)
* Toggle for salvaging from locked vehicles

This adds the ability to remove salvaging from locked vehicles which
helps avoid griefing
Fixes a spelling mistake for a localization string
Makes it possible to salvage 0% damaged items again, this was disabled
as per
3292d84b85
I've had this running on my server for a year or so with no issues (not
that it doesn't affect it, i've just never seen it)

* Toggle salvagable locked vehicles changers

@ebaydayz fixed
2016-09-08 17:32:27 -04:00
ebaydayz
4731780f5a Fix diag_log when vehicle spawn limit is reached
Prevents benchmark diag_log showing negative number of vehicles spawned.
2016-09-07 11:18:37 -04:00
ebaydayz
771284a297 Auto select main weapon after throwing
Also added to gear unload so player will auto select pistol if picking
one up with flares in their hands.

Vanilla commit:

08449fdfda
2016-09-06 16:36:45 -04:00
icomrade
bbf0ac583d whitelist pook grenades 2016-09-05 15:39:58 -04:00
ebaydayz
c8b3053496 Remove unused keyboard_keys function
I moved the compile up in compiles.sqf since vanilla is now updated with
the change:

f5780256ee
2016-09-05 14:16:38 -04:00
ebaydayz
cab627e3de Add note about server_timeSync name change 2016-09-04 14:40:03 -04:00
ebaydayz
530ed4b3b4 Only exit for playerNear if supply crate wreck or mine wreck 2016-09-03 20:16:21 -04:00
ebaydayz
70ebd6dbcb MISSION_ROOT variable is no longer needed
Also @icomrade you accidentally committed the testkit code to
chernarus11 init.sqf. Removed it for you.
2016-09-03 16:33:17 -04:00
icomrade
ffef031863 Allow disabling of buying or selling
Set price of the item to -1 in the Cfg traders files to disallow buying
or selling
2016-09-03 14:26:43 -04:00
icomrade
1b60d0d963 I should be more careful 2016-09-02 19:18:33 -04:00
icomrade
d1d5fe54f3 Fix cheat handling
This adds keydown handler for chat, map, and diary displays.
Additionally, this can be used to handle malicious chat input without a
delay by modifying the associated compile
2016-09-02 19:14:21 -04:00
ebaydayz
7be75c4674 Remove random unused faco code 2016-09-02 13:25:51 -04:00
icomrade
413e86b521 Reconfigure pook and autogyro magazines
This allows players to carry the magazines, without modification to
ammo.sqf the side guns of the pook transport are supported to be
rearmed. Modification will be required to allow turrets assigned to the
pilot to be rearmed, such as the pook H13 gunship and mozzie grenades.
2016-09-02 12:24:39 -04:00
ebaydayz
ab6fa80697 Wait for BIS_fnc_init on login
Fixes occassional case of undefined errors for BIS functions on client
when login completed very fast.
2016-09-02 12:03:14 -04:00
icomrade
678acff706 cleanup comment 2016-08-31 18:08:58 -04:00
icomrade
04b6707191 Fix Mozzies/gyrocopters
Fixes wrecks bouncing 500m into the sky, players not dying when crashing
these vehicles, and sound falloff (someone verify in a multiplayer game,
I teleported away from a flying mozzie and it appeared fixed).

I made a new startup and stop sound for the mozzie which is acceptable I
think, but I'm using the MV22 Osprey noise startup and stop noises for
the gyrocopter. The osprey startup is fairly well fitting, but the stop
noice is out of place, if anyone can come up with a better noise please
change it otherwise if it's out of place enough I'll just remove it
altogether.
2016-08-31 18:04:40 -04:00
ebaydayz
b9dc98ac6f Revert move Shift +- to function
See:

51caa509cb (commitcomment-18834096)
2016-08-31 13:46:26 -04:00
ebaydayz
51caa509cb Comment out Gcam keys and move Shift+- to function
Vanilla commit:

8ed8ab6b5c
2016-08-30 14:18:38 -04:00
icomrade
92b4c8785d Disable shift + - input
shift + - is used to ented arma "chests" which allow the player to issue
endMission, and limit their fps (min 5 fps limit). This unfortunately
disables the flush cheat, but attempts to filter out input and allow
flush are not reliable.
2016-08-29 13:49:05 -04:00
icomrade
78d17a5f87 Use real path 2016-08-29 13:31:07 -04:00
ebaydayz
16f17aafee Revert "Don't call player_forceSave when gear menu is aborted"
This reverts commit 91e312fdc7.
2016-08-29 12:05:50 -04:00
ebaydayz
cc9ba66888 Add Anzio_20_DZ
https://github.com/EpochModTeam/DayZ-Epoch/pull/1680#issuecomment-243150947
2016-08-29 12:01:06 -04:00
ebaydayz
91e312fdc7 Don't call player_forceSave when gear menu is aborted
https://github.com/EpochModTeam/DayZ-Epoch/issues/1712#issuecomment-242992472
2016-08-28 16:18:53 -04:00
ebaydayz
a245690cae Use looser values for logout in air vehicle fix
Fixes problems with
7b354e7d55
2016-08-28 12:40:32 -04:00
icomrade
0887b80556 Fix server_monitor
thanks @Bruce-LXXVI
2016-08-28 12:10:01 -04:00
ebaydayz
7b354e7d55 Fix relog over base in air vehicle to get inside exploit
Tested over forest, regular terrain and water without issue.
2016-08-28 11:35:32 -04:00
ebaydayz
0f043313ab Merge pull request #1756 from oiad/master
Plot management force maintain option
2016-08-28 10:09:32 -04:00
oiad
d6324723e9 Plot management force maintain option
This replaces the "refresh" menu option with a "force maintain" option.
Allows you to maintain the base even if it doesn't need it to either get
all your items in sync or if you are going away or similar.

Tested with:
dze_permanent plot true/false
z_singlecurrency true/false

Also fixes an undefined variable error in system_monitor that was
introduced
8f58baf3f2
2016-08-28 20:13:25 +12:00
ebaydayz
755adc7798 Initialize CurrencyName in configVariables.sqf
https://github.com/EpochModTeam/DayZ-Epoch/issues/1712#issuecomment-242927452
2016-08-27 15:09:49 -04:00
ebaydayz
04b6711822 Round humanity in journal
Vanilla commit:

145ec00b76
2016-08-27 10:11:49 -04:00
ebaydayz
3f27bef1e3 Add version define in config.cpp
Vanilla commit:

75ff017b53
2016-08-27 10:09:55 -04:00
ebaydayz
f2c39e0038 Fix wrong _name variable in server_onPlayerDisconnect
My mistake from #1753, name is already passed from onPlayerDisconnected:

https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_server/init/server_functions.sqf#L141
2016-08-27 09:48:14 -04:00
ebaydayz
6494d0e11b Add note about x86 version of redistributable 2016-08-27 09:13:19 -04:00
Niklas Wagner
65593be995 Add German String (#1755) 2016-08-27 14:38:33 +02:00
Niklas Wagner
10e34cf62b Merge pull request #1755 from oiad/master
Supply crate localization fixes
2016-08-27 14:32:15 +02:00
oiad
f838739975 Supply crate localization fixes
Extends the displayName RSC width to the same as the description (Not
sure why this was so small, it truncated longer display names)
Added localization strings for all the supply crates so they were easier
to distinguish in the gear menu.
2016-08-28 00:02:27 +12:00
icomrade
95310b9000 Re-add observer to UH1Y and AH6X
This fixes config errors for unknown animation sources for both
vehicles. The turrets do not have thermal capabilities and this restores
the missing co-pilot/observer seat in the UH1Y. Also I can't seem to get
the turret on the AH6X to rotate, but if someone knows how please leave
a comment or commit the changes. there's currently no overlay for the
observer of the AH6X since it can't move I feel it's limited enough
without an overlay like the UH1Y.
2016-08-26 15:21:03 -04:00
ebaydayz
ae329db599 Add TurnLeft and TurnRight actionkeys to interrupt
Fixes #1753
2016-08-25 17:42:24 -04:00
ebaydayz
c2b16f0828 Consolidate DZE_ActionInProgress and r_action_count to one variable
There is no point in having two variables for the same purpose.

It is also pointless to keep an action count tally like r_action_count
was doing, since it is only ever checked for being 0 or 1. Any count
higher or lower than that is irrelevant.

I will make this change in vanilla too.
2016-08-25 15:38:27 -04:00
ebaydayz
6b101d3c2e Apply missing updates to epoch.sql
All updates in 1.0.6_Updates.sql are now applied to epoch.sql.
2016-08-25 13:08:46 -04:00
ebaydayz
cb17d6bd06 Update test build 2016-08-24 20:26:51 -04:00
ebaydayz
a0973f12a1 Minor improvement to diag_log 2016-08-24 14:02:05 -04:00
ebaydayz
a8e2ce07b5 Optimize some createVehicleLocal
https://community.bistudio.com/wiki/Code_Optimisation#createVehicle.28Local.29
2016-08-24 13:34:11 -04:00
ebaydayz
56d63f608a Comment out CfgLoot include in configFile
No need to load twice.
2016-08-24 12:50:20 -04:00
icomrade
6068d62b2b Fix BRDM kick 2016-08-23 20:31:56 -04:00
ebaydayz
632f70482e Merge pull request #1752 from AirwavesMan/master
Better Cessna display names
2016-08-23 19:38:38 -04:00
ebaydayz
b4b8d3dc00 Remove DayZ_UseSteamID variable
Forgot to remove with
134a614255
2016-08-23 19:31:59 -04:00
ebaydayz
93d152209a Use distance > 0 instead of BIS_fnc_areEqual
This is faster and actually works.
2016-08-23 19:24:41 -04:00
ebaydayz
8af3d001ba Revert "Add faster array compare function"
This reverts commit d7cc4be585.
2016-08-23 18:22:06 -04:00
A Man
454583a461 Better Cessna display names 2016-08-24 00:11:22 +02:00
ebaydayz
a323f453d2 Make minor change to fn_waitForObject.sqf 2016-08-23 17:49:53 -04:00
ebaydayz
134a614255 Remove FNC_getPlayerUID
It's been over two years since it was added. All servers should be
updated to steam ID by now.
2016-08-23 15:40:26 -04:00
ebaydayz
7d27b5c0b1 Remove DZE_advancedTrading config variable
The legacy config trader menu was removed, so this variable is redundant
now.
2016-08-23 14:26:17 -04:00
ebaydayz
c871c1e2c1 Move DZE_ConfigTrader to configVariable.sqf
Most servers will want to use config traders.
2016-08-23 14:10:10 -04:00
ebaydayz
164ba6a135 Remove unused variable dayz_baseTypes
Vanilla commit:

220178844f
2016-08-23 14:02:20 -04:00
ebaydayz
6783ef9b1d Merge pull request #1751 from oiad/master
Plot/Door management userlist fix
2016-08-23 13:51:42 -04:00
ebaydayz
bebff83996 Update german translation #1749
Sorry @AirwavesMan I missed that you wanted to change this too.
2016-08-23 13:34:36 -04:00
ebaydayz
e74f12752b Remove unused duplicate clothing translations
Vanilla commit:

a49042262c
2016-08-23 13:29:44 -04:00
ebaydayz
81473754f9 Revert unnecessary change from #1747
https://github.com/EpochModTeam/DayZ-Epoch/pull/1747#issuecomment-241802114
2016-08-23 13:12:01 -04:00
ebaydayz
29acecc2f2 Retire DZE_MissionLootTable variable
AFAIK there is no performance difference between configFile and
missionConfigFile.

Using missionConfigFile by default simplifies loot scripts and makes the
extra config variable unnecessary. It's one less step for admins to
customize their tables.
2016-08-23 12:57:12 -04:00
ebaydayz
10b006d4eb Improve readability of trade_any type lists 2016-08-23 11:57:09 -04:00
ebaydayz
5c13101254 Add arrays slightly faster in dynamic_vehicle.sqf
Set is faster when adding a single element to an array, but + is faster
for combining arrays (or append in A3).
2016-08-23 11:34:58 -04:00
ebaydayz
d7cc4be585 Add faster array compare function
Vanilla commit:

7bbeab4e7d
2016-08-23 11:17:07 -04:00
oiad
4da8e07cb0 Plot/Door management userlist fix
This fixes the userlist from overflowing onto the Add button when
there's too many users in the userlist.
2016-08-23 23:25:46 +12:00
icomrade
8c43b0fc1a Move actualSpawnMarkerCount
thanks for the tip @ndavalos
2016-08-22 23:21:08 -04:00
icomrade
0e3e352491 Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch 2016-08-22 21:30:07 -04:00
icomrade
3dc7f21de6 Adjust toneMaping
A little less gloom by default
2016-08-22 21:29:59 -04:00
ebaydayz
2ceac68f84 Update test build 2016-08-22 20:22:49 -04:00
ebaydayz
38b2a551bd Fix fn_waitForObject handling multiple of same object type
Forgot to handle case where there is already one or more of that object
type in the area (safes, cars, etc.).
2016-08-22 20:14:11 -04:00
icomrade
a70501cf59 Use GetOut
Doesn't create a parachute with air vehicles
2016-08-22 19:28:50 -04:00
ebaydayz
2dd36bcda5 Add missing exception for PVDZ_Server_buildLock
Vanilla commit:

00cae30559
2016-08-22 17:07:59 -04:00
ebaydayz
bc7bef857f Fix r_action_count not reset in player_buildVanilla exit 2016-08-22 16:54:14 -04:00
ebaydayz
4c856e5bb1 Update test build to 1.8.8 dev addons
Dayz_buildings was updated to enable vanilla base building again for
1.8.8 release. Also dayz_equip and some others were updated to fix minor
errors.

This allows us to test vanilla building in combination with epoch
building.
2016-08-22 16:29:57 -04:00
ebaydayz
f1430fc41b Add note about A2OA version in TestBuild ReadMe 2016-08-22 13:37:51 -04:00
ebaydayz
61ebe75601 Merge pull request #1748 from oiad/master
Advanced trading fix
2016-08-22 12:25:13 -04:00
oiad
89a43cb2d8 Advanced trading fix
This fixes the issue that @ndavalos found:
https://github.com/EpochModTeam/DayZ-Epoch/issues/1712#issuecomment-241289082
2016-08-22 21:10:46 +12:00
icomrade
c4aa469e41 Don't send to original player 2016-08-21 18:36:20 -04:00
oiad
6bdc3956fb Plot / door management userlist sorting (#1747)
* Plot / door management userlist sorting

This correctly sorts the nearby humans list in both mods, I have this
running on my 1051 server with no issues, @ebaydayz please advise if
this is not right, I've tested it pretty well and it is indeed selecting
the right person/UID

* Door/plot management fixes

As per @ebaydayz
2016-08-21 17:19:52 -04:00
ebaydayz
8ef349e2bb Make minor adjustment to push stuck plane action 2016-08-21 17:03:47 -04:00
ebaydayz
745e287202 Add option to push stuck planes
Also changed flip vehicle back to 1051 default which allowed players to
flip non-ATVs with help.
2016-08-21 16:45:32 -04:00
icomrade
9aa1784f23 Globally remove wrecked objects
using PVEH PVDZE_obj_Remove. Wrecks only exist for the players currently
in the server when the parent object is destroyed. Passing the object
through the PVEH does not work.
2016-08-21 15:46:33 -04:00
icomrade
2ef433dc93 Server_monitor fixes
revert _serverVehicleCounter to array, since I didn't notice it was
referenced in another file. Don't attempt to load objectData dump if the
vehicle count is 0 since the file won't be created.
2016-08-21 14:36:11 -04:00
icomrade
f50666190b accidentally removed _hiveLoaded 2016-08-21 14:20:45 -04:00
ebaydayz
f8334c8315 Update dynamic_vehicle.sqf with new Cessna and AN2 2016-08-21 14:09:05 -04:00
ebaydayz
df67a35bc7 Add new AN2 skins to trader 2016-08-21 13:48:23 -04:00
ebaydayz
c412287972 Fix shotgun ammo case sensitivity in SQL updates
https://github.com/EpochModTeam/DayZ-Epoch/issues/1712#issuecomment-241269173
2016-08-21 13:13:51 -04:00
ebaydayz
da2faeb6d0 Add back fall damage block for local explosion cheats
Vanilla commit:

a02294421c
2016-08-21 13:06:02 -04:00
ebaydayz
19dd6f26ab Add setVariable exception for Merlin hit part 2016-08-21 12:41:00 -04:00
ebaydayz
289b1307ff Fix speed typo in damage handler and vehicle getOut
Vanilla commit:

1f6dd9f787
2016-08-21 12:06:12 -04:00
ebaydayz
92fbfdfdae Fix gunshot study body death message
Vanilla commit:

9993400f97
2016-08-21 12:02:10 -04:00
ebaydayz
fd90eda8ae Update vanilla player build
Vanilla development commits applied:

a2193626a0

deb7207672

2de1d90edd

8a914606cf
2016-08-21 11:58:32 -04:00
ebaydayz
f0e0f6d6e4 Temp Bypass for tents and stashes for collision checks.
Vanilla development commit:

143f8e4dcb
2016-08-21 11:39:19 -04:00
A Man
49c6e0c318 Adding many new vehicles to configs (#1746)
* Adding display name for UH60M_MEV_EP1_DZ

* Adding 6 new Mi17 variants to config

Armed:
Mi17_TK_EP1
Mi17_UN_CDF_EP1
Mi17_CDF

Unarmed:
Mi17_medevac_CDF
Mi17_medevac_Ins
Mi17_medevac_RU

* Adding new line for Cessna.hpp

* Adding Cessna to the configs

That removes the radar function from the cessans.

* Adding 1 new An2 version to the config

* Adding 2 more HMMWVs to the config

Ive lowered the maxspeed from the HMMVW_DZ because all HMMWVs have a maxspeed of 100.

New classes:

HMMWV_Armored
HMMWV_M2

* Adding BRDM2 to configs

* Adding line for BRDM2_DZ.hpp

* Update after comments

* Update again

* Update BRDM2_DZ.hpp

* Update HMMWV.hpp

* Update HMMWV.hpp

80 is the same as the other high tier armored HMMWV above. 40 is the same as the low tier ones.

* Update HMMWV.hpp

* Update HMMWV.hpp

* Update BRDM2_DZ.hpp

* Update HMMWV.hpp

* Update CHANGE LOG 1.0.6.txt

* Update UH60.hpp

* Update Cessna_DZ.hpp

* Update Cessna_DZ.hpp

* Update NeutralAirplanes.hpp

* Update MI17.hpp

* Update AN2_DZ.hpp
2016-08-21 09:19:34 -04:00
icomrade
43275aa8e6 Update server and DLL 2016-08-20 19:25:47 -04:00
icomrade
00fa89d08f Server_monitor.sqf with new object stream method
Allows server to use either legacy loading method by itterating
callExtension (using  _legacyStreamingMethod = true). Otherwise, the
hive will dump objects to a file, write the filename to the server's
profile and it is deleted next restart, each filename is unique every
startup.

Associated hive commit:
bc5d5c56a8
2016-08-20 19:24:24 -04:00
ebaydayz
d20221caf3 Crash site spawns lowered to 1 at startup. Spawn frequency changed.
Vanilla development commit:

a2040214dc
2016-08-20 16:32:56 -04:00
ebaydayz
38e30d2565 Remove duplicate drink string
Vanilla development commit:

c25213fbb4
2016-08-19 15:41:50 -04:00
ebaydayz
f3370cbc4b Give vehUpgraded a default value #1745
@oiad No need to check _vehtrade in this case it will always be true if
_vehUpgraded != ""
2016-08-19 14:17:13 -04:00
ebaydayz
461424ff41 Merge pull request #1745 from oiad/master
Advanced trading selling upgraded vehicles.
2016-08-19 14:10:32 -04:00
oiad
d987fb290c Advanced trading selling upgraded vehicles.
These changes allow the player to sell upgraded vehicles with them not
being added to the trader (as to not polute the lists). This basically
refers to an upgraded vehicle as a child of the base vehicle so it will
get the same sell price as the base vehicle.

This still follows the original trading convention, the vehicle base
needs to be in the trader category, i.e you cant sell an armored SUV at
stary vehicle trader.
2016-08-19 22:15:47 +12:00
ebaydayz
554dad4e9e Add plot pole to setDamageOnAge SQL event include
Like locked doors, plot poles can also have UIDs in their inventory now,
since plot for life and plot management were added.

Thanks @oiad
2016-08-18 17:06:44 -04:00
ebaydayz
bfca19bf80 Remove some unused legacy code 2016-08-18 17:00:08 -04:00
ebaydayz
509c2b17d6 Fix typo from 5d372d3
5d372d3
2016-08-18 13:30:19 -04:00
ebaydayz
0394c61183 Match Adv Trade blue color for compatible highlight
Matches blue used in advancedTrading.hpp, slightly lighter and easier to
see on dark grey background. @oiad 42ebfb5
2016-08-18 13:27:00 -04:00
ebaydayz
5d372d3351 Add UH60M_MEV #1743
Added to traders in #1743
2016-08-18 13:01:08 -04:00
ebaydayz
0475e0fcb2 Merge pull request #1744 from oiad/master
Advanced trading buyable list changes
2016-08-18 12:11:48 -04:00
oiad
42ebfb54d7 Advanced trading buyable list changes
Further changes Advanced trading buyable list to show the item as blue
if it's compatible attachment wise and ammo wise.

This will get overwritten if the player has the item in their inventory
by staying green.

Also fixes a small bug I put into my last commit by not showing up for
boats/bikes etc.
2016-08-18 22:02:51 +12:00
ebaydayz
73a5f54f05 Slightly adjust some assault rifle loot chances 2016-08-17 20:46:58 -04:00
ebaydayz
2d73b13b06 Remove random empty lines in stringtable
leftover from da21433 @oiad
2016-08-17 20:20:49 -04:00
A Man
9cce8910c2 Adding many new weapons (#1743)
* Update stringtable.xml

Adding string support for AA12 ammo

* Update Rifles.hpp

Adding a few missing weapons.

* Update LMG.hpp

Adding one new LMG

* Update ShotgunAmmo.hpp

Adding AA12 ammo

* Update BanditAmmunition.hpp

Adding SCAR ammo

* Update BanditWeapons.hpp

Adding Mk17 Sniper and M110 NVG.

* Update FriendlyAssaultRifle.hpp

Adding Mk16 and L85 variations.

* Update FriendlyLightMachineGun.hpp

Adding L86A2 LSW

* Update NeutralBlackMarketAmmo.hpp

Adding new ammo AA12 and Mk17

* Update NeutralBlackMarketWeapons.hpp

Adding AA12 Shotgun and Mk17 variants.

* Update Weapons.hpp

Adding many new weapons.

* Update Ammo.hpp

Adding new AA12, Mk17 ammo to loot.

* Update AmmoBox.hpp

Adding SCAR ammo to eu2 box.

* Update Shotgun.hpp

Adding re-combine action for new AA12 ammo

* Update NeutralHelicopterUnarmed.hpp

Adding UH60M_MEV_EP1 to trader.

* Update NeutralBlackMarketAmmo.hpp

Removing AA12 HE

* Update Ammo.hpp

Comment out AA12 HE ammo

* Update Weapons.hpp

Lowering DMR spawnrate
2016-08-17 20:05:46 -04:00
ebaydayz
3103195017 Fix switch weapon addAction with nothing in hands
The addAction click was doing an animation without switching when the
player had a primary or melee on back but nothing in hands.

Probably present in vanilla too, will check later.
2016-08-17 15:26:24 -04:00
icomrade
879ed7d479 re-add sim enable 2016-08-17 15:25:59 -04:00
icomrade
488952e3b6 more server_monitor changes
Forgot to include this with the previous commit
2016-08-17 15:20:08 -04:00
icomrade
78665f3ed7 Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch 2016-08-17 15:18:42 -04:00
icomrade
6d45a8f2b6 use createVeh non-array on the server
Faster by my testing. Also, some more performance related changes to
server_monitor
2016-08-17 15:17:43 -04:00
ebaydayz
a345b69a77 Swap vanilla ItemPadLock for Epoch ItemComboLock
This greatly simplifies things over having two separate combo lock
classes.
2016-08-17 13:27:08 -04:00
ebaydayz
d62a69b9f5 ArmoredSUV transportMaxMagazines change #1588
Fixes #1588
2016-08-17 10:18:11 -04:00
ebaydayz
a2eb4af312 Merge pull request #1742 from oiad/master
Advanced trading change to buyables list
2016-08-17 09:56:21 -04:00
A Man
4e65c4b473 Add missing re-combine actions for magazines (#1741)
* Updating strings for missing magazins

Adding new magazine names to make it similar to the dayz 1.8.7. names.

Adding 
Mk17
M17 SD
M107
KSVK
L115
VSS

* Adding missing magazines and re-combine option

Mk17
Mk17 SD

* Adding missing magazines and re-combine option

M107
KSVK
L115
VSS

* Update stringtable.xml

Moved new strings to epoch package

* Update 762x51.hpp

Adding the SD indicator. I think the SB instead of SD is too confusing. So everyone knows it is SD ammo.
2016-08-17 09:45:15 -04:00
oiad
fc2c03d0d3 Advanced trading change to buyables list
This changes Advanced trading to change the item color to green if it
matches with an item is in your inventory, in your weapon slots (main
slot and dayz_onBack) is the same backpack and is a vehicle you are
local to.

This brings it in line with default trader, except we're using local
here since that's all that matters.

Thanks to @ebaydayz for the suggestion.
2016-08-17 22:52:05 +12:00
ebaydayz
f04d581b4d Cleanup Adv Trade parseText formatting
Just added line breaks so it is easier to count the format order.
2016-08-16 17:07:33 -04:00
ebaydayz
e02f8ba8ff Use BIS_fnc_numberText for SC number displays again
Missed some @ndavalos
https://github.com/EpochModTeam/DayZ-Epoch/issues/1712#issuecomment-239647854
2016-08-16 16:44:56 -04:00
ebaydayz
3f3f1a32ed Use BIS_fnc_numberText for SC number displays
See:

https://github.com/EpochModTeam/DayZ-Epoch/issues/1712#issuecomment-239647854

That should be all of them @ndavalos let me know if I missed any.
2016-08-16 16:28:06 -04:00
ebaydayz
72f6dbc849 Fix can't pack tent with DZE_permanentPlot=true
Thanks @nigeyuk and @oiad
2016-08-16 15:09:10 -04:00
ebaydayz
263a46f5c0 Add dayz_onBack to R3F weight total
thanks @AirwavesMan
2016-08-16 14:23:55 -04:00
A Man
7435548582 Small trader changes (#1740)
* Update FriendlyVehicleParts.hpp

Moving Mixed Oil to building supplies.

* Update FriendlyBuildingSupplies.hpp

Adding Mixed Oil.

* Update FriendlyToolbeltItems.hpp

Removing GPS, Range Finder and Night Vision from buylist. These items should be rare items and harder to find than other items.
2016-08-16 13:41:17 -04:00
icomrade
d4f5881155 Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch 2016-08-15 21:35:13 -04:00
icomrade
4a4e7952d0 Much faster server_monitor
in my testing createvehicle non-array is more than 2x as fast as
createvehicle array. Also includes some changes by @ndavalos in the RC1
issues thread.
2016-08-15 21:35:00 -04:00
ebaydayz
c66bd67f01 Remove duplicate translations again
Missed a few @oiad  ;)
2016-08-15 20:07:34 -04:00
ebaydayz
da2143336a Remove duplicate translations from stringtable
Submitted by @oiad
2016-08-15 19:58:52 -04:00
ebaydayz
b7ec9fc5aa Merge pull request #1739 from AirwavesMan/master
Updating CfgWeapons and harvest Wood
2016-08-15 18:56:15 -04:00
A Man
ad1e54af58 Updating for more wood
Updating for more wood from trees like in 1051.
2016-08-16 00:38:59 +02:00
A Man
14e4e0ac5a Updating for old magazines 2016-08-16 00:35:13 +02:00
ebaydayz
ae8329e55b Further simplify maintain_area.sqf again 2016-08-15 18:05:42 -04:00
ebaydayz
72c9c9eb38 Further simplify maintain_area.sqf 2016-08-15 17:54:16 -04:00
ebaydayz
b37445a4d5 Fix mistake from 15763f4
#1735

15763f4f2a
2016-08-15 17:21:13 -04:00
ebaydayz
8465c88b8f Merge pull request #1737 from AirwavesMan/master
Adding missing items
2016-08-15 16:47:10 -04:00
ebaydayz
15763f4f2a Consolidate maintain scripts
Thanks to @oiad for making this easy #1735
2016-08-15 16:33:00 -04:00
A Man
1795b03d24 Adding missing items
Adding missing items when using dayz_knifeDulling = true; anddayz_matchboxCount = true; and ItemFishingPole
2016-08-15 21:03:26 +02:00
oiad
c738710b77 Plot management fixes (#1735)
* Plot management fixes

This hopefully adds a few more items to the maintain list (@icomrade)
Uses epoch_returnChange to accurately and tidily return change and
handle money.
Localize maintain_area.sqf for single currency servers

* Plot Management tidyness

Fixing tidy issues

* Plot management changes

Fix maintenance variables as per @ebaydayz

* Plot management

Missed one

* Plot management fixes and default maintain_area fixes.

Convert original maintain_area.sqf to epoch_returnChange, I used the
plot management localization strings since I liked them better, the
epoch ones don't make a lot of sense really. Makes no difference if plot
management is turned off anyway.
Change the single currency version to work a lot better than it did, I
put the cost per item to 100 to be more in line with what I would expect
on a server

Changed _range to use DZE_maintainRange (DZE_plotPole select 0 + 20)
2016-08-15 14:49:56 -04:00
A Man
fc0f0dc896 Updating loot table and loot chances (#1736)
* Update Generic.hpp

Adding some magazines

* Update Police.hpp

Adding Loot Group AmmoCivilian and removing magazines

* Update Industrial.hpp

Removing  Sandbags, Wire and Tank Traps from normal Industrial spawn and moved them to Military Industrial- Lowering spawn chance of Planks, Consumable and Generic. Ive tested the new loot chances and they working fine.

* Update Hangar.hpp

Changing spawn chances of almost every item and adding PartEngine, PartGeneric, PartGlass to loot table. New hanger loot works good and feels much better than before.

* Update Military.hpp

Removing Loot Group Generic and Sandbags from Military and MilitarySpecial Loot. Adding Engine, Sandbags, Tank Traps, Wire and Loot Group Generic to MilitaryIndustrial. That works very well. 
If you looting baracks and finding most of the time sandbags and generic loot it is frustrating. Now it feels better and more balanced.

* Update Military.hpp

Updating loot chances
2016-08-15 12:40:59 -04:00
ebaydayz
c75ccbb8b3 Move _hit == "" exitWith further down in damage handler
Vanilla development commit:

837a2623b0
2016-08-13 20:22:57 -04:00
icomrade
9d6c17d706 Update server pbo 2016-08-13 18:10:14 -04:00
icomrade
56d7ac8d4f Fix disableuserinput in unconcious 2016-08-13 16:50:26 -04:00
icomrade
341d45f440 Remove excessive anim on recover unconcious 2016-08-13 16:12:50 -04:00
ebaydayz
cb3be8b547 Add minor improvement to safe diag_log 2016-08-13 13:20:36 -04:00
icomrade
18643fec95 Move disableUSerInput in unconcious code 2016-08-13 11:52:05 -04:00
icomrade
8dde92b377 Fix unconcious warping
Also comment out the part where vehicles have their engine turned off or
the player is ejected, since this behavior makes no sense.
2016-08-13 10:32:28 -04:00
icomrade
92cb4f4493 Should fix #1733 2016-08-12 23:40:46 -04:00
icomrade
cbf87cb1e4 Revert "Should fix #1733"
This reverts commit b6ffa37c1b.
2016-08-12 23:39:17 -04:00
icomrade
fd3475a617 Should fix switching clothes 2016-08-12 23:07:01 -04:00
icomrade
e8cd89a194 Switch to call compile
Should be much faster
2016-08-12 22:32:48 -04:00
icomrade
b6ffa37c1b Should fix #1733 2016-08-12 22:14:52 -04:00
ebaydayz
c46f55b496 Update test build 2016-08-12 22:00:58 -04:00
ebaydayz
ac30e8addd Remove ctrl alt del force save
See
https://github.com/EpochModTeam/DayZ-Epoch/issues/1712#issuecomment-239595150
2016-08-12 21:51:09 -04:00
ebaydayz
21bee1899e Remove some duplicate translations 2016-08-12 21:19:24 -04:00
A Man
1145f97e1b Adding the skin FR_Sapper (#1734)
* Added one new skin

* Added one new skin

* Added one new skin and class RepairVehicle

Added one new skin and class RepairVehicle: None { show = 0; };

* Added one new skin

* Added one new skin

* Update EpochSkins.hpp

* Added one new skin

* Added one new skin

* Added one new skin
2016-08-12 20:54:24 -04:00
ebaydayz
f529e5d724 Add PV value exception for SetFuel
Fixes kick when refueling
2016-08-12 20:16:16 -04:00
ebaydayz
74579bcf2f Allow remove with Crowbar in hands or onBack
Now crowbar can be in your toolbelt, hands or onBack when removing
modular items, mining ore, opening supply crates, etc.
2016-08-12 19:38:23 -04:00
ebaydayz
7b287a2a23 Send PVDZ_sec_atp messages as array
Vanilla development commits:

6e0fd6203b

78ed0665fa
2016-08-12 17:23:49 -04:00
ebaydayz
ed47a63313 Make log more accurate in server_playerSync
Vanilla development commits:

45ac48b595

ca23681a7d
2016-08-12 16:41:45 -04:00
A Man
bbb8c803b6 Adding many new skins (#1732)
* New Skins

Added all new skins to the loot table.

* Added new skins

* New skins for trading

* New skins for trading

* New skins for trading

* Added new skins

* Added new skins

* Strings for new skins

* Added new skins to player classes

* Added weight for new skins
2016-08-12 15:37:48 -04:00
ebaydayz
36196661ea Update arrow and quiver classnames
Vanilla development commit:

1561c3cfd8
2016-08-12 14:00:32 -04:00
962 changed files with 26498 additions and 33438 deletions

106
CHANGE LOG 1.0.6.1.txt Normal file
View File

@@ -0,0 +1,106 @@
[NEW] Added config variable DZE_HaloSpawnHeight. @ebayShopper
[NEW] Added config variable DZE_ServerLogHits for logging source damage, weapon, ammo and distance to server RPT.
[NEW] Added M4SPR_DZE and VSS_vintorez_DZE which spawn with larger magazines by default. #1823 #1890 @AirwavesMan
[NEW] Building upgrades now source parts from the player's backpack and main inventory. @icomrade
[NEW] Server owners can configure nutrition system effects with DZE_NutritionDivisor in configVariables.sqf @icomrade
[NEW] Added back DZE_doorManagementHarderPenalty config variable. Required wait between incorrect entries of manual door codes is multiplied by two each time, starting at five seconds. #1847 @oiad
[NEW] Added server logging of failed unlock attempts on doors, safes and lockboxes. Also added server logging of all door locking and unlocking. #1853 @oiad
[NEW] Added loot positions for some more Sahrani and Tavi buildings
[NEW] Added military flashlight attachments
[NEW] Added full screen night vision goggles, classname: "NVGoggles_DZE" (must be added to traders by server owners) @icomrade
[NEW] Added setting to easily disable base takeover and configure which items are removable without ownership or access. See DZE_restrictRemoval in configVariables.sqf. #1886 @AirwavesMan @oiad
[NEW] Map markers are now automatically tagged with the name of the player who placed them. This can be easily removed or customized by admins. #1871 @looter809
[NEW] Added block in keyboard.sqf for sprint and prone through locked doors glitch. @LunaCB
[CHANGED] Turbo and HoldBreath keybindings are now allowed again. @icomrade
[CHANGED] Commented drink from hands at ponds due to client FPS impact. Players can still fill drinks at ponds by right clicking a container. #1816
[CHANGED] Disabled vanilla antiwall, POI, infectious waterhole and infected camp map additions by default due to negative FPS impact. They can be enabled in init.sqf and server_monitor. #1816
[CHANGED] Added shadow to dayz_rollingMessages white text so it is visible on light colored backgrounds and looks like cutText.
[CHANGED] Reverted pain to old violent shaking effect instead of subtle gun sway. #1839 @AirwavesMan @schwanzkopfhegel
[CHANGED] Reverted lobby and player list background colors to A2OA default instead of dark grey
[CHANGED] Salvage vehicle actions are no longer allowed in positions defined in DZE_SafeZonePosArray
[CHANGED] The town generator and comfrey plant spawner loops are now fully disabled when dayz_townGenerator=false; to improve client FPS. #1816
[CHANGED] AntiTP and scheduled security are now fully disabled when dayz_antihack=0. #1816
[CHANGED] Changed default value for the variable dayz_bleedingeffect to 2 (blood particle effect only) due to negative FPS impact. Set to 3 to enable blood stains again. #1816
[CHANGED] Group icons have been moved to a separate slower loop which only runs when in a group, and the group system is disabled by default. See configVariables.sqf to enable. #1816
[CHANGED] Flies now spawn ten minutes after death instead of right away. Flies are also disabled by default due to negative FPS impact. See init.sqf to enable. #1816
[CHANGED] SpawnCheck for loot and zombies has been lowered to 200m and switched to nearObjects instead of nearestObjects (same as 1051) for better client FPS. #1816
[CHANGED] Increased head shot damage for normal hits (non-zombie and non-melee)
[CHANGED] Slightly increased damage from vehicle run over
[CHANGED] Moved study body back to fn_selfActions for easy admin customization.
[CHANGED] Players can now lock and unlock a vehicle when the key is in their backpack. This can be changed in epoch_tempKeys. #1897 @oiad
[CHANGED] The vanilla building PVEHs have been commented out because we don't support or use the vanilla base objects currently.
[FIXED] Wrong texture for z_hunter zombie. #1805 @schwanzkopfhegel @ebayShopper
[FIXED] Refuel with generator at gas station not working. #1806 @Helios27 @ebayShopper
[FIXED] Issue where Arma cheats could still be entered under certain conditions without pressing LeftShift at the same time as NumPadMinus. @ebayShopper
[FIXED] Tag friendly still showing after player accepts and related issue with BackpackAntiTheft. #1807 @oiad
[FIXED] Undefined variable dayz_clientPreload error on main menu during intro.sqs. #1810 @ndavalos @ebayShopper
[FIXED] Giving pain killers to another player no longer removes pain from the player giving the pain killers.
[FIXED] Occasional undefined error for text color attribute when repairing and salvaging vehicles. @ebayShopper
[FIXED] M24 ammo prices are now 1/4 of DMR ammo prices, so no profit can be made by combining M24 rounds. @looter809 @ebayShopper
[FIXED] Full cinderblock walls now work properly with vector building #1813. @DeVloek @icomrade
[FIXED] Death message showing incorrectly when players suicide under certain conditions. @oiad @ebayShopper
[FIXED] Death message sometimes showing incorrectly due to spawn delay. #1833 @schwanzkopfhegel @ebayShopper
[FIXED] Corpses occasionally being deleted right away due to delay between PVS and bodyName setVariable. #1825 @ebayShopper
[FIXED] WoodenArrow and other WeaponHolderBase inherited objects catching fire when destroyed due to destrType. #1815 @DeVloek @ebayShopper
[FIXED] Arrows floating in air when shot at same position against a wall multiple times. #1815 @DeVloek @ebayShopper
[FIXED] Swimming in ground glitch when relogging at certain positions on certain maps like Napf and Tavi. @ebayShopper
[FIXED] No damage from hitting ground after HALO jump when DZE_HaloOpenChuteHeight was set to -1. @ebayShopper
[FIXED] Added back missing call to Epoch player_antiWall function for preventing base glitching. #1817 @ndavalos @ebayShopper
[FIXED] HALO fresh spawns stuck swimming in air on Napf and failing to start correctly sometimes. #1809 @oiad @ebayShopper
[FIXED] Self actions sometimes duplicating when changing clothes and looking at a safe. @jOoPs @ebayShopper
[FIXED] Wrong bleeding icon on vanilla status UI. @jOoPs
[FIXED] It is no longer possible to autoRun under ponds on Chernarus, Namalsk and Napf. #1827 @schwanzkopfhegel
[FIXED] Hive connection error after the first and only online player disconnects during the object stream at server start up. #1822 @AirwavesMan @ebayShopper
[FIXED] Vanilla player_craftItem not exiting when action is already in progress. #1826 @schwanzkopfhegel
[FIXED] Fire barrel kit can be crafted with partially full matchboxes now. #1830 @AirwavesMan
[FIXED] Viral zeds stuck and not moving from their spawn location due to wrong init event handler. #1819 @DeVloek
[FIXED] Handling of boiled water bottles < 10 oz #1838 (Also removed the requirement to have an empty tin can to boil water) @icomrade @schwanzkopfhegel
[FIXED] Generator inventory not saving #1831 @icomrade @schwanzkopfhegel
[FIXED] Filling fuel barrels takes the correct amount from fuel tanks now (210 instead of 40 litres). #1834 @schwanzkopfhegel @oiad
[FIXED] Unable to sell some launchers like Javelin and Stinger which have the same classname for ammo and weapon. #1844 @ndavalos
[FIXED] Long search delay when filling water bottles, drinking from hands and drinking from empty cans is fixed on Chernarus, Namalsk and Napf. #1835 @schwanzkopfhegel
[FIXED] Players can not purchase a negative number of items anymore.
[FIXED] Switching weapons properly interrupts autorun now. #1850 @DeVloek
[FIXED] Duplicate matchbox or knife error when lighting a fire or gutting with multiple matchboxes or knives on toolbelt. #1849 @DeVloek
[FIXED] RU crates having zero cargo capacity and wrong classname DZ_ExplosivesBoxRU in loot table. #1852 @oiad
[FIXED] Combining M24 or 2Rnd shotgun ammo can no longer be abused to dupe mags via the method described in #1848. @DeVloek
[FIXED] Rapid starvation or dehydration when using chainsaw, chopping wood or pushing plane. Also lowered or removed nutrition hit for several actions. #1857 @TheZog
[FIXED] Unable to repair or salvage vehicle parts not listed in the RepairParts config, like Merlin glass and tank tracks. #1828 #1856 @ndavalos @schwanzkopfhegel @oiad
[FIXED] Unable to remove LightPole_DZ, DeerStand_DZ, MetalGate_DZ and StickFence_DZ. #1859 @TheZog
[FIXED] Unconscious locked input when running #1860 @icomrade @DeVloek
[FIXED] Running corpses when the dead player has no primary weapon @icomrade
[FIXED] "AI" text localized on wrong client in death messages #1867 @LunaCB
[FIXED] Trader menu server RPT logs partially localized on clients @oiad
[FIXED] Group icons will not show for units inside the player's vehicle anymore (helis, large planes, etc.). #1865 @schwanzkopfhegel
[FIXED] Lighting fires and building fireplaces not working on platforms raised over the sea #1866 @schwanzkopfhegel
[FIXED] Bandit1_DZ and Bandit2_DZ were the same. Bandit1_DZ is back to the normal non-camo skin now. #1874 @DeVloek
[FIXED] If a player force kills their game immediately after dying their body will no longer disappear. #1825 @looter809
[FIXED] Some AI behavior was broken due to RadioProtocolEmpty. Unfortunately this reintroduces group chat spam.
[FIXED] Players can no longer pack a tent while sleeping.
[FIXED] Players can no longer walk under water at Topolka Dam. @Bruce-LXXVI
[FIXED] server_PublishVehicle3 will no longer dupe a vehicle if it fails to read the vehicle back from the database. @oiad
[FIXED] Panic sounds will no longer overlap when the player is attacked by zombies. #1861 @DeVloek
[FIXED] Melee weapons will no longer be eaten when attempting to add them to a full toolbelt.
[FIXED] Updated to Sa-Matra's latest Core Patch BIS Effects which fix the fire in the sky bug again. #1883 @oiad @icomrade
[FIXED] Mark body now marks all of your bodies instead of just one. @oiad
[FIXED] Group and body markers correctly update on the GPS mini map now.
[FIXED] Vehicle lock and unlock actions are now refreshed correctly without needing to look away and back again. @oiad
[FIXED] A potential undefined error on bear trap trigger. @oiad
[FIXED] A few floating loot positions in firestation.
[FIXED] Blocked a duping method involving changing clothes. Thanks to Sercan for reporting. @oiad
[FIXED] Buildables now properly apply godmode if enabled during the restart window. @oiad
[FIXED] G36C ACOG attachment
[NOTE] The fixes below are included in the 1.0.6 Build C server package released December 29th, 2016 (http://dayzepoch.com/a2dayzepoch.php)
[FIXED] Hive child 309 errors that resulted in broken saving of newly built storage object inventory. @icomrade
[FIXED] Error with object publishing when snap building is disabled. @ebayShopper
[FIXED] Error handling upgraded 1051 databases that resulted in a <null> value for "rh_factor" and array for "bloodtype" in character_data medical field. @ebayShopper
[FIXED] Error in server_playerSetup that resulted in a <null> value for dayz_onBack in character_data inventory if player had no weapon on back. @ebayShopper
[FIXED] Doors and plots not getting cleaned up properly. See new MaintenanceObjects variable and explanation in HiveExt.ini. @icomrade
[REMOVED] Antiwall glitch blocks for vanilla hospitals since Epoch uses DayZero hospitals. @jOoPs
[REMOVED] "Take ownership" on plot pole due to it being unnecessary and causing base objects to duplicate. #1811 @BNG-Lance @Clanwarfare
[INFO] See Documents\CHANGE LOG 1.0.6.txt for the full list of 1.0.5.1 --> 1.0.6 changes.

View File

@@ -1,120 +0,0 @@
[NEW] Fully updated to DayZ 1.8.7 base @icomrade @ebaydayz
[NEW] 1.8.7 attachments system, community weapons, base objects, traps, tripwires and car bomb
[NEW] 1.8.7 journal and crafting menu are now functional (default 'J' key)
[NEW] 1.8.7 spawn selection, set dayz_spawnselection = 1; in init.sqf (Chernarus only)
[NEW] 1.8.7 infected camps, points of interest and infectious waterholes map additions (Chernarus only)
[NEW] 1.8.7 configurable blood trails, set dayz_bleedingeffect in init.sqf
[NEW] 1.8.7 weapon switching system and hotkeys (1 = primary, 2 = pistol, 3 = melee (or rifle onBack if DZE_TwoPrimaries=2;))
[NEW] Players can carry more than one primary weapon which allows the abillity to hide one on their back, configure using DZE_TwoPrimaries. See configVariables.sqf for details @icomrade
[NEW] Optional news/rules feed on player login, set dayz_enableRules in init.sqf
[NEW] Status UI icons are toggleable between "vanilla","epoch","dark" set DZE_UI in init.sqf @ebaydayz
[NEW] If using the vanilla UI you may enable or disable the combat icon with DZE_VanillaUICombatIcon = true/false; @icomrade
[NEW] Anzio 20mm sniper and RedRyder BB Gun by @arma2WillRobinson
[NEW] Added "RedRyder" and "350Rnd_BB_Magazine" to loot pile. #1456 #1457 @Namindu
[NEW] Added action to lock and unlock vehicles from inside #1103 @pj999 @ebaydayz
[NEW] Autorun hotkey (0 = Toggle auto run) @ebaydayz
[NEW] Lower sound effects volume hotkey (F1) and status UI icon. Automatically disabled when exiting a vehicle.
[NEW] Snap building, use DZE_modularBuild = true; in init.sqf to enable. @raymix
[NEW] Auto login when a player joins the server, default 10 seconds, requires description.ext update in the mission (disable in description.ext by setting defValueParam1 = 31;) @icomrade
[NEW] Many new configuration options are available for admins. See dayz_code\configVariables.sqf and mission\init.sqf for descriptions. @ebaydayz
[NEW] Blood types system is disabled by default. Set dayz_classicBloodBagSystem = false; in init.sqf to enable
[NEW] Dayz_townGenerator = true; in init.sqf can enable vanilla map junk in addition to Epoch DynamicDebris. Only works on Chernarus. @ebaydayz
[NEW] DB Backup script. @RimBlock
[NEW] Use DayZ_UseSteamID = false; in your init.sqf to use the old PlayerUID, instead of SteamID @icomrade
[NOTE] It's recommend to convert to the new SteamID system if possible, new servers should not use DayZ_UseSteamID = false;
[NEW] UI Update - Graphical and code changes, enable using DZE_UI = "dark"; in init.sqf. @hogscraper http://epochmod.com/forum/index.php?/topic/13654-proposed-ui-change/
[NEW] Upgraded (_DZE1,2,3,4) ArmoredSUV and Kamaz classes are now available. #1518 #1538 @McKeighan
[NEW] Added waves effect during stormy weather #974 @FramedYannick @ebaydayz
[NEW] Optional variable to prevent stealing from backpacks by non-friendlies at traders. Set DZE_BackpackAntiTheft = true; in init.sqf @ebaydayz
[NEW] Zupa's Advanced Trading v2.1+ is now included as part of the Epoch Code, enabled with DZE_advancedTrading = true; NOT COMPATIBLE WITH DATABASE TRADERS @icomrade @Windmolders
[NEW] With config based traders categories can be reused by setting the duplicate=#; value. # is the category number to copy. @ebaydayz
[NEW] Gems are now treated as variable value currency (Advanced Trading only). Configure gem values using DZE_GemWorthArray =[]; see configVariables.sqf for more info @icomrade
[NEW] Gem rarity is now configurable for mining using DZE_GemOccurance =[]; See configVariables.sqf for more info @icomrade
[NEW] A Plot For Life v2.5 by RimBlock is now included and enabled by default with variable DZE_permanentPlot, see configVariables.sqf @RimBlock @icomrade
[NEW] Build Vectors v4 by Striker is now included, only enabled with Snap building. Note there is no option to turn off Vector Building with Snap Building enabled @strikerforce @icomrade
[NEW] Door Management v3.0 by Zupa is now included and enabled by default with variable DZE_doorManagement, see configVariables.sqf @DevZupa @Bruce-LXXVI @ebaydayz
[NEW] Plot Management v2.1 by Zupa is now included and enabled by default with variable DZE_permanentPlot, see configVariables.sqf @DevZupa @Bruce-LXXVI @icomrade
[NEW] Precise Base Building v1.0.5 by Mikeeeyy is now included. @Mikeeeyy @icomrade @ebaydayz
[NEW] You may toggle vehicle destruction effects to prevent damage from vehicle explosions (useful to prevent griefing from ramming) use DZE_NoVehicleExplosions = true; to enable #1198 @icomrade
[NEW] Temperature factors are now configurable with DZE_TempVars see configVariables.sqf for more info @icomrade
[NEW] Weather effects are now configurable with DZE_WeatherVariables See DynamicWeatherEffects.sqf for info on these values @icomrade
[NEW] Full height cinderblock wall kits are now in game, classname "full_cinder_wall_kit" #1172 @icomrade
[NEW] You can exclude built items from the god mode base function using DZE_GodModeBaseExclude = []; which is an array of item classnames
[NEW] Fuel stations now have limited amount of fuel each restart. Configurable with dayz_randomMaxFuelAmount in init.sqf
[NEW] More possible causes of death added to study body: fell, ran over, shot, melee hit, zombie hit @ebaydayz
[NEW] Player-list no longer shows who's in lobby or ingame.
[CHANGED] Combattimeout now uses diag_tickTime instead of time.
[CHANGED] AmmoBoxSmall_556/762 is replaced with DZ_AmmoBoxUS/RU/EU/CZ and MedBox0 is replaced with DZ_MedBox (new model)
[CHANGED] UH60Wreck and UH1Wreck are replaced with CrashSite_EU/UN/US/RU (new models)
[CHANGED] An infection chance of -1 disables self-transfusion infection. 0 is always infected. (DZE_selfTransfuse_Values) @icomrade
[CHANGED] Removed weapons from Traders hands and made them stand with arms by their side. @SilvDev
[CHANGED] Tweaked fuel capacity variables for vehicles. @RimBlock
[CHANGED] Tweaked rotate_logs.bat to incorporate the day of the week for better organization @Raziel23x
[CHANGED] All instances of sleep were replaced with the more reliable uiSleep where possible. @icomrade
[CHANGED] Several getPosATL changed to call FNC_GetPos for water compatibility @icomrade
[CHANGED] Trader city objects are now spawned locally on each machine with simulation disabled for better performance. Admins can still override with custom cities in init.sqf. @ebaydayz
[CHANGED] Player zombies are no longer attacked by other zombies. The respawn button is now enabled for them if they wish to suicide. @ebaydayz
[CHANGED] With R3Fweight on overburdened players are now forced to move slowly instead of being knocked out. The scream was also removed. #1145 @icomrade @ebaydayz
[CHANGED] Abort and respawn are now disabled immediately in the pause menu onLoad to compensate for low fps delay. @ebaydayz
[CHANGED] Player_onPause is now customizable by admins along with the new unscheduled fn_pauseMenuChecks. #1340 @Rimblock @ebaydayz
[FIXED] Zombies now target and attack players correctly with 1.8.7 code
[FIXED] Server position sync bug after falling unconscious #1522 @ebaydayz
[FIXED] Character sometimes failing to sync after changing clothes #1545
[FIXED] Backpack wipes when changing clothes. #1361 @icomrade
[FIXED] CH53 gear when locked #1364 @icomrade
[FIXED] Infinite loop when crafting ore into bars #1351 @icomrade
[FIXED] Only first kill showing on death boards #1362 #1124 @vbawol @icomrade
[FIXED] Crossbow quivers not working #1355 @icomrade
[FIXED] Crash_spawner & Supply_drop modules spawning inaccessible loot piles #1408 #1390 @Uro1
[FIXED] Fire cleanup diag_log error in server_functions.sqf #1421 @ebaydayz
[FIXED] NearestObjects position error in server_playerSync.sqf #1425 @ebaydayz
[FIXED] Corrected ClassName type for CH53_DZE and BAF_Merlin_DZE. @Cinjun
[FIXED] Some counts reverted to forEach. Count loops can not be nested inside other count loops #1491-#1495 @ebaydayz
[FIXED] Dynamic_vehicle spawning non-upgradable classes of hilux1 & datsun1. @Uro1
[FIXED] Eating while inside a vehicle did not drop empty can @deadeye2
[FIXED] Zombie loot error when using loot tables in mission file @deadeye2
[FIXED] Trader menu expected array error #1618-1620 @ebaydayz
[FIXED] Loading screen issue where you can walk around and see a black screen #1610 @deanreid
[FIXED] Crafting a sledgehammer with one already in your toolbelt no longer eats your parts. #1567 #1667 @Namindu
[FIXED] Copy key failing when player doesn't have a backpack @ebaydayz
[FIXED] DarkUI hunger and thirst inconsistency with vanilla UI and health system @SplenectomY @icomrade #1622
[FIXED] Fire barrels not being detected over water @pj999 @icomrade #1559 #1564
[FIXED] Opening supply crates over water no longer drops the items on the sea floor @pj999 @icomrade #1558
[FIXED] Plot pole required message not updating to reflect DZE_PlotPole radius @mathewjknott @icomrade #1274
[FIXED] Slow login timer and incorrect loading screen message when login times out @icomrade
[FIXED] Combine mags not working for Revolver and M1911 ammo @Terrien @ebaydayz #1313
[FIXED] M113_DZ,_DZE variants config errors and gunner seat not working @McKeighan @ebaydayz #1514
[FIXED] Smoke countermeasures are now visible @Markokil321 @icomrade #1440
[FIXED] Keyboard input is now disabled properly while unconscious @skynetdev @ebaydayz #1613
[FIXED] Toilet paper dupe exploit when building outhouse @Markokil321 @ebaydayz #1599
[FIXED] Safes and lockboxes wiped when opening after restart and locking not being logged to RPT @ebaydayz #1413 #1503
[FIXED] Greatly optimized safe gear handling. Safe inventories are no longer sent to all machines over the network on server startup and each lock. @ebaydayz
[FIXED] User input is disabled and then gear dialog is closed during safe lock/unlock/pack to block various duping methods. #1341 @RimBlock @ebaydayz
[FIXED] Duplicate objectUIDs occasionally causing vehicles to swap classes or be deleted across restarts @ebaydayz @icomrade #1504
[FIXED] DZE_BuildingLimit now counts buildables only instead of all object types. Thanks jOoPs @ebaydayz
[FIXED] Reworked death messages. Fixed messages not always showing, undefined errors and wrong distance bug. Added bled out, killed by zombie, etc. MPHit event handler (fnc_plyrHit) is no longer needed. @ebaydayz
[FIXED] Player no longer hears radiation sound when changing clothes. @ebaydayz
[FIXED] Ponds and lakes are now detected correctly in player_goFishing. #1678 @ebaydayz
[FIXED] Players are now ejected and killed when their vehicle is destroyed (Fix applies to all types of vehicles). @icomrade
[NOTE] Servers that use trader safezones must configure the variable DZE_SafeZonePosArray with their safezone posisitons and radii, otherwise passangers of vehicles in safezones will be killed upon destruction of their vehicle
[FIXED] Players are no longer able to brute force doors or safes by the method described in #1187 @icomrade
[FIXED] Fix some items not displaying removal option #1135 @icomrade
[FIXED] Study body message saying his/he on female players. @ebaydayz
[UPDATED] .hpp files updated in dayz_code\Configs\CfgLoot\CfgBuildingPos. @Uro1
[UPDATED] .bat files updated in Config-Examples @Raziel23x
[UPDATED] Updated all config.cfg in Config-Examples, Added Default Steam Ports and Updated Layout. @Namindu
[UPDATED] Epoch.sql, 1.0.6_Updates.sql & CfgServerTraders with correct classnames for upgradable hilux1 & datsun1 versions. @Uro1
[INFO] Server owners must update to the new Hive DLL included in the 1.0.6 release, changes in the soruce code can be found here: https://github.com/vbawol/DayZhiveEpoch/pull/13
[INFO] Many weapon, item and tool classnames changed. Admins must run SQL\1.0.6_Updates and update their config traders (see dayz_code\Configs\CfgServerTrader) @ebaydayz
[INFO] Many duplicate functions and variables were renamed. See Documents\1.0.6 Variable Name Changes.txt @ebaydayz
[INFO] New loot table format is incompatible with old loot tables. Admins see CfgLoot\README.txt
[INFO] If you use any community mods included in this release (Advanced Trading, Build Vectors, Door or Plot Management, Snap Build Pro, A Plot For Life) you MUST uninstall them from your mission. The mods have been improved and many bugs have been fixed, get up-to-date copies from https://github.com/EpochModTeam/DayZ-Epoch
[INFO] Amphibious pook and cessna (pook_h13_amphib,GNT_C185E,GNT_C185F) confirmed to have FPS issues. Using them is not recommended. #1612 @bleeding- @Markokil321
[INFO] Auto login does not force a player who aborted from the game, back to the lobby, to login
[INFO] Server owners and players should use the stable branch of ArmA 2 OA
[INFO] Models/textures by Paul Tomany. @Sequisha.
[INFO] Special thanks to http://verthosting.com for hosting our development server.

View File

@@ -1,12 +1,14 @@
1.0.5.1 --> 1.0.6 Variable Name Changes:
- Duplicate functions have been renamed:
- dayz_gui --> sched_gui
- dayz_HungerThirst --> dayz_NutritionSystem
- dayz_objectUID3 --> dayz_objectUID2
- DZE_getModelName --> fn_getModelName
- fnc_usec_playerBleed --> fnc_usec_playerHandleBlood
- object_handleServerKilled --> vehicle_handleServerKilled
- object_setFixServer --> fnc_veh_setFixServer
- object_setFixServer --> fnc_veh_setFixServer
- server_timeSync --> sched_sync (moved to scheduler)
- vehicle_handleDamage --> fnc_veh_handleDam
- vehicle_handleKilled --> fnc_veh_handleKilled
@@ -14,13 +16,20 @@
- dayz_allowedObjects --> DayZ_SafeObjects
- dayz_CLBase --> dz_loot_groups (similar not identical)
- dayz_CLChances --> dz_loot_weighted (similar not identical)
- dayz_combat --> no longer exists use (player getVariable["combattimeout",0] >= diag_tickTime)
- dayz_combat --> no longer exists use (player getVariable["inCombat",false])
- dayz_fullMoonNights --> dayz_ForcefullmoonNights
- dayz_MapArea --> no longer exists (was only used for DynamicVehicleArea and HeliCrashArea)
- dayz_sellDistance_vehicle, dayz_sellDistance_boat, dayz_sellDistance_air --> Z_VehicleDistance
- dayz_updateObjects --> DayZ_GearedObjects
- DynamicVehicleArea --> (getMarkerSize "center") select 1
- DZE_ActionInProgress --> dayz_actionInProgress
- DZE_CanPickup --> canPickup
- DZE_trees --> dayz_trees
- freeTarget --> OpenTarget
- HeliCrashArea --> (getMarkerSize "crashsites") select 1
- PVDZE_serverObjectMonitor --> dayz_serverObjectMonitor
- r_action_count --> dayz_actionInProgress (now true/false instead of 1/0)
- selfTransfusionTime --> player getVariable ["LastTransfusion",-(DZE_selfTransfuse_Values select 2)]
- Duplicate public variables have been renamed:
- dayzPlayerLogin --> PVCDZ_plr_Login

View File

@@ -0,0 +1,142 @@
[NEW] Fully updated to DayZ 1.8.8 base @icomrade @ebayShopper
[NEW] 1.8.8 attachments, blood trails, community weapons, traps and tripwires
[NEW] 1.8.8 journal and crafting menu are now functional (default 'J' key)
[NEW] 1.8.8 spawn selection, set dayz_spawnselection = 1; in init.sqf to enable (Chernarus only)
[NEW] 1.8.8 infected camps, points of interest and infectious waterholes map additions (Chernarus only)
[NEW] 1.8.8 weapon switching and hotkeys (1 = primary, 2 = pistol, 3 = melee (or rifle onBack if DZE_TwoPrimaries=2;))
[NEW] Players can carry more than one primary (one hidden on back). See configVariables.sqf for details @icomrade
[NEW] Many new configuration options are available for admins. See dayz_code\configVariables.sqf and mission\init.sqf for descriptions.
[NEW] Optional rules feed on player login, set dayz_enableRules in init.sqf
[NEW] Streamer mode is toggleable by player in game options. Setting enabled hides server water mark and rules feed. @ebayShopper
[NEW] Status UI icons are toggleable between "vanilla","epoch","dark" set DZE_UI in init.sqf @ebayShopper
[NEW] Optional dark UI by @hogscraper http://epochmod.com/forum/index.php?/topic/13654-proposed-ui-change/ code fixes by @SplenectomY @icomrade #1622
[NEW] If using the vanilla UI you may enable or disable the combat icon with DZE_VanillaUICombatIcon = true/false; @icomrade
[NEW] Anzio 20mm sniper and RedRyder BB Gun by @arma2WillRobinson
[NEW] Added "RedRyder" and "350Rnd_BB_Magazine" to loot pile. #1456 #1457 @Namindu
[NEW] Added action to lock and unlock vehicles from inside #1103 @pj999 @ebayShopper
[NEW] Autorun hotkey ('0' key)
[NEW] Earplugs hotkey ('F1' key)
[NEW] Group system ('F5' key) with database save. Settings available in configVariables.sqf. CommandBar and RadioProtocol spam are now disabled via config. @icomrade @ebayShopper
[NEW] Snap building, use DZE_modularBuild = true; in init.sqf to enable. @raymix
[NEW] Auto login when a player joins the server, default 10 seconds, requires mission update (disable in description.ext by setting defValueParam1 = 31;) @icomrade
[NOTE] Auto login does not force a player who aborted from the game, back to the lobby, to login
[NEW] Blood types system is disabled by default. Set dayz_classicBloodBagSystem = false; in init.sqf to enable.
[NEW] Dayz_townGenerator = true; in init.sqf enables vanilla map junk instead of Epoch DynamicDebris. Currently only compatible with Chernarus. @ebayShopper
[NEW] Database backup script. See Server Files\Tools\. @RimBlock
[NEW] Upgraded (_DZE1,2,3,4) ArmoredSUV and Kamaz classes are now available. #1518 #1538 @McKeighan
[NEW] Added increased waves during stormy weather #974 @FramedYannick @ebayShopper
[NEW] Optional variable to prevent stealing from backpacks by non-friendlies at traders. Set DZE_BackpackAntiTheft = true; in init.sqf @ebayShopper
[NEW] A much improved version of Zupa's Advanced Trading 2.1+ is now the default config trader menu, NOT COMPATIBLE WITH DATABASE TRADERS @icomrade @Windmolders
[NEW] With config based traders categories can be reused by setting the duplicate=#; value. # is the category number to copy. @ebayShopper
[NEW] With config based traders upgraded vehicles can now be sold for the same price as their original. #1745 @oiad
[NEW] With config based traders the buy or sell price of any item can be set to -1 to forbid the respective trading action. @icomrade
[NEW] Gems are now treated as variable value currency (Advanced Trading only). Configure gem values using DZE_GemWorthArray =[]; See configVariables.sqf. @icomrade
[NEW] Gem rarity is now configurable for mining using DZE_GemOccurance =[]; See configVariables.sqf. @icomrade
[NEW] A Plot For Life v2.5+ by RimBlock is now included and enabled by default, see configVariables.sqf @RimBlock @icomrade
[NEW] Build Vectors v4+ by Striker is now included, only enabled with Snap building. Note there is no option to turn off Vector Building with Snap Building enabled @strikerforce @icomrade
[NEW] Door Management v3.0+ by Zupa is now included and enabled by default with variable DZE_doorManagement, see configVariables.sqf @DevZupa @Bruce-LXXVI @ebayShopper
[NEW] Plot Management v2.1+ by Zupa is now included and enabled by default with variable DZE_permanentPlot, see configVariables.sqf @DevZupa @Bruce-LXXVI @icomrade
[NEW] Precise Base Building v1.0.5+ by Mikeeeyy is now included. @Mikeeeyy @icomrade @ebayShopper
[NEW] You may toggle vehicle destruction effects to prevent damage from vehicle explosions (useful to prevent griefing from ramming) use DZE_NoVehicleExplosions = true; to enable #1198 @icomrade
[NEW] Temperature factors are now configurable with DZE_TempVars see configVariables.sqf. @icomrade
[NEW] Weather effects are now configurable with DZE_WeatherVariables. See DynamicWeatherEffects.sqf for info on these values. @icomrade
[NEW] Full height cinderblock wall kits are now in game, classname "full_cinder_wall_kit" #1172 @icomrade
[NEW] You can exclude built items from the god mode base function using DZE_GodModeBaseExclude = []; which is an array of item classnames
[NEW] Fuel stations now have limited amount of fuel each restart. Configurable with dayz_randomMaxFuelAmount in init.sqf
[NEW] More possible causes of death added to study body: fell, ran over, shot, melee, zombie @ebayShopper
[NEW] Player-list no longer shows who's in lobby or ingame.
[NEW] 35 new male clothing classes added. #1732 #1734 @AirWavesMan
[NEW] Added new _DZ variants of BRDM2, AN2, HMMWV, Mi17 and Cessna classes with radar disabled. #1746 @AirWavesMan
[NEW] Added SCAR Mk16 and Mk17 variants, L86 and AA12 to loot tables and traders. #1743 @AirWavesMan
[NEW] Players can now manually push stuck planes backwards to free them. @ebayShopper
[NEW] Salvage can now be disabled on locked vehicles via DZE_salvageLocked variable. #1757 @oiad
[NEW] You may now rearm pooks and other helicopter, vehicle, pilot and driver weapons. @icomrade
[NEW] Death messages now use a PVEH instead of the unreliable MPHit. Added localization, more causes of death, systemChat and dynamicText killfeed options. @ebayShopper
[NEW] Parachute can now auto open at a set height during HALO jump. Altitude and speed meter can also be enabled. See configVariables.sqf. @ebayShopper
[NEW] Added hatch, fold and ramp animation UserActions to ArmoredSUV, AH1Z, MV22 and UH1Y configs. @ebayShopper
[NEW] VON in side and global is now blocked by default. See configVariables.sqf to change blocked VON channels. @icomrade @ebayShopper
[NEW] Arma cheat input (LeftShift + NumPad-) is now blocked by default to prevent abuse of FPS cap and EndMission commands for duping. @icomrade
[CHANGED] Combattimeout now uses diag_tickTime instead of time.
[CHANGED] AmmoBoxSmall_556/762 is replaced with DZ_AmmoBoxUS/RU/EU/CZ and MedBox0 is replaced with DZ_MedBox (new model)
[CHANGED] UH60Wreck and UH1Wreck are replaced with CrashSite_EU/UN/US/RU (new models)
[CHANGED] An infection chance of -1 disables self-transfusion infection. 0 is always infected. (DZE_selfTransfuse_Values) @icomrade
[CHANGED] Removed weapons from Traders hands and made them stand with arms by their side. @SilvDev
[CHANGED] Tweaked fuel capacity variables for vehicles. @RimBlock
[CHANGED] Tweaked rotate_logs.bat to incorporate the day of the week for better organization @Raziel23x
[CHANGED] All instances of sleep were replaced with the more reliable uiSleep where possible. @icomrade
[CHANGED] Several getPosATL changed to call FNC_GetPos for water compatibility @icomrade
[CHANGED] Trader city objects are now spawned locally on each machine with simulation disabled for better performance. Admins can still override with custom cities in init.sqf. @ebayShopper
[CHANGED] With R3Fweight on overburdened players are now forced to move slowly instead of being knocked out. The scream was also removed. #1145 @icomrade @ebayShopper
[CHANGED] Abort and respawn are now disabled immediately in the pause menu onLoad to compensate for low fps delay. @ebayShopper
[CHANGED] Player_onPause is now customizable by admins along with the new unscheduled fn_pauseMenuChecks. #1340 @Rimblock @ebayShopper
[CHANGED] Satchel charges, mines and launcher rounds now take one inventory slot instead of multiple for consistency with all other Epoch items. @ebayShopper
[FIXED] Player zombies are no longer attacked by other zombies. The respawn button is now enabled for them if they wish to suicide. @ebayShopper
[FIXED] Zombies now target and attack players far more accurately than in 1.0.5.1.
[FIXED] Server position sync bug after falling unconscious. Fixes AI on server not seeing the player after knock out and position revert after relog. #1522 @ebayShopper
[FIXED] Keyboard input is now disabled properly while unconscious @skynetdev @ebayShopper #1613
[FIXED] Character sometimes failing to sync after changing clothes #1545
[FIXED] Backpack wipes when changing clothes. #1361 @icomrade
[FIXED] CH53 gear when locked #1364 @icomrade
[FIXED] Infinite loop when crafting ore into bars #1351 @icomrade
[FIXED] Only first kill showing on death boards #1362 #1124 @vbawol @icomrade
[FIXED] Crossbow quivers not working #1355 @icomrade
[FIXED] Crash_spawner & Supply_drop modules spawning inaccessible loot piles #1408 #1390 @Uro1
[FIXED] Several script errors in dayz_server #1421 #1425 @ebayShopper
[FIXED] Corrected ClassName type for CH53_DZE and BAF_Merlin_DZE. @Cinjun
[FIXED] Dynamic_vehicle spawning non-upgradable classes of hilux1 & datsun1. @Uro1
[FIXED] Eating while inside a vehicle did not drop empty can @deadeye2
[FIXED] Zombie loot error when using loot tables in mission file @deadeye2
[FIXED] Trader menu expected array error #1618-1620 @ebayShopper
[FIXED] Loading screen issue where you can walk around and see a black screen #1610 @deanreid
[FIXED] Crafting a sledgehammer with one already in your toolbelt no longer eats your parts. #1567 #1667 @Namindu
[FIXED] Copy key failing when player doesn't have a backpack @ebayShopper
[FIXED] Fire barrels not being detected over water @pj999 @icomrade #1559 #1564
[FIXED] Opening supply crates over water no longer drops the items on the sea floor @pj999 @icomrade #1558
[FIXED] Plot pole required message not updating to reflect DZE_PlotPole radius @mathewjknott @icomrade #1274
[FIXED] Slow login timer and incorrect loading screen message when login times out @icomrade
[FIXED] Combine mags not working for Revolver and M1911 ammo @Terrien @ebayShopper #1313
[FIXED] M113_DZ,_DZE variants config errors and gunner seat not working @McKeighan @ebayShopper #1514
[FIXED] Smoke countermeasures are now visible @Markokil321 @icomrade #1440
[FIXED] Toilet paper dupe exploit when building outhouse @Markokil321 @ebayShopper #1599
[FIXED] Safes and lockboxes occasionally wiped when opening after restart and locking not being logged to RPT @ebayShopper #1413 #1503
[FIXED] Greatly optimized safe gear handling. Safe inventories are no longer sent to all machines over the network on server startup and each lock. @ebayShopper
[FIXED] Common duping methods exploiting safes no longer work with the new safe gear handling code. #1341 @RimBlock @ebayShopper
[FIXED] Duplicate objectUIDs occasionally causing vehicles to swap classes or be deleted across restarts. @icomrade #1504
[FIXED] DZE_BuildingLimit now counts buildables only instead of all object types. Thanks jOoPs @ebayShopper
[FIXED] Player no longer hears radiation sound when changing clothes. @ebayShopper
[FIXED] Ponds and lakes are now detected correctly in player_goFishing and player_drinkWater. #1678 @ebayShopper
[FIXED] Players are now ejected and force killed when their vehicle is destroyed. This applies to all vehicles except cars. Cars eject, but do not force kill. @icomrade
[NOTE] Servers that use safezones must configure DZE_SafeZonePosArray, otherwise passengers of vehicles in safezones will be killed on destruction of their vehicle. See configVariables.sqf.
[FIXED] Players are no longer able to brute force doors or safes by the method described in #1187 @icomrade
[FIXED] Some buildables not displaying removal option #1135 @icomrade
[FIXED] Study body message saying his/he on female players. @ebayShopper
[FIXED] Destroyed ore veins and ammo crates are now deleted globally after being removed. #1730 @icomrade
[FIXED] UH1Y and AH6X unknown animation source RPT errors. Added back observer seats to AH6X and UH1Y without thermal imaging. @icomrade
[FIXED] Players can no longer relog over bases in a helicopter, parachute or plane to get inside. @ebayShopper
[FIXED] Mozzie helicopter noises, and crashed mozzies bouncing into orbit. @icomrade
[FIXED] Firing from vehicles puts you in combat now. @icomrade
[FIXED] Players will no longer end up swimming in the ground after spawn, relog or clothes change on maps with respawn_west in the water. @ebayShopper
[FIXED] It is no longer possible to drag players through base walls when they are unconscious. @icomrade
[FIXED] Purchased vehicles should no longer spawn inside each other on trader helipads. @icomrade
[FIXED] Humanity hit is now applied correctly to players shooting from vehicles. @ebayShopper
[FIXED] Chopped down trees are now synced for JIP players, so they no longer respawn on relog. @ebayShopper
[FIXED] Several errors with loading and unloading unconscious players from vehicles. @oiad @ebayShopper
[FIXED] Occasional glitch death when opening parachute during HALO jump. @ebayShopper
[UPDATED] .hpp files updated in dayz_code\Configs\CfgLoot\CfgBuildingPos. @Uro1
[UPDATED] .bat files updated in Config-Examples @Raziel23x
[UPDATED] Updated all config.cfg in Config-Examples, Added Default Steam Ports and Updated Layout. @Namindu
[UPDATED] Epoch.sql, 1.0.6_Updates.sql & CfgServerTraders with correct classnames for upgradable hilux1 & datsun1 versions. @Uro1
[INFO] Server owners must update to the new Hive DLL included in the 1.0.6 release, changes in the source code can be found here: https://github.com/vbawol/DayZhiveEpoch/pull/13
[INFO] Many weapon and item classnames changed. Admins must update their traders. See SQL\1.0.6_Updates and dayz_code\Configs\CfgServerTrader
[INFO] Many duplicate functions and variables were renamed. See Documents\1.0.6 Variable Name Changes.txt
[INFO] New loot table format is incompatible with old loot tables. Admins see CfgLoot\README.txt
[INFO] If you use any community mods included in this release (AdvancedTrading, BuildVectors, Door/PlotManagement, SnapBuild, PlotForLife, PreciseBuilding, DZGM, etc.) you MUST uninstall them from your mission. They have been improved and many bugs have been fixed. Get updated copies from https://github.com/EpochModTeam/DayZ-Epoch
[INFO] Amphibious pook and cessna (pook_h13_amphib,GNT_C185E,GNT_C185F) are confirmed to have FPS issues. Using them is not recommended. #1612 @bleeding- @Markokil321
[INFO] Server owners and players should use the stable branch of ArmA 2 OA
[INFO] The A2OA Linux server version is 1.63.130836 at the time of release. Until it is updated with the core patch fixes Linux server admins will need to patch their mission: https://github.com/DayZMod/DayZ/issues/732
[INFO] Models/textures by Paul Tomany. @Sequisha.
[INFO] Special thanks to http://verthosting.com for hosting our development server.

View File

@@ -7,7 +7,7 @@ http://dayzepoch.com
Based on DayZ Mod Community edition
https://github.com/DayZMod/DayZ/blob/Release_1.8/Documentation/Credits.md
https://github.com/DayZMod/DayZ/blob/1.8.8/Documentation/Credits.md
http://dayzmod.com
@@ -61,7 +61,7 @@ GitHub Collaborators (In order of most commits)
* dayz10k - https://github.com/dayz10k
* Skaronator - https://github.com/Skaronator
* icomrade - https://github.com/icomrade
* ebaydayz - https://github.com/ebaydayz
* ebayShopper - https://github.com/ebayShopper
* Axles - https://github.com/Axles
* Armifer - https://github.com/Armifer
* Zupa - https://github.com/Windmolders
@@ -78,7 +78,7 @@ GitHub Contributors (In order of most commits)
* zabn - https://github.com/zabn
* eltexonline - https://github.com/eltexonline
* icomrade - https://github.com/icomrade
* ebaydayz - https://github.com/ebaydayz
* ebayShopper - https://github.com/ebayShopper
* Namindu - https://github.com/Namindu
* raginruffalo - https://github.com/raginruffalo
* Markokil321 - https://github.com/Markokil321
@@ -112,6 +112,8 @@ GitHub Contributors (In order of most commits)
* AirwavesMan - https://github.com/AirwavesMan
* Raziel23x - https://github.com/Raziel23x
* strikerforce - https://github.com/strikerforce
* ndavalos - https://github.com/ndavalos
* SmokeyBR - https://github.com/SmokeyBR
--------------------------
Special thanks

View File

@@ -26,6 +26,7 @@ class CfgActions {
class DropMagazine : None { show = 0; };
class PutMagazine : None { show = 0; };
class DeactivateMine : None { show = 0; };
class RepairVehicle: None { show = 0; };
/*
"None"
"GetInCommander"
@@ -265,6 +266,171 @@ class CfgInGameUI
};
};
};
// Hide group hotbar
class CommandBar {
left = "-0.032 + SafeZoneX";
top = "(SafeZoneH + SafeZoneY) - (1 - 0.851)";
width = 0;
height = 0;
imageDefaultWeapons = "ca\ui\data\clear_empty.paa";
imageNoWeapons = "ca\ui\data\clear_empty.paa";
imageCommander = "ca\ui\data\clear_empty.paa";
imageDriver = "ca\ui\data\clear_empty.paa";
imageGunner = "ca\ui\data\clear_empty.paa";
imageCargo = "ca\ui\data\clear_empty.paa";
dimm = 0.3;
colorRedTeam[] = {0,0,0,0};
colorBlueTeam[] = {0,0,0,0};
colorGreenTeam[] = {0,0,0,0};
colorYellowTeam[] = {0,0,0,0};
colorWhiteTeam[] = {0,0,0,0};
class prevPage {
x = 0;
y = 0;
w = 0;
h = 0;
color[] = {0,0,0,0};
texture = "ca\ui\data\clear_empty.paa";
};
class nextPage {
x = 0;
y = 0;
w = 0;
h = 0;
color[] = {0,0,0,0};
texture = "ca\ui\data\clear_empty.paa";
};
class UnitInfo {
class GroupIcon {
x = 0;
y = 0;
w = 0;
h = 0;
};
class HcGroupText {
x = 0;
y = 0;
w = 0;
h = 0;
font = "Zeppelin32";
SizeEx = 0;
};
class UnitBackground {
x = 0;
y = 0;
w = 0;
h = 0;
textureNormal = "ca\ui\data\clear_empty.paa";
textureSelected = "ca\ui\data\clear_empty.paa";
texturePlayer = "ca\ui\data\clear_empty.paa";
textureFocus = "ca\ui\data\clear_empty.paa";
};
class UnitFocus {
x = 0;
y = 0;
w = 0;
h = 0;
color[] = {0,0,0,0};
texture = "ca\ui\data\clear_empty.paa";
};
class UnitIcon {
x = 0;
y = 0;
w = 0;
h = 0;
color[] = {0,0,0,0};
colorPlayer[] = {0,0,0,0};
colorNoAmmo[] = {0,0,0,0};
colorWounded[] = {0,0,0,0};
colorWoundedFade[] = {0,0,0,0};
colorNoFuel[] = {0,0,0,0};
};
class Semaphore {
x = 0;
y = 0;
w = 0;
h = 0;
color[] = {0,0,0,0};
texture = "ca\ui\data\clear_empty.paa";
};
class CommandBackground {
x = 0;
y = 0;
w = 0;
h = 0;
color[] = {0,0,0,0};
texture = "ca\ui\data\clear_empty.paa";
};
class CommandText {
x = 0;
y = 0;
w = 0;
h = 0;
color[] = {0,0,0,0};
font = "Zeppelin32";
SizeEx = 0;
};
class UnitSpecialRole {
x = 0;
y = 0;
w = 0;
h = 0;
color[] = {0,0,0,0};
};
class VehicleNumberBackground {
x = 0;
y = 0;
w = 0;
h = 0;
color[] = {0,0,0,0};
texture = "ca\ui\data\clear_empty.paa";
};
class VehicleNumberText {
x = 0;
y = 0;
w = 0;
h = 0;
colorText[] = {0,0,0,0};
font = "Zeppelin32";
SizeEx = 0;
};
class UnitRole {
x = 0;
y = 0;
w = 0;
h = 0;
color[] = {0,0,0,0};
};
class UnitNumberBackground {
x = 0;
y = 0;
w = 0;
h = 0;
color[] = {0,0,0,0};
texture = "ca\ui\data\clear_empty.paa";
};
class UnitNumberText {
x = 0;
y = 0;
w = 0;
h = 0;
colorText[] = {0,0,0,0};
font = "Zeppelin32";
SizeEx = 0;
};
class CombatMode {
x = 0;
y = 0;
w = 0;
h = 0;
textureMCareless = "ca\ui\data\clear_empty.paa";
textureMSafe = "ca\ui\data\clear_empty.paa";
textureMAware = "ca\ui\data\clear_empty.paa";
textureMCombat = "ca\ui\data\clear_empty.paa";
textureMStealth = "ca\ui\data\clear_empty.paa";
};
};
};
};
class CfgVoice {
@@ -280,15 +446,7 @@ class CfgIdentities {
class PZombie1
{
name = "PZombie";
face = "PZombie1";
glasses = "None";
speaker = "NoVoice";
pitch = 1;
};
class PZombie2
{
name = "PZombie";
face = "PZombie2";
face = "PZombieFace1";
glasses = "None";
speaker = "NoVoice";
pitch = 1;
@@ -376,11 +534,10 @@ class CfgSurvival {
rawfoodtype = "FoodchickenRaw";
};
class Cock: Hen {};
class DZ_Fin: Default {
yield = 0;
class Fin: Default {
rawfoodtype = "FoodDogRaw";
};
class DZ_Pastor: DZ_Fin {};
class Pastor: Fin {};
class Rabbit: Default {
yield = 2;
rawfoodtype = "FoodrabbitRaw";
@@ -613,5 +770,146 @@ class CfgSurvival {
sex = "male";
playerModel = "INS_Worker2_DZ";
};
//new Epoch 1.06
class Skin_USMC_Soldier_Officer_DZ: Default {
sex = "male";
playerModel = "USMC_Soldier_Officer_DZ";
};
class Skin_USMC_Soldier_MG_DZ: Default {
sex = "male";
playerModel = "USMC_Soldier_MG_DZ";
};
class Skin_USMC_Soldier_Pilot_DZ: Default {
sex = "male";
playerModel = "USMC_Soldier_Pilot_DZ";
};
class Skin_FR_TL_DZ: Default {
sex = "male";
playerModel = "FR_TL_DZ";
};
class Skin_FR_R_DZ: Default {
sex = "male";
playerModel = "FR_R_DZ";
};
class Skin_FR_Marksman_DZ: Default {
sex = "male";
playerModel = "FR_Marksman_DZ";
};
class Skin_FR_Assault_R_DZ: Default {
sex = "male";
playerModel = "FR_Assault_R_DZ";
};
class Skin_RU_Soldier_DZ: Default {
sex = "male";
playerModel = "RU_Soldier_DZ";
};
class Skin_RU_Soldier_Officer_DZ: Default {
sex = "male";
playerModel = "RU_Soldier_Officer_DZ";
};
class Skin_RUS_Soldier1_DZ: Default {
sex = "male";
playerModel = "RUS_Soldier1_DZ";
};
class Skin_RUS_Commander_DZ: Default {
sex = "male";
playerModel = "RUS_Commander_DZ";
};
class Skin_MVD_Soldier_DZ: Default {
sex = "male";
playerModel = "MVD_Soldier_DZ";
};
class Skin_Ins_Soldier_2_DZ: Default {
sex = "male";
playerModel = "Ins_Soldier_2_DZ";
};
class Skin_Ins_Commander_DZ: Default {
sex = "male";
playerModel = "Ins_Commander_DZ";
};
class Skin_Ins_Soldier_Crew_DZ: Default {
sex = "male";
playerModel = "Ins_Soldier_Crew_DZ";
};
class Skin_CDF_Soldier_DZ: Default {
sex = "male";
playerModel = "CDF_Soldier_DZ";
};
class Skin_Doctor_DZ: Default {
sex = "male";
playerModel = "Doctor_DZ";
};
class Skin_Assistant_DZ: Default {
sex = "male";
playerModel = "Assistant_DZ";
};
class Skin_Worker1_DZ: Default {
sex = "male";
playerModel = "Worker1_DZ";
};
class Skin_Worker3_DZ: Default {
sex = "male";
playerModel = "Worker3_DZ";
};
class Skin_Worker4_DZ: Default {
sex = "male";
playerModel = "Worker4_DZ";
};
class Skin_TK_CIV_Takistani01_EP1_DZ: Default {
sex = "male";
playerModel = "TK_CIV_Takistani01_EP1_DZ";
};
class Skin_TK_CIV_Takistani03_EP1_DZ: Default {
sex = "male";
playerModel = "TK_CIV_Takistani03_EP1_DZ";
};
class Skin_TK_CIV_Takistani04_EP1_DZ: Default {
sex = "male";
playerModel = "TK_CIV_Takistani04_EP1_DZ";
};
class Skin_TK_CIV_Takistani06_EP1_DZ: Default {
sex = "male";
playerModel = "TK_CIV_Takistani06_EP1_DZ";
};
class Skin_TK_INS_Soldier_AR_EP1_DZ: Default {
sex = "male";
playerModel = "TK_INS_Soldier_AR_EP1_DZ";
};
class Skin_TK_GUE_Soldier_EP1_DZ: Default {
sex = "male";
playerModel = "TK_GUE_Soldier_EP1_DZ";
};
class Skin_CZ_Soldier_SL_DES_EP1_DZ: Default {
sex = "male";
playerModel = "CZ_Soldier_SL_DES_EP1_DZ";
};
class Skin_US_Soldier_EP1_DZ: Default {
sex = "male";
playerModel = "US_Soldier_EP1_DZ";
};
class Skin_UN_CDF_Soldier_Guard_EP1_DZ: Default {
sex = "male";
playerModel = "UN_CDF_Soldier_Guard_EP1_DZ";
};
class Skin_UN_CDF_Soldier_EP1_DZ: Default {
sex = "male";
playerModel = "UN_CDF_Soldier_EP1_DZ";
};
class Skin_GER_Soldier_TL_EP1_DZ: Default {
sex = "male";
playerModel = "GER_Soldier_TL_EP1_DZ";
};
class Skin_BAF_Soldier_Officer_MTP_DZ: Default {
sex = "male";
playerModel = "BAF_Soldier_Officer_MTP_DZ";
};
class Skin_BAF_Soldier_N_MTP_DZ: Default {
sex = "male";
playerModel = "BAF_Soldier_N_MTP_DZ";
};
class Skin_FR_Sapper_DZ: Default {
sex = "male";
playerModel = "FR_Sapper_DZ";
};
};
};

View File

@@ -7,7 +7,7 @@ class Wooden_Arrow : Recipe {
};
output[] =
{
{"WoodenArrow","CfgMagazines",4}
{"1Rnd_Arrow_Wood","CfgMagazines",4}
};
required[] =
{

View File

@@ -6,7 +6,7 @@ class Blueprint_nails : Recipe {
};
output[] =
{
{"equip_nails","CfgMagazines",10}
{"equip_nails","CfgMagazines",4}
};
required[] =
{

View File

@@ -2,7 +2,6 @@
Created by Raymix
*/
class SnapBuilding {
//Barriers whitelist
class Barrier {
@@ -12,11 +11,14 @@ class SnapBuilding {
"Land_HBarrier1_DZ",
"Sandbag1_DZ",
"BagFenceRound_DZ",
"Fort_RazorWire"
"Fort_RazorWire",
"WoodFloorQuarter_DZ",
"WoodFloorHalf_DZ",
"WoodFloor_DZ",
"MetalFloor_DZ"
};
radius = 5;
};
//snap points
class Land_HBarrier5Preview: Barrier{ //fix for broken offsets in ghost
points[] = {
{0,0,0,"Pivot"},
@@ -251,8 +253,8 @@ class SnapBuilding {
class CinderWall_Preview_DZ: Cinder_DZE {
points[] = {
{0,0,0,"Pivot"},
{-2.64, 0, 0,"Left"},
{2.64, 0, 0,"Right"},
{-2.64, 0, -0.009,"Left"},
{2.64, 0, -0.009,"Right"},
{0, 0, 1.685,"Top"},
{0,0,-1.685,"Bottom"}
};

View File

@@ -39,16 +39,12 @@ class Land_stodola_open: Farm {
class Land_Barn_W_01: Farm {
zedPos[] = {{5.78711,18.9463,-2.62683},{-4.4646,16.665,-2.61633},{4.93188,-17.0469,-2.59064},{-3.82788,-18.6699,-2.59021},{-2.99072,-4.16992,-2.58276},{3.95435,4.88379,-2.57434}};
lootPos[] = {
//{7.23,5.37,-5.57},{8.55,0.75,-5.57},{5.2,-1.54,-5.57},{3.35,1.97,-5.57},{-3.63,3.05,-5.58},{-7.58,-1.02,-5.57},{-6.52,2.35,-5.56},{-7.21,5.55,-5.57},{6.53,1.49,-4.64},{0.05,1.32,-5.53},
//{4.93188,-17.0469,-2.59064},{-3.82788,-18.6699,-2.59021},{-4.4646,16.665,-2.61633},{5.78711,18.9463,-2.62683},{3.95435,4.88379,-2.57434},{-2.99072,-4.16992,-2.58276},
{-4.45776,14.2153,-2.71607},{4.34277,-6.15088,-2.57279}
};
lootPosSmall[] = {{4.09351,10.3872,-2.69559},{0.10791,3.48096,-2.64446},{-4.51636,-12.2603,-2.67148},{3.54419,-15.8311,-2.63077}};
};
class land_shed_m01: Farm { //DZE ADDED
zedPos[] = {{0.218262,-1.78369,-0.347349}};
};
class Land_Barn_W_02: Farm {
zedPos[] = {{3.35938,-0.151367,-2.31305},{-2.84351,0.213867,-2.31177},{-2.94604,-5.01465,-2.28998},{2.53711,-5.89258,-2.28949},{3.16479,5.56543,-2.28406},{-5.63306,4.83105,-2.26355}};
//lootPos[] = {{3.17,5.57,-2.28},{2.54,-5.89,-2.29},{-2.84,0.21,-2.31},{-5.63,4.83,-2.26},{-0.21,3.44,-2.31},{-0.74,-5.93,-2.31}};
@@ -78,20 +74,52 @@ class Land_Shed_W02: Farm {
zedPos[] = {{0.688232,1.88281,-0.00292969}};
lootPos[] = {{0.688232,1.88281,-0.00292969}};
};
//DZE ADDED BELOW
class land_jzd_kr2: Farm {
lootPos[] = {{1.92139,-4.90527,-6.17321},{0.709961,5.00488,-6.17321},{1.8623,7.37109,1.40623},{3.00684,-3.30566,1.41873},{-3.0625,-3.38477,-2.05339},{-2.62646,10.8418,-2.05339}};
// ALT-MAP Support
class Land_sara_stodola: Farm { // brown wooden barn one story
zedPos[] = {{-0.637695,2.9707,-2.19523},{0.459961,0.398438,-2.19523}};
lootPos[] = {{5.01367,3.33118,-2.19523},{2.51758,1.05737,-2.19523},{-1.30957,-1.02954,-2.19523},{-4.24414,4.0238,-2.19523},{5.16211,-0.661621,-2.19523}};
};
class land_jzd_kr1: Farm {
lootPos[] = {{-1.04834,-3.67578,-6.27279},{1.63818,0.775391,-6.27279},{-1.41992,5.10449,-6.27279},{-0.993164,2.94629,-2.15298},{0.717285,-3.79688,-2.15298}};
};
class land_jzd_stodola2: Farm {
//land_domek_podhradi_1 in Residential.hpp
class land_jzd_stodola2: Farm { // one story cement, sliding wooe doors, hay bales inside
zedPos[] = {{5.2832,-11.1592,-2.0262},{-2.20215,-0.935547,-2.0262}};
lootPos[] = {{8.15527,11.8477,-2.0262},{5.5127,5.6377,-2.0262},{-4.16113,3.67383,-2.0262},{7.53223,-14.4741,-2.0262},{1.16992,0.390625,1.31123}};
};
class land_jzd_kr2: Farm { // one story cement barn
zedPos[] = {{2.12061,-22.3691,-6.30976},{2.86523,-3.03125,-6.17321},{0.813965,4.67188,-6.17321}};
lootPos[] = {{1.92139,-4.90527,-6.17321},{0.709961,5.00488,-6.17321},{1.8623,7.37109,1.40623},{3.00684,-3.30566,1.41873},{-3.0625,-3.38477,-2.05339},{-2.62646,10.8418,-2.05339}};
};
class land_jzd_kr1: Farm { // one story cement barn
zedPos[] = {{0.0078125,-1.14941,-2.14676},{-4.2085,-12.3887,-2.14676},{0.878906,-9.51953,-6.26657}};
lootPos[] = {{-1.04834,-3.67578,-6.27279},{1.63818,0.775391,-6.27279},{-1.41992,5.10449,-6.27279},{-0.993164,2.94629,-2.15298},{0.717285,-3.79688,-2.15298}};
};
//land_hut02 in Residential.hpp
//land_hut01 in Residential.hpp
//land_hut04 in Residential.hpp
//Land_House_L_8_EP1 in Residential.hpp
//Land_House_L_3_EP1 in Residential.hpp
//Land_House_L_4_EP1 in Residential.hpp
//Land_House_L_6_EP1 in Residential.hpp
class land_smd_hut02: Farm { // grass hut
lootPos[] = {{0.338867,0.525391,-0.445763}};
};
class land_smd_hut01: Farm { // grass hut
zedPos[] = {{1.9834,-3.39844,-0.44834}};
lootPos[] = {{0.223633,-0.512695,-0.44834},{3.22607,1.40723,-0.44834}};
};
class land_smd_hut04: Farm { // grass hut
lootPos[] = {{0.250977,1.02734,-0.437198}};
};
//Land_bouda2_vnitrek in Residential.hpp
class Land_smd_sara_stodola2: Farm { // brown open barn
zedPos[] = {{1.01563,-0.325195,-2.16877}};
lootPos[] = {{4.57617,0.255859,-2.16877},{-4.61133,-1.60156,-2.16877},{-5.38281,2.94336,-2.16877}};
};
// ALT-MAP Support
//DZE ADDED BELOW
class land_jzd_stodola1: Farm {
lootPos[] = {{-3.81592,-11.418,-2.0262},{1.73877,-6.20605,-2.0262},{-4.13477,-0.265625,-2.0262},{-1.04883,0.180664,-2.0262}};
};
class Land_sara_stodola: Farm {
lootPos[] = {{5.01367,3.33118,-2.19523},{2.51758,1.05737,-2.19523},{-1.30957,-1.02954,-2.19523},{-4.24414,4.0238,-2.19523},{5.16211,-0.661621,-2.19523}};
};
class land_shed_m01: Farm {
zedPos[] = {{0.218262,-1.78369,-0.347349}};
};

View File

@@ -1043,11 +1043,142 @@ class Land_Ind_Quarry : Industrial
};
lootPos[] = {{-4.53,-6.8,5.25},{-4.36,16.23,5.26},{0.74,-10.68,-7.48},{-2.97,-15.79,-7.48},{-7.11,3.25,-7.48},{6.12,6.62,-7.48},{6.38,9.22,-7.48},{-7.12,13.38,-7.48},{-4.55,6.12,5.29}};
};
// ALT-MAP Support
class Land_MBG_Warehouse : Industrial // cement garage with roll up doors
{
zombieChance =1;
zedPos[] = { {18.6279,-11.8701,-6.14345},{18.7441,-3.52979,-6.14345},{19.6816,10.3794,-6.14345} };
lootPos[] = {
{18.6279,-11.8701,-6.14345},
{18.7441,-3.52979,-6.14345},
{19.6816,10.3794,-6.14345},
{19.3037,-4.68115,-2.84345},
{20.1992,9.28613,-2.84345},
{-14.5117,-11.2427,5.15655},
{19.957,-11.1582,5.15655},
{4.71289,1.58838,5.15655}
};
};
class Land_aif_tovarna1 : Industrial // concrete, blue sliding doors, generators upstairs
{
zombieChance =1;
zedPos[] = { {0.583008,-5.31641,-6.33001},{-9.15723,0.269531,-6.33001} };
lootPos[] = { {-10.3301,-8.71875,-0.352261}, {2.54883,3.63672,-0.352261},{-5.18652,-8.57422,2.39782},{2.47559,0.566406,2.39782},{-0.111328,0.832031,5.31266},{-8.40918,-5.96484,5.31261} };
};
class Land_MBG_Radiotelescope : Industrial // radio telescope
{
zedPos[] = { {1.30273,-5.41602,-8.95671},{-5.34375,2.29785,-9.72141},{-0.125,6.33398,-9.952} };
};
//Land_House_C_10_EP1 in Residential.hpp
class land_mbg_garage_single_b: Industrial {
lootPos[] = {
{2.54492,3.97607,-1.03899},
{4.13672,-0.0625,-1.03899}
};
lootPosSmall[] = {
{4.50586,2.56982,-1.03899}
};
zedPos[] = {{2.96094,6.3374,-0.133815}};
};
class Land_seb_bouda_plech : Industrial // shed
{
zedPos[] = {{0.587891,-0.694336,-1.25855},{-1.32471,2.75488,-1.72853}};
lootPos[] = {{0.518555,-1.09863,-1.24038},{0.78418,0.317871,-1.30457},{-1.39551,-1.56641,-1.72854},{1.45264,1.75,-1.72855}};
};
//Land_hut_old01 in Residential.hpp
//land_bunka in Office.hpp
class land_molovabud2 : Industrial // brick and concrete
{
zedPos[] = {{0.902344,2.01514,-1.51244},{-0.229492,2.83521,-1.51244}};
lootPos[] = {{-1.29492,4.75195,-2.46292},{2.67529,3.74512,-2.46296},{2.27832,-6.29395,-2.46296},{-1.73779,-6.27246,-2.46292},{0.274902,-5.6543,-2.46294},
{-0.87793,4.93457,-2.46293},{-7.5376,4.89258,1.41187}};
};
class land_molovabud1: Industrial { // brick and concrete
lootPos[] = {{-2.4458,2.20703,1.27995},{-4.68164,1.95508,1.27995},{-7.92822,6.29199,1.27995},{-1.81055,-1.29199,1.56745}};
};
class land_seb_rozvodna: Industrial {
lootPos[] = {{-1.2168,2.9668,0.583904}};
};
class land_provoz2 : Industrial // brick with metal roof
{
zedPos[] = {{-3.44727,-2.83105,-2.30756},{3.27734,1.92676,-2.30756}};
lootPos[] = {{3,0.40332,-2.51849},{-4.00488,0.662598,-2.51849},{3.23877,-2.76855,-2.30756},{-3.35352,1.86328,-2.30756}};
};
class land_sklad2 : Industrial // brick garage with metal roof
{
zedPos[] = {{2.60986,-1.60938,-2.38225},{3.19336,2.91602,-2.38225},{-2.04541,-0.470703,-2.38225}};
lootPos[] = {{2.60986,-1.60938,-2.38225},{3.19336,2.91602,-2.38225},{-2.04541,-0.470703,-2.38225}};
};
class land_hala1 : Industrial // brick factory with tanks inside
{
zedPos[] = {{2.23096,-5.30859,-3.98352},{1.9248,-3.57227,4.05042},{3.47656,1.4502,4.04957}};
lootPos[] = {{2.23096,-5.30859,-3.98352},{1.9248,-3.57227,4.05042},{3.47656,1.4502,4.04957}};
};
class land_seb_main_fac : Industrial // large concrete factory
{
zedPos[] = {{2.23096,-5.30859,-3.98352},{1.9248,-3.57227,4.05042},{3.47656,1.4502,4.04957}};
lootPos[] = {{4.19727,-1.7002,-5.81592},{13.6123,-3.59717,-5.75059},{18.8447,-0.019043,-5.83285},{4.12305,15.0049,8.63872},{2.93262,5.25195,8.63872},
{19.748,12.3213,8.63872},{20.1475,5.85547,8.63872},{-6.57617,4.96094,4.16873},{-4.16797,9.9248,4.16873}};
};
class land_garaze: Industrial {
lootPos[] = {{-0.00292969,-7.72925,-2.12658},{3.7334,1.02759,-2.12658},{3.2793,6.28857,-2.12658},{6.72949,7.34131,-2.12658},{1.68848,-3.91479,-2.12658}};
};
class Land_vys_budova_p1 : Industrial // one story garage 1 broken wood door
{
zedPos[] = {{5.57129,-4.15234,-2.09256},{4.67871,0.528564,-2.09256},{5.05273,4.5957,-2.09255}};
lootPos[] = {{-4.2168,-3.61816,-2.96085},{-4.59521,3.25635,-2.96088},{3.84375,2.55566,-2.96088},{1.14941,8.65527,5.59122},{-5.85205,2.18896,5.59122},
{-3.25635,-9.58398,5.59122},{-2.90771,-0.239746,5.59869},{-1.104,-0.294434,2.12335},{-1.09863,0.403809,-0.407806},{4.30469,-1.36182,-2.96088}};
};
class Land_Ind_Oil_Tower_EP1: Industrial
{
lootPos[] = {{ 3.55743,-5.92773,-12.9755 },{ 4.63086,1.24902,-12.9932 },{ -0.240356,-1.08252,-12.9875 },{ 6.87689,-6.34961,-8.00889 },{ 2.31177,0.231689,-8.00478 }};
};
class Land_tovarna1: Industrial
{
lootPos[] = {{ 2.83887,5.23889,-5.75442 },{ -2.30774,7.31934,-5.75442 },{ -11.0908,5.44897,-5.75442 },{ -11.4746,-1.5791,-5.75442 },{ -5.52405,1.68994,-5.75442 },{ 2.82605,1.4801,-5.75442 },
{ 2.44128,-6.50256,-5.75442 },{ -6.68335,-0.453369,2.17997 },{ -3.81812,0.690186,2.17997 },{ 2.78735,1.19409,2.17997 },{ 1.59167,-6.06665,2.17997 },{ -2.4646,-5.63696,2.17997 },{ -5.77393,-7.28271,2.17997 },{ -0.484985,-3.14197,4.82992 }};
};
class Land_Fort_Watchtower : Industrial //
{
zedPos[] = {{0.271973,0.984497,-2.21036}};
lootPos[] = {{0.126953,-0.00146484,-2.21036}};
};
class Land_ibr_FuelStation_Build: Industrial // gas station
{
lootChance = 0.5;
zombieClass[] = {"zZombie_Base","zZombie_Base","z_teacher","z_suit1","z_suit2"};
zedPos[] = {{2.19458,-0.13916,-1.33611}};
lootPos[] = {{-1.34521,1.40698,-1.33611},{2.27051,-0.949951,-1.33611},{-2.23193,-1.146,-1.33589},{-0.185059,0.775146,-1.33609}};
};
class Land_House_C_12_EP1: Industrial // makeshift repair shop w/car ramps
{
zedPos[] = {{2.11182,-8.16724,1.00763},{1.85498,-3.48828,-2.63601},{-2.74854,0.133301,-2.63601},{2.65674,-5.69165,-2.63601},{-2.60742,-7.35913,1.0174}};
lootPos[] = {{-3.27197,-1.5813,-3.50101},{-2.09863,-6.13086,-3.52102},{-2.979,-8.6936,0.141808},{-2.66602,-3.0437,0.139957},{5.91016,-3.59204,0.132626},{2.33154,-1.00244,-3.51937}};
lootPosSmall[] = {{-4.03857,-2.06226,-2.43102},{-4.02344,-1.44019,-3.11102},{-3.55371,-0.618164,-3.29102},{7.38184,0.690674,-3.12101},{-2.99268,-6.54883,3.45573},{7.58105,-2.40894,0.112629},{-1.79004,-3.58325,0.128376},{-2.05713,-9.00806,0.150394}};
};
class LAND_garaz_bez_tanku: Industrial // barrier garage thing walk up sides
{
lootPos[] = {{-2.98047,0.0463867,3.41651}};
lootPosSmall[] = {{-1.36499,-0.579102,3.42651}};
zedPos[] = {{-5.14404,-2.02295,-1.71924},{4.92676,-2.67383,-1.71924}};
};
class Land_leseni2x: Industrial
{
lootPos[] = {{1.15625,-0.206055,2.55466}};
};
class Land_smd_garaz_open: Industrial // garage with 3 green doors
{
lootPos[] = {{-5.10742,-0.351563,-1.22162},{-1.11328,-0.112305,-1.22162},{3.65039,-0.338867,-1.22162}};
};
// ALT-MAP Support
//DZE ADDED BELOW
class land_trubice: Industrial {
lootPos[] = {{-2.36719,2.7627,2.59438},{5.82715,3.01563,2.59438},{1.57617,0.709961,2.59438}};
};
class land_x_skladiste_low_tex: Industrial {
class land_x_skladiste_low_tex: Industrial { // concrete, arc roof, broken doors
zedPos[] = {{12.5835,2.05273,-2.73836},{-10.9365,2.72217,-2.85032}};
//lootPos[] = {{12.5835,2.05273,-2.73836},{-2.45117,8.69385,-1.62253},{-10.9365,2.72217,-2.85032},{-9.50781,-9.54053,-2.85108},{-12.1572,-6.07861,-2.8506}};
lootPos[] = {{-8.12354,-0.32373,-2.85032},{-2.31592,-4.27539,-2.5975},{8.15527,-6.89307,-2.5975},{0.398926,4.80029,-2.82628},{-6.0249,-7.64355,-2.85032}};
};
class land_b_small1: Industrial {
@@ -1059,9 +1190,6 @@ class land_cast1: Industrial {
class land_panelova: Industrial {
lootPos[] = {{16,-14.6357,-4.04666},{3.79102,1.25659,-4.08966},{-15.4639,-8.38086,-4.08966},{-14.3535,-0.195313,-4.08966},{-1.61719,-12.8313,-4.08966},{15.4287,-4.25635,3.37273},{9.19336,-14.6272,3.37141},{5.80957,9.09253,3.37141},{9.95508,9.7937,3.37141},{-8.11523,-2.98291,3.34401},{-15.2598,-8.56641,3.34401}};
};
class land_garaze: Industrial {
lootPos[] = {{-0.00292969,-7.72925,-2.12658},{3.7334,1.02759,-2.12658},{3.2793,6.28857,-2.12658},{6.72949,7.34131,-2.12658},{1.68848,-3.91479,-2.12658}};
};
class land_seb_bouda3: Industrial {
lootPos[] = {{2.63574,-3.0332,-1.72872},{-2.71875,-5.08691,-1.72873},{-3.00293,-1.50781,-1.72877},{-2.91357,3.86328,-1.72876},{3.12891,3.01563,-1.72879}};
};
@@ -1077,10 +1205,9 @@ class land_seb_mine_main_opt: Industrial {
class land_seb_mine_near: Industrial {
lootPos[] = {{7.87646,-5.52881,-8.8979},{9.02979,-5.5918,-8.8979},{4.37451,-7.10156,-8.8979}};
};
class land_molovabud1: Industrial {
lootPos[] = {{-2.4458,2.20703,1.27995},{-4.68164,1.95508,1.27995},{-7.92822,6.29199,1.27995},{-1.81055,-1.29199,1.56745}};
};
class land_f_b1: Industrial {
class land_f_b1: Industrial { // one story garage and ramp
zedPos[] = {{2.6582,-3.80225,-3.08734},{3.87988,2.10889,-3.1054}};
//lootPos[] = {{-3.18848,-0.702148,-2.21533},{-2.42188,-4.46582,-2.21533}};
lootPos[] = {{-4.45996,-2.84619,-2.21533},{-1.81152,-5.01123,-2.21533},{-5.32227,-5.21875,-2.21533}};
};
@@ -1096,9 +1223,6 @@ class land_seb_vod_vez: Industrial {
class land_seb_near_fac: Industrial {
lootPos[] = {{-10.4116,-18.0859,1.75552}};
};
class land_seb_rozvodna: Industrial {
lootPos[] = {{-1.2168,2.9668,0.583904}};
};
class Land_FuelStation_Build_PMC : Industrial //IndustrialFuel
{
@@ -1106,13 +1230,6 @@ class Land_FuelStation_Build_PMC : Industrial //IndustrialFuel
{-1.51141,1.30359,-1.33611},
{2.23376,0.0710449,-1.33611}};
};
class Land_leseni2x: Industrial
{
lootPos[] = {
{1.15625,-0.206055,2.55466}};
};
class land_bouda_garaz: Industrial
{
lootPos[] = {
@@ -1134,35 +1251,6 @@ class land_dum_istan2_02: Industrial
{-0.566406,-3.44775,-4.14959},
{-2.00146,1.43604,-4.14959}};
};
class LAND_garaz_bez_tanku: Industrial
{
lootPos[] = {
{-2.98047,0.0463867,3.41651}
};
lootPosSmall[] = {
{-1.36499,-0.579102,3.42651}
};
zedPos[] = {{-5.14404,-2.02295,-1.71924},{4.92676,-2.67383,-1.71924}};
};
class Land_tovarna1: Industrial
{
lootPos[] = {
{ 2.83887,5.23889,-5.75442 },
{ -2.30774,7.31934,-5.75442 },
{ -11.0908,5.44897,-5.75442 },
{ -11.4746,-1.5791,-5.75442 },
{ -5.52405,1.68994,-5.75442 },
{ 2.82605,1.4801,-5.75442 },
{ 2.44128,-6.50256,-5.75442 },
{ -6.68335,-0.453369,2.17997 },
{ -3.81812,0.690186,2.17997 },
{ 2.78735,1.19409,2.17997 },
{ 1.59167,-6.06665,2.17997 },
{ -2.4646,-5.63696,2.17997 },
{ -5.77393,-7.28271,2.17997 },
{ -0.484985,-3.14197,4.82992 }};
};
class Land_Ind_Garage01_EP1: Industrial
{
lootPos[] = {
@@ -1177,27 +1265,6 @@ class Land_Ind_Garage01_EP1: Industrial
};
zedPos[] = {{0.125488,0.557861,-0.357141},{1.11084,-1.33643,-0.36116}};
};
class land_mbg_garage_single_b: Industrial {
lootPos[] = {
{2.54492,3.97607,-1.03899},
{4.13672,-0.0625,-1.03899}
};
lootPosSmall[] = {
{4.50586,2.56982,-1.03899}
};
zedPos[] = {{2.96094,6.3374,-0.133815}};
};
class Land_House_C_12_EP1: Industrial
{
lootPos[] = {
{-3.27197,-1.5813,-3.50101},{-2.09863,-6.13086,-3.52102},{-2.979,-8.6936,0.141808},{-2.66602,-3.0437,0.139957},{5.91016,-3.59204,0.132626},{2.33154,-1.00244,-3.51937}
};
lootPosSmall[] = {
{-4.03857,-2.06226,-2.43102},{-4.02344,-1.44019,-3.11102},{-3.55371,-0.618164,-3.29102},{7.38184,0.690674,-3.12101},{-2.99268,-6.54883,3.45573},{7.58105,-2.40894,0.112629},{-1.79004,-3.58325,0.128376},{-2.05713,-9.00806,0.150394}
};
zedPos[] = {{2.11182,-8.16724,1.00763},{1.85498,-3.48828,-2.63601},{-2.74854,0.133301,-2.63601},{2.65674,-5.69165,-2.63601},{-2.60742,-7.35913,1.0174}};
};
class Land_Ind_Oil_Pump_EP1: Industrial
{
lootPos[] = {
@@ -1246,12 +1313,6 @@ class Land_Ind_FuelStation_Build_EP1: Industrial
zombieClass[] = {"zZombie_Base","zZombie_Base","z_teacher","z_suit1","z_suit2"};
lootPos[] = {{-1.34521,1.40698,-1.33611},{2.27051,-0.949951,-1.33611},{-2.23193,-1.146,-1.33589},{-0.185059,0.775146,-1.33609}};
};
class Land_ibr_FuelStation_Build: Industrial //IndustrialFuel
{
lootChance = 0.5;
zombieClass[] = {"zZombie_Base","zZombie_Base","z_teacher","z_suit1","z_suit2"};
lootPos[] = {{-1.34521,1.40698,-1.33611},{2.27051,-0.949951,-1.33611},{-2.23193,-1.146,-1.33589},{-0.185059,0.775146,-1.33609}};
};
class hiluxWreck: Industrial
{
zombieClass[] = {"zZombie_Base","z_hunter"};
@@ -1260,13 +1321,4 @@ class hiluxWreck: Industrial
minRoaming = 1;
maxRoaming = 2;
lootPos[] = {};
};
class Land_Ind_Oil_Tower_EP1: Industrial
{
lootPos[] = {
{ 3.55743,-5.92773,-12.9755 },
{ 4.63086,1.24902,-12.9932 },
{ -0.240356,-1.08252,-12.9875 },
{ 6.87689,-6.34961,-8.00889 },
{ 2.31177,0.231689,-8.00478 }};
};
};

View File

@@ -29,7 +29,8 @@ class MilitarySpecial : Military
lootChance = 0.4;
lootGroup = MilitarySpecial;
};
class MilitaryIndustrial: Military {
class MilitaryIndustrial: Military
{
zombieChance = 0.3;
maxRoaming = 6;
zombieClass[] =
@@ -41,19 +42,19 @@ class MilitaryIndustrial: Military {
"z_worker2",
"z_worker3"
};
lootChance = 0.4;
lootChance = 0.5;
lootGroup = MilitaryIndustrial;
};
class Land_a_stationhouse : Military
{
zedPos[] = {{-0.892578,-5.7168,-9.47058},{1.5127,1.96484,-9.47058},{18.9063,-4.06738,-9.47058},{-2.69922,-7.57422,-9.46057},{-1.35645,-8.3623,-4.6489},{-3.24219,-6.61914,-4.6489},{-1.70801,-7.85449,-0.0437927},{-3.39453,-7.88281,-0.0437927},{-1.37891,-5.79102,4.41141},{-1.39648,-7.79883,4.41141}};
lootChance = 0.3;
lootChance = 0.5;
lootPos[] = {
//{-2.7,-7.57,-9.46},{-0.89,-5.72,-9.47},{-3.24,-6.62,-4.65},{-1.36,-8.36,-4.65},{-1.71,-7.85,-0.04},{-3.39,-7.88,-0.04},{-1.4,-7.8,4.41},{-1.38,-5.79,4.41},{1.51,1.96,-9.47},{18.91,-4.07,-9.47},{-14.4,3.29,-0.51},{1.33,0.89,-0.51},{-2.37,-8.4,8.49},{12.44,2.54,-9.47},{-14.83,-7.58,-0.51},{-1.8,8.87,-0.51},{6.83,0.89,-0.51},{3.65,-6.54,-4.51},{16.29,-6.57,-4.51},{18.39,2.37,-4.51},{9.28,-1.25,-4.51},{-2.08,-4.74,8.49},
{15.436,2.85498,-9.47058},{17.9861,-6.52832,-9.47058},{1.22583,2.24463,-9.47058},{-3.9126,-7.29834,-9.47058},{-2.28271,-6.21094,-4.6489},{-1.604,-8.68018,-0.043786},{-1.104,-5.60938,4.41139},{-3.55811,-8.56787,4.41139},{-2.99219,-8.27148,8.49209}
};
lootPosSmall[] = {
{14.6826,3.55029,-8.25058},{9.97266,3.48584,-9.40058},{19.1477,-6.69629,-9.36058},{19.1719,-7.47998,-9.36058},{0.513672,1.19336,-9.39058},{0.51416,3.3418,-8.63058},{0.52124,1.92334,-7.87058},{-1.63623,-8.99756,-9.39058},{-3.5647,-9.01855,-8.63058},{-0.76709,-8.99072,-7.87058},{-2.40137,-9.03027,-8.25058},{-4.50391,-5.27588,-4.6489},{-1.02393,-9.02051,0.0562134},{-0.771484,-8.3335,0.0762138},{-0.7229,-9.03076,1.19621},{-4.40308,-8.7666,4.41139},{-2.27783,-5.35303,4.41139},{-4.4541,-8.81055,8.49209},{9.12549,3.64697,-8.25058}
{14.6826,3.55029,-8.25058},{9.97266,3.48584,-9.40058},{18.15,-6.73,-9.36},{18.08,-6.05,-9.44},{-0.52,1,-8.63},{-0.49,2.59,-8.28},{-0.41,1.76,-9.37},{-1.63623,-8.99756,-9.39058},{-3.5647,-9.01855,-8.63058},{-0.76709,-8.99072,-7.87058},{-2.40137,-9.03027,-8.25058},{-4.50391,-5.27588,-4.6489},{-1.02393,-9.02051,0.0562134},{-0.771484,-8.3335,0.0762138},{-0.7229,-9.03076,1.19621},{-4.40308,-8.7666,4.41139},{-2.27783,-5.35303,4.41139},{-4.4541,-8.81055,8.49209},{9.12549,3.64697,-8.25058}
};
};
@@ -159,9 +160,11 @@ class Camp: Military {
maxRoaming = 1;
zedPos[] = {{0.833496,-1.52246,-1.09949},{0.385742,0.963867,-1.08948}};
//lootPos[] = {{0.833496,-1.52246,-1.09949},{0.385742,0.963867,-1.08948}};
lootPos[] = {{0.833252,-1.52246,-1.15955},{0.38501,0.963867,-1.15955}};
lootPos[] = {{0.833252,-1.52246,-1.09949},{0.38501,0.963867,-1.08948}};
};
class Land_stan: Camp {};
class CampEast: Military {
maxRoaming = 1;
zedPos[] = {{0.627441,1.83594,-1.31049},{-1.05713,-1.80762,-1.31049}};
@@ -219,43 +222,124 @@ class Land_Mil_Barracks_L: Military {
zedPos[] = {{4,-5.22,-2.21},{7.3,-4.04,-2.21},{-0.82,-4.72,-2.2}};
lootPos[] = {{-0.82,-4.72,-2.2},{4,-5.22,-2.21},{7.3,-4.04,-2.21}};
};
//DZE ADDED BELOW
class land_pozorovatelna: Military {
// ALT-MAP Support
class Land_budova4_in: Military // barracks broken blue front door. cannot enter inner rooms
{
zedPos[] = {{-3.94531,2.27344,-1.88723},{-0.0566406,2.2666,-1.88723},{6.27148,2.5752,-1.88723}};
lootPos[] = {{ -6.50415,2.1416,-1.88723 },{ -1.66162,2.10168,-1.88723 },{ 2.94312,2.297,-1.88723 },{ 5.34082,-1.82922,-1.88723 }};
};
class Land_kostel_trosky: MilitarySpecial // church ruins
{
zedPos[] = {{-0.388672,10.0176,-5.37072},{-2.97852,-0.816406,-5.55207}};
lootPos[] = {{0.386719,13.5918,-5.54349},{3.81055,2.98828,-5.30816}};
};
class Land_MBG_Killhouse_3: Military // cement 2 story
{
zedPos[] = {{-4.10547,-0.466797,0.451439},{-2.06152,3.2168,0.451439},{-10.7031,3.0293,0.451439},{-8.07715,-1.2168,0.451439}};
lootPos[] = {{-4.10547,-0.466797,0.451439},{-2.06152,3.2168,0.451439},{-10.7031,3.0293,0.451439},{-8.07715,-1.2168,0.451439}};
};
//Land_MBG_Killhouse_4 in Residential.hpp
class Land_aif_strazni_vez: Military // metal platform-overlook
{
lootPos[] = {{0.113281,0.859375,1.46157},{-1.24023,1.25195,1.46157}};
};
class Land_MBG_Killhouse_2: Military // cement 2 story
{
zedPos[] = {{-4.58887,-4.49023,-2.79856},{1.78516,1.58887,3.80144}};
lootPos[] = {{-4.58887,-4.49023,-2.79856},{6.50488,5.86328,-2.79856},{-6.24365,-4.69336,0.501437},{-4.99805,-4.63281,3.80144},{5.48828,-3.87793,3.80144}};
};
//Land_A_Villa_EP1 in Office.hpp
class Land_budova4_winter: MilitarySpecial { // winter version of military barracks
lootPos[] = {{-7.73389,0.300049,-1.09824},{-7.7666,1.97388,-1.09824},{-5.85645,1.92651,-1.09824},{-4.82373,0.194336,-1.09824},{-4.82715,-2.00244,-1.09824},{-8.09766,-2.28149,-1.09824},{-3.06787,2.24805,-1.09824},{-1.65283,-1.91821,-1.09824},{-1.41309,-0.034668,-1.09824},{0.266602,1.76807,-1.09824},{1.28369,0.289307,-1.09824},{1.81982,-2.28687,-1.09824},{4.37549,2.14941,-1.09824},{5.61865,1.71338,-1.09824},{5.06787,-1.74316,-1.09824},{2.54785,2.33716,-1.09824}};
};
class land_pozorovatelna: Military { // concrete tower
//lootChance = 0.3;
lootPos[] = {{-2.36328,-2.79248,-2.49767},{3.11426,-2.92969,-2.49767},{0.740234,2.47852,-2.49767},{-1.67578,-2.50049,7.54509},{-1.23047,1.90283,7.54509},{2.88477,2.08496,7.54509},{2.61426,-2.48096,7.54509},{0.491211,-0.290527,7.54509}};
};
class land_hlaska: Military // metal platform
{
lootChance = 0.3;
lootPos[] = {{-0.802246,0.614258,3.77092},{0.917969,0.9375,3.77093}};
};
class Land_MBG_Killhouse_1: Military // cement block building
{
lootChance = 0.25;
lootPos[] = {{-1.98071,5.50488,1.25144},{-2.79443,0.65625,-2.04856},{2.88354,2.7627,-2.04856}};
};
class land_army_hut2_int: Military // beige hut on blocks
{
lootPos[] = {{ -0.421387,-0.0517578,-0.948329 },{ 1.80103,0.945313,-0.948329 },{ 2.24585,-2.6875,-0.948329 },{ -1.24561,-1.53955,-0.948329 }};
};
class land_army_hut_int: Military // beige hut on blocks
{
lootPos[] = {{ 2.7959,-5.07373,-1.33056 },{ 2.79785,-2.1626,-1.33056 },{ -0.943359,-0.060791,-1.35981 },{ 0.689453,1.87134,-1.36167 }};
};
class Land_army_hut3_long_int: Military // beige hut on blocks
{
lootPos[] = {{ -2.88721,-4.36035,-1.23617 },{ 0.753906,-3.90039,-1.23617 },{ -2.53711,-1.95117,-1.23617 },{ -2.27856,-0.211914,-1.23617 },{ -0.0664063,-1.70801,-1.23617 },{ 0.141113,2.31104,-1.23617 }};
};
//Land_ibr_terminal in Office.hpp
class Land_smd_garaz_s_tankem: Military // garage - blockade - ladder
{
zedPos[] = {{5.83203,2.34961,-2.49103}};
lootPos[] = {{5.83203,2.34961,-2.49103},{-0.569336,3.00684,3.4697}};
};
class land_smd_army_hut2_int: Military { // beige hut on blocks
lootPos[] = {{-0.848633,-1.24316,-0.948334},{-1.92383,-0.00390625,-0.948334},{2.7959,-0.0146484,-0.948334}};
lootPosSmall[] = {{0.15918,-1.26465,-0.498337},{3.0791,1.96387,-0.948334}};
zedPos[] = {{-3.35352,-2.65332,-0.407364},{0.475586,3.37402,-0.350555}};
};
class land_smd_army_hut2: Military { // beige hut on blocks
lootPos[] = {{0.447266,-4.6543,-1.33328}};
lootPosSmall[] = {{-0.257813,-5.02539,-0.623276},{3.02832,-6.1582,-1.33328}};
zedPos[] = {{0.552734,6.06836,-0.515976},{-3.86816,-5.6875,-1.13228}};
};
class Land_smd_SS_hangar_withdoor: Military
{
maxRoaming = 3;
zedPos[] = {{10.957,-16.6943,-5.87254},{-11.3311,-15.499,-5.87254},{-9.27832,2.05566,-5.87254}};
lootChance = 0.4;
lootPos[] = {{10.957,-16.6943,-5.87254},{-11.3311,-15.499,-5.87254},{-9.27832,2.05566,-5.87254},{-11.0947,21.3438,-5.87254},{10.7002,17.6221,-5.87254},{11.4658,1.51367,-5.87254},{12.9443,-15.6855,-5.87254}};
lootGroup = Hangar;
};
class Land_smd_budova4_in: MilitarySpecial // barracks blue doors internal rooms
{
zedPos[] = {{5.9375,1.33496,-1.88723}};
lootChance = 0.3;
lootPos[] = {{5.68359,-1.41211,-1.88723},{-7.21484,2.17285,-1.88723},{-4.04492,2.07227,-1.88723},{-0.4375,1.95898,-1.88723},{3.23633,2.06348,-1.88723},{0.804688,-0.614258,-1.88723},{-1.2793,-1.0791,-1.88723},{-6.87695,-1.35156,-1.88723}};
};
class land_smd_army_hut3_long_int: Military { // wide 3 doors bunks
lootPos[] = {{0.643555,5.24219,-0.0739136},{-2.78809,3.13672,-1.27391},{-2.80957,5.27441,-0.863907},{-3.13086,-3.3584,-1.27391},{-0.875977,-0.6875,-1.27391}};
lootPosSmall[] = {{1.6875,5.27539,-0.863907},{-0.604492,-3.36816,-0.563904},{1.91699,1.27832,-1.27391}};
zedPos[] = {{3.37598,0.145508,-0.938461},{-4.52734,0.833984,-1.2229}};
};
class land_smd_hlaska: Military { // wide 3 doors bunks
lootPos[] = {{-0.724609,0.822266,3.77092}};
lootPosSmall[] = {{1.06201,-0.864258,3.77092},{-1.04688,-0.759766,3.77092}};
zedPos[] = {{-0.18457,-3.13574,-2.25991}};
};
class Land_smd_kostel_trosky: MilitarySpecial // church ruins
{
lootPos[] = {{3.83789,0.8125,-4.81671},{0.206055,12.3555,-5.09952}};
};
// ALT-MAP Support
//DZE ADDED BELOW
class land_AII_last_floor: MilitarySpecial {
zombieClass[] = {"z_soldier","z_soldier","z_policeman"};
lootChance = 0.5;
maxRoaming = 3;
lootPos[] = {{-1.73975,-7.99756,11.6976},{-1.73975,-7.99756,11.6976},{-1.20801,5.45605,4.6129},{-3.82813,2.81494,5.46183}};
};
class land_AII_middle_floor: MilitarySpecial {
zombieClass[] = {"z_soldier","z_soldier","z_policeman"};
lootChance = 0.5;
maxRoaming = 3;
lootPos[] = {{-7.64941,4.97412,0.510368},{-7.7207,5.10498,0.510216},{-7.27979,-0.931152,0.518509},{8.47461,-2.3252,-4.63377},{9.20508,0.508301,-4.63377},{4.36768,3.7998,-4.63377},{-0.669434,2.74805,-4.63377},{-10.3594,5.03516,-4.63377},{-13.9766,9.10059,-4.63377},{-8.021,1.22314,-4.63377},{6.07227,-2.64551,-4.63377},{-8.75293,8.79297,-2.10379}};
};
class Land_budova4_winter: MilitarySpecial {
lootPos[] = {{-7.73389,0.300049,-1.09824},{-7.7666,1.97388,-1.09824},{-5.85645,1.92651,-1.09824},{-4.82373,0.194336,-1.09824},{-4.82715,-2.00244,-1.09824},{-8.09766,-2.28149,-1.09824},{-3.06787,2.24805,-1.09824},{-1.65283,-1.91821,-1.09824},{-1.41309,-0.034668,-1.09824},{0.266602,1.76807,-1.09824},{1.28369,0.289307,-1.09824},{1.81982,-2.28687,-1.09824},{4.37549,2.14941,-1.09824},{5.61865,1.71338,-1.09824},{5.06787,-1.74316,-1.09824},{2.54785,2.33716,-1.09824}};
};
class land_vstup: Military {
lootPos[] = {{-11.51,-2.64844,-1.53312},{-6.24463,-2.85059,-1.53312},{-1.16992,-2.84961,-1.53312},{2.70898,-2.85059,-1.53312}};
};
class land_smd_hlaska: Military {
lootPos[] = {
{-0.724609,0.822266,3.77092}
};
lootPosSmall[] = {
{1.06201,-0.864258,3.77092},
{-1.04688,-0.759766,3.77092}
};
zedPos[] = {{-0.18457,-3.13574,-2.25991}};
};
class land_smd_army_hut2: Military {
lootPos[] = {
{0.447266,-4.6543,-1.33328}
};
lootPosSmall[] = {
{-0.257813,-5.02539,-0.623276},
{3.02832,-6.1582,-1.33328}
};
zedPos[] = {{0.552734,6.06836,-0.515976},{-3.86816,-5.6875,-1.13228}};
};
class land_smd_ss_hangard_withdoor: MilitaryIndustrial {
lootPos[] = {
{0.236328,3.4209,-5.87254},{-14.0732,22.499,-5.87254},{13.1895,22.2031,-5.87254},{-13.8877,-10.5459,-5.87254},{2.10742,-19.8496,-5.87254}
@@ -274,15 +358,6 @@ class land_budova5: Military {
};
zedPos[] = {{-3.04492,2.0332,-1.40211}};
};
class land_smd_army_hut2_int: Military {
lootPos[] = {
{-0.848633,-1.24316,-0.948334},{-1.92383,-0.00390625,-0.948334},{2.7959,-0.0146484,-0.948334}
};
lootPosSmall[] = {
{0.15918,-1.26465,-0.498337},{3.0791,1.96387,-0.948334}
};
zedPos[] = {{-3.35352,-2.65332,-0.407364},{0.475586,3.37402,-0.350555}};
};
class land_smd_strazni_vez: Military {
lootPos[] = {
{-1.68066,-1.30273,2.00299}
@@ -293,16 +368,6 @@ class land_smd_strazni_vez: Military {
};
zedPos[] = {{-1.14844,0.125977,2.28799},{1.04102,2.45898,-1.76974}};
};
class land_smd_army_hut3_long_int: Military {
lootPos[] = {
{0.643555,5.24219,-0.0739136},{-2.78809,3.13672,-1.27391},{-2.80957,5.27441,-0.863907},{-3.13086,-3.3584,-1.27391},{-0.875977,-0.6875,-1.27391}
};
lootPosSmall[] = {
{1.6875,5.27539,-0.863907},{-0.604492,-3.36816,-0.563904},{1.91699,1.27832,-1.27391}
};
zedPos[] = {{3.37598,0.145508,-0.938461},{-4.52734,0.833984,-1.2229}};
};
class land_st_vez: MilitarySpecial {
lootPos[] = {{-5.56445,4.23975,-3.31476},{-5.05566,-3.17627,-3.31476},{4.12109,3.92822,2.42732},{-1.73389,2.68896,6.40834},{-4.23584,1.29736,6.40834},{-3.80322,-1.09277,6.40834},{0.430664,1.31787,6.40834},{-2.45166,-2.16748,6.40834},{-0.608398,-0.57666,-11.095},{-2.08691,1.10303,-11.0649},{0.259277,-3.89697,-3.31476},{3.9375,3.30957,-8.50825}};
};
@@ -335,42 +400,6 @@ class land_ind_pec_03a: MilitaryIndustrial
};
zedPos[] = {{1.979,15.7012,3.48646},{5.93604,16.2686,3.48582},{6.50586,13.8198,-4.22628},{12.314,9.64258,-4.22628},{6.15381,9.78711,-4.22628},{6.34424,-2.52051,-0.953124},{-5.04004,-4.30566,-4.22628},{-5.77588,-21.0293,-4.22628}};
};
class Land_budova4_in: Military
{
lootPos[] = {
{ -6.50415,2.1416,-1.88723 },
{ -1.66162,2.10168,-1.88723 },
{ 2.94312,2.297,-1.88723 },
{ 5.34082,-1.82922,-1.88723 }};
};
class land_army_hut_int: Military
{
lootPos[] = {
{ 2.7959,-5.07373,-1.33056 },
{ 2.79785,-2.1626,-1.33056 },
{ -0.943359,-0.060791,-1.35981 },
{ 0.689453,1.87134,-1.36167 }};
};
class Land_army_hut3_long_int: Military
{
lootPos[] = {
{ -2.88721,-4.36035,-1.23617 },
{ 0.753906,-3.90039,-1.23617 },
{ -2.53711,-1.95117,-1.23617 },
{ -2.27856,-0.211914,-1.23617 },
{ -0.0664063,-1.70801,-1.23617 },
{ 0.141113,2.31104,-1.23617 }};
};
class land_army_hut2_int: Military
{
lootPos[] = {
{ -0.421387,-0.0517578,-0.948329 },
{ 1.80103,0.945313,-0.948329 },
{ 2.24585,-2.6875,-0.948329 },
{ -1.24561,-1.53955,-0.948329 }};
};
class Land_Mil_Barracks_EP1: Military
{
lootPos[] = {};
@@ -489,7 +518,7 @@ class HMMWVWreck: Military
lootPos[] = {};
};
class Land_Mil_Guardhouse : Military //MOVED FROM RESIDENTIAL
class Land_Mil_Guardhouse: Military //MOVED FROM RESIDENTIAL
{
zombieClass[] =
{
@@ -497,6 +526,7 @@ class Land_Mil_Guardhouse : Military //MOVED FROM RESIDENTIAL
"z_soldier",
"z_policeman"
};
lootChance = 0.5;
maxRoaming = 3;
zedPos[] = {{-2.44727,0.250977,-1.70563},{-2.44873,3.00293,-1.70285}};
lootPos[] = {

View File

@@ -78,6 +78,78 @@ class Land_A_Office02 : Office
};
zedPos[] = {{4.72266,-5.74219,-8.15109},{0.961426,-5.16992,-8.15076}};
};
// ALT-MAP Support
class Land_aif_hotel : Office //multi-story hotel with balconies
{
lootPos[] = {{14.0938,-4.38281,6.24485},{4.53711,12.8853,6.24484},{-20.623,-7.3584,2.74056},{-20.9375,-15.0547,-0.759435},{-20.4102,-4.95166,-4.25943},{20.8555,6.60156,-4.25943}};
};
class Land_aif_hotel_bio : Office // multi-story hotel with balconies
{
zedPos[] = {{-18.5781,4.20801,-8.5215},{-17.8848,-6.33398,-8.52153}};
lootPos[] = {{-17.8848,-6.33398,-8.52153},{16.8477,-12.5811,-8.52153},{17.8984,12.9102,-8.52153},{-1.51172,11.0117,-8.52153},{-23.4453,-5.7998,-0.835522},
{-22.4063,-16.8887,3.01448},{-5.8418,5.27832,6.86919},{16.7227,16.8076,6.86919},{18.2676,-14.2627,6.86919},{-16.8984,-16.3701,6.86919}};
};
class land_mbg_apartments_big_04: Office { // multi-story cement, 3 non-enterable garages
lootPos[] = {
{10.1953,-2.47656,-3.19898},{3.14453,-0.197266,-3.19898},{0.949219,5.58789,5.94502},{-0.888672,2.47461,2.69382},{3.99414,-0.273438,2.89702},{10.7344,-0.351563,2.89702},{-10.4961,-5.46484,2.89702},{-3.25391,0.669922,2.89702},{10.6816,-2.26367,-0.15098},{-3.48828,0.31543,-0.15098},{-2.97461,-2.35547,-0.15098}
};
lootPosSmall[] = {
{4.52734,1.46289,-3.19898},{2.90234,5.90918,2.89702},{5.46875,-0.703125,2.89702},{-4.46875,-0.686523,2.89702},{5.17383,-1.80566,-0.15098},{-7.44531,5.68359,-0.15098}
};
zedPos[] = {{-0.0898438,4.67773,-7.08873},{0.890625,-5.13965,-6.90238}};
};
//land_vysoky2 in Residential.hpp
//land_dlouhy1 in Residential.hpp
class Land_ibrPanelak: Land_Panelak{};
class Land_ibrPanelak2: Land_Panelak2{};
class LAND_konecna : Office
{
lootPos[] = {{14.8423,-0.987793,-1.59364},
{16.873,-2.86865,-1.59364},
{13.3672,-9.11377,-1.59364},
{5.09497,-9.98682,-1.59364},
{-24.8281,-1.17871,-1.59364},
{-14.0747,-7.3042,-1.59364},
{-19.0789,0.98291,-1.59364},
{4.67944,0.805176,-1.59364},
{-11.4639,-10.1475,-1.59364}};
};
// ALT-MAP Tavi
// ALT-MAP SAHRANI
class Land_smd_dum_olez_istan1_open2 : Office // same as Land_Panelak2
{
zedPos[] = {{-3.77344,1.99414,-1.84398},{1.31641,-2.06934,-1.84399}};
lootPos[] = {{-5.99023,-5.60449,-1.84398},{6.73145,1.43555,-1.84399},{4.90332,-3.25098,1.37497},{-1.73145,-3.67773,1.37497},{-7.09375,-3.92773,1.37497}};
};
class Land_smd_hotel_riviera2 : Office // 2 story motel blue tiles
{
zedPos[] = {{-9.32324,-7.52173,-0.321464},{2.03027,-6.70923,-0.321464}};
lootPos[] = {{-9.32324,-7.52173,-0.321464},{2.03027,-6.70923,-0.321464}};
};
class Land_smd_hotel_riviera1 : Office // 2 story motel blue tiles
{
zedPos[] = {{-10.7217,-6.02148,-0.322234},{-4.7041,-6.77051,-0.321464},{8.9541,-6.33838,-0.321464}};
lootPos[] = {{-10.7217,-6.02148,-0.322234},{-4.7041,-6.77051,-0.321464},{8.9541,-6.33838,-0.321464}};
};
class Land_smd_hotel : Office // 4 story apartment building
{
zedPos[] = {{-16.1006,0.519043,-7.74672},{-0.744141,10.0884,-7.74672}};
lootPos[] = {{-0.744141,10.0884,-7.74672},{14.6982,-16.9382,-7.74672},{4.86719,14.0911,-7.74672},{-20.9121,-5.11133,-0.759434},{-20.6094,-6.26953,2.74057},{-20.6172,-15.1313,2.74057},
{-17.0537,17.2102,6.24485},{14.3779,2.7583,6.24485},{20.75,6.71948,-0.759434},{20.9033,14.7278,-4.25943},{20.541,5.12622,-4.25943}};
};
class Land_smd_dum_istan4_detaily1 : Office // 4 story hotel
{
zedPos[] = {{-2.51367,6.55078,-7.28588},{4.54834,6.33984,-7.28588},{2.58838,-3.21289,-4.33588}};
lootPos[] = {{2.58838,-3.21289,-4.33588}};
};
//Land_smd_dum_istan4 in Residential.hpp
class Land_smd_hospoda_mesto : Office // pub HOSTINEC
{
zedPos[] = {{4.85254,-4.82422,-5.17996},{3.28711,6.78125,-1.2485}};
lootPos[] = {{3.05957,-2.43555,-5.18104},{2.88574,5.32422,-5.19056},{3.27246,1.20703,-5.19001},{1.75098,-1.28906,-5.17993},{-7.48535,-4.07617,-1.2291},{2.63184,-1.78516,-1.2417}};
};
// ALT-MAP Support
//DZE BELOW
class LAND_ibr_bank: Office
{
@@ -96,20 +168,6 @@ class land_bunka: Office {
lootPos[] = {{1.83496,0.451172,-1.51244},{-2.04492,2.11377,-1.51245},{3.07324,2.41675,-1.51245}};
};
class LAND_konecna : Office
{
lootPos[] = {{14.8423,-0.987793,-1.59364},
{16.873,-2.86865,-1.59364},
{13.3672,-9.11377,-1.59364},
{5.09497,-9.98682,-1.59364},
{-24.8281,-1.17871,-1.59364},
{-14.0747,-7.3042,-1.59364},
{-19.0789,0.98291,-1.59364},
{4.67944,0.805176,-1.59364},
{-11.4639,-10.1475,-1.59364}};
};
class Land_ibrPanelak: Land_Panelak{};
class Land_ibrPanelak2: Land_Panelak2{};
class Land_ibr_terminal: Office
{
lootPos[] = {
@@ -126,8 +184,10 @@ class Land_ibr_terminal: Office
{ -2.83545,10.9009,-0.949741 },
{ -2.27686,-16.4238,3.68157 }};
};
class Land_A_Villa_EP1: Office
class Land_A_Villa_EP1: Office // takistani villa 2 story multi-wing
{
zedPos[] = {{5.5332,2.70361,-5.06721},{13.2578,-14.3623,-5.06719}};
//lootPos[] = {{-15.002,9.06104,1.97169},{10.3047,10.7178,1.97146},{17.4824,-15.3862,1.99229},{10.1855,-0.722656,-1.4844},{-2.54688,14.5698,-1.4844},{-14.8945,12.7236,-1.4844},{-8.51953,14.1064,-1.4844}};
lootPos[] = {
{ -23.3442,1.71484,-3.65929 },
{ 14.5498,-5.69775,-5.06722 },
@@ -208,21 +268,14 @@ class Land_MBG_Police_Station: Office
{ -2.3125,6.18774,1.68834 }};
};
class land_mbg_apartments_big_04: Office {
lootPos[] = {
{10.1953,-2.47656,-3.19898},{3.14453,-0.197266,-3.19898},{0.949219,5.58789,5.94502},{-0.888672,2.47461,2.69382},{3.99414,-0.273438,2.89702},{10.7344,-0.351563,2.89702},{-10.4961,-5.46484,2.89702},{-3.25391,0.669922,2.89702},{10.6816,-2.26367,-0.15098},{-3.48828,0.31543,-0.15098},{-2.97461,-2.35547,-0.15098}
};
lootPosSmall[] = {
{4.52734,1.46289,-3.19898},{2.90234,5.90918,2.89702},{5.46875,-0.703125,2.89702},{-4.46875,-0.686523,2.89702},{5.17383,-1.80566,-0.15098},{-7.44531,5.68359,-0.15098}
};
zedPos[] = {{-0.0898438,4.67773,-7.08873},{0.890625,-5.13965,-6.90238}};
};
class land_mbg_ger_estate_2: Office {
class land_mbg_ger_estate_2: Office { // 2 stucco red/orange light by door
//lootPos[]={{5.34766,-0.882813,-2.13187},{2.38281,-1.03418,-2.13187},{2.54688,-4.41602,-2.13187},{-7.71094,-2.73242,-2.13187},{-2.22656,5.91602,-2.13187},{-5.36328,4.46387,-2.13187}};
lootPos[] = {
{-0.847656,-5.23291,-2.13187},{-0.615234,3.95996,-1.55187},{8.30859,0.642578,-2.02187},{7.60547,6.6792,-2.13187},{6.38867,-5.31396,-2.13187},{-4.74023,3.71582,-2.13187}
};
lootPosSmall[] = {
{-6.3125,-6.48145,-1.43187},{-4.81445,-2.0293,-1.43187},{-3.47852,4.58789,-2.13187},{0.107422,3.45947,-1.55187},{4.23438,-1.42188,-1.83187},{4.97461,1.09229,-1.30187},{6.53711,-2.07227,-1.29187},{6.35547,-4.70117,-1.65187},{-7.55273,3.99268,-1.65187}
};
//zedPos[] = {{2.38281,-1.03418,-2.13187}};
zedPos[] = {{2.12695,-8.60791,-1.5208},{1.33984,9.18945,-1.25071}};
};

File diff suppressed because it is too large Load Diff

View File

@@ -47,4 +47,23 @@ class Land_ruin_01: ResidentialRuins {
//lootPos[] = {{-4.26,-0.18,-1.46},{3.41,0.27,-1.71},{3,3.43,-1.5},{0.62,-1.74,-1.36},{4.55,-2.17,-1.73},{-5.05,3.07,-1.73}};
lootPos[] = {{-4.31934,-0.115234,-1.45578},{3.41309,0.270508,-1.71365},{3.00293,3.42773,-1.55765},{0.62207,-1.73779,-1.49048}};
zedPos[] = {{3.41309,0.271484,-1.71381},{3.00293,3.42773,-1.49768},{-4.25708,-0.181641,-1.45575},{0.622559,-1.73828,-1.36047}};
};
};
// ALT-MAP Support
class Land_afbarabizna: ResidentialRuins {
lootPos[] = {{-1.29395,-2.97461,-4.22117}};
zedPos[] = {{-4.08594,2.62402,-4.22117},{4.95557,6.03857,-4.22117},{4.60156,5.50098,-0.168262},{-0.87793,-3.41406,-0.168266},{-0.065918,-1.86523,-0.512926}};
};
class Land_dum_zboreny: ResidentialRuins { //ruins
lootPos[] = {{3.74902,4.38379,-2.37675}};
zedPos[] = {{3.74902,4.38379,-2.37675},{-3.16797,3.21484,-2.37675},{-3.31787,3.25781,1.40384},{-5.35791,-1.67676,1.41383}};
};
class land_seb_residental: ResidentialRuins { //ruins
lootPos[] = {{3.74902,4.38379,-2.37675}};
zedPos[] = {{-4.70215,6.14648,-3.70411},{2.15479,8.1123,-3.7844},{-4.03955,6.47949,0.530872},{-4.41943,-7.93652,0.397972},{-1.40479,-7.99414,0.394527}};
};
//Land_House_L_9_EP1 in Residential.hpp
class Land_dum_zboreny_total: ResidentialRuins { //ruins
lootPos[] = {{-4.32422,-1.71094,-2.31456}};
};
//Land_dulni_bs in Residential.hpp
// ALT-MAP Support

View File

@@ -5,7 +5,7 @@ class CfgLoot
class Groups
{
//Not renamed yet
#define DZ_BP_VestPouch DZ_Czech_Vest_Puch
#define DZ_BP_VestPouch DZ_Czech_Vest_Pouch
#define DZ_BP_Patrol DZ_Patrol_Pack_EP1
#define DZ_BP_Assault DZ_Assault_Pack_EP1
#define DZ_BP_Survival DZ_TK_Assault_Pack_EP1
@@ -41,6 +41,7 @@ class CfgLoot
#include "Groups\Weapons.hpp"
#include "Groups\Clothes.hpp"
#include "Groups\Backpacks.hpp"
#include "Groups\Wrecks.hpp"
// Points of interest
#include "Groups\CrashSite.hpp"
@@ -56,6 +57,9 @@ class CfgLoot
#include "Groups\Zombies\Police.hpp"
#include "Groups\Zombies\Military.hpp"
#include "Groups\Zombies\Worker.hpp" //DZE
#include "Groups\Zombies\Suit.hpp" //DZE
#include "Groups\Zombies\Doctor.hpp" //DZE
#include "Groups\Zombies\Pilot.hpp" //DZE
#undef DZ_BP_VestPouch
#undef DZ_BP_Patrol
@@ -110,4 +114,4 @@ class CfgLoot
// Buildings
#include "CfgBuildingPos.hpp"
};
};
};

View File

@@ -90,6 +90,10 @@ AmmoMilitaryLow[] =
{Loot_MAGAZINE, 3, 20Rnd_B_765x17_Ball},
{Loot_MAGAZINE, 4, 20Rnd_762x51_DMR},
{Loot_MAGAZINE, 4, 20Rnd_762x51_FNFAL},
{Loot_MAGAZINE, 3, 20Rnd_762x51_B_SCAR},
{Loot_MAGAZINE, 4, 20Rnd_B_AA12_Pellets},
{Loot_MAGAZINE, 4, 20Rnd_B_AA12_74Slug},
// {Loot_MAGAZINE, 3, 20Rnd_B_AA12_HE},
//Handgrenades
{Loot_MAGAZINE, 5, SmokeShell},
@@ -105,6 +109,10 @@ AmmoMilitaryHigh[] =
{Loot_MAGAZINE, 10, 30Rnd_556x45_Stanag},
{Loot_MAGAZINE, 5, 30Rnd_556x45_G36},
{Loot_MAGAZINE, 5, 100Rnd_556x45_BetaCMag},
{Loot_MAGAZINE, 5, 20Rnd_762x51_B_SCAR},
{Loot_MAGAZINE, 5, 20Rnd_B_AA12_Pellets},
{Loot_MAGAZINE, 5, 20Rnd_B_AA12_74Slug},
// {Loot_MAGAZINE, 5, 20Rnd_B_AA12_HE},
//Battle rifles
{Loot_MAGAZINE, 5, 20Rnd_762x51_DMR},
@@ -234,6 +242,7 @@ AmmoEU[] =
//Battle rifles
{Loot_MAGAZINE, 4, 20Rnd_762x51_FNFAL},
{Loot_MAGAZINE, 5, 20Rnd_762x51_B_SCAR},
//Machine guns
{Loot_MAGAZINE, 2, 100Rnd_556x45_M249},
@@ -318,7 +327,8 @@ assaultrifleammo[] = {
{Loot_MAGAZINE, 8, 30Rnd_556x45_Stanag},
{Loot_MAGAZINE, 10, 30Rnd_545x39_AK},
{Loot_MAGAZINE, 5, 30Rnd_556x45_StanagSD},
{Loot_MAGAZINE, 8, 20Rnd_762x51_FNFAL}
{Loot_MAGAZINE, 8, 20Rnd_762x51_FNFAL},
{Loot_MAGAZINE, 6, 20Rnd_762x51_B_SCAR}
};
machinegunammo[] = {
{Loot_MAGAZINE, 4, 100Rnd_556x45_BetaCMag},
@@ -337,4 +347,4 @@ machinegunammoexpl[] = {
{Loot_MAGAZINE, 4, 200Rnd_556x45_M249},
{Loot_MAGAZINE, 1, MAAWS_HEAT},
{Loot_MAGAZINE, 2, PipeBomb}
};
};

View File

@@ -49,6 +49,7 @@ AmmoBoxEU1[] =
AmmoBoxEU2[] =
{
{Loot_MAGAZINE, 9, 20Rnd_762x51_FNFAL},
{Loot_MAGAZINE, 5, 20Rnd_762x51_B_SCAR},
{Loot_MAGAZINE, 1, 100Rnd_762x51_M240}
};
@@ -101,4 +102,4 @@ AmmoBoxUS4[] =
{Loot_MAGAZINE, 1, SmokeShellRed},
{Loot_MAGAZINE, 1, SmokeShellGreen},
{Loot_MAGAZINE, 0.3, PipeBomb}
};
};

View File

@@ -26,5 +26,7 @@ AttachmentsWest[] =
{Loot_MAGAZINE, 2, Attachment_M203},
{Loot_MAGAZINE, 1, Attachment_Sup556},
{Loot_MAGAZINE, 3, Attachment_Sup9},
{Loot_MAGAZINE, 3, Attachment_SA58RIS}
};
{Loot_MAGAZINE, 3, Attachment_SA58RIS},
{Loot_MAGAZINE, 3, Attachment_MFL},
{Loot_MAGAZINE, 3, Attachment_MFL_Pist}
};

View File

@@ -19,12 +19,12 @@ Castle[] =
//Items
{Loot_MAGAZINE, 4, ItemSandbag},
{Loot_MAGAZINE, 1, equip_Crossbow_Kit},
// {Loot_MAGAZINE, 1, equip_Crossbow_Kit}, //not functional yet
{Loot_MAGAZINE, 3, equip_rope},
{Loot_MAGAZINE, 4, PartWoodPile},
{Loot_MAGAZINE, 1, ItemPadlock},
{Loot_MAGAZINE, 2, ItemComboLock},
{Loot_MAGAZINE, 1, ItemTent},
{Loot_MAGAZINE, 1, ItemCamoNet},
{Loot_MAGAZINE, 1, forest_net_kit},
//Groups
{Loot_GROUP, 5, AmmoCivilian},

View File

@@ -11,7 +11,7 @@ Church[] =
{Loot_GROUP, 4, backpacks},
//Items
{Loot_MAGAZINE, 1, equip_Crossbow_Kit},
// {Loot_MAGAZINE, 1, equip_Crossbow_Kit}, //not functional yet
{Loot_MAGAZINE, 4, ItemBookBible},
{Loot_MAGAZINE, 2, equip_rag},

View File

@@ -1,13 +1,14 @@
Construction[] =
{
{Loot_MAGAZINE, 9, ItemLog},
{Loot_MAGAZINE, 9, ItemLog}, // Used for crafting and vanilla buildables
{Loot_MAGAZINE, 9, ItemPlank},
{Loot_MAGAZINE, 5, ItemStone},
{Loot_MAGAZINE, 5, ItemStone}, // Used for crafting and vanilla buildables
{Loot_MAGAZINE, 8, equip_nails},
{Loot_MAGAZINE, 9, equip_metal_sheet_rusted},
// {Loot_MAGAZINE, 3, ItemScrews},
// {Loot_MAGAZINE, 9, equip_metal_sheet_rusted},
{Loot_MAGAZINE, 9, equip_metal_sheet},
{Loot_MAGAZINE, 1, equip_lever},
{Loot_MAGAZINE, 1, ItemPadlock},
{Loot_MAGAZINE, 1, ItemComboLock},
{Loot_WEAPON, 1, ItemPickaxe},
{Loot_WEAPON, 2, ItemPickaxeBroken},
@@ -25,8 +26,7 @@ Construction[] =
{Loot_MAGAZINE, 1, equip_brick},
{Loot_MAGAZINE, 3, equip_duct_tape},
{Loot_MAGAZINE, 2, equip_hose},
// {Loot_MAGAZINE, 3, ItemScrews},
{Loot_MAGAZINE, 1, equip_scrapelectronics},
// {Loot_MAGAZINE, 1, equip_scrapelectronics},
{Loot_MAGAZINE, 2, equip_1inch_metal_pipe},
{Loot_MAGAZINE, 2, equip_2inch_metal_pipe},
{Loot_MAGAZINE, 1, MortarBucket},

View File

@@ -1,27 +1,30 @@
Hangar[] =
{
{Loot_GROUP, 10, MilitarySpecial},
{Loot_GROUP, 8, MilitarySpecial},
//Tools
{Loot_WEAPON, 2, ItemEtool},
{Loot_WEAPON, 4, ItemEtool},
//Items
{Loot_MAGAZINE, 2, PartVRotor},
{Loot_MAGAZINE, 2, ItemSandbag},
{Loot_MAGAZINE, 2, ItemWire},
{Loot_MAGAZINE, 2, ItemTankTrap},
{Loot_MAGAZINE, 1, PartEngine},
{Loot_MAGAZINE, 4, PartGeneric},
{Loot_MAGAZINE, 3, PartGlass},
{Loot_MAGAZINE, 3, ItemSandbag},
{Loot_MAGAZINE, 3, ItemWire},
{Loot_MAGAZINE, 3, ItemTankTrap},
//Groups
{Loot_GROUP, 20, Trash},
{Loot_GROUP, 20, Consumable},
{Loot_GROUP, 10, Generic},
{Loot_GROUP, 5, AttachmentsGeneric}
{Loot_PILE, 6, Trash, 1, 2},
{Loot_PILE, 3, Consumable, 1, 2},
{Loot_GROUP, 6, Generic},
{Loot_GROUP, 3, AttachmentsGeneric}
};
HangarSmall[] =
{
{Loot_TOOL, 2, Binocular},
{Loot_WEAPON, 2, NVGoggles},
{Loot_GROUP, 10, pistols},
{Loot_GROUP, 8, pistols},
{Loot_TOOL, 2, Binocular_Vector},
{Loot_TOOL, 3, ItemKnife},
{Loot_TOOL, 1.3, ItemGPS},
@@ -31,12 +34,12 @@ HangarSmall[] =
{Loot_MAGAZINE, 0.5, PipeBomb},
{Loot_MAGAZINE, 0.5, MAAWS_HEAT},
{Loot_MAGAZINE, 2, 100Rnd_762x54_PK},
{Loot_GROUP, 15, AmmoMilitaryLow},
{Loot_GROUP, 10, AmmoMilitaryHigh},
{Loot_GROUP, 8, AmmoMilitaryLow},
{Loot_GROUP, 8, AmmoMilitaryHigh},
{Loot_GROUP, 8, AttachmentsEast},
{Loot_GROUP, 6, AttachmentsWest},
{Loot_GROUP, 10, MedicalLow},
{Loot_GROUP, 10, Trash},
{Loot_GROUP, 10, Consumable},
{Loot_GROUP, 8, MedicalLow},
{Loot_GROUP, 8, Trash},
{Loot_GROUP, 8, Consumable},
{Loot_GROUP, 8, GenericSmall}
};
};

View File

@@ -32,8 +32,8 @@ Hunting[] =
{Loot_MAGAZINE, 2, ItemBandage},
{Loot_MAGAZINE, 1, ItemDomeTent},
{Loot_MAGAZINE, 3, TrapBear},
{Loot_MAGAZINE, 1, 12Rnd_Quiver_Wood},
{Loot_MAGAZINE, 1, 1Rnd_Bolt_Tranquilizer},
{Loot_MAGAZINE, 3, 12Rnd_Quiver_Wood},
{Loot_MAGAZINE, 2, 1Rnd_Bolt_Tranquilizer},
{Loot_MAGAZINE, 1, 1Rnd_Bolt_Explosive},
{Loot_PILE, 10, AmmoCivilian, 1, 3},

View File

@@ -3,7 +3,6 @@ Industrial[] =
//Tools
{Loot_WEAPON, 3, ItemKnife},
{Loot_WEAPON, 6, ItemToolbox},
// {Loot_WEAPON, 2, ItemFlashlight},
// {Loot_WEAPON, 8, ItemCrowbar},
{Loot_VEHICLE, 8, WeaponHolder_ItemCrowbar},
// {Loot_WEAPON, 5, ItemHatchet},
@@ -16,20 +15,20 @@ Industrial[] =
{Loot_WEAPON, 1, ItemKeyKit},
//Items
{Loot_MAGAZINE, 6, ItemSandbag},
// {Loot_MAGAZINE, 6, ItemSandbag},
{Loot_MAGAZINE, 4, ItemJerryCan},
{Loot_MAGAZINE, 1, ItemWire},
{Loot_MAGAZINE, 4, ItemTankTrap},
// {Loot_MAGAZINE, 1, ItemWire},
// {Loot_MAGAZINE, 4, ItemTankTrap},
{Loot_MAGAZINE, 1, equip_brick},
{Loot_MAGAZINE, 3, equip_duct_tape},
{Loot_MAGAZINE, 2, equip_hose},
{Loot_MAGAZINE, 6, equip_nails},
// {Loot_MAGAZINE, 3, ItemScrews},
{Loot_MAGAZINE, 1, equip_scrapelectronics},
// {Loot_MAGAZINE, 1, equip_scrapelectronics},
{Loot_MAGAZINE, 2, equip_metal_sheet},
{Loot_MAGAZINE, 2, equip_1inch_metal_pipe},
{Loot_MAGAZINE, 2, equip_2inch_metal_pipe},
{Loot_MAGAZINE, 12, ItemPlank},
{Loot_MAGAZINE, 8, ItemPlank},
{Loot_MAGAZINE, 2, MortarBucket},
{Loot_MAGAZINE, 3, CinderBlocks},
{Loot_MAGAZINE, 3, ItemFuelBarrelEmpty},
@@ -38,10 +37,9 @@ Industrial[] =
//Other
{Loot_GROUP, 15, Parts},
// {Loot_GROUP, 7, Military},
{Loot_PILE, 10, Trash, 1, 3},
{Loot_PILE, 4, Consumable, 1, 2},
{Loot_GROUP, 8, Generic}
{Loot_PILE, 3, Consumable, 1, 2},
{Loot_GROUP, 5, Generic}
};
IndustrialSmall[] =
@@ -51,6 +49,6 @@ IndustrialSmall[] =
{Loot_MAGAZINE, 2, equip_duct_tape},
{Loot_MAGAZINE, 6, equip_nails},
{Loot_GROUP, 10, Trash},
{Loot_GROUP, 4, Consumable},
{Loot_GROUP, 8, GenericSmall}
{Loot_GROUP, 3, Consumable},
{Loot_GROUP, 5, GenericSmall}
};

View File

@@ -28,26 +28,26 @@ Military[] =
{Loot_GROUP, 1, specialclothes},
//Containers
{Loot_CONTAINER, 1.3, DZ_AmmoBoxRU, AmmoBoxRU1, 10, 20}, //545x39 AK74, RPK74
{Loot_CONTAINER, 0.7, DZ_AmmoBoxRU, AmmoBoxRU2, 10, 20}, //762x39 AK47
{Loot_CONTAINER, 0.5, DZ_AmmoBoxRU, AmmoBoxRU3, 5, 10}, //762x54r SVD, PKM
{Loot_CONTAINER, 1.5, DZ_AmmoBoxUS, AmmoBoxEU1, 10, 20}, //556x45 G36, M249
{Loot_CONTAINER, 1, DZ_AmmoBoxUS, AmmoBoxEU2, 5, 10}, //762x51 FAL, M240
{Loot_CONTAINER, 1.5, DZ_AmmoBoxUS, AmmoBoxUS1, 10, 20}, //556x45 STANAG, M249
{Loot_CONTAINER, 1, DZ_AmmoBoxUS, AmmoBoxUS2, 5, 10}, //762x51 DMR, M240
{Loot_CONTAINER, 1.1, DZ_AmmoBoxRU, AmmoBoxRU1, 10, 20}, //545x39 AK74, RPK74
{Loot_CONTAINER, 0.5, DZ_AmmoBoxRU, AmmoBoxRU2, 10, 20}, //762x39 AK47
{Loot_CONTAINER, 0.2, DZ_AmmoBoxRU, AmmoBoxRU3, 5, 10}, //762x54r SVD, PKM
{Loot_CONTAINER, 1.2, DZ_AmmoBoxUS, AmmoBoxEU1, 10, 20}, //556x45 G36, M249
{Loot_CONTAINER, 0.8, DZ_AmmoBoxUS, AmmoBoxEU2, 5, 10}, //762x51 FAL, M240
{Loot_CONTAINER, 1.2, DZ_AmmoBoxUS, AmmoBoxUS1, 10, 20}, //556x45 STANAG, M249
{Loot_CONTAINER, 0.8, DZ_AmmoBoxUS, AmmoBoxUS2, 5, 10}, //762x51 DMR, M240
// {Loot_CONTAINER, 2, DZ_MedBox, MedicalBox, 10, 20},
//Other
{Loot_MAGAZINE, 5, FoodMRE},
{Loot_MAGAZINE, 4, ItemSandbag},
// {Loot_MAGAZINE, 4, ItemSandbag},
{Loot_PILE, 15, AmmoMilitaryLow, 1, 3},
{Loot_GROUP, 4, AmmoMilitaryHigh},
{Loot_GROUP, 4, AttachmentsGeneric},
{Loot_GROUP, 8, AttachmentsEast},
{Loot_PILE, 10, MedicalLow, 1, 2},
{Loot_PILE, 15, Trash, 1, 2},
{Loot_PILE, 10, Consumable, 1, 2},
{Loot_GROUP, 10, Generic}
{Loot_PILE, 10, Consumable, 1, 2}
// {Loot_GROUP, 10, Generic}
};
MilitarySmall[] =
@@ -58,15 +58,15 @@ MilitarySmall[] =
{Loot_TOOL, 3, ItemMap},
{Loot_TOOL, 3, ItemKnife},
{Loot_GROUP, 2, militaryclothes},
{Loot_GROUP, 1, specialclothes},
{Loot_GROUP, 2, specialclothes},
{Loot_GROUP, 15, AmmoMilitaryLow},
{Loot_GROUP, 4, AmmoMilitaryHigh},
{Loot_GROUP, 4, AttachmentsGeneric},
{Loot_GROUP, 8, AttachmentsEast},
{Loot_GROUP, 10, MedicalLow},
{Loot_GROUP, 15, Trash},
{Loot_GROUP, 10, Consumable},
{Loot_GROUP, 10, GenericSmall}
{Loot_GROUP, 10, Consumable}
// {Loot_GROUP, 10, GenericSmall}
};
MilitarySpecial[] =
@@ -97,17 +97,17 @@ MilitarySpecial[] =
{Loot_GROUP, 2, specialclothes},
//Containers
{Loot_CONTAINER, 2.5, DZ_AmmoBoxRU, AmmoBoxRU1, 10, 20}, //5.45x39
{Loot_CONTAINER, 2, DZ_AmmoBoxUS, AmmoBoxUS1, 7, 14}, //5.56x45
{Loot_CONTAINER, 2, DZ_AmmoBoxRU, AmmoBoxCZ1, 7, 14}, //7.62x39
{Loot_CONTAINER, 1, DZ_AmmoBoxRU, AmmoBoxCZ2, 2, 5}, //7.62x54R
{Loot_CONTAINER, 2.2, DZ_AmmoBoxRU, AmmoBoxRU1, 10, 20}, //5.45x39
{Loot_CONTAINER, 1.8, DZ_AmmoBoxUS, AmmoBoxUS1, 7, 14}, //5.56x45
{Loot_CONTAINER, 1.8, DZ_AmmoBoxRU, AmmoBoxCZ1, 7, 14}, //7.62x39
{Loot_CONTAINER, 0.8, DZ_AmmoBoxRU, AmmoBoxCZ2, 2, 5}, //7.62x54R
// {Loot_CONTAINER, 0.5, DZ_AmmoBoxRU, AmmoBoxRU3, 3, 7}, //7.62x54R
{Loot_CONTAINER, 0.5, DZ_ExplosivesBoxRU, AmmoBoxRU4, 5, 15}, //GP-25
{Loot_CONTAINER, 0.5, DZ_ExplosivesBoxRU, AmmoBoxRU5, 3, 7}, //Grenades
{Loot_CONTAINER, 0.2, DZ_ExplosiveBoxRU, AmmoBoxRU4, 5, 15}, //GP-25
{Loot_CONTAINER, 0.2, DZ_ExplosiveBoxRU, AmmoBoxRU5, 3, 7}, //Grenades
//Other
{Loot_MAGAZINE, 3, FoodMRE},
{Loot_MAGAZINE, 2, ItemSandbag},
// {Loot_MAGAZINE, 2, ItemSandbag},
{Loot_MAGAZINE, 0.5, PipeBomb},
{Loot_MAGAZINE, 0.5, MAAWS_HEAT},
{Loot_MAGAZINE, 2, 100Rnd_762x54_PK},
@@ -118,8 +118,8 @@ MilitarySpecial[] =
{Loot_GROUP, 6, AttachmentsWest},
{Loot_PILE, 10, MedicalLow, 1, 2},
{Loot_PILE, 10, Trash, 1, 2},
{Loot_PILE, 10, Consumable, 1, 2},
{Loot_GROUP, 8, Generic}
{Loot_PILE, 10, Consumable, 1, 2}
// {Loot_GROUP, 8, Generic}
};
MilitarySpecialSmall[] =
@@ -143,8 +143,8 @@ MilitarySpecialSmall[] =
{Loot_GROUP, 6, AttachmentsWest},
{Loot_GROUP, 10, MedicalLow},
{Loot_GROUP, 10, Trash},
{Loot_GROUP, 10, Consumable},
{Loot_GROUP, 8, GenericSmall}
{Loot_GROUP, 10, Consumable}
// {Loot_GROUP, 8, GenericSmall}
};
MilitaryIndustrial[] = {//DZE ADDED
@@ -153,9 +153,15 @@ MilitaryIndustrial[] = {//DZE ADDED
{Loot_MAGAZINE, 3, ItemFuelBarrelEmpty},
{Loot_MAGAZINE, 2, ItemGenerator},
{Loot_MAGAZINE, 2, fuel_pump_kit},
{Loot_GROUP, 15, Military}
{Loot_MAGAZINE, 3, ItemWire},
{Loot_MAGAZINE, 3, ItemTankTrap},
{Loot_MAGAZINE, 6, ItemSandbag},
{Loot_MAGAZINE, 1, PartEngine},
{Loot_GROUP, 15, Military},
{Loot_GROUP, 4, Generic}
};
MilitaryIndustrialSmall[] = {
{Loot_GROUP, 15, MilitarySmall}
{Loot_GROUP, 15, MilitarySmall},
{Loot_GROUP, 8, GenericSmall}
};

View File

@@ -15,17 +15,14 @@ Residential[] =
{Loot_WEAPON, 6, ItemFlashlight},
{Loot_WEAPON, 5, ItemKnife},
// {Loot_WEAPON, 3, ItemShovel},
{Loot_WEAPON, 1, ItemDIY_wood}, //DUPLICATE OF AN EPOCH BUILDABLE?????
{Loot_WEAPON, 1, ItemDIY_Gate}, //DUPLICATE OF AN EPOCH BUILDABLE?????
// {Loot_WEAPON, 1, ItemDIY_wood}, //DUPLICATE OF AN EPOCH BUILDABLE?????
// {Loot_WEAPON, 1, ItemDIY_Gate}, //DUPLICATE OF AN EPOCH BUILDABLE?????
{Loot_WEAPON, 1, Binocular},
//Backpacks
{Loot_GROUP, 4, backpacks},
//Other
{Loot_MAGAZINE, 0.5, ItemPadlock},
{Loot_MAGAZINE, 1, PartPlywoodPack},
{Loot_PILE, 6, AmmoCivilian, 1, 2},
{Loot_PILE, 10, Trash, 1, 3},
{Loot_PILE, 10, Consumable, 1, 2},
@@ -45,7 +42,7 @@ ResidentialSmall[] =
{Loot_WEAPON, 5, ItemCompass},
{Loot_WEAPON, 5, ItemKnife},
{Loot_WEAPON, 1, Binocular},
{Loot_MAGAZINE, 0.5, ItemPadlock},
{Loot_MAGAZINE, 0.5, ItemComboLock},
{Loot_GROUP, 6, AmmoCivilian},
{Loot_GROUP, 10, Trash},
{Loot_GROUP, 10, Consumable},

View File

@@ -1,8 +1,8 @@
ResidentialRuins[] =
{
{Loot_MAGAZINE, 10, ItemLog},
{Loot_MAGAZINE, 10, ItemStone},
{Loot_MAGAZINE, 7, equip_metal_sheet_rusted},
{Loot_MAGAZINE, 10, ItemLog}, // Used for crafting and vanilla buildables
{Loot_MAGAZINE, 10, ItemStone}, // Used for crafting and vanilla buildables
// {Loot_MAGAZINE, 7, equip_metal_sheet_rusted},
{Loot_GROUP, 4, Trash},
{Loot_GROUP, 3, AttachmentsGeneric}
};

View File

@@ -7,8 +7,8 @@ Supermarket[] =
{Loot_WEAPON, 5, ItemFlashlight},
{Loot_WEAPON, 2, ItemKnife},
{Loot_WEAPON, 3, Binocular},
{Loot_WEAPON, 2, ItemDIY_wood},
{Loot_WEAPON, 1, ItemDIY_Gate},
// {Loot_WEAPON, 2, ItemDIY_wood},
// {Loot_WEAPON, 1, ItemDIY_Gate},
//Pistols
{Loot_GROUP, 10, pistols},
@@ -28,8 +28,8 @@ Supermarket[] =
{Loot_MAGAZINE, 1, ItemMixOil},
{Loot_MAGAZINE, 1, PartPlywoodPack},
//{Loot_MAGAZINE, 0.5, ItemDomeTent}, //IN TENTS GROUP
{Loot_MAGAZINE, 1, ItemCamoNet},
{Loot_MAGAZINE, 0.5, ItemPadlock},
{Loot_MAGAZINE, 1, forest_net_kit},
{Loot_MAGAZINE, 0.1, ItemComboLock},
{Loot_MAGAZINE, 3, ItemBandage},
{Loot_MAGAZINE, 2, ItemPainkiller},
{Loot_MAGAZINE, 2, ItemAntibacterialWipe},
@@ -55,7 +55,7 @@ SupermarketSmall[] =
{Loot_WEAPON, 3, Binocular},
{Loot_GROUP, 10, pistols},
{Loot_MAGAZINE, 1, ItemMixOil},
{Loot_MAGAZINE, 0.5, ItemPadlock},
{Loot_MAGAZINE, 0.1, ItemComboLock},
{Loot_MAGAZINE, 3, ItemBandage},
{Loot_MAGAZINE, 2, ItemPainkiller},
{Loot_MAGAZINE, 2, ItemAntibacterialWipe},

View File

@@ -11,7 +11,17 @@ clothes[] = {
{Loot_MAGAZINE, 2, Skin_SurvivorWpink_DZ},
{Loot_MAGAZINE, 2, Skin_SurvivorWurban_DZ},
{Loot_MAGAZINE, 1, Skin_INS_Bardak_DZ},
{Loot_MAGAZINE, 1, Skin_INS_Worker2_DZ}
{Loot_MAGAZINE, 1, Skin_INS_Worker2_DZ},
{Loot_MAGAZINE, 2, Skin_INS_Lopotev_DZ},
{Loot_MAGAZINE, 2, Skin_Doctor_DZ},
{Loot_MAGAZINE, 2, Skin_Assistant_DZ},
{Loot_MAGAZINE, 2, Skin_Worker1_DZ},
{Loot_MAGAZINE, 2, Skin_Worker3_DZ},
{Loot_MAGAZINE, 2, Skin_Worker4_DZ},
{Loot_MAGAZINE, 2, Skin_TK_CIV_Takistani01_EP1_DZ},
{Loot_MAGAZINE, 2, Skin_TK_CIV_Takistani03_EP1_DZ},
{Loot_MAGAZINE, 2, Skin_TK_CIV_Takistani04_EP1_DZ},
{Loot_MAGAZINE, 2, Skin_TK_CIV_Takistani06_EP1_DZ}
};
militaryclothes[] = {
{Loot_MAGAZINE, 3, Skin_Camo1_DZ},
@@ -28,7 +38,21 @@ militaryclothes[] = {
{Loot_MAGAZINE, 1, Skin_CZ_Soldier_Sniper_EP1_DZ},
{Loot_MAGAZINE, 3, Skin_Graves_Light_DZ},
{Loot_MAGAZINE, 2, Skin_INS_Soldier_AR_DZ},
{Loot_MAGAZINE, 2, Skin_INS_Soldier_CO_DZ}
{Loot_MAGAZINE, 2, Skin_INS_Soldier_CO_DZ},
{Loot_MAGAZINE, 2, Skin_USMC_Soldier_Officer_DZ},
{Loot_MAGAZINE, 2, Skin_USMC_Soldier_MG_DZ},
{Loot_MAGAZINE, 2, Skin_USMC_Soldier_Pilot_DZ},
{Loot_MAGAZINE, 2, Skin_FR_TL_DZ},
{Loot_MAGAZINE, 2, Skin_FR_R_DZ},
{Loot_MAGAZINE, 2, Skin_FR_Sapper_DZ},
{Loot_MAGAZINE, 2, Skin_FR_Marksman_DZ},
{Loot_MAGAZINE, 2, Skin_FR_Assault_R_DZ},
{Loot_MAGAZINE, 2, Skin_US_Soldier_EP1_DZ},
{Loot_MAGAZINE, 2, Skin_UN_CDF_Soldier_Guard_EP1_DZ},
{Loot_MAGAZINE, 2, Skin_UN_CDF_Soldier_EP1_DZ},
{Loot_MAGAZINE, 2, Skin_GER_Soldier_TL_EP1_DZ},
{Loot_MAGAZINE, 2, Skin_BAF_Soldier_Officer_MTP_DZ},
{Loot_MAGAZINE, 2, Skin_BAF_Soldier_N_MTP_DZ}
};
specialclothes[] = {
{Loot_MAGAZINE, 3, Skin_Ins_Soldier_GL_DZ},
@@ -48,7 +72,18 @@ specialclothes[] = {
{Loot_MAGAZINE, 2, Skin_GUE_Soldier_2_DZ},
{Loot_MAGAZINE, 1, Skin_TK_Special_Forces_MG_EP1_DZ},
{Loot_MAGAZINE, 1, Skin_TK_Soldier_Sniper_EP1_DZ},
{Loot_MAGAZINE, 1, Skin_TK_Commander_EP1_DZ},
{Loot_MAGAZINE, 1, Skin_RU_Soldier_Crew_DZ},
{Loot_MAGAZINE, 1, Skin_INS_Lopotev_DZ}
{Loot_MAGAZINE, 2, Skin_TK_Commander_EP1_DZ},
{Loot_MAGAZINE, 2, Skin_RU_Soldier_Crew_DZ},
{Loot_MAGAZINE, 2, Skin_TK_INS_Soldier_AR_EP1_DZ},
{Loot_MAGAZINE, 2, Skin_TK_GUE_Soldier_EP1_DZ},
{Loot_MAGAZINE, 2, Skin_CZ_Soldier_SL_DES_EP1_DZ},
{Loot_MAGAZINE, 2, Skin_RU_Soldier_DZ},
{Loot_MAGAZINE, 2, Skin_RU_Soldier_Officer_DZ},
{Loot_MAGAZINE, 2, Skin_RUS_Soldier1_DZ},
{Loot_MAGAZINE, 2, Skin_RUS_Commander_DZ},
{Loot_MAGAZINE, 2, Skin_MVD_Soldier_DZ},
{Loot_MAGAZINE, 2, Skin_Ins_Soldier_2_DZ},
{Loot_MAGAZINE, 2, Skin_Ins_Commander_DZ},
{Loot_MAGAZINE, 2, Skin_Ins_Soldier_Crew_DZ},
{Loot_MAGAZINE, 2, Skin_CDF_Soldier_DZ}
};

View File

@@ -34,14 +34,14 @@ CrashSiteRU[] =
{Loot_GROUP, 2, specialclothes},
//Containers
{Loot_CONTAINER, 3, DZ_MedBox, MedicalBox, 10, 20},
{Loot_CONTAINER, 1, DZ_MedBox, MedicalBox, 10, 20},
//{Loot_CONTAINER, 2.3, DZ_AmmoBoxRU, AmmoBoxRU1, 10, 20}, //545x39 AK74, RPK74
//{Loot_CONTAINER, 1.7, DZ_AmmoBoxRU, AmmoBoxRU2, 10, 20}, //762x39 AK47
//{Loot_CONTAINER, 1, DZ_AmmoBoxRU, AmmoBoxRU3, 5, 10}, //762x54r SVD, PKM
//Other
{Loot_MAGAZINE, 1, PartVRotor},
{Loot_MAGAZINE, 2, ItemCamonet},
{Loot_MAGAZINE, 2, forest_large_net_kit},
{Loot_GROUP, 7, AttachmentsEast},
{Loot_GROUP, 3, AttachmentsWest},
@@ -100,7 +100,7 @@ CrashSiteUS[] =
//Other
{Loot_MAGAZINE, 1, PartVRotor},
{Loot_MAGAZINE, 2, ItemCamonet},
{Loot_MAGAZINE, 2, forest_large_net_kit},
{Loot_GROUP, 10, AttachmentsWest},
//Piles
@@ -158,7 +158,7 @@ CrashSiteEU[] =
//Other
{Loot_MAGAZINE, 1, PartVRotor},
{Loot_MAGAZINE, 2, ItemCamonet},
{Loot_MAGAZINE, 2, desert_net_kit},
{Loot_GROUP, 10, AttachmentsWest},
//Piles
@@ -217,7 +217,7 @@ CrashSiteUN[] =
//Other
{Loot_MAGAZINE, 1, PartVRotor},
{Loot_MAGAZINE, 2, ItemCamonet},
{Loot_MAGAZINE, 2, desert_large_net_kit},
{Loot_GROUP, 3, AttachmentsEast},
{Loot_GROUP, 3, AttachmentsWest},

View File

@@ -10,6 +10,11 @@ Generic[] =
//DZE
{Loot_MAGAZINE, 1, 5Rnd_17HMR},
{Loot_MAGAZINE, 2, 10Rnd_303British},
{Loot_MAGAZINE, 2, 15Rnd_W1866_Slug},
{Loot_MAGAZINE, 2, 5Rnd_762x54_Mosin},
{Loot_MAGAZINE, 2, 8Rnd_9x18_Makarov},
{Loot_MAGAZINE, 2, 7Rnd_45ACP_1911},
{Loot_MAGAZINE, 2, 6Rnd_45ACP},
// {Loot_MAGAZINE, 1, ItemBookBible},
@@ -18,7 +23,7 @@ Generic[] =
{Loot_MAGAZINE, 1, equip_duct_tape},
{Loot_MAGAZINE, 1, equip_rope},
{Loot_MAGAZINE, 1, equip_herb_box},
{Loot_MAGAZINE, 1, equip_pvc_box},
// {Loot_MAGAZINE, 1, equip_pvc_box},
{Loot_MAGAZINE, 1, equip_lever},
{Loot_MAGAZINE, 1, equip_rag},
{Loot_MAGAZINE, 1, equip_nails},
@@ -40,8 +45,13 @@ GenericSmall[] =
{Loot_MAGAZINE, 1, HandChemRed},
{Loot_MAGAZINE, 1, 5Rnd_17HMR},
{Loot_MAGAZINE, 2, 10Rnd_303British},
{Loot_MAGAZINE, 2, 15Rnd_W1866_Slug},
{Loot_MAGAZINE, 1, 5Rnd_762x54_Mosin},
{Loot_MAGAZINE, 2, 8Rnd_9x18_Makarov},
{Loot_MAGAZINE, 2, 7Rnd_45ACP_1911},
{Loot_MAGAZINE, 1, 6Rnd_45ACP},
{Loot_MAGAZINE, 1, equip_string},
{Loot_MAGAZINE, 1, equip_duct_tape},
{Loot_MAGAZINE, 1, equip_rope},
{Loot_MAGAZINE, 1, equip_nails}
};
};

View File

@@ -52,6 +52,6 @@ Bloodbags[] =
{Loot_MAGAZINE, 2, ItemBloodbagABPos},
{Loot_MAGAZINE, 2, ItemBloodbagABNeg},
{Loot_MAGAZINE, 3, ItemBloodbagOPos},
{Loot_MAGAZINE, 2, ItemBloodbagONeg}
{Loot_MAGAZINE, 2, ItemBloodbagOPos},
{Loot_MAGAZINE, 1, ItemBloodbagONeg}
};

View File

@@ -55,7 +55,9 @@ sniperrifles[] = {
{Loot_WEAPON, 0.5, VSS_vintorez},
{Loot_WEAPON, 0.6, SCAR_H_LNG_Sniper_SD},
{Loot_WEAPON, 1, M14_DZ}, //M14_EP1
{Loot_WEAPON, 1, DMR_DZ} //DMR
{Loot_WEAPON, 0.7, DMR_DZ}, //DMR
{Loot_WEAPON, 0.8, SCAR_H_LNG_Sniper}, //Mk17 Sniper
{Loot_WEAPON, 0.6, M110_NVG_EP1} //M110 NVG
};
submachinegun[] = {
{Loot_WEAPON, 2, PDW_DZ}, //UZI_EP1
@@ -76,9 +78,9 @@ assaultrifles[] = {
{Loot_WEAPON, 0.1, FN_FAL_ANPVS4_DZE}, //FNFAL_ANPVS4_DZ is NV only _DZE is toggleable
{Loot_WEAPON, 0.5, G36A_Camo_DZ}, //G36A_camo
{Loot_WEAPON, 0.5, G36C_DZ}, //G36C
{Loot_WEAPON, 0.5, G36C_camo},
{Loot_WEAPON, 0.4, G36C_camo},
{Loot_WEAPON, 0.5, G36K_Camo_DZ}, //G36K_camo
{Loot_WEAPON, 0.3, G36_C_SD_camo},
{Loot_WEAPON, 0.2, G36_C_SD_camo},
{Loot_WEAPON, 0.5, M16A2_DZ}, //M16A2
//{Loot_WEAPON, 0.2, M16A2_GL_DZ}, //M16A2GL //added to attachments system
{Loot_WEAPON, 0.1, M16A4_ACOG_DZ}, //M16A4_ACG (has slightly different scope)
@@ -86,20 +88,33 @@ assaultrifles[] = {
{Loot_WEAPON, 0.4, M4A1_CCO_DZ}, //M4A1_Aim
{Loot_WEAPON, 0.1, M4A1_AIM_SD_camo},
{Loot_WEAPON, 0.1, M4A1_HWS_GL_camo},
{Loot_WEAPON, 0.4, M4A3_CCO_EP1},
{Loot_WEAPON, 0.3, M4A3_CCO_EP1},
{Loot_WEAPON, 0.4, SA58_DZ}, //Sa58P_EP1 (identical), Sa58V_EP1 (different stock)
{Loot_WEAPON, 0.3, SA58_CCO_DZ}, //No camo, no grip handle
{Loot_WEAPON, 0.3, Sa58V_CCO_EP1}, //Camo with grip handle
{Loot_WEAPON, 0.2, Sa58V_CCO_EP1}, //Camo with grip handle
{Loot_WEAPON, 0.3, SA58_ACOG_DZ}, //No camo, no grip handle
{Loot_WEAPON, 0.3, Sa58V_RCO_EP1}, // Camo with grip handle
{Loot_WEAPON, 0.2, Sa58V_RCO_EP1}, // Camo with grip handle
{Loot_WEAPON, 0.3, SA58_RIS_DZ}, //SA58_DZ with different rail
{Loot_WEAPON, 0.4, m8_compact},
{Loot_WEAPON, 0.3, m8_sharpshooter},
{Loot_WEAPON, 0.5, m8_holo_sd},
{Loot_WEAPON, 0.3, m8_holo_sd},
{Loot_WEAPON, 0.5, m8_carbine},
{Loot_WEAPON, 0.2, BAF_L85A2_RIS_SUSAT},
{Loot_WEAPON, 0.1, L85_Holo_DZ}, //BAF_L85A2_RIS_Holo
{Loot_WEAPON, 0.1, M4A1_HWS_GL_SD_Camo}
{Loot_WEAPON, 0.3, L85_Holo_DZ}, //BAF_L85A2_RIS_Holo
{Loot_WEAPON, 0.1, M4A1_HWS_GL_SD_Camo},
{Loot_WEAPON, 0.2, BAF_L85A2_RIS_ACOG}, //L85A2 ACOG
//Mk16
{Loot_WEAPON, 0.2, SCAR_L_CQC_CCO_SD}, //Mk16 Aimpoint SD
{Loot_WEAPON, 0.3, SCAR_L_CQC}, //Mk16 CQC
{Loot_WEAPON, 0.3, SCAR_L_CQC_Holo}, //Mk16 CQC EOTech
{Loot_WEAPON, 0.2, SCAR_L_CQC_EGLM_Holo}, //Mk16 EGLM EOTech,(40mm)
{Loot_WEAPON, 0.2, SCAR_L_STD_EGLM_RCO}, //Mk16 EGLM RCO,(40mm)
{Loot_WEAPON, 0.3, SCAR_L_STD_HOLO}, //Mk16 EOTech
{Loot_WEAPON, 0.3, SCAR_L_STD_Mk4CQT}, //Mk16 Mk4CQ/T
//Mk17
{Loot_WEAPON, 0.1, SCAR_H_CQC_CCO}, //Mk17 Aimpoint
{Loot_WEAPON, 0.1, SCAR_H_CQC_CCO_SD}, //Mk17 Aimpoint SD
{Loot_WEAPON, 0.1, SCAR_H_STD_EGLM_Spect} //Mk17 EGLM ACOG,(40mm)
};
machineguns[] = {
{Loot_WEAPON, 1.1, RPK74_DZ}, //RPK_74
@@ -114,10 +129,12 @@ machineguns[] = {
{Loot_WEAPON, 1, m240_scoped_EP1_DZE},
{Loot_WEAPON, 0.8, M240_DZ},
{Loot_WEAPON, 0.9, M249_DZ},
{Loot_WEAPON, 0.5, Mk48_DZ} //Mk_48_DZ (removed, was a duplicate of Mk48_CCO_DZ)
{Loot_WEAPON, 0.5, Mk48_DZ}, //Mk_48_DZ (removed, was a duplicate of Mk48_CCO_DZ)
{Loot_WEAPON, 0.9, BAF_L86A2_ACOG} //L86A2 ACOG
};
militaryshotguns[] = {
{Loot_WEAPON, 2, Saiga12K},
{Loot_WEAPON, 2, Remington870_FL_DZ}, //Remington870_lamp
{Loot_WEAPON, 2, M1014_DZ} //M1014
{Loot_WEAPON, 2, M1014_DZ}, //M1014
{Loot_WEAPON, 1, AA12_PMC} //AA12 Shotgun
};

View File

@@ -0,0 +1,29 @@
Land_iron_vein_wreck[] =
{
{Loot_MAGAZINE,85,PartOre,10,10},
{Loot_MAGAZINE,10,PartOreSilver,0,10},
{Loot_MAGAZINE,5,PartOreGold,0,5}
};
Land_silver_vein_wreck[] =
{
{Loot_MAGAZINE,80,PartOreSilver,10,10},
{Loot_MAGAZINE,15,PartOreGold,2,6},
{Loot_MAGAZINE,5,PartOre,0,1}
};
Land_gold_vein_wreck[] =
{
{Loot_MAGAZINE,80,PartOreGold,10,10},
{Loot_MAGAZINE,15,PartOreSilver,2,6},
{Loot_MAGAZINE,5,PartOre,0,1}
};
Land_ammo_supply_wreck[] =
{
{Loot_MAGAZINE, 20, 2000Rnd_762x51_M134},
{Loot_MAGAZINE, 20, 29Rnd_30mm_AGS30},
{Loot_MAGAZINE, 20, 50Rnd_127x107_DSHKM},
{Loot_MAGAZINE, 20, 48Rnd_40mm_MK19},
{Loot_MAGAZINE, 20, 100Rnd_127x99_M2}
};

View File

@@ -0,0 +1,16 @@
ZombieDoctor[] =
{
{Loot_MAGAZINE, 5, ItemMorphine},
{Loot_MAGAZINE, 3, ItemBloodTester},
{Loot_MAGAZINE, 5, ItemHeatPack},
{Loot_MAGAZINE, 2, ItemBloodbagEmpty},
{Loot_GROUP, 2, Antibiotics},
{Loot_GROUP, 6, Bloodbags},
{Loot_GROUP, 7, MedicalLow}
};
ZombieDoctorViral[] =
{
{Loot_GROUP, 10, ZombieMedical},
{Loot_MAGAZINE, 1, ItemAntibiotic1}
};

View File

@@ -1,7 +1,7 @@
ZombieMilitary[] =
{
{Loot_MAGAZINE, 1, FoodMRE},
{Loot_MAGAZINE, 2, ItemHotwireKit},
{Loot_MAGAZINE, 0.5, ItemHotwireKit},
{Loot_GROUP, 3, MedicalLow},
{Loot_GROUP, 10, AmmoMilitaryLow},
{Loot_GROUP, 2, AmmoMilitaryHigh},
@@ -12,4 +12,4 @@ ZombieMilitaryViral[] =
{
{Loot_GROUP, 10, ZombieMilitary},
{Loot_MAGAZINE, 1, ItemAntibiotic1}
};
};

View File

@@ -0,0 +1,15 @@
ZombiePilot[] =
{
{Loot_MAGAZINE, 1, FoodMRE},
{Loot_MAGAZINE, 0.5, ItemHotwireKit},
{Loot_GROUP, 3, MedicalLow},
{Loot_GROUP, 10, AmmoMilitaryLow},
{Loot_GROUP, 2, AmmoMilitaryHigh},
{Loot_GROUP, 2, Consumable}
};
ZombiePilotViral[] =
{
{Loot_GROUP, 10, ZombieMilitary},
{Loot_MAGAZINE, 1, ItemAntibiotic1}
};

View File

@@ -1,12 +1,10 @@
ZombiePolice[] =
{
{Loot_GROUP, 2, Consumable},
{Loot_MAGAZINE, 2, 7Rnd_45ACP_1911},
{Loot_GROUP, 3, AmmoCivilian},
{Loot_MAGAZINE, 2, ItemDocument},
{Loot_MAGAZINE, 3, 6Rnd_45ACP},
{Loot_MAGAZINE, 1, 8Rnd_12Gauge_Buck},
{Loot_MAGAZINE, 1, ItemHotwireKit},
{Loot_MAGAZINE, 2, ItemComboLock},
{Loot_MAGAZINE, 0.5, ItemHotwireKit},
{Loot_MAGAZINE, 1, ItemComboLock},
{Loot_MAGAZINE, 3, HandRoadFlare}
};
@@ -14,4 +12,4 @@ ZombiePoliceViral[] =
{
{Loot_GROUP, 10, ZombiePolice},
{Loot_MAGAZINE, 1, ItemAntibiotic1}
};
};

View File

@@ -0,0 +1,15 @@
ZombieSuit[] =
{
{Loot_GROUP, 6, Consumable},
{Loot_GROUP, 1, AmmoCivilian},
{Loot_MAGAZINE, 3, ItemBandage},
{Loot_MAGAZINE, 2, ItemPainkiller},
{Loot_MAGAZINE, 2, ItemAntibacterialWipe},
{Loot_MAGAZINE, 3, ItemDocument}
};
ZombieSuitViral[] =
{
{Loot_GROUP, 10, ZombieSuit},
{Loot_MAGAZINE, 1, ItemAntibiotic1}
};

View File

@@ -8,12 +8,12 @@ ZombieWorker[] =
{Loot_MAGAZINE, 2, ItemDocument},
{Loot_MAGAZINE, 2, ItemWire},
{Loot_MAGAZINE, 3, ItemTankTrap},
{Loot_MAGAZINE, 3, ItemComboLock},
{Loot_MAGAZINE, 2, ItemComboLock},
{Loot_MAGAZINE, 2, ItemSledgeHead}
};
ZombieWorkerViral[] =
{
{Loot_GROUP, 10, ZombieCivilian},
{Loot_GROUP, 10, ZombieWorker},
{Loot_MAGAZINE, 1, ItemAntibiotic1}
};
};

View File

@@ -1,6 +1,8 @@
To use DZE_MissionLootTable = true; copy this CfgLoot folder to your mission.
To customize the loot tables copy this CfgLoot folder to your mission.
Then in description.ext add at the top:
Then in description.ext replace this line:
#include "\z\addons\dayz_code\Configs\CfgLoot\CfgLoot.hpp"
with this:
#include "CfgLoot\CfgLoot.hpp"

View File

@@ -4,6 +4,9 @@
#include "FL.hpp"
#include "FL_Pist.hpp"
#include "MFL.hpp"
#include "MFL_Pist.hpp"
#include "CCO.hpp"
#include "Holo.hpp"
#include "ACOG.hpp"
@@ -21,4 +24,4 @@
#include "Ghillie.hpp"
#include "SA58RIS.hpp"
#include "SA58RIS.hpp"

View File

@@ -8,7 +8,7 @@ class Attachment_GP25 : CA_Magazine
picture = "\z\addons\dayz_communityweapons\attachments\gp25\data\m_gp25_ca.paa";
displayName = $STR_DZ_ATT_GP25_NAME;
descriptionShort = $STR_DZ_ATT_GP25_NAME;
descriptionShort = $STR_DZ_ATT_GP25_DESC;
class ItemActions
{
@@ -18,4 +18,4 @@ class Attachment_GP25 : CA_Magazine
script = "; [_id,1] call player_attachAttachment";
};
};
};
};

View File

@@ -0,0 +1,21 @@
class Attachment_MFL : CA_Magazine
{
scope = public;
count = 1;
type = WeaponSlotItem;
model = "\z\addons\dayz_communityweapons\attachments\flashlight_rifle\flashlight_rifle.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\flashlight_rifle\data\m_flashlight_rifle_ca.paa";
displayName = $STR_DZ_ATT_MFL_RFL_NAME;
descriptionShort = $STR_DZ_ATT_MFL_RFL_DESC;
class ItemActions
{
class AttachToPrimary
{
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
script = "; [_id,1] call player_attachAttachment";
};
};
};

View File

@@ -0,0 +1,21 @@
class Attachment_MFL_Pist : CA_Magazine
{
scope = public;
count = 1;
type = WeaponSlotItem;
model = "\z\addons\dayz_communityweapons\attachments\flashlight_pistol\flashlight_pistol.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\flashlight_pistol\data\m_flashlight_pistol_ca.paa";
displayName = $STR_DZ_ATT_MFL_PST_NAME;
descriptionShort = $STR_DZ_ATT_MFL_PST_DESC;
class ItemActions
{
class AttachToSecondary
{
text = $STR_DZ_ATT_ACT_TO_SECONDARY;
script = "; [_id,0] call player_attachAttachment";
};
};
};

View File

@@ -3,7 +3,8 @@ class CfgMagazines
//External references
class CA_Magazine;
class HandGrenade;
class TimeBomb;
class CA_LauncherMagazine;
//Weapon magazines

View File

@@ -21,7 +21,7 @@ class SkinBase : CA_Magazine
class tearClothes
{
text = "Tear Clothes";
text = $STR_TEAR_CLOTHES;
script = "spawn player_tearClothes;";
};
class Crafting {

View File

@@ -213,8 +213,8 @@ class Skin_TK_Soldier_Sniper_EP1_DZ: SkinBase {
};
class Skin_TK_Commander_EP1_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_GENERAL;
descriptionShort = $STR_EPOCH_SKINS_GENERAL;
displayName = $STR_GENERAL;
descriptionShort = $STR_GENERAL;
};
class Skin_RU_Soldier_Crew_DZ: SkinBase {
scope = public;
@@ -245,4 +245,180 @@ class Skin_INS_Worker2_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_STEVE;
descriptionShort = $STR_EPOCH_SKINS_STEVE;
};
};
//new Epoch 1.06
class Skin_USMC_Soldier_Officer_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_USMCOFFICER;
descriptionShort = $STR_EPOCH_SKINS_USMCOFFICER;
};
class Skin_USMC_Soldier_MG_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_USMCSOLDIER;
descriptionShort = $STR_EPOCH_SKINS_USMCSOLDIER;
};
class Skin_USMC_Soldier_Pilot_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_USMCPILOT;
descriptionShort = $STR_EPOCH_SKINS_USMCPILOT;
};
class Skin_FR_TL_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_CAMOTEAMLEADER;
descriptionShort = $STR_EPOCH_SKINS_CAMOTEAMLEADER;
};
class Skin_FR_R_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_CAMORECON;
descriptionShort = $STR_EPOCH_SKINS_CAMORECON;
};
class Skin_FR_Marksman_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_CAMOMARKSMAN;
descriptionShort = $STR_EPOCH_SKINS_CAMOMARKSMAN;
};
class Skin_FR_Assault_R_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_CAMOASSAULT;
descriptionShort = $STR_EPOCH_SKINS_CAMOASSAULT;
};
class Skin_RU_Soldier_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_RUSOLDIER;
descriptionShort = $STR_EPOCH_SKINS_RUSOLDIER;
};
class Skin_RU_Soldier_Officer_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_RUOFFICER;
descriptionShort = $STR_EPOCH_SKINS_RUOFFICER;
};
class Skin_RUS_Soldier1_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_RUCAMO;
descriptionShort = $STR_EPOCH_SKINS_RUCAMO;
};
class Skin_RUS_Commander_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_RUCOMMANDER;
descriptionShort = $STR_EPOCH_SKINS_RUCOMMANDER;
};
class Skin_MVD_Soldier_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_MVDSOLDIER;
descriptionShort = $STR_EPOCH_SKINS_MVDSOLDIER;
};
class Skin_Ins_Soldier_2_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_TERRORISTCAMO;
descriptionShort = $STR_EPOCH_SKINS_TERRORISTCAMO;
};
class Skin_Ins_Commander_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_INSCOMMANDER;
descriptionShort = $STR_EPOCH_SKINS_INSCOMMANDER;
};
class Skin_Ins_Soldier_Crew_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_INSCREWMAN;
descriptionShort = $STR_EPOCH_SKINS_INSCREWMAN;
};
class Skin_CDF_Soldier_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_CDFSOLDIER;
descriptionShort = $STR_EPOCH_SKINS_CDFSOLDIER;
};
class Skin_Assistant_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_ASSISTANT;
descriptionShort = $STR_EPOCH_SKINS_ASSISTANT;
};
class Skin_Doctor_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_DOCTOR;
descriptionShort = $STR_EPOCH_SKINS_DOCTOR;
};
class Skin_Worker1_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_WORKER1;
descriptionShort = $STR_EPOCH_SKINS_WORKER1;
};
class Skin_Worker3_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_WORKER2;
descriptionShort = $STR_EPOCH_SKINS_WORKER2;
};
class Skin_Worker4_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_WORKER3;
descriptionShort = $STR_EPOCH_SKINS_WORKER3;
};
class Skin_TK_CIV_Takistani01_EP1_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_TKCITIZEN1;
descriptionShort = $STR_EPOCH_SKINS_TKCITIZEN1;
};
class Skin_TK_CIV_Takistani03_EP1_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_TKCITIZEN2;
descriptionShort = $STR_EPOCH_SKINS_TKCITIZEN2;
};
class Skin_TK_CIV_Takistani04_EP1_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_TKCITIZEN3;
descriptionShort = $STR_EPOCH_SKINS_TKCITIZEN3;
};
class Skin_TK_CIV_Takistani06_EP1_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_TKCITIZEN4;
descriptionShort = $STR_EPOCH_SKINS_TKCITIZEN4;
};
class Skin_TK_INS_Soldier_AR_EP1_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_TKSOLDIER;
descriptionShort = $STR_EPOCH_SKINS_TKSOLDIER;
};
class Skin_TK_GUE_Soldier_EP1_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_TKGUESOLDIER;
descriptionShort = $STR_EPOCH_SKINS_TKGUESOLDIER;
};
class Skin_CZ_Soldier_SL_DES_EP1_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_CZSOLDIER;
descriptionShort = $STR_EPOCH_SKINS_CZSOLDIER;
};
class Skin_US_Soldier_EP1_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_USSOLDIER;
descriptionShort = $STR_EPOCH_SKINS_USSOLDIER;
};
class Skin_UN_CDF_Soldier_EP1_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_UNSOLDIER;
descriptionShort = $STR_EPOCH_SKINS_UNSOLDIER;
};
class Skin_UN_CDF_Soldier_Guard_EP1_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_UNCOMMANDER;
descriptionShort = $STR_EPOCH_SKINS_UNCOMMANDER;
};
class Skin_GER_Soldier_TL_EP1_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_GERRECON;
descriptionShort = $STR_EPOCH_SKINS_GERRECON;
};
class Skin_BAF_Soldier_Officer_MTP_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_BAFOFFICER;
descriptionShort = $STR_EPOCH_SKINS_BAFOFFICER;
};
class Skin_BAF_Soldier_N_MTP_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_BAFSOLDIER;
descriptionShort = $STR_EPOCH_SKINS_BAFSOLDIER;
};
class Skin_FR_Sapper_DZ: SkinBase {
scope = public;
displayName = $STR_EPOCH_SKINS_FRSAPPER;
descriptionShort = $STR_EPOCH_SKINS_FRSAPPER;
};

View File

@@ -40,8 +40,8 @@ class ItemSodaMtngreen : ItemSoda
model = "z\addons\dayz_communityassets\models\soda_mtngreen_clean_full.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_mtngreen_clean_full_ca.paa";
displayName = $STR_EQUIP_NAME_37;
descriptionShort = $STR_EQUIP_NAME_37;
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_0;
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_0;
Nutrition[] = {90,0,500,0};

View File

@@ -9,6 +9,7 @@ class bulk: CA_Magazine {
weight = 5;
};
class bulk_empty: bulk {
displayName = $STR_EPOCH_BULK_DISP_EMPTY;
descriptionShort = $STR_EPOCH_BULK_DESC_EMPTY;
weight = 5;
class ItemActions {
@@ -65,6 +66,7 @@ class bulk_empty: bulk {
};
class bulk_ItemSodaCoke: bulk {
displayName = $STR_EPOCH_BULK_DISP_SODACOKE_HALF;
descriptionShort = $STR_EPOCH_BULK_DESC_SODACOKE_HALF;
weight = 6;
class ItemActions {
@@ -84,6 +86,7 @@ class bulk_ItemSodaCoke: bulk {
};
};
class bulk_ItemSodaCokeFull: bulk {
displayName = $STR_EPOCH_BULK_DISP_SODACOKE_FULL;
descriptionShort = $STR_EPOCH_BULK_DESC_SODACOKE_FULL;
weight = 7;
class ItemActions {
@@ -96,6 +99,7 @@ class bulk_ItemSodaCokeFull: bulk {
};
class bulk_ItemSodaPepsi: bulk {
displayName = $STR_EPOCH_BULK_DISP_SODAPEPSI_HALF;
descriptionShort = $STR_EPOCH_BULK_DESC_SODAPEPSI_HALF;
weight = 6;
class ItemActions {
@@ -115,6 +119,7 @@ class bulk_ItemSodaPepsi: bulk {
};
};
class bulk_ItemSodaPepsiFull: bulk {
displayName = $STR_EPOCH_BULK_DISP_SODAPEPSI_FULL;
descriptionShort = $STR_EPOCH_BULK_DESC_SODAPEPSI_FULL;
weight = 7;
class ItemActions {
@@ -127,6 +132,7 @@ class bulk_ItemSodaPepsiFull: bulk {
};
class bulk_FoodbaconCooked: bulk {
displayName = $STR_EPOCH_BULK_DISP_BACON_HALF;
descriptionShort = $STR_EPOCH_BULK_DESC_BACON_HALF;
weight = 5;
class ItemActions {
@@ -146,6 +152,7 @@ class bulk_FoodbaconCooked: bulk {
};
};
class bulk_FoodbaconCookedFull: bulk {
displayName = $STR_EPOCH_BULK_DISP_BACON_FULL;
descriptionshort = $STR_EPOCH_BULK_DESC_BACON_FULL;
weight = 5;
class ItemActions {
@@ -159,6 +166,7 @@ class bulk_FoodbaconCookedFull: bulk {
// Ammo
class bulk_17Rnd_9x19_glock17: bulk {
displayName = $STR_EPOCH_BULK_DISP_G17;
descriptionShort = $STR_EPOCH_BULK_DESC_G17;
weight = 17;
class ItemActions {
@@ -170,6 +178,7 @@ class bulk_17Rnd_9x19_glock17: bulk {
};
};
class bulk_15Rnd_9x19_M9SD: bulk {
displayName = $STR_EPOCH_BULK_DISP_M9SD;
descriptionShort = $STR_EPOCH_BULK_DESC_M9SD;
weight = 17;
class ItemActions {
@@ -181,6 +190,7 @@ class bulk_15Rnd_9x19_M9SD: bulk {
};
};
class bulk_30Rnd_9x19_MP5SD: bulk {
displayName = $STR_EPOCH_BULK_DISP_MP5SD;
descriptionShort = $STR_EPOCH_BULK_DESC_MP5SD;
weight = 18;
class ItemActions {
@@ -192,6 +202,7 @@ class bulk_30Rnd_9x19_MP5SD: bulk {
};
};
class bulk_30Rnd_556x45_StanagSD: bulk {
displayName = $STR_EPOCH_BULK_DISP_STANAGSD;
descriptionShort = $STR_EPOCH_BULK_DESC_STANAGSD;
weight = 20;
class ItemActions {
@@ -204,6 +215,7 @@ class bulk_30Rnd_556x45_StanagSD: bulk {
};
class bulk_ItemSandbag: bulk {
displayName = $STR_EPOCH_BULK_DISP_SANDBAG;
descriptionShort = $STR_EPOCH_BULK_DESC_SANDBAG;
weight = 60;
class ItemActions {
@@ -216,6 +228,7 @@ class bulk_ItemSandbag: bulk {
};
class bulk_ItemTankTrap: bulk {
displayName = $STR_EPOCH_BULK_DISP_TANKTRAP_FULL;
descriptionShort = $STR_EPOCH_BULK_DESC_TANKTRAP_FULL;
weight = 25;
class ItemActions {
@@ -227,6 +240,7 @@ class bulk_ItemTankTrap: bulk {
};
};
class bulk_ItemTankTrapHalf: bulk {
displayName = $STR_EPOCH_BULK_DISP_TANKTRAP_HALF;
descriptionShort = $STR_EPOCH_BULK_DESC_TANKTRAP_HALF;
weight = 12.5;
class ItemActions {
@@ -247,6 +261,7 @@ class bulk_ItemTankTrapHalf: bulk {
};
class bulk_ItemWire: bulk {
displayName = $STR_EPOCH_BULK_DISP_WIREKIT_FULL;
descriptionShort = $STR_EPOCH_BULK_DESC_WIREKIT_FULL;
weight = 25;
class ItemActions {
@@ -258,6 +273,7 @@ class bulk_ItemWire: bulk {
};
};
class bulk_ItemWireHalf: bulk {
displayName = $STR_EPOCH_BULK_DISP_WIREKIT_HALF;
descriptionShort = $STR_EPOCH_BULK_DESC_WIREKIT_HALF;
weight = 12.5;
class ItemActions {
@@ -278,6 +294,7 @@ class bulk_ItemWireHalf: bulk {
};
class bulk_PartGeneric: bulk {
displayName = $STR_EPOCH_BULK_DISP_GENERIC_FULL;
descriptionShort = $STR_EPOCH_BULK_DESC_GENERIC_FULL;
weight = 60;
class ItemActions {
@@ -289,6 +306,7 @@ class bulk_PartGeneric: bulk {
};
};
class bulk_PartGenericHalf: bulk {
displayName = $STR_EPOCH_BULK_DISP_GENERIC_HALF;
descriptionShort = $STR_EPOCH_BULK_DESC_GENERIC_HALF;
weight = 30;
class ItemActions {
@@ -306,4 +324,4 @@ class bulk_PartGenericHalf: bulk {
input[] = {{"bulk_PartGenericHalf",1},{"PartGeneric",6}};
};
};
};
};

View File

@@ -264,4 +264,266 @@ class ItemWaterbottle9oz : ItemWaterbottle {
script = "spawn player_fillWater;";
};
};
};
};
//inherit from ItemWaterbottle because that's how the crafting script checks required input
class ItemWaterbottle1ozBoiled : ItemWaterbottle {
displayName = $STR_EPOCH_WATERBOTTLE1OZBOILED;
descriptionShort = $STR_EPOCH_WATERBOTTLE1OZBOILED_DESC;
infectionChance = 0;
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_1oz_ca.paa";
wateroz = 1;
containerWater = "ItemWaterBottle";
containerWaterSafe = "ItemWaterBottleSafe";
containerWaterInfected = "ItemWaterBottleInfected";
Nutrition[] = {0,0,100,0};
consumeOutput = "ItemWaterBottleUnfilled";
containerEmpty = "ItemWaterBottleUnfilled";
class ItemActions {
class Consume
{
text = $STR_ACTIONS_DRINK2;
script = "spawn player_consume";
};
class Empty
{
text = $STR_EQUIP_NAME_13_EMPTY;
script = "spawn player_emptyContainer";
};
class Fill {
text = "$STR_ACTIONS_FILL_W";
script = "spawn player_fillWater;";
};
};
};
class ItemWaterbottle2ozBoiled : ItemWaterbottle {
displayName = $STR_EPOCH_WATERBOTTLE2OZBOILED;
descriptionShort = $STR_EPOCH_WATERBOTTLE2OZBOILED_DESC;
infectionChance = 0;
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_2oz_ca.paa";
wateroz = 2;
containerWater = "ItemWaterBottle";
containerWaterSafe = "ItemWaterBottleSafe";
containerWaterInfected = "ItemWaterBottleInfected";
Nutrition[] = {0,0,200,0};
consumeOutput = "ItemWaterBottleUnfilled";
containerEmpty = "ItemWaterBottleUnfilled";
class ItemActions {
class Consume
{
text = $STR_ACTIONS_DRINK2;
script = "spawn player_consume";
};
class Empty
{
text = $STR_EQUIP_NAME_13_EMPTY;
script = "spawn player_emptyContainer";
};
class Fill {
text = "$STR_ACTIONS_FILL_W";
script = "spawn player_fillWater;";
};
};
};
class ItemWaterbottle3ozBoiled : ItemWaterbottle {
displayName = $STR_EPOCH_WATERBOTTLE3OZBOILED;
descriptionShort = $STR_EPOCH_WATERBOTTLE3OZBOILED_DESC;
infectionChance = 0;
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_3oz_ca.paa";
wateroz = 3;
containerWater = "ItemWaterBottle";
containerWaterSafe = "ItemWaterBottleSafe";
containerWaterInfected = "ItemWaterBottleInfected";
Nutrition[] = {0,0,300,0};
consumeOutput = "ItemWaterBottleUnfilled";
containerEmpty = "ItemWaterBottleUnfilled";
class ItemActions {
class Consume
{
text = $STR_ACTIONS_DRINK2;
script = "spawn player_consume";
};
class Empty
{
text = $STR_EQUIP_NAME_13_EMPTY;
script = "spawn player_emptyContainer";
};
class Fill {
text = "$STR_ACTIONS_FILL_W";
script = "spawn player_fillWater;";
};
};
};
class ItemWaterbottle4ozBoiled : ItemWaterbottle {
displayName = $STR_EPOCH_WATERBOTTLE4OZBOILED;
descriptionShort = $STR_EPOCH_WATERBOTTLE4OZBOILED_DESC;
infectionChance = 0;
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_4oz_ca.paa";
wateroz = 4;
containerWater = "ItemWaterBottle";
containerWaterSafe = "ItemWaterBottleSafe";
containerWaterInfected = "ItemWaterBottleInfected";
Nutrition[] = {0,0,400,0};
consumeOutput = "ItemWaterBottleUnfilled";
containerEmpty = "ItemWaterBottleUnfilled";
class ItemActions {
class Consume
{
text = $STR_ACTIONS_DRINK2;
script = "spawn player_consume";
};
class Empty
{
text = $STR_EQUIP_NAME_13_EMPTY;
script = "spawn player_emptyContainer";
};
class Fill {
text = "$STR_ACTIONS_FILL_W";
script = "spawn player_fillWater;";
};
};
};
class ItemWaterbottle5ozBoiled : ItemWaterbottle {
displayName = $STR_EPOCH_WATERBOTTLE5OZBOILED;
descriptionShort = $STR_EPOCH_WATERBOTTLE5OZBOILED_DESC;
infectionChance = 0;
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_5oz_ca.paa";
wateroz = 5;
containerWater = "ItemWaterBottle";
containerWaterSafe = "ItemWaterBottleSafe";
containerWaterInfected = "ItemWaterBottleInfected";
Nutrition[] = {0,0,500,0};
consumeOutput = "ItemWaterBottleUnfilled";
containerEmpty = "ItemWaterBottleUnfilled";
class ItemActions {
class Consume
{
text = $STR_ACTIONS_DRINK2;
script = "spawn player_consume";
};
class Empty
{
text = $STR_EQUIP_NAME_13_EMPTY;
script = "spawn player_emptyContainer";
};
class Fill {
text = "$STR_ACTIONS_FILL_W";
script = "spawn player_fillWater;";
};
};
};
class ItemWaterbottle6ozBoiled : ItemWaterbottle {
displayName = $STR_EPOCH_WATERBOTTLE6OZBOILED;
descriptionShort = $STR_EPOCH_WATERBOTTLE6OZBOILED_DESC;
infectionChance = 0;
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_6oz_ca.paa";
wateroz = 6;
containerWater = "ItemWaterBottle";
containerWaterSafe = "ItemWaterBottleSafe";
containerWaterInfected = "ItemWaterBottleInfected";
Nutrition[] = {0,0,600,0};
consumeOutput = "ItemWaterBottleUnfilled";
containerEmpty = "ItemWaterBottleUnfilled";
class ItemActions {
class Consume
{
text = $STR_ACTIONS_DRINK2;
script = "spawn player_consume";
};
class Empty
{
text = $STR_EQUIP_NAME_13_EMPTY;
script = "spawn player_emptyContainer";
};
class Fill {
text = "$STR_ACTIONS_FILL_W";
script = "spawn player_fillWater;";
};
};
};
class ItemWaterbottle7ozBoiled : ItemWaterbottle {
displayName = $STR_EPOCH_WATERBOTTLE7OZBOILED;
descriptionShort = $STR_EPOCH_WATERBOTTLE7OZBOILED_DESC;
infectionChance = 0;
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_7oz_ca.paa";
wateroz = 7;
containerWater = "ItemWaterBottle";
containerWaterSafe = "ItemWaterBottleSafe";
containerWaterInfected = "ItemWaterBottleInfected";
Nutrition[] = {0,0,700,0};
consumeOutput = "ItemWaterBottleUnfilled";
containerEmpty = "ItemWaterBottleUnfilled";
class ItemActions {
class Consume
{
text = $STR_ACTIONS_DRINK2;
script = "spawn player_consume";
};
class Empty
{
text = $STR_EQUIP_NAME_13_EMPTY;
script = "spawn player_emptyContainer";
};
class Fill {
text = "$STR_ACTIONS_FILL_W";
script = "spawn player_fillWater;";
};
};
};
class ItemWaterbottle8ozBoiled : ItemWaterbottle {
displayName = $STR_EPOCH_WATERBOTTLE8OZBOILED;
descriptionShort = $STR_EPOCH_WATERBOTTLE8OZBOILED_DESC;
infectionChance = 0;
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_8oz_ca.paa";
wateroz = 8;
containerWater = "ItemWaterBottle";
containerWaterSafe = "ItemWaterBottleSafe";
containerWaterInfected = "ItemWaterBottleInfected";
Nutrition[] = {0,0,800,0};
consumeOutput = "ItemWaterBottleUnfilled";
containerEmpty = "ItemWaterBottleUnfilled";
class ItemActions {
class Consume
{
text = $STR_ACTIONS_DRINK2;
script = "spawn player_consume";
};
class Empty
{
text = $STR_EQUIP_NAME_13_EMPTY;
script = "spawn player_emptyContainer";
};
class Fill {
text = "$STR_ACTIONS_FILL_W";
script = "spawn player_fillWater;";
};
};
};
class ItemWaterbottle9ozBoiled : ItemWaterbottle {
displayName = $STR_EPOCH_WATERBOTTLE9OZBOILED;
descriptionShort = $STR_EPOCH_WATERBOTTLE9OZBOILED_DESC;
infectionChance = 0;
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_9oz_ca.paa";
wateroz = 9;
containerWater = "ItemWaterBottle";
containerWaterSafe = "ItemWaterBottleSafe";
containerWaterInfected = "ItemWaterBottleInfected";
Nutrition[] = {0,0,900,0};
consumeOutput = "ItemWaterBottleUnfilled";
containerEmpty = "ItemWaterBottleUnfilled";
class ItemActions {
class Consume
{
text = $STR_ACTIONS_DRINK2;
script = "spawn player_consume";
};
class Empty
{
text = $STR_EQUIP_NAME_13_EMPTY;
script = "spawn player_emptyContainer";
};
class Fill {
text = "$STR_ACTIONS_FILL_W";
script = "spawn player_fillWater;";
};
};
};

View File

@@ -288,7 +288,7 @@ class ItemPlotDeed: CA_Magazine {
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox"};
output[] = {{"30m_plot_kit",1}};
output[] = {{"plot_pole_kit",1}};
input[] = {{"ItemPlotDeed",1},{"ItemGoldBar10oz",2}};
};
};
@@ -356,7 +356,6 @@ class ItemNewspaper: CA_Magazine {
class Obituaries {
text = $STR_EPOCH_TORNNEWSPAPER_ACTION;
script = "spawn player_deathBoard;";
};
};
};
@@ -407,4 +406,4 @@ class ItemBloodbag: CA_Magazine
script = "spawn player_useMeds;";
};
};
};
};

View File

@@ -12,7 +12,7 @@ class ItemCanvas: CA_Magazine
class Crafting
{
text = $STR_EPOCH_PLAYER_190;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"ItemTent",1}};
@@ -21,7 +21,7 @@ class ItemCanvas: CA_Magazine
class Crafting1
{
text = $STR_EPOCH_PLAYER_191;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"ItemDesertTent",1}};
@@ -30,7 +30,7 @@ class ItemCanvas: CA_Magazine
class Crafting2
{
text = $STR_EPOCH_PLAYER_192;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"ItemDomeTent",1}};
@@ -39,7 +39,7 @@ class ItemCanvas: CA_Magazine
class Crafting3
{
text = $STR_EPOCH_PLAYER_193;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"sun_shade_kit",1}};
@@ -48,7 +48,7 @@ class ItemCanvas: CA_Magazine
class Crafting4
{
text = $STR_EPOCH_PLAYER_194;
script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"ItemBurlap",1}};
@@ -70,7 +70,7 @@ class ItemBurlap: CA_Magazine
class Crafting
{
text = $STR_EPOCH_PLAYER_195;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"sand"}; // todo add sand requirement
requiretools[] = {"ItemEtool","ItemToolbox"};
output[] = {{"ItemSandbag",1}};
@@ -92,7 +92,7 @@ class ItemLightBulb: CA_Magazine
class Crafting
{
text = $STR_EPOCH_PLAYER_196;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemEtool","ItemToolbox"};
output[] = {{"light_pole_kit",1}};
@@ -147,7 +147,7 @@ class ItemCorrugated : CA_Magazine
class Crafting
{
text = $STR_EPOCH_PLAYER_215;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemCrowbar"};
output[] = {{"wooden_shed_kit",1}};
@@ -156,7 +156,7 @@ class ItemCorrugated : CA_Magazine
class Crafting1
{
text = $STR_EPOCH_PLAYER_217;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemCrowbar"};
output[] = {{"outhouse_kit",1}};
@@ -165,7 +165,7 @@ class ItemCorrugated : CA_Magazine
class Crafting2
{
text = $STR_EPOCH_PLAYER_216;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemCrowbar"};
output[] = {{"storage_shed_kit",1}};
@@ -187,7 +187,7 @@ class ItemPole: CA_Magazine
class Crafting
{
text = $STR_EPOCH_PLAYER_218;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"fire"};
requiretools[] = {"ItemToolbox","ItemCrowbar"};
output[] = {{"ItemCorrugated",1}};
@@ -196,7 +196,7 @@ class ItemPole: CA_Magazine
class Crafting1
{
text = $STR_EPOCH_PLAYER_219;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemCrowbar"};
output[] = {{"rusty_gate_kit",1}};
@@ -205,7 +205,7 @@ class ItemPole: CA_Magazine
class Crafting2
{
text = $STR_EPOCH_PLAYER_220;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemCrowbar"};
output[] = {{"metal_panel_kit",1}};
@@ -214,7 +214,7 @@ class ItemPole: CA_Magazine
class Crafting3
{
text = $STR_EPOCH_PLAYER_305;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemCrowbar"};
output[] = {{"ItemScaffoldingKit",1}};
@@ -303,7 +303,7 @@ class ItemFuelBarrelEmpty: ItemFuelBarrel
class Crafting
{
text = $STR_EPOCH_PLAYER_276;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemToolbox","ItemMatchbox"};
output[] = {{"ItemFireBarrel_kit",1}};
@@ -375,7 +375,7 @@ class wood_ramp_kit: CA_Magazine
};
};
};
class 30m_plot_kit: CA_Magazine
class plot_pole_kit: CA_Magazine
{
scope = public;
count = 1;
@@ -418,7 +418,7 @@ class metal_panel_kit: CA_Magazine
class Crafting
{
text = $STR_EPOCH_PLAYER_228;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop","fire"};
requiretools[] = {"ItemToolbox","ItemCrowbar","ItemSledge"};
output[] = {{"metal_floor_kit",1}};
@@ -454,8 +454,8 @@ class desert_large_net_kit: CA_Magazine
type = 256;
displayName = $STR_EPOCH_LARGEDESERTCAMONET;
descriptionShort = $STR_EPOCH_LARGECAMONET_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa";
weight = 25;
class ItemActions
{
@@ -475,8 +475,8 @@ class forest_large_net_kit: CA_Magazine
type = 256;
displayName = $STR_EPOCH_LARGEFORESTCAMONET;
descriptionShort = $STR_EPOCH_LARGECAMONET_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa";
weight = 25;
class ItemActions
{
@@ -496,8 +496,8 @@ class desert_net_kit: CA_Magazine
type = 256;
displayName = $STR_EPOCH_DESERTCAMONET;
descriptionShort = $STR_EPOCH_CAMONET_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa";
weight = 25;
class ItemActions
{
@@ -511,7 +511,7 @@ class desert_net_kit: CA_Magazine
class Crafting
{
text = $STR_EPOCH_PLAYER_229;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"desert_large_net_kit",1}};
@@ -526,8 +526,8 @@ class forest_net_kit: CA_Magazine
type = 256;
displayName = $STR_EPOCH_FORESTCAMONET;
descriptionShort = $STR_EPOCH_CAMONET_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa";
weight = 25;
class ItemActions
{
@@ -541,7 +541,7 @@ class forest_net_kit: CA_Magazine
class Crafting
{
text = $STR_EPOCH_PLAYER_229;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"forest_large_net_kit",1}};
@@ -859,7 +859,7 @@ class PartPlankPack: CA_Magazine
class Crafting
{
text = $STR_EPOCH_PLAYER_251;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"sawmill"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"PartWoodLumber",3}};
@@ -882,7 +882,7 @@ class CinderBlocks: CA_Magazine
class Crafting
{
text = $STR_EPOCH_PLAYER_252;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox"};
output[] = {{"half_cinder_wall_kit",1}};
@@ -891,7 +891,7 @@ class CinderBlocks: CA_Magazine
class Crafting1
{
text = $STR_EPOCH_PLAYER_253;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox"};
output[] = {{"cinder_garage_kit",1}};
@@ -900,7 +900,7 @@ class CinderBlocks: CA_Magazine
class Crafting2
{
text = $STR_EPOCH_PLAYER_234;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox"};
output[] = {{"cinder_door_kit",1}};
@@ -909,7 +909,7 @@ class CinderBlocks: CA_Magazine
class Crafting3
{
text = $STR_EPOCH_PLAYER_252_1;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox"};
output[] = {{"full_cinder_wall_kit",1}};
@@ -943,13 +943,12 @@ class PartPlywoodPack: CA_Magazine
class Crafting
{
text = $STR_EPOCH_PLAYER_251;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"sawmill"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"PartWoodPlywood",3}};
input[] = {{"PartPlywoodPack",1}};
};
};
};
class PartWoodLumber: CA_Magazine
@@ -966,7 +965,7 @@ class PartWoodLumber: CA_Magazine
class Crafting
{
text = $STR_EPOCH_PLAYER_254;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"sawmill"};
requiretools[] = {"ItemToolbox"};
output[] = {{"PartWoodPlywood",1}};
@@ -976,7 +975,7 @@ class PartWoodLumber: CA_Magazine
class Crafting1
{
text = $STR_EPOCH_PLAYER_255;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox"};
output[] = {{"bulk_empty",1}};
@@ -986,7 +985,7 @@ class PartWoodLumber: CA_Magazine
class Crafting2
{
text = $STR_EPOCH_PLAYER_256;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemCrowbar"};
output[] = {{"deer_stand_kit",1}};
@@ -996,7 +995,7 @@ class PartWoodLumber: CA_Magazine
class Crafting3
{
text = $STR_EPOCH_PLAYER_257;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox"};
output[] = {{"ItemWoodStairs",1}};
@@ -1006,7 +1005,7 @@ class PartWoodLumber: CA_Magazine
class Crafting4
{
text = $STR_EPOCH_PLAYER_258;
script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox"};
output[] = {{"ItemWoodLadder",1}};
@@ -1016,7 +1015,7 @@ class PartWoodLumber: CA_Magazine
class Crafting5
{
text = $STR_EPOCH_PLAYER_259;
Script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
Script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"sawmill"};
requiretools[] = {"ItemToolbox"};
output[] = {{"PartPlankPack",1}};
@@ -1025,7 +1024,7 @@ class PartWoodLumber: CA_Magazine
class Crafting6
{
text = $STR_EPOCH_PLAYER_277;
Script = ";['Crafting6','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
Script = ";['Crafting6','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox"};
output[] = {{"ItemGunRackKit",1}};
@@ -1034,7 +1033,7 @@ class PartWoodLumber: CA_Magazine
class Crafting7
{
text = $STR_EPOCH_PLAYER_304;
Script = ";['Crafting7','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
Script = ";['Crafting7','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemToolbox"};
output[] = {{"ItemWoodCrateKit",1}};
@@ -1056,17 +1055,16 @@ class PartWoodPlywood: CA_Magazine
class Crafting
{
text = $STR_EPOCH_PLAYER_260;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemToolbox"};
output[] = {{"workbench_kit",1}};
input[] = {{"PartWoodPlywood",1},{"PartWoodLumber",2}};
};
class Crafting1
{
text = $STR_EPOCH_PLAYER_261;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemToolbox"};
output[] = {{"wood_shack_kit",1}};
@@ -1075,7 +1073,7 @@ class PartWoodPlywood: CA_Magazine
class Crafting2
{
text = $STR_EPOCH_PLAYER_262;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemCrowbar"};
output[] = {{"ItemWoodFloorQuarter",1}};
@@ -1084,7 +1082,7 @@ class PartWoodPlywood: CA_Magazine
class Crafting3
{
text = $STR_EPOCH_PLAYER_263;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemCrowbar"};
output[] = {{"ItemWoodWallThird",1}};
@@ -1093,13 +1091,12 @@ class PartWoodPlywood: CA_Magazine
class Crafting4
{
text = $STR_EPOCH_PLAYER_264;
Script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
Script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"sawmill"};
requiretools[] = {"ItemToolbox"};
output[] = {{"PartPlywoodPack",1}};
input[] = {{"PartWoodPlywood",3}};
};
};
};
class ItemSledgeHead : CA_Magazine
@@ -1117,7 +1114,7 @@ class ItemSledgeHead : CA_Magazine
class Crafting
{
text = $STR_EPOCH_PLAYER_275;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox"};
output[] = {};
@@ -1141,7 +1138,7 @@ class ItemSledgeHandle : CA_Magazine
class Crafting
{
text = $STR_EPOCH_PLAYER_275;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox"};
output[] = {};
@@ -1165,7 +1162,7 @@ class ItemKiloHemp : CA_Magazine
class Crafting
{
text = $STR_EPOCH_PLAYER_269b;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"ItemCanvas",1}};
@@ -1174,7 +1171,7 @@ class ItemKiloHemp : CA_Magazine
class Crafting1
{
text = $STR_EPOCH_PLAYER_269a;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {""};
requiretools[] = {"ItemKnife"};
output[] = {{"ItemHempSeed",5}};

View File

@@ -131,7 +131,6 @@ class ItemWoodFloorHalf: CA_Magazine {
requiretools[] = {"ItemToolbox"};
output[] = {{"ItemWoodFloor",1}};
input[] = {{"ItemWoodFloorHalf",2}};
};
};
};
@@ -158,7 +157,6 @@ class ItemWoodFloorQuarter: CA_Magazine {
requiretools[] = {"ItemToolbox"};
output[] = {{"ItemWoodFloorHalf",1}};
input[] = {{"ItemWoodFloorQuarter",2}};
};
};
};
@@ -186,7 +184,6 @@ class ItemWoodStairs: CA_Magazine {
requiretools[] = {"ItemToolbox"};
output[] = {{"ItemWoodStairsSupport",1}};
input[] = {{"ItemWoodStairs",1},{"PartWoodLumber",2}};
};
};
};

View File

@@ -14,7 +14,7 @@ class TrapBear : CA_Magazine
class Build
{
text = $STR_ACTION_BUILD;
script = "spawn player_build;"; //r_action_count = r_action_count + 1; set in sqf
script = "spawn player_build;";
require[] = {"ItemToolbox"};
consume[] = {"TrapBear"};
create = "BearTrap_DZ";

View File

@@ -1,4 +1,4 @@
class ItemCamoNet : CA_Magazine
/*class ItemCamoNet : CA_Magazine //Duplicate of Epoch forest_net_kit
{
scope = public;
count = 1;
@@ -14,13 +14,13 @@ class ItemCamoNet : CA_Magazine
class Build
{
text = $STR_BUILD_CAMONET;
script = "spawn player_build;"; //r_action_count = r_action_count + 1; set in sqf
script = "spawn player_build;";
require[] = {"ItemToolbox"};
consume[] = {"ItemCamoNet"};
create = "CamoNet_DZ";
};
};
};
};*/
/*class ItemCamoNetGrey : ItemCamoNet
{
@@ -34,7 +34,7 @@ class ItemCamoNet : CA_Magazine
class Build
{
text = $STR_BUILD_CAMONET;
script = "; ['ItemCamoNetGrey','Build'] spawn player_build;"; //r_action_count = r_action_count + 1; set in sqf
script = "; ['ItemCamoNetGrey','Build'] spawn player_build;";
require[] = {"ItemToolbox"};
consume[] = {"ItemCamoNetGrey"};
create = "CamoNet_DZ";

View File

@@ -0,0 +1,15 @@
class Mine: TimeBomb
{
type = WeaponSlotItem; // Only takes up one gear slot in Epoch
};
class MineE: TimeBomb
{
type = WeaponSlotItem; // Only takes up one gear slot in Epoch
};
class PipeBomb: TimeBomb
{
displayName = $STR_DZ_MAG_SATCHEL_NAME; // Singular "Satchel Charge" for death messages "with a x"
type = WeaponSlotItem; // Only takes up one gear slot in Epoch
};

View File

@@ -15,7 +15,7 @@ class ItemGenerator : CA_Magazine
class Build
{
text = $STR_ACTION_BUILD;
script = "spawn player_build;"; //r_action_count = r_action_count + 1; set in sqf
script = "spawn player_build;";
require[] = {"ItemToolbox"};
consume[] = {"ItemGenerator"};
create = "Generator_DZ";

View File

@@ -8,7 +8,7 @@
//Simple buildables
#include "Tent.hpp"
#include "CamoNet.hpp"
//#include "CamoNet.hpp" //Duplicate of Epoch camo nets in DZE\Misc.hpp
#include "TankTrap.hpp"
#include "WireFence.hpp"
#include "BearTrap.hpp"
@@ -23,4 +23,5 @@
#include "equip_brick.hpp"
#include "equip_lever.hpp"
#include "WaterBottle.hpp"
//#include "Canteen.hpp"
//#include "Canteen.hpp"
#include "Explosives.hpp"

View File

@@ -1,40 +1,70 @@
class ItemMetalSheet: CA_Magazine
class ItemMetalSheet: CA_Magazine //Construection,farm,indestrial,castle
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_BLD_name_ItemMetalSheet;//"Corrugated Sheet"
picture = "\z\addons\dayz_buildings\equip\item_sheetmetal.paa";
model = "z\addons\dayz_buildings\models\sheet_metal.p3d";
descriptionShort = $STR_BLD_desc_ItemMetalSheet;//"Metal Sheeting"
};
class ItemConcreteBlock: CA_Magazine
};
class ItemConcreteBlock: CA_Magazine //Construection,indestrial
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_BLD_name_ItemConcreteBlock;//"Concrete Block"
picture = "\z\addons\dayz_buildings\equip\concreteblock.paa";
model = "z\addons\dayz_buildings\models\concreteblock.p3d";
descriptionShort = $STR_BLD_desc_ItemConcreteBlock;//"Concrete Block"
};
class ItemRSJ: CA_Magazine
};
class ItemRSJ: CA_Magazine //Construection,farm,indestrial,castle
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_BLD_name_ItemRSJ;//"Steel Beam"
picture = "\z\addons\dayz_buildings\equip\item_rsj.paa";
model = "z\addons\dayz_buildings\models\rsj.p3d";
descriptionShort = $STR_BLD_desc_ItemRSJ;//"Steel RSJ Support Beam"
};
class ItemScrews: CA_Magazine
};
class ItemScrews: CA_Magazine //Construection,farm,indestrial,castle,residential
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = "Loose Screws";//"Box of screws for metal"
picture = "\z\addons\dayz_buildings\equip\item_screws.paa";
model = "z\addons\dayz_buildings\models\screws.p3d";
descriptionShort = $STR_BLD_desc_ItemScrews;//"Box of screws"
};
class ItemBagScrews: CA_Magazine//Construection,indestrial,supermarket
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_BLD_name_ItemScrews;//"Box of screws for metal"
picture = "\z\addons\dayz_buildings\equip\item_screws.paa";
model = "z\addons\dayz_buildings\models\screws.p3d";
descriptionShort = $STR_BLD_desc_ItemScrews;//"Box of screws"
};
class ItemActions {
class Spilt {
text = "Spilt Box";
script = "; [_this] call fn_spiltBag;";
};
};
};
/*
ItemScrews //Construection,farm,indestrial,castle,residential
ItemBagScrews //(LowChance)Construection,(LowChance)indestrial,supermarket
ItemRSJ //Construection,farm,indestrial,castle
ItemConcreteBlock //Construection,indestrial
ItemMetalSheet //Construection,farm,indestrial,castle
*/

View File

@@ -1,4 +1,4 @@
class ItemPadlock: CA_Magazine
class ItemPadlock: CA_Magazine //Vanilla lock, left in config for potential admin use, but all scripts changed to use Epoch ItemComboLock
{
scope = public;
count = 1;

View File

@@ -14,26 +14,29 @@ class ItemSandbag : CA_Magazine
class Build
{
text = $STR_ACTION_BUILD;
script = "spawn player_build;"; //r_action_count = r_action_count + 1; set in sqf
script = "spawn player_build;";
require[] = {"ItemEtool"};
consume[] = {"ItemSandbag"};
create = "Sandbag1_DZ";
//bypass RoadCheck
byPass = "byPassRoadCheck";
};
/*
class Build2
{
text = $STR_CREATE_STASH;
script = "; [_id,'Build2'] spawn player_build;"; //r_action_count = r_action_count + 1; set in sqf
script = "; [_id,'Build2'] spawn player_build;";
require[] = {"ItemEtool"};
consume[] = {"ItemSandbag"};
create = "StashSmall";
//Bypass collision test
bypassCollision = "true";
};
*/
class Crafting
{
text = $STR_EPOCH_PLAYER_273;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemEtool","ItemToolbox"};
output[] = {{"ItemSandbagLarge",1}};
@@ -42,7 +45,7 @@ class ItemSandbag : CA_Magazine
class Crafting1
{
text = $STR_EPOCH_PLAYER_274;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemEtool","ItemToolbox"};
output[] = {{"sandbag_nest_kit",1}};
@@ -51,7 +54,7 @@ class ItemSandbag : CA_Magazine
class Crafting2
{
text = $STR_EPOCH_PLAYER_298;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemEtool","ItemToolbox"};
output[] = {{"BagFenceRound_DZ_kit",1}};
@@ -61,7 +64,7 @@ class ItemSandbag : CA_Magazine
class Crafting3
{
text = "Craft M240 Nest";
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemEtool","ItemToolbox","M240_DZ"};
output[] = {{"m240_nest_kit",1}};
@@ -72,20 +75,16 @@ class ItemSandbag : CA_Magazine
};
};
// EPOCH ADDITIONS
class BagFenceRound_DZ_kit : CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "Round Sandbag Fence";
displayName = $STR_EQUIP_NAME_21_ROUND;
descriptionShort = $STR_EQUIP_DESC_21;
model = "\dayz_equip\models\sandbags.p3d";
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
descriptionShort = $STR_EQUIP_DESC_21;
class ItemActions {
class Build {
text = $STR_EPOCH_PLAYER_299;
@@ -96,7 +95,7 @@ class BagFenceRound_DZ_kit : CA_Magazine {
class Crafting
{
text = $STR_EPOCH_PLAYER_195;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemEtool","ItemToolbox"};
output[] = {{"ItemSandbag",1}};
@@ -110,8 +109,8 @@ class sandbag_nest_kit: CA_Magazine
scope = public;
count = 1;
type = 256;
displayName = "Sandbag Nest";
descriptionShort = "Sandbag Nest: A buildable fortification object, can be removed.";
displayName = $STR_EQUIP_NAME_21_NEST;
descriptionShort = $STR_EQUIP_DESC_21_NEST;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 50;
@@ -131,22 +130,22 @@ class ItemSandbagLarge : CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "H-barrier cube";
displayName = $STR_EQUIP_NAME_21_HBARRIER;
descriptionShort = $STR_EQUIP_DESC_21_HBARRIER;
model = "\dayz_equip\models\sandbags.p3d"; // TODO model
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
descriptionShort = "Hesco berrier: A buildable object that is used for fortification purposes.";
weight = 50;
class ItemActions {
class Build {
text = "Build H-barrier cube";
text = $STR_EPOCH_PLAYER_273_3;
script = "spawn player_build;";
require[] = {"ItemEtool"};
create = "Land_HBarrier1_DZ";
};
class Crafting
{
text = "Craft Triple H-barrier";
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
text = $STR_EPOCH_PLAYER_273_1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemEtool","ItemToolbox"};
output[] = {{"ItemSandbagExLarge",1}};
@@ -159,22 +158,22 @@ class ItemSandbagExLarge : CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "3 x H-barrier cube";
displayName = $STR_EQUIP_NAME_21_3XHBARRIER;
descriptionShort = $STR_EQUIP_DESC_21_HBARRIER;
model = "\dayz_equip\models\sandbags.p3d"; // TODO model
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
descriptionShort = "Hesco berrier: A buildable object that is used for fortification purposes.";
weight = 150;
class ItemActions {
class Build {
text = "Build Triple H-barrier";
text = $STR_EPOCH_PLAYER_273_4;
script = "spawn player_build;";
require[] = {"ItemEtool"};
create = "Land_HBarrier3_DZ";
};
class Crafting
{
text = "Craft 5x H-barrier";
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
text = $STR_EPOCH_PLAYER_273_2;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemEtool","ItemToolbox"};
output[] = {{"ItemSandbagExLarge5x",1}};
@@ -187,14 +186,14 @@ class ItemSandbagExLarge5x : CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "5 x H-barrier cube";
displayName = $STR_EQUIP_NAME_21_5XHBARRIER;
descriptionShort = $STR_EQUIP_DESC_21_HBARRIER;
model = "\dayz_equip\models\sandbags.p3d"; // TODO model
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
descriptionShort = "Hesco berrier: A buildable object that is used for fortification purposes.";
weight = 200;
class ItemActions {
class Build {
text = "Build 5x H-barrier";
text = $STR_EPOCH_PLAYER_273_5;
script = "spawn player_build;";
require[] = {"ItemEtool"};
create = "Land_HBarrier5_DZ";

View File

@@ -14,7 +14,7 @@ class ItemTankTrap : CA_Magazine
class Build
{
text = $STR_ACTION_BUILD;
script = "spawn player_build;"; //r_action_count = r_action_count + 1; set in sqf
script = "spawn player_build;";
require[] = {"ItemToolbox"};
consume[] = {"ItemTankTrap"};
create = "Hedgehog_DZ";

View File

@@ -8,21 +8,22 @@ class ItemTent : CA_Magazine
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
displayName = $STR_EQUIP_NAME_20;
descriptionShort = $STR_EQUIP_DESC_20;
class ItemActions
{
class Build
{
text = $STR_PITCH_TENT;
script = "spawn player_build;"; //r_action_count = r_action_count + 1; set in sqf
script = "spawn player_build;";
require[] = {};
consume[] = {"ItemTent"};
create = "TentStorage";
//Bypass collision test
bypassCollision = "true";
};
class Crafting
{
text = $STR_EPOCH_PLAYER_270;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"desert_net_kit",1}};
@@ -31,7 +32,7 @@ class ItemTent : CA_Magazine
class Crafting1
{
text = $STR_EPOCH_PLAYER_271;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"forest_net_kit",1}};
@@ -56,15 +57,17 @@ class ItemDomeTent : CA_Magazine
class Build
{
text = $STR_PITCH_DOME_TENT;
script = "spawn player_build;"; //r_action_count = r_action_count + 1; set in sqf
script = "spawn player_build;";
require[] = {};
consume[] = {"ItemDomeTent"};
create = "DomeTentStorage";
//Bypass collision test
bypassCollision = "true";
};
class Crafting1
{
text = $STR_EPOCH_PLAYER_271;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"forest_net_kit",1}};
@@ -73,8 +76,6 @@ class ItemDomeTent : CA_Magazine
};
};
// EPOCH ADDITION
class ItemDesertTent : CA_Magazine
@@ -92,7 +93,7 @@ class ItemDesertTent : CA_Magazine
class Build
{
text = $STR_PITCH_DESERT_TENT;
script = "spawn player_build;"; //r_action_count = r_action_count + 1; set in sqf
script = "spawn player_build;";
require[] = {};
consume[] = {"ItemDesertTent"};
create = "DesertTentStorage";
@@ -100,7 +101,7 @@ class ItemDesertTent : CA_Magazine
class Crafting
{
text = $STR_EPOCH_PLAYER_270;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"desert_net_kit",1}};

View File

@@ -14,7 +14,7 @@ class ItemTrapTripwireCans : CA_Magazine
class Build
{
text = $STR_ACTION_BUILD;
script = "spawn player_build;"; //r_action_count = r_action_count + 1; set in sqf
script = "spawn player_build;";
require[] = {"ItemToolbox"};
consume[] = {"ItemTrapTripwireCans"};
create = "Trap_Cans";

View File

@@ -14,7 +14,7 @@ class ItemWire : CA_Magazine
class Build
{
text = $STR_ACTION_BUILD;
script = "spawn player_build;"; //r_action_count = r_action_count + 1; set in sqf
script = "spawn player_build;";
require[] = {"ItemToolbox"};
consume[] = {"ItemWire"};
create = "Fort_RazorWire"; // 1.8.7 uses Wire_cat1

View File

@@ -59,13 +59,13 @@ class PartWoodPile : CA_Magazine
class ItemActions {
class Build {
text = $STR_ACTIONS_MAKEFIRE;
script = "spawn player_makeFire;";
script = "spawn player_makeFire;"; //Do not use player_build because we have no ghost preview model for Land_Fire_DZ yet
use[] = {"PartWoodPile"};
};
class Crafting
{
text = $STR_EPOCH_PLAYER_242;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"sawmill"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"PartWoodLumber",1}};
@@ -74,7 +74,7 @@ class PartWoodPile : CA_Magazine
class Crafting1
{
text = $STR_EPOCH_PLAYER_243;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemKnife"};
output[] = {{"WoodenArrow",3}};
@@ -84,7 +84,7 @@ class PartWoodPile : CA_Magazine
class Crafting2
{
text = $STR_EPOCH_PLAYER_244;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; // r_action_count = r_action_count + 1;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"stick_fence_kit",1}};

View File

@@ -12,7 +12,7 @@ class ItemWorkBench : CA_Magazine
class ItemActions {
class Build {
text = $STR_BLD_build_ItemWorkBench;//"place WorkBench"
script = "spawn player_build;"; //r_action_count = r_action_count + 1; set in sqf
script = "; ['ItemWorkBench','Build'] spawn player_build;";
require[] = {};
consume[] = {"ItemWorkBench"};
create = "WorkBench";

View File

@@ -8,13 +8,4 @@ class equip_brick : CA_Magazine
picture = "\z\addons\dayz_communityassets\pictures\equip_brick.paa";
displayName = $STR_ITEM_NAME_equip_brick;
descriptionShort = $STR_ITEM_DESC_equip_brick;
class ItemActions
{
class FixKnife
{
text = $STR_ACTIONS_FIX_KNIFE;
script = "; ['ItemKnifeBlunt','ItemKnife'] spawn player_sharpen;";
};
};
};

View File

@@ -69,4 +69,28 @@ class 200Rnd_762x51_M240 : 100Rnd_762x51_M240 {
displayName = "200Rnd. M240";
count = 200;
descriptionShort = "Caliber: 7.62x51mm NATO <br/>Rounds: 200 <br/>Used in: M240, Mk 48 Mod 0";
};
};
class 20Rnd_762x51_B_SCAR : CA_Magazine
{
displayName = $STR_DZ_MAG_20Rnd_762x51_B_SCAR_NAME;
cartridgeName = "762x51";
class ItemActions
{
COMBINE_MAG
};
};
class 20Rnd_762x51_SB_SCAR : CA_Magazine
{
displayName = $STR_DZ_MAG_20Rnd_762x51_SB_SCAR_NAME;
cartridgeName = "762x51_SD";
class ItemActions
{
COMBINE_MAG
};
};

View File

@@ -72,8 +72,10 @@ class 1Rnd_Bolt_Explosive : CA_Magazine
ammo = "explosive_bolt";
};
//TODO: Remove legacy
class WoodenArrow : 1Rnd_Arrow_Wood {};
class Quiver : 12Rnd_Quiver_Wood {};
class Tranquiliser_Bolt : 1Rnd_Bolt_Tranquilizer {};
class Crossbow_EX_Bolt : 1Rnd_Bolt_Explosive {};
/*
//TODO: Remove legacy
class WoodenArrow : 1Rnd_Arrow_Wood {};
class Quiver : 12Rnd_Quiver_Wood {};
class Tranquiliser_Bolt : 1Rnd_Bolt_Tranquilizer {};
class Crossbow_EX_Bolt : 1Rnd_Bolt_Explosive {};
*/

View File

@@ -0,0 +1,81 @@
// Use single slot for everything, let R3F weight handle load
class M136 : CA_LauncherMagazine {
type = WeaponSlotItem;
};
class Javelin : CA_LauncherMagazine {
type = WeaponSlotItem;
};
class AT13 : CA_LauncherMagazine {
type = WeaponSlotItem;
};
class PG7V : CA_LauncherMagazine {
type = WeaponSlotItem;
};
class PG7VL : PG7V {
type = WeaponSlotItem;
};
class PG7VR : PG7V {
type = WeaponSlotItem;
};
class OG7 : CA_LauncherMagazine {
type = WeaponSlotItem;
};
class PG9_AT : CA_LauncherMagazine {
type = WeaponSlotItem;
};
class OG9_HE : CA_LauncherMagazine {
type = WeaponSlotItem;
};
class Stinger : CA_LauncherMagazine {
type = WeaponSlotItem;
};
class SMAW_HEDP : CA_LauncherMagazine {
type = WeaponSlotItem;
};
class SMAW_HEAA : SMAW_HEDP {
type = WeaponSlotItem;
};
class MAAWS_HEDP : CA_LauncherMagazine {
type = WeaponSlotItem;
};
class MAAWS_HEAT : MAAWS_HEDP {
type = WeaponSlotItem;
};
class Strela : CA_LauncherMagazine {
type = WeaponSlotItem;
};
class RPG18 : CA_LauncherMagazine {
type = WeaponSlotItem;
};
class Igla : Strela {
type = WeaponSlotItem;
};
class 2Rnd_Igla : Igla {
type = WeaponSlotItem;
};
class NLAW : CA_LauncherMagazine {
type = WeaponSlotItem;
};
class Dragon_EP1 : CA_LauncherMagazine {
type = WeaponSlotItem;
};

View File

@@ -3,7 +3,7 @@
#define COMBINE_MAG class CombineMag\
{\
text = $STR_MAG_COMBINE;\
script = "spawn player_combineMag; r_action_count = r_action_count + 1;";\
script = "spawn player_combineMag;";\
};
#include "9x18.hpp" //Makarov
@@ -17,5 +17,6 @@
#include "Misc.hpp" //CZ550, Lee-Enfield, Winchester 1866
#include "Shotgun.hpp"
#include "Arrows.hpp"
#include "LauncherAmmo.hpp"
#undef COMBINE_MAG

View File

@@ -45,4 +45,62 @@ class 15Rnd_W1866_Slug : CA_Magazine
{
COMBINE_MAG
};
};
};
class 10Rnd_127x99_m107 : CA_Magazine
{
displayName = $STR_DZ_MAG_10Rnd_127x99_m107_NAME;
cartridgeName = "127x99";
class ItemActions
{
COMBINE_MAG
};
};
class 5Rnd_127x108_KSVK : CA_Magazine
{
displayName = $STR_DZ_MAG_5Rnd_127x108_KSVK_NAME;
cartridgeName = "127x108";
class ItemActions
{
COMBINE_MAG
};
};
class 5Rnd_86x70_L115A1: CA_Magazine
{
displayName = $STR_DZ_MAG_5Rnd_86x70_L115A1_NAME;
cartridgeName = "86x70";
class ItemActions
{
COMBINE_MAG
};
};
class 10Rnd_9x39_SP5_VSS: CA_Magazine
{
displayName = $STR_DZ_MAG_10Rnd_9x39_SP5_VSS_NAME;
cartridgeName = "9x39";
class ItemActions
{
COMBINE_MAG
};
};
class 20Rnd_9x39_SP5_VSS: CA_Magazine
{
displayName = $STR_DZ_MAG_20Rnd_9x39_SP5_VSS_NAME;
cartridgeName = "9x39";
class ItemActions
{
COMBINE_MAG
};
};

View File

@@ -124,4 +124,38 @@ class 2Rnd_12Gauge_Buck : 8Rnd_12Gauge_Buck
};
};
};
};
};
//AA12 Ammo
class 20Rnd_B_AA12_74Slug : CA_Magazine
{
displayName = $STR_DZ_MAG_20Rnd_B_AA12_74Slug_NAME;
cartridgeName = "12Gauge_Slug";
class ItemActions
{
COMBINE_MAG
};
};
class 20Rnd_B_AA12_Pellets : CA_Magazine
{
displayName = $STR_DZ_MAG_20Rnd_B_AA12_Pellets_NAME;
cartridgeName = "12Gauge_Pellets";
class ItemActions
{
COMBINE_MAG
};
};
class 20Rnd_B_AA12_HE : CA_Magazine
{
displayName = $STR_DZ_MAG_20Rnd_B_AA12_HE_NAME;
cartridgeName = "19mm_HE";
class ItemActions
{
COMBINE_MAG
};
};

View File

@@ -71,8 +71,6 @@ class bloodBagOPOS : bloodBagBase
descriptionShort = $STR_BLD_desc_bloodBagOPOS;
};
//Whole blood bags -- Can only be obtained by taking blood from another player.
class wholeBloodBagBase : bloodBagBase
{

View File

@@ -1,8 +1,8 @@
class ItemFertilizer: CA_Magazine {
scope = public;
count = 1;
displayName = "Fertilizer";
descriptionShort = "Fertilizer";
displayName = $STR_CRAFT_NAME_FERTILIZER;
descriptionShort = $STR_CRAFT_DESC_FERTILIZER;
weight = 0.1;
model = "z\addons\dayz_communityassets\models\mre.p3d"; // TODO: model + icon
picture = "\z\addons\dayz_communityassets\pictures\equip_mre_CA.paa";
@@ -12,8 +12,8 @@ class ItemFertilizer: CA_Magazine {
class ItemPumpkinSeed: CA_Magazine {
scope = public;
count = 1;
displayName = "A Pumpkin Seed";
descriptionShort = "A Pumpkin Seed";
displayName = $STR_CRAFT_NAME_PUMPKIN_SEED;
descriptionShort = $STR_CRAFT_DESC_PUMPKIN_SEED;
weight = 0.1;
model = "\z\addons\dayz_epoch\models\doc_child1.p3d"; // TODO: model + icon
picture = "\z\addons\dayz_epoch\pictures\equip_child1_ca.paa";
@@ -34,8 +34,8 @@ class ItemPumpkinSeed: CA_Magazine {
class ItemPumpkinPlant: CA_Magazine {
scope = public;
count = 1;
displayName = "A Pumpkin Plant";
descriptionShort = "A Pumpkin Plant";
displayName = $STR_CRAFT_NAME_PUMPKIN_PLANT;
descriptionShort = $STR_CRAFT_DESC_PUMPKIN_PLANT;
weight = 0.1;
model = "\z\addons\dayz_epoch\models\doc_child1.p3d"; // TODO: model + icon
picture = "\z\addons\dayz_epoch\pictures\equip_child1_ca.paa";
@@ -54,8 +54,8 @@ class ItemPumpkinPlant: CA_Magazine {
class ItemHempSeed: CA_Magazine {
scope = public;
count = 1;
displayName = "A Hemp Seed";
descriptionShort = "A Hemp Seed";
displayName = $STR_CRAFT_NAME_HEMP_SEED;
descriptionShort = $STR_CRAFT_DESC_HEMP_SEED;
weight = 0.1;
model = "\z\addons\dayz_epoch\models\doc_child2.p3d"; // TODO: model + icon
picture = "\z\addons\dayz_epoch\pictures\equip_child2_ca.paa";
@@ -76,8 +76,8 @@ class ItemHempSeed: CA_Magazine {
class ItemHempPlant: CA_Magazine {
scope = public;
count = 1;
displayName = "A Hemp Plant";
descriptionShort = "A Hemp Plant";
displayName = $STR_CRAFT_NAME_HEMP_PLANT;
descriptionShort = $STR_CRAFT_DESC_HEMP_PLANT;
weight = 0.1;
model = "\z\addons\dayz_epoch\models\doc_child2.p3d"; // TODO: model + icon
picture = "\z\addons\dayz_epoch\pictures\equip_child2_ca.paa";

View File

@@ -15,7 +15,7 @@ class HandRoadFlare : HandGrenade
class CombineMag
{
text = $STR_MAG_COMBINE;
script = "spawn player_combineMag; r_action_count = r_action_count + 1;";
script = "spawn player_combineMag;";
};
};
};
@@ -37,7 +37,7 @@ class HandChemBlue : HandGrenade
class CombineMag
{
text = $STR_MAG_COMBINE;
script = "spawn player_combineMag; r_action_count = r_action_count + 1;";
script = "spawn player_combineMag;";
};
};
};
@@ -59,7 +59,7 @@ class HandChemGreen : HandGrenade
class CombineMag
{
text = $STR_MAG_COMBINE;
script = "spawn player_combineMag; r_action_count = r_action_count + 1;";
script = "spawn player_combineMag;";
};
};
};
@@ -81,7 +81,7 @@ class HandChemRed : HandGrenade
class CombineMag
{
text = $STR_MAG_COMBINE;
script = "spawn player_combineMag; r_action_count = r_action_count + 1;";
script = "spawn player_combineMag;";
};
};
};

View File

@@ -105,3 +105,39 @@ class ItemTrashToiletpaper : CA_Magazine
displayName = $STR_JUNK_NAME_TOILETPAPER;
descriptionShort = $STR_JUNK_DESC_TOILETPAPER;
};
class FoodChipsSulahoopsEmpty : CA_Magazine
{
scope = public;
count = 1;
type = WeaponSlotItem;
model = "z\addons\dayz_communityassets\models\bag_chips_small_sulahoops_opened.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_sulahoops_opened_ca.paa";
displayName = $STR_FOOD_NAME_CHIPS_EMPTY;
descriptionShort = $STR_FOOD_DESC_CHIPS_EMPTY;
};
class FoodChipsMysticalesEmpty : CA_Magazine
{
scope = public;
count = 1;
type = WeaponSlotItem;
model = "z\addons\dayz_communityassets\models\bag_chips_small_mysticales_opened.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_mysticales_opened_ca.paa";
displayName = $STR_FOOD_NAME_CHIPS_EMPTY;
descriptionShort = $STR_FOOD_DESC_CHIPS_EMPTY;
};
class FoodChipsChocolateEmpty : CA_Magazine
{
scope = public;
count = 1;
type = WeaponSlotItem;
model = "z\addons\dayz_communityassets\models\bag_chips_small_chocolate_opened.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_chocolate_empty_ca.paa";
displayName = $STR_FOOD_NAME_CHIPS_EMPTY;
descriptionShort = $STR_FOOD_DESC_CHIPS_EMPTY;
};

View File

@@ -172,28 +172,4 @@ class FoodCanRusCornEmpty : TrashTinCan
picture = "\z\addons\dayz_communityassets\pictures\equip_can_small_rus_corn_clean_empty_ca.paa";
displayName = $STR_FOOD_NAME_CAN_EMPTY;
descriptionShort = $STR_FOOD_DESC_CAN_EMPTY;
};
class FoodChipsSulahoopsEmpty : TrashTinCan
{
model = "z\addons\dayz_communityassets\models\bag_chips_small_sulahoops_opened.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_sulahoops_opened_ca.paa";
displayName = $STR_FOOD_NAME_CHIPS_EMPTY;
descriptionShort = $STR_FOOD_DESC_CHIPS_EMPTY;
};
class FoodChipsMysticalesEmpty : TrashTinCan
{
model = "z\addons\dayz_communityassets\models\bag_chips_small_mysticales_opened.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_mysticales_opened_ca.paa";
displayName = $STR_FOOD_NAME_CHIPS_EMPTY;
descriptionShort = $STR_FOOD_DESC_CHIPS_EMPTY;
};
class FoodChipsChocolateEmpty : TrashTinCan
{
model = "z\addons\dayz_communityassets\models\bag_chips_small_chocolate_opened.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_chocolate_empty_ca.paa";
displayName = $STR_FOOD_NAME_CHIPS_EMPTY;
descriptionShort = $STR_FOOD_DESC_CHIPS_EMPTY;
};
};

View File

@@ -14,7 +14,7 @@ class ItemSodaEmpty : HandGrenade
class Drink
{
text = $STR_ACTIONS_DRINK2;
script = "spawn player_drinkWater;";
script = ";[_id] spawn player_fillWater;";
};
class Crafting {
text = "Melt into Bars";
@@ -43,7 +43,7 @@ class TrashTinCan : HandGrenade
class Drink
{
text = $STR_ACTIONS_DRINK2;
script = "spawn player_drinkWater;";
script = ";[_id] spawn player_fillWater;";
};
class Crafting {
text = "Melt into Bars";

View File

@@ -66,4 +66,62 @@ class 50Rnd_127x107_DSHKM : CA_Magazine {
lastRoundsTracer = 5;
nameSound = "mgun";
weight = 4;
};
//Pook stuff
class pook_1300Rnd_762x51_M60: CA_Magazine
{
scope = 2;
displayName = "Pook 1300Rnd. 7.62";
descriptionShort = "Caliber: 7.62x51mm <br/>Rounds: 1300 <br/>Used in: Pook H13 Gunship";
ammo = "pook_762x51_M60";
count = 1300;
tracersEvery = 5;
maxLeadSpeed = 200;
nameSound = "mgun";
picture = "\z\addons\dayz_epoch\pictures\equip_m134_mag_ca.paa";
model = "\z\addons\dayz_epoch\models\m134_mag.p3d";
type = "256";
weight = 20;
};
class pook_250Rnd_762x51: CA_Magazine
{
scope = 2;
displayName = "Pook 250Rnd. M240";
picture = "\CA\weapons\data\equip\m_m240_ca.paa";
count = 250;
type = "256";
ammo = "B_762x51_Ball";
initSpeed = 900;
tracersEvery = 4;
lastRoundsTracer = 4;
nameSound = "mgun";
descriptionShort = "Caliber: 7.62x51mm NATO <br/>Rounds: 250 <br/>Used in: Pook H13 Transport";
model = "\ca\CommunityConfigurationProject_E\Gameplay_ActualModelsOfWeaponMagazinesVisibleOnTheGround\p3d\100Rnd_762x51_M240.p3d";
weight = 8;
};
class pook_12Rnd_Grenade_Camel: CA_Magazine
{
scope = 2;
ammo = "pook_camel_HE";
count = 12;
displayName = "12Rnd. Pook Grenade";
initSpeed = 3;
maxLeadSpeed = 200;
nameSound = "grenade";
type = "256";
picture = "\CA\weapons_E\Data\icons\m_6x40mmHP_CA.paa";
};
//mozzie
class 3Rnd_GyroGrenade: CA_Magazine
{
scope = 2;
displayName = "3Rnd. Autogyro Grenade";
ammo = "GyroGrenade";
count = 3;
initSpeed = 3;
maxLeadSpeed = 200;
nameSound = "grenade";
type = "256";
picture = "\CA\weapons_E\Data\icons\m_6x40mmHP_CA.paa";
};

View File

@@ -19,11 +19,21 @@ class Category_693 {
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Attachment_MFL_Pist {
type = "trade_items";
buy[] = {4,"ItemGoldBar"};
sell[] = {2,"ItemGoldBar"};
};
class Attachment_FL {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Attachment_MFL {
type = "trade_items";
buy[] = {4,"ItemGoldBar"};
sell[] = {2,"ItemGoldBar"};
};
class Attachment_CCO {
type = "trade_items";
buy[] = {4,"ItemGoldBar"};

View File

@@ -9,7 +9,12 @@ class Category_577 {
buy[] = {4,"ItemSilverBar10oz"};
sell[] = {2,"ItemSilverBar10oz"};
};
class 20Rnd_762x51_SB_SCAR {
class 20Rnd_762x51_B_SCAR {
type = "trade_items";
buy[] = {6,"ItemGoldBar"};
sell[] = {3,"ItemGoldBar"};
};
class 20Rnd_762x51_SB_SCAR {
type = "trade_items";
buy[] = {1,"ItemGoldBar"};
sell[] = {5,"ItemSilverBar10oz"};
@@ -21,8 +26,8 @@ class Category_577 {
};
class 20Rnd_762x51_DMR {
type = "trade_items";
buy[] = {6,"ItemGoldBar"};
sell[] = {3,"ItemGoldBar"};
buy[] = {8,"ItemGoldBar"};
sell[] = {4,"ItemGoldBar"};
};
class 5Rnd_86x70_L115A1 {
type = "trade_items";

View File

@@ -59,4 +59,65 @@ class Category_575 {
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_RU_Soldier_Crew_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
//new Epoch 1.06
class Skin_TK_INS_Soldier_AR_EP1_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_TK_GUE_Soldier_EP1_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_RU_Soldier_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_RU_Soldier_Officer_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_RUS_Soldier1_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_RUS_Commander_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_MVD_Soldier_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_Ins_Soldier_2_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_Ins_Commander_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_Ins_Soldier_Crew_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_CDF_Soldier_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
};

View File

@@ -19,11 +19,21 @@ class Category_627 {
buy[] = {2,"ItemGoldBar10oz"};
sell[] = {1,"ItemGoldBar10oz"};
};
class SCAR_H_LNG_Sniper {
type = "trade_weapons";
buy[] = {6,"ItemGoldBar10oz"};
sell[] = {3,"ItemGoldBar10oz"};
};
class SCAR_H_LNG_Sniper_SD {
type = "trade_weapons";
buy[] = {2,"ItemGoldBar10oz"};
sell[] = {1,"ItemGoldBar10oz"};
};
class M110_NVG_EP1 {
type = "trade_weapons";
buy[] = {7,"ItemGoldBar10oz"};
sell[] = {4,"ItemGoldBar10oz"};
};
class DMR_DZ {
type = "trade_weapons";
buy[] = {6,"ItemGoldBar10oz"};

View File

@@ -49,6 +49,41 @@ class Category_485 {
buy[] = {1,"ItemGoldBar10oz"};
sell[] = {5,"ItemGoldBar"};
};
class SCAR_L_CQC {
type = "trade_weapons";
buy[] = {7,"ItemGoldBar"};
sell[] = {3,"ItemGoldBar"};
};
class SCAR_L_CQC_CCO_SD {
type = "trade_weapons";
buy[] = {2,"ItemGoldBar10oz"};
sell[] = {8,"ItemGoldBar"};
};
class SCAR_L_CQC_Holo {
type = "trade_weapons";
buy[] = {8,"ItemGoldBar"};
sell[] = {4,"ItemGoldBar"};
};
class SCAR_L_CQC_EGLM_Holo {
type = "trade_weapons";
buy[] = {1,"ItemGoldBar10oz"};
sell[] = {5,"ItemGoldBar"};
};
class SCAR_L_STD_EGLM_RCO {
type = "trade_weapons";
buy[] = {2,"ItemGoldBar10oz"};
sell[] = {7,"ItemGoldBar"};
};
class SCAR_L_STD_HOLO {
type = "trade_weapons";
buy[] = {8,"ItemGoldBar"};
sell[] = {4,"ItemGoldBar"};
};
class SCAR_L_STD_Mk4CQT {
type = "trade_weapons";
buy[] = {8,"ItemGoldBar"};
sell[] = {4,"ItemGoldBar"};
};
class L85_Holo_DZ {
type = "trade_weapons";
buy[] = {6,"ItemGoldBar"};
@@ -59,6 +94,11 @@ class Category_485 {
buy[] = {6,"ItemGoldBar"};
sell[] = {3,"ItemGoldBar"};
};
class BAF_L85A2_RIS_ACOG {
type = "trade_weapons";
buy[] = {1,"ItemGoldBar10oz"};
sell[] = {5,"ItemGoldBar"};
};
class SA58_DZ {
type = "trade_weapons";
buy[] = {2,"ItemGoldBar"};

View File

@@ -1,5 +1,5 @@
class Category_538 {
class DZ_Czech_Vest_Puch {
class DZ_Czech_Vest_Pouch {
type = "trade_backpacks";
buy[] = {4,"ItemSilverBar"};
sell[] = {2,"ItemSilverBar"};
@@ -29,6 +29,11 @@ class Category_538 {
buy[] = {8,"ItemSilverBar10oz"};
sell[] = {4,"ItemSilverBar10oz"};
};
class DZ_CompactPack_EP1 {
type = "trade_backpacks";
buy[] = {1,"ItemGoldBar"};
sell[] = {5,"ItemSilverBar10oz"};
};
class DZ_British_ACU {
type = "trade_backpacks";
buy[] = {4,"ItemGoldBar"};

View File

@@ -44,16 +44,21 @@ class Category_678 {
buy[] = {6,"ItemSilverBar"};
sell[] = {3,"ItemSilverBar"};
};
class equip_lever {
type = "trade_items";
buy[] = {6,"ItemSilverBar"};
sell[] = {3,"ItemSilverBar"};
};
class equip_nails {
type = "trade_items";
buy[] = {2,"ItemSilverBar"};
sell[] = {1,"ItemSilverBar"};
};
class equip_scrapelectronics {
/* class equip_scrapelectronics {
type = "trade_items";
buy[] = {4,"ItemGoldBar"};
sell[] = {2,"ItemGoldBar"};
};
}; */
class equip_metal_sheet {
type = "trade_items";
buy[] = {2,"ItemSilverBar10oz"};
@@ -94,7 +99,7 @@ class Category_678 {
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class 30m_plot_kit {
class plot_pole_kit {
type = "trade_items";
buy[] = {6,"ItemGoldBar10oz"};
sell[] = {6,"ItemGoldBar10oz"};
@@ -109,6 +114,11 @@ class Category_678 {
buy[] = {1,"ItemBriefcase100oz"};
sell[] = {1,"ItemBriefcase100oz"};
};
class ItemMixOil {
type = "trade_items";
buy[] = {8,"ItemSilverBar"};
sell[] = {4,"ItemSilverBar"};
};
};
class Category_680 {

View File

@@ -49,7 +49,7 @@ class Category_564 {
buy[] = {2,"ItemGoldBar10oz"};
sell[] = {1,"ItemGoldBar10oz"};
};
class Kamaz {
class Kamaz_DZE {
type = "trade_any_vehicle";
buy[] = {2,"ItemGoldBar10oz"};
sell[] = {1,"ItemGoldBar10oz"};

View File

@@ -79,8 +79,59 @@ class Category_628 {
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_INS_Lopotev_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
//new Epoch 1.06
class Skin_Doctor_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_Assistant_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_Worker1_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_Worker3_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_Worker4_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_TK_CIV_Takistani01_EP1_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_TK_CIV_Takistani03_EP1_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_TK_CIV_Takistani04_EP1_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_TK_CIV_Takistani06_EP1_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
};
class Category_689 {
duplicate = 628;
};
};

View File

@@ -1,4 +1,9 @@
class Category_486 {
class BAF_L86A2_ACOG {
type = "trade_weapons";
buy[] = {1,"ItemGoldBar10oz"};
sell[] = {5,"ItemGoldBar"};
};
class L110A1_DZ {
type = "trade_weapons";
buy[] = {1,"ItemGoldBar10oz"};

View File

@@ -90,4 +90,29 @@ class Category_541 {
buy[] = {1,"ItemSilverBar"};
sell[] = {1,"ItemSilverBar"};
};
class equip_string {
type = "trade_items";
buy[] = {1,"ItemSilverBar"};
sell[] = {1,"ItemSilverBar"};
};
class equip_gauze {
type = "trade_items";
buy[] = {1,"ItemSilverBar"};
sell[] = {1,"ItemSilverBar"};
};
class equip_gauzepackaged {
type = "trade_items";
buy[] = {1,"ItemSilverBar"};
sell[] = {1,"ItemSilverBar"};
};
class equip_rag {
type = "trade_items";
buy[] = {1,"ItemSilverBar"};
sell[] = {1,"ItemSilverBar"};
};
class equip_herb_box {
type = "trade_items";
buy[] = {1,"ItemSilverBar"};
sell[] = {1,"ItemSilverBar"};
};
};

View File

@@ -6,13 +6,13 @@ class Category_624 {
};
class 5Rnd_762x51_M24 {
type = "trade_items";
buy[] = {1,"ItemSilverBar10oz"};
sell[] = {5,"ItemSilverBar"};
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class 20Rnd_762x51_DMR {
type = "trade_items";
buy[] = {6,"ItemGoldBar"};
sell[] = {3,"ItemGoldBar"};
buy[] = {8,"ItemGoldBar"};
sell[] = {4,"ItemGoldBar"};
};
class 10Rnd_762x54_SVD {
type = "trade_items";

View File

@@ -16,7 +16,7 @@ class Category_679 {
};
class ItemGPS {
type = "trade_weapons";
buy[] = {2,"ItemGoldBar"};
buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {1,"ItemGoldBar"};
};
class Binocular {
@@ -26,14 +26,21 @@ class Category_679 {
};
class Binocular_Vector {
type = "trade_weapons";
buy[] = {2,"ItemGoldBar"};
buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {1,"ItemGoldBar"};
};
class NVGoggles {
type = "trade_weapons";
buy[] = {4,"ItemGoldBar"};
buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {1,"ItemGoldBar"};
};
/*
class NVGoggles_DZE {
type = "trade_weapons";
buy[] = {6,"ItemGoldBar"};
sell[] = {3,"ItemGoldBar"};
};
*/
class ItemFlashlight {
type = "trade_weapons";
buy[] = {2,"ItemSilverBar"};

View File

@@ -49,11 +49,6 @@ class Category_677 {
buy[] = {2,"ItemSilverBar"};
sell[] = {1,"ItemSilverBar"};
};
class ItemMixOil {
type = "trade_items";
buy[] = {8,"ItemSilverBar"};
sell[] = {4,"ItemSilverBar"};
};
};
class Category_682 {

View File

@@ -64,4 +64,80 @@ class Category_476 {
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
//new Epoch 1.06
class Skin_USMC_Soldier_Officer_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_USMC_Soldier_MG_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_USMC_Soldier_Pilot_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_FR_TL_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_FR_R_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_FR_Sapper_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_FR_Marksman_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_FR_Assault_R_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_CZ_Soldier_SL_DES_EP1_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_US_Soldier_EP1_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_UN_CDF_Soldier_Guard_EP1_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_UN_CDF_Soldier_EP1_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_GER_Soldier_TL_EP1_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_BAF_Soldier_Officer_MTP_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Skin_BAF_Soldier_N_MTP_DZ {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
};

View File

@@ -1,25 +1,35 @@
class Category_517 {
class GNT_C185U {
class GNT_C185U_DZ {
type = "trade_any_vehicle";
buy[] = {4,"ItemGoldBar10oz"};
sell[] = {2,"ItemGoldBar10oz"};
};
class GNT_C185 {
class GNT_C185_DZ {
type = "trade_any_vehicle";
buy[] = {4,"ItemGoldBar10oz"};
sell[] = {2,"ItemGoldBar10oz"};
};
class GNT_C185R {
class GNT_C185R_DZ {
type = "trade_any_vehicle";
buy[] = {4,"ItemGoldBar10oz"};
sell[] = {2,"ItemGoldBar10oz"};
};
class GNT_C185C {
class GNT_C185C_DZ {
type = "trade_any_vehicle";
buy[] = {4,"ItemGoldBar10oz"};
sell[] = {2,"ItemGoldBar10oz"};
};
class AN2_DZ {
class AN2_DZ { //Green
type = "trade_any_vehicle";
buy[] = {4,"ItemGoldBar10oz"};
sell[] = {2,"ItemGoldBar10oz"};
};
class AN2_2_DZ { //Red and white
type = "trade_any_vehicle";
buy[] = {4,"ItemGoldBar10oz"};
sell[] = {2,"ItemGoldBar10oz"};
};
class An2_2_TK_CIV_EP1_DZ { //Green and white
type = "trade_any_vehicle";
buy[] = {4,"ItemGoldBar10oz"};
sell[] = {2,"ItemGoldBar10oz"};

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