1. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

Classic KAG alpha Zombie spawner with day/ night timer -- works on any game mode! 4-2-2015 v2

I also included a download link for the zombie spawner and tree seed mod combined.

  1. giga_hogy
    What is it? :
    I have posted a mod for classic KAG alpha. It is a zombie spawner. It works on any game mode including zombie game modes or game modes that do not normally have zombies.

    What is it based in? :
    The scripts are written in LUA. It is based in Juxta++ (credit for API goes to Master4523, see documentation: http://juxta.cf/).

    More details and stuff:
    This mod allows players to spawn zombies on both sides of the map. It is highly modifiable with many, many adjustable parameters. You can adjust the rates of zombies spawns, their locations, what wave number you want certain zombie types to spawn on, the probability of a certain type of zombie spawning, etc. All of these factors are coded in adjustable parameters that are listed at the top. The default settings are currently to have 150 zombies spawn every wave at a rate of 1 zombie on each side of the map every second for 75 seconds. They spawn on the left and right edges of the map. The zombies are set to have a 5 minute day cycle with a 3 minute cycle on the very first day (because you usually start a game mid day). This coincides reasonably well with the default day/ night cycles. Note that all of these parameters are adjustable. On top of that, the latest release also has an adjustable parameter for the zombie team number. This means that if you have a game where you have more than 2 teams then you can easily adjust the zombie_team_number to a different value other than 1 (1 is default for red team and 0 is default for blue team).

    With a little bit more effort (but really quite easy) you can add extra zombie spawns or delete zombie spawns or add new zombie types (completely new creatures). All of the framework is there for a highly modifiable zombie spawner.

    *CRITICAL INFORMATION* (the mod will not work without this step!):

    -----------
    This comment only applies to default zombie game mode (game mode number is 3):

    if you are replacing the spawn code for zombies on an existing zombies game mode, then you might want to turn off the existing code for zombie spawns so that you don't have 2 different spawn codes simultaneously running, producing tons of zombies. To do this just use these settings to turn off zombie spawns above ground while retaining portal spawns below ground:

    Go to the file under Bin_Server/Entities/Managers/ZombieDirector.cfg and adjust the following settings:

    s32_difficulty = 0 # starting difficulty
    s32_difficulty_increase_per_day = 0
    s32_difficulty_increase_boss = 60
    s32_difficulty_on_breach_dungeon = 60
    s32_max_zombies_spawned = 500
    time = 0 - midnight - 255 midnight (default 39-213)
    u8_zombie_time_start = 32
    u8_zombie_time_end = 255
    -----------

    Make sure to download juxta++ (from http://juxta.cf/) and rename the file from ZombieSpawnCode.lua?dl=1 to init.lua. Then replace the version of init.lua inside of the sampleplugins folder in juxta++.

    You can download my zombie spawner mod here:

    https://www.dropbox.com/s/dwvd9o8lcinijak/ZombieSpawnCode.lua?dl=1

    You can download my tree seed mod combined with my zombie spawner mod here (please refer to this post in addition to my functional tree seed mod post and follow the relevant instructions in both forum posts):

    https://www.dropbox.com/s/dwvd9o8lcinijak/ZombieSpawnCode.lua?dl=1

    Mod made by:
    Giga_Hogy