Graal Forums  

Go Back   Graal Forums > Development Forums > Level Design
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-28-2003, 11:38 PM
Zethar Zethar is offline
hmm
Zethar's Avatar
Join Date: May 2003
Posts: 1,452
Zethar is on a distinguished road
Send a message via ICQ to Zethar Send a message via AIM to Zethar
Lighting effect.

How do I make lighting effect for my level? Also backpals ect.
Somewhat like the level spark made. Dark with lights.
__________________
hmm
Reply With Quote
  #2  
Old 09-28-2003, 11:53 PM
Blitz_Hunter Blitz_Hunter is offline
dot dot dot
Blitz_Hunter's Avatar
Join Date: Oct 2002
Location: Missouri
Posts: 601
Blitz_Hunter is on a distinguished road
Send a message via AIM to Blitz_Hunter
// NPC made by Stefan Knorr
if (created) {
setimg light2.png;
dontblock;
}
//#CLIENTSIDE
if (playerenters) {
setcoloreffect 1,1,1,0.99;
drawaslight;
}


Ok , where setcoloreffect is simply change those numbers to the light color you would like. Simply follow the R,G,B,A codes. This is just the simple light as in Spark's level you mentioned. For backpals..

//#CLIENTSIDE
if (playerenters)
setbackpal dusk1.png;

You can change the dusk1.png to any others that are in the graal2001\levels\backpals folder.
__________________
-em3ricR-
Reply With Quote
  #3  
Old 09-29-2003, 01:43 AM
Nick1988 Nick1988 is offline
gimped
Join Date: Jun 2003
Location: Key Biscayne, FL
Posts: 1,417
Nick1988 is on a distinguished road
Send a message via AIM to Nick1988
Looks like someone beat me to it, but I would suggest that you use seteffects instead of backpals. They work better.
__________________
Back in black.
Damn...One post a day.

AIM: Nick10e
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:17 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.