Prop monster box: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Frankenturrets not monsters, plus info on painting them.)
(add some missing bugs)
Line 6: Line 6:
It is a "Frankenturret", the result of welding together two [[npc_portal_turret_floor|turrets]] and one weighted storage cube. While it can't attack, it can still move on its own under certain conditions. When they press floor buttons, they will switch into the box state.
It is a "Frankenturret", the result of welding together two [[npc_portal_turret_floor|turrets]] and one weighted storage cube. While it can't attack, it can still move on its own under certain conditions. When they press floor buttons, they will switch into the box state.
{{bug|If painted, Frankenturrets will not bounce around, slide or otherwise be affected by the gel. Players and other physics objects can be launched by bounce-gelled Frankenturrets.}}
{{bug|If painted, Frankenturrets will not bounce around, slide or otherwise be affected by the gel. Players and other physics objects can be launched by bounce-gelled Frankenturrets.}}
{{bug|Due to limitations of the viewmodel grabbing system, picking up frankenturrets in co-op causes them to freeze in a default pose and lose all their face plates. They return to normal when dropped.}}


==Keyvalues==
==Keyvalues==
Line 21: Line 22:
{{IO|BecomeMonster|Allow the Turrets to come out when set down.}}
{{IO|BecomeMonster|Allow the Turrets to come out when set down.}}
{{IO|BecomeShortcircuit|Short circuit this Frankenturret, forcing it into the cube state and playing spark particle effects.}}
{{IO|BecomeShortcircuit|Short circuit this Frankenturret, forcing it into the cube state and playing spark particle effects.}}
:{{bug|In singleplayer, this forces the player to drop the object they are currently holding, even if that object is not the frankenturret itself}}
{{IO|Dissolve|Dissolves the Frankenturret.}}
{{IO|Dissolve|Dissolves the Frankenturret.}}
{{IO|SilentDissolve|Kills the Frankenturret and fires its OnFizzled output.}}
{{IO|SilentDissolve|Kills the Frankenturret and fires its OnFizzled output.}}

Revision as of 04:31, 6 November 2023

In-game screenshot of a prop_monster_box.

Template:Portal2 point

Entity description

It is a "Frankenturret", the result of welding together two turrets and one weighted storage cube. While it can't attack, it can still move on its own under certain conditions. When they press floor buttons, they will switch into the box state.

Icon-Bug.pngBug:If painted, Frankenturrets will not bounce around, slide or otherwise be affected by the gel. Players and other physics objects can be launched by bounce-gelled Frankenturrets.  [todo tested in ?]
Icon-Bug.pngBug:Due to limitations of the viewmodel grabbing system, picking up frankenturrets in co-op causes them to freeze in a default pose and lose all their face plates. They return to normal when dropped.  [todo tested in ?]

Keyvalues

Start As Box ([todo internal name (i)]) <boolean>
Start as a cube instead of the extended mode.
Box Switch Speed ([todo internal name (i)]) <float>
Speed to force switch to a cube.
Allow SilentDissolve input ([todo internal name (i)]) <boolean>
Allow the SilentDissolve input to dissolve this monster.
Note.pngNote:Page left for viewable history, content moved to prop_physics
Parentname:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.

Flags

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

Inputs

BecomeBox
Force the Frankenturret to become a cube.
BecomeMonster
Allow the Turrets to come out when set down.
BecomeShortcircuit
Short circuit this Frankenturret, forcing it into the cube state and playing spark particle effects.
Icon-Bug.pngBug:In singleplayer, this forces the player to drop the object they are currently holding, even if that object is not the frankenturret itself  [todo tested in ?]
Dissolve
Dissolves the Frankenturret.
SilentDissolve
Kills the Frankenturret and fires its OnFizzled output.
Note.pngNote:Page left for viewable history, content moved to prop_physics
Parentname:
SetParent <stringRedirectInput/string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <stringRedirectInput/string>
Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
SetParentAttachmentMaintainOffset <stringRedirectInput/string>
As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
ClearParent
Removes this entity from the the movement hierarchy, leaving it free to move independently.

Outputs

OnFizzled
Fired when the Frankenturret gets fizzled.
Note.pngNote:Page left for viewable history, content moved to prop_physics