feat: add initial People Playground mod development kit

This commit is contained in:
2026-01-06 06:35:51 +03:00
parent b89c805060
commit b4c22a7c63
1095 changed files with 40281 additions and 1 deletions

View File

@@ -0,0 +1,39 @@
URL: https://wiki.studiominus.nl/internalReference/PowerHammerBehaviour.html
Title: People Playground Modding - PowerHammerBehaviour
==================================================
public class PowerHammerBehaviour
Inherits MonoBehaviour
Controls the Power Hammer
Fields
public AudioClip[] ImpactClips
[SkipSerialisation]
Audio played on impact
public float ForceMultiplier
[SkipSerialisation]
Effect force multiplier
public float Range
[SkipSerialisation]
Range of the effect force in units
public float CameraShakeIntensity
[SkipSerialisation]
Intensity of the camera shake
public float RequiredImpactForce
[SkipSerialisation]
Amount of physical impact force required to initiate the force effect
public LayerMask LayersToConsider
[SkipSerialisation]
What layers to consider when affecting objects
public float ImpactCharge
[SkipSerialisation]
How electricity to add to affected objects
public GameObject HammerEffectPrefab
[SkipSerialisation]
Amount of physical impact force required to initiate the force effect