Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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>