Project Zomboid

Project Zomboid

[B42] Week One NPC
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?
< >
Showing 1-3 of 3 comments
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", {}},
},
Last edited by hippiecommunist69; 1 Sep @ 11:27am
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.
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.
< >
Showing 1-3 of 3 comments
Per page: 1530 50