Players and characters
Types in Alta.Character, Alta.PlayerStates, Alta.PlayerEffects, Alta.Progression, Alta.Achievements and Alta.QuickAccessActions. 250 types, 20 with a hand-written page.
See the overview for what the columns mean and how this list is made.
Alta.Achievements
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
Achievement | class | 11 | One Steam achievement tracked by AchievementManager: its definition, text and whether the player has it. | |
AchievementDefinition | class | ScriptableObject | 1 | Asset for one achievement; its asset name is its ID. |
AchievementDefinition.Create | class | AltaMenuItemBase.Assets.Create.Township.Meta.ScriptableObject<AchievementDefinition> | 0 | Editor menu entry that creates a new AchievementDefinition asset. Editor only, no runtime use. |
AchievementManager | class | SingletonBehaviour<AchievementManager>, IAchievementManager, IStatManager | 5 | Singleton that loads every achievement and stat definition from Resources and passes unlocks and stat changes to Steam. Client side; get it through Instance. |
AchievementStatDefinition | class | ScriptableObject | 2 | Asset for one stat that achievements track; its asset name is its ID. |
AchievementStatDefinition.Create | class | AltaMenuItemBase.Assets.Create.Township.Meta.ScriptableObject<AchievementStatDefinition> | 0 | Editor menu entry that creates a new AchievementStatDefinition asset. Editor only, no runtime use. |
IAchievementManager | interface | 2 | What an Achievement calls back into to unlock or refresh itself. Implemented by AchievementManager, which passes the calls to the platform stats. | |
IStatManager | interface | 2 | What a Stat calls back into to sync with the platform. Implemented by AchievementManager. | |
PlatformStats | abstract class | 6 | Base for a platform's achievements and stats backend. AchievementManager creates a SteamStats and forwards calls to it. | |
SetupAchievements | static class | 1 | Hooks game events to achievement unlocks. Run once by AchievementManager.Awake. | |
Stat | class | 8 | One platform achievement stat (such as a Steam stat), as an int or a float. Setting a value passes it on to AchievementManager, which sends it to the platform. | |
StatType | enum | 2 | Whether a platform stat holds an int or a float. | |
SteamStats | class | PlatformStats | 6 | Steam backend for achievements and stats, built by AchievementManager. Does nothing unless SteamManager is initialized, so it is inert on a headless server. |
Alta.Character
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
AccessibleDocks | class | MonoBehaviour, IInitializeAsLocalPlayer | 3 | Player inventory: The accessibility option that moves belt docks to easier spots (local player). |
ArmController | class | CharacterComponentController | 11 | Hand-written arm solver for a character dummy: each update it rotates the clavicle, shoulder, elbow, forearm and wrist bones to reach the ghost hand, with slight stretch. One per arm. |
ArmIKController | class | CharacterComponentController | 10 | Arm controller that runs the Final IK limb solver and the game's clavicle, twist, elbow and shoulder controllers in a fixed order each fixed update. |
ArmIKControllerHelper | class | CharacterComponentHelper<CharacterComponentControllerCollection> | 4 | Editor setup helper for an arm's IK controllers: copies the bone and target transforms it is given into the solver, relaxers and controllers. |
BasicDummyCharacterController | class | MonoBehaviour | 0 | Simple driver that runs a character dummy's controller collection every frame, for dummies with no player behind them. |
BlinkingController | class | MonoBehaviour | 3 | Makes a character's eyes blink at random intervals by firing left and right eye triggers on an Animator. Client only: it does nothing on a headless server. |
BodyController | class | CharacterComponentController | 8 | Moves and turns a player's body to follow the head and hands, using BodyControllerSettings that can be overridden. |
BodyControllerSettings | class | OverridableSettings | 28 | Settings asset for how a player's body follows the head and hands: heading, pitch and roll from head movement, bending when moving, and smoothing speeds. |
BodyControllerSettings.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Player.ScriptableObject<BodyControllerSettings> | 0 | Editor menu item that creates a new BodyControllerSettings asset under the Township player features menu. |
BodyProjection | class | MonoBehaviour | 0 | Places and turns a body renderer under the head so it follows where the player is looking, and on first use splits the body into a shadow-only original and a visible copy hidden from the player's own headset view. Runs in edit mode too. |
BodyTypeSettings | class | 4 | Per-body-type distances for belt docks and stat bars on a character dummy. Set by the chosen CosmeticBodyType. | |
BoneWithRotationLimit | class | BoneWithTwistLimit | 1 | A spine bone with a swing limit as well as the twist limit from BoneWithTwistLimit. SpineIKHelper keeps three of these and turns them into RotationLimitAngle components on the spine IK. |
BoneWithTwistLimit | class | 2 | A bone and how far it may twist, set in the inspector. ShoulderTwistControllerHelper uses one, and BoneWithRotationLimit extends it. | |
CharacterCollisionController | class | CharacterComponentController | 2 | On the local player, stops the player's own colliders from hitting a pickup while a hand holds it, and turns collision back on a short time after it is let go. |
CharacterCollisionController.CollidersToDisableWhenInteracting | class | 2 | Inspector pairing of a hand Controller with the body colliders to turn off while that hand holds a pickup, so the held item doesn't hit the player's own body. | |
CharacterCollisionControllerHelper | class | CharacterComponentHelper<CharacterCollisionController> | 4 | Editor helper for CharacterCollisionController that builds the character's bone colliders (arm capsules, neck capsule, palm boxes, body mesh colliders) from inspector settings. |
CharacterCollisionControllerHelper.BoneBoxCollider | class | BoneCollider | 2 | Settings for a box collider on a character bone, used by CharacterCollisionControllerHelper when it builds the body colliders. |
CharacterCollisionControllerHelper.BoneCapsuleCollider | class | BoneCollider | 2 | A capsule collider set up on one bone of the character, part of CharacterCollisionControllerHelper's collider list. |
CharacterCollisionControllerHelper.BoneCollider | class | 1 | Base settings for a collider built on one character bone. Subclasses add capsule, box, mesh or palm settings. | |
CharacterCollisionControllerHelper.BoneMeshCollider | class | BoneCollider | 2 | Settings for mesh colliders on a character bone. CharacterCollisionControllerHelper adds one MeshCollider per mesh on a child object of the bone. |
CharacterCollisionControllerHelper.HandPalmCollider | class | BoneBoxCollider | 1 | A box collider set up on a hand's palm bone by CharacterCollisionControllerHelper. The box centre is flipped for the right hand. |
CharacterComponentController | abstract class | MonoBehaviour | 7 | Base for player character rig components (arm IK, elbows and so on) that an owning controller updates in a set order instead of through Unity's Update. Finds its PlayerController in a parent. |
CharacterComponentControllerCollection | class | CharacterComponentController | 6 | Character controller that runs a list of child controllers: owned ones only when the character is local, unowned ones always. |
CharacterComponentHelper<T> | abstract class | ScriptHelper | 0 | Base for editor helper scripts that sit next to a CharacterComponentController of type T. |
CharacterDummy | class | MonoBehaviour | 20 | The visual character model: rig, animator, skin, clothes, eyes and LODs, used for players and customization previews. Reached through a CharacterDummyPointer, such as PlayerCustomizationHandler.CharacterDummy. |
CharacterEye | class | MonoBehaviour, IBuildRendererBakeable, IBuildBakeable | 1 | Build-time setup for one character eye: when the prefab is baked it copies its position to the dummy's eye bone, adds a rotation limit and hands both to EyeFocus, then removes itself. |
CharacterLocalityController | class | PlayerControllerLocalityController | 2 | The player character's locality controller: when a player is marked local or remote it picks the head transform and wires the head target, body, voice chat and ghost hands to it. |
ClavicleController | class | CharacterComponentController | 6 | Character rig component that rotates a clavicle bone to follow where the hand (and optionally elbow) target is, using curves from PlayerSettings.ClavicleControllerSettings. |
ClavicleControllerSettings | class | ScriptableObject | 12 | Asset with the curves and limits for turning a player's collarbones toward where the hands are, so the shoulders follow the arms. |
ClavicleControllerSettings.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Player.ScriptableObject<ClavicleControllerSettings> | 0 | Editor menu item that creates a new ClavicleControllerSettings asset under the Township player features menu. |
ClothesSettings | class | 10 | The character dummy's clothing renderers (opaque and transparent, body and head) and helpers to swap their meshes and materials. Used by the cosmetic packer when building a character's look. | |
CustomControllerOffset | class | 3 | Per-hand controller offsets loaded from custom_controller_offsets.json next to the game's data folder. CustomControllerOffsetReader writes a default file and reloads it when it changes. | |
CustomControllerOffsetReader | class | IDisposable, IInitializable, IIsolate | 3 | Client service (created by VContainer) that reads per-hand position and scale offsets from custom_controller_offsets.json next to the game's data folder, watches the file, and applies the offsets to the local player's hands. |
DestroyedHandRegenerate | class | MonoBehaviour | 1 | Marker added to a hand target object so the game can rebuild it if it gets destroyed. HandTargetHandler adds it and sets Destroyed. |
DockPositionController | class | 2 | Player inventory: Places belt docks for the body type. | |
DockStore | class | IInventoryStore<PickupDock> | 10 | Inventory store wrapping one PickupDock (back, hip or belt slot) so Inventory can push, pop and search it like the hands. |
DummyCharacterController | class | CharacterComponentController | 3 | Character component that forwards updates and the local flag to the controller collection on its character dummy. |
ElbowController | class | CharacterComponentController | 9 | Character rig component that places the elbow IK hint by matching the hand's pose against a set of recorded elbow data points and averaging the best matches. |
ElbowControllerSettings | class | ScriptableObject | 8 | Settings asset for ElbowController, which places the elbow IK hint by matching the hand pose against recorded elbow samples. |
ElbowControllerSettings.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Player.ScriptableObject<ElbowControllerSettings> | 0 | Editor menu item that creates a new ElbowControllerSettings asset under the Township player features menu. |
ElbowDataPointScore | class | 3 | An elbow guide data point and how well it matches the current hand pose. ElbowController keeps a sorted list of the best ones. | |
ElbowDataPointSet | class | ScriptableObject | 3 | A ScriptableObject holding a list of elbow guide data points, used to place the player's elbows for given hand poses (see ElbowController). |
ElbowGuideDataPoint | class | ScriptableObject, IElbowGuideDataPoint | 7 | One recorded sample used to place the elbow in arm IK: a hand pose and where the elbow should be for it. ElbowController picks the samples closest to the current hand pose. |
ElbowGuideDataPointRuntime | class | IElbowGuideDataPoint | 6 | An elbow guide data point made at runtime, mostly by ElbowGuideDataPoint.MirrorDataPoint to get the other hand's version. |
EyeFocus | class | MonoBehaviour | 2 | Simple component that turns a transform (an eye) to look at a target each frame, then applies a rotation limit. |
EyeFocusController | class | CharacterComponentController | 5 | Client: picks something for a character's eyes to look at. Every so often it scores nearby colliders by angle, distance, speed and layer, and moves a focus handle to the best one. Turned off on headless servers. |
EyeFocusControllerSettings | class | ScriptableObject | 21 | Settings asset for EyeFocusController, which picks what a character's eyes look at. Nearby colliders are scored by adding up penalties (detriments) and the lowest score under the maximum wins. |
EyeFocusControllerSettings.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Player.ScriptableObject<EyeFocusControllerSettings> | 0 | Editor menu item that creates a new EyeFocusControllerSettings asset under the Township player features menu. |
EyeSettings | class | 3 | The character dummy's eye blit materials, held on CharacterDummy.Eyes. | |
GhostHandController | class | CharacterComponentController | 10 | Shows the translucent ghost hand at the controller position and fades it by how far the real hand is from it. Only active on the local player; skipped on headless servers. |
Hand | class | CharacterComponentController | 34 | One hand of a player's character: links the controller, IK hand target, grip animator and ghost hand, and handles where held items attach. A component under each Controller; set up by SetupWithController. |
HandGrip | class | MonoBehaviour | 11 | Curls a hand model's fingers around what it holds, and blends in finger tracking from the controller. Turns itself off on headless servers. |
HandGrip.GripFinger | class | 7 | One finger of a HandGrip: its configuration and its joints. Thumbs get ThumbGripJoints, other fingers plain GripJoints. | |
HandGrip.GripJoint | class | 10 | One finger joint of a hand grip. It curls in steps until it touches a grabbed object, and blends between open, splayed, closed and saved poses. | |
HandGrip.ThumbGripJoint | class | GripJoint | 3 | A thumb joint of a HandGrip. The root thumb joint resets to the current thumb configuration's base rotation before curling. |
HandGripConfiguration | class | ScriptableObject | 7 | Asset that sets up hand gripping: the fingers and their joints, grip timing, thumb positions and the stored hand poses for each hand. |
HandGripConfiguration.Finger | class | 4 | Setup for one finger of the hand grip: its joints and how skeletal input is corrected. Read by HandGrip to build its finger joints. | |
HandGripConfiguration.Finger.Joint | class | 4 | Size and curl limits of one finger joint, used by HandGrip to curl fingers around what the hand holds. | |
HandGripConfiguration.RotationSnapshots | class | 4 | Saved finger bone rotations for one hand in four poses (default, open, splayed, closed). HandGrip reads them per bone to blend the hand's grip. | |
HandStore | class | IInventoryStore<Interactor> | 10 | Inventory store wrapping one hand's Interactor, so Inventory can put items in and take them out of a hand. Grabs and releases are forced. |
HandTargetHandler | class | MonoBehaviour | 1 | Holds the IK hand target transform for a hand and rebuilds it if something destroys it. |
IElbowGuideDataPoint | interface | 6 | One recorded pose sample for placing a player's elbow: a hand position and rotation (relative to the body) and the elbow hint to use for it. ElbowController finds the closest samples to the current hand and averages their hints. | |
IInventoryStore<out T> | interface | 9 | A stack-like store of pickups in the player's inventory. | |
IKSolverManagerWrapper | class | CharacterComponentController | 3 | Character component that runs a Final IK solver as part of the character's fixed update. |
IKTwistRelaxerWrapper | class | CharacterComponentController | 2 | Character component that runs a Final IK TwistRelaxer as part of the character's fixed update. |
InteractionCollisionController | class | MonoBehaviour | 0 | Makes a collider group ignore a pickup's colliders while an Interactor holds it. |
Inventory | class | 4 | Player inventory: PlayerCharacter.Inventory is a small helper the micro tutorial uses: | |
LocomotionStyle | enum | 3 | How a teleport or rotation is shown to the player: instantly, as a lerp, or with a fade. | |
MasterHand | class | MonoBehaviour | 3 | Copies the finger bone rotations of the hand-pose (master) hand onto the character rig's IK hand after the grip updates each frame. |
NeckController | class | SimpleIKController | 1 | Simple neck IK: sets the last bone to the head target's rotation and eases each bone below it toward following that rotation. |
NeckIKController | class | CharacterComponentController | 3 | Character component that runs a FABRIK neck IK toward the head target and can force the head bone to the target's rotation. |
NeckIKControllerHelper | class | CharacterComponentHelper<NeckIKController> | 3 | Editor helper for NeckIKController that fills in three neck bones from a root bone and builds the FABRIK chain with rotation limits. |
PersonalSpace | class | MonoBehaviour | 3 | Sphere trigger that follows a player's feet to mark their personal space. Pointer checks the personal space layer when aiming, and it is turned off when the player dies. |
PlatformHandAlignment | class | 2 | A hand offset for one platform (player mode), listed per hand in ControllerOffsetSettings. | |
PlayerCharacter | class | SmoothLocomotionPlayerController, IHasFingertips | 26 | PlayerController and the body: Alta.Character.PlayerCharacter, the VR body. Extra members: |
PlayerControllerHandler | delegate | 0 | Event handler that receives a PlayerController. Used by PlayerController.LocalPlayerSet, OnAboutToLeave and Player.PlayerControllerSet. | |
PlayerControllerSettings | class | ScriptableObject | 10 | An asset holding the settings for the parts of a player's body rig: body, clavicles, elbows, eye focus, hands and ghost hands. |
PlayerControllerSettings.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Player.ScriptableObject<PlayerControllerSettings> | 0 | Editor menu item that creates a new PlayerControllerSettings asset under the Township player features menu. |
PlayerText | class | MonoBehaviour | 1 | A UI text above a player that follows their body and turns to face the local player's head (or the scene camera in the editor). |
PositionChangedHandler | delegate | 0 | Event handler for a player moving, with the old and new positions and the locomotion function that moved them. Used by LocomotionController.PositionChanged and PositionAboutToChange. | |
RotationChangedHandler | delegate | 0 | Callback for LocomotionController.RotationChanged: the player plus their old and new rotation. | |
RotationLimitWrapper | class | CharacterComponentController | 2 | Character component that applies a rotation limit to a bone (such as a wrist) every physics step, optionally falling back to the last rotation that was within the limit. |
ScaleChangedHandler | delegate | 0 | Callback for PlayerCharacter.ScaleChanged: the player plus their old and new scale. | |
ShoulderTwistController | class | CharacterComponentController | 6 | Character rig component that slowly twists the shoulder around the shoulder-to-elbow axis to follow the hand, within a rotation limit. |
ShoulderTwistControllerHelper | class | CharacterComponentHelper<ShoulderTwistController> | 2 | Editor helper for ShoulderTwistController that adds a twist limit to the shoulder bone. |
SimpleIKController | abstract class | CharacterComponentController | 0 | Base for the simple bone-chain controllers (NeckController, SpineController): maps a list of rig bones from the character dummy and gives them a rotation buffer and lerp factor. |
SkinSettings | class | 4 | The character dummy's skin colours and skin blit materials, held on CharacterDummy.Skin and read by SkinMeshPart. | |
SpineController | class | SimpleIKController | 2 | Simple spine IK that bends each spine bone toward the body target's up direction, less so further up the chain. |
SpineIKHelper | class | ScriptHelper | 3 | Editor helper that fills in three spine bones from a root bone and builds a FABRIK chain with rotation limits aimed at a spine target. |
TeleportMode | enum | 3 | Which part of the player lands on the teleport target: the room centre, the feet or the head. | |
TwistRelaxerController | class | CharacterComponentController | 4 | Character rig component that runs the forearm's TwistRelaxers each fixed update, scaling their weight by how far the hand is twisted against the elbow. |
TwistRelaxerControllerHelper | class | CharacterComponentHelper<TwistRelaxerController> | 2 | Editor helper for TwistRelaxerController that adds twist relaxers to a list of bones. |
TwistRelaxerSetting | class | 3 | One bone entry for the twist relaxer, which spreads forearm or arm twist across bones so they don't look wrung. Listed in TwistRelaxerControllerHelper.BonesToBeRelaxed. |
Alta.Character.MeshRenderers
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
CharacterRendererLOD | internal class | 4 | Internal: one renderer in a character's LOD list, with a flag for whether it uses the shell. |
Alta.PlayerEffects
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
CombatShellAnimator | class | ShellAnimator | 8 | Client: animates the shell effect around a player in combat mode. CombatState triggers it through the player's SpecialEffectsController. |
CombatShellSetting | class | ShellSetting | 1 | Shell effect settings for combat: two ramp textures and a dissolve strength pushed onto the shell material. Client visual. |
ShellAnimationHandler | class | 8 | One request to show a shell effect on a player through StatEffectShellAnimator, which queues requests by priority. | |
ShellAnimator | abstract class | 7 | Client: draws an extra copy of a player's clothes with a shell material and animates its _Progress value, for effects like combat, stat effects and spirit mode. | |
ShellSetting | abstract class | 1 | Base for one setting applied to a player effect's shell material. | |
StatDrivenEffect | class | 5 | Visuals for one side (buff or debuff) of a stat effect: a pooled effect, a curve from stat value to size, and a shell setting. | |
StatEffectHolder | class | 5 | Pairs a stat with the visual effects shown when it goes up (buff) or down (debuff). Listed in StatEffectsDefinition.StatEffects and read by PlayerEffectManager. | |
StatEffectsDefinition | class | ScriptableObject | 1 | Asset listing the stat effects (StatEffectHolder) the game knows about. PlayerEffectManager holds one. |
StatEffectsDefinition.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Stats.ScriptableObject<StatEffectsDefinition> | 0 | Editor menu item under Assets/Create/Township/Features/Stats that makes a new StatEffectsDefinition asset. |
StatEffectShellAnimator | class | ShellAnimator | 13 | Client: the shell animator for stat effect shields around a player. Several shields can be asked for at once; the highest priority shows and the rest wait in a queue. |
StatEffectShellSetting | class | ShellSetting | 4 | Look of the shell drawn around a player for a stat buff or debuff: colours, wave texture and how it animates in. Used by StatEffectShellAnimator; buffs default to orange and red, debuffs to grey and blue. |
Alta.PlayerEffects.General.Health
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
DamageState | class | 7 | Damage about to be applied to a player, passed to PlayerHealth.HandleDamage listeners. A listener can mark it handled to cancel it. One object is reused for each hit. |
Alta.PlayerStates
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
AllTransitions | class | 15 | Holds one lazily created instance of every player state transition (playing, combat, dead, downed, spirit, equipment, customization, first join). Each player state has one as AllTransitions; each property is named after the transition it returns. | |
CombatState | class | PlayerStateBase<PlayingState> | 7 | Player states |
CombatStateSettings | class | PlayerStateSettings | 9 | Settings asset for CombatState: how long a player stays in combat, and the shell effect and sound shown when entering it. |
CombatStateSettings.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Player.ScriptableObject<CombatStateSettings> | 0 | Editor menu item under Assets/Create/Township/Features/Player that makes a new CombatStateSettings asset. |
CustomizationState | class | PlayerStateBase | 3 | Player states |
DeadState | class | PlayerStateBase | 4 | Player states |
DeadStateSettings | class | PlayerStateSettings | 11 | Settings asset for the player's dead state (DeadState): ragdoll feel, the fade and respawn timing, and which stats are reset on death. |
DeadStateSettings.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Player.ScriptableObject<DeadStateSettings> | 0 | Editor menu item under Assets/Create/Township/Features/Player that makes a new DeadStateSettings asset. |
DeathAnimationSettings | class | 11 | Settings for a two-burst death dissolve effect. DeadStateSettings.AnimationSettings holds one, but nothing reads it; the effect in use takes Alta.Combat.DeathAnimationSettings. | |
DownedState | class | PlayerStateBase<PlayingState> | 6 | Player states |
EquipmentState | class | PlayerStateBase<PlayingState> | 5 | Player states |
EquipmentStateSettings | class | PlayerStateSettings | 19 | Settings for the equipment player state, where a dummy copy of the player appears in front of them to change gear, and copies their pose when they hold still. |
EquipmentStateSettings.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Player.ScriptableObject<EquipmentStateSettings> | 0 | Editor menu item under Assets/Create/Township/Features/Player that makes a new EquipmentStateSettings asset. |
FirstJoinState | class | PlayerStateBase | 3 | Player states |
IPlayerState | interface | 21 | One player state (first join, playing, combat, downed, dead, spirit and so on) held by a player's PlayerStateManager. States can decorate a base state. Implemented by PlayerStateBase; the server decides, clients follow. | |
IPlayerStateFactory | interface | 1 | Makes player state objects for a PlayerStateManager. PlayerStateFactory is the implementation. | |
IPlayerStateSettings | interface | 3 | Settings for one player state: which state class it is for and which controller modes it adds and removes while active. | |
IStateTransitionsManager | interface | 7 | Manages a player state's transitions to other states. Implemented by StateTransitionsManager. | |
KilledData | class | 5 | What killed a player, built from the killing hit: the tool, who held it and the killing player if there was one. | |
ObjectKilledData | class | KilledData | 4 | Console events |
PlayerKilledData | class | KilledData | 2 | Console events |
PlayerStateBase | abstract class | IPlayerState | 19 | Player states: Alta.PlayerStates.PlayerStateBase (and PlayerStateBase<T> for a decorating state with base T). What a state can override: |
PlayerStateBase<T> | abstract class | PlayerStateBase | 2 | Player states: Alta.PlayerStates.PlayerStateBase (and PlayerStateBase<T> for a decorating state with base T). What a state can override: |
PlayerStateChangeData | class | 4 | Console events | |
PlayerStateFactory | class | IPlayerStateFactory | 2 | Creates player state objects by PlayerStateType. Injected through VContainer as IPlayerStateFactory. |
PlayerStateHandler | delegate | 0 | Callback that receives a player state, such as the pre-activation callback of SetToState. | |
PlayerStateManager | class | MonoBehaviour | 13 | Player states: Alta.PlayerStates.PlayerStateManager, a MonoBehaviour on the Player. |
PlayerStateSettings | abstract class | ScriptableObject, IPlayerStateSettings | 3 | Base settings asset for a player state (downed, dead and so on). Each subclass names the state class it configures. |
PlayerStateSettingsManager | static class | 1 | Looks up the settings asset for each player state type. Loads every PlayerStateSettings from Resources/PlayerStates/Settings on first use. | |
PlayerStateType | enum | 9 | The player states: none, first join, playing, combat, customization, equipment, dead, spirit and downed. | |
PlayingState | class | PlayerStateBase | 6 | Player states |
PlayingStateSettings | class | PlayerStateSettings | 1 | Settings asset for the normal playing state. It adds nothing beyond PlayerStateSettings. |
PlayingStateSettings.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Player.ScriptableObject<PlayingStateSettings> | 0 | Editor menu item under Assets/Create/Township/Features/Player that makes a new PlayingStateSettings asset. |
PlayingToSpiritTransition | class | StateTransition<PlayingState, SpiritState> | 1 | Moves a player from Playing to Spirit when their unlock manager gains a current unlock. |
RemoteStateTransitionsManager | class | StateTransitionsManager | 3 | Client-side transitions manager. Player states on a client get this one, so a transition sends a state change request to the server instead of switching locally. |
SpiritState | class | PlayerStateBase<PlayingState> | 4 | Player states |
SpiritStateSettings | class | PlayerStateSettings | 6 | Settings asset for spirit mode (SpiritState), the state used during unlock challenges. |
SpiritStateSettings.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Player.ScriptableObject<SpiritStateSettings> | 0 | Editor menu item under Assets/Create/Township/Features/Player that makes a new SpiritStateSettings asset. |
SpiritToPlayingTransition | class | StateTransition<SpiritState, PlayingState> | 1 | Moves a player from Spirit back to Playing once their unlock manager has no current unlock. |
StateTransitionsManager | class | IStateTransitionsManager | 8 | Holds the active transitions out of one player state and runs them. The server-side version; clients get RemoteStateTransitionsManager. |
StatThresholdValue | struct | 7 | A stat change applied when a player dies, listed in DeadStateSettings.StatsToModifyOnDeath and run by StatManager.DeathReset. It can set the stat always, or only when it's past a threshold. | |
TestingPlayerStates | class | MonoBehaviour | 4 | Test component for player states: inspector buttons fire hurt, die and equipment events, and it puts its state manager into Playing at start. |
Alta.PlayerStates.Transitions
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
CombatToCombatTransition | class | ToCombatTransition<CombatState> | 0 | Combat to Combat transition: a new hit while in combat keeps the player in the same combat state, and the caller then resets its timer. |
CustomizationToPlayingTransition | class | StateTransition<CustomizationState, PlayingState> | 1 | Moves a player from Customization to Playing. Has no listeners; CustomizationState triggers it when customization finishes. |
DeadToPlayingTransition | class | StateTransition<DeadState, PlayingState> | 1 | Moves a player from Dead to Playing (respawn). DeadState triggers it. |
DownedToDeadTransition | class | StateTransition<DownedState, DeadState> | 1 | Moves a downed player to Dead when they are killed. |
DownedToPlayingTransition | class | StateTransition<DownedState, PlayingState> | 2 | Moves a downed player back to Playing when revived. DownedState calls HandleRevive. |
EquipmentToPlayingTransition | class | EquipmentTransition<EquipmentState, PlayingState> | 2 | Leaves equipment mode back to Playing, either through the quick access menu or when the local player walks out of the customization room. |
EquipmentTransition<TFrom, TTo> | abstract class | StateTransition<TFrom, TTo> | 1 | Base for transitions into and out of the equipment state. They fire when something calls the subclass's static Trigger, not from a player event. |
FirstJoinToCustomizationTransition | class | StateTransition<FirstJoinState, CustomizationState> | 1 | Moves a new player from FirstJoin to Customization. FirstJoinState triggers it when customization is enabled and not skipped for a normal player. |
FirstJoinToPlayingTransition | class | StateTransition<FirstJoinState, PlayingState> | 1 | Moves a player from FirstJoin straight to Playing. FirstJoinState triggers it when customization is skipped. |
IPlayerStateTransition | interface | 6 | A possible move from one player state to another. While active it listens for its trigger, then asks the transitions manager to switch states. | |
PlayingToCombatTransition | class | ToCombatTransition<PlayingState> | 0 | Moves a player from Playing to Combat when they take a tool hit within range or cause combat. All logic is in ToCombatTransition. |
PlayingToCustomizationTransition | class | StateTransition<PlayingState, CustomizationState> | 3 | Sends a playing player back to the customization room. Fired from outside with ExternalTrigger, for example by FromPlayingToCustomization. |
PlayingToDeadTransition | class | StateTransition<PlayingState, DeadState> | 1 | Playing to Dead transition. Its listeners are empty and nothing adds it, so in this build death goes through Downed instead. |
PlayingToDownedTransition | class | StateTransition<PlayingState, DownedState> | 1 | Moves a playing player to Downed when their Downed event fires. |
PlayingToEquipmentTransition | class | EquipmentTransition<PlayingState, EquipmentState> | 2 | Moves a player from Playing to equipment mode. Fired through the static Trigger by the equipment quick access action. |
StateTransition<TFrom, TTo> | abstract class | IPlayerStateTransition | 3 | Base for a rule that moves a player from one player state to another. Subclasses hook up listeners while the transition is active and call TransitionToDestinationState when their condition is met. |
ToCombatTransition<TFrom> | class | StateTransition<TFrom, CombatState> | 1 | Transition into the combat state. Fires when the player is hurt by a tool within combat range, or when the player causes combat. |
Alta.Progression.Skills
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
BowDrawSkill | class | SpecificPickupBasedSkill | 3 | Bow skill that boosts the damage of the next arrow shot from a bow while the skill is active, scaled by the player's skill level. |
BowMultiArrowShot | class | PickupBasedSkillModifier | 3 | Skill modifier that adds extra arrows to a bow while the skill is active, set by a MultiArrowConfiguration. A ScriptableObject asset. |
BowMultiArrowShot.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Progression.Skills.ScriptableObject<BowMultiArrowShot> | 0 | Editor menu entry for creating a BowMultiArrowShot asset. |
BowQuickdraw | class | BowDrawSkill | 0 | Bow draw skill asset for quickdraw. Same as BowDrawSkill but requests no tool effect. |
BowQuickdraw.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Progression.Skills.ScriptableObject<BowQuickdraw> | 0 | Editor menu entry for creating a BowQuickdraw asset. |
BowSlowdraw | class | BowDrawSkill | 0 | Bow draw skill asset for slowdraw. Adds nothing to BowDrawSkill; the difference is in the asset's settings. |
BowSlowdraw.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Progression.Skills.ScriptableObject<BowSlowdraw> | 0 | Editor menu entry for creating a BowSlowdraw asset. |
FloatValuesPerLevel | class | ValuePerLevel<float> | 0 | A ValuePerLevel of floats, for skill values that change by level, such as BowDrawSkill's damage multiplier. |
IntValuesPerLevel | class | ValuePerLevel<int> | 0 | Serializable list of whole number values, one per skill level (a ValuePerLevel<int>). |
ItemLevitator | class | MonoBehaviour | 2 | Makes a pickup float in place when it is let go: it drifts to a stop and then bobs up and down. Stops when picked up, docked or destroyed. |
ItemLevitatorExtension | abstract class | MonoBehaviour | 0 | Base component that adds a condition to the ItemLevitator on the same object: hovering is only allowed while IsValid returns true. |
LightBeamSkill | class | BowDrawSkill | 1 | Bow draw skill that replaces the arrow with a light beam: while active the string carries a beam projectile and the real arrow is destroyed on release. A ScriptableObject asset. |
LightBeamSkill.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Progression.Skills.ScriptableObject<LightBeamSkill> | 0 | Editor menu entry for creating a LightBeamSkill asset. |
MultiArrowConfiguration | class | 2 | Settings for the multi-arrow bow skill (BowMultiArrowShot): where the extra arrows sit and how hard they hit. | |
SpecificPickupBasedSkill | abstract class | PickupBasedSkill | 1 | Base for pickup skills that only work with items carrying one of a set of pickup tags. |
ValuePerLevel<T> | class | 1 | Serializable array of values, one per skill level, used by skills for level scaled numbers. |
Alta.QuickAccessActions
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
ActionItemData | class | ScriptableObject | 8 | Settings for an item summoned from the quick access menu: what to spawn, where, and when it despawns if the player walks away. |
ActionItemHandler | class | 5 | Tracks one quick-access action item spawned for a player: fades it in and out, and despawns it when the player walks away, leaves or the item lands in the global chunk. | |
ActionItemHandlerCollection | internal class | ActionItemHandlersBase, IActionItemHandlerCollection | 4 | Internal: one player's quick access action item handlers, one per action index, made on first use. The client uses one; the server keeps one per player in ActionItemHandlerCollectionMap. |
ActionItemHandlerCollectionMap | internal class | ActionItemHandlersBase, IActionItemHandlerCollection | 4 | Server side store of summoned action item handlers: one ActionItemHandlerCollection per player. ActionItemsManager uses it on the server. |
ActionItemHandlersBase | internal abstract class | 0 | Internal base for action item handler collections: holds the ActionItemData list and the destroy callback. | |
ActionItemsManager | class | NetworkEntityBehaviour | 5 | Network singleton (Instance) that spawns and removes summoned quick access items, one per player per action. Clients ask, the server spawns. |
AnimatedEmblem | class | NameBoardEmblem, IAnimationEndCallbackReceiver | 1 | Name board emblem that plays a closing animation before it is removed. |
BoneWeightTestsMenuAction | class | QuickAccessMenuAction | 3 | Developer quick access action that cycles through skin weight and skinned mesh quality presets for testing. Client only. |
DebugLightMenuAction | class | QuickAccessMenuAction | 3 | Developer quick access action that toggles the light on a hand (LightHands). Client only. |
DecreaseHeightMenuAction | class | QuickAccessMenuAction | 4 | Accessibility quick access action that lowers the player's adjusted height. Client only. |
DevToolsBoard | class | PooledObject, IQuickAccessSettingsBoard | 8 | Pooled developer board showing pages of settings controls plus a runtime console toggle. Instance is set while one is enabled. |
EmptyMenu | class | QuickAccessMenuAction | 3 | Placeholder quick access action that just shows its own name in the player's message display. |
EquipmentModeQuickAccess | class | QuickAccessMenuAction | 5 | Quick access action that switches the local player between playing and equipment mode. Client only. |
HealthBar | class | IDisposable | 5 | Client debug health bar: a quad above a creature that shows its health stat. Made by ToggleEnemyHealthBars. |
IActionItemHandlerCollection | internal interface | 3 | Internal: per-player store of quick access action item handlers. ActionItemsManager uses ActionItemHandlerCollectionMap on the server and ActionItemHandlerCollection on the client. | |
IQuickAccessDynamicIcon | interface | 1 | Implemented by a quick access bubble icon that changes with its action's state. | |
IQuickAccessSettingsBoard | interface | 4 | A board that the settings quick access menu spawns in front of the player, such as QuickAccessSettingsBoard and DevToolsBoard. Client only. | |
MemoryDumpMenuAction | class | QuickAccessMenuAction | 3 | Developer quick access action that takes a memory snapshot. |
MicMuteQuickAccessAction | class | QuickAccessMenuAction | 3 | Quick access action that mutes or unmutes the local player's Vivox mic. Client only. |
ModMuteArgument | struct | 2 | Payload for ModsMicMuteManager's mute request: which moderator is muting and whether it's on. The server only accepts it from players with Developer status or higher. | |
ModsMicMuteManager | class | NetworkEntityBehaviour | 5 | Network behaviour that lets moderators (developer status or above) mute the mics of normal players near them. The server relays requests; clients mute themselves. Reached through the static instance. |
MODSMicMuteQuickAccessAction | class | QuickAccessMenuAction | 3 | Quick access menu action for moderators that toggles a mod mic mute through ModsMicMuteManager. The mute turns itself off after maxMuteDuration. Client only. |
MuteNonFriendsActionIcon | class | MonoBehaviour, IQuickAccessDynamicIcon | 2 | Bubble icon for the mute non-friends action: shows the icon for the current voice chat scope, with a slash when nobody is audible. |
MuteNonFriendsQuickAccessAction | class | QuickAccessMenuAction | 3 | Quick access menu action that cycles the voice chat audible scope (everyone, friends and so on). Client only. |
NameBoard | class | ScaleLerpPooledObject | 4 | Pooled floating board that shows a player's name, optional title and member status shield above their head. Spawned by the Show Names quick access action. Client only. |
NameBoardEmblem | class | PooledObject | 1 | Pooled emblem (the member status shield) shown on a NameBoard. Subclasses can animate their close. |
NameBoardShield | class | ScriptableObject | 1 | Asset listing the parts of a name board shield. |
NestingMenuAction | class | QuickAccessMenuAction | 9 | Quick access action that opens a fan of sub-bubbles for its nested actions when selected. Client only. |
PhysicsFPSMenuAction | class | QuickAccessMenuAction | 4 | Disabled developer quick access action: always hidden and does nothing. |
PlayerProxy | class | NetworkEntityBehaviour, ISavable<PlayerProxyData>, ISavableSave<PlayerProxyData>, +1 more | 7 | A networked, saved stand-in for a player (a dummy with a name, title and member status) that the Show Names action labels like a real player. The server syncs its fields to clients. |
PlayerProxyData | class | NewSaveData<PlayerProxy, PlayerProxyData> | 4 | Save data (version 1) for a PlayerProxy, a stand-in player with a name, title and member status. |
PooledMenuSettings | class | PooledObject | 2 | Pooled settings control on a quick access settings board, wrapping a MenuGameSetting and an optional pickup. |
QuickAccessDynamicIcon | class | MonoBehaviour, IQuickAccessDynamicIcon | 1 | Bubble icon that fires toggle events when its action turns on or off. |
QuickAccessMenuAction | abstract class | ScriptableObject | 15 | Quick access menu: Alta.QuickAccessActions.QuickAccessMenuAction, an abstract ScriptableObject. Each bubble is one of these assets. |
QuickAccessMenuBubble | class | ScaleLerpPooledObject | 10 | One bubble in the quick access menu, showing an action and running it when chosen. A pooled object that faces the local player's head; client only. |
QuickAccessMenuController | class | ControllerExtension | 8 | Quick access menu: Alta.QuickAccessActions.QuickAccessMenuController, a ControllerExtension on each hand. |
QuickAccessMenuOrientation | enum | 3 | How the quick access menu is oriented: to the head in world space, to the controller fully, or to the controller without roll. | |
QuickAccessMenuSettings | class | GlobalSettings<QuickAccessMenuSettings> | 16 | Global settings for the quick access (wrist) menu: where its bubbles spawn, how it follows the hand and how titles show. |
QuickAccessMenuSettings.QuickAccessMenuBubbleSelectEvent | struct | 3 | Pair of sound and visual effects played when a quick access bubble is selected, one for active bubbles and one for inactive ones. Held in QuickAccessMenuSettings. | |
QuickAccessMenuSettings.QuickAccessMenuBubbleSelectEvent.VfxAndSfxEventSplit | struct | 2 | The visual and sound effect events for one state (active or inactive) of a quick access menu bubble being selected. | |
QuickAccessSettingsBoard | class | ScaleLerpPooledObject, IQuickAccessSettingsBoard | 6 | Pooled settings board opened by a settings quick access action: slides down and shows pages of setting controls, one by one as it animates. Client only. |
ReturnToMainMenuAction | class | QuickAccessMenuAction | 5 | Quick access action that spawns an orb in front of the player; letting go of it in the right way leaves the game for the main menu. Client only. |
SettingsQuickAccessMenu | class | QuickAccessMenuAction | 9 | Quick access menu action that opens a settings board in front of the local player: either client settings, or the server's settings for players with permission. Client side. |
ShieldPartDefinition | class | 6 | One saved mesh part of a NameBoardShield: mesh, material and local transform. | |
ShowNames | class | QuickAccessMenuAction | 4 | Client: the quick access action that shows name boards above nearby players and player proxies. Names hide after a few seconds unless the player names toggle setting is on. |
SummonActionItemQuickAccess | class | QuickAccessMenuAction | 4 | Quick access menu action that summons or dismisses an action item for the player through ActionItemsManager. |
ToggleAccessibleDockMenuAction | class | QuickAccessMenuAction | 4 | Accessibility quick access action that toggles accessible dock positions (AccessibleDocks). Client only. |
ToggleDebugMovementMenuAction | class | QuickAccessMenuAction | 4 | Developer quick access action that toggles debug movement on the local smooth locomotion controller. |
ToggleEnemyHealthBars | class | QuickAccessMenuAction | 3 | Debug quick access action that shows health bars over every AI agent in the scene. Client only. |
ToggleLiveDataDisplayMenuAction | class | QuickAccessMenuAction | 3 | Quick access action that toggles the FPS readout on the player camera's LiveDataDisplayView. Client only. |
ToggleLocalSpeedMenuAction | class | QuickAccessMenuAction | 3 | Debug quick access action that switches the local player's base speed stat between 1 and 2. |
ToggleRuntimeConsole | class | QuickAccessMenuAction | 5 | Developer quick access action that shows or hides a runtime console in front of the player. Client only. |
TriggerDebugSetSpawnMenuAction | class | QuickAccessMenuAction | 4 | Developer quick access action that runs the console command debug set {localplayer}. |
UpdateFarClipMenuAction | class | QuickAccessMenuAction | 3 | Debug quick access action that raises or lowers the player camera's far clip plane by 10 (20 if pressed again within a second). Client only. |
UpdateHeightMenuAction | class | QuickAccessMenuAction | 4 | Accessibility quick access action that raises or lowers the player's adjusted height. Client only. |
VivoxConnectionQuickAccessAction | class | QuickAccessMenuAction | 5 | Unused quick access action for the Vivox connection: always hidden and does nothing. |