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 10-10-2001, 07:44 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
Me = Totol Scripting Fool. Help.

Okay, I am wanting to know how to make it to where if you enter the level it is dark, not to dark, so that you can see still, the npc then sleeps 0.5 seconds and then it gets lighter, lighter, lighter untill it is the Default Backpal. You know, that when you play on other servers, it is normal backpal. PLease help!
__________________
Reply With Quote
  #2  
Old 10-10-2001, 09:26 PM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
Re: Re: Me = Totol Scripting Fool. Help.

Quote:
Originally posted by Kaimetsu


You talkin' about backpals or seteffect? Or: P2P or non-P2P?
does seteffect work on non-p2p cuz that is the best way
Reply With Quote
  #3  
Old 10-11-2001, 12:10 AM
ZORG1986 ZORG1986 is offline
Registered User
ZORG1986's Avatar
Join Date: Jul 2001
Location: England - Yes thats the small Island in Europe that Ownz you all.
Posts: 783
ZORG1986 is on a distinguished road
Send a message via ICQ to ZORG1986 Send a message via AIM to ZORG1986
Nooo
seteffect causes lag i hate it
back pals are much nicer :-)
__________________


Zorg (Era Staff) - Contact : [email protected]
Reply With Quote
  #4  
Old 10-11-2001, 12:39 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
backpals are good if you only want it to get dark/lighter every couple of mins
otherwise seteffect is better because it doesnt look as jumpy
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #5  
Old 10-11-2001, 02:05 AM
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
you kidding? Backpals suck! If you use a different tileset and it changes your pallet the level looks like tis been Hiipy-Tized Peace and Love. Sinceit changes the colors of the pallet. It dosnt tint them.
__________________

subliminal message: 1+1=3
Reply With Quote
  #6  
Old 10-11-2001, 02:40 AM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
i remember going on some server and it got dark but it lagged the hell out of me. I dont know what it was but it has stopped me from using backpals =/
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #7  
Old 10-11-2001, 10:40 AM
JeffTL JeffTL is offline
Registered User
Join Date: Sep 2001
Posts: 374
JeffTL is on a distinguished road
He wants a bright-to-dark/dark-to-bright like you see on Zero 33's island.
__________________
Reply With Quote
  #8  
Old 10-11-2001, 07:17 PM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
does seteffect work on non-p2p????
Reply With Quote
  #9  
Old 10-12-2001, 12:44 AM
Faheria_LAT1 Faheria_LAT1 is offline
Seraphim Warrior
Faheria_LAT1's Avatar
Join Date: Oct 2001
Location: QUÉBEC!!!!!!1
Posts: 2,040
Faheria_LAT1 is on a distinguished road
Send a message via ICQ to Faheria_LAT1 Send a message via AIM to Faheria_LAT1
Quote:
Originally posted by btedji
does seteffect work on non-p2p????
dunno if it "works" but its illegal on non-p2p servers
__________________


"I like movies where the guy shoots stuff, and then it blows up, and then this other guy shoots him, and then the first guy drives through a Coke sign, and it blows up, and the car flips over in slow motion, and then the guy gets out and pops his arm back in place, and then they fight 'cause they're out of bullets, and the guy says something like "This is Walmart, boy...and you just got price-checked!" - Broken Saints

"There is no greater sorrow than to recall in misery when we were happy" - Dante

"If you know yourself but not the enemy, for every victory gained you will also suffer a defeat" - Sun Tzu, The Art Of War

"Kingdoms ...rising without word. Collapsing without warning." - Broken Saints

Account now used by Silver and Mmmmkay
yoshee15 account has run out :[[[
Reply With Quote
  #10  
Old 10-12-2001, 12:50 AM
Faheria_LAT1 Faheria_LAT1 is offline
Seraphim Warrior
Faheria_LAT1's Avatar
Join Date: Oct 2001
Location: QUÉBEC!!!!!!1
Posts: 2,040
Faheria_LAT1 is on a distinguished road
Send a message via ICQ to Faheria_LAT1 Send a message via AIM to Faheria_LAT1
Re: Me = Totol Scripting Fool. Help.

Quote:
Originally posted by Nai
Okay, I am wanting to know how to make it to where if you enter the level it is dark, not to dark, so that you can see still, the npc then sleeps 0.5 seconds and then it gets lighter, lighter, lighter untill it is the Default Backpal. You know, that when you play on other servers, it is normal backpal. PLease help!

I have no idea if that is required: "//#CLIENTSIDE" but add it anyways..

PHP Code:
//#CLIENTSIDE
if (playerenters) {
  
seteffect 0,0,0,0.5;
  
sleep 0.05;
  
seteffect 0,0,0,0.45;
  
sleep 0.05;
  
seteffect 0,0,0,0.40;
  
sleep 0.05;
  
seteffect 0,0,0,0.35;
  
sleep 0.05;
  
seteffect 0,0,0,0.30;
  
sleep 0.05;
  
seteffect 0,0,0,0.25;
  
sleep 0.05;
  
seteffect 0,0,0,0.20;
  
sleep 0.05;
  
seteffect 0,0,0,0.15;
  
sleep 0.05;
  
seteffect 0,0,0,0.10;
  
sleep 0.05;
  
seteffect 0,0,0,0.05;
  
sleep 0.05;
  
seteffect 0,0,0,0;

__________________


"I like movies where the guy shoots stuff, and then it blows up, and then this other guy shoots him, and then the first guy drives through a Coke sign, and it blows up, and the car flips over in slow motion, and then the guy gets out and pops his arm back in place, and then they fight 'cause they're out of bullets, and the guy says something like "This is Walmart, boy...and you just got price-checked!" - Broken Saints

"There is no greater sorrow than to recall in misery when we were happy" - Dante

"If you know yourself but not the enemy, for every victory gained you will also suffer a defeat" - Sun Tzu, The Art Of War

"Kingdoms ...rising without word. Collapsing without warning." - Broken Saints

Account now used by Silver and Mmmmkay
yoshee15 account has run out :[[[
Reply With Quote
  #11  
Old 10-12-2001, 06:28 PM
Faheria_LAT1 Faheria_LAT1 is offline
Seraphim Warrior
Faheria_LAT1's Avatar
Join Date: Oct 2001
Location: QUÉBEC!!!!!!1
Posts: 2,040
Faheria_LAT1 is on a distinguished road
Send a message via ICQ to Faheria_LAT1 Send a message via AIM to Faheria_LAT1
Re: Re: Re: Me = Totol Scripting Fool. Help.

Quote:
Originally posted by Kaimetsu


*cries*

if(playerenters){
i=0.5;
timeout=0.05;
}
if(timeout){
if(i!=0) timeout=0.05;
i-=0.05;
seteffect 0,0,0,i;
}
Do I look like a script monkey? =P
__________________


"I like movies where the guy shoots stuff, and then it blows up, and then this other guy shoots him, and then the first guy drives through a Coke sign, and it blows up, and the car flips over in slow motion, and then the guy gets out and pops his arm back in place, and then they fight 'cause they're out of bullets, and the guy says something like "This is Walmart, boy...and you just got price-checked!" - Broken Saints

"There is no greater sorrow than to recall in misery when we were happy" - Dante

"If you know yourself but not the enemy, for every victory gained you will also suffer a defeat" - Sun Tzu, The Art Of War

"Kingdoms ...rising without word. Collapsing without warning." - Broken Saints

Account now used by Silver and Mmmmkay
yoshee15 account has run out :[[[
Reply With Quote
  #12  
Old 10-13-2001, 12:25 AM
ZORG1986 ZORG1986 is offline
Registered User
ZORG1986's Avatar
Join Date: Jul 2001
Location: England - Yes thats the small Island in Europe that Ownz you all.
Posts: 783
ZORG1986 is on a distinguished road
Send a message via ICQ to ZORG1986 Send a message via AIM to ZORG1986
Re: Re: Re: Me = Totol Scripting Fool. Help.

Quote:
Originally posted by Kaimetsu


*cries*

if(playerenters){
i=0.5;
timeout=0.05;
}
if(timeout){
if(i!=0) timeout=0.05;
i-=0.05;
seteffect 0,0,0,i;
}
LoL Showing off as always
__________________


Zorg (Era Staff) - Contact : [email protected]
Reply With Quote
  #13  
Old 10-13-2001, 01:14 AM
Riot-Starter Riot-Starter is offline
Registered User
Join Date: Aug 2001
Location: Central Florida, USA
Posts: 79
Riot-Starter is on a distinguished road
Send a message via AIM to Riot-Starter
Re: Re: Re: Me = Totol Scripting Fool. Help.

Quote:
Originally posted by Kaimetsu


*cries*

if(playerenters){
i=0.5;
timeout=0.05;
}
if(timeout){
if(i!=0) timeout=0.05;
i-=0.05;
seteffect 0,0,0,i;
}
yea, but yours turns 100% dark at the end for me, so i scripted my own wich works fine for me.
NPC Code:

//#CLIENTSIDE
if (playerenters) {
i=0.5;
while(i>0){
i-=0.05;
seteffect 0,0,0,i;
sleep .05;
}
}

Reply With Quote
  #14  
Old 10-13-2001, 07:53 AM
LilNiglet LilNiglet is offline
Registered User
Join Date: Jun 2001
Posts: 3,178
LilNiglet is on a distinguished road
Re: Re: Re: Re: Me = Totol Scripting Fool. Help.

Quote:
Originally posted by ZORG1986

LoL Showing off as always
Thats not showing off, even I can do that
Reply With Quote
  #15  
Old 10-14-2001, 03:41 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Re: Me = Totol Scripting Fool. Help.

Quote:
Originally posted by Nai
Okay, I am wanting to know how to make it to where if you enter the level it is dark, not to dark, so that you can see still, the npc then sleeps 0.5 seconds and then it gets lighter, lighter, lighter untill it is the Default Backpal. You know, that when you play on other servers, it is normal backpal. PLease help!
well what you could do that would look really awesome if have a back pal set really dark .. then use light effects to make an aura of light around the npc then have the backpals eventually get brighter ... that would look awesome ... i am not sure exactly how to script it but it would look kool ....
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 10:45 PM.


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