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 12-10-2001, 02:14 AM
Bortlad Bortlad is offline
Registered User
Join Date: Nov 2001
Location: Over there ========>
Posts: 107
Bortlad is on a distinguished road
Send a message via ICQ to Bortlad Send a message via AIM to Bortlad Send a message via Yahoo to Bortlad
Question darkness

how do i make the lvl dark? like in the ebon keep on classic
__________________
Gør†håµr ‡MìdÑíght‡ ¤£êåðêr¤ (US) / Gør†håµr MìdÑíght (Game Coordinator)


WillieJamal posts in blue

Quote:
*MasterStorm_GP (RC) (4/10/02 5:07:40 PM):
Mass message: Er....... I've accidentally jailed myself, doh, so i'll only be able to answer from my RC for a bit.
Reply With Quote
  #2  
Old 12-10-2001, 02:21 AM
Brad_Elven Brad_Elven is offline
Registered User
Join Date: Jul 2001
Posts: 0
Brad_Elven is on a distinguished road
Send a message via AIM to Brad_Elven
backpal dusk4.png

it might be setbackpal, i dont use them though
Reply With Quote
  #3  
Old 12-10-2001, 02:26 AM
Bortlad Bortlad is offline
Registered User
Join Date: Nov 2001
Location: Over there ========>
Posts: 107
Bortlad is on a distinguished road
Send a message via ICQ to Bortlad Send a message via AIM to Bortlad Send a message via Yahoo to Bortlad
Question

ok i tried that and it made all the lvls that i went into dark
i just want the one lvl dark not all of them
__________________
Gør†håµr ‡MìdÑíght‡ ¤£êåðêr¤ (US) / Gør†håµr MìdÑíght (Game Coordinator)


WillieJamal posts in blue

Quote:
*MasterStorm_GP (RC) (4/10/02 5:07:40 PM):
Mass message: Er....... I've accidentally jailed myself, doh, so i'll only be able to answer from my RC for a bit.
Reply With Quote
  #4  
Old 12-10-2001, 03:25 AM
Sennema Sennema is offline
Registered User
Join Date: Nov 2001
Location: Ontario, Canada
Posts: 132
Sennema is on a distinguished road
Send a message via ICQ to Sennema Send a message via AIM to Sennema
If it's gonna have a shot online, then it'd have to be p2p, but you'd use light effects. Otherwise you get make an NPC that's like:

NPC Code:

if(playerenters){
toweapons -backpal;
}
if(startswith(#L,cln)){
// change cln to whatever all the levelnames start with
}else{
setbackpal dawn4.png; // Or some other backpal
}


But they should have like "removebackpal" or something like that...
__________________
~Draemus Windblade


Just over 90% of all messages have no point or meaning.

"In order to preserve ourselves we seek out and eliminate anything that may do use harm. In doing so, we destroy things that, though possibly hazzardous, may be important to survival. So you see, in trying to save ourselves, we ultimately bring about our own destruction"


Luminar
Reply With Quote
  #5  
Old 12-10-2001, 03:30 AM
Bortlad Bortlad is offline
Registered User
Join Date: Nov 2001
Location: Over there ========>
Posts: 107
Bortlad is on a distinguished road
Send a message via ICQ to Bortlad Send a message via AIM to Bortlad Send a message via Yahoo to Bortlad
no no no i need one for classic graal
i have seen areas that are dark like
like turn the lights off
its in the ebon keep and fox's cave on classic
__________________
Gør†håµr ‡MìdÑíght‡ ¤£êåðêr¤ (US) / Gør†håµr MìdÑíght (Game Coordinator)


WillieJamal posts in blue

Quote:
*MasterStorm_GP (RC) (4/10/02 5:07:40 PM):
Mass message: Er....... I've accidentally jailed myself, doh, so i'll only be able to answer from my RC for a bit.
Reply With Quote
  #6  
Old 12-10-2001, 04:05 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,746
maximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond repute
Red face

lol.You guys make it so complicated.
Make it like this,
In the level you want put in:
if (playerenters) {
setbackpal dusk1.png;
}

hen in all the levels you want normal pallet use the same script in those levels but with pics1.png
Thats might be laggy.
__________________
Save Classic!
Reply With Quote
  #7  
Old 12-10-2001, 04:14 AM
Sennema Sennema is offline
Registered User
Join Date: Nov 2001
Location: Ontario, Canada
Posts: 132
Sennema is on a distinguished road
Send a message via ICQ to Sennema Send a message via AIM to Sennema
Hm... pics1.png. I never thought of that. I thought of using an image with a different pallete like that but didnt think it'd work too well so never actually tried it.
__________________
~Draemus Windblade


Just over 90% of all messages have no point or meaning.

"In order to preserve ourselves we seek out and eliminate anything that may do use harm. In doing so, we destroy things that, though possibly hazzardous, may be important to survival. So you see, in trying to save ourselves, we ultimately bring about our own destruction"


Luminar
Reply With Quote
  #8  
Old 12-10-2001, 05:56 AM
T3CK T3CK is offline
Banned
Join Date: Aug 2001
Location: Atlanta, GA
Posts: 557
T3CK is on a distinguished road
Send a message via AIM to T3CK Send a message via MSN to T3CK Send a message via Yahoo to T3CK
if (playerenters&&strequals(#L,namehere)){
seteffect 0,0,0,.5;
}else{seteffect 0,0,0,0;}
Reply With Quote
  #9  
Old 12-10-2001, 09:00 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,746
maximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond repute
His is for a non p2p and seteffect is p2p command correct?
And pics1.png is the default pallette
__________________
Save Classic!
Reply With Quote
  #10  
Old 12-10-2001, 09:24 AM
T3CK T3CK is offline
Banned
Join Date: Aug 2001
Location: Atlanta, GA
Posts: 557
T3CK is on a distinguished road
Send a message via AIM to T3CK Send a message via MSN to T3CK Send a message via Yahoo to T3CK
seteffect=p2p
setbackpal=non-p2p (BABYLON!)
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 09:44 AM.


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