Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   darkness (https://forums.graalonline.com/forums/showthread.php?t=18620)

Bortlad 12-10-2001 02:14 AM

darkness
 
how do i make the lvl dark? like in the ebon keep on classic

Brad_Elven 12-10-2001 02:21 AM

backpal dusk4.png

it might be setbackpal, i dont use them though

Bortlad 12-10-2001 02:26 AM

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

Sennema 12-10-2001 03:25 AM

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...

Bortlad 12-10-2001 03:30 AM

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

maximus_asinus 12-10-2001 04:05 AM

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.

Sennema 12-10-2001 04:14 AM

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.

T3CK 12-10-2001 05:56 AM

if (playerenters&&strequals(#L,namehere)){
seteffect 0,0,0,.5;
}else{seteffect 0,0,0,0;}

maximus_asinus 12-10-2001 09:00 AM

His is for a non p2p and seteffect is p2p command correct?
And pics1.png is the default pallette

T3CK 12-10-2001 09:24 AM

seteffect=p2p
setbackpal=non-p2p (BABYLON!)


All times are GMT +2. The time now is 05:08 AM.

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