Commit Graph

3267 Commits

Author SHA1 Message Date
worldwidesorrow
390aa9a0f7 Delete load_wounded.sqf 2019-12-11 18:33:20 -06:00
worldwidesorrow
269e5b1182 Delete load_act.sqf 2019-12-11 18:33:13 -06:00
worldwidesorrow
cbca10ccae New files uploaded for the load functions
These files are heavily edited, so it is easier to just upload new copies.
2019-12-11 18:17:42 -06:00
worldwidesorrow
fdec545635 Updates to public variables
Public variables used in the carry and drag functions are only compiled on the client. Only the server can use these PVs. They should be blacklisted in Battleye publicvariable.txt. PVDZ_sendUnconscious has been replaced by PVDZ_Send with server side security.
2019-12-11 18:13:17 -06:00
worldwidesorrow
7b11a0ef8f Move medical functions to !isDedicated
These functions are only used by the client.
2019-12-11 18:02:30 -06:00
worldwidesorrow
a4c0638a36 Updates for medical and load actions
Add unconscious array to unload action. Add the carry action. Add the rest of the bloodbags to the bloodbag array. The typed bloodbags get their own actions so the player can select which bloodbag to administer. Alter the sepsis bandage option with a new localized string. NORRN_loadWoundedAction variable is no longer necessary. Remove redundant gear checks.
2019-12-11 17:59:51 -06:00
worldwidesorrow
1f60617862 Change to an inline function with exitWith
In cases like this where only one selection is required, the switch option is not the best option because it is slow. Using an inline function with exitWith, the most common options are placed at the top with the least common options placed near the bottom.
2019-12-11 17:38:51 -06:00
worldwidesorrow
65221ec477 Add server side security
This can be used to break a player's legs.
2019-12-11 17:34:23 -06:00
A Man
deeb135e0d Revert enablemanualfire for transport pook 2019-12-10 22:39:17 +01:00
A Man
02c910078a Add 2 new cargo truck version
This adds 2 new versions of cargo trucks. A truck for items and a truck for weapons. Also setting the supplyRadius for every refuel, reammo and repair truck to 0. Just to be sure.
2019-12-10 22:29:27 +01:00
A Man
d542304afe Add Jackal to the game 2019-12-10 20:58:51 +01:00
A Man
043fde2816 Clean up CH47 Configs 2019-12-09 17:47:29 +01:00
A Man
a86538c6f3 Clean up UAZ MG configs 2019-12-08 12:30:02 +01:00
A Man
8030ad69f9 Clean up offroad DSHKM configs 2019-12-08 12:29:50 +01:00
A Man
86dce486b9 Clean up Armored SUV configs 2019-12-08 11:52:40 +01:00
A Man
1186aa29bc Adding Mozzie DZ/DZE version
Ive moved the mozzie configs to helicopters. The new Mozzie versions have a small gear count of (1,3,1) so it is possible to open the gear in the heli now.
2019-12-08 11:49:17 +01:00
A Man
e811e5825d Fix wrong map item 2019-12-08 10:24:42 +01:00
A Man
38a3129093 Fix RHIB_DZ version, adding RHIB_DZE boats
Server admins should switch to the RHIB_DZ or RHIB_DZE version. The normal RHIB boats are from arma and should not be overwritten from the epoch configs as it was the case before. This commit restores the acutal configs and alters them to the new versions.
2019-12-08 10:24:16 +01:00
A Man
6b5ebe3c5d Adding BTR-40 DSHKM versions 2019-12-08 09:53:40 +01:00
A Man
bd18d3be14 Clean up CH53 configs
In consultation with Seelenapparat we changed the configs from the ch53. This removes strop down and up, the collect and detach cargo options. both actions are not really used in epoch and needed an init script which runs permanently while in the helicopter. It is the same for the sfx sounds from this helicopter. In this special case we decided that performance is more valuable as the removed actions. If someone uses the removed actions in scripts or something like that please message me on discord.
2019-12-07 18:32:56 +01:00
A Man
bdbe130d60 Clean up vodnik config 2019-12-07 18:22:18 +01:00
A Man
c614eda18b Adding AH1Z_DZE version 2019-12-07 15:12:43 +01:00
A Man
7e451c5902 Adding DZ/DZE pook classes
The pook has  a DZ/DZE version now. Server admins can still use the old pook classes if it is needed. The new classes were added to the traders. We should probably evaluate if it is a good idea to add the gunner bell by default to the traders.
2019-12-07 14:45:32 +01:00
A Man
fc9cb679ce Update UH60 Configs
Clean up the UH60 Configs and correct the fuel capacity of the UH60M. Also adding the missing gunner localizations.
2019-12-07 14:10:49 +01:00
A Man
f0e08f226e Update fuel capacity for mi17 civil
It should have the same fuel capacity as the other not armed MIs.
2019-12-07 14:08:50 +01:00
A Man
92700e8a2e Update trader files
This commit re-build the complete traders and almost all the files related with them. It is much easier for new server admins to handle a map change with traders and safe zones now.

- Fixing many wrong set markers.
- Fixing wrong trader agent positions.
- The trader configs got re-build.
- All trader categories have a localization now. I've noticed too late that we already have a CL for the categories so I've merged them into epoch.
- Fixing dupable objects in the spawned trader cities.
- Adding missing sensors for all traders.
- Removing many duplicated trader categories inside the trader files.
- Adding Safe Zone support for all traders excluded Wholersalers, Boat Traders and Dock Traders.
- Removing Mello trader on Panthera due to many trader cites.
- Namalsk and Lingor traders got completely re-build. Thx @devlok for building the trader cities.
- Sauerland has a Boat Trader now.
- Removing wrong markers from Ovaron.
- Ruegen and Ovaron have no traders so far. We will probaly add them later.
2019-12-04 17:52:31 +01:00
A Man
57a1f3cfa9 Localize and clean up trade_items_wo_db 2019-12-03 23:54:04 +01:00
A Man
b7892bfc68 Add animation to player_sharpen 2019-12-03 23:52:23 +01:00
worldwidesorrow
bf9dc49be2 Add option for VectorUp on spawned objects.
Some of the objects used in POIs require the use of the setVectorUp command in order to maintain an upright orientation on a sloped surface. This addition adds the option for including the object's up vector in the compact arrays.
Test file: https://github.com/worldwidesorrow/Svetlojarsk
2019-11-22 11:50:11 -06:00
A Man
d0738a1298 Add missing pick-up localization 2019-11-18 21:14:48 +01:00
A Man
c549970270 Update changelog 2019-11-18 19:50:28 +01:00
A Man
bd33064237 Localize missing gunner positions 2019-11-18 19:39:17 +01:00
A Man
862cf39a8f Lower fuel capacity for MH6J to match with AH6
The MH6J had the wrong fuel capacity.
2019-11-18 19:04:15 +01:00
A Man
e36e3cc429 Localize vehicle names
This commit also removes the displaynameshort. We do not need it any longer.
2019-11-18 19:02:02 +01:00
A Man
5c3f21626b Fix invisible backseat bug, add localization 2019-11-18 18:03:54 +01:00
A Man
279790459e Correct Armed Little Bird string 2019-11-18 12:04:13 +01:00
A Man
9ab576facc Add missing BRDM2_HQ_TK_GUE_EP1_DZE
This also extend the gunner optics angle so the PKT can be better used now.
2019-11-18 11:50:01 +01:00
A Man
cbf3760c98 Add missing Mi171Sh_CZ_EP1_DZE 2019-11-18 11:17:57 +01:00
worldwidesorrow
76721e38d6 Add new sounds for opening vaults. 2019-11-17 19:16:14 -06:00
worldwidesorrow
61258c919a Add new sounds for closing vaults. 2019-11-17 19:13:56 -06:00
worldwidesorrow
e96be4b484 Fixed default value for USEC_BloodQty
Thanks to @IsGoose for finding this: https://github.com/EpochModTeam/DayZ-Epoch/issues/2045
2019-11-17 18:37:54 -06:00
A Man
49378f62b3 Remove DB traders 2019-11-16 19:06:32 +01:00
A Man
37f623701e Merge pull request #2044 from worldwidesorrow/master
Updates to zombie and loot spawning
2019-11-13 10:03:12 +01:00
A Man
e1ee80d02e Remove unused object_dismantle 2019-11-13 10:01:24 +01:00
worldwidesorrow
ed2da0d02b Remove r_player_divideinvehicle 2019-11-11 20:43:16 -06:00
worldwidesorrow
ea527fe991 Update several things in this file.
Move zombie and loot related operations from player_spawn_2. They should be in this file. They are used here for accurate counts before spawning zombies and loot.
Make better use of global variables for zombie and loot checks.
Add lazy eval where appropriate.
2019-11-11 20:27:16 -06:00
worldwidesorrow
7921687ef4 Remove redundancy.
Variables are passed from player_spawnCheck so there is no need to gather the information to perform an isClass check.
2019-11-11 20:02:34 -06:00
worldwidesorrow
bedc52cc76 Remove redundant operations
The isClass and config checks are done in player_spawnCheck. There is no reason to do that here. Those variables are being passed in an array during the function call.  Global variables dayz_spawnZombies and dayz_maxControlledZombies used in spawn checks are adjusted in player_spawnCheck and zombie_generate. There is no reason to save to local variables.
2019-11-11 19:45:33 -06:00
worldwidesorrow
e734b03be0 Remove redundant checks already being performed elsewhere
The checks are already being performed in player_spawnCheck and building_spawnZombies. There is no reason to perform them here.
2019-11-11 19:33:07 -06:00
worldwidesorrow
a05a70efb4 Move zombie and loot spawn checks to player_spawnCheck 2019-11-11 15:12:35 -06:00