World generation
Types in Alta.Caves, Alta.Forests, Alta.Populations, Alta.Loot and Alta.PAGaC. 339 types, 74 with a hand-written page.
See the overview for what the columns mean and how this list is made.
Alta.Caves
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
Biome | class | HashedGeneralValue<Biome> | 5 | Caves |
Biome.Create | class | AltaMenuItemBase.Assets.Create.Township.Generation.ScriptableObject<Biome> | 0 | Editor menu entry for creating a cave Biome asset. |
BiomeDoubleValue | class | DoubleValue<Biome> | 0 | Serializable pair of float values (Value and Value2) tied to a Biome, for inspector lists. |
BiomeResources | static class | 11 | Static cache of all cave generation assets (attributes, biomes, elements, sections, plugins) loaded from the Caves/ Resources folders. Call Initialize before use. | |
BiomeSerializer | static class | 1 | Stream extension for sending a generated biome over the network as its seed, from and to biomes and transition. | |
BiomeSettings | class | CaveSettings<BiomeSettings> | 4 | Caves |
BiomeSettings.Create | class | AltaMenuItemBase.Assets.Create.Township.Generation.Caves.Settings.ScriptableObject<BiomeSettings> | 0 | Editor menu entry for creating the cave BiomeSettings asset. |
BiomeSingleValue | class | SingleValue<Biome> | 2 | A biome paired with a float, serialisable in the inspector. Section uses an array of them for its biome weightings. |
CaveBiomeGenerator | static class | 3 | Caves | |
CaveGeneratingBiome | class | GeneratingBiome | 3 | Biome generator for one cave layer: adds per-layer attribute growth by depth and applies its section's multipliers. |
CaveLayerManager | class | NetworkEntityBehaviour, ISavable<CaveLayerManagerSaveData>, ISavableSave<CaveLayerManagerSaveData>, +1 more | 14 | Caves: Alta.Caves.CaveLayerManager, a scene NetworkEntityBehaviour. static CaveLayerManager Instance. Mostly server. |
CaveLayerManagerSaveData | internal class | NewSaveData<CaveLayerManager, CaveLayerManagerSaveData> | 6 | Current save data for the CaveLayerManager (version 4): seed and per-layer prefab, entrance and depth. |
CaveLayerManagerSaveData3 | internal class | OldSaveData | 4 | Old save data for the CaveLayerManager (version 3) with only seed, layer count and entrances. |
CaveLayerManagerSaveDataOld | internal class | OldSaveData | 2 | Oldest save data for the CaveLayerManager (version 1), holding only the seed. |
CaveLayerManagerSaveDataOld2 | internal class | OldSaveData | 3 | Old save data for the CaveLayerManager (version 2): seed and layer count. |
CaveSettings<T> | abstract class | GeneralValue | 1 | Caves |
CaveTeleportConnection | class | 13 | Caves | |
CaveTeleporter | class | NetworkEntityBehaviour, ISavable<CaveTeleporterData>, ISavableSave<CaveTeleporterData>, +1 more | 11 | A fuelled teleporter in the caves that sends a player to another layer (the surface by default) through CaveTeleporterManager. Its layer is saved and synced; the teleport runs on the server. |
CaveTeleporterData | class | NewSaveData<CaveTeleporter, CaveTeleporterData> | 1 | Save data for a CaveTeleporter (version 1). |
CaveTeleporterManager | class | NetworkEntityBehaviour, ISavable<CaveTeleporterManagerData>, ISavableSave<CaveTeleporterManagerData>, +1 more | 12 | Caves |
CaveTeleporterManagerData | class | NewSaveData<CaveTeleporterManager, CaveTeleporterManagerData> | 1 | Save data for the CaveTeleporterManager (version 1). |
CaveTeleporterPip | class | MonoBehaviour | 2 | Client visual for one cave layer in the cave teleporter's level selector: shows whether the target layer is known and fuelled, and fades in when selected. Spawned by LevelSelector. |
CaveTeleporterProxy | class | 8 | Stands in for one layer's cave teleporter in CaveTeleporterManager, holding its fuel and arrival position even while the real teleporter isn't loaded. Fuel changes go to the real teleporter when one is registered. | |
CaveTeleporterProxyData | class | 4 | Light record of one cave teleporter: its cave layer, position and fuel. Used by CaveTeleportConnection and CaveTeleporterManager. | |
CaveTeleportSettings | class | GlobalSettings<CaveTeleportSettings> | 10 | Caves |
ChunkThread | class | 5 | Caves | |
ConstrainedSpawnerDisplay | class | MapChunkDisplay | 2 | Cave chunk display that spawns a networked prefab at cells of its layer with a value above zero, limited by a quantity and a list of SpawnConstrain checks. Server only. |
Distribution | class | Distribution<Distribution, UnityEngine.Object, Distribution.Item, Distribution.FestivityGroup> | 2 | Caves: A weighted list (of prefabs, materials) whose weights depend on biome attributes. GetRandomAs<T>(AttributeSet). Populations and material parts use it. |
Distribution.Create | class | AltaMenuItemBase.Assets.Create.Township.Generation.ScriptableObject<Distribution> | 0 | Editor menu entry for creating a Distribution asset. |
Distribution.FestivityGroup | class | BaseFestivityGroup | 0 | Concrete festivity group for Distribution: items that only join the draw while their festivity is active. |
Distribution.Item | class | BaseItem | 0 | Concrete weighted entry for Distribution, holding any Unity object. |
Distribution<TThis, T, TItem, TFestivityGroup> | class | HashedGeneralValue<TThis>, IDistribution<T> | 10 | Caves: A weighted list (of prefabs, materials) whose weights depend on biome attributes. GetRandomAs<T>(AttributeSet). Populations and material parts use it. |
Distribution<TThis, T, TItem, TFestivityGroup>.BaseFestivityGroup | class | 3 | A set of distribution items tied to a Festivity; they are only included in random picks while that festivity is activated. | |
Distribution<TThis, T, TItem, TFestivityGroup>.BaseItem | class | IDistributionItem<T> | 3 | One weighted entry in a distribution: the result object and how its weight changes with biome attributes. |
DockedDissolver | class | MonoBehaviour | 0 | Client effect for a PickupDock: when an item is about to dock, a visual copy of it plays a dissolve and is released. Removes itself on a headless server. |
Element | class | GeneralValue, ISerializationCallbackReceiver | 3 | A cave generation element asset: a map chunk display prefab chosen by how well it suits a set of attributes, plus named variables. |
Element.Create | class | AltaMenuItemBase.Assets.Create.Township.Generation.Caves.ScriptableObject<Element> | 0 | Editor menu entry for creating a cave Element asset. |
Element.SerializedVariable | class | 2 | Name and value pair that Unity can save. Element copies its Variables dictionary into a list of these before serialising and back after loading. | |
ElementDoubleValue | class | DoubleValue<Element> | 0 | Serializable pair of float values (Value and Value2) tied to an Element, for inspector lists. |
ElementSingleValue | class | SingleValue<Element> | 0 | Serializable single value of an Element, used for the element list on a Biome. |
EveryXLayersConstrain | class | SpawnConstrain | 1 | Spawn constraint asset that only allows spawning on every Nth cave layer. |
GameObjectDistribution | class | Distribution<GameObjectDistribution, GameObject, GameObjectDistribution.Item, GameObjectDistribution.FestivityGroup> | 1 | A weighted distribution of GameObjects used by cave generation, with festivity groups. A Distribution asset. |
GameObjectDistribution.Create | class | AltaMenuItemBase.Assets.Create.Township.Generation.ScriptableObject<GameObjectDistribution> | 0 | Editor menu entry for creating a GameObjectDistribution asset. |
GameObjectDistribution.FestivityGroup | class | BaseFestivityGroup | 0 | Concrete festivity group for GameObjectDistribution. |
GameObjectDistribution.Item | class | BaseItem | 0 | Concrete weighted entry for GameObjectDistribution, holding a GameObject. |
GeneralSettings | class | CaveSettings<GeneralSettings> | 6 | Caves |
GeneralSettings.Create | class | AltaMenuItemBase.Assets.Create.Township.Generation.Caves.Settings.ScriptableObject<GeneralSettings> | 0 | Editor menu entry for creating the cave GeneralSettings asset. |
GeneratedBiome | class | 11 | Caves | |
GeneratingBiome | class | 3 | Builds a GeneratedBiome by blending weighted biomes: attribute ranges and element multipliers are summed by weight, then rolled with a seed. | |
GeneratingBiome.Range | class | 4 | A float range used by GeneratingBiome for a biome attribute's blended minimum and maximum. | |
GenerationBase | class | NetworkEntityBehaviour, IGenerator | 26 | Generates one procedural cave layer from a seed: splits it into map chunks and runs each generation plugin on them, spread over frames. The server picks the seed and sends it so clients build the same cave. |
GenerationStage | enum | 9 | Order of cave generation stages, from floor and roof through voxels and marching cubes to static, dynamic and aesthetic dressing. Each cave Plugin has one. | |
IBiomeValues | interface | 3 | Generated values of a biome: biome weightings, attribute set and per-element chances. | |
IDistribution<out T> | interface | 2 | Something that can pick a random result of type T, optionally weighted by biome attributes. | |
IDistributionItem<out T> | interface | 2 | One weighted entry in a cave Distribution. | |
IDistributionValue | interface | 1 | A distribution topic that scales its own weight from an attribute set. | |
IGenerator | interface | 15 | What a cave layer's generator exposes to its plugins while building the layer: seed, noise, entrance, chunk size and the plugin list. GenerationBase implements it. | |
LevelSelectCaveTeleporter | class | CaveTeleporter | 3 | Caves |
LevelSelector | class | NetworkEntityBehaviour, INetworkSerialized, IBuildRendererPostBake, +1 more | 8 | The dial on a level select cave teleporter. Turning it fills a gauge and picks a cave level, which LevelSelectCaveTeleporter listens for. The server owns the progress and syncs it. |
MapChunk | class | MonoBehaviour | 15 | Caves |
MapChunkDisplay | abstract class | MonoBehaviour | 4 | Base for a component that draws one cave generation plugin's output in one map chunk. Subclasses implement Initialize and the Render coroutine. |
MapChunkLayer | class | IDisposable | 12 | Caves |
MapChunkLayer.Value | struct | 4 | One non-zero cell of a cave map chunk layer, with its coordinates. Made by MapChunkLayer.CreateAllNonZeroList. | |
MarchingCubesChunkDisplay | class | MapChunkDisplay | 2 | Cave chunk display that shows the marching cubes mesh for its chunk and sets it as the collider. Both sides; only clients assign the visible mesh. |
MarchingCubesPlugin | class | Plugin | 2 | Cave generator plugin that turns a density layer into a mesh with marching cubes, one mesh per map chunk. Uses a pregenerated mesh instead when one exists for the same seed. |
MarchingCubesPlugin.Create | class | AltaMenuItemBase.Assets.Create.Township.Generation.Caves.Plugins.ScriptableObject<MarchingCubesPlugin> | 0 | Editor menu entry for creating a MarchingCubesPlugin asset. |
MarchingCubesPlugin.GeneratedMesh | class | 3 | Mesh made by the marching cubes plugin for one map chunk. Holds either an existing mesh or raw vertices and indices to build one from later. | |
Plugin | class | GeneralValue | 13 | Caves |
PluginInstance | class | 9 | Caves | |
PluginList | class | ScriptableObject | 1 | Asset listing the cave generation plugins to run. GenerationBase makes an instance of each in order. |
PluginList.Create | class | AltaMenuItemBase.Assets.Create.Township.Generation.Caves.ScriptableObject<PluginList> | 0 | Editor menu entry for creating a PluginList asset. |
PregeneratedCave | class | ScriptableObject | 3 | Caves: Fixed layers in an asset. |
PregeneratedCave.Layer | class | 1 | One layer of a pregenerated cave asset: its baked mesh. | |
RoomFixPlugin | class | Plugin | 15 | Cave generation plugin that lines the cave up so its biggest room sits behind the entrance, places the exit near the second biggest room, and shapes the hole between cave layers. |
RoomFixPlugin.Create | class | AltaMenuItemBase.Assets.Create.Township.Generation.Caves.Plugins.ScriptableObject<RoomFixPlugin> | 0 | Editor menu entry for creating a RoomFixPlugin asset. |
RoomFixPlugin.Tunnel | class | 6 | Settings for a tunnel in a RoomFixPlugin: operation, start and end, radius and value curves. Nothing reads them in this build. | |
RoomFixPluginInstance | class | PluginInstance | 3 | Plugin instance for a RoomFixPlugin that keeps the centres of the two biggest rooms found on the layer. |
Section | class | GeneralValue | 3 | Cave generation asset for a run of layers: how many layers, which biomes they can be and how attributes change through them. |
Section.Create | class | AltaMenuItemBase.Assets.Create.Township.Generation.Caves.ScriptableObject<Section> | 0 | Editor menu entry for creating a cave Section asset. |
SerializedGeneratedBiome | class | 1 | Saved description of a blended biome: two biomes, how far between them and a seed. Used by chunk environments and biome presets. | |
SpawnConstrain | abstract class | ScriptableObject | 1 | Base asset for a rule that limits what a ConstrainedSpawnerDisplay spawns in a cave chunk, such as EveryXLayersConstrain. Checked on the server before spawning. |
StreamingSettings | class | CaveSettings<StreamingSettings> | 10 | Caves |
StreamingSettings.Create | class | AltaMenuItemBase.Assets.Create.Township.Generation.Caves.Settings.ScriptableObject<StreamingSettings> | 0 | Editor menu entry for creating the cave StreamingSettings asset. |
StreamingSettings.SpecialLayer | class | 2 | A cave layer that uses its own streamer prefab instead of the default cave streamer. | |
TeleportCostStructure | class | ScriptableObject | 1 | Asset with the fuel cost formula for one kind of cave teleport (from the surface, to the surface or within caves). Picked by CaveTeleportSettings.CalculateCost. |
TeleportEffectArgument | struct | 4 | What the server sends to the chunk when a player uses a cave teleporter, so clients play the depart or arrive effect. |
Alta.Caves.Displays
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
BasicObjectDisplay | abstract class | MapChunkDisplay | 1 | Base for cave chunk displays that place objects at each non-zero cell of a layer, either as network prefabs or as static unnetworked pieces. |
ClusterGenerator | class | GeneratedNetworkEntityBehaviour | 0 | Generated network behaviour that spawns a random number of child prefabs around itself and adds them to a Cluster. Server side, saved as children. |
ClusterSettings | class | 15 | How a cluster generator scatters child objects (such as crystals or mushrooms) around a point in a cave: how many, how they are rotated, offset and scaled, and whether they snap down onto a surface. | |
EmergePoint | class | MonoBehaviour | 0 | Empty marker component; nothing in the decompiled code references it. |
GameObjectDisplay | class | BasicObjectDisplay | 1 | Cave chunk display that places objects (networked prefabs or static pieces) at non-zero cells of its layer, with hashed offset, rotation and scale, optional floor height and raycast. |
PixelMapChunkDisplay | class | MapChunkDisplay | 2 | Debug cave chunk display that draws one Y slice of its layer as a greyscale texture on a flat quad. |
PolygonChunkDisplay | class | MapChunkDisplay | 3 | Cave chunk display that builds a height mesh from one Y slice of its layer and traces solid regions into EdgeCollider2D outlines. Probably an older 2D cave display. |
StaticClusterGenerator | class | MonoBehaviour, IStaticGeneration | 0 | Static generation component that instantiates a random number of plain prefabs around itself during static generation. |
WallAlignedDisplay | class | BasicObjectDisplay | 1 | Cave chunk display that places objects along walls, facing away from nearby solid cells of a floor plan layer. |
Alta.Caves.PluginParts
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
ApplyElement | class | MapGeneratorPart | 3 | Cave generator part that combines every cell of a layer with the biome's chance for an element. |
ApplyElementInstance | class | MapGeneratorPartInstance<ApplyElement> | 2 | Runtime instance of the ApplyElement plugin part: combines every cell of the layer with the current biome's chance for an element. |
BlobEdge | class | MapGeneratorPart | 12 | A cave map generator part that stamps a blob (a centre circle plus smaller circles around it) into one layer of the cave map, combined with the existing values by an operation. |
BlobEdgeInstance | class | MapGeneratorPartInstance<BlobEdge> | 2 | Runtime instance of the BlobEdge plugin part: draws a main circle and hashed smaller circles around it, sized by a biome attribute. |
Blur | class | MapGeneratorPart | 2 | Cave generator part that blurs one Y slice of a layer with a 3 by 3 weighted average. The outer ring of cells is left as it was. |
BlurInstance | class | MapGeneratorPartInstance<Blur> | 2 | Runtime instance of the Blur plugin part: a 3 by 3 weighted blur on one Y slice of the layer. |
CellularAutomata | class | MapGeneratorPart | 6 | Cave generator part that runs one cellular automata step on a Y slice: each cell becomes one value if its neighbours sum to the threshold, another if not. |
CellularAutomataInstance | class | MapGeneratorPartInstance<CellularAutomata> | 2 | Runtime instance of the CellularAutomata plugin part: sets each cell to one of two values by summing its neighbours. |
Circle | class | MapGeneratorPart | 6 | Cave generator part that stamps a circle into one Y slice of a layer, with a curve from centre to edge. |
CircleInstance | class | MapGeneratorPartInstance<Circle> | 2 | Runtime instance of the Circle plugin part: applies a curve over a circle in one Y slice. |
CopyPart | class | MapGeneratorPart | 2 | Cave generator part that copies every cell from another plugin's layer into this one. Logs an error if this layer is bigger than the source. |
CopyPartInstance | class | MapGeneratorPartInstance<CopyPart> | 2 | Runtime instance of the CopyPart plugin part: copies another plugin's layer into this one. |
Curve | class | MapGeneratorPart | 2 | Cave generator part that remaps every cell of a layer through an animation curve. |
CurveInstance | class | MapGeneratorPartInstance<Curve> | 2 | Runtime instance of the Curve plugin part: remaps every cell through an animation curve. |
IPartInstance | interface | 1 | An instance of a cave generation plugin part that changes a map chunk. | |
LineDraw | static class | 2 | Static helpers that draw into a map chunk layer: thick 2D lines for corridors and 3D cylinders for tunnels. | |
LogRange | class | MapGeneratorPart | 1 | Debug cave generator part that logs the minimum, maximum and average value of a chunk's layer. It doesn't change the layer. |
LogRangeInstance | class | MapGeneratorPartInstance<LogRange> | 2 | Runtime instance of the LogRange debug plugin part: logs the minimum, maximum and average of the layer. |
MapGeneratorPart | abstract class | GeneralValue | 4 | Base asset for one part of a cave generator plugin. It makes a MapGeneratorPartInstance for each plugin run. |
MapGeneratorPartInstance<T> | abstract class | IPartInstance | 8 | Runtime instance of a MapGeneratorPart for one cave generator plugin run. It works out the target plugin layer and a seeded identifier, and subclasses change map chunk layers. |
Mask | class | MapGeneratorPart | 5 | Cave generator part that sets cells to a fail value wherever another plugin's layer is on the wrong side of a threshold. |
MaskInstance | class | MapGeneratorPartInstance<Mask> | 2 | Runtime instance of the Mask plugin part: sets cells to a fail value where another plugin's layer is on the wrong side of a threshold. |
OperationPart | class | MapGeneratorPart | 4 | Cave generator part that fills a layer with an operation on two other plugin layers, cell by cell. |
OperationPartInstance | class | MapGeneratorPartInstance<OperationPart> | 2 | Runtime instance of the OperationPart plugin part: combines two plugins' layers cell by cell. |
Point | internal class | 3 | Internal pair of integer coordinates used by LineDraw and the room flood fill. | |
RandomNoise | class | MapGeneratorPart | 6 | Cave generator part that fills a map layer with hashed random values, combined with the existing values using OperationType. |
RandomNoiseInstance | class | MapGeneratorPartInstance<RandomNoise> | 2 | Runtime instance of the RandomNoise plugin part: hashed per-cell random values with optional coverage. |
RoofHole | class | MapGeneratorPart | 5 | Cave generator part that carves a sloping passage linking a cave layer to the next one, using the shape curves of a RoomFixPlugin. Roof holes start at the biggest room, floor holes at the second biggest. |
RoofHoleInstance | class | MapGeneratorPartInstance<RoofHole> | 2 | Runtime instance of the RoofHole plugin part: carves the sloped passage that links a cave layer to the one above or below, from the room found by room fixing. |
RoomFixes | class | MapGeneratorPart | 9 | Cave map generator part that tidies open areas: fills rooms below a minimum size with wall, then joins the rest with corridors. Settings only; the work is done in RoomFixesInstance. |
RoomFixes.Room | class | 6 | One open area found by the room fix flood fill. | |
RoomFixesInstance | class | MapGeneratorPartInstance<RoomFixes> | 2 | Runtime instance of the RoomFixes plugin part: fills in small pockets, joins the remaining rooms with corridors, and records the two biggest rooms for the layer links. |
SimplexNoisePart | class | MapGeneratorPart | 4 | Cave generator part that combines every cell of a layer with 3D simplex noise from the generator's seed, passed through a curve. |
SimplexNoisePartInstance | class | MapGeneratorPartInstance<SimplexNoisePart> | 2 | Runtime instance of the SimplexNoisePart plugin part: 3D simplex noise remapped by a curve. |
Stretch | class | MapGeneratorPart | 9 | Cave map generator part that shapes a layer vertically from a height map, using a curve from floor (or roof) upward. Settings only; the work is done in StretchInstance. |
StretchInstance | class | MapGeneratorPartInstance<Stretch> | 2 | Runtime instance of the Stretch plugin part: extends a height map into the Y axis from the floor or the roof. |
Alta.Forests
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
Array2dGenerationHelper | static class | 4 | Helpers that split forest generation work into parallel Task.Run jobs, by row or by square segment of a 2D array. | |
Array2dGenerationHelper.ThreadRowsAction | delegate | 0 | Work for one row in Array2dGenerationHelper.ThreadRows. Each row runs as its own task with its own seeded random. | |
Array2dGenerationHelper.ThreadRowsAction<T, TData> | delegate | 0 | Work for one block of a 2D array in Array2dGenerationHelper.ThreadRows, given the block's bounds. Blocks are up to 64 by 64 and run as separate tasks. | |
Array2dGenerationHelper.ThreadRowsAction<TContext, T, TData> | delegate | 0 | Like ThreadRowsAction<T, TData>, with a context object passed to every block. | |
Array2dGenerationHelper.ThreadRowsAction<TContext> | delegate | 0 | Like ThreadRowsAction, with a context object passed to every row. | |
CliffFill | class | ForestFillCore | 0 | Forest |
CliffFill.RaycastRequest | struct | 2 | A raycast queued by CliffFill to find a spot on a cliff face to spawn on. | |
CutoutPathEdgeFill | class | ForestFillCore | 0 | Forest |
CutoutPathModifier | class | NodeMapModifier, ITerrainModifier | 4 | Forest generation modifier that sinks the terrain along paths between small nodes that sit low compared with their surroundings, making cut-out trenches, and paints them with splat layer 5. |
Edge | class | 14 | Forest | |
EdgeType | enum | 3 | Flags for a forest graph edge: a normal path, a land bridge or a water bridge. Used by forest generation and path cutting. | |
FillSet | abstract class | ScriptableObject, IFillSet | 3 | Base ScriptableObject for a forest fill or paint set: a set of spawn modifiers plus the range the random fail score is picked from. |
ForestAttributeEvaluator | class | NodeMapModifier | 1 | A node map step in forest generation that fills in biome attributes on nodes and edges (biome, elevation, slope, depth from the entrance, distance to border). |
ForestBridges | class | MonoBehaviour, IForestGeneration | 2 | Forest |
ForestCliffEvaluator | class | NodeMapModifier | 3 | Forest generation modifier that finds cliffs: chains of normal edges where the height drops by at least cliffMinimum. It records points along them for cliff fills to use. |
ForestCliffEvaluator.CliffPoint | struct | 6 | A sample point along a cliff found during forest generation, stepped along each cliff path at a fixed spacing. | |
ForestConnectivityIncreaser | class | NodeMapModifier | 1 | Forest |
ForestConverter | class | TypeConverter | 2 | A TypeConverter that turns a string into a ForestGenerator by matching its Cache name, ignoring case. Probably used when a forest is given as a text argument, such as in console commands. |
ForestEncounters | class | MonoBehaviour, IForestGeneration | 1 | Forest: Places encounters along the paths. |
ForestFill | class | ForestFillCore | 0 | Forest |
ForestFillCore | abstract class | MonoBehaviour, IForestGeneration | 8 | Base for a forest fill step that places static environment pieces (trees, rocks) in a location chunk during world generation. Subclasses do the placing in GenerateInternal. |
ForestFillCore.Setup | class | 4 | Per-row state handed to forest fill code: the forest layout, a seeded random and the spawn modifiers in use. | |
ForestFillSet | class | FillSet | 1 | A fill set asset for forest generation with its own spawn modifiers. |
ForestFillSet.Create | class | AltaMenuItemBase.Assets.Create.Township.Generation.ScriptableObject<ForestFillSet> | 0 | Editor menu entry that creates a new ForestFillSet asset under the Township Generation create menu. |
ForestGCoreInstruction | class | Instruction | 7 | Forest |
ForestGeneration | class | ICacheable | 42 | Forest: Alta.Forests.ForestGeneration, the layout. It's an ICacheable, so it's stored in the cache. |
ForestGenerator | class | NetworkEntityBehaviour, ISavable<ForestGeneratorSaveData>, ISavableSave<ForestGeneratorSaveData>, +1 more | 23 | Forest, Arguments and results: Alta.Forests.ForestGenerator, a NetworkEntityBehaviour placed in the scene. One per forest; ForestGenerator.All lists them. |
ForestGenerator.NearestInfo | struct | 3 | Scratch arrays for forest generation: the nearest path edges to a point, with distance and progress along each. Pooled by ForestGenerator. | |
ForestGeneratorSaveData | class | NewSaveData<ForestGenerator, ForestGeneratorSaveData> | 1 | Save data for a ForestGenerator (save structure version 1). Holds only the forest's seed. |
ForestPathAttributeLerper | class | NodeMapModifier | 1 | A node map step in forest generation that gives each edge the average of its two nodes' values for chosen biome attributes. |
ForestPopulationArea | class | NetworkEntityBehaviour, IPointNormalEvaluator | 1 | Forest |
ForestPopulationCreator | class | MonoBehaviour | 0 | Forest |
ForestSpaceEvaluator | class | NodeMapModifier | 1 | A node map step in forest generation that marks triangle spaces as dense or open from their edge types. |
IFillSet | interface | 3 | A set of spawn modifiers plus a fail score range, used to decide where forest content spawns or terrain is painted. FillSet implements it. | |
IForestGeneration | interface | 6 | Forest: A forest part: GenerateGlobal, GenerateStatic (adds instructions), GenerateDynamic, ClearStatic, ClearDynamic. | |
IRiverDecorationSegment | interface | 5 | One piece of a river's path (a straight line or a bend) that the river generator places bank decorations along. | |
IRiverVisual | interface | 1 | Something that builds visuals for a generated river, such as meshes (RiverMeshTest) or waterfall effects (WaterfallEffectGenerator). | |
ISplatPainter | interface | 1 | A component under a ForestGenerator that paints splat (terrain texture) data for each terrain point, such as SplatPainter and RiverGenerator. | |
ITerrainModifier | interface | 2 | A node map modifier that also changes forest terrain height and splat at each point, given the nearest path. | |
LakeGenerator | class | MonoBehaviour | 0 | Forest |
LandBridgeModifier | class | NodeMapModifier | 1 | Forest |
Node | class | Node<Node, Path> | 3 | Forest |
Node<TNode, TPath> | class | IAStarNode<TNode, TPath> | 15 | Forest |
NodeMapModifier | abstract class | MonoBehaviour | 3 | Base for a component that changes the forest generator's node map before it is used. |
PaintModifiers | class | SpawnModifiers | 1 | Spawn modifier that paints up to two terrain splat layers, scaled by a 0 to 1 score. |
Path | class | Path<Node, Path> | 14 | Forest |
Path<TNode, TPath> | class | IAStarConnection<TNode, TPath> | 7 | Forest |
PerChunkForestSpawner | class | MonoBehaviour | 0 | Forest |
PointEdge | struct | 7 | A 2D point in forest generation with its nearest path edge, worked out lazily and cached. | |
PointNormal | struct | 11 | A point on the ground with its normal, plus cached info about the nearest forest edge and biome. Passed through forest spawning and spawn modifiers. | |
RectExtensions | static class | 1 | Extension methods on Rect used by forest generation. | |
RiverAudio | class | MonoBehaviour | 1 | Client: moves an ambience audio source to the nearest point on the river to the local player's head and fades its volume by river size and distance. |
RiverCenterFill | class | ForestFillCore | 0 | Forest |
RiverCollision | class | MonoBehaviour, IForestGeneration | 0 | A forest generation step that spawns box trigger colliders along the overground river, which pass enters and exits to a locomotion modifier and a liquid container (wading and filling from the river). |
RiverDecorationArc | class | IRiverDecorationSegment | 6 | A curved piece of a river's decoration outline, used to place decorations at even spacing along the bank. |
RiverDecorationLine | class | IRiverDecorationSegment | 6 | A straight piece of a river's decoration outline, used to place decorations at even spacing along the bank. |
RiverEdgeFill | class | ForestFillCore | 0 | Forest |
RiverEncounters | class | MonoBehaviour, IForestGeneration | 1 | A forest generation step that places generation cores along the river per chunk: on paths, river openings, forks, exits and waterfall tops. |
RiverGCoreInstruction | class | Instruction | 3 | A generation instruction that spawns a generation core on a river node or path. Stored and sent by content ID and node indices, then rebuilt and run with the ForestGenerator as context. |
RiverGeneration | class | ICacheable | 12 | The river network for a forest: nodes, the overground paths and waterfalls. It can be cached and rebuilt from the cache. |
RiverGenerator | class | MonoBehaviour, ISplatPainter | 11 | Forest |
RiverIntersections | class | 2 | Generation helper that finds where forest edges cross above-ground river paths, marks those edges as water bridges and groups the crossings by location chunk. | |
RiverIntersections.Intersection | class | 4 | One place where a forest edge crosses a river path. | |
RiverMeshTest | class | MonoBehaviour, IRiverVisual | 1 | Builds the river's visual mesh as RAM splines, one per run of merged river paths, and shows or hides each path with its chunk. |
RiverNode | class | Node<RiverNode, RiverPath> | 19 | A point in the forest's river network. Water volume flows down its outgoing path, and its width comes from the volume. Used while generating rivers and their edge decorations. |
RiverPath | class | Path<RiverNode, RiverPath> | 16 | A river segment between two RiverNodes in the forest generator, with its spline mesh, any waterfall and its neighbouring segments at each end. |
RiverPathType | enum | 3 | Kind of river path: Normal, Waterfall or Merge. | |
Space | class | 11 | Forest | |
SpaceType | enum | 3 | Flags for the kind of space a forest node is in: normal, dense or open. Forest fill only places objects at open nodes or at points outside every node's radius. | |
SpawnModifiers | class | 5 | Lists of modifiers that forest fill runs on a spawn candidate at each stage (point, point with normal, spawn parameters, spawned entity). Each can adjust the candidate and lower its score. | |
SpawnParameters | struct | 7 | Where and what to spawn during forest generation. The constructor fills the spawn data with location attributes: elevation, slope, distance from path and from the forest border. | |
SplatData | struct | 11 | Terrain texture blend for one point: two layer indices and how far to blend from the first to the second. Stored in a colour (red, green, blue). | |
SplatPainter | class | MonoBehaviour, ISplatPainter | 1 | Paints terrain splat (texture) values during forest generation by running a SplatPaintSet's paint modifiers on each terrain point. |
SplatPaintSet | class | FillSet | 2 | A FillSet asset whose spawn modifiers are PaintModifiers, used to paint splat rather than spawn objects. |
SplatPaintSet.Create | class | AltaMenuItemBase.Assets.Create.Township.Generation.ScriptableObject<SplatPaintSet> | 0 | Editor menu entry that creates a new SplatPaintSet asset under the Township Generation create menu. |
SplineInstruction | class | Instruction | 3 | Forest |
Waterfall | class | 8 | A waterfall in river generation, from a top river node to a bottom one, with the river paths that pass through it. | |
WaterfallEffect | class | PooledObject | 3 | Pooled particle effect at the bottom of a waterfall, sized to the river width and shown only while its chunk is fully loaded. |
WaterfallEffectGenerator | class | MonoBehaviour, IRiverVisual | 1 | Forest |
Alta.Loot
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
Category | class | GeneralValue | 2 | Loot category asset that items belong to (Item.LootCategory). Loot rolls first pick a category by weighting, then an item within it. |
Category.Create | class | AltaMenuItemBase.Assets.Create.Township.Generation.Loot.ScriptableObject<Category> | 0 | Editor menu entry (Assets, Create, Township, Generation, Loot) that makes a new Category asset. Editor only. |
DebugPackage | class | ScriptableObject | 1 | A named set of prefabs and quantities that the server spawns with PackageManager.DropPackage, in front of a player or at the spawn point. Loaded from Resources/Items/Packages/, looked up by lowercase name without spaces. |
DebugPackage.Create | class | AltaMenuItemBase.Assets.Create.Township.Debug.ScriptableObject<DebugPackage> | 0 | Editor menu entry (Assets, Create, Township, Debug) that makes a new DebugPackage asset. Editor only. |
DebugPackage.PrefabQuantity | class | 4 | One entry in a debug package: a network prefab and how many to give. | |
DebugPackageManager | class | MonoBehaviour | 0 | Empty MonoBehaviour with no code. Package lookup and dropping is done by the static PackageManager. |
GeneratedLoot | class | DockArray, ISavable<GeneratedLootSaveData>, ISavableSave<GeneratedLootSaveData>, +1 more | 2 | A dock array that fills its docks with random loot from its chunk's biome and refills them on a timer (one day by default). Server side. |
GeneratedLootSaveData | internal class | NewSaveData<GeneratedLoot, GeneratedLootSaveData> | 3 | Save data (version 2) for GeneratedLoot. Internal. |
GeneratedLootSaveData1 | internal class | OldSaveData | 4 | Old save format (version 1) for GeneratedLoot, with the refill timer in float seconds. Migrated to GeneratedLootSaveData. |
LootHelper | static class | 1 | Static helper that fills a set of pickup docks with random loot for a biome and prosperity. Server side; used by GeneratedLoot and LootModule. | |
LootModule | class | NetworkEntityBehaviour, ISavable<LootModuleSaveData>, ISavableSave<LootModuleSaveData>, +1 more | 3 | Loot: Alta.Loot.LootModule, a NetworkEntityBehaviour on containers. |
LootModuleSaveData | internal class | NewSaveData<LootModule, LootModuleSaveData> | 6 | Save data (version 5) for LootModule, a loot spawner on a dock group. Internal. |
LootModuleSaveData1 | internal class | OldSaveData | 6 | Old save format (version 1) for LootModule, with the refill timer in float seconds. Migrates to LootModuleSaveData2. |
LootModuleSaveData2 | internal class | OldSaveData | 6 | Old save format (version 2) for LootModule. Migrates to LootModuleSaveData3. |
LootModuleSaveData3 | internal class | OldSaveData | 7 | Old save format (version 3) for LootModule, which added isOneOff. Migrates to LootModuleSaveData4. |
LootModuleSaveData4 | internal class | OldSaveData | 8 | Old save format (version 4) for LootModule, which added respawnFrequency. Migrates to LootModuleSaveData. |
LootTable | class | GeneralValue | 3 | A loot table asset: item entries grouped by rarity, with extra entries for festivals. GetLoot rolls an item for a dock. |
LootTable.Create | class | AltaMenuItemBase.Assets.Create.Township.Generation.Loot.ScriptableObject<LootTable> | 0 | Editor menu entry (Assets, Create, Township, Generation, Loot) that makes a new LootTable asset. Editor only. |
LootTable.Entry | class | 4 | One item in a loot table with a count range. | |
LootTable.FestivityList | class | 2 | Loot entries in a RarityList that apply for one festivity (a seasonal event). Set in the loot table asset. | |
LootTable.RarityList | class | 3 | The loot entries a LootTable offers for one rarity, plus extra lists per festivity. Set in the loot table asset. | |
Origin | class | GeneralValue | 2 | Loot origin asset: which loot tables an item of a given rarity can come from. Rarities pick an origin at random by weight, then the origin lists the possible items. |
Origin.Create | class | AltaMenuItemBase.Assets.Create.Township.Generation.Loot.ScriptableObject<Origin> | 0 | Editor menu entry (Assets, Create, Township, Generation, Loot) that makes a new Origin asset. Editor only. |
OriginSingleValue | class | SingleValue<Origin> | 2 | A serializable pair of a loot Origin and a float value, the SingleValue form used for weighting origins in loot assets. |
PackageManager | static class | 2 | Static lookup of DebugPackage assets (from Resources/Items/Packages/) and the code behind the package drop console command. Server only. | |
PresetLootModule | class | NetworkEntityBehaviour, ISavable<PresetLootModuleSaveData>, ISavableSave<PresetLootModuleSaveData>, +1 more | 2 | Fills the parent PickupDockGroup with a fixed PresetLootSet instead of random loot. Server side; the set and options come from its saved setup. |
PresetLootModuleSaveData | class | NewSaveData<PresetLootModule, PresetLootModuleSaveData> | 2 | Saved setup for a PresetLootModule: which preset loot set it spawns and whether it clears first. |
PresetLootSet | class | HashedGeneralValue<PresetLootSet> | 1 | Asset listing loot to spawn into a group of docks, one random free dock per spawn. Used by PresetLootModule on the server. |
PresetLootSet.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Items.ScriptableObject<PresetLootSet> | 0 | Editor menu entry (Assets, Create, Township, Features, Items) that makes a new PresetLootSet asset. Editor only. |
PresetLootSet.Entry | class | 3 | One line in a preset loot set: what item to spawn, how many, and on which material. | |
Rarity | class | GeneralValue | 3 | A loot rarity asset with a weighting. All rarities load from Resources/Items/Rarities, and loot tables pick one at random. |
Rarity.Create | class | AltaMenuItemBase.Assets.Create.Township.Generation.Loot.ScriptableObject<Rarity> | 0 | Editor menu entry (Assets, Create, Township, Generation, Loot) that makes a new Rarity asset. Editor only. |
Alta.PAGaC
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
ApplyGenerationRule | class | GenerationStep | 1 | PAGaC generation step that runs a set of GenerationRules over the generator's tag grid. |
BuildingRooms | class | GenerationStep | 4 | PAGaC generation step that lays out random rooms in the tag grid, then carves doors, stairs and windows between them. Probably an editor or prototype tool; nothing outside PAGaC uses it. |
BuildingRooms.NodeRange | class | 3 | A run of nodes from one node to another, used by BuildingRooms to describe a wall section. | |
Constructor | class | 4 | PAGaC's matcher: finds where rules fit in a 3D tag grid (in all four rotations) and either rewrites the tags or spawns prefabs for matching parts. | |
Decay | class | GenerationStep | 1 | PAGaC generation step that turns cells to air using 3D simplex noise, with more decay higher up, to make structures look ruined. |
GenerationBase | class | MonoBehaviour | 6 | Editor test component for the PAGaC grid generator: runs the generation steps on its children and builds the result from an option set. |
GenerationRule | class | RuleBase, ISerializationCallbackReceiver | 5 | A PAGaC rule asset that, where its pattern matches, edits the tag grid with a list of steps (set, remove or clear tags per cell). Used by the generation Constructor. |
GenerationRule.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.PAGaC.ScriptableObject<GenerationRule> | 0 | Editor menu item under Assets/Create/Township/Features/PAGaC that makes a new GenerationRule asset. |
GenerationRule.Step | enum | 3 | What a GenerationRule step does to each cell: set it to a tag, remove listed tags, or clear it. | |
GenerationStep | abstract class | MonoBehaviour | 1 | Base component for one step of PAGaC generation, such as BuildingRooms, Decay or ApplyGenerationRule. |
Generator | class | 8 | A 3D grid of tagged nodes for procedural construction, all set to the air tag at first. | |
LockMode | enum | 5 | Setting on OptionSet and RuleOptionSet for how a random choice is locked (None, Set, Building, Region, Server). Nothing in the code reads it. | |
Node | class | 6 | One cell in a PAGaC generation grid: its position and the tag it currently holds. | |
NodeCollection | class | 15 | A set of grid nodes from the PAGaC procedural generator, with a running bounding box. The bounds code has slips (max Y and Z are only updated when X grows, and recalculated maxes use the minimum), so treat the bounds as rough. | |
NodeExtensions | static class | 1 | Helpers for sequences of PAGaC grid Nodes. | |
OptionSet | class | GeneralValue | 3 | A weighted set of parts for procedural generation. Evaluating it rolls each part and nested set by its own chance. |
OptionSetChance | class | 2 | An OptionSet with a chance to run, used in an OptionSet's list of sub-sets. | |
Part | class | GeneralValue | 5 | A prefab piece for the PAGaC procedural building generator, with the rule that says where it can go and its offset inside a grid cell. A ScriptableObject asset. |
PartChance | class | 2 | A PAGaC part with a 0 to 1 chance of being picked, used in RuleOptionSet and option set lists. | |
Rule | class | RuleBase, ISerializationCallbackReceiver | 6 | A PAGaC placement rule: a grid of tag lists per configuration that must match before a part goes in, plus whether it can overlap itself in other rotations. A ScriptableObject that flattens its 4D tag grid for Unity serialization. |
Rule.RotationOverlap | enum | 5 | Whether a rule may be placed again on cells it already used: never, only at a perpendicular rotation, only mirrored, either of those, or always. | |
RuleBase | abstract class | GeneralValue | 6 | Base asset for a PAGaC (procedural generation) rule: a 3D grid of tag lists, with one grid per configuration (probably rotations or variants). |
RuleOptionSet | class | GeneralValue | 4 | A PAGaC asset tying a rule to the parts it can place. Each part, and each nested option set, is rolled against its weight. |
RuleOptionSetChance | class | 2 | A nested RuleOptionSet with a 0 to 1 chance of being evaluated. | |
Tag | class | HashedGeneralValue<Tag> | 1 | A tag asset for the PAGaC construction system (under PAGaC/Construction/Tags), with a colour for display. |
Test | class | GeneralValue, ISerializationCallbackReceiver | 6 | Test asset for PAGaC: a hand-filled 3D tag grid plus an option set, used to try out part placement. |
Alta.Populations
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
AttributeImpact | class | 1 | Weights where a global population spawns by one biome attribute. GlobalPopulationDefinition multiplies these together per chunk. | |
BasicEcosystem | class | NetworkEntityBehaviour | 3 | Populations and spawners |
BasicPopulation | class | 15 | Populations and spawners | |
BasicPopulation.PopulationEventHandler | delegate | 0 | Handler for BasicPopulation.PopulationIncreased and PopulationDecreased, given the population and the item that was added or removed. | |
BasicPopulationFolder | class | NetworkEntityBehaviour, IPopulationFolder, ISavable<BasicPopulationFolderSaveData>, +2 more | 9 | Server-side population holder for an area, such as a forest chunk. Spawns from a PopulationSetup with density from its area, and can join its chunk's ecosystem. |
BasicPopulationFolderSaveData | class | NewSaveData<BasicPopulationFolder, BasicPopulationFolderSaveData> | 4 | Save data (version 1) for a BasicPopulationFolder. |
BasicPopulationItem | class | MonoBehaviour, IPopulationItem | 7 | Added to a spawned population entity (such as an animal) to tie it to its BasicPopulation. Moving ones follow chunk changes and switch population. Server side. |
BasicPopulationItem.PopulationItemEventHandler | delegate | 0 | Callback with a BasicPopulationItem, used by its Removed event. | |
BasicPopulationManager | class | IPopulationManager | 2 | Populations and spawners |
BoundsPopulationItem | class | PopulationItem | 2 | Population member that leaves its population once it moves outside its chunk's buffer bounds, then gets chunked normally and stops being saved. |
CavePopulationSpawnInformation | class | PopulationSpawnInformation | 3 | Spawn information for cave populations: picks random spawn spots weighted by a map chunk layer's values, then places them through a SpawnAreaDisplay. |
CircularSpawnPointGenerator | class | SpawnAreaBase | 1 | Populations and spawners |
DayNightOnlyTimerDefinition | class | PopulationTimerDefinition | 4 | Populations and spawners |
Ecosystem | class | NetworkEntityBehaviour, ISpawnSystem, ISavable<EcosystemSaveData>, +2 more | 7 | Populations and spawners: A chunk's (or cave layer's) set of populations, with spawn points worked out from the ground. |
Ecosystem.PopulationApplication | class | 4 | One population entry in an Ecosystem asset: which population, how big it can get, and whether spawn points cap it. Server: turned into a PopulationSample per chunk. | |
EcosystemSaveData | class | NewSaveData<Ecosystem, EcosystemSaveData> | 1 | Save data (version 1) for an Ecosystem: the spawn point positions of each population in it. |
EcosystemSaveData.Entry | class | 3 | Saved spawn points for one population in an ecosystem chunk. | |
ElementDestroy | delegate | 0 | Callback for when a population's SpawnedElement is destroyed. Nothing in this build uses it. | |
FrequencyTimerDefinition | class | PopulationTimerDefinition | 4 | Populations and spawners |
GlobalPopulationDefinition | class | HashedGeneralValue<GlobalPopulationDefinition> | 8 | Arguments and results, Populations and spawners |
GlobalPopulationDefinition.PopulationInfo | class | 5 | A snapshot of a global population for listing: hash, name, how many are spawned and the maximum. | |
GlobalPopulationsManager | class | NetworkEntityBehaviour, ISavable<GlobalPopulationsManagerSaveData>, ISavableSave<GlobalPopulationsManagerSaveData>, +1 more | 1 | Populations and spawners |
GlobalPopulationsManagerSaveData | class | NewSaveData<GlobalPopulationsManager, GlobalPopulationsManagerSaveData> | 2 | Save data (version 1) for the GlobalPopulationsManager. The manager saves an empty one and ignores it on load in this build. |
IPointNormalEvaluator | interface | 1 | Picks spawn points for a population folder. The population manager asks it for a point when spawning. | |
IPopulationFolder | interface | 8 | A saved area that holds one population: its size, density and spawn point picker. BasicPopulationFolder is the main implementation. | |
IPopulationFolderSaveDataBase | interface | 6 | Saved state of one population in a chunk: its counts, next check time and spawned children. | |
IPopulationItem | interface | 1 | A spawned population member. Growers use it to hand population membership on when an item turns into its next stage. | |
IPopulationManager | interface | 1 | Spawns population items for a population folder. BasicPopulationManager implements it; a folder exposes it as Manager. | |
IPopulationRemovalMethod | interface | 1 | Populations and spawners: A component on a spawned thing that tells its population when the thing should stop counting. | |
ISpawnSystem | interface | 3 | Something populations spawn through, implemented by PopulationSpawnArea. | |
ObjectHistory | class | MonoBehaviour | 1 | Debug component that records an object's position and rotation every Update, FixedUpdate and LateUpdate into a ring buffer and draws them as gizmos. |
ObjectHistory.ObjectTrackingSettings | class | 5 | Settings for an ObjectHistory debug tracker: which loops record the object's transform and how many records to keep. | |
PointsPopulationValue | class | PopulationSpawnInformation | 7 | Spawn information backed by a fixed list of spawn points. Saved with the ecosystem. |
PopulationAction | enum | 4 | What happened in a population event (initialize, update, spawned, lost). Sent with population analytics records and PopulationEventData. | |
PopulationAnalytics | static class | 2 | Populations and spawners: Sends population records to analytics (Alta's API is gone). | |
PopulationDefinition | class | HashedGeneralValue<PopulationDefinition> | 20 | Populations and spawners, Arguments and results: Alta.Populations.PopulationDefinition, a HashedGeneralValue asset. |
PopulationDefinition.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Creatures.ScriptableObject<PopulationDefinition> | 0 | Editor menu item under Assets/Create/Township/Features/Creatures that makes a new PopulationDefinition asset. |
PopulationDefinitionManager | class | MonoBehaviour, ISavable<PopulationDefinitionManagerData>, ISavableSave<PopulationDefinitionManagerData>, +1 more | 4 | Populations and spawners: Saved per-definition overrides of the respawn time. |
PopulationDefinitionManagerData | class | NewSaveData<PopulationDefinitionManager, PopulationDefinitionManagerData> | 2 | Save data (version 1) for the PopulationDefinitionManager: a value per population definition. |
PopulationDelegate | delegate | 0 | Callback that gets a PopulationSample. | |
PopulationEvent | class | AltaEvent<PopulationSample, PopulationUnityEvent> | 0 | Serializable Alta event that passes a PopulationSample, settable in the inspector. |
PopulationEventData | class | 6 | Console events | |
PopulationFolder | class | PopulationFolder<PopulationFolder, PopulationFolderSaveData> | 0 | Populations and spawners |
PopulationFolder<TThis, TData> | class | PopulationFolderBase, ISavable<TData>, ISavableSave<TData>, +1 more | 0 | Populations and spawners |
PopulationFolderBase | class | NetworkEntityBehaviour | 6 | Populations and spawners |
PopulationFolderSaveData | class | NewSaveData<PopulationFolder, PopulationFolderSaveData>, IPopulationFolderSaveDataBase | 12 | Save data (version 2) for a PopulationFolder: its population definition, counts, timer and saved children. |
PopulationFolderSaveData1 | class | OldSaveData | 7 | Old version 1 save data for a PopulationFolder, kept so old saves can load. |
PopulationItem | class | MonoBehaviour, IPopulationItem | 5 | Spawning and despawning, Populations and spawners: A component the population adds to everything it spawns. |
PopulationItemSpawnHandler | delegate | 0 | Populations and spawners | |
PopulationRaycast | class | HashedGeneralValue<PopulationRaycast> | 1 | Asset with raycast settings for placing population spawns on the ground. RadialPopulationArea uses it. |
PopulationRaycast.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Populations.ScriptableObject<PopulationRaycast> | 0 | Editor menu item under Assets/Create/Township/Features/Populations that makes a new PopulationRaycast asset. |
PopulationSample | class | 26 | Spawning and despawning, Populations and spawners: One population of one PopulationDefinition in one chunk: a count, a maximum, and the entities it has spawned. | |
PopulationSaveDataChild | class | 2 | Save record linking one saved child of a population folder to the spawn point it came from. | |
PopulationSetup | class | HashedGeneralValue<PopulationSetup>, IFillSet | 6 | Asset defining a population: how fast it spawns and where its members may be placed. Looked up by hash; also used as a fill set when placing members. |
PopulationSetup.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Populations.ScriptableObject<PopulationSetup> | 0 | Editor menu item under Assets/Create/Township/Features/Populations that makes a new PopulationSetup asset. |
PopulationSpawnArea | class | PopulationFolder<PopulationSpawnArea, PopulationSpawnAreaSaveData>, ISpawnSystem | 9 | Populations and spawners: Alta.Populations.PopulationSpawnArea, a PopulationFolder entity behaviour. |
PopulationSpawnAreaSaveData | class | NewSaveData<PopulationSpawnArea, PopulationSpawnAreaSaveData>, IPopulationFolderSaveDataBase | 15 | Save data for a PopulationSpawnArea: which population it holds, its counts, spawn timer and children. |
PopulationSpawnAreaSaveData1 | class | OldSaveData | 10 | Old version 1 save data for a PopulationSpawnArea, kept so old saves can load. |
PopulationSpawnInformation | abstract class | 7 | Populations and spawners: Where a population can spawn: PointsPopulationValue (a list of points), SimplePopulationValue (asks an ISpawnPositions), CavePopulationSpawnInformation. | |
PopulationTimerDefinition | abstract class | ScriptableObject | 4 | Populations and spawners |
PopulationUnityEvent | class | UnityEvent<PopulationSample> | 0 | Serializable UnityEvent that passes a PopulationSample; the inspector side of PopulationEvent. |
RadialPopulationArea | class | MonoBehaviour, IPointNormalEvaluator | 1 | Populations and spawners |
RadialPopulationItem | class | PopulationItem | 2 | Population member that leaves its population once it moves past the definition's disconnect radius, then gets chunked normally and stops being saved. |
SimplePopulationValue | class | PopulationSpawnInformation | 4 | Spawn information that asks an ISpawnPositions source for points by index and caches them. |
SpawnAreaBase | abstract class | MonoBehaviour | 1 | Populations and spawners |
SpawnAreaDisplay | class | MapChunkDisplay | 3 | A cave generation display that registers its layer as spawn space for chosen populations, then picks spawn points in it. Server only. |
SpawnedElement | class | 4 | Server: one slot of a global population in a location chunk. It picks a spot, spawns the prefab when the chunk is fully loaded, and can decay after a set time. | |
SpawnPoint | class | 6 | Populations and spawners: One place, with Position, Rotation and IsFree. | |
SpawnPointsDisplay | class | MapChunkDisplay | 2 | Map generator display that turns a chunk layer's non-zero cells into spawn points for one population and hands them to the ecosystem. Server only (Render does nothing on clients). |
SpawnRate | class | GeneralValue | 5 | Populations and spawners |
SpawnRate.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Populations.ScriptableObject<SpawnRate> | 0 | Editor menu entry for creating a SpawnRate asset. |