DayZ
113 ratings
CacheSpawner
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod, Server
File Size
Posted
Updated
1.026 MB
28 Feb, 2022 @ 9:12am
23 Feb @ 9:38am
7 Change Notes ( view )

Subscribe to download
CacheSpawner

Description
Type: mod (server) (not required for installation by players)
Authorship: 123new
Compatible, tested and tested on clean versions of the game: 1.07-1.24

Description:
A script that adds spawn caches (of any specified objects with loot) in the specified zones on the map. In the script, you can specify your objects for the cache by their object ID in the game, as well as set the number of caches on the map and their spawn points. The script is not required for the presence of players and is server-side.
Difference from ObjectsSpawner: in this script, you can specify loot on the object, i.e. spawn occurs of simple objects with loot. In ObjectsSpawner, objects will spawn only without loot!

Opportunities:
Spawn of caches (loot objects) at specified points on the map
You can set any ID of caches objects on the map that you know in the game
You can set the main characteristics for each loot that will appear in the cache
, you can determine the composition of the loot for each cache
You can set several different points on the map for spawn caches
Automatic respawn of already recovered caches on the map after a specified time with the cleaning of the old cache
You can set the minimum and maximum number of caches, among which the server will randomly select the number of caches from the entire list at startup.
If you specify or drop the number of caches less than the total number of coordinates in the list, the caches to spawn on the map will be randomly selected
The spawner is a purely server-side script
The ability to rewrite the script code for yourself, if you need it
The mod settings are made in the json config of the mod, which allows you to quickly configure the required number of caches, their spawn points and loot.
If there are errors in the mod's config, it will be recreated automatically to the standard one, while the errors will be noted in the server's script log. It is recommended to keep a copy of the configuration and monitor the server logs after it starts!

Important:
The script was tested on a clean version of the games at the time of publication and is operational to this day and hour.
For the script to work, any objects with loot storage are required that are not closed by silence to add loot to them by the player! You can use any game items for this!
If the loot does not fit into the cache, it will not be created in it!
Loot is added to the object according to the list, as it is specified in the JSON file of the script in the form of 'silence in a free inventory cell'.
The script does not know how to lay out loot in free cells, playing tetris and turning loot over!!!
If you specify the script settings incorrectly, the server itself will recreate the configuration of the spawn mod 'silence'
The main functionality is debugged and tested on a clean server.
The script places objects on the map according to strictly specified coordinates of their placement from the server configuration. He does not check these coordinates and does not correct them
, the script depends entirely on the correctness of the official game functions of placing objects and adding things to the object (functions available in the game and added to it by the authors of the game). The author of the script (i.e. me) disclaims responsibility for the incorrect operation of these functions (yes, there were precedents)

Repacking, packing the work and changing to your liking are allowed if you specify the authorship of the current mod!

For donations:
4274 3200 7857 5100
232 Comments
M.r.Ingvar 4 Jun @ 2:18am 
может кто то уже делал , подскажите как перенаправить текс со спавном ящиков в нотификатион
skilitron 5 May @ 9:20am 
спаасибо за разрешения на распоковку и запаковку!
elias oriley 23 Apr @ 1:54am 
Hey hey, I got a question. Is it possible to do a randomset for the loot. For damaging Items and for the stack. I mean, like when he spawns weapons. He will randomly spawn them from pristine to badly damaged or when he spawns ammo hes picking something between 1 and 20? would be nice, to make it more immersive. 😉
SmertnyKRIK 22 Apr @ 1:20pm 
"ChatMessageWhenSpawned": "Появился новый тайник: %coords%",
pchela6478 15 Apr @ 4:25am 
добрый день. а подскажите кто знает. игроки как то узнают про появление схронов где то? или чисто случайно наткнуться только? есть какое то оповещение что рядом схрон или как то похоже. что бы игрок понял и начал искать. как то так. спасибо
Kenny 13 Apr @ 5:51am 
Имеет ли мод возможность спавнить 1 объект на карте затем после определённого времени исчезать и спавнить его в другом месте?
s0n1k_k 4 Apr @ 3:00am 
приветствую. хотел поинтересоваться. можно ли с помощью мода налепить одежду на нпс? сам нпс спавнится, пытался через атачменты прописать одежду - не работает. может есть какой другой способ?
Shikari 29 Feb @ 6:12am 
спасибо, плохо перевариваю симулятор бомжа, как тайники шмонать поприятнее чем по полу по патрону собирать)
HaЧaJl'HиkA  [author] 29 Feb @ 5:36am 
Максимум определяется лишь движком игры и мощностью железа вашего сервера, скрипт никак это не ограничивает. Но я так думаю что в СЕ порядком больше обработок, контроля количества Лута и оптимизациии
Shikari 28 Feb @ 11:39pm 
Начальника, такой вопрос, какой максимум тайников на всю карту? и как это сервак грузит? я к тому что cle’ешный лут этим можно полностью заменить? и таблицы лута свои как я понимаю?