Sensor Ring
Overview
Creator:
Orithan
Added: 11 Apr 2024
Tags:
2.55,
Item
Downloads: 13
|
View Script
Download Example (1.76 MB) |
Information
REQUIRES ZC VERSION 2.55
Wanted a way of passively indicating secrets that's less obtrusive than the Stone of Agony (when you set its values to ones that actually work) yet still effective? Inspired by the Secrets Ring in 7th Quest (currently not on the database, Moosh goes under the bus until he submits it
), this scripted item highlights secret combos when the player approaches them.
Wanted a way of passively indicating secrets that's less obtrusive than the Stone of Agony (when you set its values to ones that actually work) yet still effective? Inspired by the Secrets Ring in 7th Quest (currently not on the database, Moosh goes under the bus until he submits it
Description Setup Reviews Comments
REQUIRES std.zh TO BE IMPORTED
Setting up the Script and Item:
To define an itemclass for the Sensor Rings, copy-paste the strings in the following code blocks into an unused Itemclass entry (ie. zz###) in Quest->ZInfo.
Itemclass Name:
Setting up the Script and Item:
- Import the script. Adjust your settings, found under the SETTINGS section, accordingly. Then compile.
- Enable the Quest Script Rule "Item Scripts Continue To Run", found under ZScript->Quest Script Settings->Script.
- Setting up the item:
Set the flag "Constant Script". This is vital to ensure the script continues to run for this item in the background.
Set Attributes[0] to the range, in pixels, which the item will highlight secrets in.
Set Sprites[0] to the sprite drawn to highlight the secrets. - Have fun.
To define an itemclass for the Sensor Rings, copy-paste the strings in the following code blocks into an unused Itemclass entry (ie. zz###) in Quest->ZInfo.
Itemclass Name:
Sensor RingsItemclass Description:
Scripted. Draws sparkles over combos that hide secrets. Use CF_SENSORRINGHINT to place arbitary hints, use CF_NOSENSORRING to prevent the Sensor Rings from highlighting combos. Read the Script File for more information.The caveat to this in versions prior to 2.55.2 is that there is a bug fixed in 2.55.2 that causes the ZC editor will crash if you renter the ZInfo dialogue after exiting the it while hovering over a custom entry (itemclass mostly) that has a long description like this one. To avoid this crash, scroll to a shorter custom entry or scroll to a default entry.



