Namespace DaggerfallWorkshop.Game.Utility
Classes
CityNavigation
Utility class to help with mobile spawning and navigation in town environments. The navigation component is intended to be used by wandering NPCs. Mobile enemies will use normal steering behaviour to follow player. Combines inverse of automap to carve out navgrid then sets weighting by tile type.
DaggerfallDistance
Dice100
EditDistance
FoeSpawner
Spawn one or more enemies near player. Will attempt to start placing spawns after game objects are set and spawn count greater than 0. This is a generic spawn helper not tied to any specific system. NOTES:
- Spawns foes immediately. Be careful spawning multiple foes as they are likely to become stuck on each other.
- The spawner will self-destroy once all foes spawned. Do not attach to anything you want to remain in scene.
- There is a prefab carrying this component in Prefabs/Scene for easy spawner setups.
- Will attempt to find best parent at time if none specified (e.g. dungeon, interior).
- Might need to reduce MinDistance if expecting to spawn in tigt confines like small interiors.
NameHelper
Generates names for Daggerfall NPCs and locations.
PaperDollRenderer
Render paper doll at higher pixel densities using custom layer flags. Maintains layout data to sample equip index of item texture under mouse. Replacement paper doll textures must be readable.
PopulationManager
Manages a pool of civilian mobiles (wandering NPCs) for the local town environment. Attached to the same GameObject as DaggerfallLocation and CityNavigation by environment layout process in StreamingWorld.
SceneControl
Launches game or startup scene based on path validation.
StartGameBehaviour
Game startup and shutdown helper.
TravelTimeCalculator
Helper to calculate overland travel time for travel map and Clock resource. Travel time needs to be coordinated between these systems for quests to provide a realistic amount of time for player to complete quest.
Structs
DistanceMatch
NameHelper.NameBank
A bank is an array of sets.
NameHelper.NameSet
A set is an array of string parts.
PopulationManager.PoolItem
Interfaces
IDistance
Enums
CityNavigation.TileFlags
Tile flags.
CityNavigation.TileTypes
Tile types examined for weightings.
NameHelper.BankTypes
Name banks available for generation.
PaperDollRenderer.LayerFlags
These flags determine which parts of paper doll build are rendered into output texture.