Bug #678

Soldier with HW lvl4 cannot pickup enemy weapon on ground

Added by Spyhawk almost 5 years ago. Updated almost 5 years ago.

Status:Fixed% Done:

100%

Priority:NormalSpent time:-
Assignee:Spyhawk
Category:Mod QAGAME
Target version:2.71
OS: Arch:

Description

Players with all skills level 4 seem not to be able to pick up enemy weapon (MP40/Thomson) on ground.
This works correctly for players level ⇐ 3.

I’m currently unsure about which specific skill level is responsible for that issue.


Related issues

Related to ET: Legacy Development - Bug #700: Class selecting by using commands Fixed 09.12.2014
Related to ET: Legacy Development - Bug #594: Soldiers can't have two Thompsons or MP40s Fixed 09.10.2014
Related to ET: Legacy Development - Feature #1154: b_panzerhack: level 4 heavy weapons moved smg to weaponba... New 26.12.2018

Associated revisions

Revision 1d928134
Added by Spyhawk almost 5 years ago

game: fixed non-soldier with HW level 4 cannot pickup enemy SMS, refs #678

Revision 26e9bfe9
Added by Spyhawk almost 5 years ago

game: fixed non soldier with HW lvl 4 not dropping main weapon, refs #678

Revision 91593d98
Added by Spyhawk almost 5 years ago

game: fixed soldier with HW level 4 cannot pickup SMSs, refs #678

History

#1 Updated by Spyhawk almost 5 years ago

  • Subject changed from Medic lvl4 cannot pickup enemy weapon on ground to Player lvl4 cannot pickup enemy weapon on ground
  • Description updated (diff)

#2 Updated by IR4T4 almost 5 years ago

Some maps (surfaces) seem to deny that too. Does this happen on all maps?

Edit: Reason found - caused by G_CanPickupWeapon()

#3 Updated by Spyhawk almost 5 years ago

I thought I lessened the issue by restricting it to Soldier with HW lvl 4 only, but it seems all classes with HW lvl 4 are broken now: enemy SMS can be picked up but they can’t be used (main weapon is never dropped). This seems to be related to weapon slot as suggested by IR4.

ETPub: completely broken. Disabling "cg_panzerhack" (Thomson/MP40 in slot 3 only, not 2) makes it less broken.
Silent: They allow another Thomson/MP40 by default, not concerned by this issue.
NQ: Use browning/Stgw44 instead, not concerned by this issue.

Edit: The issue with non soldier players described above is now fixed. The bug is now only related to Soldier with HW lvl 4.

#4 Updated by Spyhawk almost 5 years ago

  • Related to Bug #700: Class selecting by using commands added

#5 Updated by Spyhawk almost 5 years ago

  • Subject changed from Player lvl4 cannot pickup enemy weapon on ground to Soldier with HW lvl4 cannot pickup enemy weapon on ground
  • Priority changed from High to Normal
  • % Done changed from 0 to 20

#6 Updated by Spyhawk almost 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Spyhawk

#7 Updated by Spyhawk almost 5 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 20 to 100

Should now be fixed.

There is an existing issue if the player selects Soldier HW lvl4 with Thomson as weapon only (without pistols), as it will be possible to pick up only one weapon on ground. This will be fixed once we figure out how to properly implement #594.

#8 Updated by Spyhawk almost 5 years ago

  • Related to Bug #594: Soldiers can't have two Thompsons or MP40s added

#9 Updated by Saukko almost 5 years ago

  • Status changed from Feedback to Fixed

Seems to been fixed.

-*S

#10 Updated by Spyhawk 11 months ago

  • Related to Feature #1154: b_panzerhack: level 4 heavy weapons moved smg to weaponbank 2 added

Also available in: Atom PDF