Dynamic Light on Textures/Walls!

Moderator: Graf Zahl

User avatar
Logan MTM
Posts: 179
Joined: Wed Jan 04, 2006 2:52
Location: Rio de Janeiro - BRAZIL

Dynamic Light on Textures/Walls!

Post by Logan MTM »

As we can do FRAME { Light XXXXX }, why not TEXTURE { Light XXXXX }?

It's possible?
So as you read this know my friends I'd love to stay with you all.
Please smile when you think of me. My body's gone that's all...
User avatar
KeksDose
Stronghold Team
Posts: 319
Joined: Thu Apr 12, 2007 21:35
Location: Germany

Post by KeksDose »

Just to keep my answer simple.
Spoiler: Don't open if you know the answer.
Have fun. If I sometimes weren't trippy because of too much Ghoul2.wad, I think I was reading something like "no, forget it" or something, I may not be right X_X

[Edit]

A thread with the same request =D
User avatar
Logan MTM
Posts: 179
Joined: Wed Jan 04, 2006 2:52
Location: Rio de Janeiro - BRAZIL

Post by Logan MTM »

How is impossible? And about the Sector Lights?
Tell me how a Sector Light couldn't work with a texture!
So as you read this know my friends I'd love to stay with you all.
Please smile when you think of me. My body's gone that's all...
User avatar
KeksDose
Stronghold Team
Posts: 319
Joined: Thu Apr 12, 2007 21:35
Location: Germany

Post by KeksDose »

See, if you create a light, you have to set the correct offset for every single texture, because you set the offset in the light, and I think Graf doesn't want to deal with something like this now:

Pointlight BLABLABLA
{
...
}

Texture F_Blablablahh...
{
Texture { Light BLABLABLA; Set offset meh meow woof }
}

It wouldn't be really cool to have every SINGLE light for every SINGLE texture with a light (you have to do the offset like 8 or 9 times for. It is NOT impossible, but I just think Graf won't have the time for this. Maybe he will start in the future, but don't expect it right now.
User avatar
Logan MTM
Posts: 179
Joined: Wed Jan 04, 2006 2:52
Location: Rio de Janeiro - BRAZIL

Post by Logan MTM »

Righto!
So as you read this know my friends I'd love to stay with you all.
Please smile when you think of me. My body's gone that's all...
User avatar
Enjay
Developer
Developer
Posts: 4753
Joined: Tue Aug 30, 2005 23:19
Location: Scotland

Post by Enjay »

Doomsday (or Risen3D - or maybe both) has a cool feature where specific points on certain textures glow. Even some of the tekwall textures with little red or green points of light have glowing bits associated with them. Quite how this is done I don't know but my guess is that something that maps the particular pixel to have the light attached to is used.

Even an XY coordinate to attach a dynamic light to would be quite usable IMO.

eg
light definition {blah}

Object Texture TEKGREN5 32,120

That way, a light of definition "blah" could be placed in front of every instance of TEKGREN5 32 units across and 120 units up based on the 64x128 size of the texture. How possible such a thing would be, I don't know: probably totally. Basic common sense tells me that trying to cope with every use and abuse mappers put textures through would make it extremely difficult but if something like that were possible, I'd certainly have fun using it. :D
User avatar
Logan MTM
Posts: 179
Joined: Wed Jan 04, 2006 2:52
Location: Rio de Janeiro - BRAZIL

Post by Logan MTM »

Nice! ^^

Check this out:

Image

What i did was create an ACTOR and then define his Light in GLDEFS, BUT, that "Power Cell" must come down to start an infinite loop. When its happen the thing down with the light but much more slowly.
The right thing to do is define the light on the texture of the Power Cell!

Well, i'm not a expert in C++ and stuff but i think as the Dynamic Light feature already is done, may be possible to define hen to textures.
So as you read this know my friends I'd love to stay with you all.
Please smile when you think of me. My body's gone that's all...
User avatar
Betanol
Posts: 61
Joined: Mon Jan 22, 2007 17:24
Location: Brasil

Post by Betanol »

I wanted that feature to insert fixed pointlights on little lights on doors.. so the XY offset would be the same on the doors.. is it possible to move THINGS up and down with ACS?

Return to “Closed Feature Suggestions”