HornProfile
public sealed class HornProfileNamespace Chassis.Api
Horn and lock chirp sounds of a vehicle.
Fields
Section titled “Fields”public string Clip = string.EmptySound name from ChassisApi.RegisterSound; empty is the built-in two-tone horn.
Value The name a mod passed to ChassisApi.RegisterSound, e.g. “mymod_horn”.
public string Chirp = string.EmptySound name of the lock chirp; empty is the built-in chirp.
Value The name a mod passed to ChassisApi.RegisterSound, e.g. “mymod_chirp”.
Position
Section titled “Position”public Vector3 Position = new Vector3(0f, 0.6f, 1.8f)Where the sound comes from, in the vehicle root’s space.
Value A point in metres; the default (0, 0.6, 1.8) is at the front of a car.
Volume
Section titled “Volume”public float Volume = 0.8fVolume of horn and chirp, 0 to 1.