Project Zomboid

Project Zomboid

[B42] Week One NPC
TK Minos 8 月 31 日 下午 4:14
Plane crash at 5am on day 2?
On two different saves this has happened. No zombies onboard, was working fine a couple weeks ago (11pm on day 5). Update to the mod? Is there a setting I can change? Or is this a mod conflict?
< >
正在显示第 1 - 5 条,共 5 条留言
The plane crash is scheduled on day 2 at 5am, in some of the scenario's / timelines the mod plays out for you. I looked into the code behind the mod (pretty clean code) and I think it works this way. When you start a new game, the mod randomly selects one of the LUA files in the following folder: (Steam\steamapps\workshop\content\108600\3403180543\mods\BanditsWeekOne\42\media\lua\shared\Variants). Each file is best described as a starting scenario, and a timeline for events to play out during your playthrough. For example, if the mod selects ''Vparty.lua'' for your playthrough, you spawn during a house party in your own house. Then, an arson attack will occur around 4PM on day 1. Also, the plane will crash around 5AM on day 2. It's easy to remove the plane crash from a scenario. Just open the scenario-file using notepad, ctrl-F ''plane''. Then add -- in front of the line of code that schedules the plane crash. If you don't want the plane crash to occur in any scenario, you will have to do this for every scenario in the folder. Also, if you don't like a starting scenario (for example, the one where you start as a hiker), you can just remove the associated LUA file from the folder, so the game can't pick it at the beginning. Disabling the plane code would look like this by the way:

[24] = {
[0] = {"StartDay", {day="saturday"}},
[1] = {"Siren", {}},
--[2] = {"PlaneCrashSequence", {}},
},
最后由 hippiecommunist69 编辑于; 9 月 1 日 上午 11:27
TK Minos 9 月 1 日 下午 3:03 
Ah I see, good to know there's a random factor instead of it being a mod conflict. I like the event, I had just grown accustomed to the day 5 11pm scenario.
Sir. Stein 9 月 3 日 上午 2:39 
Why has he railroaded the mod now? It used to be random. You would have 1 week and the world would slowly crumble, on day 3-4 people would start to reanimate and it was so cool seeing people get progressively sicker before dying and then turning. Now they just reanimate instantly if they die which is so boring. It's literally just zomboid with NPCs now. Not 1 week before.
Slayer  [开发者] 9 月 8 日 下午 2:11 
Global reanimation event caused a bug of endless naked zombies since 42.10
Sir. Stein 9 月 8 日 下午 2:51 
引用自 Slayer
Global reanimation event caused a bug of endless naked zombies since 42.10
Yeah and fix the bug of everyone turning on day 1. Go back to the old behaviour. This is just zomboid with NPCs now
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50