RPG params in KCD
Revision as of 13:05, 22 February 2018 by Tomasbarak (talk | contribs) (moved KCD RPG Params to RPG params in KCD)
The RPG module of KCD uses a set of global constants to tune the behaviour of the game. All constants/params have a default value stored in the game binaries. The default value can be overridden by a record in Libs\Tables\rpg\rpg_param.xml. Current value can be retrived in lua using the RPG global object: local x = RPG.<param>.
Complete list of RPG Params
Taken from version 1.2.5.
- AttackStamModMin
- AttackRequiredStamRatio
- BaseAttackStaminaCost
- MaxStatToAttackStaminaCostMult
- MinStatToAttackStaminaCostMult
- MaxStatToAttackStaminaCostStatDiff
- HeavyWeaponWeight
- StrAgiToEqwArmorLoad
- ArmorLoadDiffToMax
- MaxArmorLoad
- AttackSpeedPlayerRelative
- AttackSpeedNormal
- AttackSpeedNormalAgi
- MaxAttackSpeedMod
- AgiDiffToAttackSpeed
- SkillDiffToAttackSpeed
- WeaponStatusToAttackCoef
- ArmorStatusToDefenseCoef
- ArmorStatusToCharismaCoef
- ArmorDirtToCharismaCoef
- AttSkillToHorsePullDown
- AttStrengthToHorsePullDown
- RiderSkillToHorsePullDown
- RiderAgilityToHorsePullDown
- HorseMaxAttackCoef
- HorseAttackMaxSpeed
- SkillXPLevelBase
- SkillXPLevelDiff
- SkillCap
- SkillXPHit
- SkillXPComboHit
- SkillXPKill
- SkillXPBlock
- SkillXPPerfectBlock
- SkillXPRiposte
- SkillXPDrinkAlcohol
- SkillXPUseRepairKit
- SkillToFencingBase
- MinStatToAttackMult
- MaxStatToAttackMult
- MaxStatToAttackStatDiff
- SkillToDmgConstA
- SkillToDefense
- SkillToPerfectBlockPowTo
- MinPerfectBlockSlot01
- StatsToDodgePowTo
- BigZoneDistanceSlotMod
- MaxPerfectBlockSlotModifier
- MaxSpecialPerfectBlockSlotModifier
- AgilityXPLevelBase
- AgilityXPLevelDiff
- StrengthXPLevelBase
- StrengthXPLevelDiff
- VitalityXPLevelBase
- VitalityXPLevelDiff
- SpeechXPLevelBase
- SpeechXPLevelDiff
- StoryProgressXPLevelBase
- StoryProgressXPLevelDiff
- StatCap
- StatToMainLevelBase
- StatXPHit
- StatXPComboHit
- StatXPKill
- StatXPAgilityPerDodge
- StatXPSpeechPerSequence
- StatXPSpeechPersuadeSuccessMax
- SpeechDiffToSkillCheckResult
- BadassnessDiffToSkillCheckResult
- CharismaDiffToSkillCheckResult
- DefaultRelationship
- ResetPublicFriendsRelationshipMin
- ResetNearbyRelationshipRange
- RelationshipToImpressCharisma
- RelationshipToPersuadeSpeech
- RelationshipToThreatenBadassness
- ThreatenStrenghtWeight
- HighbornWealthThreshold
- StatXPVitalityPerKill
- StatXPVitalityPerDistance
- HorseRidingXPPerDistance
- StatXPVitalityPerJump
- SecondaryStatXPRatio
- StatXPVitalityPerVault
- SprintCost
- StamRegenCooldown
- StamRegenBase
- StamRegenRelativeDiff
- StamRegenBlockMod
- StamRegenMoveMod
- StamRegenFromVit
- MaxAgilityToMovementSpeedAddition
- HorseRidingToHorseStamina
- HorseRidingToHorseCourage
- RiderThreatToHorseMorale
- HorseMoraleToThrowOffRider
- RiderHorseStaminaCoef
- ArmorLoadToSprint
- ArmorLoadToRun
- JumpCostBase
- ArmorLoadToJumpCost
- EncumberedToSpeedSurfaceCoef
- EncumberanceForSecondaryModifiers
- SurfaceToArmorLoadTWCoef
- SurfaceToArmorLoadALWCoef
- PoorWeaponDefense
- GoodWeaponDefense
- SuperWeaponDefense
- GoodWeaponAttack
- GoodArmorDefense
- MaxDamage
- MaxDmgR
- LethalDmgR
- StamDamage
- AverageArmorDefenseWeight
- UnarmedHitArmorDamageCoef
- WeakBlockStamCoef
- HealthToKnockOut
- DmgRToHealthCoefA
- DmgRToHealthCoefB
- StaminaToHealthDamageMin
- StaminaToHealthDamageMax
- MaxFencingWeaponUsageMod
- ArmorDefenseToAttackingWeaponStatus
- WeaponDefenseToAttackingWeaponStatus
- DamageToArmorStatusHigherLayers
- DamageToArmorStatus
- DamageToArmorStatusLowerLayers
- AttackEnergyModifier
- StaminaDamageToInjury
- HealthDamageToInjury
- HealthDeltaAbsLimit
- CollisionVelocityDeltaToDmgR
- UnarmedAttackBase
- UnarmedBlockDefense
- UnarmedAttackReqStrBase
- CombatDangerCooldown
- CombatDmgRBonusFromBehind
- FromBehindAngle
- HeadHitKnockOutBaseProbability
- FallDamageMultiplierAtMaxAgility
- HarmlessFallHeight
- InjuringFallHeight
- FatalFallHeight
- HealthFull
- ImmortalHealthMin
- LowHealthThreshold
- DefaultWorldTimeRatio
- DawnTime
- DuskTime
- FoodHealthThreshold
- FoodFull
- FoodOverEat
- CaffeineFullThreshold
- CaffeineFromFoodCoef
- FoodSaltOrSmokePerkDecayModif
- FoodWitcherPerkNutritionModif
- DigestionSpeed
- ShortTermNutritionDigestionSpeedMultiplier
- FoodTickInterval
- MetabolismDigestSpeed
- MetabolismDigestSpeedMultiplier
- MetabolismAbsorbSpeed
- FoodPoisoningMaxValue
- FoodPoisoningThreshold
- FoodPoisoningMinHealthEffectSpeed
- FoodPoisoningMaxHealthEffectSpeed
- FoodPoisoningMaxStatPenalty
- AlcoholMoodThreshold
- AlcoholDrunkThreshold
- AlcoholMaxSTREffect
- AlcoholMaxAGIEffect
- AlcoholMaxVITEffect
- AlcoholMaxSPCEffect
- AlcoholMaxCHAEffect
- AlcoholMaxCONEffect
- AlcoholMoodMaxExhaustPossitiveEffect
- AlcoholDrunkMaxExhaustNegativeEffect
- AlcoholBlackoutDuration
- AlcoholBaseHangoverDuration
- AlcoholHangoverOffsetModif
- AlcoholMaxDrinkingSkillHangoverDurationModifier
- AlcoholDigestSpeedModfifOnEmptyStomache
- AlcoholDigestSpeedModfifOnFullStomache
- AlcoholContentFPAntidoteThreshold
- AlcoholismThreshold
- AlcoholismMaxSkillLevelThreshold
- AlcoholismRemoveSpeed
- AlcoholismTickInterval
- AlcoholismDuration
- AlcoholPerkDrunkMoodRangeMod
- AlcoholPerkDrunkHangoverDurationMod
- AlcoholPerkBacchusHangoverEffectMod
- AlcoholPerkTrueSlavMaxAlcoholMod
- AlcoholPerkTrueSlavHangoverDurationMod
- AlcoholPerkCorrectResistanceModif
- AlcoholPerkWrongResistanceModif
- AlcoholPerkLooseTongueSpcChaModif
- MaxStabBuffApplyChance
- MaxSlashBuffApplyChance
- MaxSmashBuffApplyChance
- MinWeaponBuffCharge
- MaxWeaponBuffCharge
- MinRelativeStaminaMax
- VigourFull
- ExhaustionSpeed
- VigourTickInterval
- FoodHealSpeed
- StarvationHealthLossSpeed
- StarvationThreshold
- StarvationHugeThreshold
- StarvationExtremeThreshold
- BaseInventoryCapacity
- StrengthToInventoryCapacity
- InjuryLowThreshold
- InjuryHighThreshold
- InjuryRegenInterval
- InjuryBleedingInterval
- DefaultStateDeltaSpeed
- SleepHealthRegenBaseSpeed
- StarvationPlayerEffectMinMin
- StarvationPlayerEffectMaxMin
- StarvationPlayerEffectMinMax
- StarvationPlayerEffectMaxMax
- ExhaustedThreshold
- ExhaustedPlayerEffectMinMin
- ExhaustedPlayerEffectMaxMin
- ExhaustedPlayerEffectMinMax
- ExhaustedPlayerEffectMaxMax
- ExtremeExhaustionFaintAveragePeriod
- MinHealthToBeAbleToSleepOrSkiptime
- MinPossibleSleepTime
- OversleepnessFillTime
- OversleepnessEmptyTime
- InactiveTimeToDestroyOversleepcreated * in
- OverreadnessFillTime
- OverreadnessEmptyTime
- ReadingXpPerHour
- SleepToSaveThreshold
- AvidReaderReadingSpeed* always
- ImprovedSleepMultipliersurvival) \
- DefaultReadingQuality
- NonSkillBookXP
- SpeechMulOnExtremeExhaustion* on
- CharismaMulOnExtremeExhaustioninterpolation
- SharpeningMinEfficiencyHealth
- SharpeningSuccessfulHealthDelta
- SharpeningMinIdealAngle
- SharpeningMaxIdealAngle
- SharpeningMinDestructionAngle
- SharpeningMaxDestructionAngle
- SharpeningFullPositiveHealthXP
- SharpeningFullNegativeHealthXP
- MinPedalCost
- MaxPedalCost
- HourglassTimeout
- PicklockDmgSpeed
- PicklockFatalRelativeDist
- LockPickingToleranceMCoef
- LockPickingToleranceNCoef
- LockPickingToleranceACoef
- LockPickingToleranceKCoef
- LockPickingAppropriateTolerance
- ControllerLockPickingToleranceMCoef
- ControllerLockPickingToleranceNCoef
- ControllerLockPickingToleranceACoef
- ControllerLockPickingToleranceKCoef
- ControllerLockPickingAppropriateTolerance
- LockPickingCursorShakeSpeed
- LockPickingCursorShakeRange
- LockPickingSkillToShakeRel
- LockPickingSuccessXPMulCoef
- LockPickingSuccessXPDivCoef
- LockPickingStealthXP
- LockPickingTurnBackMulCoef
- LockPickingTurnBackDivCoef
- LockpickingSoundIntensityMin
- LockpickingRelDistanceToSoundIntensity
- LockpickingFailSoundIntensity
- LockpickingLockpickBreakChance
- LockPickingFailRelativeXPMulCoef
- HerbGatherSkillToCount
- HerbGatherSkillToRadius
- HerbGatherXP
- HunterLootAmountAddCoef
- HunterXPKill
- HunterXPLoot
- AlchemyXPPerSuccessfullBrewing
- AlchemyXPPerAutocookBrewingRelative
- AlchemyTolerancePerLevel
- AlchemyToleranceBase
- AlchemyRecipeStepsTolerance
- AlchemyTrialEndErrorPerkTolerance
- BundleAlchemistPerkAdd
- HerbsInInventoryForFlowerPowerPerk
- HerbsInHorseInventoryForHorsenipPerk
- EquippedWeightSubWithWellWornPerkEquippedWeightSubWithWellWornPerk
- MaxCloudAverageForShiningArmor
- MaxPerkPoints
- MinPerkPoints
- MinLeftoverPerks
- AimPainlessDelay
- AimStamCost
- AimSpreadMinRatio
- AimSpreadMax
- AimSpreadSkillDecrease
- ForcedFireAimSpreadMalus
- AimZoomBase
- AimZoomBaseSkill
- AimZoomMax
- AimSkillToZoom
- AimCiriticalLimitTime
- BowChargeDurationMin
- BowChargeDurationMax
- BowPowerToChargeDuration
- RangedWpnMinPowerCoef
- RangedWpnMinStrCoef
- RangedWpnPowerConstA
- RangedWpnPwrToSpeed
- RangedWpnSpeedToAttack
- RangedWpnCosThetaToAttackMin
- RangedWpnSelfHarmCoef
- RangedWpnOptimalDistanceToMinamal
- SkillToRangedWpnAIRange
- ProjectileMaxBreakProb
- MatPierceableMin
- MatPierceableMaxArmor
- PerceptionMinFov
- PerceptionMaxFov
- HearingToFov
- MinViewRadius
- MaxViewRadius
- BlindViewRadiusFakeRelative
- VisionToViewRadius
- MinModVisibility
- MaxModVisibility
- MinLightProbeVisibility
- MaxLightProbeValue
- MinModConspicuousness
- MaxModConspicuousness
- RecognitionTimePCoef
- RecognitionTimeKPositiveCoef
- RecognitionTimeKNegativeCoef
- RecognitionTimeDistanceGain
- RecognitionSpeedNotVisible
- CombatHitUnconsciousDepth
- CombatHitImmortalUnconsciousDepth
- StealthAttackFailXp
- StealthAttackMinXp
- StealthAttackMaxXp
- StealthKnockOutUnconsciousDepthBase
- StealthToUnconsciousDepth
- UnconsciousDepthFadeoutSpeedBase
- VitalityToUnconsciousDepthFadeoutSpeed
- UnconsciousTimeWhenTimeIsNotRunning* modified
- StealthSkillToFootstepSoundMult
- StealthSkillToRecogTime
- StealthSkillToViewRadiusDecr
- StealthSneakCheckRadius
- StealthSneakBaseXp
- StealthSneakBaseDistance
- StealthSneakXpSumCoefA
- StealthSneakXpSumCoefB
- StealthKillDamage
- StealthKillProbCoefA
- StealthKillProbCoefB
- StealthKillProbCoefC
- StealthCooldown
- MinStealthHitSoundMultiplier
- MaxStealthHitSoundMultiplier
- TrueRelationDistThresholdRel
- MinTrueRelationDistThreshold
- PerceivedSuperfactionImportanceThresholdRel
- NightCoefToVis
- NightCoefToNoise
- MaxWeatherSoundAttenuationCoef
- MaxHearingSoundAttenuationCoef
- PerceptionPriorVisPeople
- PerceptionPriorVisItems
- PerceptionPriorVisCrimes
- PerceptionPriorDist
- PerceptionMeanDist
- PerceptionPriorConsp
- PerceptionPriorFriendRelationship
- PerceptionPriorEnemyRelationship
- PerceptionPriorCha
- PerceptionBaseCha
- PerceptionPriorGender
- PerceptionPriorNotHumanRace
- PerceptionPriorWeapon
- PerceptionPriorDead
- PerceptionPriorThreatened
- PerceptionPriorTarget
- PerceptionPriorBoostRangedWeapon
- PerceptionPriorCrimeLoot
- PerceptionPriorCrimeLockpick
- PerceptionPriorBoostPlayer
- DistanceCheckInterval
- AthleticXPAwardDistance
- HorseRidingAwardDistance
- FatCollisionWeightMul
- SlimCollisionWeightMul
- CarriedBodyWeightCoef
- CarriedCarriedWeightCoef
- CarriedBodyMaxStamConsumption
- ShoeHealthUpdateDistance
- ShoeHealthDecrease
- QuestMoneyRewardScaleConstant
- ItemHealthPriceStatusWeight
- TreasureItemPricee
- BaseItemDisappearingTime
- ItemDisappearingMulti
- MaxItemDisappearingTime
- DefaultVisVolume
- BestVisVolume
- ItemOwnerFadePriceToHours
- ItemOwnerFadeConspicuousnessToHours
- ItemOwnerNeverFadesToSuspiciency
- ItemOwnerFadeCoefToSuspiciencyMul
- ItemOwnerFadeCoefToSuspiciencyExp
- ItemOwnerDescFadeToSuspiciencyExp
- ItemOwnerFactionDistanceCoef1
- ItemOwnerFactionDistanceCoef2
- ItemOwnerFactionDistanceToSuspiciencyMin
- ItemOwnerFactionDistanceToSuspiciencyMax
- ItemOwnerRelationshipToSuspiciencyMin
- ItemOwnerIsShopkeeperToSuspiciency
- BarterDominanceSpcWeightA
- BarterDominanceRelationshipWeightB
- BarterDominanceChaWeightC
- BarterDominanceSpcWeightD
- BarterDominanceChaBaseE
- BarterCoefWeightA
- BarterCoefWeightB
- BarterAngrynessCoefWeightA
- BarterAngrynessCoefWeightB
- BarterPriceSellRepCoef
- BarterPriceSellRepMultip
- BarterPriceSellRepBuying
- RepairPriceModif
- RepairKitItemHealthDefaultLimit
- RepairKitItemHealthBestLimit
- RepairKitMaxSkillCapacityCoef
- RepairKitCapacity
- RepairKitItemPerkBuffHealthThreshold
- BasketSuspiciencyThreashold
- BasketSuspiciencyNoDealThreashold
- FoodPreserverHealthIncreaseAmount
- ReputationPropagationCoef
- NPCRepWeight
- FactionRepWeight
- SuperFactionRepWeight
- FactionAngrinessDecayShift
- FactionAngrinessDecayExp
- FactionAngrinessDecayMod
- FactionAngrinessDecayBase
- FactionAngrinessPropagationCoef
- FactionAngrinessPropagationScale
- ReputationPropagationTime
- ReputationPropagationBiasTime
- LocationReputationLovedThreshold
- LocationReputationHatedThreshold
- MinMorale
- MaxMorale
- SoulCourageMoraleWeight
- ClassCourageMoraleWeight
- HealthToMoraleMinCoef
- OverallArmorDefenseMoraleWeight
- OverallWeaponAttackMoraleWeight
- MoraleContextFadingSpeed
- MoraleDecisionReliability
- MaxCourageMoraleContextFadingMod
- MoraleForCombat
- CombatAutoNormalBWeight
- CombatAutoPBWeight
- CombatAutoSPBWeight
- CombatAutoDodgeWeight
- CombatAutoNoDefenseWeight
- CombatAutoUnarmedBlockProb
- CombatAutoWpnHealthBlockMax
- CombatAutoWpnHealthMinBlockProb
- CombatAutoReactionDelayRangeSpread
- CombatAutoTrickReactionStaWeight
- CombatAutoTrickReactionSkillWeight
- CombatAutoTrickReactionMinDelay
- CombatAutoTrickReactionMaxDelay
- CombatAutoReactivePreblockMinDelay
- CombatAutoReactivePreblockMaxDelay
- CombatAutoStaticPreblockMaxTime
- CombatAutoStaticPreblockRandBias
- CombatAutoRiposteAggressionWeight
- CombatAutoAggressionDiffScale
- CombatAutoMasterComboSteps
- CombatAutoComboStepsSigma
- CombatAutoNaturalComboRatio
- CombatAutoMaxAttackDelay
- CombatAutoAttackDelayIncreasePerAttacker
- CombatAutoAttackDelayIncreasePerAttackerHorse
- CombatAutoAttackDelayIncreasePerAttackerMissile
- CombatAutoScaleDefensivenessDelayRel
- CombatAutoAttackDelaySigma
- CombatAutoTrickNoAttackProb
- CombatAutoTrickAttackProb
- CombatAutoTrickMaxProb
- CombatAutoTrickInvalidBlockAttackMaxProb
- CombatAutoTrickMinMaxDelay
- CombatAutoTrickDelayVariability
- CombatAutoEasyZoneWeight
- CombatAutoMinDefenseModeWeight
- CombatAutoOppZoneAdaptDelayMinMin
- CombatAutoOppZoneAdaptDelayMinMax
- CombatAutoOppZoneAdaptDelayMaxMin
- CombatAutoOppZoneAdaptDelayMaxMax
- CombatAutoZoneChangeDelayMinMin
- CombatAutoZoneChangeDelayMinMax
- CombatAutoZoneChangeDelayMaxMin
- CombatAutoZoneChangeDelayMaxMax
- CombatAutoClinchReactionDelayMinMin
- CombatAutoClinchReactionDelayMinMax
- CombatAutoClinchReactionDelayMaxMin
- CombatAutoClinchReactionDelayMaxMax
- CombatAutoMasterGuardOffset
- CombatAutoLameGuardOffset
- CombatAutoGuardHysteresis
- CombatAutoForcedPeriodicalAttackStaminaLimit
- CombatAutoForcedComboStaminaLimit
- CombatAutoMaxAimDuration
- CombatAutoMaxAimDurationRandomAdd
- CombatAutoMoveActivityDecreasePerAttacker
- CombatAutoMinHuntAttackDuration
- CombatAutoMaxHuntAttackDuration
- CombatAutoMinAtkDistOffset
- CombatAutoMaxAtkDistOffset
- CombatMoveApproachSprintMinStamina
- CombatMoveApproachHysteresis
- PickpocketingMinChargeTime
- PickpocketingMaxSkillChargeTime
- PickpocketingMaxSkillChargeSpeedRatio
- PickpocketingItemUncoverTimePerWeight
- PickpocketingXP
- PickpocketingStealthXP
- PickpocketingTreasurePriceXP
- PickpocketingFailXPMod
- PickpocketingNPCSleepingTimeChanceMod
- PickpocketingNPCDrunkTimeChanceMod
- PickpocketingNPCHurtTimeChanceMod
- PickpocketingTimeChancePenaltyBest
- PickpocketingTimeChancePenaltyWorst
- PickpocketingAngleChancePenalty
- PickpocketingRobbedAngrinessChancePenalty
- PickpocketingComradePerkBonus
- PickpocketingIndicatorSharpness
- PickpocketingDistance
- PickpocketingMisstargetingTolerance
- PickpocketingRandomChanceRollMinCap
- PerkProperDietActivationTime
- ThunderstormBuffRainIntensity
- PerkBloodRushDistance
- PerkBloodRushDuration
- PerkCarriedBodyGravediggerWeightMul
- LocalHeroInfamousReputationThreshold
- PerkManlyOdourDirtinessThreshold
- PerkDaringDebonairWantedLevel
- PerkBrutusCombatDmgRBonusFromBehind
- StillBuffDuration
- PerkWaterOfLifeHealthMultiplier
- PerkWaterOfLifeAlcoholMultiplier
- PerkTauntAttackerMoraleMultiplier
- JailRecoveryDebuffMaxHours
- JailRecoveryDebuffDurationMultiplier
- HealthFadingFromLimitValue
- AdditionalAttackerCountForMaxFadingBuff
- PerkLastGaspCooldown
- PerkBerserkDuration
- PerkBerserkHealthThreshold
- PerkChainStrikeMaxChain
- StillAndHiddenHysteresis
- DuringFaderHysteresis
- ClothDirtyingUpdatePeriod
- FullClothDirtyingOnFullSpeed
- FullClothDirtyingOnZeroSpeed
- RespawnTimeBase
- RespawnTimeVariation
- CorpseDisappearanceTimeUndiscovered
- CorpseDisappearanceTimeDiscovered
- CorpseDisapperanceMinDistanceFromPlayer
- StolenGoodsForcedDiscount