Preferred Respawn - Experimental

Мод Preferred Respawn - Experimental для DayZ. Сейчас на 4 серверах RiseOfServers.

Since survivors can "respawn-cycle", that is, choosing a spawn location by repeatedly F11-ing, why not automate this process in a fair and elegant way? The goal is to make the time it takes to respawn at a specific location using the Preferred Respawn mod the same time one would spend manually F11-ing to respawn at that same location in the unmodified game. The advantage is that the process is automated, allowing players to make use of that waiting time to grab a coffee, stretch, or do whatever they feel like.
https://steamuserimages-a.akamaihd.net/ugc/819002974403344349/DD18664314A26EA83C62E9B0127FFCB35092B53A/
Features


[*]Minimal and non-intrusive changes to the vanilla user interface.
[*]The option to select a location only appears during respawns; the spawn experience is unmodified.
[*]Optional: casual mode in which the respawn time is fixed, similar to other "spawn select" mods.


How it works

If a survivor opts in for a preferred respawn location on the countdown screen (as shown in the screenshot above), their character will not respawn until the preferred location is selected by the default DayZ randomization. This means that the countdown routine restarts every time the preferred location does not match the one chosen by the vanilla randomization, and players must wait through the countdown for each new attempt.

If the survivor does not opt in (the default setting), they respawn after the first countdown at a random location, just as in vanilla. It is also worth mentioning that players are free to choose a new location between attempts.

Optional: it is possible to add extra time to the countdown to account for the time a player would spend F11-ing. This extra time only takes effect from the second attempt onward, as players do not need to F11 if they get the desired location on the first attempt in the unmodified game.

Setup

Spawn locations
Predefined JSON configuration files for Sakhal, Chernarus, Livonia, Namalsk, and Deer Isle are automatically generated. If the cfgplayerspawnpoints.xml file used differs from the default provided with these maps, adjustments will most likely be necessary. In all cases, it is recommended to disable the vanilla "spawning groups" feature to avoid long wait times.

If you wish to modify the default configuration or create a setup for a different map, start the server once after installing the mod. This action will generate configuration files, which you can then use as reference for editing. These files can be found in the \PreferredRespawnTest.

Please note that the coordinates defined in the .SpawnZones.json do not necessarilly map one-to-one with the spawn points listed in the cfgplayerspawnpoints.xml. Instead, each location entry in the .SpawnZones.json represents a general area on the map and defines an option in the "preferred respawn location" selector on the countdown screen.

Although locations and spawn points are not exactly the same thing, the settings in these files should remain consistent. Typically, each location should represent either a cluster of related spawn points or a single spawn point.

For example, a valid configuration could have a single location entry representing a village in
the .SpawnZones.json, while the cfgplayerspawnpoints.xml includes two or more spawn points for that same village. When a player selects that village as their preferred respawn location, any of the spawn points situated near the chosen location's coordinates will be considered valid respawn positions for the selection.

The more spawn points a location has, the fewer countdowns a player selecting that location will typically need to wait through. For example, if one location has a single spawn point while another has two, players respawning at the second location will, on average, experience fewer countdowns.

Note: an overly unbalanced number of spawn points among locations can make some areas too difficult to respawn in. That said, this mechanic can also be used creatively to steer player populations toward specific areas of the map.

Casual Mode (optional)
When noRedraws is set to true in the .Settings.json, the vanilla mechanism for the selection of spawn points is replaced, and players spawn instantly in the selected location after the first countdown reaches zero in the countdown screen. In this mode, the settings in the cfgplayerspawnpoints.xml are ignored for respawns, and players originate within 30m (~= 100ft) radius from some point specified in the .SpawnZones.json.

Additionally, when this mode is enabled, it is possible to append extra points to each location in the .SpawnZones.json. This means that when a player selects a location in the countdown screen, one of the points from the selected location is randomized as the final one where the player will respawn.

Example of a .SpawnZones.json with two locations and three spawn points for each:

[
{
"name": "Location_1",
"centralPoint": ,
"excludeFromRandom": 0
},
{
"name": "Location_2",
"centralPoint": ,
"excludeFromRandom": 0
},
]

Location_1 spawn points: , , ;
Location_2 spawn points: , , ;


Conditions


[*]Repacking this mod is prohibited.
[*]Redistributing parts or the entirety of the contents of this mod is prohibited.
[*]You can use this mod on monetized severs if you have BI approval and the contents of this mod are not part of the monetization.
[*]This item is not authorized for posting on Steam (i.e. reuploaded, repacked) or any other platform, except under the steam account Akol.


Copyright 2023-2026 Akol.


Coffee

https://i.imgur.com/mKmPrMb.png
Donations are not expected, but they are greatly appreciated!

Источник: Steam Workshop

Серверы с этим модом