twhl-community / halflife-unified-sdk

Half-Life Updated SDK with Opposing Force and Blue Shift merged in, along with other improvements. Check README.md for more information.
Other
143 stars 24 forks source link

Opposing Force drill sergeant is equipped with whistle. #507

Closed malortie closed 1 year ago

malortie commented 1 year ago

Description

The drill sergeant has an accessories bodygroup but never makes use of it in the original game.

Drill sergeant in all training maps currently display whistle submodel.

Steps to reproduce

  1. Play through all Opposing Force training maps.

Possible cause

CDrillSergeant inherits from CBarney, in which the bodygroup is set to 1 on spawn.

https://github.com/SamVanheer/halflife-unified-sdk/blob/2072650d4bbe90fcd284de2de157d1bae16fbb19/src/game/server/entities/NPCs/military/drill_sergeant.cpp#L31-L33

CBarney::Spawn()

https://github.com/SamVanheer/halflife-unified-sdk/blob/2072650d4bbe90fcd284de2de157d1bae16fbb19/src/game/server/entities/NPCs/blackmesa/barney.cpp#L306-L310

NPCWeaponState::Holstered = 1

https://github.com/SamVanheer/halflife-unified-sdk/blob/2072650d4bbe90fcd284de2de157d1bae16fbb19/src/game/server/entities/NPCs/basemonster.h#L31-L36


barney_body_1 drill_body_1

Build : Half-Life Unified SDK V1.0.0 Release Candidate 001

Project info

Using cl_projectinfo_print_all :

Project info for client:
Version: 1.0.0-Beta
Branch: master
Tag: UNIFIED-V1.0.0-RC001
Commit Hash: 68ea0b7ec048935f1e1e740c5778aedebb00458d
Build Timestamp: 20:02:58 Jul 30 2023
Project info for server:
Version: 1.0.0-Beta
Branch: master
Tag: UNIFIED-V1.0.0-RC001
Commit Hash: 68ea0b7ec048935f1e1e740c5778aedebb00458d
Build Timestamp: 20:03:54 Jul 30 2023