improved hit reactions

This commit is contained in:
2025-06-12 14:00:05 +02:00
parent 4111d87737
commit 29ee1ea2ec
9 changed files with 611 additions and 307 deletions

View File

@@ -341,15 +341,16 @@ MonoBehaviour:
activeRagdoll: 0
senselessTime: 0
resetAttackTrigger: 0
debug: 0
useAttackTimeScale: 0
resetTriggerBeforeTime: 0.5
attackTimeScale: 0.2
maxTargetDistance: 3
useAttackTimeScale: 0
slowMoActivationDistance: 3
lowHealthTh: 10
degreeThreshold: 20
attackTimeScale: 0.2
attackTimeScaleStart: -1
attackTimeScaleEnd: -1
rotatePlayerTowardsTarget: 0
rotationSpeed: 30
rotationActivationAngle: 45
debug: 0
--- !u!114 &11404640
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -459,15 +460,16 @@ MonoBehaviour:
activeRagdoll: 0
senselessTime: 0
resetAttackTrigger: 1
debug: 0
useAttackTimeScale: 0
resetTriggerBeforeTime: 0.5
attackTimeScale: 0.2
maxTargetDistance: 3
useAttackTimeScale: 0
slowMoActivationDistance: 3
lowHealthTh: 10
degreeThreshold: 20
attackTimeScale: 0.2
attackTimeScaleStart: -1
attackTimeScaleEnd: -1
rotatePlayerTowardsTarget: 0
rotationSpeed: 30
rotationActivationAngle: 45
debug: 0
--- !u!114 &11424034
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -704,15 +706,16 @@ MonoBehaviour:
activeRagdoll: 0
senselessTime: 0
resetAttackTrigger: 1
debug: 0
useAttackTimeScale: 0
resetTriggerBeforeTime: 0.5
attackTimeScale: 0.2
maxTargetDistance: 3
useAttackTimeScale: 0
slowMoActivationDistance: 3
lowHealthTh: 10
degreeThreshold: 20
attackTimeScale: 0.2
attackTimeScaleStart: -1
attackTimeScaleEnd: -1
rotatePlayerTowardsTarget: 0
rotationSpeed: 30
rotationActivationAngle: 45
debug: 0
--- !u!114 &11468922
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -738,15 +741,16 @@ MonoBehaviour:
activeRagdoll: 0
senselessTime: 0
resetAttackTrigger: 0
debug: 0
useAttackTimeScale: 0
resetTriggerBeforeTime: 0.5
attackTimeScale: 0.2
maxTargetDistance: 3
useAttackTimeScale: 0
slowMoActivationDistance: 3
lowHealthTh: 10
degreeThreshold: 20
attackTimeScale: 0.2
attackTimeScaleStart: -1
attackTimeScaleEnd: -1
rotatePlayerTowardsTarget: 0
rotationSpeed: 30
rotationActivationAngle: 45
debug: 0
--- !u!114 &11476414
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -818,15 +822,16 @@ MonoBehaviour:
activeRagdoll: 0
senselessTime: 0
resetAttackTrigger: 0
debug: 0
useAttackTimeScale: 0
resetTriggerBeforeTime: 0.5
attackTimeScale: 0.2
maxTargetDistance: 3
useAttackTimeScale: 0
slowMoActivationDistance: 3
lowHealthTh: 10
degreeThreshold: 20
attackTimeScale: 0.2
attackTimeScaleStart: -1
attackTimeScaleEnd: -1
rotatePlayerTowardsTarget: 0
rotationSpeed: 30
rotationActivationAngle: 45
debug: 0
--- !u!114 &11483756
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -921,15 +926,16 @@ MonoBehaviour:
activeRagdoll: 0
senselessTime: 0
resetAttackTrigger: 0
debug: 0
useAttackTimeScale: 0
resetTriggerBeforeTime: 0.5
attackTimeScale: 0.2
maxTargetDistance: 3
useAttackTimeScale: 0
slowMoActivationDistance: 3
lowHealthTh: 10
degreeThreshold: 20
attackTimeScale: 0.2
attackTimeScaleStart: -1
attackTimeScaleEnd: -1
rotatePlayerTowardsTarget: 0
rotationSpeed: 30
rotationActivationAngle: 45
debug: 0
--- !u!114 &11487874
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -15189,15 +15195,16 @@ MonoBehaviour:
activeRagdoll: 0
senselessTime: 0
resetAttackTrigger: 0
debug: 0
useAttackTimeScale: 0
resetTriggerBeforeTime: 0.5
attackTimeScale: 0.2
maxTargetDistance: 3
useAttackTimeScale: 0
slowMoActivationDistance: 3
lowHealthTh: 10
degreeThreshold: 20
attackTimeScale: 0.2
attackTimeScaleStart: -1
attackTimeScaleEnd: -1
rotatePlayerTowardsTarget: 0
rotationSpeed: 30
rotationActivationAngle: 45
debug: 0
--- !u!114 &114000012058145300
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -15265,7 +15272,7 @@ MonoBehaviour:
endDamage: 0.9
damageMultiplier: 0
recoilID: 1
reactionID: 0
reactionID: 1
meleeAttackType: 1
damageType:
bodyParts:
@@ -15274,15 +15281,16 @@ MonoBehaviour:
activeRagdoll: 0
senselessTime: 0
resetAttackTrigger: 0
debug: 0
useAttackTimeScale: 0
resetTriggerBeforeTime: 0.5
attackTimeScale: 0.2
maxTargetDistance: 3
useAttackTimeScale: 0
slowMoActivationDistance: 3
lowHealthTh: 10
degreeThreshold: 20
attackTimeScale: 0.2
attackTimeScaleStart: -1
attackTimeScaleEnd: -1
rotatePlayerTowardsTarget: 0
rotationSpeed: 30
rotationActivationAngle: 45
debug: 0
--- !u!114 &114037387642052710
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -15329,7 +15337,7 @@ MonoBehaviour:
endDamage: 0.9
damageMultiplier: 0
recoilID: 2
reactionID: 0
reactionID: 1
meleeAttackType: 1
damageType:
bodyParts:
@@ -15338,15 +15346,16 @@ MonoBehaviour:
activeRagdoll: 0
senselessTime: 0
resetAttackTrigger: 1
debug: 0
useAttackTimeScale: 0
resetTriggerBeforeTime: 0.5
attackTimeScale: 0.2
maxTargetDistance: 3
useAttackTimeScale: 0
slowMoActivationDistance: 3
lowHealthTh: 10
degreeThreshold: 20
attackTimeScale: 0.2
attackTimeScaleStart: -1
attackTimeScaleEnd: -1
rotatePlayerTowardsTarget: 0
rotationSpeed: 30
rotationActivationAngle: 45
debug: 0
--- !u!114 &114109424512592286
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -15448,15 +15457,16 @@ MonoBehaviour:
activeRagdoll: 0
senselessTime: 0
resetAttackTrigger: 0
debug: 0
useAttackTimeScale: 0
resetTriggerBeforeTime: 0.5
attackTimeScale: 0.2
maxTargetDistance: 3
useAttackTimeScale: 0
slowMoActivationDistance: 3
lowHealthTh: 10
degreeThreshold: 20
attackTimeScale: 0.2
attackTimeScaleStart: -1
attackTimeScaleEnd: -1
rotatePlayerTowardsTarget: 0
rotationSpeed: 30
rotationActivationAngle: 45
debug: 0
--- !u!114 &114173081088732178
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -15515,15 +15525,16 @@ MonoBehaviour:
activeRagdoll: 0
senselessTime: 0
resetAttackTrigger: 0
debug: 0
useAttackTimeScale: 0
resetTriggerBeforeTime: 0.5
attackTimeScale: 0.2
maxTargetDistance: 3
useAttackTimeScale: 0
slowMoActivationDistance: 3
lowHealthTh: 10
degreeThreshold: 20
attackTimeScale: 0.2
attackTimeScaleStart: -1
attackTimeScaleEnd: -1
rotatePlayerTowardsTarget: 0
rotationSpeed: 30
rotationActivationAngle: 45
debug: 0
--- !u!114 &114204451307792824
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -15568,15 +15579,16 @@ MonoBehaviour:
activeRagdoll: 1
senselessTime: 0
resetAttackTrigger: 1
debug: 0
useAttackTimeScale: 0
resetTriggerBeforeTime: 0.5
attackTimeScale: 0.2
maxTargetDistance: 3
useAttackTimeScale: 0
slowMoActivationDistance: 3
lowHealthTh: 10
degreeThreshold: 20
attackTimeScale: 0.2
attackTimeScaleStart: -1
attackTimeScaleEnd: -1
rotatePlayerTowardsTarget: 0
rotationSpeed: 30
rotationActivationAngle: 45
debug: 0
--- !u!114 &114231790030935560
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -15690,15 +15702,16 @@ MonoBehaviour:
activeRagdoll: 0
senselessTime: 0
resetAttackTrigger: 0
debug: 0
useAttackTimeScale: 0
resetTriggerBeforeTime: 0.5
attackTimeScale: 0.2
maxTargetDistance: 3
useAttackTimeScale: 0
slowMoActivationDistance: 3
lowHealthTh: 10
degreeThreshold: 20
attackTimeScale: 0.2
attackTimeScaleStart: -1
attackTimeScaleEnd: -1
rotatePlayerTowardsTarget: 0
rotationSpeed: 30
rotationActivationAngle: 45
debug: 0
--- !u!114 &114296478714166974
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -15995,15 +16008,16 @@ MonoBehaviour:
activeRagdoll: 0
senselessTime: 0
resetAttackTrigger: 0
debug: 0
useAttackTimeScale: 0
resetTriggerBeforeTime: 0.5
attackTimeScale: 0.2
maxTargetDistance: 3
useAttackTimeScale: 0
slowMoActivationDistance: 3
lowHealthTh: 10
degreeThreshold: 20
attackTimeScale: 0.2
attackTimeScaleStart: -1
attackTimeScaleEnd: -1
rotatePlayerTowardsTarget: 0
rotationSpeed: 30
rotationActivationAngle: 45
debug: 0
--- !u!114 &114446205462832556
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -16063,15 +16077,16 @@ MonoBehaviour:
activeRagdoll: 0
senselessTime: 0
resetAttackTrigger: 1
debug: 0
useAttackTimeScale: 0
resetTriggerBeforeTime: 0.5
attackTimeScale: 0.2
maxTargetDistance: 3
useAttackTimeScale: 0
slowMoActivationDistance: 3
lowHealthTh: 10
degreeThreshold: 20
attackTimeScale: 0.2
attackTimeScaleStart: -1
attackTimeScaleEnd: -1
rotatePlayerTowardsTarget: 0
rotationSpeed: 30
rotationActivationAngle: 45
debug: 0
--- !u!114 &114480230802912944
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -16269,15 +16284,16 @@ MonoBehaviour:
activeRagdoll: 0
senselessTime: 0
resetAttackTrigger: 0
debug: 0
useAttackTimeScale: 0
resetTriggerBeforeTime: 0.5
attackTimeScale: 0.2
maxTargetDistance: 3
useAttackTimeScale: 0
slowMoActivationDistance: 3
lowHealthTh: 10
degreeThreshold: 20
attackTimeScale: 0.2
attackTimeScaleStart: -1
attackTimeScaleEnd: -1
rotatePlayerTowardsTarget: 0
rotationSpeed: 30
rotationActivationAngle: 45
debug: 0
--- !u!114 &114608773870077618
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -16303,15 +16319,16 @@ MonoBehaviour:
activeRagdoll: 0
senselessTime: 0
resetAttackTrigger: 1
debug: 0
useAttackTimeScale: 0
resetTriggerBeforeTime: 0.5
attackTimeScale: 0.2
maxTargetDistance: 3
useAttackTimeScale: 0
slowMoActivationDistance: 3
lowHealthTh: 10
degreeThreshold: 20
attackTimeScale: 0.2
attackTimeScaleStart: -1
attackTimeScaleEnd: -1
rotatePlayerTowardsTarget: 0
rotationSpeed: 30
rotationActivationAngle: 45
debug: 0
--- !u!114 &114610283087860218
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -16397,15 +16414,16 @@ MonoBehaviour:
activeRagdoll: 0
senselessTime: 0
resetAttackTrigger: 0
debug: 0
useAttackTimeScale: 0
resetTriggerBeforeTime: 0.5
attackTimeScale: 0.2
maxTargetDistance: 3
useAttackTimeScale: 0
slowMoActivationDistance: 3
lowHealthTh: 10
degreeThreshold: 20
attackTimeScale: 0.2
attackTimeScaleStart: -1
attackTimeScaleEnd: -1
rotatePlayerTowardsTarget: 0
rotationSpeed: 30
rotationActivationAngle: 45
debug: 0
--- !u!114 &114633244054452058
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -16722,7 +16740,7 @@ MonoBehaviour:
endDamage: 0.9
damageMultiplier: 1
recoilID: 1
reactionID: 0
reactionID: 1
meleeAttackType: 1
damageType:
bodyParts:
@@ -16731,15 +16749,16 @@ MonoBehaviour:
activeRagdoll: 0
senselessTime: 0
resetAttackTrigger: 0
debug: 0
useAttackTimeScale: 0
resetTriggerBeforeTime: 0.5
attackTimeScale: 0.2
maxTargetDistance: 3
useAttackTimeScale: 0
slowMoActivationDistance: 3
lowHealthTh: 10
degreeThreshold: 20
attackTimeScale: 0.2
attackTimeScaleStart: -1
attackTimeScaleEnd: -1
rotatePlayerTowardsTarget: 0
rotationSpeed: 30
rotationActivationAngle: 45
debug: 0
--- !u!114 &114838529179133088
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -33922,7 +33941,7 @@ AnimatorStateMachine:
m_Position: {x: 240, y: 120, z: 0}
- serializedVersion: 1
m_State: {fileID: 1102861933717182418}
m_Position: {x: 240, y: 48, z: 0}
m_Position: {x: 240, y: 50, z: 0}
- serializedVersion: 1
m_State: {fileID: 1102186001672383516}
m_Position: {x: 240, y: -20, z: 0}