DayZ
118 оценки
CacheSpawner
2
   
Награда
Добавяне към любими
В любими
Премахване от любими
Type: Mod, Server
Размер на файла
Публикуван на
Обновен на
1.026 MB
28 февр. 2022 в 9:12
23 февр. в 9:38
7 бележки за промени ( преглед )

Абониране, за да се свали
CacheSpawner

Описание
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
233 коментара
Parmovgey228 16 септ. в 13:42 
не могу найти в какой папке появляются конфиги и скрипты :)
M.r.Ingvar 4 юни в 2:18 
может кто то уже делал , подскажите как перенаправить текс со спавном ящиков в нотификатион
skilitron 5 май в 9:20 
спаасибо за разрешения на распоковку и запаковку!
elias oriley 23 апр. в 1:54 
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 апр. в 13:20 
"ChatMessageWhenSpawned": "Появился новый тайник: %coords%",
pchela6478 15 апр. в 4:25 
добрый день. а подскажите кто знает. игроки как то узнают про появление схронов где то? или чисто случайно наткнуться только? есть какое то оповещение что рядом схрон или как то похоже. что бы игрок понял и начал искать. как то так. спасибо
Kenny 13 апр. в 5:51 
Имеет ли мод возможность спавнить 1 объект на карте затем после определённого времени исчезать и спавнить его в другом месте?
s0n1k_k 4 апр. в 3:00 
приветствую. хотел поинтересоваться. можно ли с помощью мода налепить одежду на нпс? сам нпс спавнится, пытался через атачменты прописать одежду - не работает. может есть какой другой способ?
Shikari 29 февр. в 6:12 
спасибо, плохо перевариваю симулятор бомжа, как тайники шмонать поприятнее чем по полу по патрону собирать)
HaЧaJl'HиkA  [автор] 29 февр. в 5:36 
Максимум определяется лишь движком игры и мощностью железа вашего сервера, скрипт никак это не ограничивает. Но я так думаю что в СЕ порядком больше обработок, контроля количества Лута и оптимизациии