Skip to content

Latest commit

 

History

History
102 lines (72 loc) · 2.54 KB

tactical-asset.rst

File metadata and controls

102 lines (72 loc) · 2.54 KB

Tactical Assets

Tactical attachments are inventory items that can be attached to ranged weapons.

This inherits the CaliberAsset <doc_item_asset_caliber> class.

Game Data File

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

Properties

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>

Property Descriptions

Laser flag <doc_data_flag>

Provides a toggleable laser.


Laser_Color color <doc_data_color> #FF0000

Override the default red color with the specified value. This property supports using legacy color parsing.


Light flag <doc_data_flag>

Provides a toggleable flashlight, and allows for using PlayerSpotLightConfig <doc_data_playerspotlightconfig> properties.


Melee flag <doc_data_flag>

Provides the ability to perform a melee attack. This attack does 40 damage, and is not configurable.


Rangefinder flag <doc_data_flag>

Provides a toggleable rangefinder.