BigTruck's Fan Page

BOD Scripting

Lights

(suggested default values in parentheses)


Sector Lighting

Ambient

color (60,60,60)


Gradients

(start color, end color - set start coord and direction in requester next to colors)


Flat Light

color (0,0,0)


External Light (sun)

multiple select all sectors (to create one external light for the whole map)

color (128,128,12)

position:

X = X in coords toolbar

Y = Height in positive units

Z = Y in coords toolbar

Tip: Use matching numbers in sol.py to put the visible sun in the same place as the external light:

Bladex.SetSun( 0/1 = on/off, X, Y, Z from external light properties)



Adding Lights


Intensity (50)


Color (white)


Size (4)


Visible (off)


Placement (in a room 10 units high, about 7)


Shadows (on)