• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Remove sleepers?

The-Walking-Dad

New member
Hi all.

Is there a simple xml way to remove sleepers from a prefab? I have an idea in mind but won't be at pc for hours, thought I'd mine your head gold.

Much thanks for any suggestions.

 
I think it might be in gamestages.xml

Code:
1. emptyChance:	the chance of the entire sleeper VOLUME having no zombies
2. count:			after emptyChance has been checked, the total number of SLEEPERS spawned is determined by the count
3. decoyChance:	determines how many OF the spawned sleepers will be DECOYS
4. decoy1hpChance:	determines how many OF the spawned decoys will be ONE HIT POINT DECOYS

Full hit point decoys:	Will never wake up due to sight/sound events. Will wake up if attacked.
1 HP decoys:			Will never wake up due to sight/sound events. Will die instantly if attacked.

The gamestage for a specific sleeper volume can be adjusted up/down in the volume settings, not here.
 
gamestages.xml is where id do it as well.

Code:
<group name="S_LootRoom_XS" [color="#00FF00"]emptyChance=[/color]"[color="#FF0000"]0[/color]">
<spawner name="SleeperGSList" count="1,2"/>
</group>
It wouldn't take long.

If you want to specifically remove them from specific prefabs then Comment out "SleeperVolumeGroup" from the prefab.xml.

Code:
<prefab>
   <property name="CopyAirBlocks" value="True" />
   <property name="AllowTopSoilDecorations" value="True" />
   <property name="Zoning" value="ResidentialOld" />
   <property name="RotationToFaceNorth" value="2" />
   <property name="YOffset" value="-1" />
   <property name="AllowedTownships" value="city,town,rural,wilderness" />
   <property name="TraderArea" value="False" />
   <property name="ExcludeDistantPOIMesh" value="False" />
   <property name="SleeperVolumeSize" value="20, 16, 21" />
   <property name="SleeperVolumeStart" value="0, 1, 8" />
   [color="#00FF00"]<property name="SleeperVolumeGroup" value="S_AbandonedHouse_1" />[/color]
   <property name="SleeperVolumeGameStageAdjust" value="" />
   <property name="SleeperIsLootVolume" value="False" />
   <property name="DistantPOIYOffset" value="0" />
</prefab>
 
Back
Top