Skip to content

Settings card

lickx edited this page Dec 25, 2022 · 21 revisions

Name and type of device

Creators can use DeviceName and DeviceType in the settings card. These are used mainly in dialogs. For example:

GLOBAL=DeviceName~Neko Collar~DeviceType~collar

A ring could be:

GLOBAL=DeviceName~Pretty ring~DeviceType~ring

Developers can then use %DEVICENAME% and %DEVICETYPE% in menu code and they will be substituted with what the collar creator defined in settings. If not set, will default to name 'Collar', type 'collar'

Custom particle textures

To override the default particle textures for the chain and silk mode of the collar leash:

PARTICLE=C_Texture~leash_MyChainTexture~R_Texture~leash_MySilkTexture

Include your new textures in the device, renamed with the prefix 'leash_' (like 'leash_MyChainTexture'). After the change you must reset the collar scripts or weirdness is bound to happen. [isn't that solved with just re-loading the settings card? --lickx]

If not set, defaults to the 'leash_chain' and 'leash_silk' textures in object inventory. Note that collar creators shouldn't replace these default textures, as they might be overwritten by a future update.

Custom lock and unlock sounds

To override the default lock and unlock sounds:

LOCK=locksound~MyLockSound~unlocksound~MyUnlockSound

Include your new sounds in the device.

If not set, will default to 'sound_lock' and 'sound_unlock' in object inventory. Note that device creators shouldn't replace these default lock sounds, as they might be overwritten by a future update.

Clone this wiki locally