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

make grapple the least favorite weapon (OP4) #9

Merged
merged 1 commit into from
Oct 9, 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
18 changes: 9 additions & 9 deletions bot_weapons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,6 @@ bot_weapon_select_t valve_weapon_select[NUM_OF_WEAPON_SELECTS] =
250.0, 1500.0, 32.0, 300.0, 300.0,
20, TRUE, 70, 1, 1, TRUE, TRUE, FALSE, FALSE, 0.0, 0.0, TRUE, 30, -1,
W_IFL_GLOCK, W_IFL_AMMO_9MM, 0, TRUE, FALSE },

{GEARBOX_WEAPON_GRAPPLE, WEAPON_SUBMOD_OP4, "weapon_grapple", WEAPON_MELEE, 1.0,
SKILL4, NOSKILL, FALSE, FALSE,
0.0, 200.0, 0, 0, 100.0,
20, TRUE, 100, 0, 0, TRUE, FALSE, FALSE, FALSE, 0.0, 0.0, FALSE, -1, -1,
W_IFL_GRAPPLE, 0, 0, FALSE, FALSE },

{GEARBOX_WEAPON_EAGLE, WEAPON_SUBMOD_OP4, "weapon_eagle", WEAPON_FIRE, 1.0,
SKILL5, NOSKILL, FALSE, FALSE,
Expand Down Expand Up @@ -153,6 +147,12 @@ bot_weapon_select_t valve_weapon_select[NUM_OF_WEAPON_SELECTS] =
20, TRUE, 100, 0, 0, TRUE, FALSE, FALSE, FALSE, 0.0, 0.0, FALSE, -1, -1,
W_IFL_KNIFE, 0, 0, FALSE, FALSE },

{GEARBOX_WEAPON_GRAPPLE, WEAPON_SUBMOD_OP4, "weapon_grapple", WEAPON_MELEE, 1.0,
SKILL4, NOSKILL, TRUE, FALSE,
0.0, 200.0, 0, 0, 100.0,
5, TRUE, 100, 0, 0, TRUE, FALSE, FALSE, FALSE, 0.0, 0.0, FALSE, -1, -1,
W_IFL_GRAPPLE, 0, 0, FALSE, FALSE },

/* terminator */
{0, 0, "", 0, 0.0,
NOSKILL, NOSKILL, FALSE, FALSE,
Expand Down Expand Up @@ -233,9 +233,6 @@ bot_fire_delay_t valve_fire_delay[NUM_OF_WEAPON_SELECTS] = {
0.0, {0.0, 0.0, 0.0, 0.0, 0.0}, {0.0, 0.0, 0.0, 0.0, 0.0},
0.0, {0.0, 0.0, 0.0, 0.0, 0.0}, {0.0, 0.0, 0.0, 0.0, 0.0}},

{GEARBOX_WEAPON_GRAPPLE,
0.0, {0.0, 0.0, 0.0, 0.0, 0.0}, {0.0, 0.0, 0.0, 0.0, 0.0},
0.0, {0.0, 0.0, 0.0, 0.0, 0.0}, {0.0, 0.0, 0.0, 0.0, 0.0}},
{GEARBOX_WEAPON_EAGLE,
0.0, {0.0, 0.0, 0.0, 0.0, 0.0}, {0.0, 0.0, 0.0, 0.0, 0.0},
0.0, {0.0, 0.0, 0.0, 0.0, 0.0}, {0.0, 0.0, 0.0, 0.0, 0.0}},
Expand All @@ -260,6 +257,9 @@ bot_fire_delay_t valve_fire_delay[NUM_OF_WEAPON_SELECTS] = {
{GEARBOX_WEAPON_KNIFE,
0.0, {0.0, 0.0, 0.0, 0.0, 0.0}, {0.0, 0.0, 0.0, 0.0, 0.0},
0.0, {0.0, 0.0, 0.0, 0.0, 0.0}, {0.0, 0.0, 0.0, 0.0, 0.0}},
{GEARBOX_WEAPON_GRAPPLE,
0.0, {0.0, 0.0, 0.0, 0.0, 0.0}, {0.0, 0.0, 0.0, 0.0, 0.0},
0.0, {0.0, 0.0, 0.0, 0.0, 0.0}, {0.0, 0.0, 0.0, 0.0, 0.0}},

/* terminator */
{0, 0.0, {0.0, 0.0, 0.0, 0.0, 0.0}, {0.0, 0.0, 0.0, 0.0, 0.0},
Expand Down