Tactical attachments are inventory items that can be attached to ranged weapons.
This inherits the CaliberAsset <doc_item_asset_caliber>
class.
Tactical attachments inherit properties from the CaliberAsset class, which in turn inherits properties from the ItemAsset class. Properties that are required to be included are listed in the table below.
Class | Property Name | Required Value |
---|---|---|
ItemAsset <doc_item_asset_intro> |
GUID <doc_item_asset_intro:guid> |
|
ItemAsset <doc_item_asset_intro> |
ID <doc_item_asset_intro:id> |
|
ItemAsset <doc_item_asset_intro> |
Type <doc_item_asset_intro:type> |
Tactical |
Property Name | Type | Default Value |
---|---|---|
Laser <doc_item_asset_tactical:laser> |
flag <doc_data_flag> |
|
Laser_Color <doc_item_asset_tactical:laser_color> |
color <doc_data_color> |
#FF0000 |
Light <doc_item_asset_tactical:light> |
flag <doc_data_builtin_types> |
|
Melee <doc_item_asset_tactical:melee> |
flag <doc_data_flag> |
|
Rangefinder <doc_item_asset_tactical:rangefinder> |
flag <doc_data_flag> |
Provides a toggleable laser.
Override the default red color with the specified value. This property supports using legacy color parsing.
Provides a toggleable flashlight, and allows for using PlayerSpotLightConfig <doc_data_playerspotlightconfig>
properties.
Provides the ability to perform a melee attack. This attack does 40 damage, and is not configurable.
Provides a toggleable rangefinder.