DayZ
154 个评价
CacheSpawner
2
   
奖励
收藏
已收藏
取消收藏
Type: Mod, Server
文件大小
发表于
更新日期
1.026 MB
2022 年 2 月 28 日 上午 9:12
2024 年 2 月 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
245 条留言
DrippinBiscuits 7 月 20 日 下午 4:52 
i keep getting this error [Spawn][ERROR] Spawn is disabled! Value Summary 'Max_Caches_In_Map' (1500) <= Value 'Count the Unique positions Caches' (72) or Value Summary 'Min_Caches_In_Map' (1500) <= Value 'Count the Unique positions Caches' (72)has anyone else had this ?
Brut0r 7 月 10 日 上午 11:23 
Народ кто знает. У меня 20 точек спавна указываю "Min_Caches_In_Map": 5,
"Max_Caches_In_Map": 10 появляются все 20, в чём причина или спавнер неисправен?
KRATONiii 4 月 19 日 上午 1:24 
Здравствуйте я хотел спросить а можно ли прописать Locations доп файлы примером чтобы они запускались и настраивались отдельно

Пример: Medical.json Military.json и т д ?
Solex 4 月 7 日 上午 10:22 
у меня работает
.clearheadead 3 月 19 日 上午 7:36 
кто-то настроил уже что-то в этом скрипте?

а то у меня ничего не работает и кроме бочки ничего не появляется и то бочка спавнить уже по стандартному конфигу он вообще робочий? Может кто-то помочь?
࿖Sαƙυɾα࿖ 3 月 10 日 上午 5:09 
Есть у кого готовый скрипт на карту Дей Зон на сталкер?
Солевар 2 月 24 日 下午 4:58 
А скрипт вообще работает ?
ТЕМКА 2 月 22 日 上午 12:48 
Здравствуйте, у меня тут вопрос по моду, вот есть значения:

"Min_Caches_In_Map": 3,
"Max_Caches_In_Map": 6,

Почему-то, мод спавнит всегда максимум схронов. Как это исправить?
splinter.fenix 2024 年 12 月 25 日 上午 11:10 
Я к чему про ноль пишу. Было бы в разы удобнее прописывать координаты просто копируя их точки из оффлайн карты, где высота не копируется.
splinter.fenix 2024 年 12 月 25 日 上午 11:01 
Не хватает понимания скрипту, если ставить высоту 0 -то привязывать к земле схрон, как это в некоторых модах с той же добычей руды и прочими. Ноль тут сбрасывает сразу по дефолту файл.