This may be a problem in the engine and not q3map2 (*.37 and *.38). My func_pendulums are being lit before they are rotated. www.spunkmonkeyscage.com/junk/badlighting.jpg So the lighting which is cast on them is comming from the wrong direction. The claws in this image are a func_pendulum that is rotated 110 degrees to match up with the proper angle of the MD3 I created. The lighting shown by the arrows is actually comming from the 2 spotlights I created behind the model. Those 2 lights and the blue light cast by the skybox are the only two things that should be lighting these claws. This side of the claws should be in shadow right now. Any clues?
Problem with func_ being improperly lit
Um, why not make the claw an MD3 as well?
Everything gets lit from the position and orientation it sits in the map. What the game code does with the entity is beyond my control.
y
I think you´re right that it´s the engine. Perhaps this is the reason:
You can change entitykeys like orientation, origin etc. at any time after bsp/vis/light the map. You only need to compile with -onlyents. But the lightmap on the model is fix and does not change, because there is no relighting. It´s the same on doors…
you light them closed or opened. If you use them the lightmap does not change.
I think the only solution might be dynamic lighting for entities…seems to be impossible.

Tweety
Tried something,…and it works
Construct a separate room outside the map (Needs no intersection with the map itself–> it´s not in the bsp-tree).
Put the pendulum (with it´s origin brush) inside this room. Add all lighting (sky, lights) how they are in the map ot get lighting and shadows on the pendulum.
Everything else in the room should be caulked–> no lightmap is calculated for that room (only the func), and the bsp-file won´t get larger.
Now vis and light it.
Then move the pendulum in the correct position in your map. Call bsp-onlyents (No lighting and No vis only the entities).
The pendulum has been lighted in the separate room and the onlyents-call changed the origin to the correct position.

TweetyTheBird[/img]