Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Laguna

Swinging lights

Recommended Posts

Well... I'm working on getting a tutorial for swinging lights up.

Essentially, you need to assign a model to a light source, and make it a projected light. To make it actually swing, it needs to be bound to a joint.

Sometime soon I'll post up a tutorial on how to use them.

STAY TUNED... [cue horror music]

Share this post


Link to post

I did a little research on admin.map to take a look at what makes the swinging lights work. I copied the values and to the best of my ability described what they could do, and I wrote it down in Notepad. So, please excuse formatting errors.


classname light
name <name>
origin <world coords> \ Set through 'j'
light_origin <light coords> /
rotation <direction>
model <model path>
target <target>
broken <model path for broken model>
bind <this is bound to a physical object>
bindToJoint <bone name>
s_shader <specify shader>
health <when health is 0, light is destroyed>
s_volume <unsure>
target/1 <when "triggered" active target>
color_demonic <more shader crap that isn't necessary ATM>
s_mindistance <unsure>
s_maxdistance <unsure>
s_omni <unsure>
s_occlusion <unsure>
s_waitfortrigger<unsure>
s_leadthrough <unsure>
s_plain <unsure>
s_justVolume <unsure>
noshadows <boolean - 0 casts shadow volumes, 1 doesn't>
nospecular <boolean - 0 casts specular highlights, 1 doesn't>
nodiffuse <boolean - 0 means cast diffuse, 1 doesn't>
texture <set through light menu [specifies type of light and special effects]>
_color <set through light menu or 'k'>
light_radius <set through light menu>
light_center <set through light menu>
cinematic <boolean - unsure>

I'm still working on that tutorial, it should be up within the next few days. In the meantime, you can look at the above chart and perhaps ascertain the meanings yourself.

Share this post


Link to post

Thanks! :D

I was having trouble getting the object to turn to physics.

Could someone delete this thread?

Share this post


Link to post
Laguna said:

Thanks! :D

I was having trouble getting the object to turn to physics.

Could someone delete this thread?


No prob ;)

You should check around on doom3world.org often. Their forums mainly, though, as in the DOOM 3 LEVEL EDITING forum, they have some AWESOME help and tutorials.

One of the best DOOM 3 editing forums in my opinion. Fast replies too, since tons of people flock there for some reason. :)

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×