DayZ
29 arvostelua
EntityReplacer
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Type: Mod, Server
Tiedostokoko
Julkaistu
Päivitetty
29.330 KB
21.11.2020 klo 5.20
10.5.2024 klo 12.17
18 muutosilmoitusta ( näytä )

Tilaa ladataksesi
EntityReplacer

Kuvaus
This mod can be used to replace specific items or vehicles on the map on server start and transfers all attachments (as long as compatible slots are on the replacement), complete inventory, current global health, quantity (in case of stacks, liquid containers or magazines), and in case of vehicles, also fuel and coolant (if you are using Expansion, it also transfers key pairings for vehicles).

This can be useful to (e.g.) get rid of bugged items, or to replace items from one mod with items from another mod.

WARNING WARNING WARNING READ THIS!
NO GUARANTEE CAN BE MADE THAT THIS ALWAYS WORKS CORRECTLY.

CAVEATS:
Replacing vehicles in this way takes them out of the events spawners, so vehicles that were originally spawned by events WILL respawn as well which can lead to an unwanted increase of vehicles on the map. Also make sure vehicle lifetimes in your types XMLs are set sensibly (set them to 3888000 to be on the safe side).

How to use this mod:

1. Subscribe and add it to your server command line (-servermod=@EntityReplacer)
2. Create a text file EntityReplacer.cfg in your server profile directory. For an example of what to put in this file see below.
3. After editing EntityReplacer.cfg, start server.

Example EntityReplacer.cfg that will replace all Sedan_02 (Sarka) with Hatchback_02 (Gunther):
Sedan_02 = Hatchback_02 Sedan_02_Door_1_1 = Hatchback_02_Door_1_1 Sedan_02_Door_1_2 = Hatchback_02_Door_1_2 Sedan_02_Door_2_1 = Hatchback_02_Door_2_1 Sedan_02_Door_2_2 = Hatchback_02_Door_2_2 Sedan_02_Hood = Hatchback_02_Hood Sedan_02_Trunk = Hatchback_02_Trunk Sedan_02_Wheel = Hatchback_02_Wheel
It will also work for modded vehicles (if both vehicle types are coming from a mod, both mods need to be loaded during replacement).
30 kommenttia
NEO 22.4.2023 klo 22.40 
Does the mod replace things only when server start or constantly replacing, ex: admin spawn an item that's in the replace list
Jez 12.3.2022 klo 12.25 
Great mod, thanks for this very handy to get rid of the unwanted crud on the map.
pennybelle 29.1.2022 klo 17.14 
Error with 1.16: entityreplacer.c(657): Can't find variable 'CZ527StableStateID'

Causes server crashes. Love this mod, hope to see it transfers over <3
Dublonen und Moneten 13.1.2022 klo 14.38 
any1 know how to play it tho?
Blake Raz al Ghul 13.1.2022 klo 13.37 
how do we do command line thingy majiger
SRR-Viper 13.1.2022 klo 13.37 
your description explains how to add it to a server start not a game start???
◣ ▲▼▲  [tekijä] 13.1.2022 klo 13.26 
It would help if people would read the description of this mod...
76561199086920825 13.1.2022 klo 13.20 
???
k9cerenaa 13.1.2022 klo 13.14 
wht da hell man
SRR-Viper 13.1.2022 klo 12.52 
not loading :-(