-
Notifications
You must be signed in to change notification settings - Fork 2
Settings card
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'
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.
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.