mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
This got discussed earlier. Since epoch got merged with DayZ Mod we have a different name for the scope and type of configs. A proper config should use numbers for those entries. This is the same how arma configs are written. The basicDefines.hpp has all the needed information stored. Also, this removes the weight entries from the magazines since we have them in a separate folder, so admins can edit them.
19 lines
458 B
C++
19 lines
458 B
C++
class Attachment_NSPU : CA_Magazine
|
|
{
|
|
scope = 2;
|
|
count = 1;
|
|
type = 256;
|
|
model = "\z\addons\dayz_epoch_w\optic\dze_scope_nspu.p3d";
|
|
picture = "\dayz_epoch_c\icons\attachments\attachment_nspu.paa";
|
|
displayName = $STR_DZE_ATTACHMENT_NSPU_NAME;
|
|
descriptionShort = $STR_DZE_ATTACHMENT_NSPU_DESC;
|
|
|
|
class ItemActions
|
|
{
|
|
class AttachToPrimary
|
|
{
|
|
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
|
script = "; [_id,1] call player_attachAttachment";
|
|
};
|
|
};
|
|
}; |