Skip to main content

UB1CoopJsonDataAsset

Overview

  • Data asset for the cooperative action system, storing all global timing, radius, bargain, and cancel message configuration.

Metadata

FieldValue
Kindclass
EnvironmentB1 - Presentation
Categoryclasses
ExtendsUB1DataAssetBase

Properties (25)

NameTypeDescription
BargainDiscountRationumberDiscount ratio applied to the price when a bargain succeeds (e.g., 0.15 = 15% off).
BargainRetryModifierRationumberMultiplier applied to the retry probability on each successive bargain retry.
BargainRetryRationumberProbability that a Zoi will retry a bargain after the initial attempt.
BargainSuccessModifierRationumberSuccess probability reduction applied on each retry attempt (e.g., 0.15 means -15% per retry).
BargainSuccessRelationshipModifierMaptable<string, number>Map of relationship stat IDs to their weight modifier applied to bargain success probability.
BargainSuccessSpeakingLevelCorrectionintegerSpeaking skill level correction applied during bargain probability calculation.
BargainSuccessSpeakingModifiernumberPer-level weight of the speaking skill applied to bargain success probability.
BargainSuccessTraitModifierMaptable<string, number>Map of trait IDs to their weight modifier applied to bargain success probability.
BaseBargainProbabilitynumberBase probability of a bargain attempt succeeding (0.0–1.0).
CancelMessageIdMaptable<EB1CoopResult, string>Map of coop result codes to toast message string table keys shown when the action is cancelled.
ChoiceCardGroupMaptable<EB1BargainCommand, string>Map of bargain commands to their choice card group IDs used for player decision prompts.
CoopMaxTimeOutDurationintegerMaximum timeout duration for cooperative actions in game-time minutes.
CoopTargetAOIRadiusintegerAOI step radius used to collect nearby cooperative action targets (each step = AOI cell size).
CoopTargetDistanceRadiusnumberDistance radius in cm for additional filtering after AOI collection of coop targets.
CoopTimeOutDurationintegerDefault timeout duration for cooperative actions in game-time minutes.
FailMessageIdMaptable<EB1ZoiSelectFailReason, string>Map of Zoi select fail reason codes to toast message string table keys shown when no target can be selected.
MaxBargainCountintegerBegin - Coop Bargain Maximum number of bargain attempts allowed per session.
MoveTogetherInvokeTeleportRadiusnumberDistance from the destination in cm at which teleport is triggered for lagging characters during move-together.
MoveTogetherMaxSelectableCountintegerMaximum number of selectable targets for move-together actions.
MoveTogetherTargetRadiusnumberGathering radius in cm for characters during move-together actions.
MoveTogetherTeleportTargetRadiusnumberDistance from the host in cm beyond which a character is teleported during move-together.
MoveTogetherTimeOutDurationintegerTimeout duration for move-together actions in game-time minutes.
NonCancelableCoopInteractionBagWhiteListstring[]Whitelist of interaction bag IDs that are allowed to be marked as non-cancelable during coop.
TalkMultiInteractionTimeOutDurationintegerTimeout duration for talk in multi-interaction state in game-time minutes.
TalkTimeOutDurationintegerTimeout duration for talk cooperative actions in game-time minutes.