Jump to content

Can someone give me a detailed variable "legend" for SandboxVars.lua?


Sinic

Recommended Posts

When I want to edit the SandboxVars.lua file, I usually open up Project Zomboid and go to the Sandbox screen to mix and match each of the numbers with their placement in the drop-down boxes in game, but some settings like "ZombieRespawn" and "ZombieRespawnPercent" are more hidden. I'm not sure what "ZombieRespawn = 1," corresponds to, or how it would change if it was set to "ZombieRespawn = 3,".

 

There's no Lua comments in the Lua file so it makes it rather hard, I used to just make new settings with PZServerSetting.exe but at the moment I can't find it the file in my commons/ProjectZomboid folder. I found a "PZServerSettings" folder that has a batch file inside but the batch file doesn't seem to work, it just opens a Command Prompt and it fails. 

 

Other than that little "issue", can someone take the time to notate each and every number and what they correspond to? Extra kudos if you explain what each setting does.

 

That'd help me and possibly many, many other people when they want to edit their settings. I'd do it myself but about a quarter of the settings I'm not entirely sure what the values correspond to.

 

If there is already a legend key online somewhere, then post the link down in the discussion.

 

I'm doing all of this on IWBUMS v33.9 by the way. I don't know if that makes a difference.

Link to comment
Share on other sites

Best I can do to help is:

 

# Same as the sandbox "Zombie Count" setting.
# 4.0 = Insane, 2.0 = High, 1.0 = Normal, 0.35 = Low, 0.0 = None.
#Minimum=0.0 Maximum=4.0 Default=1.0

PopulationMultiplier=1.0

# Adjusts the desired population at the start of the game.#Minimum=0.0 Maximum=4.0 Default=1.0

PopulationStartMultiplier=1.0

# Adjusts the desired population on the peak day.
# Minimum=0.0 Maximum=4.0 Default=1.5
Population

PeakMultiplier=1.5

# The day when the population reaches it's peak.
# Minimum=1 Maximum=365 Default=28

PopulationPeakDay=28

# The number of hours that must pass before zombies may respawn in a cell.
# If zero, spawning is disabled.
# Minimum=0.0 Maximum=8760.0 Default=72.0

RespawnHours=72.0

# The number of hours that a chunk must be unseen before zombies may respawn in it.
# Minimum=0.0 Maximum=8760.0 Default=16.0

RespawnUnseenHours=16.0

# The fraction of a cell's desired population that may respawn every RespawnHours.
# Minimum=0.0 Maximum=1.0 Default=0.1

RespawnMultiplier=0.1

# The number of hours that must pass before zombies migrate to empty parts of the same cell.
# Minimum=0.0 Maximum=8760.0 Default=12.0

RedistributeHours=12.0

# The distance a virtual zombie will try to walk towards the last sound it heard.
# Minimum=10 Maximum=1000 Default=100

FollowSoundDistance=100

# The size of groups real zombies form when idle. Zero means zombies don't form groups.
# Groups don't form inside buildings or forest zones.
# Minimum=0 Maximum=1000 Default=20

RallyGroupSize=20

# The distance real zombies travel to form groups when idle.
# Minimum=5 Maximum=50 Default=20

RallyTravelDistance=20

# The distance between zombie groups.
# Minimum=5 Maximum=25 Default=15

RallyGroupSeparation=15

# How close members of a group stay to the group's leader.
# Minimum=1 Maximum=10 Default=3

RallyGroupRadius=3
 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...