Reference: Global Preferences
Contents |
This section describes global preferences defined by Arcane-FX.
Some of these settings were added so that features required by AFX could be shut off to maintain compatibility with other Torque applications. In these cases, the default settings represent standard engine behavior, while the AFXDemo may set them differently according to its requirements.
$pref::AFX::clickToTargetSelf
If true, the primary player's character can be selected directly to target it, otherwise an alternative interface mechanism must be used to make self-selections. One common technique is to select the primary player when its corresponding status-bar is clicked.
Type: Bool
Default: false
$pref::AFX::missileCollisionMask
A bit-mask of object type constants which afxMagicMissile objects will collide with.
Type: S32 Allowed Values: object type constants like $TypeMasks::PlayerObjectType
Recognizes these types by default:
- $TypeMasks::PlayerObjectType
- $TypeMasks::CorpseObjectType
- $TypeMasks::InteriorObjectType
- $TypeMasks::StaticObjectType
- $TypeMasks::DamagableItemObjectType
- $TypeMasks::VehicleObjectType
$pref::AFX::targetSelectionMask
A bit-mask of object type constants recognized as potential target selections by the selection system.
- Type: S32
- Allowed Values: object type constants like $TypeMasks::PlayerObjectType
- Recognizes these types by default:
- $TypeMasks::PlayerObjectType
- $TypeMasks::CorpseObjectType
$pref::AFX::targetSelectionRange
A target must be no further than this distance from the camera to be eligible for selection.
Type: F32
Default: 200.0
$pref::AFX::targetSelectionTimeoutMS
Selections are finalized on a button-up event, but if the button was down longer than this timeout, it is assumed that the user's action was not a selection and any potentially selected object is ignored.
Type: S32
Default: 500
$pref::afxSpellButton::unknownSpellBitmap
A path and prefix to a properly formatted set of images to be used by afxSpellButton when the iconBitmap field of afxRPGMagicSpellData is undefined.
Type: Filename
Default: "scriptsAndAssets/client/afx/ui/images/unknown"
$pref::afxSpellButton::spellCooldownBitmaps
A path and prefix to 36 properly formatted image files to be used by afxSpellButton to indicate the cooldown status of a spell.
Type: Filename
Default: "scriptsAndAssets/client/afx/ui/images/cooldown/cooldown"