Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-06-2001, 12:11 PM
Nai Nai is offline
Back!
Join Date: Mar 2001
Location: USA
Posts: 1,489
Nai is on a distinguished road
Send a message via AIM to Nai
Light effect help...

Can anyone tell me the script for the Blue light effects? I have the whole script I just need the, "setcoloreffect 0,0,0,0;" part.
__________________
Reply With Quote
  #2  
Old 06-06-2001, 04:59 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Well it's:
setcoloreffect R,G,B,A;
R = Red
G = Green
B = Blue
A = Alpha
All should have values between 0 and 1 (For example: 0.6), if you're using light2.png I suggest that you give A a value of 0.99, and as for a blue light:
setcoloreffect 0,0,1,0.99;
should work.
__________________

Reply With Quote
  #3  
Old 06-06-2001, 06:02 PM
toad1413 toad1413 is offline
toad@graal:~$ ./Oldbie
Join Date: May 2001
Location: Aust.
Posts: 3,819
toad1413 is on a distinguished road
Send a message via ICQ to toad1413
How do you do the light effects like in the admin house - see attachment - I can't do them!!
Attached Thumbnails
Click image for larger version

Name:	lighteffects.png
Views:	293
Size:	31.8 KB
ID:	1172  
__________________
Creator of the original 'spam' icon. Worst mistake I ever made on these forums.
Reply With Quote
  #4  
Old 06-06-2001, 06:05 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
I think it makes use of another image, ont only light2.png
__________________

Reply With Quote
  #5  
Old 06-06-2001, 06:46 PM
toad1413 toad1413 is offline
toad@graal:~$ ./Oldbie
Join Date: May 2001
Location: Aust.
Posts: 3,819
toad1413 is on a distinguished road
Send a message via ICQ to toad1413
well what is the other image?
The only one I know is light2.png Argh! *screams, waking Kaimetsu up*
__________________
Creator of the original 'spam' icon. Worst mistake I ever made on these forums.
Reply With Quote
  #6  
Old 06-12-2001, 02:15 PM
toad1413 toad1413 is offline
toad@graal:~$ ./Oldbie
Join Date: May 2001
Location: Aust.
Posts: 3,819
toad1413 is on a distinguished road
Send a message via ICQ to toad1413
Quote:
Originally posted by Kaimetsu


*sets his pet Drakkara on toad*
Hey! get off! *Throws Kaimetsu's pet Drakkara across the room*

Yeah, I really want to know what the other image is... I'm having a hard time, I'm the Levels Admin on my friend's server that's not even up yet.
__________________
Creator of the original 'spam' icon. Worst mistake I ever made on these forums.
Reply With Quote
  #7  
Old 06-12-2001, 09:38 PM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Cool just use

just use this

setimgpart light2.png,x(were it starts on the picture),y(were it starts on the picture),width,height;
__________________
Thanks,
-KJL
Reply With Quote
  #8  
Old 06-12-2001, 10:12 PM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Heh

I could ezily make new lights.... Lense Flare. hahahaha
__________________

subliminal message: 1+1=3
Reply With Quote
  #9  
Old 06-13-2001, 05:38 AM
toad1413 toad1413 is offline
toad@graal:~$ ./Oldbie
Join Date: May 2001
Location: Aust.
Posts: 3,819
toad1413 is on a distinguished road
Send a message via ICQ to toad1413
Re: just use

Quote:
Originally posted by KJS
just use this

setimgpart light2.png,x(were it starts on the picture),y(were it starts on the picture),width,height;
Ok, I tried that but is the width and height in pixels or x,y coordinates?
__________________
Creator of the original 'spam' icon. Worst mistake I ever made on these forums.
Reply With Quote
  #10  
Old 06-13-2001, 06:41 AM
Bhala Bhala is offline
Disgruntled Monkey
Bhala's Avatar
Join Date: Mar 2001
Posts: 779
Bhala is on a distinguished road
it is all in pixels
__________________
Reply With Quote
  #11  
Old 06-13-2001, 01:58 PM
toad1413 toad1413 is offline
toad@graal:~$ ./Oldbie
Join Date: May 2001
Location: Aust.
Posts: 3,819
toad1413 is on a distinguished road
Send a message via ICQ to toad1413
ok, thanks
__________________
Creator of the original 'spam' icon. Worst mistake I ever made on these forums.
Reply With Quote
  #12  
Old 06-14-2001, 07:42 AM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
what kind of driver do i need to have to see light affects. i can see them n e more. i could, then i got new cpu with intergrated graphics card, and it is newer than my other but i still cannot see them.
__________________

Er1c2 loaded the local ban info of Loriel-2002 RC
Reply With Quote
  #13  
Old 06-14-2001, 10:03 AM
Bhala Bhala is offline
Disgruntled Monkey
Bhala's Avatar
Join Date: Mar 2001
Posts: 779
Bhala is on a distinguished road
do you have DX8 on it? I couldnt see any lighting efects untill I got DX8
__________________
Reply With Quote
  #14  
Old 06-14-2001, 11:23 AM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
ya, i got directx 8, i had it on old cpu to, i will check a gian, but my card is an Intel
__________________

Er1c2 loaded the local ban info of Loriel-2002 RC
Reply With Quote
  #15  
Old 06-14-2001, 05:12 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
What kind of 3D Card have you got? Most of the cards from the Voodoo series don't work very well with Graal.
__________________

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 01:01 PM.


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