Skip to content

Commit f0478ac

Browse files
authored
Update editor.conf
1 parent da0894d commit f0478ac

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Server/mods/deathmatch/editor.conf

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@
153153
<!-- Keysync analog movement sync interval. For limiting key sync packets due to joystick movement. Default: 100 -->
154154
<keysync_analog_sync_interval>100</keysync_analog_sync_interval>
155155

156+
<!-- This parameter specifies the interval at which the onDamageEventCancelled event can be sent.
157+
Value: 50-4000, default: 1000 -->
158+
<cancelled_damage_send_interval>1000</cancelled_damage_send_interval>
159+
156160
<!-- This parameter can improve the reliability of shots when using certain weapons. However, it uses more bandwidth.
157161
Values: 0 - disabled , 1 - enabled ; default value: 1. -->
158162
<bullet_sync>1</bullet_sync>
@@ -296,6 +300,14 @@
296300
Values: 0 - Off, 1 - Enabled. Default - 1 -->
297301
<check_duplicate_serials>1</check_duplicate_serials>
298302

303+
<!-- This parameter specifies whether the onDamageEventCancelled event should also be triggered for vehicles, i.e. when onClientVehicleDamage is cancelled. Every hit or scrape on a vehicle counts as damage for it, so if you are naturally cancelling this event, it is recommended to leave this parameter set to 0 to avoid unnecessary event flooding.
304+
Values: 0 - Off, 1 - Enabled. Default: 0 -->
305+
<cancelled_damage_for_vehicles>0</cancelled_damage_for_vehicles>
306+
307+
<!-- This parameter specifies whether the onDamageEventCancelled event should be triggered when a ped takes damage every frame (drowning, burning, fire extinguisher, spraycan, runover by car, minigun, chainsaw cutting, teargas).
308+
Values: 0 - Off, 1 - Enabled. Default: 1 -->
309+
<cancelled_damage_send_frame_based_dmg>1</cancelled_damage_send_frame_based_dmg>
310+
299311
<!-- Specifies the module(s) which are loaded with the server. To load several modules, add more <module>
300312
parameter(s). Optional parameter. -->
301313
<!-- <module src="sample_win32.dll"/> -->

0 commit comments

Comments
 (0)