安装 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(越南语)
Українська(乌克兰语)
报告翻译问题
could you have a look at AuthenticZ's ZombiesZone.lua and give me your opinion? It looks to me like it's completely overwriting vanilla, I mean, it wouldn't need to include all the vanilla stuff if it wasn't, right? but the author is being a real zombie for if I bring anything up he just deletes my comments lmao
so what does starting ZoneDefinition file with "ZombiesZoneDefinition = ZombiesZoneDefinition or {};" do? Does it immediately override vanilla? You start yours with "require 'NPCs/ZombiesZoneDefinition'" instead
and within for example "ZombiesZoneDefinition.AZone= { (...) }", I guess there can only be one entry with a specific name, since you do "ZombiesZoneDefinition.Police[(name)] = ;" to overwrite vanilla entries within some "ZombiesZoneDefinition.AZone= { (...) }" ?
In that specific example the value inside the Police table will be replaced with a new one, keeping the rest intact. You can be as specific as you want when overriding values and tables, according to your needs. Overriding the whole table or file is usually a bad idea, specially because you undo what other mods changed before yours.
<m_items>
<probability>0.3</probability>
<itemGUID>5fc22466-2942-4ba1-8c33-2a8528b73021</itemGUID>
<subItems>
<itemGUID>ce1a8520-7120-432e-8a3a-aa7b3094f0bb</itemGUID>
</subItems>
<subItems>
<itemGUID>c7cc655b-284a-4087-85a6-d7c116385fb0</itemGUID>
</subItems>
</m_items>