Class SceneOptions
Specify options for Scene generation.
Inheritance
System.Object
SceneOptions
Assembly: Collapse.dll
Syntax
public class SceneOptions : object
Fields
AllowOverworldDecay
Declaration
public bool AllowOverworldDecay
Field Value
Type |
Description |
System.Boolean |
|
BasicArmor
Whether Survivors should spawn with basic armor or not
Declaration
Field Value
Type |
Description |
System.Boolean |
|
BasicWeapon
Whether Survivors should spawn with basic weapons or not
Declaration
Field Value
Type |
Description |
System.Boolean |
|
BetterSettlers
Declaration
public bool BetterSettlers
Field Value
Type |
Description |
System.Boolean |
|
DefaultEquip
The default equipment loadout for spawned Survivors.
Declaration
public string DefaultEquip
Field Value
Type |
Description |
System.String |
|
DisableEnemies
Whether enemies should be disabled entirely for this Scene or not.
Declaration
public bool DisableEnemies
Field Value
Type |
Description |
System.Boolean |
|
DisableFogOfWar
Declaration
public bool DisableFogOfWar
Field Value
Type |
Description |
System.Boolean |
|
DisableTrapRooms
Declaration
public bool DisableTrapRooms
Field Value
Type |
Description |
System.Boolean |
|
DisableWeather
Whether weather should be disabled entirely for this Scene or not.
Declaration
public bool DisableWeather
Field Value
Type |
Description |
System.Boolean |
|
EnableExpeditions
Declaration
public bool EnableExpeditions
Field Value
Type |
Description |
System.Boolean |
|
EventHandlerFile
Declaration
public string EventHandlerFile
Field Value
Type |
Description |
System.String |
|
EventMan
The name of the event manager to use.
Declaration
Field Value
Type |
Description |
System.String |
|
Forestry
The amount of trees that should be spawned.
Declaration
Field Value
Type |
Description |
System.Single |
|
GroupName
The name of the Survivors group.
Declaration
Field Value
Type |
Description |
System.String |
|
Height
Declaration
Field Value
Type |
Description |
System.Int32 |
|
InfestationLevel
Declaration
public float InfestationLevel
Field Value
Type |
Description |
System.Single |
|
Loot
The amount of loot that should be spawned.
Declaration
Field Value
Type |
Description |
System.Single |
|
MapType
Declaration
public EMapArchetype MapType
Field Value
OverworldAllowedBuildings
Declaration
public List<string> OverworldAllowedBuildings
Field Value
Type |
Description |
List<System.String> |
|
OverworldAllowedBuildingTypes
Declaration
public List<EBuildingType> OverworldAllowedBuildingTypes
Field Value
OverworldBuildingPositioning
Declaration
public EBuildingPositioning OverworldBuildingPositioning
Field Value
OverworldDecay
Declaration
public float OverworldDecay
Field Value
Type |
Description |
System.Single |
|
OverworldMaxBuildingCount
Declaration
public int OverworldMaxBuildingCount
Field Value
Type |
Description |
System.Int32 |
|
OverworldMinBuildingCount
Declaration
public int OverworldMinBuildingCount
Field Value
Type |
Description |
System.Int32 |
|
OverworldMountains
Declaration
public float OverworldMountains
Field Value
Type |
Description |
System.Single |
|
Parent
The Scene this configuration belongs to.
Declaration
Field Value
RiverExits
Declaration
public List<ELocation> RiverExits
Field Value
RoadExits
Declaration
public List<ELocation> RoadExits
Field Value
SpawnUnderground
Declaration
public bool SpawnUnderground
Field Value
Type |
Description |
System.Boolean |
|
SurvivorCount
The number of Survivors to automatically spawn.
Declaration
Field Value
Type |
Description |
System.Int32 |
|
TerrainType
The type of terrain that should be generated.
Declaration
public string TerrainType
Field Value
Type |
Description |
System.String |
|
UndergroundType
Declaration
public EUndergroundType UndergroundType
Field Value
UnderworldBunker
Declaration
public bool UnderworldBunker
Field Value
Type |
Description |
System.Boolean |
|
UnderworldCellularOpenness
Declaration
public float UnderworldCellularOpenness
Field Value
Type |
Description |
System.Single |
|
UnderworldCellularPassCount
Declaration
public int UnderworldCellularPassCount
Field Value
Type |
Description |
System.Int32 |
|
UnderworldDiggingCloseChance
Declaration
public float UnderworldDiggingCloseChance
Field Value
Type |
Description |
System.Single |
|
UnderworldDiggingDiggerCount
Declaration
public int UnderworldDiggingDiggerCount
Field Value
Type |
Description |
System.Int32 |
|
UnderworldDiggingMaxOpenness
Declaration
public int UnderworldDiggingMaxOpenness
Field Value
Type |
Description |
System.Int32 |
|
UnderworldDiggingMinOpenness
Declaration
public int UnderworldDiggingMinOpenness
Field Value
Type |
Description |
System.Int32 |
|
UnderworldDungeonFeatureCount
Declaration
public int UnderworldDungeonFeatureCount
Field Value
Type |
Description |
System.Int32 |
|
UnderworldDungeonRoomChance
Declaration
public int UnderworldDungeonRoomChance
Field Value
Type |
Description |
System.Int32 |
|
UnderworldExpandWallInto
Declaration
public string UnderworldExpandWallInto
Field Value
Type |
Description |
System.String |
|
UnderworldSewerClutter
Declaration
public int UnderworldSewerClutter
Field Value
Type |
Description |
System.Int32 |
|
UnderworldSewerDecay
Declaration
public float UnderworldSewerDecay
Field Value
Type |
Description |
System.Single |
|
UnderworldUseCellularGen
Declaration
public bool UnderworldUseCellularGen
Field Value
Type |
Description |
System.Boolean |
|
Width
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Methods
AddStartingEquipment(InventoryItem)
Add an InventoryItem to the equipment Survivors will receive when the Scene is initialized.
Declaration
public void AddStartingEquipment(InventoryItem item)
Parameters
Type |
Name |
Description |
InventoryItem |
item |
The InventoryItem to add.
|