This article relates to the game "Portal 2". Click here for more information.
This article's documentation is for anything that uses the Source engine. Click here for more information.

Stairs(Portal 2): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(added the page)
 
(this really needs to be rewritten)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{DISPLAYTITLE: Stairs (Portal 2)}}
{{languageBar}}
{{source topicon}} {{p2 topicon}}
{{stub}}
{{stub}}
there is a model props_ingame\arm_8panel.mdl with attachments panel_attach_0(1 through 4) you need to attach func_brushes to and animations up and down, you also better use func_door because panels have no collision and to make walking better like in regular stairs(you also need area below it)
There is a model called {{path|props_ingame/arm_8panel|icon=file|mdl}} with an attachment named {{code|preset=1|panel_attach_0X}} (where X goes from 1 to 4), you need to attach {{ent|func_brush}} entities to these attachments, you also better use {{ent|func_door}} because panels have no collision and to make walking better like in regular stairs (you also need an area below it).
Please make it into a viable page(please mention the instances\p2_editor\stair.vmf instance)
You can also make a composition out of singular panel models to make unusual stair formations.
{{todo|This is garbage. Please make it into a viable page (mention the {{path|instances/p2_editor/stair|vmf}} instance).}}
 
[[Category:Portal 2 Level Design]]
[[Category:Portal 2 Tutorials]]

Latest revision as of 12:17, 6 September 2025

English (en)Translate (Translate)

Stub

This article or section is a stub. You can help by expanding it.

There is a model called Fileprops_ingame/arm_8panel.mdl with an attachment named panel_attach_0X (where X goes from 1 to 4), you need to attach func_brush entities to these attachments, you also better use func_door because panels have no collision and to make walking better like in regular stairs (you also need an area below it). You can also make a composition out of singular panel models to make unusual stair formations.

Todo: This is garbage. Please make it into a viable page (mention the 🖿instances/p2_editor/stair.vmf instance).