Please or Register to create posts and topics.

Light and light-like lights

Page 1 of 2Next

I am making an large elevator for a darkened old area in Aperture, not like any of the models at all. It needs it's own light entity that properly illuminates it, but I cannot make a perfect light source that functions just like the light entity where it isn't too bight at the centre and illuminates in ALL directions, AND can be parented.

Just when I think I understand the system, it changes on me.

You can try making a circle-shaped brush bigger than the upper little circle-light the elevator has, turn it into a func_brush to parent it to the elevator, and texture its down face with some of the light textures like:

- lights/light_panel_cool
- lights/white004
- lights/white009

etc.

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

...worth a shot, i guess. o_o

EDIT: HAD NO IDEA BRUSHES COULD DO THAT! except the thing didn't like the idea of being parented to anything. the glowing remained stationary. it still has to move

Just when I think I understand the system, it changes on me.

If you are having problems attaching it to the elevator, try using one of the elevator model's attachment points (you can watch for them using your Model Viewer). For example, there is an attachment point on the rear top called longbrake_02, check:

Spoiler
Image

Then create a logic_auto with the following output:

- OnMapSpawn > [brush_name] > SetParentAttachmentMaintainOffset > longbrake_02 /delay 0.10 Fire once: Yes

(apart from selecting in the func_brush as Parent the elevator model name!)

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

Actually it's NOT any of the elevator models. Its a service elevator i made from brushes and random models. It's like a service lift for warehouses. I did however have 2 of the tv monitor arms involved to mount it to the rails and I tried parenting the light cube to it

...the illumination still didn't want to budge.

edit: I settled on using a an env_projected texture, but i have to say it isn't satisfiying

Just when I think I understand the system, it changes on me.

If the elevator is made out of brushes, why isn't it possible to use static lights? They won't change when the elevator moves, bcause they were calculated at compile time.

Another thing you could try is a light_dynamic with a big angle.

The Aperture Alpha
A map pack coming soon. - click for more information
Image

for some reason light_dynamic kept disregarding anything that wasn't a model. I checked the wiki and it indeed said it was glitched

Just when I think I understand the system, it changes on me.
Fracture wrote:
for some reason light_dynamic kept disregarding anything that wasn't a model. I checked the wiki and it indeed said it was glitched

if you want to use a dynamic light in portal 2; use an env_projected texture.

Okay, new kind of glitch, the second the elevator moves, the env_projectedtexture disables itself. Literally no other entity is referring to it, it doesn't even have a name yet

Just when I think I understand the system, it changes on me.
Fracture wrote:
Okay, new kind of glitch, the second the elevator moves, the env_projectedtexture disables itself. Literally no other entity is referring to it, it doesn't even have a name yet

is there another env_projected texture in your map?
Does it happen to start at the moment the elevator starts?

Because you can only have one active projected texture in portal 2. So if another one is enabled this one is automatically disabled.

Page 1 of 2Next