Commit Graph

36 Commits

Author SHA1 Message Date
AirwavesMan
847d6b873f Increase upgrade distance 2020-09-23 13:36:36 +02:00
AirwavesMan
673c705aeb Add upgradable safes and lockboxes
- Safes and lockboxes can be upgraded now.
- A winter lockbox version was added too. The current model and icon will be replaced later for the new lockbox.
- Calling Child 308 on the DB has no room for storing coins, this is why we need to update coins and gear after swaping the object. Same for upgrade vehicle
2020-09-12 01:18:57 +02:00
AirwavesMan
e60d957f43 Update upgrade vehicle
- Server admins can exclude certain vehicles from a vehicle upgrade now.
- Vehicle upgrade has a tool check now and all needed materials will be displayed.

The configs for the vehicle upgrades will be updated soon for the new changes.
2020-07-26 19:05:48 +02:00
A Man
970fa0edba Add waiting message for player_upgradeVehicle 2020-05-13 12:08:29 +02:00
ebayShopper
694ea87d0d Update scripts.txt
- Updated exceptions, added new filters and removed some which were not
useful
- Removed exceptions for testkit because it is not part of the mod
- Added notes to clarify for now, will move this info to BI wiki later
- Removed two unused files
2017-12-26 00:55:10 -05:00
ebayShopper
42e00475d6 Add sender verification to publish and swap object
Continuation of 8035df0

This is important to have on publish to identify cheaters who spam
create objects in the database or create objects with bad inventory.

- Renamed variables to backport to vanilla
- Removed % and & due to code filtering in publicvariableval.txt

Changes in modular_build.sqf were the same as player_build.sqf.

Tested with building, upgrading buildable/vehicle/tent, downgrading,
buying a vehicle, destroying tent and removing an object.
2017-11-03 16:09:14 -04:00
ebayShopper
48858b2e6c Add medic anim function with proper interrupt
Closes #1386

Vanilla commits
applied:
f99a3deced
731b957e8e

Removed
two unused files and a few variables made redundant by actionInProgress
2017-06-06 15:25:14 -04: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
ebaydayz
d30b7b5ffc Prevent queuing multiple vehicle upgrades 2017-01-27 20:23:36 -05: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
5157228e67 Update all cutText to dayz_rollingMessages 2016-04-16 15:47:49 -04:00
ebaydayz
666ace6d54 Cleanup duplicate and unused strings
Cargo count is shown at the top of the gear menu now
2016-04-04 16:58:59 -04:00
ebaydayz
e2e6e79394 Minor formatting cleanup 2016-03-21 17:58:23 -04:00
ebaydayz
9bbeb1e43e Use nearEntities for empty drivable vehicles
NearEntities is faster and works fine for empty drivable vehicles that
are not destroyed.
2016-02-22 16:52:39 -05:00
ebaydayz
8421ad0394 Reveal new vehicle class after upgrade
Fixes not being able to access the vehicle immediately after upgrading.
2016-02-16 14:00:07 -05:00
icomrade
6b9b176736 More #1288 2014-06-01 03:29:44 -04:00
icomrade
e54b9983dd Replace forEach with Count
Use count where you do not need _forEachIndex variable, it's quicker
than forEach.
2014-05-27 15:37:57 -04:00
Florian Kinder
970f4854f8 Disabled Debug 2014-02-15 02:38:59 +01:00
Florian Kinder
4954d41389 update upgradeVehicle 2014-02-15 00:32:36 +01:00
Florian Kinder
1d60f7b1bb New vehicle upgrade system
Need test with datsun vehicle to ensure it works fine
2014-02-14 13:26:20 +01:00
HARLAN
d5eedc1908 localize 2013-12-23 12:31:05 -05:00
[VB]AWOL
3e6bb42436 doh more typos 2013-12-04 21:18:12 -06:00
[VB]AWOL
958a1960fc fixed wrong var name 2013-12-04 20:54:15 -06:00
[VB]AWOL
6ddd59f474 recode vehicle upgrade system 2013-12-04 16:23:01 -06:00
[VB]AWOL
63e71959b9 debug for vehicle upgrade setdir 2013-12-04 15:23:54 -06:00
HARLAN
295a5e114f Merge pull request #840 from dayz10k/master
#835 adding success message to good upgrade
2013-12-03 11:20:45 -08:00
HARLAN
17fa72be96 #835 adding success message to good upgrade 2013-12-03 14:19:54 -05:00
HARLAN
1c10f00f05 Merge pull request #839 from dayz10k/master
#835 vehicle upgrade wipes cargo
2013-12-03 11:12:32 -08:00
HARLAN
7287d03539 #835 vehicle upgrade wipes cargo 2013-12-03 14:11:56 -05:00
[VB]AWOL
436e5b334f try direction here instead 2013-12-03 11:49:50 -06:00
[VB]AWOL
1298055450 missed GV, disallow upgrade if another player inside vehicle 2013-12-02 10:09:23 -06:00
[VB]AWOL
94877c1ce6 cannot perform an upgrade while still inside a vehicle 2013-12-02 10:05:20 -06:00
Zac Surplice
6a58370670 small change 2013-11-27 15:42:38 +11:00
[VB]AWOL
26702cc8e3 vehicle upgrade message when no vehicles 2013-11-25 09:37:01 -06:00
[VB]AWOL
f4909fd676 test for #767 and #766 2013-11-24 03:35:13 -06:00
[VB]AWOL
d5e27cd429 vehicle upgrade system v1 2013-11-14 10:29:34 -06:00