Skip to content

Commit

Permalink
fix transforms
Browse files Browse the repository at this point in the history
there's still no knife socket for SN but... shhhh
  • Loading branch information
Govorunb committed Dec 7, 2023
1 parent c256aae commit 83be913
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 177 deletions.
3 changes: 2 additions & 1 deletion SCHIZO/Items/FumoItem/EvilFumoItemTool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ protected override void ApplyAltEffect(bool active)
{
stolenKnife = knife;
YoinkKnife();
damageOnPoke *= 4;
dmg *= 4;
}
usingPlayer.liveMixin.TakeDamage(dmg);
damageOnPoke *= 1.25f; // negative reward function
}
else
{
Expand Down
148 changes: 11 additions & 137 deletions Unity/Assets/Mod/Evil Fumo/Evil Fumo item.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4427810026626581335}
m_LocalRotation: {x: 0.30061084, y: -0.040196054, z: -0.9146508, w: 0.26726663}
m_LocalPosition: {x: 0.16, y: -0.24, z: -1.74}
m_LocalRotation: {x: 0.625588, y: -0.61014813, z: -0.006086991, w: -0.4861295}
m_LocalPosition: {x: -0.015, y: 0.07, z: 1.22}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 8418634198100310474}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 5, y: 325, z: 211}
m_Father: {fileID: 4264099153745794611}
m_RootOrder: 14
m_LocalEulerAnglesHint: {x: -142, y: 312, z: 106}
--- !u!54 &3813723675008832454
Rigidbody:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -83,10 +83,10 @@ MonoBehaviour:
ikAimRightArm: 1
leftHandIKTarget: {fileID: 2700174289789152960}
rightHandIKTarget: {fileID: 2379098350310527419}
ikAimLookDownAngleLimit: 90
ikAimLookDownAngleLimit: 30
useLeftAimTargetOnPlayer: 0
hasAnimations: 1
drawTime: 0.5
drawTime: 0.1
drawSound: {fileID: 0}
drawSoundUnderwater: {fileID: 0}
holsterTime: 0.1
Expand Down Expand Up @@ -117,8 +117,8 @@ MonoBehaviour:
secondaryUseText:
hasAltUse: 1
altUseText: Poke ({0})
altUsableChance: 1
altEffectOnHugChance: 1
altUsableChance: 0.25
altEffectOnHugChance: 0.9
altEffectMinHugTime: 2
altEffectDuration: 5
hugCooldown: 1
Expand Down Expand Up @@ -149,41 +149,6 @@ PrefabInstance:
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 746724311710824617, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalPosition.x
value: 0.92
objectReference: {fileID: 0}
- target: {fileID: 746724311710824617, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalPosition.y
value: 0.12
objectReference: {fileID: 0}
- target: {fileID: 746724311710824617, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalPosition.z
value: 0.2
objectReference: {fileID: 0}
- target: {fileID: 746724311710824617, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.4503371
objectReference: {fileID: 0}
- target: {fileID: 746724311710824617, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.55991226
objectReference: {fileID: 0}
- target: {fileID: 746724311710824617, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalRotation.y
value: -0.36945873
objectReference: {fileID: 0}
- target: {fileID: 746724311710824617, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalRotation.z
value: -0.58923256
objectReference: {fileID: 0}
- target: {fileID: 746724311710824617, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
Expand All @@ -192,7 +157,7 @@ PrefabInstance:
- target: {fileID: 746724311710824617, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 73
value: 64
objectReference: {fileID: 0}
- target: {fileID: 1752336031019831118, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
Expand All @@ -209,91 +174,6 @@ PrefabInstance:
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5277470585440791267, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalPosition.x
value: -0.75
objectReference: {fileID: 0}
- target: {fileID: 5277470585440791267, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalPosition.y
value: -0.4
objectReference: {fileID: 0}
- target: {fileID: 5277470585440791267, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalPosition.z
value: -1.5
objectReference: {fileID: 0}
- target: {fileID: 5277470585440791267, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.21850795
objectReference: {fileID: 0}
- target: {fileID: 5277470585440791267, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.21850795
objectReference: {fileID: 0}
- target: {fileID: 5277470585440791267, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalRotation.y
value: -0.6724985
objectReference: {fileID: 0}
- target: {fileID: 5277470585440791267, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalRotation.z
value: -0.6724985
objectReference: {fileID: 0}
- target: {fileID: 5277470585440791267, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 270
objectReference: {fileID: 0}
- target: {fileID: 5277470585440791267, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 206
objectReference: {fileID: 0}
- target: {fileID: 5277470585440791267, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 10
objectReference: {fileID: 0}
- target: {fileID: 6514621892085946840, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalPosition.x
value: -2
objectReference: {fileID: 0}
- target: {fileID: 6514621892085946840, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalPosition.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6514621892085946840, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalPosition.z
value: -0.1
objectReference: {fileID: 0}
- target: {fileID: 6514621892085946840, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalRotation.w
value: -0.6577197
objectReference: {fileID: 0}
- target: {fileID: 6514621892085946840, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.504686
objectReference: {fileID: 0}
- target: {fileID: 6514621892085946840, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalRotation.y
value: -0.34041518
objectReference: {fileID: 0}
- target: {fileID: 6514621892085946840, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalRotation.z
value: 0.44363776
objectReference: {fileID: 0}
- target: {fileID: 6514621892085946840, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
Expand All @@ -307,7 +187,7 @@ PrefabInstance:
- target: {fileID: 6514621892085946840, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 292
value: 270
objectReference: {fileID: 0}
- target: {fileID: 6614380495750585589, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
Expand Down Expand Up @@ -427,12 +307,6 @@ GameObject:
type: 3}
m_PrefabInstance: {fileID: 8219148621552729296}
m_PrefabAsset: {fileID: 0}
--- !u!4 &8418634198100310474 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 487716062766548250, guid: 494d51939a4d56f47a65310c2d52e286,
type: 3}
m_PrefabInstance: {fileID: 8219148621552729296}
m_PrefabAsset: {fileID: 0}
--- !u!4 &4264099153745794611 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 5277470585440791267, guid: 494d51939a4d56f47a65310c2d52e286,
Expand Down
Loading

0 comments on commit 83be913

Please sign in to comment.