Jump to content

[REL] Zday, a Zombie Infestation Script


Recommended Posts

Posted

Has this to do anything with the zombie spawn?

ERROR: zombietest\zombie_server.lua:217: attempt to compare boolean with number 

newZombieLimit = get("" .. getResourceName(startedResource) .. ".Zlimit") 
    if newZombieLimit ~= false then 
        if newZombieLimit > ZombieLimit then --This is line 217 
            newZombieLimit = ZombieLimit 
        end 
    else 
        newZombieLimit = ZombieLimit 
    end 

  • Moderators
Posted

It's the limit of how many zombies that can spawn.

ZombieLimit = default (217)

newZombieLimit -- you have settings about this in the meta. >get("" .. getResourceName(startedResource) .. ".Zlimit")<

Check if the meta settings are correct.

Posted

It's currently set onto specified zombie spawn points. So what is causing this problem?

I added a custom map for this gamemode called: Ztown and it works only it gives lots of errors.

This is the meta.xml setting

"*StreamMethod" value="[2]" /> 

EDIT:

Wrong setting this is the right one

"*MaxZombies" value="[100]" /> --maximum allowed zombies --> 

  • 1 month later...
  • 2 weeks later...
  • 1 month later...
Posted (edited)

how to limit zombies per player? , example i want to spawn 10 zombie per live player. i don't want all zombies spawn at 1 player

Edited by Guest
  • 2 weeks later...
  • 1 month later...
Posted

HI! I've some doubts about this! Firstly, how to remove that thing of create objects for the zombies or something like that? barriers** and how to do set the HP of the zombies?? And how to do them smarter?

  • 1 month later...
Posted
how to limit zombies per player? , example i want to spawn 10 zombie per live player. i don't want all zombies spawn at 1 player

+1 please help

  • 4 weeks later...
Posted

well this new " bug " i encounter is quite interesting one,when zombies run/walks/tries to catch me while being on ground/floor that has custom .col file,it starts to stress server a lot ,when i put them on usual gta object,while moving they do not lag at all and the same second they put their foots on modified object,with customized .col - lag begins ; any solutions ? i guess its more problematic than z script ,maybe has to do something with mta engine itself :|

  • 2 months later...
  • 4 weeks later...
  • 3 weeks later...
  • Moderators
Posted
Nothing happened :/

You must be standing inside a colshape with elementdata set: "purpose" to "zombiewood"

It is what the script tells me, nothing more, nothing less.

  • 2 weeks later...
  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...