Server Totals
Wilderness - (2)
Ferrell - (1)
Deglos - (1)
M'Chek - (1)
Mikona - (0)
Elysia - (0)
Visimontium - (0)
Le'Or - (0)
Underdark - (0)
Total players: 5
Gallery
  • Winter Ball 2015
    Album name: DM Events
    Uploaded by: Ronan
    Uploaded: Sat Jan 03, 2015 4:41 pm

Links Menu

Lighting

Moderators: Nighthawk4, Dungeon Masters

Lighting

PostAuthor: geoc » Sun Jun 20, 2004 5:50 pm

I came across a problem in a module I was making. Torches, made using the placeable objects, emited no light. There was no ambience. None. I tried using eLight but I couldn't get my code to work. Does anyone have any ideas.
Violence is the last refuge of the incompetent.
-Isaac Asimov
User avatar
geoc
Newbie
 
Posts: 1
Joined: Sun Jun 20, 2004 4:57 pm

PostAuthor: dougnoel » Mon Jun 21, 2004 1:30 am

SetPlaceableIllumination()

Four possibilities I can think of for why you're not seeing any change.

1.) You're in the toolset and have dynamic lighting and/or shadows off.
2.) You have shadows off in the game or another graphic setting that is keeping the number of light sources down.
3.) You have too many light sources for your video card to calculate them all.
4.) You are dynamically placing torches with a script and need to call RecomputeStaticLighting().

Doug

dougnoel
Team Member; Retired with Honors
 
Posts: 6265
Joined: Fri May 14, 2004 4:59 pm
Location: VA (GMT -4)


Return to NWN Scripting

Who is online

Registered users: Bing [Bot], Google [Bot], Xeo