Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HLC Tweaks - Allow single fire on AUG HBARs #224

Merged
merged 1 commit into from
Mar 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions addons/hlc_tweaks/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,58 @@ class CfgWeapons {
};
};

// HBAR semi-auto, isn't not using inheritance fun guys?
class hlc_rifle_aughbar: hlc_rifle_aug {
modes[]= {
"Single",
"FullAuto",
"50",
"AI_long",
"AI_close",
"AI_short",
"AI_far",
"AI_toofar",
"AI_far_optic1"
};
class Single: Single {
showToPlayer = 1;
};
};

class hlc_rifle_aughbar_b: hlc_rifle_aughbar {
modes[] = {
"Single",
"FullAuto",
"fullauto_medium",
"single_medium_optics1",
"single_far_optics2"
};
};

class hlc_rifle_aughbar_t: hlc_rifle_aughbar {
modes[] = {
"Single",
"FullAuto",
"fullauto_medium",
"single_medium_optics1",
"single_far_optics2"
};
};

class hlc_rifle_auga2lsw: hlc_rifle_aughbar {
modes[]= {
"Single",
"FullAuto",
"50",
"AI_long",
"AI_close",
"AI_short",
"AI_far",
"AI_toofar",
"AI_far_optic1"
};
};

class hlc_rifle_honeybase;
class hlc_rifle_honeybadger: hlc_rifle_honeybase {
class LinkedItems {
Expand Down