Graal Forums

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

Googi 04-10-2002 04:39 AM

Darkness scripts
 
Can someone tell me how to script an area to be dark.

Gohan43331 04-10-2002 04:43 AM

Re: Rock walls and darkness scripts
 
Quote:

Originally posted by Googi
Also, can someone tell me how to script an area to be dark.
NPC Code:

setbackpal dusk1.png;

seteffect 0,0,0,alpha; // 0 = transparent, 1 = opaque (sp)



*remembers he's getting at t-shirt that says most programmers can't speeel :P*

Goboom 04-10-2002 04:49 AM

Re: Rock walls and darkness scripts
 
From my knowledge asking for scripts is illegal!

Googi 04-11-2002 12:11 AM

Re: Re: Re: Rock walls and darkness scripts
 
Quote:

Originally posted by Kaimetsu


You are correct!

Oh, damn, I thought it was okay as long as you didn't use the scripts. So, I'll rephrase the question...

Can someone tell me the variable/string for the Mining Bomb

Warcaptain 04-11-2002 10:58 AM

Re: Re: Rock walls and darkness scripts
 
Quote:

Originally posted by Goboom
From my knowledge asking for scripts is illegal!
wtf thats ***?
the point of these forums is to get help.

somepeople learn from example.

and they cant pull examples out from advice can they NO.

asking for scripts is fine, giving scripts is your own risk.

Googi 04-12-2002 12:00 AM

Re: Re: Re: Re: Rock walls and darkness scripts
 
Quote:

Originally posted by Kaimetsu
playerworld or whatever.
Umm...why the hell would I need a playerworld.

Warcaptain 04-12-2002 02:33 AM

Re: Re: Re: Re: Rock walls and darkness scripts
 
Quote:

Originally posted by Kaimetsu


There was a big debate about this a while ago and this is how the majority voted. It basically boils down to this:

Posting examples is fine. Posting "plz give me the mining script from G2K1" is not. Because, contrary to what you say, this is not trying to learn. They're just trying to get a script for their playerworld or whatever.

its a forum, i think its better if we post whatever we want.

if soeone wants to give something they scripted, or have away, they have that right.

in the US its a constitutional right for freedom of the press, technicaly that rule violates it.

asking for something shouldnt be illigal.

i think making them illigal to use in circumstances is good enough (ie:not using p2p material on free servers)

Warcaptain 04-12-2002 02:40 AM

Re: Darkness scripts
 
Quote:

Originally posted by Googi
Can someone tell me how to script an area to be dark.
NPC Code:

if (playerenters) {
seteffect 0,0,0,<gamma here>;
}



gamma=1 full black
0=no black (no darkness at all)

Googi 04-12-2002 03:46 AM

Re: Re: Re: Re: Re: Rock walls and darkness scripts
 
Quote:

Originally posted by Warcaptain


its a forum, i think its better if we post whatever we want.

if soeone wants to give something they scripted, or have away, they have that right.

in the US its a constitutional right for freedom of the press, technicaly that rule violates it.

asking for something shouldnt be illigal.

i think making them illigal to use in circumstances is good enough (ie:not using p2p material on free servers)

Graal is in France I believe, and the US constitution means nothing there.

Saga2001 04-12-2002 05:36 AM

Re: Re: Re: Re: Re: Rock walls and darkness scripts
 
Quote:

Originally posted by Warcaptain


its a forum, i think its better if we post whatever we want.

if soeone wants to give something they scripted, or have away, they have that right.

in the US its a constitutional right for freedom of the press, technicaly that rule violates it.

asking for something shouldnt be illigal.

i think making them illigal to use in circumstances is good enough (ie:not using p2p material on free servers)

Ummmm...
It doesn't matter, its the rules, this is a private organization, you cannot apply US Constutional points here, thats like saying that someone should be able to put signs in your yard that say, "Give me food free" or stuff. If at anytime anyone on this forum does something that is "against the rules" this is open for banning tham, and the US Constution can't do crap about it.

Googi 04-13-2002 04:47 AM

Re: Re: Re: Re: Re: Rock walls and darkness scripts
 
Quote:

Originally posted by Kaimetsu


Wha? There is no one definitive variable or string for that system.

Isn't the script for Glyco somethign like this?

NPC Code:

if (playerchats&&strequals(#c, buy bomb)&&playergralats=<5) {
playerrupees-=5;
toweapons Mining Bomb;
playerminingbombs+=5;
say2 You got a mining bomb;



All times are GMT +2. The time now is 12:03 PM.

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