light

Post any questions about MOH:PA mapping, modeling, scripting or skinning here.

Moderator: Moderators

Post Reply
User avatar
MasterMind
Major
Posts: 316
Joined: Thu Jul 15, 2004 12:10 am

light

Post by MasterMind »

When i get in my map(small room) its pitched black, how do i add light?
Jesus built us a bridge, with 2 boards and 3 nails.
User avatar
General Death
Moderator
Posts: 1116
Joined: Thu Nov 21, 2002 2:33 am
Location: NC, USA
Contact:

Post by General Death »

Light entities are not supported in PA. You would have to light it simply with global and ambient lighting for now.

lights are controled in PA by a .lum file. A .lum file doc should come with MDK 1.1.
Image
User avatar
MasterMind
Major
Posts: 316
Joined: Thu Jul 15, 2004 12:10 am

Post by MasterMind »

how do i add ambient light?
Jesus built us a bridge, with 2 boards and 3 nails.
User avatar
General Death
Moderator
Posts: 1116
Joined: Thu Nov 21, 2002 2:33 am
Location: NC, USA
Contact:

Post by General Death »

MasterMind wrote:how do i add ambient light?
Just like any moh title but apply worldspawn settings to one brush in your map.

ambientlight x x x
Image
User avatar
MasterMind
Major
Posts: 316
Joined: Thu Jul 15, 2004 12:10 am

Post by MasterMind »

Oh, thanks

i thought you couldnt do that for PA
Jesus built us a bridge, with 2 boards and 3 nails.
User avatar
General Death
Moderator
Posts: 1116
Joined: Thu Nov 21, 2002 2:33 am
Location: NC, USA
Contact:

Post by General Death »

Even though its not supported brushes still work.

Place one under the map though and apply all your worldspawn settings to it.
Image
User avatar
MasterMind
Major
Posts: 316
Joined: Thu Jul 15, 2004 12:10 am

Post by MasterMind »

I tried that, still no light :?
Jesus built us a bridge, with 2 boards and 3 nails.
User avatar
General Death
Moderator
Posts: 1116
Joined: Thu Nov 21, 2002 2:33 am
Location: NC, USA
Contact:

Post by General Death »

MasterMind wrote:I tried that, still no light :?
I screwed up

try

global_light_ambientcolor xxx
Image
User avatar
MasterMind
Major
Posts: 316
Joined: Thu Jul 15, 2004 12:10 am

Post by MasterMind »

k, thanks, it worked :D
Jesus built us a bridge, with 2 boards and 3 nails.
Post Reply