安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题






works compiled it clean code
but yet it still spawns the original items in the code even though they are not there?
Assume this version will never fully work.
I am however much less involved in DayZ at this point so don't expect any massive changes.
The up-to-date version I have clamps the x/z values between 0 and mapsize[0/1], without having any offset buffer. I think this extra buffer is important since after adding it I went from experiencing 2-4 drop errors a day (same error as what @specifikys points out below) to 0 in the past 4 days.
SCRIPT : I buggered it somewhere stop the timer
Sx = Math.Max(300.0, Math.Min(14700.0, Sx));
Sz = Math.Max(300.0, Math.Min(14700.0, Sz));
I used literals here which is ill-advised, but I did it as a proof of concept. The idea being have a 300 unit buffer between the drawn edges of the map (which are roughly {0-15000, y, 0-15000}).
I would, as Gunnar implemented, use a variable buffer (for both min and max) based on the map and/or map size. For example, something to this nature:
float offsetX = mapsize[0] * 0.02
float offsetY = mapsize[1] * 0.02
Sx = Math.Max(offsetX, Math.Min(mapsize[0] - offsetX, Sx));
Sz = Math.Max(offsetY, Math.Min(mapsize[1] - offsetY, Sz));
I hope this helps. Thanks again for mod :)
I am currently running the latest version of this mod configured as advised. A fraction of the times the helicopter is spawned it does not appear ("I buggered something..."). Based on the logs available a suspect its due to the reason Gunnar pointed out below. Perhaps your previous fix still leaves some possibility for the entity spawning inside debug zone?
I will see if I can overwrite that block and getting working with a 100% rate and let you know how I fare
=== MOD IS CURRENTLY ONLY OPEN FOR BETA TESTING ===
========= DO NOT USE ON YOUR LIVE SERVERS =========
============== YOU HAVE BEEN WARNED ==============
===================================================
SCRIPT : [CarePackage] Dropping Package at: <7997.203125, 115.293968, 12653.100586>
And its drop in severograd. But there was no announcement.
Also there was announcement at TISY, but care package didnt even drop at all.
What i need to check first?
I do have 1 issue though and cant seem to find a setting for it and not sure if ive set up config correclty or if its a mod issue.
My issue is when the care package drops after 5 seconds it just despawns
I only receive the notice that the package is arriving in the area but it never drops. I have not modified anything in the "config" file