Half-Life 2

Half-Life 2

92 ratings
Sims Plumbob [Squad Insignia]
   
Award
Favorite
Favorited
Unfavorite
type: assets
contains: materials, models
File Size
Posted
713.352 KB
16 Nov, 2024 @ 12:41pm
1 Change Note ( view )

Subscribe to download
Sims Plumbob [Squad Insignia]

Description
This is a model replacement for models/chefhat.mdl from HL2.

Why this model specifically? Because when npc_citizen_insignia 1 is set, the player's NPC squad will be given little hats. Valve was apparently playing with giving the squad NPCs some form of model identifier, but only got as far as a testing stage using the chef hat as a placeholder[github.com].

By default, the NPCs will have little chef hats. While it works, it's not exactly fitting. The angle of the "hat" model is also not consistent, as it will change angle based on the player's view angles. This effectively eliminates being able to add fixed-angle headwear like helmets.

This little spinning logo is the familiar plumb bob[en.wikipedia.org] from The Sims[sims.fandom.com]. This should allow you to know at a glance who's in your squad.

I would recommend setting npc_citizen_auto_player_squad 0, player_squad_transient_commands 0 & npc_citizen_auto_player_squad_allow_use 1 as well. This will allow you to add/remove NPCs from your squad on command.

Requirements
  • npc_citizen_insignia 1

Credit Where It's Due

Other Versions

License
  • This add-on is licensed under a CC BY-NC-SA[creativecommons.org] license. You are allowed to edit & share, but you must credit all original authors, link back to the original work(s), and any derivative works must be under this same license.
9 Comments
V92  [author] 3 Apr @ 7:58pm 
@materialdefender

It's a bug with the code. Valve never finished it so it doesn't properly garbage collect.
Material Defender 3 Apr @ 7:57pm 
seems to be doubled up somehow in the latest version, I don't know why it does. Otherwise seems like a good idea
giorgibob152 3 Dec, 2024 @ 7:54am 
there needs to be mod where you can get squad of 50 rebels. or like 20.
V92  [author] 25 Nov, 2024 @ 5:26pm 
@stoic

Unfortunately the code for this just puts the models/chefhat.mdl model on top of your squad members. It passes & parses no other information.

That being said the plumb bob supports color proxies, I just have it set to override as green in the VMT using $color2. It's entirely possible to make it have other colors if there was a code hook.
24 Nov, 2024 @ 2:18pm 
Does it change colour to indicate their health?
PyroLover 21 Nov, 2024 @ 7:37pm 
Oh no, my rebels gonna drown at the pool with no ladder!
V92  [author] 17 Nov, 2024 @ 10:37pm 
@technotron

Unfortunately I cannot. The health is not passed by the code, it merely attaches the chef hat model to your squad.
TechnoTron 17 Nov, 2024 @ 6:27pm 
can you make it so that the color is based on their health?
Qwazzy 16 Nov, 2024 @ 6:19pm 
Genius idea.