Prop glados core: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Cleanup)
Line 5: Line 5:
The Portal 2 version of this entity is [[npc_personality_core]], though this entity is still available in the Portal 2 codebase.
The Portal 2 version of this entity is [[npc_personality_core]], though this entity is still available in the Portal 2 codebase.


==Keyvalues==
== Keyvalues ==
* {{KV BasePropPhysics}}
{{KV|Core Personality|choices|Which personality VO set the core is set to.}}
* '''CoreType'''
:* 0 : Curious
: <choices> Which personality VO set the core is set to.
:* 1 : Aggressive
:{| class=standard-table
:* 2 : Crazy
! Value || Description
:* 3 : None
|-
{{KV|Pause (in secs) between VO Lines.|float|When the core is talking, this is the number of seconds delay between it's spoken lines.}}
| 0 || Curious
{{KV BasePropPhysics}}
|-
| 1 || Aggressive
|-
| 2 || Crazy
|-
| 3 || None
|}
* '''DelayBetweenLines'''
: <float> When the core is talking, this is the number of seconds delay between its spoken lines.


==Flags==
== Flags ==
{{Fl BasePropPhysics}}
{{Fl BasePropPhysics}}


== Inputs ==
== Inputs ==
*'''Break'''
{{IO|Panic|Core is near death, panic.}}
:Breaks the breakable completely. This will make the entity act like a normal [[func_breakable]]. If you wish to maintain the shattering behaviour/appearance, consider using the '''Shatter''' input below with a large radius value.
{{IO|StartTalking|Start playing lines, play looking animations.}}
*'''SetHealth <integer>'''
{{I BasePropPhysics}}
:Sets a new value for the breakable's health. If the breakable's health reaches zero it will break.
*'''AddHealth <integer>'''
:Adds health to the breakable. If the breakable's health reaches zero it will break.
*'''RemoveHealth <integer>'''
:Removes health from the breakable. If the breakable's health reaches zero it will break.
*'''EnablePhyscannonPickup'''
:Makes the breakable able to picked up by the [[weapon_physcannon|physcannon]].
*'''DisablePhyscannonPickup'''
:Makes the breakable not able to picked up by the physcannon.
*'''Ignite'''
:Ignite the target entity.
* {{I DamageFilter}}
* {{I BasePropPhysics}}
* {{I Damage}}
* '''Panic'''
: Core is near death, panic.
* '''StartTalking'''
: Start playing lines, play looking animations.


== Outputs ==
== Outputs ==
* '''OnBreak'''
{{IO|OnPlayerPickup|Player picked up core.}}
* '''OnHealthChanged'''
{{O BasePropPhysics}}
* '''OnIgnite'''
* '''OnPhysCannonDetach'''
* {{O BasePropPhysics}}
* '''OnPlayerPickup'''
: Player picked up core.


== See Also ==
== See Also ==
* [[prop_physics]]
* [[prop_physics]]

Revision as of 16:07, 31 July 2011

GlaDOS Personality Core.

Template:Portal series point It spawns a core of GLaDOS computer. It resemble the human eyeball with handles attached to it. These play dialogue and look around when near the player.

The Portal 2 version of this entity is npc_personality_core, though this entity is still available in the Portal 2 codebase.

Keyvalues

Core Personality ([todo internal name (i)]) <choices>
Which personality VO set the core is set to.
  • 0 : Curious
  • 1 : Aggressive
  • 2 : Crazy
  • 3 : None
Pause (in secs) between VO Lines. ([todo internal name (i)]) <float>
When the core is talking, this is the number of seconds delay between it's spoken lines.
Note.pngNote:Page left for viewable history, content moved to prop_physics

Flags

Note.pngNote:Page left for viewable history, content moved to prop_physics

Inputs

Panic
Core is near death, panic.
StartTalking
Start playing lines, play looking animations.
Note.pngNote:Page left for viewable history, content moved to prop_physics

Outputs

OnPlayerPickup
Player picked up core.
Note.pngNote:Page left for viewable history, content moved to prop_physics

See Also