npc_portal_turret_floor
< Zh
Jump to navigation
Jump to search
| CNPC_Portal_FloorTurret |
npc_portal_turret_floor是点实体,可在![]()
传送门(系列)中使用。 它当然是一个独立的 Aperture Science 炮塔.
键值
Aperture Science floor turret as seen in Portal.
- Damage pushes player (DamageForce) <布尔值>
- 伤害推动玩家,被这个炮塔击中时会将玩家向后推。
- Turret is Gagged (Gagged) <布尔值> (存在于自
以来) - 该炮塔不会再有语音
- Used As Actor (UsedAsActor) <布尔值> (存在于自
以来) - 用作于演员,该炮塔不会运行标准的地面炮塔代码,因此它可以用作 actor.
- Turret can be picked up by player (PickupEnabled) <布尔值> (存在于自
以来) - 启用或禁用拾取功能
- Disable Motion (DisableMotion) <布尔值> (存在于自
以来) - 让炮塔无法被移动
- Allow Shooting through portals (AllowShootThroughPortals) <布尔值> (存在于自
以来) - 允许从传送门射击,如未开启,则炮塔不会试图攻击传送门另一侧的目标
- Maximum Range (TurretRange) <浮点型> (存在于自
以来) - 炮塔能看到的最大距离
- Load Defective Models (LoadAlternativeModels) <布尔值> (存在于自
以来) - 加载有缺陷的模型,如果问是否要预缓存缺陷模型吗?如果后期要切换模型则需要。
- Use Super Damage (UseSuperDamageScale) <布尔值> (存在于自
以来) - 将此项设置为 true 将使炮塔的伤害变得非常大。
- model ([todo internal name (i)]) <模型文件路径> 不存在于FGD!
- 使用的自定义模型,必须将 Model value 值设置为 Unused 。默认为 “models/combine_turrets/floor_turret.mdl”
- Model (ModelIndex) <choices> (存在于自
以来) - 决定炮塔要使用哪个模型,骨架炮塔仍然有效。
- 0 : 正常
- 1 : 不使用 (自定义 - 参阅上文)
- 2 : 盒式
- 3 : 后射击炮塔 ("Load Defective Models" 必须激活)
- 4 : 骨架
- Skin Number (SkinNumber) <整数>
- Which skin to use for this turret. Set to 0 to select randomly.
- Pitch Yaw Roll (Y Z X) (angles) <QAngle>
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Flags
- Autostart : [32]
- Unknown. Possibly deprecated.
- Start Inactive : [64]
- Causes this turret to start deactivated
- Fast Retire : [128]
- Makes this turret return to its dormant state faster after losing a target
- Out of Ammo : [256]
- Makes this turret unable to shoot at acquired targets
- Citizen modified (Friendly) : [512] (存在于自
以来) - This turret will be allied with the player and use a special skin
输入
- FireBullet <目标名>
- 使炮塔立即向指定的实体开火。
- EnableGagging <字符串> (存在于自
以来) - 让它闭嘴
- DisableGagging <字符串> (存在于自
以来) - 让它张嘴
- EnablePickup <字符串> (存在于自
以来) - 允许玩家拾取炮塔。
- DisablePickup <字符串> (存在于自
以来) - 禁止玩家拾取炮塔。
- Enable
- Disable
- Toggle
- Active/deactivate the turret's mechanisms.
- DepleteAmmo
- RestoreAmmo
- Depletes ammo from a turret, causing it to dry-fire, or restores ammo. Turrets never run out on their own.
输出
- OnPainted (存在于自
以来) - 当炮塔使用凝胶上色时触发。
- OnDeploy
- OnRetire
- Turret has become active and dangerous or inactive and harmless.
- OnTipped
- Turret has been tipped over and is inactive.
- OnPhysGunPickup
- OnPhysGunDrop
- Picked up/released by Gravity Gun or +use.
参见
- npc_rocket_turret
- npc_turret_floor (相当于HL2)