Multiplayer Three Zones: PVE, PVPE, PVP
Изображение 1 из 8. Материалы автора из Steam Workshop.
О материале
«Multiplayer Three Zones: PVE, PVPE, PVP» — материал мастерской Project Zomboid. Карты, транспорт, оружие и моды для выживания. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
Description
There will now be 3 zones in multiplayer:
-
PVE - players cannot attack each other.
-
PVPE - players can attack each other only if both players have PVP mode enabled.
-
PVP - PVP mode is automatically enabled for all players.
Features
PVPE mode is enabled by default on the entire map.
A new item is available in the admin panel to create a PVP zone: "PVP Zone".
When adding a new PVP zone, a file yourservername_pvpzone.lua is created in the folder Zomboid\Lua on the server, it is needed to restore all zones after the server is wiped. Copy this file to your server configuration folder and immediately after wipe all zones will be restored.
Also, through the file yourservername_pvpzone.lua (located near the server configuration file) you can set zones using a text editor. An example of its syntax:
ServerPvpZoneList = {
{title = "Zone #111", x = 11774, y = 6833, x2 = 11777, y2 = 6837},
{title = "Zone #222", x = 12724, y = 6733, x2 = 12777, y2 = 5837},
{title = "Zone #333", x = 14774, y = 3633, x2 = 7777, y2 = 4837}
}
NOTE!!! The zones from yourervername_pvpzone.lua file will only be read and added to the server if no PVP zone is manually created (via admin panel). If you want to force update list of zones from this file, you need to remove all zones from list and restart server.
If you don't see the "PVP Zone" button in the admin panel, then you have another mod installed that isn't done correctly. You can call the PVP zone control panel at any time via debug commands:
local pvpzone = PVPE_ISPvpZonePanel:new(50,50,600,600, getPlayer());
pvpzone:initialise();
pvpzone:addToUIManager();
Version: 1.02 Workshop ID: 2939521600 Mod ID: PVE_PVPE_PVP
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.