Half-Life 2

Half-Life 2

96 个评价
Sims Plumbob [Squad Insignia]
   
奖励
收藏
已收藏
取消收藏
type: assets
contains: materials, models
文件大小
发表于
713.352 KB
2024 年 11 月 16 日 下午 12:41
1 项改动说明 ( 查看 )

订阅以下载
Sims Plumbob [Squad Insignia]

描述
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 条留言
V92  [作者] 4 月 3 日 下午 7:58 
@materialdefender

It's a bug with the code. Valve never finished it so it doesn't properly garbage collect.
Material Defender 4 月 3 日 下午 7:57 
seems to be doubled up somehow in the latest version, I don't know why it does. Otherwise seems like a good idea
giorgibob152 2024 年 12 月 3 日 上午 7:54 
there needs to be mod where you can get squad of 50 rebels. or like 20.
V92  [作者] 2024 年 11 月 25 日 下午 5:26 
@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.
2024 年 11 月 24 日 下午 2:18 
Does it change colour to indicate their health?
✪PyroLover 2024 年 11 月 21 日 下午 7:37 
Oh no, my rebels gonna drown at the pool with no ladder!
V92  [作者] 2024 年 11 月 17 日 下午 10:37 
@technotron

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