Feature #1324

Add cg_drawGun value to only draw non-weapons and throwables

Added by ryven 3 months ago. Updated 3 months ago.

Status:Fixed% Done:

100%

Priority:NormalSpent time:-
Assignee:ryven
Category:Mod CGAME
Target version:2.77
OS: Arch:

Description

Add `cg_drawGun 2` to only draw non-weapons and throwables (incl. grenades).
This helps to avoid adding config scripts and combined binds to achieve similar behavior when you want completely to hide the weapon models.

Associated revisions

Revision 7b50b94c
Added by Aranud 3 months ago

cgame: add cg_drawGun 2 to only draw non-weapons and throwables, refs #1324

Revision 1c48dd0f
Added by Aranud 3 months ago

mod: draw melee and syringue weapon in cg_drawgun 2, refs #1324

  • Add weapon type WEAPON_TYPE_BEAM for flamethrower
  • Don’t draw flamethrower in cg_drawgun 2

Revision 9354836c
Added by ryven 2 months ago

cgame: fix cg_drawGun 2, refs #1324

In case you would die having drawble weapon selected
(like knife or nade, etc), fire weapon would be drawn in limbo mode.

History

#1 Updated by Aranud 3 months ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF