Jump to content

New servertest_SandboxVars.lua


ricky

Recommended Posts

Hello, I was wondering if we have a new tool or anywhere i can find out what the new variables mean?

for ones such as EndRegen, StartYear  and ZombiesRespawnPercent. These was adding in the last patch and they also don't show in the tool downloaded with the client used to generate this config.

 

SandboxVars =
{
Zombies = 3,
Distribution = 1,
WaterShutModifier = -1,
ElecShutModifier = -1,
Alarm = 5,
LockedHouses = 5,
FoodRotSpeed = 3,
FridgeFactor = 3,
LootRespawn = 2,
ZombiesRespawn = 2,
ZombiesRespawnPercent = 1,
TimeSinceApo = 3,
Temperature = 2,
Rain = 2,
ErosionSpeed = 4,
Farming = 5,
PlantResilience = 2,
PlantAbundance = 2,
NatureAbundance = 2,
FoodLoot = 1,
WeaponLoot = 1,
OtherLoot = 1,
XpMultiplier = 5.0,
StatsDecrease = 3,
EndRegen = 3,
DayLength = 3,
StartYear = 7,
StartMonth = 3,
StartDay = 1,
StartTime = 2,
 
ZombieLore =
{
Speed = 2,
Strength = 2,
Toughness = 2,
Transmission = 3,
Mortality = 3,
Reanimate = 3,
Cognition = 3,
Memory = 4,
Decomp = 4,
Sight = 1,
Hearing = 2,
Smell = 3,
}
}

 

 

 

Also i'm still confused as to what we use for item/zombie respawning, if we take zombie respawning for example.

Apparently i can set:

ZombiesRespawn in servertest_SandboxVars.lua

RespawnHours= in servertest_zombies.ini

and...

HoursForZombiesRespawn in servertest.ini

 

So i'm very confused as to which config i should be setting the real value for lol.

Thanks for your time.

Link to comment
Share on other sites

Hi there, ive seen some "new" options in the sandboxvars.lua running with the steam server. So it raised a few questions.

 

The first Speed is the same as the one in the zombielore part?

The Survivors serves any purpose now or its there for any future features? (wink,wink, nomentionpolicy,wink)

The --Erosion i think the -- its for not to use, but if anytime its use, is that for start with the erosion at any moment?

And finally what the starterkit have in it?

 

SandboxVars =

{
    Speed = 3,
    Zombies = 3,
    Distribution = 2,
    Survivors = 1,
 
    DayLength = 7,
    StartYear = 1,
    StartMonth = 8,
    StartDay = 7,
    StartTime = 2,
 
-- the number of day before water shut off (-1 mean instant)
WaterShutModifier = 200,
-- the number of day before elec shut off (-1 mean instant)
ElecShutModifier = 180,
    FoodLoot = 2,
    WeaponLoot = 2,
    OtherLoot = 3,
Temperature = 3,
Rain = 3,
-- Erosion = 2,
    ErosionSpeed = 5,
    XpMultiplier = 4,
    StatsDecrease = 3,
    NatureAbundance = 4,
    Alarm = 3,
    LockedHouses = 4,
    FoodRotSpeed = 4,
    FridgeFactor = 443,
    Farming = 3,
    LootRespawn = 5,
    StarterKit = false,
    TimeSinceApo = 1,
    PlantResilience = 2,
    PlantAbundance = 3,
    EndRegen = 3,
 
    ZombieLore = {
        Speed = 3,
        Strength = 2,
        Toughness = 2,
        Transmission = 1,
        Mortality = 6,
        Reanimate = 2,
        Cognition = 3,
        Memory = 2,
        Decomp = 1,
        Sight = 3,
        Hearing = 2,
        Smell = 3,
    }
}

 

 
local DefaultSandboxVars = {}
local DefaultZombieLore = {}
for k,v in pairs(SandboxVars) do
DefaultSandboxVars[k] = v
end
for k,v in pairs(SandboxVars.ZombieLore) do
DefaultZombieLore[k] = v
end
 
function setDefaultSandboxVars()
for k,v in pairs(DefaultSandboxVars) do
SandboxVars[k] = v
end
SandboxVars.ZombieLore = {}
for k,v in pairs(DefaultZombieLore) do
SandboxVars.ZombieLore[k] = v
end
ZombieConfig.getInstance():resetToDefault()
ZombieConfig.getInstance():fromSandboxVars(SandboxVars)
end
 

 

Also theres some new code at the end of it, nothing to see there right? :D

Link to comment
Share on other sites

  • 2 weeks later...

*UPDATE*: Fixed this. Actually the values created with the Settings tool are correct, but of course this shouldn't be applied to a server that has been runnning for a couple of hours but only a FRESH one...otherwise you end up having a mixture of weird zombie behaviours.

 

*OUTDATED*:

Argh! Guys, I used this NEW editor to save me a few settings and apparently the zombies spot me at an incredible distance now that I have set them to blind, deaf and stupid! Something's definitely wrong here... 

SandboxVars ={    Speed = 3,    Zombies = 2,    Distribution = 1,    Survivors = 1,    DayLength = 4,    StartYear = 1,    StartMonth = 5,    StartDay = 23,    StartTime = 2,    WaterShutModifier = 14,    ElecShutModifier = 14,    FoodLoot = 2,    WeaponLoot = 2,    OtherLoot = 3,	Temperature = 3,	Rain = 3,--	Erosion = 2,	ErosionSpeed = 4,    XpMultiplier = 4.0,    StatsDecrease = 4,    NatureAbundance = 4,    Alarm = 4,    LockedHouses = 6,    FoodRotSpeed = 4,    FridgeFactor = 5,    Farming = 2,    LootRespawn = 1,    StarterKit = false,    TimeSinceApo = 1,    PlantResilience = 3,    PlantAbundance = 3,    EndRegen = 3,    ZombieLore = {        Speed = 3,        Strength = 3,        Toughness = 3,        Transmission = 1,        Mortality = 6,        Reanimate = 3,        Cognition = 3,        Memory = 4,        Decomp = 1,        Sight = 3,        Hearing = 2,        Smell = 2,    }}...blah blah
Link to comment
Share on other sites

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
×
×
  • Create New...