env_blood
< Zh
Jump to navigation
Jump to search
env_blood
是一个点实体 ,可在所有的 起源 游戏中使用。用于产生血的效果。默认的,当被触发时,
env_blood
会在原点坐标 创建鲜活的血液;然而,env_blood
可以将其设置喷射到附近的物体上。 此实体只能通过输入 产生功能。
可能不在适用于军团要塞2 。因为血的实体已经丢失。
标签/Flags
- 1: Random Direction/随机方向
- 2: Blood Stream/血流
- 4: On Player/作用于玩家
- 8: Spray decals /喷射
- 16: Cloud 不存在于FGD! - Emits a much larger cloud of blood./云 - 散发更大的血云/血雾。hammer不显示
- 32: Drops 不存在于FGD! - Splashes large blood drops./掉落 - 飞溅血液。hammer不显示
- 64: Gore 不存在于FGD! - Emits an effect similar to Cloud but smaller./类似云,但是更小。hammer不显示
虽然,后三个似乎不在hammer中显示。但是可以通过取消smartedit来调用,在spawnflags内设置,设置值为你需要勾选的flag相加,比如需要勾选,1,2,16,则输入值19。(经验证似乎有效果!)
键值
- Spray Direction (Pitch Yaw Roll) (spraydir) <角度 >
- 血液喷射和设置血液贴图的大致方向。
- Blood Color (color) <choices>
- 颜色
- 0: Red (Human)/红色(人类)
- 1: Yellow (Alien)/黄色(外星人)

- Amount of blood (damage to simulate) (amount) <浮点型 >
- 喷射强度。

This article has been marked as a candidate for speedy deletion for the following reason:
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
The redirect page got deleted, therefore this page should too.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourselfAdministrators / Moderators - Remember to check if anything links here and the page history before deleting.
输入
- EmitBlood
- 喷射血液效果。
Base:
- AddContext <字符串 >
- 添加到实体的 Response Contexts/响应上下文列表。格式是
<key>:<value>
。
语法:
- ClearContext
- 从此实体的列表中删除所有上下文。
- ClearParent
- 从移动层次结构中删除该实体,使其可以自由移动。
- FireUser1 to FireUser4
- 触发相应的
OnUser
输出;详见 User Inputs and Outputs。
- Kill
- 从这个世界中删除此实体。
- KillHierarchy
- 功能类似
Kill
,尽管此实体与其父实体都被删除了,但比Kill
快一点。
- RemoveContext
- 从实体列表删除一个上下文。名字应与现有上下文进行匹配。
- SetParent <字符串 >
- 跟随此实体移动,详见 实体层级(依赖关系)。
- SetParentAttachmentMaintainOffset <字符串 >
- 同上,但没有传送。在接收到输入时,实体保持其相对于附件的位置。
- DispatchResponse <字符串 > 不存在于FGD!
- 向实体发送一个上下文。 详见 Response
和 Concept
.
- DispatchEffect <字符串 > (被移除于
以来) 不存在于FGD!
- 在实体的原点坐标设置一个特定效果;参见 List of Client Effects
。自从
求生之路后由粒子系统取代。
- RunScriptCode <字符串 > (存在于自
以来)
- 在接收输入的实体范围内执行一串 VScript 源代码。通过控制台触发时可能需要字符串引用。
修复:使用文本编辑器手动删除带有字符串的参数。
- SetLocalOrigin <coordinates > (存在于自
以来) 不存在于FGD!
- 将此实体设置到地图中的某个位置。如果此实体是某实体父级,那么它的子级也会随着移动。
输出
Base/基础:
- OnUser1 to OnUser4
- 这些输出将分别响应于
FireUser1
到FireUser4
输入。 详见 User Inputs and Outputs。 - OnKilled (仅存在于
之中)
- 当实体被Kill输入时响应此输出。