โš’๏ธCreate Sensations

There are multiple ways of creating sensations:

Microsensation

These are the smallest units that can be felt. A sensation is composed of one or more of them.

var daggerEntry = SensationsFactory.Create(60, 0.1f, 90, 0, 0, 0);
var bleeding = SensationsFactory.Create(50, 0.5f, 50, 0, 0.4f, 0);

The parameters correspond with the following microsensation attributes:

  1. Frequency

  2. Duration (seconds)

  3. Intensity (%)

  4. Ramp up (seconds)

  5. Ramp down (seconds)

  6. Exit delay (seconds)

Sensations Sequence

var stab = daggerEntry.Append(bleeding);

All subtypes of Sensation can be chained together, so it would also be possible to chain Sensation sequences.

Import a sensation

Sensations are exported in its own format from the Sensations Creator, you can import them using the Parse function.

You can find the sensations code by opening the files (.owo) exported by the sensations creator. Otherwise you could load the file through code.

A baked sensation can be imported using the same function.

Muscles

Declaration

You can assign a muscle or group of muscles to any sensation. Muscles are defined like this:

The intensity percentage can be changed per muscle:

You can obtain the opposite muscles of a muscles group (or single) by calling the mirror method:

Assignation

You can assign muscles to any subtype of Sensation.

So it would be also possible to assign muscles to a sensations sequence, or to a baked sensation.

After assigning muscles to a sensation, it becomes a SensationWithMuscles, and it will not be possible to override the muscles that were assigned to it initially.

You can use this as an advantage to define sensation sequences that have sensation with fixed muscles but others with dynamic muscles:

Multiply intensity

This feature is only available in the .Net version of the API, it allows you to multiply the existing sensation of a muscle or sensation by a percentage.

Muscles

Sensations

Last updated