Talk:Creating indicator lights

From Valve Developer Community
Revision as of 11:06, 18 December 2007 by Volt (talk | contribs)

Jump to: navigation, search

Sweet, i used to think this was hard but its very easy, good job.--Gear 22:47, 20 Nov 2007 (PST)

The instructions are pretty good but they and the pictures indicate you missed a step. If you locate the testchmb_a_05.vmf file that came with the sdk you will see that the overlays are changed to 10 units wide. Also to get the right number of lights per length you stretch the overlay as far as you want it to go. Then you take its length/32 and put that number into the U End of the info_overlay.
Ah yeah, I knew I forgot something in the tutorial map. Thanks for the note, i'll add it in and put it into the article.--Remmiz 10:59, 21 Nov 2007 (PST)
For example in the included map file, the overlay touching the floor button is 10 units wide and 52 long. With a U End parameter of 1.625. --Caldaan 12:38, 21 Nov 2007 (EST)

The indicators should be 8 units wide. It makes no sense to have an 10x32 overlay when the original is 8x64. The only reason it comes up as 10 units wide when you select it is that the overlay square (the blue thing that shows up in the center of the overlay) is 10x10x2. --volt 03:06, 18 Dec 2007 (PST)