Zh/Health: Difference between revisions
< Zh
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{wip}}{{translating}} | {{wip}}{{translating}} | ||
{{LanguageBar}} | {{LanguageBar}} | ||
{{lang|LanguageBar|title = | {{lang|LanguageBar|title = 生命值}} | ||
{{Abstract Mapping}} | {{Abstract Mapping}} | ||
<br> | <br> | ||
__NOTOC__ | __NOTOC__ | ||
''' | '''生命值'''(又称'''生命点数''',英文缩写"HP"或偶称"Hit Points")是电子游戏中表征角色生理状态的数值体系。在多数基于 [[Source|起源引擎]] 的游戏中,角色生成时将被赋予特定数值的生命值,该数值通过 [[HUD]] 实时显示。角色承受伤害时将扣除相应生命值,当HP归零时角色死亡。大多数游戏提供可恢复生命值的增益物品。 | ||
{{note| | {{note|当通过 <code>addoutput "health [number]"</code> 指令修改玩家或NPC的生命值时,其生命值不会实时更新。生命值变更仅在实体承受伤害或获得治疗时生效。若将生命值设置为0或负数,实体虽不会立即死亡,但会处于濒死状态——承受任何伤害都会随即死亡。<br> | ||
绝大多数NPC与玩家实体都支持通过 <kbd>SetHealth</kbd> 输入项正确设置生命值,该输入将严格遵循实体的 <kbd>max_health</kbd> 键值限制。}} | |||
在部分游戏,例如在 {{Portal|2}} 中,采用了一种名为动态生命恢复的替代机制:当玩家处于非战斗状态时,生命值将快速自动恢复。该模式下,生命值通常不会在屏幕上显示数值。 | |||
在多数多人在线游戏中,所有角色初始生命值相同;而在职业分工制游戏,例如在 {{tf2|2}} 中,不同职业常采用差异化初始生命值配置。 | |||
以下是与生命值相关的文章列表: | |||
== | ==生命值关卡设置== | ||
* {{tf2}} [[TF2/Resupply Areas| | * {{tf2}} [[TF2/Resupply Areas|《军团要塞2》中的补给区]] | ||
== | == 生命值编码 == | ||
* [[Adding class based health differences]] | * [[Adding class based health differences|添加职业差异化生命值系统]] | ||
* [[Regenerating Health]] | * [[Regenerating Health|恢复生命值]] | ||
* [[VGUI | * [[VGUI 生命值栏|VGUI 生命值栏]] | ||
* [[VGUI Image Progress Bar]] | * [[VGUI Image Progress Bar|VGUI图像状态栏]] | ||
== {{src}} | == {{src}} 起源中关于生命值的实体== | ||
=== {{hl2series|4}} === | === {{hl2series|4}} === | ||
* {{ent|func_recharge}} | * {{ent|func_recharge}} | ||
Line 35: | Line 35: | ||
* {{ent|npc_antlion_grub}} | * {{ent|npc_antlion_grub}} | ||
=== {{hls|4}} | === {{hls|4}} 与 {{hldms|4}} === | ||
* <code>[[func healthcharger (Half-Life: Source)|func_healthcharger]]</code> | * <code>[[func healthcharger (Half-Life: Source)|func_healthcharger]]</code> | ||
* <code>[[func recharge (Half-Life: Source)|func_recharge]]</code> | * <code>[[func recharge (Half-Life: Source)|func_recharge]]</code> |
Revision as of 07:48, 22 June 2025

This page is actively undergoing a major edit.
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.
The person who added this notice will be listed in its edit history should you wish to contact them.

This page is being translated.
You can help by finishing the translation.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.
You can help by finishing the translation.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.
概括性的地图制作 系列 讨论你的想法——帮助我们写你需要的文章和想法 |
---|
弹药 | 生物 | 蚁狮 | 光束和激光 | 线缆和绳子 | 动态的天空与云雾 | 颜色理论 | 战斗 | 联合军 | Compression (Source 1) | 门 | 尘土、雾、烟 | 升降机 | 关卡转换 | 环境光效、太阳、天气、室外 | 爆炸 | 火焰 | 植被 | 玻璃和窗户 | Headcrab | Health | 梯子 | 光效 | 优化] | 物理 | 视网膜扫描仪 | 声效和音乐 | 特效 | 地形 | 火车 | 机枪塔 | 水 | Weapons | 僵尸 |
生命值(又称生命点数,英文缩写"HP"或偶称"Hit Points")是电子游戏中表征角色生理状态的数值体系。在多数基于 起源引擎 的游戏中,角色生成时将被赋予特定数值的生命值,该数值通过 HUD 实时显示。角色承受伤害时将扣除相应生命值,当HP归零时角色死亡。大多数游戏提供可恢复生命值的增益物品。

addoutput "health [number]"
指令修改玩家或NPC的生命值时,其生命值不会实时更新。生命值变更仅在实体承受伤害或获得治疗时生效。若将生命值设置为0或负数,实体虽不会立即死亡,但会处于濒死状态——承受任何伤害都会随即死亡。绝大多数NPC与玩家实体都支持通过 SetHealth 输入项正确设置生命值,该输入将严格遵循实体的 max_health 键值限制。
在部分游戏,例如在 传送门 中,采用了一种名为动态生命恢复的替代机制:当玩家处于非战斗状态时,生命值将快速自动恢复。该模式下,生命值通常不会在屏幕上显示数值。
在多数多人在线游戏中,所有角色初始生命值相同;而在职业分工制游戏,例如在 军团要塞2 中,不同职业常采用差异化初始生命值配置。
以下是与生命值相关的文章列表:
生命值关卡设置
生命值编码
起源中关于生命值的实体
Half-Life 2 series
- func_recharge
- func_healthcharger
- item_battery
- item_healthcharger
- item_healthkit
- item_healthvial
- item_item_crate
- item_suitcharger
- npc_antlion_grub
半衰期:起源 与
半衰期死亡竞赛:起源
军团要塞2

求生之路系列
- prop_health_cabinet
- weapon_first_aid_kit_spawn
- weapon_defibrillator_spawn
- weapon_pain_pills_spawn
- weapon_adrenaline_spawn
反恐精英:全球攻势
异形丛生
SiN Episodes
- item_antigen_dispenser
- item_healthvial
- item_megahealth
- prop_antigen_canister
- prop_antigen_explosive_barrel
The Ship: Murder Party
Dark Messiah of Might and Magic
- item_food_banana_regime
- item_food_banana01
- item_food_banana02
- item_food_banana03
- item_food_banana04
- item_food_bread01_cooked
- item_food_bread01_row
- item_food_chicken_roasted
- item_food_fish_hanged
- item_food_fibs_cooked
- item_food_fibs_row
- item_food_fish01
- item_food_fish02
- item_food_fish03
- item_food_food_ratio02
- item_food_garlic
- item_food_ham
- item_food_leek01
- item_food_magic_toad
- item_food_mushroom
- item_food_mushroom_verymedium
- item_food_pie
- item_food_red_apple
- item_potion_full_life
- item_potion_life
- weapon_arxringregeneration
- weapon_arxringsecondchance
- weapon_mm_helmet_health
Vampire: The Masquerade – Bloodlines
- item_g_bloodpack
- item_g_bluebloodpack
- item_g_eldervitaepack
- item_p_occult_heal_rate
- item_p_occult_regen
GoldSrc health entities
半衰期,
半衰期:争锋相对,
半衰期:蓝色行动
- func_healthcharger
- func_recharge
- item_battery
- item_healthkit
- func_door/func_door_rotating (healthvalue KV)