Skip to content

Commit

Permalink
update pickup valve and change default settings
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasylidong committed Jun 9, 2024
1 parent 2a282cf commit baced13
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
Binary file modified addons/sourcemod/plugins/optional/l4d2_pickup.smx
Binary file not shown.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/l4d2_pickup.sp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public void OnClientPutInServer(int client)
HookValidClient(client, true);

if (!QuerySwitchCookie(client, g_iSwitchOnPickup[client]))
g_iSwitchOnPickup[client] = g_iSwitchFlags & (FLAGS_SWITCH_MELEE|FLAGS_SWITCH_GUNS);
g_iSwitchOnPickup[client] = g_iSwitchFlags & FLAGS_SWITCH_GUNS;
}

public void OnClientDisconnect(int client)
Expand Down
2 changes: 1 addition & 1 deletion cfg/cfgogl/allcharger/shared_settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ confogl_addcvar vs_tank_pound_damage 100
confogl_addcvar vs_tank_rock_damage 36

// [l4d2_pickup.smx]
confogl_addcvar pickup_switch_flags 3
confogl_addcvar pickup_switch_flags 7
confogl_addcvar pickup_incap_flags 6

// [l4d2_car_alarm_hittable_fix.smx]
Expand Down
2 changes: 1 addition & 1 deletion cfg/cfgogl/alone/shared_settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ confogl_addcvar vs_tank_pound_damage 100
confogl_addcvar vs_tank_rock_damage 36

// [l4d2_pickup.smx]
confogl_addcvar pickup_switch_flags 3
confogl_addcvar pickup_switch_flags 7
confogl_addcvar pickup_incap_flags 6

// [l4d2_car_alarm_hittable_fix.smx]
Expand Down
2 changes: 1 addition & 1 deletion cfg/cfgogl/annehappy/shared_settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ confogl_addcvar vs_tank_pound_damage 100
confogl_addcvar vs_tank_rock_damage 36

// [l4d2_pickup.smx]
confogl_addcvar pickup_switch_flags 3
confogl_addcvar pickup_switch_flags 7
confogl_addcvar pickup_incap_flags 6

// [l4d2_car_alarm_hittable_fix.smx]
Expand Down
2 changes: 1 addition & 1 deletion cfg/cfgogl/annehappy_hardcore/shared_settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ confogl_addcvar vs_tank_pound_damage 100
confogl_addcvar vs_tank_rock_damage 36

// [l4d2_pickup.smx]
confogl_addcvar pickup_switch_flags 3
confogl_addcvar pickup_switch_flags 7
confogl_addcvar pickup_incap_flags 6

// [l4d2_car_alarm_hittable_fix.smx]
Expand Down
2 changes: 1 addition & 1 deletion cfg/cfgogl/hunters/shared_settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ confogl_addcvar vs_tank_pound_damage 100
confogl_addcvar vs_tank_rock_damage 36

// [l4d2_pickup.smx]
confogl_addcvar pickup_switch_flags 3
confogl_addcvar pickup_switch_flags 7
confogl_addcvar pickup_incap_flags 6

// [l4d2_car_alarm_hittable_fix.smx]
Expand Down
2 changes: 1 addition & 1 deletion cfg/cfgogl/witchparty/shared_settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ confogl_addcvar vs_tank_pound_damage 100
confogl_addcvar vs_tank_rock_damage 36

// [l4d2_pickup.smx]
confogl_addcvar pickup_switch_flags 3
confogl_addcvar pickup_switch_flags 7
confogl_addcvar pickup_incap_flags 6

// [l4d2_car_alarm_hittable_fix.smx]
Expand Down

0 comments on commit baced13

Please sign in to comment.