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 08-20-2001, 04:15 AM
Kobain319 Kobain319 is offline
Registered User
Join Date: Aug 2001
Posts: 127
Kobain319 is on a distinguished road
Send a message via AIM to Kobain319
Lights.>?>

Okay....I'm building a level and I want some lights like in the UG lake but the only one i can get is light2.gif Can anyone give me a script or something to get those bright green or Red lights?
__________________
Reply With Quote
  #2  
Old 08-20-2001, 04:33 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
Re: Lights.>?>

Quote:
Originally posted by Kobain319
Okay....I'm building a level and I want some lights like in the UG lake but the only one i can get is light2.gif Can anyone give me a script or something to get those bright green or Red lights?
you just use the setcoloreffect command
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #3  
Old 08-20-2001, 04:36 AM
Kobain319 Kobain319 is offline
Registered User
Join Date: Aug 2001
Posts: 127
Kobain319 is on a distinguished road
Send a message via AIM to Kobain319
...

So i just script Light2.gif to the color i want?
__________________
Reply With Quote
  #4  
Old 08-20-2001, 04:41 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
Re: ...

Quote:
Originally posted by Kobain319
So i just script Light2.gif to the color i want?
no
on the setcoloreffect command there is 4 arguments which is

red,green,blue,alpha
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #5  
Old 08-20-2001, 04:48 AM
Kobain319 Kobain319 is offline
Registered User
Join Date: Aug 2001
Posts: 127
Kobain319 is on a distinguished road
Send a message via AIM to Kobain319
.

Oh ok!
__________________
Reply With Quote
  #6  
Old 08-20-2001, 11:09 AM
fuzie fuzie is offline
Registered User
Join Date: Jul 2001
Location: +900
Posts: 303
fuzie is on a distinguished road
Send a message via AIM to fuzie Send a message via Yahoo to fuzie
Red
if (playerenters) {
setcoloreffect 1,0,0,0.99;
setzoomeffect 2;
dontblock;
drawaslight;
}

Blue
if (playerenters) {
setcoloreffect 0,0,1,0.99;
setzoomeffect 2;
dontblock;
drawaslight;
}

Green
if (playerenters) {
setcoloreffect 0,1,0,0.99;
setzoomeffect 2;
dontblock;
drawaslight;
}

Cyan
if (playerenters) {
setcoloreffect 0,1,1,0.99;
setzoomeffect 2;
dontblock;
drawaslight;
}

Goldif (playerenters) {
setcoloreffect 1,1,0,0.99;
setzoomeffect 2;
dontblock;
drawaslight;
}

Violet
if (playerenters) {
setcoloreffect 1,0,1,0.99;
setzoomeffect 2;
dontblock;
drawaslight;
}

There ye go.....
-----Brian-----
__________________
This is my extra account. My other account name is "royce".


-Mr. Chik (Criminals)

Chik=French=Hip
Reply With Quote
  #7  
Old 08-20-2001, 01:46 PM
TOT_GP1 TOT_GP1 is offline
Registered User
Join Date: Jul 2001
Location: lotus position
Posts: 302
TOT_GP1 is on a distinguished road
.99 is kinda high.
__________________
Reply With Quote
  #8  
Old 08-20-2001, 02:25 PM
konidias konidias is offline
Old Bee
konidias's Avatar
Join Date: Jul 2001
Location: Orlando, FL
Posts: 7,222
konidias will become famous soon enough
Send a message via AIM to konidias
Try 0.2 0.3 0.4 0.5

Those are around the size of the lights in the underground lake.. well some of them.. 2 is huge.. i wouldn't recommend it lol
__________________

Put this image in your sig if you support Bomy Island! (g2k1 revision)
play bomberman while you wait!


Reply With Quote
  #9  
Old 08-20-2001, 02:57 PM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
I wish I had that idea for my sig before Konindias

It ownage on legs
Reply With Quote
  #10  
Old 08-20-2001, 02:59 PM
konidias konidias is offline
Old Bee
konidias's Avatar
Join Date: Jul 2001
Location: Orlando, FL
Posts: 7,222
konidias will become famous soon enough
Send a message via AIM to konidias
I was going to make a small animation out of it like a mini-movie but I figured it would be too large in file size for my sig
__________________

Put this image in your sig if you support Bomy Island! (g2k1 revision)
play bomberman while you wait!


Reply With Quote
  #11  
Old 08-20-2001, 03:03 PM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
Make it anyway so I can download it and use it as an animated background
Reply With Quote
  #12  
Old 08-20-2001, 05:48 PM
Jerom Jerom is offline
Banned
Jerom's Avatar
Join Date: Mar 2001
Location: In a Trash Can
Posts: 3,708
Jerom is on a distinguished road
Send a message via AIM to Jerom
Re: Lights.>?>

Quote:
Originally posted by Kobain319
Okay....I'm building a level and I want some lights like in the UG lake but the only one i can get is light2.gif Can anyone give me a script or something to get those bright green or Red lights?
if (playerenters){
setcoloreffect 1,-1,-1,0.99;
drawaslight;
setzoomeffect 2;
dontblock;
drawoverplayer;}
That should make it really really red =)
Reply With Quote
  #13  
Old 08-20-2001, 11:57 PM
revalation revalation is offline
Registered User
revalation's Avatar
Join Date: Mar 2001
Location: a sea of cherry jello.
Posts: 973
revalation is on a distinguished road
Send a message via AIM to revalation Send a message via Yahoo to revalation
For r,g,b values can't you use numbers from 1-255?
__________________

kuromu.
Reply With Quote
  #14  
Old 08-21-2001, 12:45 AM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
rar, you learn something new every day.

i feel a bit uninformed for not knowing that.
Reply With Quote
  #15  
Old 08-21-2001, 02:30 AM
Kobain319 Kobain319 is offline
Registered User
Join Date: Aug 2001
Posts: 127
Kobain319 is on a distinguished road
Send a message via AIM to Kobain319
...

Okay...Now i cant see the lights at all .......
__________________
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 03:34 AM.


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