Skip to content

How do you disable a spawner? #194

@PanicIsReal

Description

@PanicIsReal

Hi,

I generated the spawners in debug and I added this to my local_spawners cfg file

# Auto-generated file for adding Local Spawner configurations.
# This file is empty by default. It is intended to contains changes only, to avoid unintentional modifications as well as to reduce unnecessary performance cost.
# Full documentation can be found at https://asharppen.github.io/Valheim.SpawnThat.
# To get started: 
#     1. Generate default configs in BepInEx/Debug folder, by enabling WriteSpawnTablesToFileBeforeChanges in 'spawn_that.cfg'.
#     2. Start game and enter a world, and wait a short moment (ca. 10 seconds) for files to generate.
#     3. Go to generated file, and copy the creatures you want to modify into this file. Multiple local spawner files will have been generated, use either the one for locations or dungeons, depending on what you want to modify.
#     4. Make your changes.


## Biome: Mountain, Location: AbandonedLogCabin02, Spawner: 0 
[AbandonedLogCabin02.StoneGolem]
PrefabName=StoneGolem
Enabled=False
SpawnAtDay=True
SpawnAtNight=True
LevelMin=1
LevelMax=1
LevelUpChance=10
RespawnTime=0
TriggerDistance=60
TriggerNoise=0
SpawnInPlayerBase=False
SetPatrolPoint=True
SetFaction=ForestMonsters

## Biome: Mountain, Location: AbandonedLogCabin03, Spawner: 1 
[AbandonedLogCabin03.StoneGolem]
PrefabName=StoneGolem
Enabled=False
SpawnAtDay=True
SpawnAtNight=True
LevelMin=1
LevelMax=1
LevelUpChance=10
RespawnTime=0
TriggerDistance=60
TriggerNoise=0
SpawnInPlayerBase=False
SetPatrolPoint=True
SetFaction=ForestMonsters

## Biome: Mountain, Location: AbandonedLogCabin04, Spawner: 1 
[AbandonedLogCabin04.StoneGolem]
PrefabName=StoneGolem
Enabled=False
SpawnAtDay=True
SpawnAtNight=True
LevelMin=1
LevelMax=1
LevelUpChance=10
RespawnTime=0
TriggerDistance=60
TriggerNoise=0
SpawnInPlayerBase=False
SetPatrolPoint=True
SetFaction=ForestMonsters

and I added this to my world_spawners cfg file

[WorldSpawner.47]
Name=
Enabled=False
Biomes=Mountain,
PrefabName=StoneGolem
HuntPlayer=False
MaxSpawned=1
SpawnInterval=120
SpawnChance=25.6
LevelMin=1
LevelMax=1
LevelUpChance=-1
LevelUpMinCenterDistance=0
SpawnDistance=10
SpawnRadiusMin=0
SpawnRadiusMax=0
RequiredGlobalKey=
RequiredEnvironments=
GroupSizeMin=1
GroupSizeMax=1
GroupRadius=4
GroundOffset=0.5
SpawnDuringDay=True
SpawnDuringNight=True
ConditionAltitudeMin=120
ConditionAltitudeMax=1000
ConditionTiltMin=0
ConditionTiltMax=35
SpawnInForest=True
SpawnOutsideForest=True
OceanDepthMin=0
OceanDepthMax=0
BiomeArea=6
SetFaction=ForestMonsters

But when I go in the server there are still Stone Golems running around. Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions