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
[Hordes of zombies now approaching from a distance]
OH BOB SAGET!
However, since Lua arrays start at 1 by default, it means when you call a wordsToSay value with wordsToSay[ZombRand(#wordsToSay)] you have two issues, the last one will never be called (which you patched by setting the last phrase to an empty value) and it's possible for it to call wordsToSay[0] which gives an error occasionally as (I assume because) it's tryign to say a Nil value text, and still produces the independent addSound effect just without any text appearing above your head.
This can be solved by using wordsToSay[ZombRand(#wordsToSay)+1] so it offsets it by one, with this you also don't need to have the last array in wordsToSay empty (and well rather shouldn't).
I really love this concept of sneaking for half an hour just to shout very unexpectedly.
However, it is a kick-ass concept, and a realistic way to inject more danger into the game.
Well either way I'm glad someone made this! Lmao