Skip to content

Item Config

tpan496 edited this page Mar 14, 2021 · 14 revisions

weapon_entity

Use this if you want to add a weapon. Only weapon entities will have ammo categories and can be sold.

give_entity

Give Entity will be given directly to the player. You can only add these to Special/Equipment/Attachment.

Examples of Give Entities are ammo, health vials, batteries, attachments, Arctic's Stims (things that have no collision and will be consumed by player on given).

So far, only ArcCW's attachments will appear in the attachment menu. If your weapon pack's attachments happen to be entities, you can add them in Special/Equipment menu. To add an ArcCW attachment, you need to use the attachment name without the prefix (no acwatt_).

You may notice that in the default config for ArcCW barrel/mag attachments, if a weapon doesn't have those attachments then those attachments will not appear in the shop. This functionality has not yet been exposed.

drop_entity

Drop Entity will be dropped at a certain distance from the player. You can only add these to Special/Equipment.

The drop position can be configured using x (horizontal distance from the player), z (vertical distance from the player). You can also set the rotation of the object using yaw. The number of Drop Entities a player owns is limited.

Examples of Drop Entities are NPCs (e.g. turret), props, physical objects. NPC Drop Entities have No Player Collision and should always be friendly to players.