PDA

View Full Version : Hgrunt unused head model



The303
23-05-2016, 03:34 PM
In hgrunt/f models there is a head called "soldier_head_rocket_ref.smd" or known as Part: HEADS: Submodel 5
Which appears to be the head model for the rocket weapon, but in the game selecting rocket weapon goes with gasmask head or for rocket +HG gives red beret commander head.

http://the303.org/imaeg/grunthelmet.jpg

Solokiller
23-05-2016, 03:39 PM
This should be an easy fix, just set the head group to this submodel if it has the rocket launcher.

Something like this:


if (FBitSet( pev->weapons, HGRUNT_ROCKETLAUNCHER ))
{
SetBodygroup( HEAD_GROUP, HEAD_ROCKETLAUNCHER);
}


Where HEAD_ROCKETLAUNCHER is 4.