Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Quick question: Light Effects (https://forums.graalonline.com/forums/showthread.php?t=50198)

Sheepiroth 01-06-2004 05:50 AM

Quick question: Light Effects
 
Is there any way to Force the player to have their light effects enabled?

Thought 01-06-2004 06:43 AM

No, but you can prevent them from doing anything by checking lighteffectsenabled (I think) to see if it's true and react accordingly.

Python523 01-06-2004 06:43 AM

Wait till graal v3 is the standard

GoZelda 01-06-2004 12:46 PM

Re: Quick question: Light Effects
 
Quote:

Originally posted by Sheepiroth
Is there any way to Force the player to have their light effects enabled?
NPC Code:

if (playerenters){
if (!lighteffectsenabled){
setstring client.savelevel,#L;
setlevel ban.nw;
} else {
setlevel #s(client.savelevel);
}
}


:)

Jagen, V3 isn't going to become standard if it doesn't looks more like the old version - well at least it needs the old playerlist.

-Ramirez- 01-06-2004 01:37 PM

Quote:

Originally posted by Python523
Wait till graal v3 is the standard
So I'm guessing light effects will always be on in 3.1+? That's what I was hoping for.

screen_name 01-06-2004 01:47 PM

Re: Re: Quick question: Light Effects
 
Quote:

Originally posted by GoZelda

NPC Code:

if (playerenters){
if (!lighteffectsenabled){
setstring client.savelevel,#L;
setlevel ban.nw;
} else {
setlevel #s(client.savelevel);
}
}


:)

Jagen, V3 isn't going to become standard if it doesn't looks more like the old version - well at least it needs the old playerlist.

I really don't think we'll have much choice in the matter.

D1ce2 01-06-2004 03:18 PM

So you would send some 1 to jail for not having lights enabled, your corupt.

GoZelda 01-06-2004 03:24 PM

Quote:

Originally posted by D1ce2
So you would send some 1 to jail for not having lights enabled, your corupt.
Read the first post trough very thorougly.

Or try using your brain

D1ce2 01-06-2004 04:03 PM

Yes, but it is still corupt. Players have a choice in either useing it or not. Not all have DX9 or what ever..

Loriel 01-06-2004 04:20 PM

Re: Re: Quick question: Light Effects
 
Quote:

Originally posted by GoZelda

NPC Code:

if (playerenters){
if (!lighteffectsenabled){
setstring client.savelevel,#L;
setlevel ban.nw;
} else {
setlevel #s(client.savelevel);
}
}


If lighteffectsenabled was indeed a serverside flag, which I doubt, this would pretty much senselessly warp people around that do have light effects enabled, no?

Quote:

Jagen, V3 isn't going to become standard if it doesn't looks more like the old version - well at least it needs the old playerlist.
People are supposed to rescript that one.

GoZelda 01-06-2004 05:10 PM

Re: Re: Re: Quick question: Light Effects
 
<-- Newbie Scripter here

Quote:

Originally posted by Loriel

If lighteffectsenabled was indeed a serverside flag, which I doubt, this would pretty much senselessly warp people around that do have light effects enabled, no?

I didn't ment it to be serverside :|
I forget to o.o;

Sheepiroth 01-06-2004 08:12 PM

Assuming that OpenGL and D3D are supported on your computer, I'm guessing Light Effects will always be on in v3 o.o

But thanks, I didn't know lighteffectsenabled was a flag.

Mykel 01-06-2004 08:22 PM

Quote:

Originally posted by D1ce2
Yes, but it is still corupt. Players have a choice in either useing it or not. Not all have DX9 or what ever..
Corrupt? -.-
No not really. :)

D1ce2 01-06-2004 08:36 PM

It is!, ugh ask PWA..

Loriel 01-06-2004 09:27 PM

Quote:

Originally posted by Sheepiroth
Assuming that OpenGL and D3D are supported on your computer, I'm guessing Light Effects will always be on in v3 o.o
If your computer cannot show v3 light effects, it will not run v3 at all.


And no, this is certainly not corrupt.

Sheepiroth 01-07-2004 05:54 AM

Quote:

Originally posted by Loriel

If your computer cannot show v3 light effects, it will not run v3 at all.

That's what I figured.
Thanks for all your help, guys! :)


All times are GMT +2. The time now is 09:26 AM.

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