LIGHTS modifications help
Posted: Wed Jan 17, 2007 12:48
I've recently been doing some DECORATE (FINALLY found out how to use it) work for use in a levelset I'm making for GZDoom, and I've been having some problems with the lights.
I want a barrel that emits a light before it has been shot, and an even larger light after its been shot. So far I've been able to get it to light up AFTER being shot (Thats what I did first) but now I've noticed that its rather hard to see before you shoot it, and want a beacon so that its easier to see in dark areas (So you can light them up)
This is the code I've got in LIGHTS for the barrel:
I'm not exactly sure whats wrong; Is it that LIGHTS wont let me define two lights on one object, or that I have to define them some other way.
I want a barrel that emits a light before it has been shot, and an even larger light after its been shot. So far I've been able to get it to light up AFTER being shot (Thats what I did first) but now I've noticed that its rather hard to see before you shoot it, and want a beacon so that its easier to see in dark areas (So you can light them up)
This is the code I've got in LIGHTS for the barrel:
Code: Select all
// Burning barrel
flickerlight2 FIREBARREL
{
color 1.0 0.9 0.0
size 64
secondarySize 72
interval 0.1
offset 0 32 0
}
// Shootable barrel beacon
pointlight BARRELBEACON
{
color 1.0 1.0 0.8
size 16
offset 0 44 0
}
object BurningBarrel
{
frame FCAN { light FIREBARREL }
}
object shootbarrel
{
frame FCAN { light FIREBARREL }
frame BALA { light BARRELBEACON }
}