Talk:Conveyor (Portal 2)

From Valve Developer Community
Jump to navigation Jump to search

there are much more complex conveyor belts in portal:

  • Gel can move on the steps (sp_a4_final3[1])
  • Props keep coming on the conveyor, like turrets that shoot you (when running from GLaDOS bts)

How do you make these?

The link is for the decompiled sp_a4_final3 level, it's not perfect, but that's the best I could get without asking Valve to hand me the original thing over...

--Mr.p.kiwi 06:08, 29 July 2011 (PDT)

I'd assume that the turrets are simply an entity template spawner at one end of the belt, though I suppose parenting it to a func_movelinear might make it a bit more stable. --Bailinbone15 20:16, 13 August 2011 (PDT)

Valve uses a mass of props that are attached to a train which are spawned by a template. Personally I would have made a scrolling texture or a func_conveyor but Valve was too lazy to make physics objects be affected by func_conveyors again. Cheap but working option FTW. --Chickenmobile 06:11, 11 October 2011 (PDT)

I've written a tutorial and uploaded example BSPs and VMFs, it's linked on the Conveyor page. I'm not sure how to copy the contents into this wiki. If someone wants to do that, that'd be absolutely great :-) Tutorial, screenshots and file download can be found here:

[2] --Moth 15:32, 11 October 2011 (GMT)

If you used a func_conveyor, could you use material_modify_control to scroll it? FelixGriffin 14:17, 11 October 2011 (PDT)

Looking good! --ThaiGrocer 16:50, 12 October 2011 (PDT)

Updated main article with additional notes on getting paint to stick to the conveyor belt. Might not be very obvious at the bottom there, can somebody clean it up please? --Moth 09:58, 13 October 2011 (GMT)