Zombies Fear The Sun

If you liked this item, please rate it up on Steam Workshop page.

Authors: pillow, Monkey

Last revision: 16 Feb, 2023 at 21:05 UTC (1)

File size: 26.62 KB

On Steam Workshop

Description:

Makes zombies seek indoors and go inactive at day time.

The zombies seek to go indoors in the morning, and wake up at night, based on time of year.

If you hit a zombie that is docile, it will temporarily wake up along with nearby zombies.

This was inspired by the zombies in the show "Kingdom", and I used a good portion of code in FearTheRain by Stephanus van Zyl AKA Viceroy.

I am trying to consolidate helping people by filtering them into my discord server for support. https://discord.gg/UU5aXuwGH6

Updates
2023-02-16 – 2.2 Behavior improvements

  • change the way zombies are initialized. Because it seems zombies are created before buildings they were failing checks for closest building and being set to docile outside.
  • when zombies are initialized they are immediately given a travel command.
  • modify night routine to encourage more zombies to go outside. Improve logic that gives zombies commands.
  • various code comment documentation updates
    2023-02-15 – 2.1 Bug squashing and improvements.
  • add function to calculate if a target is too far
  • add function to lure zombies to a distant target helping in rural areas
  • change some logic on daytime and night time routines to make zombies more likely to move and reduce false positive docile zombies outside
  • change tick calculations slightly to make sure zombies are more likely to move
  • add lure chance to static variables to allow spicing up night time by pushing a certain percentage of zombies outside
    2021-01-07 – change target to avoid error spam.
    2021-01-05 – upload to steam, small change to luresound, turn off loadzombie function due to issues.

    Workshop ID: 2182855819
    Mod ID: FearTheSun

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.