Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Replace NPC with another NPC - A Question for Half-Life 2

Question Solved

This Question was answered and a solution was chosen.
I replaced the metro cop with the regular grunt combine. The white HLA one. Seems good. The NPC (new metro cop) seems to hesitate (stand straight) a tad before engaging. Although I think they do that anyway. Sometimes they T-pose while in a scripted scene during gameplay. Like when they bang on a door. In the QC I just changed these lines  from what they were too:

$modelname "police.mdl"
$bodygroup "alyx_cop"
$includemodel "Police_animations.mdl"

I found this: 
but it may be incomplete. 
  • Lapis avatar
    Lapis Joined 5y ago
    889 points Ranked 43,054th
    3mo 3mo
    I'm not a modeler or animator but I used to run events on a Garry's Mod server where we model manipulated and bonemerged models constantly.

    It sounds like the model isn't made to run with the animations, and would need to be recompiled with them in mind. Again, just from my novice perspective, I could be wrong.
    URL to post:
  • Reverend V92 avatar
    Reverend V92 username pic Joined 11y ago
    Source Engine Expert HL2 Manager HL2:MMod Manager HL2:DM Manager Source Manager OC Manager Syn Manager GMod Manager GMod 9 Manager INS Manager DoD:S Manager CS:S Manager BM Manager L4D Manager L4D2 Manager FNF Manager Moderator
    39,840 points Ranked 110th
    51 medals 3 legendary 13 rare
    • 2019 Top Contributor Medal icon
    • Returned 5000 times Medal icon
    • 10 years a member Medal icon
    • 2nd Place - A Bananite's Guide to... Contest Medal icon
    • 6 years a member Medal icon
    • Returned 1000 times Medal icon
    Reverend V92 avatar
    Reverend V92
    Source Engine Expert
    You need to recompile the model with all of the police.mdl settings. It's missing the animations, the attachments, the physics, everything.

    Decompile the police model, swap out the model's reference SMD and go from there.
    Friendly Neighborhood Mod avatar
    Friendly Neighborhood Mod
    URL to post: