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 01-06-2004, 05:50 AM
Sheepiroth Sheepiroth is offline
Registered User
Join Date: Sep 2003
Location: NY
Posts: 15
Sheepiroth is on a distinguished road
Send a message via AIM to Sheepiroth
Talking Quick question: Light Effects

Is there any way to Force the player to have their light effects enabled?
__________________
Delteria 4 lyf
Reply With Quote
  #2  
Old 01-06-2004, 06:43 AM
Thought Thought is offline
PipBoy Extraordinaire!
Thought's Avatar
Join Date: Nov 2001
Location: Long Beach, California.
Posts: 692
Thought is on a distinguished road
No, but you can prevent them from doing anything by checking lighteffectsenabled (I think) to see if it's true and react accordingly.
__________________
Rick ([email protected])
#gscript on FreeNode (#gscript Guild, #gscript Information)
Graal User Statistics

I am now using my new account, Rick.
Reply With Quote
  #3  
Old 01-06-2004, 06:43 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Wait till graal v3 is the standard
Reply With Quote
  #4  
Old 01-06-2004, 12:46 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
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.
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #5  
Old 01-06-2004, 01:37 PM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
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.
__________________
Kat
Reply With Quote
  #6  
Old 01-06-2004, 01:47 PM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
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.
__________________
[signature]insert here[/signature]
Reply With Quote
  #7  
Old 01-06-2004, 03:18 PM
D1ce2 D1ce2 is offline
Registered User
Join Date: Dec 2003
Location: United Kingdom
Posts: 446
D1ce2 is on a distinguished road
Send a message via AIM to D1ce2 Send a message via Yahoo to D1ce2
So you would send some 1 to jail for not having lights enabled, your corupt.
__________________

The time is coming
Reply With Quote
  #8  
Old 01-06-2004, 03:24 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
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
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #9  
Old 01-06-2004, 04:03 PM
D1ce2 D1ce2 is offline
Registered User
Join Date: Dec 2003
Location: United Kingdom
Posts: 446
D1ce2 is on a distinguished road
Send a message via AIM to D1ce2 Send a message via Yahoo to D1ce2
Yes, but it is still corupt. Players have a choice in either useing it or not. Not all have DX9 or what ever..
__________________

The time is coming
Reply With Quote
  #10  
Old 01-06-2004, 04:20 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
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.
Reply With Quote
  #11  
Old 01-06-2004, 05:10 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
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;
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #12  
Old 01-06-2004, 08:12 PM
Sheepiroth Sheepiroth is offline
Registered User
Join Date: Sep 2003
Location: NY
Posts: 15
Sheepiroth is on a distinguished road
Send a message via AIM to Sheepiroth
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.
__________________
Delteria 4 lyf
Reply With Quote
  #13  
Old 01-06-2004, 08:22 PM
Mykel Mykel is offline
:o
Mykel's Avatar
Join Date: May 2002
Location: Canton, Ohio.
Posts: 5,526
Mykel has a spectacular aura about
Send a message via AIM to Mykel Send a message via MSN to Mykel
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.
__________________
(Married to Skyld)
Reply With Quote
  #14  
Old 01-06-2004, 08:36 PM
D1ce2 D1ce2 is offline
Registered User
Join Date: Dec 2003
Location: United Kingdom
Posts: 446
D1ce2 is on a distinguished road
Send a message via AIM to D1ce2 Send a message via Yahoo to D1ce2
It is!, ugh ask PWA..
__________________

The time is coming
Reply With Quote
  #15  
Old 01-06-2004, 09:27 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
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.
Reply With Quote
  #16  
Old 01-07-2004, 05:54 AM
Sheepiroth Sheepiroth is offline
Registered User
Join Date: Sep 2003
Location: NY
Posts: 15
Sheepiroth is on a distinguished road
Send a message via AIM to Sheepiroth
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!
__________________
Delteria 4 lyf
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 04:03 AM.


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