ampreeT / SourceCoop

Black Mesa cooperative plugin for SourceMod
GNU General Public License v3.0
181 stars 13 forks source link

Empty handed players T-Pose #76

Closed Alienmario closed 1 month ago

Alienmario commented 2 years ago

To Reproduce: remove crowbar from bm_c1a0a.edt and change to it, go to thirdperson.

Tested various server side fixes but none worked, all animations and poses appear to be clientsided.

Balimbanana commented 2 years ago

This might be possible to kind of work around. There is an input to CBaseCombatWeapon of HideWeapon which hides both the world model, and the viewmodel. Then we would run PreventWeaponFiring on it and the player will stay in whichever animation that weapon had.

Running through the weapons, the weapon_satchel appears to be the best candidate for what looks ok while appearing to hold no weapon. However, then we will need to set the primary ammo type to something else when the suit is picked up as that will appear on the hud.

Alienmario commented 2 years ago

Ideally I'd like to avoid workarounds that complicate extensibility and require workarounds in other places themselves (e.g for item persistence).

My next best thought was to look into what can be done by modifying player models themselves.

MyGamepedia commented 10 months ago

Just want to note that we have _noweapon animations in all player models.